What is the maximum length of a filename in S3

Maybe I'm blind but i can't find, in S3 documentation, the maximum file name length that can be uploaded in S3.


As follows from the Amazon documentation,

These names are the object keys. The name for a key is a sequence of Unicode characters whose UTF-8 encoding is at most 1024 bytes long.

The max filename length is 1024 characters. If the characters in the name require more than one byte in UTF-8 representation, the number of available characters is reduced.