@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,7 +23,10 @@ export interface GetBucketVersioningCommandOutput extends GetBucketVersioningOut
|
|
|
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 the versioning state of a bucket.</p>
|
|
27
30
|
* <p>To retrieve the versioning state of a bucket, you must be the bucket owner.</p>
|
|
28
31
|
* <p>This implementation also returns the MFA Delete status of the versioning state. If the
|
|
29
32
|
* MFA Delete status is <code>enabled</code>, the bucket owner must use an authentication
|
|
@@ -23,7 +23,10 @@ export interface GetBucketWebsiteCommandOutput extends GetBucketWebsiteOutput, _
|
|
|
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 the website configuration for a bucket. To host website on Amazon S3, you can
|
|
27
30
|
* configure a bucket as website by adding a website configuration. For more information about
|
|
28
31
|
* hosting websites, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html">Hosting Websites on Amazon S3</a>. </p>
|
|
29
32
|
* <p>This GET action requires the <code>S3:GetBucketWebsite</code> permission. By default,
|
|
@@ -23,12 +23,15 @@ export interface GetObjectAclCommandOutput extends GetObjectAclOutput, __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>Returns the access control list (ACL) of an object. To use this operation, you must have
|
|
27
30
|
* <code>s3:GetObjectAcl</code> permissions or <code>READ_ACP</code> access to the object.
|
|
28
31
|
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/acl-overview.html#acl-access-policy-permission-mapping">Mapping of ACL permissions and access policy permissions</a> in the <i>Amazon S3
|
|
29
32
|
* User Guide</i>
|
|
30
33
|
* </p>
|
|
31
|
-
* <p>This
|
|
34
|
+
* <p>This functionality is not supported for Amazon S3 on Outposts.</p>
|
|
32
35
|
* <p>By default, GET returns ACL information about the current version of an object. To
|
|
33
36
|
* return ACL information about a different version, use the versionId subresource.</p>
|
|
34
37
|
* <note>
|
|
@@ -24,111 +24,148 @@ export interface GetObjectAttributesCommandOutput extends GetObjectAttributesOut
|
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
* <p>Retrieves all the metadata from an object without returning the object itself. This
|
|
27
|
-
*
|
|
28
|
-
* <code>GetObjectAttributes</code>, you must have READ access to the object.</p>
|
|
27
|
+
* operation is useful if you're interested only in an object's metadata. </p>
|
|
29
28
|
* <p>
|
|
30
29
|
* <code>GetObjectAttributes</code> combines the functionality of <code>HeadObject</code>
|
|
31
30
|
* and <code>ListParts</code>. All of the data returned with each of those individual calls
|
|
32
31
|
* can be returned with a single call to <code>GetObjectAttributes</code>.</p>
|
|
33
|
-
* <p>If you encrypt an object by using server-side encryption with customer-provided
|
|
34
|
-
* encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the
|
|
35
|
-
* metadata from the object, you must use the following headers:</p>
|
|
36
|
-
* <ul>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>
|
|
39
|
-
* <code>x-amz-server-side-encryption-customer-algorithm</code>
|
|
40
|
-
* </p>
|
|
41
|
-
* </li>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>
|
|
44
|
-
* <code>x-amz-server-side-encryption-customer-key</code>
|
|
45
|
-
* </p>
|
|
46
|
-
* </li>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>
|
|
49
|
-
* <code>x-amz-server-side-encryption-customer-key-MD5</code>
|
|
50
|
-
* </p>
|
|
51
|
-
* </li>
|
|
52
|
-
* </ul>
|
|
53
|
-
* <p>For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption
|
|
54
|
-
* (Using Customer-Provided Encryption Keys)</a> in the
|
|
55
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
56
32
|
* <note>
|
|
57
|
-
* <
|
|
58
|
-
* <
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
* with Amazon Web Services KMS keys stored in Amazon Web Services Key Management Service (SSE-KMS) or
|
|
62
|
-
* server-side encryption with Amazon S3 managed keys (SSE-S3). If your object does use
|
|
63
|
-
* these types of keys, you'll get an HTTP <code>400 Bad Request</code> error.</p>
|
|
64
|
-
* </li>
|
|
65
|
-
* <li>
|
|
66
|
-
* <p> The last modified property in this case is the creation date of the
|
|
67
|
-
* object.</p>
|
|
68
|
-
* </li>
|
|
69
|
-
* </ul>
|
|
33
|
+
* <p>
|
|
34
|
+
* <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>
|
|
35
|
+
* </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
|
|
36
|
+
* <i>Amazon S3 User Guide</i>.</p>
|
|
70
37
|
* </note>
|
|
71
|
-
* <
|
|
72
|
-
*
|
|
73
|
-
* <
|
|
74
|
-
* <p> If both of the <code>If-Match</code> and <code>If-Unmodified-Since</code> headers
|
|
75
|
-
* are present in the request as follows, then Amazon S3 returns the HTTP status code
|
|
76
|
-
* <code>200 OK</code> and the data requested:</p>
|
|
38
|
+
* <dl>
|
|
39
|
+
* <dt>Permissions</dt>
|
|
40
|
+
* <dd>
|
|
77
41
|
* <ul>
|
|
78
42
|
* <li>
|
|
79
43
|
* <p>
|
|
80
|
-
* <
|
|
44
|
+
* <b>General purpose bucket permissions</b> - To use
|
|
45
|
+
* <code>GetObjectAttributes</code>, you must have READ access to the object. The permissions that you need to use this operation with depend on whether the
|
|
46
|
+
* bucket is versioned. If the bucket is versioned, you need both the
|
|
47
|
+
* <code>s3:GetObjectVersion</code> and <code>s3:GetObjectVersionAttributes</code>
|
|
48
|
+
* permissions for this operation. If the bucket is not versioned, you need the
|
|
49
|
+
* <code>s3:GetObject</code> and <code>s3:GetObjectAttributes</code> permissions.
|
|
50
|
+
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html">Specifying Permissions in
|
|
51
|
+
* a Policy</a> in the <i>Amazon S3 User Guide</i>. If the object
|
|
52
|
+
* that you request does not exist, the error Amazon S3 returns depends on whether you
|
|
53
|
+
* also have the <code>s3:ListBucket</code> permission.</p>
|
|
54
|
+
* <ul>
|
|
55
|
+
* <li>
|
|
56
|
+
* <p>If you have the <code>s3:ListBucket</code> permission on the bucket, Amazon S3
|
|
57
|
+
* returns an HTTP status code <code>404 Not Found</code> ("no such key")
|
|
58
|
+
* error.</p>
|
|
59
|
+
* </li>
|
|
60
|
+
* <li>
|
|
61
|
+
* <p>If you don't have the <code>s3:ListBucket</code> permission, Amazon S3 returns
|
|
62
|
+
* an HTTP status code <code>403 Forbidden</code> ("access denied")
|
|
63
|
+
* error.</p>
|
|
64
|
+
* </li>
|
|
65
|
+
* </ul>
|
|
81
66
|
* </li>
|
|
82
67
|
* <li>
|
|
83
68
|
* <p>
|
|
84
|
-
* <
|
|
85
|
-
*
|
|
69
|
+
* <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">
|
|
70
|
+
* <code>CreateSession</code>
|
|
71
|
+
* </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.
|
|
72
|
+
* 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">
|
|
73
|
+
* <code>CreateSession</code>
|
|
74
|
+
* </a>.</p>
|
|
86
75
|
* </li>
|
|
87
76
|
* </ul>
|
|
88
|
-
* </
|
|
89
|
-
* <
|
|
90
|
-
*
|
|
91
|
-
*
|
|
92
|
-
* <
|
|
77
|
+
* </dd>
|
|
78
|
+
* <dt>Encryption</dt>
|
|
79
|
+
* <dd>
|
|
80
|
+
* <note>
|
|
81
|
+
* <p>Encryption request headers, like <code>x-amz-server-side-encryption</code>,
|
|
82
|
+
* should not be sent for <code>HEAD</code> requests if your object uses server-side
|
|
83
|
+
* encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side
|
|
84
|
+
* encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side encryption with Amazon S3
|
|
85
|
+
* managed encryption keys (SSE-S3). The <code>x-amz-server-side-encryption</code> header is used when you <code>PUT</code> an object to S3 and want to specify the encryption method.
|
|
86
|
+
* If you include this header in a <code>GET</code> request for an object that uses these types of keys,
|
|
87
|
+
* you’ll get an HTTP <code>400 Bad Request</code> error. It's because the encryption method can't be changed when you retrieve the object.</p>
|
|
88
|
+
* </note>
|
|
89
|
+
* <p>If you encrypt an object by using server-side encryption with customer-provided
|
|
90
|
+
* encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the
|
|
91
|
+
* metadata from the object, you must use the following headers to provide the encryption key for the server to be able to retrieve the object's metadata. The headers are: </p>
|
|
93
92
|
* <ul>
|
|
94
93
|
* <li>
|
|
95
94
|
* <p>
|
|
96
|
-
* <code>
|
|
95
|
+
* <code>x-amz-server-side-encryption-customer-algorithm</code>
|
|
96
|
+
* </p>
|
|
97
97
|
* </li>
|
|
98
98
|
* <li>
|
|
99
99
|
* <p>
|
|
100
|
-
* <code>
|
|
101
|
-
*
|
|
100
|
+
* <code>x-amz-server-side-encryption-customer-key</code>
|
|
101
|
+
* </p>
|
|
102
|
+
* </li>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>
|
|
105
|
+
* <code>x-amz-server-side-encryption-customer-key-MD5</code>
|
|
106
|
+
* </p>
|
|
102
107
|
* </li>
|
|
103
108
|
* </ul>
|
|
104
|
-
*
|
|
105
|
-
*
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
*
|
|
109
|
+
* <p>For more information about SSE-C, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html">Server-Side Encryption
|
|
110
|
+
* (Using Customer-Provided Encryption Keys)</a> in the <i>Amazon S3
|
|
111
|
+
* User Guide</i>.</p>
|
|
112
|
+
* <note>
|
|
113
|
+
* <p>
|
|
114
|
+
* <b>Directory bucket permissions</b> - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) is supported.</p>
|
|
115
|
+
* </note>
|
|
116
|
+
* </dd>
|
|
117
|
+
* <dt>Versioning</dt>
|
|
109
118
|
* <dd>
|
|
110
|
-
* <p>
|
|
111
|
-
*
|
|
112
|
-
*
|
|
113
|
-
*
|
|
114
|
-
*
|
|
115
|
-
*
|
|
116
|
-
*
|
|
117
|
-
* that you request does not exist, the error Amazon S3 returns depends on whether you
|
|
118
|
-
* also have the <code>s3:ListBucket</code> permission.</p>
|
|
119
|
+
* <p>
|
|
120
|
+
* <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>
|
|
121
|
+
* to the <code>versionId</code> query parameter in the request.</p>
|
|
122
|
+
* </dd>
|
|
123
|
+
* <dt>Conditional request headers</dt>
|
|
124
|
+
* <dd>
|
|
125
|
+
* <p>Consider the following when using request headers:</p>
|
|
119
126
|
* <ul>
|
|
120
127
|
* <li>
|
|
121
|
-
* <p>If
|
|
122
|
-
*
|
|
123
|
-
*
|
|
128
|
+
* <p>If both of the <code>If-Match</code> and <code>If-Unmodified-Since</code> headers
|
|
129
|
+
* are present in the request as follows, then Amazon S3 returns the HTTP status code
|
|
130
|
+
* <code>200 OK</code> and the data requested:</p>
|
|
131
|
+
* <ul>
|
|
132
|
+
* <li>
|
|
133
|
+
* <p>
|
|
134
|
+
* <code>If-Match</code> condition evaluates to <code>true</code>.</p>
|
|
135
|
+
* </li>
|
|
136
|
+
* <li>
|
|
137
|
+
* <p>
|
|
138
|
+
* <code>If-Unmodified-Since</code> condition evaluates to
|
|
139
|
+
* <code>false</code>.</p>
|
|
140
|
+
* </li>
|
|
141
|
+
* </ul>
|
|
142
|
+
* <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>.</p>
|
|
124
143
|
* </li>
|
|
125
144
|
* <li>
|
|
126
|
-
* <p>If
|
|
127
|
-
*
|
|
128
|
-
*
|
|
145
|
+
* <p>If both of the <code>If-None-Match</code> and <code>If-Modified-Since</code>
|
|
146
|
+
* headers are present in the request as follows, then Amazon S3 returns the HTTP status code
|
|
147
|
+
* <code>304 Not Modified</code>:</p>
|
|
148
|
+
* <ul>
|
|
149
|
+
* <li>
|
|
150
|
+
* <p>
|
|
151
|
+
* <code>If-None-Match</code> condition evaluates to <code>false</code>.</p>
|
|
152
|
+
* </li>
|
|
153
|
+
* <li>
|
|
154
|
+
* <p>
|
|
155
|
+
* <code>If-Modified-Since</code> condition evaluates to
|
|
156
|
+
* <code>true</code>.</p>
|
|
157
|
+
* </li>
|
|
158
|
+
* </ul>
|
|
159
|
+
* <p>For more information about conditional requests, see <a href="https://tools.ietf.org/html/rfc7232">RFC 7232</a>.</p>
|
|
129
160
|
* </li>
|
|
130
161
|
* </ul>
|
|
131
162
|
* </dd>
|
|
163
|
+
* <dt>HTTP Host header syntax</dt>
|
|
164
|
+
* <dd>
|
|
165
|
+
* <p>
|
|
166
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
167
|
+
* <i>Bucket_name</i>.s3express-<i>az_id</i>.<i>region</i>.amazonaws.com</code>.</p>
|
|
168
|
+
* </dd>
|
|
132
169
|
* </dl>
|
|
133
170
|
* <p>The following actions are related to <code>GetObjectAttributes</code>:</p>
|
|
134
171
|
* <ul>
|
|
@@ -225,7 +262,7 @@ export interface GetObjectAttributesCommandOutput extends GetObjectAttributesOut
|
|
|
225
262
|
* // },
|
|
226
263
|
* // ],
|
|
227
264
|
* // },
|
|
228
|
-
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW",
|
|
265
|
+
* // StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
229
266
|
* // ObjectSize: Number("long"),
|
|
230
267
|
* // };
|
|
231
268
|
*
|