温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.bun.com/reference/bun/S3ListObjectsResponse
点击访问原文链接

Bun.S3ListObjectsResponse TypeScript interface | API Reference | Bun

Bun.S3ListObjectsResponse TypeScript interface | API Reference | BunBuildDocsReferenceGuidesBlogDiscord/Bun/S3ListObjectsResponsePcommonPrefixesPcontentsPcontinuationTokenPdelimiterPencodingTypePisTruncatedPkeyCountPmaxKeysPnamePnextContinuationTokenPprefixPstartAfter

Search the reference...

/

BuildDocsReferenceGuidesBlogDiscord/Bun/S3ListObjectsResponsePcommonPrefixesPcontentsPcontinuationTokenPdelimiterPencodingTypePisTruncatedPkeyCountPmaxKeysPnamePnextContinuationTokenPprefixPstartAfter

interface

S3ListObjectsResponseinterface S3ListObjectsResponsecommonPrefixes?: { prefix: string }[]

All of the keys (up to 1,000) that share the same prefix are grouped together. When counting the total numbers of returns by this API operation, this group of keys is considered as one item.

A response can contain CommonPrefixes only if you specify a delimiter.

CommonPrefixes contains all (if there are any) keys between Prefix and the next occurrence of the string specified by a delimiter.

CommonPrefixes lists keys that act like subdirectories in the directory specified by Prefix.

For example, if the prefix is notes/ and the delimiter is a slash (/) as in notes/summer/july, the common prefix is notes/summer/. All of the keys that roll up into a common prefix count as a single return when calculating the number of returns.

contents?: { checksumAlgorithm: 'CRC32' | 'CRC32C' | 'SHA1' | 'SHA256' | 'CRC64NVME'; checksumType: 'COMPOSITE' | 'FULL_OBJECT'; eTag: string; key: string; lastModified: string; owner: { displayName: string; id: string }; restoreStatus: { isRestoreInProgress: boolean; restoreExpiryDate: string }; size: number; storageClass: 'STANDARD' | 'DEEP_ARCHIVE' | 'EXPRESS_ONEZONE' | 'GLACIER' | 'GLACIER_IR' | 'INTELLIGENT_TIERING' | 'ONEZONE_IA' | 'OUTPOSTS' | 'REDUCED_REDUNDANCY' | 'SNOW' | 'STANDARD_IA' }[]

Metadata about each object returned.

continuationToken?: string

If ContinuationToken was sent with the request, it is included in the response. You can use the returned ContinuationToken for pagination of the list response.

delimiter?: string

Causes keys that contain the same string between the prefix and the first occurrence of the delimiter to be rolled up into a single result element in the CommonPrefixes collection. These rolled-up keys are not returned elsewhere in the response. Each rolled-up result counts as only one return against the MaxKeys value.

encodingType?: 'url'

Encoding type used by S3 to encode object key names in the XML response.

isTruncated?: boolean

Set to false if all of the results were returned. Set to true if more keys are available to return. If the number of results exceeds that specified by MaxKeys, all of the results might not be returned.

keyCount?: number

KeyCount is the number of keys returned with this request. KeyCount will always be less than or equal to the MaxKeys field. For example, if you ask for 50 keys, your result will include 50 keys or fewer.

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.

name?: string

The bucket name.

nextContinuationToken?: string

NextContinuationToken is sent when isTruncated is true, which means there are more keys in the bucket that can be listed. The next list requests to S3 can be continued with this NextContinuationToken. NextContinuationToken is obfuscated and is not a real key.

prefix?: string

Keys that begin with the indicated prefix.

startAfter?: string

If StartAfter was sent with the request, it is included in the response.

Resources

ReferenceDocsGuidesDiscordMerch StoreGitHubBlog 

Toolkit

RuntimePackage managerTest runnerBundlerPackage runner

Project

Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicense

Baked with ❤️ in San Francisco

We're hiring →

Bun.S3ListObjectsResponse TypeScript interface | API Reference | Bun,AI智能索引,全网链接索引,智能导航,网页索引

    API documentation for interface bun.S3ListObjectsResponse | Bun