@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
|
@@ -25,6 +25,41 @@ export interface DeleteBucketCommandOutput extends __MetadataBearer {
|
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Deletes the S3 bucket. All objects (including all object versions and delete markers) in
|
|
27
27
|
* the bucket must be deleted before the bucket itself can be deleted.</p>
|
|
28
|
+
* <note>
|
|
29
|
+
* <ul>
|
|
30
|
+
* <li>
|
|
31
|
+
* <p>
|
|
32
|
+
* <b>Directory buckets</b> - 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.</p>
|
|
33
|
+
* </li>
|
|
34
|
+
* <li>
|
|
35
|
+
* <p>
|
|
36
|
+
* <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>
|
|
37
|
+
* </code>. Virtual-hosted-style requests aren't supported.
|
|
38
|
+
* 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
|
|
39
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
40
|
+
* </li>
|
|
41
|
+
* </ul>
|
|
42
|
+
* </note>
|
|
43
|
+
* <dl>
|
|
44
|
+
* <dt>Permissions</dt>
|
|
45
|
+
* <dd>
|
|
46
|
+
* <ul>
|
|
47
|
+
* <li>
|
|
48
|
+
* <p>
|
|
49
|
+
* <b>General purpose bucket permissions</b> - You must have the <code>s3:DeleteBucket</code> permission on the specified bucket in a policy.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* <li>
|
|
52
|
+
* <p>
|
|
53
|
+
* <b>Directory bucket permissions</b> - You must have the <code>s3express:DeleteBucket</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>
|
|
54
|
+
* </li>
|
|
55
|
+
* </ul>
|
|
56
|
+
* </dd>
|
|
57
|
+
* <dt>HTTP Host header syntax</dt>
|
|
58
|
+
* <dd>
|
|
59
|
+
* <p>
|
|
60
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
61
|
+
* </dd>
|
|
62
|
+
* </dl>
|
|
28
63
|
* <p>The following operations are related to <code>DeleteBucket</code>:</p>
|
|
29
64
|
* <ul>
|
|
30
65
|
* <li>
|
|
@@ -23,7 +23,10 @@ export interface DeleteBucketCorsCommandOutput 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>Deletes the <code>cors</code> configuration information set for the bucket.</p>
|
|
27
30
|
* <p>To use this operation, you must have permission to perform the
|
|
28
31
|
* <code>s3:PutBucketCORS</code> action. The bucket owner has this permission by default
|
|
29
32
|
* and can grant this permission to others. </p>
|
|
@@ -23,7 +23,10 @@ export interface DeleteBucketEncryptionCommandOutput 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 implementation of the DELETE action resets the default encryption for the bucket as
|
|
27
30
|
* server-side encryption with Amazon S3 managed keys (SSE-S3). For information about the bucket
|
|
28
31
|
* default encryption feature, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html">Amazon S3 Bucket Default Encryption</a>
|
|
29
32
|
* in the <i>Amazon S3 User Guide</i>.</p>
|
|
@@ -23,7 +23,10 @@ export interface DeleteBucketIntelligentTieringConfigurationCommandOutput extend
|
|
|
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>Deletes the S3 Intelligent-Tiering configuration from the specified bucket.</p>
|
|
27
30
|
* <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>
|
|
28
31
|
* <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>
|
|
29
32
|
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage-class-intro.html#sc-dynamic-data-access">Storage class for automatically optimizing frequently and infrequently accessed objects</a>.</p>
|
|
@@ -23,7 +23,10 @@ export interface DeleteBucketInventoryConfigurationCommandOutput 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>Deletes an inventory configuration (identified by the inventory ID) from the
|
|
27
30
|
* bucket.</p>
|
|
28
31
|
* <p>To use this operation, you must have permissions to perform the
|
|
29
32
|
* <code>s3:PutInventoryConfiguration</code> action. The bucket owner has this permission
|
|
@@ -23,7 +23,10 @@ export interface DeleteBucketLifecycleCommandOutput 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>Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the
|
|
27
30
|
* lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your
|
|
28
31
|
* objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of
|
|
29
32
|
* rules contained in the deleted lifecycle configuration.</p>
|
|
@@ -23,7 +23,10 @@ export interface DeleteBucketMetricsConfigurationCommandOutput 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>Deletes a metrics configuration for the Amazon CloudWatch request metrics (specified by the
|
|
27
30
|
* metrics configuration ID) from the bucket. Note that this doesn't include the daily storage
|
|
28
31
|
* metrics.</p>
|
|
29
32
|
* <p> To use this operation, you must have permissions to perform the
|
|
@@ -23,7 +23,10 @@ export interface DeleteBucketOwnershipControlsCommandOutput 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>Removes <code>OwnershipControls</code> for an Amazon S3 bucket. To use this operation, you
|
|
27
30
|
* must have the <code>s3:PutBucketOwnershipControls</code> permission. For more information
|
|
28
31
|
* about Amazon S3 permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in a
|
|
29
32
|
* Policy</a>.</p>
|
|
@@ -23,26 +23,54 @@ export interface DeleteBucketPolicyCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>
|
|
27
|
-
* policy of a specified bucket
|
|
28
|
-
*
|
|
29
|
-
* <
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
* <
|
|
36
|
-
* <
|
|
37
|
-
*
|
|
38
|
-
* <
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
26
|
+
* <p>Deletes the
|
|
27
|
+
* policy of a specified bucket.</p>
|
|
28
|
+
* <note>
|
|
29
|
+
* <p>
|
|
30
|
+
* <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>
|
|
31
|
+
* </code>. Virtual-hosted-style requests aren't supported.
|
|
32
|
+
* 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
|
|
33
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
34
|
+
* </note>
|
|
35
|
+
* <dl>
|
|
36
|
+
* <dt>Permissions</dt>
|
|
37
|
+
* <dd>
|
|
38
|
+
* <p>If you are using an identity other than the
|
|
39
|
+
* root user of the Amazon Web Services account that owns the bucket, the calling identity must both have the
|
|
40
|
+
* <code>DeleteBucketPolicy</code> permissions on the specified bucket and belong to the
|
|
41
|
+
* bucket owner's account in order to use this operation.</p>
|
|
42
|
+
* <p>If you don't have <code>DeleteBucketPolicy</code> permissions, Amazon S3 returns a <code>403
|
|
43
|
+
* Access Denied</code> error. If you have the correct permissions, but you're not using an
|
|
44
|
+
* identity that belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not
|
|
45
|
+
* Allowed</code> error.</p>
|
|
46
|
+
* <important>
|
|
47
|
+
* <p>To ensure that bucket owners don't inadvertently lock themselves out of their own
|
|
48
|
+
* buckets, the root principal in a bucket owner's Amazon Web Services account can perform the
|
|
49
|
+
* <code>GetBucketPolicy</code>, <code>PutBucketPolicy</code>, and
|
|
50
|
+
* <code>DeleteBucketPolicy</code> API actions, even if their bucket policy explicitly
|
|
51
|
+
* denies the root principal's access. Bucket owner root principals can only be blocked
|
|
52
|
+
* from performing these API actions by VPC endpoint policies and Amazon Web Services Organizations
|
|
53
|
+
* policies.</p>
|
|
54
|
+
* </important>
|
|
55
|
+
* <ul>
|
|
56
|
+
* <li>
|
|
57
|
+
* <p>
|
|
58
|
+
* <b>General purpose bucket permissions</b> - The <code>s3:DeleteBucketPolicy</code> permission is required in a policy.
|
|
59
|
+
* 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
|
|
60
|
+
* Policies</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
61
|
+
* </li>
|
|
62
|
+
* <li>
|
|
63
|
+
* <p>
|
|
64
|
+
* <b>Directory bucket permissions</b> - To grant access to this API operation, you must have the <code>s3express:DeleteBucketPolicy</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>
|
|
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>s3express-control.<i>region</i>.amazonaws.com</code>.</p>
|
|
72
|
+
* </dd>
|
|
73
|
+
* </dl>
|
|
46
74
|
* <p>The following operations are related to <code>DeleteBucketPolicy</code>
|
|
47
75
|
* </p>
|
|
48
76
|
* <ul>
|
|
@@ -23,7 +23,10 @@ export interface DeleteBucketReplicationCommandOutput 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> Deletes the replication configuration from the bucket.</p>
|
|
27
30
|
* <p>To use this operation, you must have permissions to perform the
|
|
28
31
|
* <code>s3:PutReplicationConfiguration</code> action. The bucket owner has these
|
|
29
32
|
* permissions by default and can grant it to others. For more information about permissions,
|
|
@@ -23,7 +23,10 @@ export interface DeleteBucketTaggingCommandOutput 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>Deletes the tags from the bucket.</p>
|
|
27
30
|
* <p>To use this operation, you must have permission to perform the
|
|
28
31
|
* <code>s3:PutBucketTagging</code> action. By default, the bucket owner has this
|
|
29
32
|
* permission and can grant this permission to others. </p>
|
|
@@ -23,7 +23,10 @@ export interface DeleteBucketWebsiteCommandOutput 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 removes the website configuration for a bucket. Amazon S3 returns a <code>200
|
|
27
30
|
* OK</code> response upon successfully deleting a website configuration on the specified
|
|
28
31
|
* bucket. You will get a <code>200 OK</code> response if the website configuration you are
|
|
29
32
|
* trying to delete does not exist on the bucket. Amazon S3 returns a <code>404</code> response if
|
|
@@ -23,24 +23,96 @@ export interface DeleteObjectCommandOutput extends DeleteObjectOutput, __Metadat
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Removes
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
26
|
+
* <p>Removes an object from a bucket. The behavior depends on the bucket's versioning state: </p>
|
|
27
|
+
* <ul>
|
|
28
|
+
* <li>
|
|
29
|
+
* <p>If versioning is enabled, the operation removes the null version (if there is one) of an object and inserts a delete marker,
|
|
30
|
+
* which becomes the latest version of the object. If there isn't a null version, Amazon S3 does
|
|
31
|
+
* not remove any objects but will still respond that the command was successful.</p>
|
|
32
|
+
* </li>
|
|
33
|
+
* <li>
|
|
34
|
+
* <p>If versioning is suspended or not enabled, the operation permanently deletes the object.</p>
|
|
35
|
+
* </li>
|
|
36
|
+
* </ul>
|
|
37
|
+
* <note>
|
|
38
|
+
* <ul>
|
|
39
|
+
* <li>
|
|
40
|
+
* <p>
|
|
41
|
+
* <b>Directory buckets</b> - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the <code>null</code> value of the version ID is supported by directory buckets. You can only specify <code>null</code>
|
|
42
|
+
* to the <code>versionId</code> query parameter in the request.</p>
|
|
43
|
+
* </li>
|
|
44
|
+
* <li>
|
|
45
|
+
* <p>
|
|
46
|
+
* <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>
|
|
47
|
+
* </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
|
|
48
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
49
|
+
* </li>
|
|
50
|
+
* </ul>
|
|
51
|
+
* </note>
|
|
52
|
+
* <p>To remove a specific version, you must use the <code>versionId</code> query parameter. Using this
|
|
53
|
+
* query parameter permanently deletes the version. If the object deleted is a delete marker, Amazon S3
|
|
54
|
+
* sets the response header <code>x-amz-delete-marker</code> to true. </p>
|
|
32
55
|
* <p>If the object you want to delete is in a bucket where the bucket versioning
|
|
33
56
|
* configuration is MFA Delete enabled, you must include the <code>x-amz-mfa</code> request
|
|
34
57
|
* header in the DELETE <code>versionId</code> request. Requests that include
|
|
35
|
-
*
|
|
36
|
-
*
|
|
58
|
+
* <code>x-amz-mfa</code> must use HTTPS. For more information about MFA Delete, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMFADelete.html">Using MFA Delete</a> in the <i>Amazon S3
|
|
59
|
+
* User Guide</i>. To see sample
|
|
37
60
|
* requests that use versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectDELETE.html#ExampleVersionObjectDelete">Sample
|
|
38
61
|
* Request</a>. </p>
|
|
39
|
-
* <
|
|
40
|
-
*
|
|
62
|
+
* <note>
|
|
63
|
+
* <p>
|
|
64
|
+
* <b>Directory buckets</b> - MFA delete is not supported by directory buckets.</p>
|
|
65
|
+
* </note>
|
|
66
|
+
* <p>You can delete objects by explicitly calling DELETE Object or calling
|
|
67
|
+
* (<a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycle.html">PutBucketLifecycle</a>) to enable Amazon S3 to remove them for you. If you want to block
|
|
41
68
|
* users or accounts from removing or deleting objects from your bucket, you must deny them
|
|
42
69
|
* the <code>s3:DeleteObject</code>, <code>s3:DeleteObjectVersion</code>, and
|
|
43
|
-
*
|
|
70
|
+
* <code>s3:PutLifeCycleConfiguration</code> actions. </p>
|
|
71
|
+
* <note>
|
|
72
|
+
* <p>
|
|
73
|
+
* <b>Directory buckets</b> - S3 Lifecycle is not supported by directory buckets.</p>
|
|
74
|
+
* </note>
|
|
75
|
+
* <dl>
|
|
76
|
+
* <dt>Permissions</dt>
|
|
77
|
+
* <dd>
|
|
78
|
+
* <ul>
|
|
79
|
+
* <li>
|
|
80
|
+
* <p>
|
|
81
|
+
* <b>General purpose bucket permissions</b> - The following permissions are required in your policies when your
|
|
82
|
+
* <code>DeleteObjects</code> request includes specific headers.</p>
|
|
83
|
+
* <ul>
|
|
84
|
+
* <li>
|
|
85
|
+
* <p>
|
|
86
|
+
* <b>
|
|
87
|
+
* <code>s3:DeleteObject</code>
|
|
88
|
+
* </b> - To delete an object from a bucket, you must always have the <code>s3:DeleteObject</code> permission.</p>
|
|
89
|
+
* </li>
|
|
90
|
+
* <li>
|
|
91
|
+
* <p>
|
|
92
|
+
* <b>
|
|
93
|
+
* <code>s3:DeleteObjectVersion</code>
|
|
94
|
+
* </b> - To delete a specific version of an object from a versiong-enabled bucket, you must have the <code>s3:DeleteObjectVersion</code> permission.</p>
|
|
95
|
+
* </li>
|
|
96
|
+
* </ul>
|
|
97
|
+
* </li>
|
|
98
|
+
* <li>
|
|
99
|
+
* <p>
|
|
100
|
+
* <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">
|
|
101
|
+
* <code>CreateSession</code>
|
|
102
|
+
* </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.
|
|
103
|
+
* 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">
|
|
104
|
+
* <code>CreateSession</code>
|
|
105
|
+
* </a>.</p>
|
|
106
|
+
* </li>
|
|
107
|
+
* </ul>
|
|
108
|
+
* </dd>
|
|
109
|
+
* <dt>HTTP Host header syntax</dt>
|
|
110
|
+
* <dd>
|
|
111
|
+
* <p>
|
|
112
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
113
|
+
* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
|
|
114
|
+
* </dd>
|
|
115
|
+
* </dl>
|
|
44
116
|
* <p>The following action is related to <code>DeleteObject</code>:</p>
|
|
45
117
|
* <ul>
|
|
46
118
|
* <li>
|
|
@@ -23,7 +23,10 @@ export interface DeleteObjectTaggingCommandOutput extends DeleteObjectTaggingOut
|
|
|
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>Removes the entire tag set from the specified object. For more information about
|
|
27
30
|
* managing object tags, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-tagging.html"> Object Tagging</a>.</p>
|
|
28
31
|
* <p>To use this operation, you must have permission to perform the
|
|
29
32
|
* <code>s3:DeleteObjectTagging</code> action.</p>
|
|
@@ -72,39 +75,39 @@ export interface DeleteObjectTaggingCommandOutput extends DeleteObjectTaggingOut
|
|
|
72
75
|
* @throws {@link S3ServiceException}
|
|
73
76
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
74
77
|
*
|
|
75
|
-
* @example To remove tag set from an object
|
|
78
|
+
* @example To remove tag set from an object
|
|
76
79
|
* ```javascript
|
|
77
|
-
* // The following example removes tag set associated with the specified object
|
|
80
|
+
* // The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.
|
|
78
81
|
* const input = {
|
|
79
82
|
* "Bucket": "examplebucket",
|
|
80
|
-
* "Key": "HappyFace.jpg"
|
|
81
|
-
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
83
|
+
* "Key": "HappyFace.jpg"
|
|
82
84
|
* };
|
|
83
85
|
* const command = new DeleteObjectTaggingCommand(input);
|
|
84
86
|
* const response = await client.send(command);
|
|
85
87
|
* /* response ==
|
|
86
88
|
* {
|
|
87
|
-
* "VersionId": "
|
|
89
|
+
* "VersionId": "null"
|
|
88
90
|
* }
|
|
89
91
|
* *\/
|
|
90
|
-
* // example id: to-remove-tag-set-from-an-object-
|
|
92
|
+
* // example id: to-remove-tag-set-from-an-object-1483145342862
|
|
91
93
|
* ```
|
|
92
94
|
*
|
|
93
|
-
* @example To remove tag set from an object
|
|
95
|
+
* @example To remove tag set from an object version
|
|
94
96
|
* ```javascript
|
|
95
|
-
* // The following example removes tag set associated with the specified object.
|
|
97
|
+
* // The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.
|
|
96
98
|
* const input = {
|
|
97
99
|
* "Bucket": "examplebucket",
|
|
98
|
-
* "Key": "HappyFace.jpg"
|
|
100
|
+
* "Key": "HappyFace.jpg",
|
|
101
|
+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
99
102
|
* };
|
|
100
103
|
* const command = new DeleteObjectTaggingCommand(input);
|
|
101
104
|
* const response = await client.send(command);
|
|
102
105
|
* /* response ==
|
|
103
106
|
* {
|
|
104
|
-
* "VersionId": "
|
|
107
|
+
* "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
|
|
105
108
|
* }
|
|
106
109
|
* *\/
|
|
107
|
-
* // example id: to-remove-tag-set-from-an-object-
|
|
110
|
+
* // example id: to-remove-tag-set-from-an-object-version-1483145285913
|
|
108
111
|
* ```
|
|
109
112
|
*
|
|
110
113
|
*/
|