@aws-sdk/client-s3 3.458.0 → 3.461.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist-cjs/S3.js +4 -0
- package/dist-cjs/S3Client.js +3 -1
- package/dist-cjs/commands/AbortMultipartUploadCommand.js +1 -0
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +1 -0
- package/dist-cjs/commands/CopyObjectCommand.js +1 -0
- package/dist-cjs/commands/CreateBucketCommand.js +2 -0
- package/dist-cjs/commands/CreateMultipartUploadCommand.js +1 -0
- package/dist-cjs/commands/CreateSessionCommand.js +59 -0
- package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketCorsCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketPolicyCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketReplicationCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketTaggingCommand.js +2 -0
- package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +2 -0
- package/dist-cjs/commands/DeleteObjectCommand.js +1 -0
- package/dist-cjs/commands/DeleteObjectTaggingCommand.js +1 -0
- package/dist-cjs/commands/DeleteObjectsCommand.js +1 -0
- package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +2 -0
- package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +2 -0
- package/dist-cjs/commands/GetBucketAclCommand.js +2 -0
- package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +2 -0
- package/dist-cjs/commands/GetBucketCorsCommand.js +2 -0
- package/dist-cjs/commands/GetBucketEncryptionCommand.js +2 -0
- package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -0
- package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +2 -0
- package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +2 -0
- package/dist-cjs/commands/GetBucketLocationCommand.js +2 -0
- package/dist-cjs/commands/GetBucketLoggingCommand.js +2 -0
- package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +2 -0
- package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +2 -0
- package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +2 -0
- package/dist-cjs/commands/GetBucketPolicyCommand.js +2 -0
- package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +2 -0
- package/dist-cjs/commands/GetBucketReplicationCommand.js +2 -0
- package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +2 -0
- package/dist-cjs/commands/GetBucketTaggingCommand.js +2 -0
- package/dist-cjs/commands/GetBucketVersioningCommand.js +2 -0
- package/dist-cjs/commands/GetBucketWebsiteCommand.js +2 -0
- package/dist-cjs/commands/GetObjectAclCommand.js +1 -0
- package/dist-cjs/commands/GetObjectAttributesCommand.js +1 -0
- package/dist-cjs/commands/GetObjectCommand.js +1 -0
- package/dist-cjs/commands/GetObjectLegalHoldCommand.js +1 -0
- package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +1 -0
- package/dist-cjs/commands/GetObjectRetentionCommand.js +1 -0
- package/dist-cjs/commands/GetObjectTaggingCommand.js +1 -0
- package/dist-cjs/commands/GetObjectTorrentCommand.js +1 -0
- package/dist-cjs/commands/GetPublicAccessBlockCommand.js +2 -0
- package/dist-cjs/commands/HeadBucketCommand.js +1 -0
- package/dist-cjs/commands/HeadObjectCommand.js +1 -0
- package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -0
- package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -0
- package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +2 -0
- package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +1 -0
- package/dist-cjs/commands/ListBucketsCommand.js +1 -0
- package/dist-cjs/commands/ListDirectoryBucketsCommand.js +58 -0
- package/dist-cjs/commands/ListMultipartUploadsCommand.js +1 -0
- package/dist-cjs/commands/ListObjectVersionsCommand.js +1 -0
- package/dist-cjs/commands/ListObjectsCommand.js +1 -0
- package/dist-cjs/commands/ListObjectsV2Command.js +1 -0
- package/dist-cjs/commands/ListPartsCommand.js +1 -0
- package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +2 -0
- package/dist-cjs/commands/PutBucketAclCommand.js +2 -0
- package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +2 -0
- package/dist-cjs/commands/PutBucketCorsCommand.js +2 -0
- package/dist-cjs/commands/PutBucketEncryptionCommand.js +2 -0
- package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +2 -0
- package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +2 -0
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +2 -0
- package/dist-cjs/commands/PutBucketLoggingCommand.js +2 -0
- package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +2 -0
- package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +2 -0
- package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +2 -0
- package/dist-cjs/commands/PutBucketPolicyCommand.js +2 -0
- package/dist-cjs/commands/PutBucketReplicationCommand.js +2 -0
- package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +2 -0
- package/dist-cjs/commands/PutBucketTaggingCommand.js +2 -0
- package/dist-cjs/commands/PutBucketVersioningCommand.js +2 -0
- package/dist-cjs/commands/PutBucketWebsiteCommand.js +2 -0
- package/dist-cjs/commands/PutObjectAclCommand.js +1 -0
- package/dist-cjs/commands/PutObjectCommand.js +4 -3
- package/dist-cjs/commands/PutObjectLegalHoldCommand.js +1 -0
- package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +1 -0
- package/dist-cjs/commands/PutObjectRetentionCommand.js +1 -0
- package/dist-cjs/commands/PutObjectTaggingCommand.js +1 -0
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +2 -0
- package/dist-cjs/commands/RestoreObjectCommand.js +1 -0
- package/dist-cjs/commands/SelectObjectContentCommand.js +1 -0
- package/dist-cjs/commands/UploadPartCommand.js +1 -0
- package/dist-cjs/commands/UploadPartCopyCommand.js +1 -0
- package/dist-cjs/commands/WriteGetObjectResponseCommand.js +1 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +41 -32
- package/dist-cjs/models/models_1.js +18 -1
- package/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restXml.js +174 -4
- package/dist-cjs/runtimeConfig.js +2 -0
- package/dist-es/S3.js +4 -0
- package/dist-es/S3Client.js +4 -2
- package/dist-es/commands/AbortMultipartUploadCommand.js +1 -0
- package/dist-es/commands/CompleteMultipartUploadCommand.js +1 -0
- package/dist-es/commands/CopyObjectCommand.js +1 -0
- package/dist-es/commands/CreateBucketCommand.js +2 -0
- package/dist-es/commands/CreateMultipartUploadCommand.js +1 -0
- package/dist-es/commands/CreateSessionCommand.js +55 -0
- package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +2 -0
- package/dist-es/commands/DeleteBucketCommand.js +2 -0
- package/dist-es/commands/DeleteBucketCorsCommand.js +2 -0
- package/dist-es/commands/DeleteBucketEncryptionCommand.js +2 -0
- package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +2 -0
- package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +2 -0
- package/dist-es/commands/DeleteBucketLifecycleCommand.js +2 -0
- package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +2 -0
- package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +2 -0
- package/dist-es/commands/DeleteBucketPolicyCommand.js +2 -0
- package/dist-es/commands/DeleteBucketReplicationCommand.js +2 -0
- package/dist-es/commands/DeleteBucketTaggingCommand.js +2 -0
- package/dist-es/commands/DeleteBucketWebsiteCommand.js +2 -0
- package/dist-es/commands/DeleteObjectCommand.js +1 -0
- package/dist-es/commands/DeleteObjectTaggingCommand.js +1 -0
- package/dist-es/commands/DeleteObjectsCommand.js +1 -0
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +2 -0
- package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +2 -0
- package/dist-es/commands/GetBucketAclCommand.js +2 -0
- package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +2 -0
- package/dist-es/commands/GetBucketCorsCommand.js +2 -0
- package/dist-es/commands/GetBucketEncryptionCommand.js +2 -0
- package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -0
- package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +2 -0
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +2 -0
- package/dist-es/commands/GetBucketLocationCommand.js +2 -0
- package/dist-es/commands/GetBucketLoggingCommand.js +2 -0
- package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +2 -0
- package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +2 -0
- package/dist-es/commands/GetBucketOwnershipControlsCommand.js +2 -0
- package/dist-es/commands/GetBucketPolicyCommand.js +2 -0
- package/dist-es/commands/GetBucketPolicyStatusCommand.js +2 -0
- package/dist-es/commands/GetBucketReplicationCommand.js +2 -0
- package/dist-es/commands/GetBucketRequestPaymentCommand.js +2 -0
- package/dist-es/commands/GetBucketTaggingCommand.js +2 -0
- package/dist-es/commands/GetBucketVersioningCommand.js +2 -0
- package/dist-es/commands/GetBucketWebsiteCommand.js +2 -0
- package/dist-es/commands/GetObjectAclCommand.js +1 -0
- package/dist-es/commands/GetObjectAttributesCommand.js +1 -0
- package/dist-es/commands/GetObjectCommand.js +1 -0
- package/dist-es/commands/GetObjectLegalHoldCommand.js +1 -0
- package/dist-es/commands/GetObjectLockConfigurationCommand.js +1 -0
- package/dist-es/commands/GetObjectRetentionCommand.js +1 -0
- package/dist-es/commands/GetObjectTaggingCommand.js +1 -0
- package/dist-es/commands/GetObjectTorrentCommand.js +1 -0
- package/dist-es/commands/GetPublicAccessBlockCommand.js +2 -0
- package/dist-es/commands/HeadBucketCommand.js +1 -0
- package/dist-es/commands/HeadObjectCommand.js +1 -0
- package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -0
- package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -0
- package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +2 -0
- package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +1 -0
- package/dist-es/commands/ListBucketsCommand.js +1 -0
- package/dist-es/commands/ListDirectoryBucketsCommand.js +54 -0
- package/dist-es/commands/ListMultipartUploadsCommand.js +1 -0
- package/dist-es/commands/ListObjectVersionsCommand.js +1 -0
- package/dist-es/commands/ListObjectsCommand.js +1 -0
- package/dist-es/commands/ListObjectsV2Command.js +1 -0
- package/dist-es/commands/ListPartsCommand.js +1 -0
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +2 -0
- package/dist-es/commands/PutBucketAclCommand.js +2 -0
- package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +2 -0
- package/dist-es/commands/PutBucketCorsCommand.js +2 -0
- package/dist-es/commands/PutBucketEncryptionCommand.js +2 -0
- package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +2 -0
- package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +2 -0
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -0
- package/dist-es/commands/PutBucketLoggingCommand.js +2 -0
- package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +2 -0
- package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +2 -0
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -0
- package/dist-es/commands/PutBucketPolicyCommand.js +2 -0
- package/dist-es/commands/PutBucketReplicationCommand.js +2 -0
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +2 -0
- package/dist-es/commands/PutBucketTaggingCommand.js +2 -0
- package/dist-es/commands/PutBucketVersioningCommand.js +2 -0
- package/dist-es/commands/PutBucketWebsiteCommand.js +2 -0
- package/dist-es/commands/PutObjectAclCommand.js +1 -0
- package/dist-es/commands/PutObjectCommand.js +2 -1
- package/dist-es/commands/PutObjectLegalHoldCommand.js +1 -0
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +1 -0
- package/dist-es/commands/PutObjectRetentionCommand.js +1 -0
- package/dist-es/commands/PutObjectTaggingCommand.js +1 -0
- package/dist-es/commands/PutPublicAccessBlockCommand.js +2 -0
- package/dist-es/commands/RestoreObjectCommand.js +1 -0
- package/dist-es/commands/SelectObjectContentCommand.js +1 -0
- package/dist-es/commands/UploadPartCommand.js +1 -0
- package/dist-es/commands/UploadPartCopyCommand.js +1 -0
- package/dist-es/commands/WriteGetObjectResponseCommand.js +1 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +36 -27
- package/dist-es/models/models_1.js +15 -0
- package/dist-es/pagination/ListDirectoryBucketsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restXml.js +166 -0
- package/dist-es/runtimeConfig.js +2 -0
- package/dist-types/S3.d.ts +14 -0
- package/dist-types/S3Client.d.ts +4 -2
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +37 -5
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +97 -61
- package/dist-types/commands/CopyObjectCommand.d.ts +108 -180
- package/dist-types/commands/CreateBucketCommand.d.ts +116 -95
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +146 -224
- package/dist-types/commands/CreateSessionCommand.d.ts +145 -0
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/DeleteBucketCommand.d.ts +35 -0
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +4 -1
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +4 -1
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +4 -1
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +4 -1
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +48 -20
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +4 -1
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +4 -1
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +4 -1
- package/dist-types/commands/DeleteObjectCommand.d.ts +83 -11
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +15 -12
- package/dist-types/commands/DeleteObjectsCommand.d.ts +109 -35
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketAclCommand.d.ts +7 -4
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketCorsCommand.d.ts +6 -3
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +3 -0
- package/dist-types/commands/GetBucketLocationCommand.d.ts +7 -4
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -3
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +54 -24
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +5 -2
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +4 -1
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +4 -1
- package/dist-types/commands/GetObjectAclCommand.d.ts +5 -2
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +113 -76
- package/dist-types/commands/GetObjectCommand.d.ts +122 -140
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +5 -2
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +5 -2
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +23 -20
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +5 -2
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +4 -1
- package/dist-types/commands/HeadBucketCommand.d.ts +53 -19
- package/dist-types/commands/HeadObjectCommand.d.ts +87 -83
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +4 -1
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +4 -1
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +4 -1
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +4 -1
- package/dist-types/commands/ListBucketsCommand.d.ts +4 -1
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +98 -0
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +85 -17
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +4 -1
- package/dist-types/commands/ListObjectsCommand.d.ts +5 -2
- package/dist-types/commands/ListObjectsV2Command.d.ts +52 -10
- package/dist-types/commands/ListPartsCommand.d.ts +47 -14
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/PutBucketAclCommand.d.ts +5 -2
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/PutBucketCorsCommand.d.ts +4 -1
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +4 -1
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +4 -1
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +4 -1
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +54 -19
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +6 -3
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +5 -2
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +5 -2
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +5 -2
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +5 -2
- package/dist-types/commands/PutObjectAclCommand.d.ts +6 -3
- package/dist-types/commands/PutObjectCommand.d.ts +151 -114
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +5 -2
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +4 -1
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +5 -2
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +4 -1
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +4 -1
- package/dist-types/commands/RestoreObjectCommand.d.ts +6 -3
- package/dist-types/commands/SelectObjectContentCommand.d.ts +6 -3
- package/dist-types/commands/UploadPartCommand.d.ts +101 -62
- package/dist-types/commands/UploadPartCopyCommand.d.ts +121 -114
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +5 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +2443 -1104
- package/dist-types/models/models_1.d.ts +1189 -81
- package/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restXml.d.ts +18 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/S3.d.ts +34 -0
- package/dist-types/ts3.4/S3Client.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +68 -124
- package/dist-types/ts3.4/models/models_1.d.ts +127 -1
- package/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -0
- package/package.json +19 -19
|
@@ -23,24 +23,92 @@ export interface ListMultipartUploadsCommandOutput extends ListMultipartUploadsO
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>This
|
|
27
|
-
* multipart upload that has been initiated
|
|
26
|
+
* <p>This operation lists in-progress multipart uploads in a bucket. An in-progress multipart upload is a
|
|
27
|
+
* multipart upload that has been initiated by the <code>CreateMultipartUpload</code> request, but
|
|
28
28
|
* has not yet been completed or aborted.</p>
|
|
29
|
-
* <
|
|
30
|
-
*
|
|
29
|
+
* <note>
|
|
30
|
+
* <p>
|
|
31
|
+
* <b>Directory buckets</b> -
|
|
32
|
+
* If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.
|
|
33
|
+
* </p>
|
|
34
|
+
* </note>
|
|
35
|
+
* <p>The <code>ListMultipartUploads</code> operation returns a maximum of 1,000 multipart uploads in the response. The limit of 1,000 multipart
|
|
36
|
+
* uploads is also the default
|
|
31
37
|
* value. You can further limit the number of uploads in a response by specifying the
|
|
32
|
-
*
|
|
33
|
-
* satisfy
|
|
34
|
-
* with the value true
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* <
|
|
43
|
-
*
|
|
38
|
+
* <code>max-uploads</code> request parameter. If there are more than 1,000 multipart uploads that
|
|
39
|
+
* satisfy your <code>ListMultipartUploads</code> request, the response returns an <code>IsTruncated</code> element
|
|
40
|
+
* with the value of <code>true</code>, a <code>NextKeyMarker</code> element, and a <code>NextUploadIdMarker</code> element.
|
|
41
|
+
* To list the remaining multipart uploads, you need to make subsequent <code>ListMultipartUploads</code> requests.
|
|
42
|
+
* In these requests, include two query parameters: <code>key-marker</code> and <code>upload-id-marker</code>.
|
|
43
|
+
* Set the value of <code>key-marker</code> to the <code>NextKeyMarker</code> value from the previous response.
|
|
44
|
+
* Similarly, set the value of <code>upload-id-marker</code> to the <code>NextUploadIdMarker</code> value from the previous response.</p>
|
|
45
|
+
* <note>
|
|
46
|
+
* <p>
|
|
47
|
+
* <b>Directory buckets</b> - The <code>upload-id-marker</code> element and
|
|
48
|
+
* the <code>NextUploadIdMarker</code> element aren't supported by directory buckets.
|
|
49
|
+
* To list the additional multipart uploads, you only need to set the value of <code>key-marker</code> to the <code>NextKeyMarker</code> value from the previous response. </p>
|
|
50
|
+
* </note>
|
|
51
|
+
* <p>For more information about multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html">Uploading Objects Using Multipart
|
|
52
|
+
* Upload</a> in the <i>Amazon S3
|
|
53
|
+
* User Guide</i>.</p>
|
|
54
|
+
* <note>
|
|
55
|
+
* <p>
|
|
56
|
+
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
|
|
57
|
+
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
58
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
59
|
+
* </note>
|
|
60
|
+
* <dl>
|
|
61
|
+
* <dt>Permissions</dt>
|
|
62
|
+
* <dd>
|
|
63
|
+
* <ul>
|
|
64
|
+
* <li>
|
|
65
|
+
* <p>
|
|
66
|
+
* <b>General purpose bucket permissions</b> - For information about permissions required to use the multipart upload API, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload
|
|
67
|
+
* and Permissions</a> in the <i>Amazon S3
|
|
68
|
+
* User Guide</i>.</p>
|
|
69
|
+
* </li>
|
|
70
|
+
* <li>
|
|
71
|
+
* <p>
|
|
72
|
+
* <b>Directory bucket permissions</b> - To grant access to this API operation on a directory bucket, we recommend that you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
73
|
+
* <code>CreateSession</code>
|
|
74
|
+
* </a> API operation for session-based authorization. Specifically, you grant the <code>s3express:CreateSession</code> permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the <code>CreateSession</code> API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another <code>CreateSession</code> API call to generate a new session token for use.
|
|
75
|
+
* Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
76
|
+
* <code>CreateSession</code>
|
|
77
|
+
* </a>.</p>
|
|
78
|
+
* </li>
|
|
79
|
+
* </ul>
|
|
80
|
+
* </dd>
|
|
81
|
+
* <dt>Sorting of multipart uploads in response</dt>
|
|
82
|
+
* <dd>
|
|
83
|
+
* <ul>
|
|
84
|
+
* <li>
|
|
85
|
+
* <p>
|
|
86
|
+
* <b>General purpose bucket</b> - In the <code>ListMultipartUploads</code> response, the multipart uploads are sorted based on two criteria:</p>
|
|
87
|
+
* <ul>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>Key-based sorting - Multipart uploads are initially sorted in ascending order based on their object keys.</p>
|
|
90
|
+
* </li>
|
|
91
|
+
* <li>
|
|
92
|
+
* <p>Time-based sorting - For uploads that share the same object key,
|
|
93
|
+
* they are further sorted in ascending order based on the upload initiation time. Among uploads with the same key, the one that was initiated first will appear before the ones that were initiated later.</p>
|
|
94
|
+
* </li>
|
|
95
|
+
* </ul>
|
|
96
|
+
* </li>
|
|
97
|
+
* <li>
|
|
98
|
+
* <p>
|
|
99
|
+
* <b>Directory bucket</b> - In the <code>ListMultipartUploads</code> response, the multipart uploads aren't sorted lexicographically based on the object keys.
|
|
100
|
+
*
|
|
101
|
+
* </p>
|
|
102
|
+
* </li>
|
|
103
|
+
* </ul>
|
|
104
|
+
* </dd>
|
|
105
|
+
* <dt>HTTP Host header syntax</dt>
|
|
106
|
+
* <dd>
|
|
107
|
+
* <p>
|
|
108
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
109
|
+
* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
|
|
110
|
+
* </dd>
|
|
111
|
+
* </dl>
|
|
44
112
|
* <p>The following operations are related to <code>ListMultipartUploads</code>:</p>
|
|
45
113
|
* <ul>
|
|
46
114
|
* <li>
|
|
@@ -103,7 +171,7 @@ export interface ListMultipartUploadsCommandOutput extends ListMultipartUploadsO
|
|
|
103
171
|
* // UploadId: "STRING_VALUE",
|
|
104
172
|
* // Key: "STRING_VALUE",
|
|
105
173
|
* // Initiated: new Date("TIMESTAMP"),
|
|
106
|
-
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
|
|
174
|
+
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
107
175
|
* // Owner: { // Owner
|
|
108
176
|
* // DisplayName: "STRING_VALUE",
|
|
109
177
|
* // ID: "STRING_VALUE",
|
|
@@ -23,7 +23,10 @@ export interface ListObjectVersionsCommandOutput extends ListObjectVersionsOutpu
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Returns metadata about all versions of the objects in a bucket. You can also use request
|
|
27
30
|
* parameters as selection criteria to return metadata about a subset of all the object
|
|
28
31
|
* versions.</p>
|
|
29
32
|
* <important>
|
|
@@ -23,7 +23,10 @@ export interface ListObjectsCommandOutput extends ListObjectsOutput, __MetadataB
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Returns some or all (up to 1,000) of the objects in a bucket. You can use the request
|
|
27
30
|
* parameters as selection criteria to return a subset of the objects in a bucket. A 200 OK
|
|
28
31
|
* response can contain valid or invalid XML. Be sure to design your application to parse the
|
|
29
32
|
* contents of the response and handle it appropriately.</p>
|
|
@@ -93,7 +96,7 @@ export interface ListObjectsCommandOutput extends ListObjectsOutput, __MetadataB
|
|
|
93
96
|
* // "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
94
97
|
* // ],
|
|
95
98
|
* // Size: Number("long"),
|
|
96
|
-
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
|
|
99
|
+
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
97
100
|
* // Owner: { // Owner
|
|
98
101
|
* // DisplayName: "STRING_VALUE",
|
|
99
102
|
* // ID: "STRING_VALUE",
|
|
@@ -27,21 +27,63 @@ export interface ListObjectsV2CommandOutput extends ListObjectsV2Output, __Metad
|
|
|
27
27
|
* use the request parameters as selection criteria to return a subset of the objects in a
|
|
28
28
|
* bucket. A <code>200 OK</code> response can contain valid or invalid XML. Make sure to
|
|
29
29
|
* design your application to parse the contents of the response and handle it appropriately.
|
|
30
|
-
*
|
|
30
|
+
*
|
|
31
31
|
* For more information about listing objects, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ListingKeysUsingAPIs.html">Listing object keys
|
|
32
|
-
* programmatically</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
33
|
-
* <
|
|
34
|
-
*
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
32
|
+
* programmatically</a> in the <i>Amazon S3 User Guide</i>. To get a list of your buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html">ListBuckets</a>.</p>
|
|
33
|
+
* <note>
|
|
34
|
+
* <p>
|
|
35
|
+
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
|
|
36
|
+
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
37
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
38
|
+
* </note>
|
|
39
|
+
* <dl>
|
|
40
|
+
* <dt>Permissions</dt>
|
|
41
|
+
* <dd>
|
|
42
|
+
* <ul>
|
|
43
|
+
* <li>
|
|
44
|
+
* <p>
|
|
45
|
+
* <b>General purpose bucket permissions</b> - To use this operation, you must have READ access to the bucket. You must have permission to perform
|
|
46
|
+
* the <code>s3:ListBucket</code> action. The bucket owner has this permission by default and
|
|
47
|
+
* can grant this permission to others. For more information about permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources">Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing
|
|
48
|
+
* Access Permissions to Your Amazon S3 Resources</a> in the
|
|
49
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <b>Directory bucket permissions</b> - To grant access to this API operation on a directory bucket, we recommend that you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
54
|
+
* <code>CreateSession</code>
|
|
55
|
+
* </a> API operation for session-based authorization. Specifically, you grant the <code>s3express:CreateSession</code> permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the <code>CreateSession</code> API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another <code>CreateSession</code> API call to generate a new session token for use.
|
|
56
|
+
* Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
57
|
+
* <code>CreateSession</code>
|
|
58
|
+
* </a>.</p>
|
|
59
|
+
* </li>
|
|
60
|
+
* </ul>
|
|
61
|
+
* </dd>
|
|
62
|
+
* <dt>Sorting order of returned objects</dt>
|
|
63
|
+
* <dd>
|
|
64
|
+
* <ul>
|
|
65
|
+
* <li>
|
|
66
|
+
* <p>
|
|
67
|
+
* <b>General purpose bucket</b> - For general purpose buckets, <code>ListObjectsV2</code> returns objects in lexicographical order based on their key names.</p>
|
|
68
|
+
* </li>
|
|
69
|
+
* <li>
|
|
70
|
+
* <p>
|
|
71
|
+
* <b>Directory bucket</b> - For directory buckets, <code>ListObjectsV2</code> does not return objects in lexicographical order.</p>
|
|
72
|
+
* </li>
|
|
73
|
+
* </ul>
|
|
74
|
+
* </dd>
|
|
75
|
+
* <dt>HTTP Host header syntax</dt>
|
|
76
|
+
* <dd>
|
|
77
|
+
* <p>
|
|
78
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
79
|
+
* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
|
|
80
|
+
* </dd>
|
|
81
|
+
* </dl>
|
|
39
82
|
* <important>
|
|
40
83
|
* <p>This section describes the latest revision of this action. We recommend that you use
|
|
41
84
|
* this revised API operation for application development. For backward compatibility, Amazon S3
|
|
42
85
|
* continues to support the prior version of this API operation, <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjects.html">ListObjects</a>.</p>
|
|
43
86
|
* </important>
|
|
44
|
-
* <p>To get a list of your buckets, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html">ListBuckets</a>.</p>
|
|
45
87
|
* <p>The following operations are related to <code>ListObjectsV2</code>:</p>
|
|
46
88
|
* <ul>
|
|
47
89
|
* <li>
|
|
@@ -94,7 +136,7 @@ export interface ListObjectsV2CommandOutput extends ListObjectsV2Output, __Metad
|
|
|
94
136
|
* // "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
95
137
|
* // ],
|
|
96
138
|
* // Size: Number("long"),
|
|
97
|
-
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
|
|
139
|
+
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "GLACIER" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
98
140
|
* // Owner: { // Owner
|
|
99
141
|
* // DisplayName: "STRING_VALUE",
|
|
100
142
|
* // ID: "STRING_VALUE",
|
|
@@ -23,22 +23,55 @@ export interface ListPartsCommandOutput extends ListPartsOutput, __MetadataBeare
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Lists the parts that have been uploaded for a specific multipart upload
|
|
27
|
-
* must
|
|
28
|
-
* request
|
|
29
|
-
*
|
|
30
|
-
* returned is 1,000 parts. You can restrict the number of parts returned by specifying the
|
|
26
|
+
* <p>Lists the parts that have been uploaded for a specific multipart upload.</p>
|
|
27
|
+
* <p>To use this operation, you must provide the <code>upload ID</code> in the request. You obtain this uploadID by sending the initiate multipart upload
|
|
28
|
+
* request through <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html">CreateMultipartUpload</a>.</p>
|
|
29
|
+
* <p>The <code>ListParts</code> request returns a maximum of 1,000 uploaded parts. The limit of 1,000 parts is also the default value. You can restrict the number of parts in a response by specifying the
|
|
31
30
|
* <code>max-parts</code> request parameter. If your multipart upload consists of more than
|
|
32
|
-
* 1,000 parts, the response returns an <code>IsTruncated</code> field with the value of true
|
|
33
|
-
* and a <code>NextPartNumberMarker</code> element.
|
|
34
|
-
* requests
|
|
31
|
+
* 1,000 parts, the response returns an <code>IsTruncated</code> field with the value of <code>true</code>,
|
|
32
|
+
* and a <code>NextPartNumberMarker</code> element. To list remaining uploaded parts, in subsequent <code>ListParts</code>
|
|
33
|
+
* requests, include the <code>part-number-marker</code> query string parameter and set its value to
|
|
35
34
|
* the <code>NextPartNumberMarker</code> field value from the previous response.</p>
|
|
36
|
-
* <p>If the upload was created using a checksum algorithm, you will need to have permission
|
|
37
|
-
* to the <code>kms:Decrypt</code> action for the request to succeed. </p>
|
|
38
35
|
* <p>For more information on multipart uploads, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html">Uploading Objects Using Multipart
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
36
|
+
* Upload</a> in the <i>Amazon S3
|
|
37
|
+
* User Guide</i>.</p>
|
|
38
|
+
* <note>
|
|
39
|
+
* <p>
|
|
40
|
+
* <b>Directory buckets</b> - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format <code>https://<i>bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com/<i>key-name</i>
|
|
41
|
+
* </code>. Path-style requests are not supported. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
42
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
43
|
+
* </note>
|
|
44
|
+
* <dl>
|
|
45
|
+
* <dt>Permissions</dt>
|
|
46
|
+
* <dd>
|
|
47
|
+
* <ul>
|
|
48
|
+
* <li>
|
|
49
|
+
* <p>
|
|
50
|
+
* <b>General purpose bucket permissions</b> - For information about permissions required to use the multipart upload API, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html">Multipart Upload
|
|
51
|
+
* and Permissions</a> in the <i>Amazon S3
|
|
52
|
+
* User Guide</i>.</p>
|
|
53
|
+
* <p>If the upload was created using server-side encryption with Key Management Service (KMS) keys
|
|
54
|
+
* (SSE-KMS) or dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), you must have permission
|
|
55
|
+
* to the <code>kms:Decrypt</code> action for the <code>ListParts</code> request to succeed.</p>
|
|
56
|
+
* </li>
|
|
57
|
+
* <li>
|
|
58
|
+
* <p>
|
|
59
|
+
* <b>Directory bucket permissions</b> - To grant access to this API operation on a directory bucket, we recommend that you use the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
60
|
+
* <code>CreateSession</code>
|
|
61
|
+
* </a> API operation for session-based authorization. Specifically, you grant the <code>s3express:CreateSession</code> permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the <code>CreateSession</code> API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another <code>CreateSession</code> API call to generate a new session token for use.
|
|
62
|
+
* Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
63
|
+
* <code>CreateSession</code>
|
|
64
|
+
* </a>.</p>
|
|
65
|
+
* </li>
|
|
66
|
+
* </ul>
|
|
67
|
+
* </dd>
|
|
68
|
+
* <dt>HTTP Host header syntax</dt>
|
|
69
|
+
* <dd>
|
|
70
|
+
* <p>
|
|
71
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
72
|
+
* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
|
|
73
|
+
* </dd>
|
|
74
|
+
* </dl>
|
|
42
75
|
* <p>The following operations are related to <code>ListParts</code>:</p>
|
|
43
76
|
* <ul>
|
|
44
77
|
* <li>
|
|
@@ -122,7 +155,7 @@ export interface ListPartsCommandOutput extends ListPartsOutput, __MetadataBeare
|
|
|
122
155
|
* // DisplayName: "STRING_VALUE",
|
|
123
156
|
* // ID: "STRING_VALUE",
|
|
124
157
|
* // },
|
|
125
|
-
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
|
|
158
|
+
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
126
159
|
* // RequestCharged: "requester",
|
|
127
160
|
* // ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
128
161
|
* // };
|
|
@@ -23,7 +23,10 @@ export interface PutBucketAccelerateConfigurationCommandOutput extends __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Sets the accelerate configuration of an existing bucket. Amazon S3 Transfer Acceleration is a
|
|
27
30
|
* bucket-level feature that enables you to perform faster data transfers to Amazon S3.</p>
|
|
28
31
|
* <p> To use this operation, you must have permission to perform the
|
|
29
32
|
* <code>s3:PutAccelerateConfiguration</code> action. The bucket owner has this permission
|
|
@@ -23,9 +23,12 @@ export interface PutBucketAclCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Sets the permissions on an existing bucket using access control lists (ACL). For more
|
|
27
30
|
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/S3_ACLs_UsingACLs.html">Using ACLs</a>. To set the ACL of a
|
|
28
|
-
* bucket, you must have <code>WRITE_ACP</code> permission.</p>
|
|
31
|
+
* bucket, you must have the <code>WRITE_ACP</code> permission.</p>
|
|
29
32
|
* <p>You can use one of the following two ways to set a bucket's permissions:</p>
|
|
30
33
|
* <ul>
|
|
31
34
|
* <li>
|
|
@@ -23,7 +23,10 @@ export interface PutBucketAnalyticsConfigurationCommandOutput extends __Metadata
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Sets an analytics configuration for the bucket (specified by the analytics configuration
|
|
27
30
|
* ID). You can have up to 1,000 analytics configurations per bucket.</p>
|
|
28
31
|
* <p>You can choose to have storage class analysis export analysis reports sent to a
|
|
29
32
|
* comma-separated values (CSV) flat file. See the <code>DataExport</code> request element.
|
|
@@ -23,7 +23,10 @@ export interface PutBucketCorsCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Sets the <code>cors</code> configuration for your bucket. If the configuration exists,
|
|
27
30
|
* Amazon S3 replaces it.</p>
|
|
28
31
|
* <p>To use this operation, you must be allowed to perform the <code>s3:PutBucketCORS</code>
|
|
29
32
|
* action. By default, the bucket owner has this permission and can grant it to others.</p>
|
|
@@ -23,7 +23,10 @@ export interface PutBucketEncryptionCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>This action uses the <code>encryption</code> subresource to configure default encryption
|
|
27
30
|
* and Amazon S3 Bucket Keys for an existing bucket.</p>
|
|
28
31
|
* <p>By default, all buckets have a default encryption configuration that uses server-side
|
|
29
32
|
* encryption with Amazon S3 managed keys (SSE-S3). You can optionally configure default encryption
|
|
@@ -23,7 +23,10 @@ export interface PutBucketIntelligentTieringConfigurationCommandOutput extends _
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Puts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to
|
|
27
30
|
* 1,000 S3 Intelligent-Tiering configurations per bucket.</p>
|
|
28
31
|
* <p>The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.</p>
|
|
29
32
|
* <p>The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.</p>
|
|
@@ -23,7 +23,10 @@ export interface PutBucketInventoryConfigurationCommandOutput extends __Metadata
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>This implementation of the <code>PUT</code> action adds an inventory configuration
|
|
27
30
|
* (identified by the inventory ID) to the bucket. You can have up to 1,000 inventory
|
|
28
31
|
* configurations per bucket. </p>
|
|
29
32
|
* <p>Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly
|
|
@@ -23,7 +23,10 @@ export interface PutBucketLifecycleConfigurationCommandOutput extends __Metadata
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle
|
|
27
30
|
* configuration. Keep in mind that this will overwrite an existing lifecycle configuration,
|
|
28
31
|
* so if you want to retain any configuration details, they must be included in the new
|
|
29
32
|
* lifecycle configuration. For information about lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html">Managing
|
|
@@ -23,7 +23,10 @@ export interface PutBucketLoggingCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Set the logging parameters for a bucket and to specify permissions for who can view and
|
|
27
30
|
* modify the logging parameters. All logs are saved to buckets in the same Amazon Web Services Region as
|
|
28
31
|
* the source bucket. To set the logging status of a bucket, you must be the bucket
|
|
29
32
|
* owner.</p>
|
|
@@ -23,7 +23,10 @@ export interface PutBucketMetricsConfigurationCommandOutput extends __MetadataBe
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Sets a metrics configuration (specified by the metrics configuration ID) for the bucket.
|
|
27
30
|
* You can have up to 1,000 metrics configurations per bucket. If you're updating an existing
|
|
28
31
|
* metrics configuration, note that this is a full replacement of the existing metrics
|
|
29
32
|
* configuration. If you don't include the elements you want to keep, they are erased.</p>
|
|
@@ -23,7 +23,10 @@ export interface PutBucketNotificationConfigurationCommandOutput extends __Metad
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Enables notifications of specified events for a bucket. For more information about event
|
|
27
30
|
* notifications, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html">Configuring Event
|
|
28
31
|
* Notifications</a>.</p>
|
|
29
32
|
* <p>Using this API, you can replace an existing notification configuration. The
|
|
@@ -23,7 +23,10 @@ export interface PutBucketOwnershipControlsCommandOutput extends __MetadataBeare
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <
|
|
26
|
+
* <note>
|
|
27
|
+
* <p>This operation is not supported by directory buckets.</p>
|
|
28
|
+
* </note>
|
|
29
|
+
* <p>Creates or modifies <code>OwnershipControls</code> for an Amazon S3 bucket. To use this
|
|
27
30
|
* operation, you must have the <code>s3:PutBucketOwnershipControls</code> permission. For
|
|
28
31
|
* more information about Amazon S3 permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/user-guide/using-with-s3-actions.html">Specifying permissions in a
|
|
29
32
|
* policy</a>. </p>
|
|
@@ -23,25 +23,60 @@ export interface PutBucketPolicyCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Applies an Amazon S3 bucket policy to an Amazon S3 bucket
|
|
27
|
-
*
|
|
28
|
-
* <
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* <
|
|
35
|
-
* <
|
|
36
|
-
*
|
|
37
|
-
* <
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
26
|
+
* <p>Applies an Amazon S3 bucket policy to an Amazon S3 bucket.</p>
|
|
27
|
+
* <note>
|
|
28
|
+
* <p>
|
|
29
|
+
* <b>Directory buckets </b> - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format <code>https://s3express-control.<i>region_code</i>.amazonaws.com/<i>bucket-name</i>
|
|
30
|
+
* </code>. Virtual-hosted-style requests aren't supported.
|
|
31
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html">Regional and Zonal endpoints</a> in the
|
|
32
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
33
|
+
* </note>
|
|
34
|
+
* <dl>
|
|
35
|
+
* <dt>Permissions</dt>
|
|
36
|
+
* <dd>
|
|
37
|
+
* <p>If you are using an identity other than the
|
|
38
|
+
* root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the
|
|
39
|
+
* <code>PutBucketPolicy</code> permissions on the specified bucket and belong to the
|
|
40
|
+
* bucket owner's account in order to use this operation.</p>
|
|
41
|
+
* <p>If you don't have <code>PutBucketPolicy</code> permissions, Amazon S3 returns a <code>403
|
|
42
|
+
* Access Denied</code> error. If you have the correct permissions, but you're not using an
|
|
43
|
+
* identity that belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not
|
|
44
|
+
* Allowed</code> error.</p>
|
|
45
|
+
* <important>
|
|
46
|
+
* <p>To ensure that bucket owners don't inadvertently lock themselves out of their own
|
|
47
|
+
* buckets, the root principal in a bucket owner's Amazon Web Services account can perform the
|
|
48
|
+
* <code>GetBucketPolicy</code>, <code>PutBucketPolicy</code>, and
|
|
49
|
+
* <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly
|
|
50
|
+
* denies the root principal's access. Bucket owner root principals can only be blocked
|
|
51
|
+
* from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations
|
|
52
|
+
* policies.</p>
|
|
53
|
+
* </important>
|
|
54
|
+
* <ul>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>
|
|
57
|
+
* <b>General purpose bucket permissions</b> - The <code>s3:PutBucketPolicy</code> permission is required in a policy.
|
|
58
|
+
* For more information about general purpose buckets bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User
|
|
59
|
+
* Policies</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
60
|
+
* </li>
|
|
61
|
+
* <li>
|
|
62
|
+
* <p>
|
|
63
|
+
* <b>Directory bucket permissions</b> - To grant access to this API operation, you must have the <code>s3express:PutBucketPolicy</code> permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html">Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
64
|
+
* </li>
|
|
65
|
+
* </ul>
|
|
66
|
+
* </dd>
|
|
67
|
+
* <dt>Example bucket policies</dt>
|
|
68
|
+
* <dd>
|
|
69
|
+
* <p>
|
|
70
|
+
* <b>General purpose buckets example bucket policies</b> - See <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-bucket-policies.html">Bucket policy examples</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
71
|
+
* <p>
|
|
72
|
+
* <b>Directory bucket example bucket policies</b> - See <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html">Example bucket policies for S3 Express One Zone</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
73
|
+
* </dd>
|
|
74
|
+
* <dt>HTTP Host header syntax</dt>
|
|
75
|
+
* <dd>
|
|
76
|
+
* <p>
|
|
77
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
78
|
+
* </dd>
|
|
79
|
+
* </dl>
|
|
45
80
|
* <p>The following operations are related to <code>PutBucketPolicy</code>:</p>
|
|
46
81
|
* <ul>
|
|
47
82
|
* <li>
|