Bun

interface

S3ListObjectsOptions

interface S3ListObjectsOptions

  • continuationToken?: string

    ContinuationToken indicates to S3 that the list is being continued on this bucket with a token. ContinuationToken is obfuscated and is not a real key. You can use this ContinuationToken for pagination of the list results.

  • delimiter?: string

    A delimiter is a character that you use to group keys.

  • encodingType?: 'url'

    Encoding type used by S3 to encode the object keys in the response. Responses are encoded only in UTF-8. An object key can contain any Unicode character. However, the XML 1.0 parser can't parse certain characters, such as characters with an ASCII value from 0 to 10. For characters that aren't supported in XML 1.0, you can add this parameter to request that S3 encode the keys in the response.

  • fetchOwner?: boolean

    If you want to return the owner field with each key in the result, then set the FetchOwner field to true.

  • maxKeys?: number

    Sets the maximum number of keys returned in the response. By default, the action returns up to 1,000 key names. The response might contain fewer keys but will never contain more.

  • prefix?: string

    Limits the response to keys that begin with the specified prefix.

  • startAfter?: string

    StartAfter is where you want S3 to start listing from. S3 starts listing after this specified key. StartAfter can be any key in the bucket.