@nocobase/plugin-file-manager 1.5.11 → 1.5.13
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/dist/externalVersion.js +6 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +127 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js +24 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/index.js +34520 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.browser.js +2 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +20 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +6 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +26 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +123 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/AbortMultipartUploadCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CompleteMultipartUploadCommand.js +22 -51
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CopyObjectCommand.js +24 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketCommand.js +24 -51
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +31 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateMultipartUploadCommand.js +23 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/CreateSessionCommand.js +23 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketCorsCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketEncryptionCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketLifecycleCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +26 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketPolicyCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketReplicationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketTaggingCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteBucketWebsiteCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectTaggingCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeleteObjectsCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/DeletePublicAccessBlockCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAclCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketCorsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketEncryptionCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketInventoryConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLocationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketLoggingCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketMetricsConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketNotificationConfigurationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketOwnershipControlsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketPolicyStatusCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketReplicationCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketRequestPaymentCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketTaggingCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketVersioningCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetBucketWebsiteCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAclCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectAttributesCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +26 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLegalHoldCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectLockConfigurationCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectRetentionCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTaggingCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectTorrentCommand.js +19 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetPublicAccessBlockCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadBucketCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/HeadObjectCommand.js +24 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListBucketsCommand.js +18 -47
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListDirectoryBucketsCommand.js +21 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListMultipartUploadsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectVersionsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsCommand.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListObjectsV2Command.js +22 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/ListPartsCommand.js +23 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAclCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketCorsCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketEncryptionCommand.js +24 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketInventoryConfigurationCommand.js +21 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +25 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketLoggingCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketMetricsConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketNotificationConfigurationCommand.js +20 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +23 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketPolicyCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketReplicationCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketRequestPaymentCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketTaggingCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketVersioningCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketWebsiteCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectAclCommand.js +25 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectCommand.js +27 -56
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLegalHoldCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectLockConfigurationCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectRetentionCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutObjectTaggingCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutPublicAccessBlockCommand.js +23 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RestoreObjectCommand.js +24 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/SelectObjectContentCommand.js +26 -52
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCommand.js +26 -54
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/UploadPartCopyCommand.js +22 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/WriteGetObjectResponseCommand.js +19 -48
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +12 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/endpointResolver.js +24 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/ruleset.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/index.js +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_0.js +41 -56
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +63 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListBucketsPaginator.js +4 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListDirectoryBucketsPaginator.js +2 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListObjectsV2Paginator.js +2 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/ListPartsPaginator.js +2 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/pagination/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +4054 -5980
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.browser.js +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +22 -13
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +15 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +24 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +46 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +69 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +48 -32
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +85 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +130 -84
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +113 -90
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +134 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +152 -102
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +92 -41
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +35 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +68 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +74 -32
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +95 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +50 -47
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +34 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +33 -35
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +62 -50
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +69 -34
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +85 -41
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +111 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +55 -47
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +92 -66
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +111 -84
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +41 -43
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +62 -45
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +101 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +43 -30
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +37 -28
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +108 -89
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +25 -26
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +24 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +60 -37
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +49 -43
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +22 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +24 -26
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +133 -42
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +116 -78
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +24 -26
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +57 -49
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +26 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +31 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +158 -93
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +25 -27
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +24 -85
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +23 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +95 -68
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +132 -85
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +24 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +43 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/extensionConfiguration.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/index.d.ts +2 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/S3ServiceException.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +3842 -3109
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +1620 -883
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListBucketsPaginator.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListDirectoryBucketsPaginator.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListObjectsV2Paginator.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/ListPartsPaginator.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/pagination/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +27 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +21 -13
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +20 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +25 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +4 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +71 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +47 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +55 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +51 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +34 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +34 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +37 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +36 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +36 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +34 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +34 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +38 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +36 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +34 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +34 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +34 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +36 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +34 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +33 -24
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +34 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +35 -23
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +32 -21
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +43 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/extensionConfiguration.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/index.d.ts +0 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/S3ServiceException.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +878 -916
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +404 -271
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListBucketsPaginator.d.ts +11 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListDirectoryBucketsPaginator.d.ts +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListObjectsV2Paginator.d.ts +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/ListPartsPaginator.d.ts +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +36 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +48 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +48 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +75 -39
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -2
- package/dist/node_modules/@aws-sdk/client-s3/package.json +1 -1
- package/dist/node_modules/mime-match/package.json +1 -1
- package/dist/node_modules/mkdirp/package.json +1 -1
- package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
- package/dist/node_modules/multer-cos/package.json +1 -1
- package/dist/node_modules/multer-s3/index.js +40813 -33
- package/dist/node_modules/multer-s3/package.json +1 -1
- package/package.json +3 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3.js +0 -201
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/S3Client.js +0 -53
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/AbortMultipartUploadCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CompleteMultipartUploadCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CopyObjectCommand.js +0 -63
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateBucketCommand.js +0 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateMultipartUploadCommand.js +0 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/CreateSessionCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketCorsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketEncryptionCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketLifecycleCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketPolicyCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketReplicationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketTaggingCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteBucketWebsiteCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectTaggingCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeleteObjectsCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/DeletePublicAccessBlockCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAclCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketCorsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketEncryptionCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLocationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketLoggingCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketPolicyStatusCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketReplicationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketRequestPaymentCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketTaggingCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketVersioningCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetBucketWebsiteCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAclCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectAttributesCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectCommand.js +0 -69
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLegalHoldCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectLockConfigurationCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectRetentionCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTaggingCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetObjectTorrentCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/GetPublicAccessBlockCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadBucketCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/HeadObjectCommand.js +0 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListBucketsCommand.js +0 -57
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListDirectoryBucketsCommand.js +0 -58
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListMultipartUploadsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectVersionsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListObjectsV2Command.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/ListPartsCommand.js +0 -62
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAclCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketCorsCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketEncryptionCommand.js +0 -66
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +0 -60
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketLoggingCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +0 -61
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketPolicyCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketReplicationCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketRequestPaymentCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketTaggingCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketVersioningCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutBucketWebsiteCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectAclCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectCommand.js +0 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLegalHoldCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectLockConfigurationCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectRetentionCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutObjectTaggingCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/PutPublicAccessBlockCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/RestoreObjectCommand.js +0 -65
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/SelectObjectContentCommand.js +0 -64
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCommand.js +0 -68
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/UploadPartCopyCommand.js +0 -63
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/WriteGetObjectResponseCommand.js +0 -59
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/commands/index.js +0 -98
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/EndpointParameters.js +0 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/extensionConfiguration.js +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js +0 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/index.js +0 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_0.js +0 -647
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/models/models_1.js +0 -156
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListDirectoryBucketsPaginator.js +0 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListObjectsV2Paginator.js +0 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/ListPartsPaginator.js +0 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/pagination/index.js +0 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/protocols/Aws_restXml.js +0 -9820
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeExtensions.js +0 -22
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/index.js +0 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketExists.js +0 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForBucketNotExists.js +0 -30
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectExists.js +0 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/waiters/waitForObjectNotExists.js +0 -30
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { PutObjectAclOutput, PutObjectAclRequest } from "../models/models_1";
|
|
5
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
9
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*
|
|
@@ -21,10 +21,14 @@ export interface PutObjectAclCommandInput extends PutObjectAclRequest {
|
|
|
21
21
|
*/
|
|
22
22
|
export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
|
+
declare const PutObjectAclCommand_base: {
|
|
25
|
+
new (input: PutObjectAclCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectAclCommandInput, PutObjectAclCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutObjectAclCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectAclCommandInput, PutObjectAclCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
24
29
|
/**
|
|
25
|
-
* @public
|
|
26
30
|
* <note>
|
|
27
|
-
* <p>This operation is not supported
|
|
31
|
+
* <p>This operation is not supported for directory buckets.</p>
|
|
28
32
|
* </note>
|
|
29
33
|
* <p>Uses the <code>acl</code> subresource to set the access control list (ACL) permissions
|
|
30
34
|
* for a new or existing object in an S3 bucket. You must have the <code>WRITE_ACP</code>
|
|
@@ -240,7 +244,7 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
240
244
|
* },
|
|
241
245
|
* Bucket: "STRING_VALUE", // required
|
|
242
246
|
* ContentMD5: "STRING_VALUE",
|
|
243
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
247
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
|
|
244
248
|
* GrantFullControl: "STRING_VALUE",
|
|
245
249
|
* GrantRead: "STRING_VALUE",
|
|
246
250
|
* GrantReadACP: "STRING_VALUE",
|
|
@@ -271,6 +275,7 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
271
275
|
* @throws {@link S3ServiceException}
|
|
272
276
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
273
277
|
*
|
|
278
|
+
* @public
|
|
274
279
|
* @example To grant permissions using object ACL
|
|
275
280
|
* ```javascript
|
|
276
281
|
* // The following example adds grants to an object ACL. The first permission grants user1 and user2 FULL_CONTROL and the AllUsers group READ permission.
|
|
@@ -287,23 +292,16 @@ export interface PutObjectAclCommandOutput extends PutObjectAclOutput, __Metadat
|
|
|
287
292
|
* ```
|
|
288
293
|
*
|
|
289
294
|
*/
|
|
290
|
-
export declare class PutObjectAclCommand extends
|
|
291
|
-
|
|
292
|
-
static
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
* @internal
|
|
303
|
-
*/
|
|
304
|
-
private serialize;
|
|
305
|
-
/**
|
|
306
|
-
* @internal
|
|
307
|
-
*/
|
|
308
|
-
private deserialize;
|
|
295
|
+
export declare class PutObjectAclCommand extends PutObjectAclCommand_base {
|
|
296
|
+
/** @internal type navigation helper, not in runtime. */
|
|
297
|
+
protected static __types: {
|
|
298
|
+
api: {
|
|
299
|
+
input: PutObjectAclRequest;
|
|
300
|
+
output: PutObjectAclOutput;
|
|
301
|
+
};
|
|
302
|
+
sdk: {
|
|
303
|
+
input: PutObjectAclCommandInput;
|
|
304
|
+
output: PutObjectAclCommandOutput;
|
|
305
|
+
};
|
|
306
|
+
};
|
|
309
307
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer, StreamingBlobPayloadInputTypes } from "@smithy/types";
|
|
4
3
|
import { PutObjectOutput, PutObjectRequest } from "../models/models_1";
|
|
5
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
9
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*
|
|
@@ -22,52 +22,70 @@ export interface PutObjectCommandInput extends Omit<PutObjectRequest, "Body"> {
|
|
|
22
22
|
*/
|
|
23
23
|
export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBearer {
|
|
24
24
|
}
|
|
25
|
+
declare const PutObjectCommand_base: {
|
|
26
|
+
new (input: PutObjectCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectCommandInput, PutObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
new (__0_0: PutObjectCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectCommandInput, PutObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
|
+
};
|
|
25
30
|
/**
|
|
26
|
-
* @public
|
|
27
31
|
* <p>Adds an object to a bucket.</p>
|
|
28
32
|
* <note>
|
|
29
33
|
* <ul>
|
|
30
34
|
* <li>
|
|
31
|
-
* <p>Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
+
* <p>Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added
|
|
36
|
+
* the entire object to the bucket. You cannot use <code>PutObject</code> to only
|
|
37
|
+
* update a single piece of metadata for an existing object. You must put the entire
|
|
38
|
+
* object with updated metadata if you want to update some values.</p>
|
|
35
39
|
* </li>
|
|
36
40
|
* <li>
|
|
37
|
-
* <p>If your bucket uses the bucket owner enforced setting for Object Ownership,
|
|
38
|
-
*
|
|
41
|
+
* <p>If your bucket uses the bucket owner enforced setting for Object Ownership,
|
|
42
|
+
* ACLs are disabled and no longer affect permissions. All objects written to the
|
|
43
|
+
* bucket by any account will be owned by the bucket owner.</p>
|
|
39
44
|
* </li>
|
|
40
45
|
* <li>
|
|
41
46
|
* <p>
|
|
42
|
-
* <b>Directory buckets</b> -
|
|
43
|
-
*
|
|
47
|
+
* <b>Directory buckets</b> -
|
|
48
|
+
* 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>amzn-s3-demo-bucket</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com/<i>key-name</i>
|
|
49
|
+
* </code>. Path-style requests are not supported. For more information about endpoints in Availability Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/endpoint-directory-buckets-AZ.html">Regional and Zonal endpoints for directory buckets in Availability Zones</a> in the
|
|
50
|
+
* <i>Amazon S3 User Guide</i>. For more information about endpoints in Local Zones, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-lzs-for-directory-buckets.html">Concepts for directory buckets in Local Zones</a> in the
|
|
44
51
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
45
52
|
* </li>
|
|
46
53
|
* </ul>
|
|
47
54
|
* </note>
|
|
48
55
|
* <p>Amazon S3 is a distributed system. If it receives multiple write requests for the same object
|
|
49
|
-
* simultaneously, it overwrites all but the last object written. However, Amazon S3 provides
|
|
56
|
+
* simultaneously, it overwrites all but the last object written. However, Amazon S3 provides
|
|
57
|
+
* features that can modify this behavior:</p>
|
|
50
58
|
* <ul>
|
|
51
59
|
* <li>
|
|
52
60
|
* <p>
|
|
53
61
|
* <b>S3 Object Lock</b> - To prevent objects from
|
|
54
|
-
*
|
|
55
|
-
*
|
|
62
|
+
* being deleted or overwritten, you can use <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lock.html">Amazon S3 Object
|
|
63
|
+
* Lock</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
56
64
|
* <note>
|
|
57
65
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
58
66
|
* </note>
|
|
59
67
|
* </li>
|
|
60
68
|
* <li>
|
|
61
69
|
* <p>
|
|
62
|
-
* <b>
|
|
63
|
-
*
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
*
|
|
69
|
-
*
|
|
70
|
-
*
|
|
70
|
+
* <b>If-None-Match</b> - Uploads the object only if the object key name does not already exist in the specified bucket. Otherwise, Amazon S3 returns a <code>412 Precondition Failed</code> error. If a conflicting operation occurs during the upload, S3 returns a <code>409 ConditionalRequestConflict</code> response. On a 409 failure, retry the upload.</p>
|
|
71
|
+
* <p>Expects the * character (asterisk).</p>
|
|
72
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/conditional-requests.html">Add preconditions to S3 operations with conditional requests</a> in the <i>Amazon S3 User Guide</i> or <a href="https://datatracker.ietf.org/doc/rfc7232/">RFC 7232</a>.
|
|
73
|
+
* </p>
|
|
74
|
+
* <note>
|
|
75
|
+
* <p>This functionality is not supported for S3 on Outposts.</p>
|
|
76
|
+
* </note>
|
|
77
|
+
* </li>
|
|
78
|
+
* <li>
|
|
79
|
+
* <p>
|
|
80
|
+
* <b>S3 Versioning</b> - When you enable versioning
|
|
81
|
+
* for a bucket, if Amazon S3 receives multiple write requests for the same object
|
|
82
|
+
* simultaneously, it stores all versions of the objects. For each write request that is
|
|
83
|
+
* made to the same object, Amazon S3 automatically generates a unique version ID of that
|
|
84
|
+
* object being stored in Amazon S3. You can retrieve, replace, or delete any version of the
|
|
85
|
+
* object. For more information about versioning, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/AddingObjectstoVersioningEnabledBuckets.html">Adding
|
|
86
|
+
* Objects to Versioning-Enabled Buckets</a> in the <i>Amazon S3 User
|
|
87
|
+
* Guide</i>. For information about returning the versioning state of a
|
|
88
|
+
* bucket, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketVersioning.html">GetBucketVersioning</a>. </p>
|
|
71
89
|
* <note>
|
|
72
90
|
* <p>This functionality is not supported for directory buckets.</p>
|
|
73
91
|
* </note>
|
|
@@ -79,28 +97,34 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
79
97
|
* <ul>
|
|
80
98
|
* <li>
|
|
81
99
|
* <p>
|
|
82
|
-
* <b>General purpose bucket permissions</b> - The
|
|
83
|
-
*
|
|
100
|
+
* <b>General purpose bucket permissions</b> - The
|
|
101
|
+
* following permissions are required in your policies when your
|
|
102
|
+
* <code>PutObject</code> request includes specific headers.</p>
|
|
84
103
|
* <ul>
|
|
85
104
|
* <li>
|
|
86
105
|
* <p>
|
|
87
106
|
* <b>
|
|
88
107
|
* <code>s3:PutObject</code>
|
|
89
|
-
* </b> -
|
|
90
|
-
*
|
|
108
|
+
* </b> -
|
|
109
|
+
* To successfully complete the <code>PutObject</code> request, you must
|
|
110
|
+
* always have the <code>s3:PutObject</code> permission on a bucket to
|
|
111
|
+
* add an object to it.</p>
|
|
91
112
|
* </li>
|
|
92
113
|
* <li>
|
|
93
114
|
* <p>
|
|
94
115
|
* <b>
|
|
95
116
|
* <code>s3:PutObjectAcl</code>
|
|
96
|
-
* </b> - To successfully change the objects ACL of your
|
|
117
|
+
* </b> - To successfully change the objects ACL of your
|
|
118
|
+
* <code>PutObject</code> request, you must have the
|
|
119
|
+
* <code>s3:PutObjectAcl</code>.</p>
|
|
97
120
|
* </li>
|
|
98
121
|
* <li>
|
|
99
122
|
* <p>
|
|
100
123
|
* <b>
|
|
101
124
|
* <code>s3:PutObjectTagging</code>
|
|
102
|
-
* </b> - To successfully set the tag-set with your
|
|
103
|
-
*
|
|
125
|
+
* </b> - To successfully set the tag-set with your
|
|
126
|
+
* <code>PutObject</code> request, you must have the
|
|
127
|
+
* <code>s3:PutObjectTagging</code>.</p>
|
|
104
128
|
* </li>
|
|
105
129
|
* </ul>
|
|
106
130
|
* </li>
|
|
@@ -112,6 +136,10 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
112
136
|
* 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">
|
|
113
137
|
* <code>CreateSession</code>
|
|
114
138
|
* </a>.</p>
|
|
139
|
+
* <p>If the object is encrypted with SSE-KMS, you must also have the
|
|
140
|
+
* <code>kms:GenerateDataKey</code> and <code>kms:Decrypt</code> permissions
|
|
141
|
+
* in IAM identity-based policies and KMS key policies for the KMS
|
|
142
|
+
* key.</p>
|
|
115
143
|
* </li>
|
|
116
144
|
* </ul>
|
|
117
145
|
* </dd>
|
|
@@ -120,15 +148,18 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
120
148
|
* <ul>
|
|
121
149
|
* <li>
|
|
122
150
|
* <p>
|
|
123
|
-
* <b>General purpose bucket</b> - To ensure that
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
*
|
|
151
|
+
* <b>General purpose bucket</b> - To ensure that
|
|
152
|
+
* data is not corrupted traversing the network, use the
|
|
153
|
+
* <code>Content-MD5</code> header. When you use this header, Amazon S3 checks
|
|
154
|
+
* the object against the provided MD5 value and, if they do not match, Amazon S3
|
|
155
|
+
* returns an error. Alternatively, when the object's ETag is its MD5 digest,
|
|
156
|
+
* you can calculate the MD5 while putting the object to Amazon S3 and compare the
|
|
157
|
+
* returned ETag to the calculated MD5 value.</p>
|
|
128
158
|
* </li>
|
|
129
159
|
* <li>
|
|
130
160
|
* <p>
|
|
131
|
-
* <b>Directory bucket</b> -
|
|
161
|
+
* <b>Directory bucket</b> -
|
|
162
|
+
* This functionality is not supported for directory buckets.</p>
|
|
132
163
|
* </li>
|
|
133
164
|
* </ul>
|
|
134
165
|
* </dd>
|
|
@@ -136,7 +167,7 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
136
167
|
* <dd>
|
|
137
168
|
* <p>
|
|
138
169
|
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
139
|
-
* <i>
|
|
170
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
140
171
|
* </dd>
|
|
141
172
|
* </dl>
|
|
142
173
|
* <p>For more information about related Amazon S3 APIs, see the following:</p>
|
|
@@ -160,7 +191,7 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
160
191
|
* const client = new S3Client(config);
|
|
161
192
|
* const input = { // PutObjectRequest
|
|
162
193
|
* ACL: "private" || "public-read" || "public-read-write" || "authenticated-read" || "aws-exec-read" || "bucket-owner-read" || "bucket-owner-full-control",
|
|
163
|
-
* Body: "
|
|
194
|
+
* Body: "MULTIPLE_TYPES_ACCEPTED", // see \@smithy/types -> StreamingBlobPayloadInputTypes
|
|
164
195
|
* Bucket: "STRING_VALUE", // required
|
|
165
196
|
* CacheControl: "STRING_VALUE",
|
|
166
197
|
* ContentDisposition: "STRING_VALUE",
|
|
@@ -169,17 +200,21 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
169
200
|
* ContentLength: Number("long"),
|
|
170
201
|
* ContentMD5: "STRING_VALUE",
|
|
171
202
|
* ContentType: "STRING_VALUE",
|
|
172
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
203
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
|
|
173
204
|
* ChecksumCRC32: "STRING_VALUE",
|
|
174
205
|
* ChecksumCRC32C: "STRING_VALUE",
|
|
206
|
+
* ChecksumCRC64NVME: "STRING_VALUE",
|
|
175
207
|
* ChecksumSHA1: "STRING_VALUE",
|
|
176
208
|
* ChecksumSHA256: "STRING_VALUE",
|
|
177
209
|
* Expires: new Date("TIMESTAMP"),
|
|
210
|
+
* IfMatch: "STRING_VALUE",
|
|
211
|
+
* IfNoneMatch: "STRING_VALUE",
|
|
178
212
|
* GrantFullControl: "STRING_VALUE",
|
|
179
213
|
* GrantRead: "STRING_VALUE",
|
|
180
214
|
* GrantReadACP: "STRING_VALUE",
|
|
181
215
|
* GrantWriteACP: "STRING_VALUE",
|
|
182
216
|
* Key: "STRING_VALUE", // required
|
|
217
|
+
* WriteOffsetBytes: Number("long"),
|
|
183
218
|
* Metadata: { // Metadata
|
|
184
219
|
* "<keys>": "STRING_VALUE",
|
|
185
220
|
* },
|
|
@@ -206,8 +241,10 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
206
241
|
* // ETag: "STRING_VALUE",
|
|
207
242
|
* // ChecksumCRC32: "STRING_VALUE",
|
|
208
243
|
* // ChecksumCRC32C: "STRING_VALUE",
|
|
244
|
+
* // ChecksumCRC64NVME: "STRING_VALUE",
|
|
209
245
|
* // ChecksumSHA1: "STRING_VALUE",
|
|
210
246
|
* // ChecksumSHA256: "STRING_VALUE",
|
|
247
|
+
* // ChecksumType: "COMPOSITE" || "FULL_OBJECT",
|
|
211
248
|
* // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
212
249
|
* // VersionId: "STRING_VALUE",
|
|
213
250
|
* // SSECustomerAlgorithm: "STRING_VALUE",
|
|
@@ -215,6 +252,7 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
215
252
|
* // SSEKMSKeyId: "STRING_VALUE",
|
|
216
253
|
* // SSEKMSEncryptionContext: "STRING_VALUE",
|
|
217
254
|
* // BucketKeyEnabled: true || false,
|
|
255
|
+
* // Size: Number("long"),
|
|
218
256
|
* // RequestCharged: "requester",
|
|
219
257
|
* // };
|
|
220
258
|
*
|
|
@@ -226,68 +264,101 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
226
264
|
* @see {@link PutObjectCommandOutput} for command's `response` shape.
|
|
227
265
|
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
228
266
|
*
|
|
267
|
+
* @throws {@link EncryptionTypeMismatch} (client fault)
|
|
268
|
+
* <p>
|
|
269
|
+
* The existing object was created with a different encryption type.
|
|
270
|
+
* Subsequent write requests must include the appropriate encryption
|
|
271
|
+
* parameters in the request or while creating the session.
|
|
272
|
+
* </p>
|
|
273
|
+
*
|
|
274
|
+
* @throws {@link InvalidRequest} (client fault)
|
|
275
|
+
* <p>You may receive this error in multiple cases. Depending on the reason for the error, you may receive one of the messages below:</p>
|
|
276
|
+
* <ul>
|
|
277
|
+
* <li>
|
|
278
|
+
* <p>Cannot specify both a write offset value and user-defined object metadata for existing objects.</p>
|
|
279
|
+
* </li>
|
|
280
|
+
* <li>
|
|
281
|
+
* <p>Checksum Type mismatch occurred, expected checksum Type: sha1, actual checksum Type: crc32c.</p>
|
|
282
|
+
* </li>
|
|
283
|
+
* <li>
|
|
284
|
+
* <p>Request body cannot be empty when 'write offset' is specified.</p>
|
|
285
|
+
* </li>
|
|
286
|
+
* </ul>
|
|
287
|
+
*
|
|
288
|
+
* @throws {@link InvalidWriteOffset} (client fault)
|
|
289
|
+
* <p>
|
|
290
|
+
* The write offset value that you specified does not match the current object size.
|
|
291
|
+
* </p>
|
|
292
|
+
*
|
|
293
|
+
* @throws {@link TooManyParts} (client fault)
|
|
294
|
+
* <p>
|
|
295
|
+
* You have attempted to add more parts than the maximum of 10000
|
|
296
|
+
* that are allowed for this object. You can use the CopyObject operation
|
|
297
|
+
* to copy this object to another and then add more data to the newly copied object.
|
|
298
|
+
* </p>
|
|
299
|
+
*
|
|
229
300
|
* @throws {@link S3ServiceException}
|
|
230
301
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
231
302
|
*
|
|
232
|
-
* @
|
|
303
|
+
* @public
|
|
304
|
+
* @example To upload an object
|
|
233
305
|
* ```javascript
|
|
234
|
-
* // The following example
|
|
306
|
+
* // The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.
|
|
235
307
|
* const input = {
|
|
236
|
-
* "Body": "
|
|
308
|
+
* "Body": "HappyFace.jpg",
|
|
237
309
|
* "Bucket": "examplebucket",
|
|
238
|
-
* "Key": "
|
|
310
|
+
* "Key": "HappyFace.jpg"
|
|
239
311
|
* };
|
|
240
312
|
* const command = new PutObjectCommand(input);
|
|
241
313
|
* const response = await client.send(command);
|
|
242
314
|
* /* response ==
|
|
243
315
|
* {
|
|
244
316
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
245
|
-
* "VersionId": "
|
|
317
|
+
* "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
|
|
246
318
|
* }
|
|
247
319
|
* *\/
|
|
248
|
-
* // example id: to-
|
|
320
|
+
* // example id: to-upload-an-object-1481760101010
|
|
249
321
|
* ```
|
|
250
322
|
*
|
|
251
|
-
* @example To upload an object
|
|
323
|
+
* @example To upload an object (specify optional headers)
|
|
252
324
|
* ```javascript
|
|
253
|
-
* // The following example uploads an object
|
|
325
|
+
* // The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.
|
|
254
326
|
* const input = {
|
|
255
327
|
* "Body": "HappyFace.jpg",
|
|
256
328
|
* "Bucket": "examplebucket",
|
|
257
|
-
* "Key": "HappyFace.jpg"
|
|
329
|
+
* "Key": "HappyFace.jpg",
|
|
330
|
+
* "ServerSideEncryption": "AES256",
|
|
331
|
+
* "StorageClass": "STANDARD_IA"
|
|
258
332
|
* };
|
|
259
333
|
* const command = new PutObjectCommand(input);
|
|
260
334
|
* const response = await client.send(command);
|
|
261
335
|
* /* response ==
|
|
262
336
|
* {
|
|
263
337
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
264
|
-
* "
|
|
338
|
+
* "ServerSideEncryption": "AES256",
|
|
339
|
+
* "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
|
|
265
340
|
* }
|
|
266
341
|
* *\/
|
|
267
|
-
* // example id: to-upload-an-object-
|
|
342
|
+
* // example id: to-upload-an-object-(specify-optional-headers)
|
|
268
343
|
* ```
|
|
269
344
|
*
|
|
270
|
-
* @example To
|
|
345
|
+
* @example To create an object.
|
|
271
346
|
* ```javascript
|
|
272
|
-
* // The following example creates an object.
|
|
347
|
+
* // The following example creates an object. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
273
348
|
* const input = {
|
|
274
349
|
* "Body": "filetoupload",
|
|
275
350
|
* "Bucket": "examplebucket",
|
|
276
|
-
* "Key": "
|
|
277
|
-
* "Metadata": {
|
|
278
|
-
* "metadata1": "value1",
|
|
279
|
-
* "metadata2": "value2"
|
|
280
|
-
* }
|
|
351
|
+
* "Key": "objectkey"
|
|
281
352
|
* };
|
|
282
353
|
* const command = new PutObjectCommand(input);
|
|
283
354
|
* const response = await client.send(command);
|
|
284
355
|
* /* response ==
|
|
285
356
|
* {
|
|
286
357
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
287
|
-
* "VersionId": "
|
|
358
|
+
* "VersionId": "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ"
|
|
288
359
|
* }
|
|
289
360
|
* *\/
|
|
290
|
-
* // example id: to-
|
|
361
|
+
* // example id: to-create-an-object-1483147613675
|
|
291
362
|
* ```
|
|
292
363
|
*
|
|
293
364
|
* @example To upload an object and specify optional tags
|
|
@@ -310,15 +381,15 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
310
381
|
* // example id: to-upload-an-object-and-specify-optional-tags-1481762310955
|
|
311
382
|
* ```
|
|
312
383
|
*
|
|
313
|
-
* @example To upload an object
|
|
384
|
+
* @example To upload an object and specify server-side encryption and object tags
|
|
314
385
|
* ```javascript
|
|
315
|
-
* // The following example uploads an object. The request specifies optional request
|
|
386
|
+
* // The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
316
387
|
* const input = {
|
|
317
|
-
* "Body": "
|
|
388
|
+
* "Body": "filetoupload",
|
|
318
389
|
* "Bucket": "examplebucket",
|
|
319
|
-
* "Key": "
|
|
390
|
+
* "Key": "exampleobject",
|
|
320
391
|
* "ServerSideEncryption": "AES256",
|
|
321
|
-
* "
|
|
392
|
+
* "Tagging": "key1=value1&key2=value2"
|
|
322
393
|
* };
|
|
323
394
|
* const command = new PutObjectCommand(input);
|
|
324
395
|
* const response = await client.send(command);
|
|
@@ -326,32 +397,33 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
326
397
|
* {
|
|
327
398
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
328
399
|
* "ServerSideEncryption": "AES256",
|
|
329
|
-
* "VersionId": "
|
|
400
|
+
* "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
|
|
330
401
|
* }
|
|
331
402
|
* *\/
|
|
332
|
-
* // example id: to-upload-an-object-
|
|
403
|
+
* // example id: to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831
|
|
333
404
|
* ```
|
|
334
405
|
*
|
|
335
|
-
* @example To upload
|
|
406
|
+
* @example To upload object and specify user-defined metadata
|
|
336
407
|
* ```javascript
|
|
337
|
-
* // The following example
|
|
408
|
+
* // The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.
|
|
338
409
|
* const input = {
|
|
339
410
|
* "Body": "filetoupload",
|
|
340
411
|
* "Bucket": "examplebucket",
|
|
341
412
|
* "Key": "exampleobject",
|
|
342
|
-
* "
|
|
343
|
-
*
|
|
413
|
+
* "Metadata": {
|
|
414
|
+
* "metadata1": "value1",
|
|
415
|
+
* "metadata2": "value2"
|
|
416
|
+
* }
|
|
344
417
|
* };
|
|
345
418
|
* const command = new PutObjectCommand(input);
|
|
346
419
|
* const response = await client.send(command);
|
|
347
420
|
* /* response ==
|
|
348
421
|
* {
|
|
349
422
|
* "ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
|
|
350
|
-
* "
|
|
351
|
-
* "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
|
|
423
|
+
* "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
|
|
352
424
|
* }
|
|
353
425
|
* *\/
|
|
354
|
-
* // example id: to-upload-
|
|
426
|
+
* // example id: to-upload-object-and-specify-user-defined-metadata-1483396974757
|
|
355
427
|
* ```
|
|
356
428
|
*
|
|
357
429
|
* @example To upload an object and specify canned ACL.
|
|
@@ -375,23 +447,16 @@ export interface PutObjectCommandOutput extends PutObjectOutput, __MetadataBeare
|
|
|
375
447
|
* ```
|
|
376
448
|
*
|
|
377
449
|
*/
|
|
378
|
-
export declare class PutObjectCommand extends
|
|
379
|
-
|
|
380
|
-
static
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
* @internal
|
|
391
|
-
*/
|
|
392
|
-
private serialize;
|
|
393
|
-
/**
|
|
394
|
-
* @internal
|
|
395
|
-
*/
|
|
396
|
-
private deserialize;
|
|
450
|
+
export declare class PutObjectCommand extends PutObjectCommand_base {
|
|
451
|
+
/** @internal type navigation helper, not in runtime. */
|
|
452
|
+
protected static __types: {
|
|
453
|
+
api: {
|
|
454
|
+
input: PutObjectRequest;
|
|
455
|
+
output: PutObjectOutput;
|
|
456
|
+
};
|
|
457
|
+
sdk: {
|
|
458
|
+
input: PutObjectCommandInput;
|
|
459
|
+
output: PutObjectCommandOutput;
|
|
460
|
+
};
|
|
461
|
+
};
|
|
397
462
|
}
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
-
import {
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
4
3
|
import { PutObjectLegalHoldOutput, PutObjectLegalHoldRequest } from "../models/models_1";
|
|
5
4
|
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
8
7
|
*/
|
|
9
|
-
export { __MetadataBearer
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*
|
|
@@ -21,10 +21,14 @@ export interface PutObjectLegalHoldCommandInput extends PutObjectLegalHoldReques
|
|
|
21
21
|
*/
|
|
22
22
|
export interface PutObjectLegalHoldCommandOutput extends PutObjectLegalHoldOutput, __MetadataBearer {
|
|
23
23
|
}
|
|
24
|
+
declare const PutObjectLegalHoldCommand_base: {
|
|
25
|
+
new (input: PutObjectLegalHoldCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectLegalHoldCommandInput, PutObjectLegalHoldCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: PutObjectLegalHoldCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectLegalHoldCommandInput, PutObjectLegalHoldCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
24
29
|
/**
|
|
25
|
-
* @public
|
|
26
30
|
* <note>
|
|
27
|
-
* <p>This operation is not supported
|
|
31
|
+
* <p>This operation is not supported for directory buckets.</p>
|
|
28
32
|
* </note>
|
|
29
33
|
* <p>Applies a legal hold configuration to the specified object. For more information, see
|
|
30
34
|
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Locking
|
|
@@ -45,7 +49,7 @@ export interface PutObjectLegalHoldCommandOutput extends PutObjectLegalHoldOutpu
|
|
|
45
49
|
* RequestPayer: "requester",
|
|
46
50
|
* VersionId: "STRING_VALUE",
|
|
47
51
|
* ContentMD5: "STRING_VALUE",
|
|
48
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
52
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
|
|
49
53
|
* ExpectedBucketOwner: "STRING_VALUE",
|
|
50
54
|
* };
|
|
51
55
|
* const command = new PutObjectLegalHoldCommand(input);
|
|
@@ -65,24 +69,18 @@ export interface PutObjectLegalHoldCommandOutput extends PutObjectLegalHoldOutpu
|
|
|
65
69
|
* @throws {@link S3ServiceException}
|
|
66
70
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
67
71
|
*
|
|
72
|
+
* @public
|
|
68
73
|
*/
|
|
69
|
-
export declare class PutObjectLegalHoldCommand extends
|
|
70
|
-
|
|
71
|
-
static
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
* @internal
|
|
82
|
-
*/
|
|
83
|
-
private serialize;
|
|
84
|
-
/**
|
|
85
|
-
* @internal
|
|
86
|
-
*/
|
|
87
|
-
private deserialize;
|
|
74
|
+
export declare class PutObjectLegalHoldCommand extends PutObjectLegalHoldCommand_base {
|
|
75
|
+
/** @internal type navigation helper, not in runtime. */
|
|
76
|
+
protected static __types: {
|
|
77
|
+
api: {
|
|
78
|
+
input: PutObjectLegalHoldRequest;
|
|
79
|
+
output: PutObjectLegalHoldOutput;
|
|
80
|
+
};
|
|
81
|
+
sdk: {
|
|
82
|
+
input: PutObjectLegalHoldCommandInput;
|
|
83
|
+
output: PutObjectLegalHoldCommandOutput;
|
|
84
|
+
};
|
|
85
|
+
};
|
|
88
86
|
}
|