@tachybase/module-file 1.3.17 → 1.3.19
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 +8 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
- 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 +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js +14 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3.js +2 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/S3Client.js +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/auth/httpAuthSchemeProvider.js +5 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/GetObjectCommand.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/PutBucketOwnershipControlsCommand.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/RenameObjectCommand.js +28 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/commands/index.js +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/endpoint/EndpointParameters.js +2 -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/models/models_0.js +31 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/models/models_1.js +22 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/protocols/Aws_restXml.js +210 -66
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.js +15 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeConfig.shared.js +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-es/runtimeExtensions.js +2 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3.d.ts +7 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/S3Client.d.ts +5 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/auth/httpAuthSchemeProvider.d.ts +15 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/AbortMultipartUploadCommand.d.ts +13 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CompleteMultipartUploadCommand.d.ts +27 -21
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CopyObjectCommand.d.ts +41 -21
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketCommand.d.ts +37 -16
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateMultipartUploadCommand.d.ts +28 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/CreateSessionCommand.d.ts +6 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCommand.d.ts +10 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketCorsCommand.d.ts +8 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +10 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketPolicyCommand.d.ts +10 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketReplicationCommand.d.ts +8 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketTaggingCommand.d.ts +8 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +8 -5
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectCommand.d.ts +22 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectTaggingCommand.d.ts +12 -13
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeleteObjectsCommand.d.ts +44 -46
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAclCommand.d.ts +10 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketCorsCommand.d.ts +10 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketEncryptionCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +14 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLocationCommand.d.ts +7 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketLoggingCommand.d.ts +10 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +14 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyCommand.d.ts +8 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketReplicationCommand.d.ts +14 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +6 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketTaggingCommand.d.ts +10 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketVersioningCommand.d.ts +7 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetBucketWebsiteCommand.d.ts +9 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAclCommand.d.ts +30 -30
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectAttributesCommand.d.ts +31 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectCommand.d.ts +49 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLegalHoldCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectRetentionCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTaggingCommand.d.ts +26 -27
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetObjectTorrentCommand.d.ts +19 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/GetPublicAccessBlockCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadBucketCommand.d.ts +11 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/HeadObjectCommand.d.ts +22 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListBucketsCommand.d.ts +23 -15
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListDirectoryBucketsCommand.d.ts +4 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListMultipartUploadsCommand.d.ts +77 -70
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectVersionsCommand.d.ts +37 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsCommand.d.ts +35 -27
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListObjectsV2Command.d.ts +29 -28
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/ListPartsCommand.d.ts +38 -29
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAclCommand.d.ts +24 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketCorsCommand.d.ts +21 -18
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketEncryptionCommand.d.ts +7 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +22 -19
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketLoggingCommand.d.ts +31 -17
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +12 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +3 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketPolicyCommand.d.ts +12 -9
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketReplicationCommand.d.ts +18 -15
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +11 -8
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketTaggingCommand.d.ts +15 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketVersioningCommand.d.ts +13 -10
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutBucketWebsiteCommand.d.ts +15 -12
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectAclCommand.d.ts +17 -11
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectCommand.d.ts +96 -81
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLegalHoldCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts +14 -14
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts +3 -2
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RenameObjectCommand.d.ts +144 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/RestoreObjectCommand.d.ts +21 -20
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts +2 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCommand.d.ts +17 -15
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/UploadPartCopyCommand.d.ts +27 -27
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/WriteGetObjectResponseCommand.d.ts +5 -3
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/endpoint/EndpointParameters.d.ts +28 -30
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_0.d.ts +576 -300
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/models/models_1.d.ts +351 -121
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/protocols/Aws_restXml.d.ts +9 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.browser.d.ts +32 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.d.ts +26 -25
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.native.d.ts +34 -33
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/runtimeConfig.shared.d.ts +5 -6
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3.d.ts +17 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/S3Client.d.ts +7 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +3 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/ListPartsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +47 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +1 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +37 -31
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_0.d.ts +49 -7
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/models/models_1.d.ts +36 -1
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/protocols/Aws_restXml.d.ts +12 -0
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.browser.d.ts +50 -47
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.d.ts +40 -40
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.native.d.ts +70 -51
- package/dist/node_modules/@aws-sdk/client-s3/dist-types/ts3.4/runtimeConfig.shared.d.ts +9 -6
- package/dist/node_modules/@aws-sdk/client-s3/node_modules/.bin/uuid +21 -0
- 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/index.js +14 -14
- package/dist/node_modules/multer-aliyun-oss/package.json +1 -1
- package/dist/node_modules/multer-cos/index.js +16 -16
- package/dist/node_modules/multer-cos/package.json +1 -1
- package/dist/node_modules/multer-s3/index.js +3 -3
- package/dist/node_modules/multer-s3/package.json +1 -1
- package/package.json +12 -12
|
@@ -23,7 +23,7 @@ export interface PutObjectLockConfigurationCommandOutput extends PutObjectLockCo
|
|
|
23
23
|
}
|
|
24
24
|
declare const PutObjectLockConfigurationCommand_base: {
|
|
25
25
|
new (input: PutObjectLockConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: PutObjectLockConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectLockConfigurationCommandInput, PutObjectLockConfigurationCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -72,7 +72,7 @@ declare const PutObjectLockConfigurationCommand_base: {
|
|
|
72
72
|
* RequestPayer: "requester",
|
|
73
73
|
* Token: "STRING_VALUE",
|
|
74
74
|
* ContentMD5: "STRING_VALUE",
|
|
75
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
75
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
|
|
76
76
|
* ExpectedBucketOwner: "STRING_VALUE",
|
|
77
77
|
* };
|
|
78
78
|
* const command = new PutObjectLockConfigurationCommand(input);
|
|
@@ -92,6 +92,7 @@ declare const PutObjectLockConfigurationCommand_base: {
|
|
|
92
92
|
* @throws {@link S3ServiceException}
|
|
93
93
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
94
94
|
*
|
|
95
|
+
*
|
|
95
96
|
* @public
|
|
96
97
|
*/
|
|
97
98
|
export declare class PutObjectLockConfigurationCommand extends PutObjectLockConfigurationCommand_base {
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectRetentionCommand.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface PutObjectRetentionCommandOutput extends PutObjectRetentionOutpu
|
|
|
23
23
|
}
|
|
24
24
|
declare const PutObjectRetentionCommand_base: {
|
|
25
25
|
new (input: PutObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: PutObjectRetentionCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectRetentionCommandInput, PutObjectRetentionCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -52,7 +52,7 @@ declare const PutObjectRetentionCommand_base: {
|
|
|
52
52
|
* VersionId: "STRING_VALUE",
|
|
53
53
|
* BypassGovernanceRetention: true || false,
|
|
54
54
|
* ContentMD5: "STRING_VALUE",
|
|
55
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
55
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
|
|
56
56
|
* ExpectedBucketOwner: "STRING_VALUE",
|
|
57
57
|
* };
|
|
58
58
|
* const command = new PutObjectRetentionCommand(input);
|
|
@@ -72,6 +72,7 @@ declare const PutObjectRetentionCommand_base: {
|
|
|
72
72
|
* @throws {@link S3ServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
74
74
|
*
|
|
75
|
+
*
|
|
75
76
|
* @public
|
|
76
77
|
*/
|
|
77
78
|
export declare class PutObjectRetentionCommand extends PutObjectRetentionCommand_base {
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutObjectTaggingCommand.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface PutObjectTaggingCommandOutput extends PutObjectTaggingOutput, _
|
|
|
23
23
|
}
|
|
24
24
|
declare const PutObjectTaggingCommand_base: {
|
|
25
25
|
new (input: PutObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectTaggingCommandInput, PutObjectTaggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: PutObjectTaggingCommandInput): import("@smithy/smithy-client").CommandImpl<PutObjectTaggingCommandInput, PutObjectTaggingCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -94,7 +94,7 @@ declare const PutObjectTaggingCommand_base: {
|
|
|
94
94
|
* Key: "STRING_VALUE", // required
|
|
95
95
|
* VersionId: "STRING_VALUE",
|
|
96
96
|
* ContentMD5: "STRING_VALUE",
|
|
97
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
97
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
|
|
98
98
|
* Tagging: { // Tagging
|
|
99
99
|
* TagSet: [ // TagSet // required
|
|
100
100
|
* { // Tag
|
|
@@ -123,36 +123,36 @@ declare const PutObjectTaggingCommand_base: {
|
|
|
123
123
|
* @throws {@link S3ServiceException}
|
|
124
124
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
125
125
|
*
|
|
126
|
-
*
|
|
126
|
+
*
|
|
127
127
|
* @example To add tags to an existing object
|
|
128
128
|
* ```javascript
|
|
129
129
|
* // The following example adds tags to an existing object.
|
|
130
130
|
* const input = {
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
131
|
+
* Bucket: "examplebucket",
|
|
132
|
+
* Key: "HappyFace.jpg",
|
|
133
|
+
* Tagging: {
|
|
134
|
+
* TagSet: [
|
|
135
135
|
* {
|
|
136
|
-
*
|
|
137
|
-
*
|
|
136
|
+
* Key: "Key3",
|
|
137
|
+
* Value: "Value3"
|
|
138
138
|
* },
|
|
139
139
|
* {
|
|
140
|
-
*
|
|
141
|
-
*
|
|
140
|
+
* Key: "Key4",
|
|
141
|
+
* Value: "Value4"
|
|
142
142
|
* }
|
|
143
143
|
* ]
|
|
144
144
|
* }
|
|
145
145
|
* };
|
|
146
146
|
* const command = new PutObjectTaggingCommand(input);
|
|
147
147
|
* const response = await client.send(command);
|
|
148
|
-
* /* response
|
|
148
|
+
* /* response is
|
|
149
149
|
* {
|
|
150
|
-
*
|
|
150
|
+
* VersionId: "null"
|
|
151
151
|
* }
|
|
152
152
|
* *\/
|
|
153
|
-
* // example id: to-add-tags-to-an-existing-object-1481764668793
|
|
154
153
|
* ```
|
|
155
154
|
*
|
|
155
|
+
* @public
|
|
156
156
|
*/
|
|
157
157
|
export declare class PutObjectTaggingCommand extends PutObjectTaggingCommand_base {
|
|
158
158
|
/** @internal type navigation helper, not in runtime. */
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/PutPublicAccessBlockCommand.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface PutPublicAccessBlockCommandOutput extends __MetadataBearer {
|
|
|
23
23
|
}
|
|
24
24
|
declare const PutPublicAccessBlockCommand_base: {
|
|
25
25
|
new (input: PutPublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl<PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: PutPublicAccessBlockCommandInput): import("@smithy/smithy-client").CommandImpl<PutPublicAccessBlockCommandInput, PutPublicAccessBlockCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -76,7 +76,7 @@ declare const PutPublicAccessBlockCommand_base: {
|
|
|
76
76
|
* const input = { // PutPublicAccessBlockRequest
|
|
77
77
|
* Bucket: "STRING_VALUE", // required
|
|
78
78
|
* ContentMD5: "STRING_VALUE",
|
|
79
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
79
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
|
|
80
80
|
* PublicAccessBlockConfiguration: { // PublicAccessBlockConfiguration
|
|
81
81
|
* BlockPublicAcls: true || false,
|
|
82
82
|
* IgnorePublicAcls: true || false,
|
|
@@ -100,6 +100,7 @@ declare const PutPublicAccessBlockCommand_base: {
|
|
|
100
100
|
* @throws {@link S3ServiceException}
|
|
101
101
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
102
102
|
*
|
|
103
|
+
*
|
|
103
104
|
* @public
|
|
104
105
|
*/
|
|
105
106
|
export declare class PutPublicAccessBlockCommand extends PutPublicAccessBlockCommand_base {
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { RenameObjectOutput, RenameObjectRequest } from "../models/models_1";
|
|
4
|
+
import { S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../S3Client";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RenameObjectCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RenameObjectCommandInput extends RenameObjectRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RenameObjectCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RenameObjectCommandOutput extends RenameObjectOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RenameObjectCommand_base: {
|
|
25
|
+
new (input: RenameObjectCommandInput): import("@smithy/smithy-client").CommandImpl<RenameObjectCommandInput, RenameObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RenameObjectCommandInput): import("@smithy/smithy-client").CommandImpl<RenameObjectCommandInput, RenameObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Renames an existing object in a directory bucket that uses the S3 Express One Zone
|
|
31
|
+
* storage class. You can use <code>RenameObject</code> by specifying an existing object’s
|
|
32
|
+
* name as the source and the new name of the object as the destination within the same
|
|
33
|
+
* directory bucket.</p>
|
|
34
|
+
* <note>
|
|
35
|
+
* <p>
|
|
36
|
+
* <code>RenameObject</code> is only supported for objects stored in the S3 Express One Zone
|
|
37
|
+
* storage class.</p>
|
|
38
|
+
* </note>
|
|
39
|
+
* <p> To prevent overwriting an object, you can use the <code>If-None-Match</code> conditional header.</p>
|
|
40
|
+
* <ul>
|
|
41
|
+
* <li>
|
|
42
|
+
* <p>
|
|
43
|
+
* <b>If-None-Match</b> - Renames the object only if
|
|
44
|
+
* an object with the specified name does not already exist in the directory bucket. If
|
|
45
|
+
* you don't want to overwrite an existing object, you can add the
|
|
46
|
+
* <code>If-None-Match</code> conditional header with the value <code>‘*’</code> in
|
|
47
|
+
* the <code>RenameObject</code> request. Amazon S3 then returns a <code>412 Precondition
|
|
48
|
+
* Failed</code> error if the object with the specified name already exists.
|
|
49
|
+
* For more information, see <a href="https://datatracker.ietf.org/doc/rfc7232/">RFC 7232</a>.</p>
|
|
50
|
+
* </li>
|
|
51
|
+
* </ul>
|
|
52
|
+
* <dl>
|
|
53
|
+
* <dt>Permissions</dt>
|
|
54
|
+
* <dd>
|
|
55
|
+
* <p> To grant access to the <code>RenameObject</code> operation on a directory
|
|
56
|
+
* bucket, we recommend that you use the <code>CreateSession</code> operation for
|
|
57
|
+
* session-based authorization. Specifically, you grant the
|
|
58
|
+
* <code>s3express:CreateSession</code> permission to the directory bucket in a
|
|
59
|
+
* bucket policy or an IAM identity-based policy. Then, you make the
|
|
60
|
+
* <code>CreateSession</code> API call on the directory bucket to obtain a session
|
|
61
|
+
* token. With the session token in your request header, you can make API requests to
|
|
62
|
+
* this operation. After the session token expires, you make another
|
|
63
|
+
* <code>CreateSession</code> API call to generate a new session token for use.
|
|
64
|
+
* The Amazon Web Services CLI and SDKs will create and manage your session including refreshing
|
|
65
|
+
* the session token automatically to avoid service interruptions when a session
|
|
66
|
+
* expires. In your bucket policy, you can specify the
|
|
67
|
+
* <code>s3express:SessionMode</code> condition key to control who can create a
|
|
68
|
+
* <code>ReadWrite</code> or <code>ReadOnly</code> session. A
|
|
69
|
+
* <code>ReadWrite</code> session is required for executing all the Zonal endpoint
|
|
70
|
+
* API operations, including <code>RenameObject</code>. For more information about
|
|
71
|
+
* authorization, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html">
|
|
72
|
+
* <code>CreateSession</code>
|
|
73
|
+
* </a>. To learn more about Zonal endpoint API
|
|
74
|
+
* operations, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-create-session.html">Authorizing
|
|
75
|
+
* Zonal endpoint API operations with CreateSession</a> in the <i>Amazon S3
|
|
76
|
+
* User Guide</i>. </p>
|
|
77
|
+
* </dd>
|
|
78
|
+
* <dt>HTTP Host header syntax</dt>
|
|
79
|
+
* <dd>
|
|
80
|
+
* <p>
|
|
81
|
+
* <b>Directory buckets </b> - The HTTP Host header syntax is <code>
|
|
82
|
+
* <i>Bucket-name</i>.s3express-<i>zone-id</i>.<i>region-code</i>.amazonaws.com</code>.</p>
|
|
83
|
+
* </dd>
|
|
84
|
+
* </dl>
|
|
85
|
+
* @example
|
|
86
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
87
|
+
* ```javascript
|
|
88
|
+
* import { S3Client, RenameObjectCommand } from "@aws-sdk/client-s3"; // ES Modules import
|
|
89
|
+
* // const { S3Client, RenameObjectCommand } = require("@aws-sdk/client-s3"); // CommonJS import
|
|
90
|
+
* const client = new S3Client(config);
|
|
91
|
+
* const input = { // RenameObjectRequest
|
|
92
|
+
* Bucket: "STRING_VALUE", // required
|
|
93
|
+
* Key: "STRING_VALUE", // required
|
|
94
|
+
* RenameSource: "STRING_VALUE", // required
|
|
95
|
+
* DestinationIfMatch: "STRING_VALUE",
|
|
96
|
+
* DestinationIfNoneMatch: "STRING_VALUE",
|
|
97
|
+
* DestinationIfModifiedSince: new Date("TIMESTAMP"),
|
|
98
|
+
* DestinationIfUnmodifiedSince: new Date("TIMESTAMP"),
|
|
99
|
+
* SourceIfMatch: "STRING_VALUE",
|
|
100
|
+
* SourceIfNoneMatch: "STRING_VALUE",
|
|
101
|
+
* SourceIfModifiedSince: new Date("TIMESTAMP"),
|
|
102
|
+
* SourceIfUnmodifiedSince: new Date("TIMESTAMP"),
|
|
103
|
+
* ClientToken: "STRING_VALUE",
|
|
104
|
+
* };
|
|
105
|
+
* const command = new RenameObjectCommand(input);
|
|
106
|
+
* const response = await client.send(command);
|
|
107
|
+
* // {};
|
|
108
|
+
*
|
|
109
|
+
* ```
|
|
110
|
+
*
|
|
111
|
+
* @param RenameObjectCommandInput - {@link RenameObjectCommandInput}
|
|
112
|
+
* @returns {@link RenameObjectCommandOutput}
|
|
113
|
+
* @see {@link RenameObjectCommandInput} for command's `input` shape.
|
|
114
|
+
* @see {@link RenameObjectCommandOutput} for command's `response` shape.
|
|
115
|
+
* @see {@link S3ClientResolvedConfig | config} for S3Client's `config` shape.
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link IdempotencyParameterMismatch} (client fault)
|
|
118
|
+
* <p>Parameters on this idempotent request are inconsistent with parameters used in previous request(s).
|
|
119
|
+
* </p>
|
|
120
|
+
* <p>For a list of error codes and more information on Amazon S3 errors, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">Error
|
|
121
|
+
* codes</a>.</p>
|
|
122
|
+
* <note>
|
|
123
|
+
* <p>Idempotency ensures that an API request completes no more than one time. With an idempotent request, if the original request completes successfully, any subsequent retries complete successfully without performing any further actions.</p>
|
|
124
|
+
* </note>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link S3ServiceException}
|
|
127
|
+
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
128
|
+
*
|
|
129
|
+
*
|
|
130
|
+
* @public
|
|
131
|
+
*/
|
|
132
|
+
export declare class RenameObjectCommand extends RenameObjectCommand_base {
|
|
133
|
+
/** @internal type navigation helper, not in runtime. */
|
|
134
|
+
protected static __types: {
|
|
135
|
+
api: {
|
|
136
|
+
input: RenameObjectRequest;
|
|
137
|
+
output: {};
|
|
138
|
+
};
|
|
139
|
+
sdk: {
|
|
140
|
+
input: RenameObjectCommandInput;
|
|
141
|
+
output: RenameObjectCommandOutput;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
144
|
+
}
|
|
@@ -23,7 +23,7 @@ export interface RestoreObjectCommandOutput extends RestoreObjectOutput, __Metad
|
|
|
23
23
|
}
|
|
24
24
|
declare const RestoreObjectCommand_base: {
|
|
25
25
|
new (input: RestoreObjectCommandInput): import("@smithy/smithy-client").CommandImpl<RestoreObjectCommandInput, RestoreObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: RestoreObjectCommandInput): import("@smithy/smithy-client").CommandImpl<RestoreObjectCommandInput, RestoreObjectCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -71,10 +71,9 @@ declare const RestoreObjectCommand_base: {
|
|
|
71
71
|
* </dd>
|
|
72
72
|
* <dt>Restoring objects</dt>
|
|
73
73
|
* <dd>
|
|
74
|
-
* <p>Objects that you archive to the S3 Glacier Flexible Retrieval
|
|
75
|
-
* or S3 Glacier Deep Archive storage class, and S3 Intelligent-Tiering Archive or
|
|
74
|
+
* <p>Objects that you archive to the S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive storage class, and S3 Intelligent-Tiering Archive or
|
|
76
75
|
* S3 Intelligent-Tiering Deep Archive tiers, are not accessible in real time. For objects in the
|
|
77
|
-
* S3 Glacier Flexible Retrieval
|
|
76
|
+
* S3 Glacier Flexible Retrieval or S3 Glacier Deep Archive
|
|
78
77
|
* storage classes, you must first initiate a restore request, and then wait until a
|
|
79
78
|
* temporary copy of the object is available. If you want a permanent copy of the
|
|
80
79
|
* object, create a copy of it in the Amazon S3 Standard storage class in your S3 bucket.
|
|
@@ -90,8 +89,7 @@ declare const RestoreObjectCommand_base: {
|
|
|
90
89
|
* <li>
|
|
91
90
|
* <p>
|
|
92
91
|
* <code>Expedited</code> - Expedited retrievals allow you to quickly access
|
|
93
|
-
* your data stored in the S3 Glacier Flexible Retrieval
|
|
94
|
-
* storage class or S3 Intelligent-Tiering Archive tier when occasional urgent requests
|
|
92
|
+
* your data stored in the S3 Glacier Flexible Retrieval storage class or S3 Intelligent-Tiering Archive tier when occasional urgent requests
|
|
95
93
|
* for restoring archives are required. For all but the largest archived
|
|
96
94
|
* objects (250 MB+), data accessed using Expedited retrievals is typically
|
|
97
95
|
* made available within 1–5 minutes. Provisioned capacity ensures that
|
|
@@ -106,7 +104,7 @@ declare const RestoreObjectCommand_base: {
|
|
|
106
104
|
* your archived objects within several hours. This is the default option for
|
|
107
105
|
* retrieval requests that do not specify the retrieval option. Standard
|
|
108
106
|
* retrievals typically finish within 3–5 hours for objects stored in the
|
|
109
|
-
* S3 Glacier Flexible Retrieval
|
|
107
|
+
* S3 Glacier Flexible Retrieval storage class or
|
|
110
108
|
* S3 Intelligent-Tiering Archive tier. They typically finish within 12 hours for
|
|
111
109
|
* objects stored in the S3 Glacier Deep Archive storage class or
|
|
112
110
|
* S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored
|
|
@@ -118,7 +116,7 @@ declare const RestoreObjectCommand_base: {
|
|
|
118
116
|
* S3 Glacier Flexible Retrieval and S3 Intelligent-Tiering storage classes,
|
|
119
117
|
* enabling you to retrieve large amounts, even petabytes, of data at no cost.
|
|
120
118
|
* Bulk retrievals typically finish within 5–12 hours for objects stored in the
|
|
121
|
-
* S3 Glacier Flexible Retrieval
|
|
119
|
+
* S3 Glacier Flexible Retrieval storage class or
|
|
122
120
|
* S3 Intelligent-Tiering Archive tier. Bulk retrievals are also the lowest-cost
|
|
123
121
|
* retrieval option when restoring objects from
|
|
124
122
|
* S3 Glacier Deep Archive. They typically finish within 48 hours for
|
|
@@ -288,7 +286,7 @@ declare const RestoreObjectCommand_base: {
|
|
|
288
286
|
* BucketName: "STRING_VALUE", // required
|
|
289
287
|
* Prefix: "STRING_VALUE", // required
|
|
290
288
|
* Encryption: { // Encryption
|
|
291
|
-
* EncryptionType: "AES256" || "aws:kms" || "aws:kms:dsse", // required
|
|
289
|
+
* EncryptionType: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse", // required
|
|
292
290
|
* KMSKeyId: "STRING_VALUE",
|
|
293
291
|
* KMSContext: "STRING_VALUE",
|
|
294
292
|
* },
|
|
@@ -319,12 +317,12 @@ declare const RestoreObjectCommand_base: {
|
|
|
319
317
|
* Value: "STRING_VALUE",
|
|
320
318
|
* },
|
|
321
319
|
* ],
|
|
322
|
-
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE",
|
|
320
|
+
* StorageClass: "STANDARD" || "REDUCED_REDUNDANCY" || "STANDARD_IA" || "ONEZONE_IA" || "INTELLIGENT_TIERING" || "GLACIER" || "DEEP_ARCHIVE" || "OUTPOSTS" || "GLACIER_IR" || "SNOW" || "EXPRESS_ONEZONE" || "FSX_OPENZFS",
|
|
323
321
|
* },
|
|
324
322
|
* },
|
|
325
323
|
* },
|
|
326
324
|
* RequestPayer: "requester",
|
|
327
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
325
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
|
|
328
326
|
* ExpectedBucketOwner: "STRING_VALUE",
|
|
329
327
|
* };
|
|
330
328
|
* const command = new RestoreObjectCommand(input);
|
|
@@ -348,25 +346,28 @@ declare const RestoreObjectCommand_base: {
|
|
|
348
346
|
* @throws {@link S3ServiceException}
|
|
349
347
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
350
348
|
*
|
|
351
|
-
*
|
|
349
|
+
*
|
|
352
350
|
* @example To restore an archived object
|
|
353
351
|
* ```javascript
|
|
354
352
|
* // The following example restores for one day an archived copy of an object back into Amazon S3 bucket.
|
|
355
353
|
* const input = {
|
|
356
|
-
*
|
|
357
|
-
*
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
*
|
|
361
|
-
*
|
|
354
|
+
* Bucket: "examplebucket",
|
|
355
|
+
* Key: "archivedobjectkey",
|
|
356
|
+
* RestoreRequest: {
|
|
357
|
+
* Days: 1,
|
|
358
|
+
* GlacierJobParameters: {
|
|
359
|
+
* Tier: "Expedited"
|
|
362
360
|
* }
|
|
363
361
|
* }
|
|
364
362
|
* };
|
|
365
363
|
* const command = new RestoreObjectCommand(input);
|
|
366
|
-
* await client.send(command);
|
|
367
|
-
*
|
|
364
|
+
* const response = await client.send(command);
|
|
365
|
+
* /* response is
|
|
366
|
+
* { /* empty *\/ }
|
|
367
|
+
* *\/
|
|
368
368
|
* ```
|
|
369
369
|
*
|
|
370
|
+
* @public
|
|
370
371
|
*/
|
|
371
372
|
export declare class RestoreObjectCommand extends RestoreObjectCommand_base {
|
|
372
373
|
/** @internal type navigation helper, not in runtime. */
|
package/dist/node_modules/@aws-sdk/client-s3/dist-types/commands/SelectObjectContentCommand.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface SelectObjectContentCommandOutput extends SelectObjectContentOut
|
|
|
23
23
|
}
|
|
24
24
|
declare const SelectObjectContentCommand_base: {
|
|
25
25
|
new (input: SelectObjectContentCommandInput): import("@smithy/smithy-client").CommandImpl<SelectObjectContentCommandInput, SelectObjectContentCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: SelectObjectContentCommandInput): import("@smithy/smithy-client").CommandImpl<SelectObjectContentCommandInput, SelectObjectContentCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -237,6 +237,7 @@ declare const SelectObjectContentCommand_base: {
|
|
|
237
237
|
* @throws {@link S3ServiceException}
|
|
238
238
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
239
239
|
*
|
|
240
|
+
*
|
|
240
241
|
* @public
|
|
241
242
|
*/
|
|
242
243
|
export declare class SelectObjectContentCommand extends SelectObjectContentCommand_base {
|
|
@@ -24,7 +24,7 @@ export interface UploadPartCommandOutput extends UploadPartOutput, __MetadataBea
|
|
|
24
24
|
}
|
|
25
25
|
declare const UploadPartCommand_base: {
|
|
26
26
|
new (input: UploadPartCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPartCommandInput, UploadPartCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
-
new (
|
|
27
|
+
new (input: UploadPartCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPartCommandInput, UploadPartCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
28
28
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -54,9 +54,9 @@ declare const UploadPartCommand_base: {
|
|
|
54
54
|
* <note>
|
|
55
55
|
* <p>
|
|
56
56
|
* <b>Directory buckets</b> -
|
|
57
|
-
* 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
|
|
58
|
-
* </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/
|
|
59
|
-
* <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">
|
|
57
|
+
* 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>
|
|
58
|
+
* </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
|
|
59
|
+
* <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
|
|
60
60
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
61
61
|
* </note>
|
|
62
62
|
* <dl>
|
|
@@ -229,9 +229,10 @@ declare const UploadPartCommand_base: {
|
|
|
229
229
|
* Bucket: "STRING_VALUE", // required
|
|
230
230
|
* ContentLength: Number("long"),
|
|
231
231
|
* ContentMD5: "STRING_VALUE",
|
|
232
|
-
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256",
|
|
232
|
+
* ChecksumAlgorithm: "CRC32" || "CRC32C" || "SHA1" || "SHA256" || "CRC64NVME",
|
|
233
233
|
* ChecksumCRC32: "STRING_VALUE",
|
|
234
234
|
* ChecksumCRC32C: "STRING_VALUE",
|
|
235
|
+
* ChecksumCRC64NVME: "STRING_VALUE",
|
|
235
236
|
* ChecksumSHA1: "STRING_VALUE",
|
|
236
237
|
* ChecksumSHA256: "STRING_VALUE",
|
|
237
238
|
* Key: "STRING_VALUE", // required
|
|
@@ -246,10 +247,11 @@ declare const UploadPartCommand_base: {
|
|
|
246
247
|
* const command = new UploadPartCommand(input);
|
|
247
248
|
* const response = await client.send(command);
|
|
248
249
|
* // { // UploadPartOutput
|
|
249
|
-
* // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
250
|
+
* // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse",
|
|
250
251
|
* // ETag: "STRING_VALUE",
|
|
251
252
|
* // ChecksumCRC32: "STRING_VALUE",
|
|
252
253
|
* // ChecksumCRC32C: "STRING_VALUE",
|
|
254
|
+
* // ChecksumCRC64NVME: "STRING_VALUE",
|
|
253
255
|
* // ChecksumSHA1: "STRING_VALUE",
|
|
254
256
|
* // ChecksumSHA256: "STRING_VALUE",
|
|
255
257
|
* // SSECustomerAlgorithm: "STRING_VALUE",
|
|
@@ -270,27 +272,27 @@ declare const UploadPartCommand_base: {
|
|
|
270
272
|
* @throws {@link S3ServiceException}
|
|
271
273
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
272
274
|
*
|
|
273
|
-
*
|
|
275
|
+
*
|
|
274
276
|
* @example To upload a part
|
|
275
277
|
* ```javascript
|
|
276
278
|
* // The following example uploads part 1 of a multipart upload. The example specifies a file name for the part data. The Upload ID is same that is returned by the initiate multipart upload.
|
|
277
279
|
* const input = {
|
|
278
|
-
*
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
*
|
|
282
|
-
*
|
|
280
|
+
* Body: "fileToUpload",
|
|
281
|
+
* Bucket: "examplebucket",
|
|
282
|
+
* Key: "examplelargeobject",
|
|
283
|
+
* PartNumber: 1,
|
|
284
|
+
* UploadId: "xadcOB_7YPBOJuoFiQ9cz4P3Pe6FIZwO4f7wN93uHsNBEw97pl5eNwzExg0LAT2dUN91cOmrEQHDsP3WA60CEg--"
|
|
283
285
|
* };
|
|
284
286
|
* const command = new UploadPartCommand(input);
|
|
285
287
|
* const response = await client.send(command);
|
|
286
|
-
* /* response
|
|
288
|
+
* /* response is
|
|
287
289
|
* {
|
|
288
|
-
*
|
|
290
|
+
* ETag: `"d8c2eafd90c266e19ab9dcacc479f8af"`
|
|
289
291
|
* }
|
|
290
292
|
* *\/
|
|
291
|
-
* // example id: to-upload-a-part-1481847914943
|
|
292
293
|
* ```
|
|
293
294
|
*
|
|
295
|
+
* @public
|
|
294
296
|
*/
|
|
295
297
|
export declare class UploadPartCommand extends UploadPartCommand_base {
|
|
296
298
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -23,7 +23,7 @@ export interface UploadPartCopyCommandOutput extends UploadPartCopyOutput, __Met
|
|
|
23
23
|
}
|
|
24
24
|
declare const UploadPartCopyCommand_base: {
|
|
25
25
|
new (input: UploadPartCopyCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPartCopyCommandInput, UploadPartCopyCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
-
new (
|
|
26
|
+
new (input: UploadPartCopyCommandInput): import("@smithy/smithy-client").CommandImpl<UploadPartCopyCommandInput, UploadPartCopyCommandOutput, S3ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
@@ -48,9 +48,9 @@ declare const UploadPartCopyCommand_base: {
|
|
|
48
48
|
* <note>
|
|
49
49
|
* <p>
|
|
50
50
|
* <b>Directory buckets</b> -
|
|
51
|
-
* 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
|
|
52
|
-
* </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/
|
|
53
|
-
* <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">
|
|
51
|
+
* 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>
|
|
52
|
+
* </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
|
|
53
|
+
* <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
|
|
54
54
|
* <i>Amazon S3 User Guide</i>.</p>
|
|
55
55
|
* </note>
|
|
56
56
|
* <dl>
|
|
@@ -289,10 +289,11 @@ declare const UploadPartCopyCommand_base: {
|
|
|
289
289
|
* // LastModified: new Date("TIMESTAMP"),
|
|
290
290
|
* // ChecksumCRC32: "STRING_VALUE",
|
|
291
291
|
* // ChecksumCRC32C: "STRING_VALUE",
|
|
292
|
+
* // ChecksumCRC64NVME: "STRING_VALUE",
|
|
292
293
|
* // ChecksumSHA1: "STRING_VALUE",
|
|
293
294
|
* // ChecksumSHA256: "STRING_VALUE",
|
|
294
295
|
* // },
|
|
295
|
-
* // ServerSideEncryption: "AES256" || "aws:kms" || "aws:kms:dsse",
|
|
296
|
+
* // ServerSideEncryption: "AES256" || "aws:fsx" || "aws:kms" || "aws:kms:dsse",
|
|
296
297
|
* // SSECustomerAlgorithm: "STRING_VALUE",
|
|
297
298
|
* // SSECustomerKeyMD5: "STRING_VALUE",
|
|
298
299
|
* // SSEKMSKeyId: "STRING_VALUE",
|
|
@@ -311,54 +312,53 @@ declare const UploadPartCopyCommand_base: {
|
|
|
311
312
|
* @throws {@link S3ServiceException}
|
|
312
313
|
* <p>Base exception class for all service exceptions from S3 service.</p>
|
|
313
314
|
*
|
|
314
|
-
*
|
|
315
|
+
*
|
|
315
316
|
* @example To upload a part by copying byte range from an existing object as data source
|
|
316
317
|
* ```javascript
|
|
317
318
|
* // The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.
|
|
318
319
|
* const input = {
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
*
|
|
320
|
+
* Bucket: "examplebucket",
|
|
321
|
+
* CopySource: "/bucketname/sourceobjectkey",
|
|
322
|
+
* CopySourceRange: "bytes=1-100000",
|
|
323
|
+
* Key: "examplelargeobject",
|
|
324
|
+
* PartNumber: 2,
|
|
325
|
+
* UploadId: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
|
|
325
326
|
* };
|
|
326
327
|
* const command = new UploadPartCopyCommand(input);
|
|
327
328
|
* const response = await client.send(command);
|
|
328
|
-
* /* response
|
|
329
|
+
* /* response is
|
|
329
330
|
* {
|
|
330
|
-
*
|
|
331
|
-
*
|
|
332
|
-
*
|
|
331
|
+
* CopyPartResult: {
|
|
332
|
+
* ETag: `"65d16d19e65a7508a51f043180edcc36"`,
|
|
333
|
+
* LastModified: "2016-12-29T21:44:28.000Z"
|
|
333
334
|
* }
|
|
334
335
|
* }
|
|
335
336
|
* *\/
|
|
336
|
-
* // example id: to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594
|
|
337
337
|
* ```
|
|
338
338
|
*
|
|
339
339
|
* @example To upload a part by copying data from an existing object as data source
|
|
340
340
|
* ```javascript
|
|
341
341
|
* // The following example uploads a part of a multipart upload by copying data from an existing object as data source.
|
|
342
342
|
* const input = {
|
|
343
|
-
*
|
|
344
|
-
*
|
|
345
|
-
*
|
|
346
|
-
*
|
|
347
|
-
*
|
|
343
|
+
* Bucket: "examplebucket",
|
|
344
|
+
* CopySource: "/bucketname/sourceobjectkey",
|
|
345
|
+
* Key: "examplelargeobject",
|
|
346
|
+
* PartNumber: 1,
|
|
347
|
+
* UploadId: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
|
|
348
348
|
* };
|
|
349
349
|
* const command = new UploadPartCopyCommand(input);
|
|
350
350
|
* const response = await client.send(command);
|
|
351
|
-
* /* response
|
|
351
|
+
* /* response is
|
|
352
352
|
* {
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
*
|
|
353
|
+
* CopyPartResult: {
|
|
354
|
+
* ETag: `"b0c6f0e7e054ab8fa2536a2677f8734d"`,
|
|
355
|
+
* LastModified: "2016-12-29T21:24:43.000Z"
|
|
356
356
|
* }
|
|
357
357
|
* }
|
|
358
358
|
* *\/
|
|
359
|
-
* // example id: to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348
|
|
360
359
|
* ```
|
|
361
360
|
*
|
|
361
|
+
* @public
|
|
362
362
|
*/
|
|
363
363
|
export declare class UploadPartCopyCommand extends UploadPartCopyCommand_base {
|
|
364
364
|
/** @internal type navigation helper, not in runtime. */
|