@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
|
@@ -3,8 +3,9 @@ import { XmlNode as __XmlNode, XmlText as __XmlText } from "@aws-sdk/xml-builder
|
|
|
3
3
|
import { requestBuilder as rb } from "@smithy/core";
|
|
4
4
|
import { isValidHostname as __isValidHostname, } from "@smithy/protocol-http";
|
|
5
5
|
import { collectBody, dateToUtcString as __dateToUtcString, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, expectUnion as __expectUnion, getArrayIfSingleItem as __getArrayIfSingleItem, isSerializableHeaderValue, map, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, parseRfc7231DateTime as __parseRfc7231DateTime, quoteHeader as __quoteHeader, serializeDateTime as __serializeDateTime, strictParseInt32 as __strictParseInt32, strictParseLong as __strictParseLong, withBaseException, } from "@smithy/smithy-client";
|
|
6
|
+
import { v4 as generateIdempotencyToken } from "uuid";
|
|
6
7
|
import { AnalyticsFilter, BucketAlreadyExists, BucketAlreadyOwnedByYou, InvalidObjectState, MetricsFilter, NoSuchBucket, NoSuchKey, NoSuchUpload, NotFound, ObjectNotInActiveTierError, } from "../models/models_0";
|
|
7
|
-
import { EncryptionTypeMismatch, InvalidRequest, InvalidWriteOffset, ObjectAlreadyInActiveTierError, TooManyParts, } from "../models/models_1";
|
|
8
|
+
import { EncryptionTypeMismatch, IdempotencyParameterMismatch, InvalidRequest, InvalidWriteOffset, ObjectAlreadyInActiveTierError, TooManyParts, } from "../models/models_1";
|
|
8
9
|
import { S3ServiceException as __BaseException } from "../models/S3ServiceException";
|
|
9
10
|
export const se_AbortMultipartUploadCommand = async (input, context) => {
|
|
10
11
|
const b = rb(input, context);
|
|
@@ -30,8 +31,11 @@ export const se_CompleteMultipartUploadCommand = async (input, context) => {
|
|
|
30
31
|
"content-type": "application/xml",
|
|
31
32
|
[_xacc]: input[_CCRC],
|
|
32
33
|
[_xacc_]: input[_CCRCC],
|
|
34
|
+
[_xacc__]: input[_CCRCNVME],
|
|
33
35
|
[_xacs]: input[_CSHA],
|
|
34
36
|
[_xacs_]: input[_CSHAh],
|
|
37
|
+
[_xact]: input[_CT],
|
|
38
|
+
[_xamos]: [() => isSerializableHeaderValue(input[_MOS]), () => input[_MOS].toString()],
|
|
35
39
|
[_xarp]: input[_RP],
|
|
36
40
|
[_xaebo]: input[_EBO],
|
|
37
41
|
[_im]: input[_IM],
|
|
@@ -61,13 +65,18 @@ export const se_CompleteMultipartUploadCommand = async (input, context) => {
|
|
|
61
65
|
export const se_CopyObjectCommand = async (input, context) => {
|
|
62
66
|
const b = rb(input, context);
|
|
63
67
|
const headers = map({}, isSerializableHeaderValue, {
|
|
68
|
+
...(input.Metadata !== undefined &&
|
|
69
|
+
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
70
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
71
|
+
return acc;
|
|
72
|
+
}, {})),
|
|
64
73
|
[_xaa]: input[_ACL],
|
|
65
74
|
[_cc]: input[_CC],
|
|
66
75
|
[_xaca]: input[_CA],
|
|
67
76
|
[_cd]: input[_CD],
|
|
68
77
|
[_ce]: input[_CE],
|
|
69
78
|
[_cl]: input[_CL],
|
|
70
|
-
[_ct]: input[
|
|
79
|
+
[_ct]: input[_CTo],
|
|
71
80
|
[_xacs__]: input[_CS],
|
|
72
81
|
[_xacsim]: input[_CSIM],
|
|
73
82
|
[_xacsims]: [() => isSerializableHeaderValue(input[_CSIMS]), () => __dateToUtcString(input[_CSIMS]).toString()],
|
|
@@ -99,11 +108,6 @@ export const se_CopyObjectCommand = async (input, context) => {
|
|
|
99
108
|
[_xaollh]: input[_OLLHS],
|
|
100
109
|
[_xaebo]: input[_EBO],
|
|
101
110
|
[_xasebo]: input[_ESBO],
|
|
102
|
-
...(input.Metadata !== undefined &&
|
|
103
|
-
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
104
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
105
|
-
return acc;
|
|
106
|
-
}, {})),
|
|
107
111
|
});
|
|
108
112
|
b.bp("/{Key+}");
|
|
109
113
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -168,12 +172,17 @@ export const se_CreateBucketMetadataTableConfigurationCommand = async (input, co
|
|
|
168
172
|
export const se_CreateMultipartUploadCommand = async (input, context) => {
|
|
169
173
|
const b = rb(input, context);
|
|
170
174
|
const headers = map({}, isSerializableHeaderValue, {
|
|
175
|
+
...(input.Metadata !== undefined &&
|
|
176
|
+
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
177
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
178
|
+
return acc;
|
|
179
|
+
}, {})),
|
|
171
180
|
[_xaa]: input[_ACL],
|
|
172
181
|
[_cc]: input[_CC],
|
|
173
182
|
[_cd]: input[_CD],
|
|
174
183
|
[_ce]: input[_CE],
|
|
175
184
|
[_cl]: input[_CL],
|
|
176
|
-
[_ct]: input[
|
|
185
|
+
[_ct]: input[_CTo],
|
|
177
186
|
[_e]: [() => isSerializableHeaderValue(input[_E]), () => __dateToUtcString(input[_E]).toString()],
|
|
178
187
|
[_xagfc]: input[_GFC],
|
|
179
188
|
[_xagr]: input[_GR],
|
|
@@ -195,11 +204,7 @@ export const se_CreateMultipartUploadCommand = async (input, context) => {
|
|
|
195
204
|
[_xaollh]: input[_OLLHS],
|
|
196
205
|
[_xaebo]: input[_EBO],
|
|
197
206
|
[_xaca]: input[_CA],
|
|
198
|
-
|
|
199
|
-
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
200
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
201
|
-
return acc;
|
|
202
|
-
}, {})),
|
|
207
|
+
[_xact]: input[_CT],
|
|
203
208
|
});
|
|
204
209
|
b.bp("/{Key+}");
|
|
205
210
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -285,7 +290,9 @@ export const se_DeleteBucketEncryptionCommand = async (input, context) => {
|
|
|
285
290
|
};
|
|
286
291
|
export const se_DeleteBucketIntelligentTieringConfigurationCommand = async (input, context) => {
|
|
287
292
|
const b = rb(input, context);
|
|
288
|
-
const headers = {}
|
|
293
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
294
|
+
[_xaebo]: input[_EBO],
|
|
295
|
+
});
|
|
289
296
|
b.bp("/");
|
|
290
297
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
291
298
|
const query = map({
|
|
@@ -577,7 +584,9 @@ export const se_GetBucketEncryptionCommand = async (input, context) => {
|
|
|
577
584
|
};
|
|
578
585
|
export const se_GetBucketIntelligentTieringConfigurationCommand = async (input, context) => {
|
|
579
586
|
const b = rb(input, context);
|
|
580
|
-
const headers = {}
|
|
587
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
588
|
+
[_xaebo]: input[_EBO],
|
|
589
|
+
});
|
|
581
590
|
b.bp("/");
|
|
582
591
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
583
592
|
const query = map({
|
|
@@ -1024,7 +1033,7 @@ export const se_ListBucketAnalyticsConfigurationsCommand = async (input, context
|
|
|
1024
1033
|
const query = map({
|
|
1025
1034
|
[_a]: [, ""],
|
|
1026
1035
|
[_xi]: [, "ListBucketAnalyticsConfigurations"],
|
|
1027
|
-
[_ct_]: [, input[
|
|
1036
|
+
[_ct_]: [, input[_CTon]],
|
|
1028
1037
|
});
|
|
1029
1038
|
let body;
|
|
1030
1039
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1032,13 +1041,15 @@ export const se_ListBucketAnalyticsConfigurationsCommand = async (input, context
|
|
|
1032
1041
|
};
|
|
1033
1042
|
export const se_ListBucketIntelligentTieringConfigurationsCommand = async (input, context) => {
|
|
1034
1043
|
const b = rb(input, context);
|
|
1035
|
-
const headers = {}
|
|
1044
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
1045
|
+
[_xaebo]: input[_EBO],
|
|
1046
|
+
});
|
|
1036
1047
|
b.bp("/");
|
|
1037
1048
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1038
1049
|
const query = map({
|
|
1039
1050
|
[_it]: [, ""],
|
|
1040
1051
|
[_xi]: [, "ListBucketIntelligentTieringConfigurations"],
|
|
1041
|
-
[_ct_]: [, input[
|
|
1052
|
+
[_ct_]: [, input[_CTon]],
|
|
1042
1053
|
});
|
|
1043
1054
|
let body;
|
|
1044
1055
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1054,7 +1065,7 @@ export const se_ListBucketInventoryConfigurationsCommand = async (input, context
|
|
|
1054
1065
|
const query = map({
|
|
1055
1066
|
[_in]: [, ""],
|
|
1056
1067
|
[_xi]: [, "ListBucketInventoryConfigurations"],
|
|
1057
|
-
[_ct_]: [, input[
|
|
1068
|
+
[_ct_]: [, input[_CTon]],
|
|
1058
1069
|
});
|
|
1059
1070
|
let body;
|
|
1060
1071
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1070,7 +1081,7 @@ export const se_ListBucketMetricsConfigurationsCommand = async (input, context)
|
|
|
1070
1081
|
const query = map({
|
|
1071
1082
|
[_m]: [, ""],
|
|
1072
1083
|
[_xi]: [, "ListBucketMetricsConfigurations"],
|
|
1073
|
-
[_ct_]: [, input[
|
|
1084
|
+
[_ct_]: [, input[_CTon]],
|
|
1074
1085
|
});
|
|
1075
1086
|
let body;
|
|
1076
1087
|
b.m("GET").h(headers).q(query).b(body);
|
|
@@ -1083,7 +1094,7 @@ export const se_ListBucketsCommand = async (input, context) => {
|
|
|
1083
1094
|
const query = map({
|
|
1084
1095
|
[_xi]: [, "ListBuckets"],
|
|
1085
1096
|
[_mb]: [() => input.MaxBuckets !== void 0, () => input[_MB].toString()],
|
|
1086
|
-
[_ct_]: [, input[
|
|
1097
|
+
[_ct_]: [, input[_CTon]],
|
|
1087
1098
|
[_pr]: [, input[_P]],
|
|
1088
1099
|
[_br]: [, input[_BR]],
|
|
1089
1100
|
});
|
|
@@ -1097,7 +1108,7 @@ export const se_ListDirectoryBucketsCommand = async (input, context) => {
|
|
|
1097
1108
|
b.bp("/");
|
|
1098
1109
|
const query = map({
|
|
1099
1110
|
[_xi]: [, "ListDirectoryBuckets"],
|
|
1100
|
-
[_ct_]: [, input[
|
|
1111
|
+
[_ct_]: [, input[_CTon]],
|
|
1101
1112
|
[_mdb]: [() => input.MaxDirectoryBuckets !== void 0, () => input[_MDB].toString()],
|
|
1102
1113
|
});
|
|
1103
1114
|
let body;
|
|
@@ -1160,7 +1171,7 @@ export const se_ListObjectsV2Command = async (input, context) => {
|
|
|
1160
1171
|
[_et]: [, input[_ET]],
|
|
1161
1172
|
[_mk]: [() => input.MaxKeys !== void 0, () => input[_MK].toString()],
|
|
1162
1173
|
[_pr]: [, input[_P]],
|
|
1163
|
-
[_ct_]: [, input[
|
|
1174
|
+
[_ct_]: [, input[_CTon]],
|
|
1164
1175
|
[_fo]: [() => input.FetchOwner !== void 0, () => input[_FO].toString()],
|
|
1165
1176
|
[_sa]: [, input[_SA]],
|
|
1166
1177
|
});
|
|
@@ -1338,9 +1349,10 @@ export const se_PutBucketEncryptionCommand = async (input, context) => {
|
|
|
1338
1349
|
};
|
|
1339
1350
|
export const se_PutBucketIntelligentTieringConfigurationCommand = async (input, context) => {
|
|
1340
1351
|
const b = rb(input, context);
|
|
1341
|
-
const headers = {
|
|
1352
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
1342
1353
|
"content-type": "application/xml",
|
|
1343
|
-
|
|
1354
|
+
[_xaebo]: input[_EBO],
|
|
1355
|
+
});
|
|
1344
1356
|
b.bp("/");
|
|
1345
1357
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1346
1358
|
const query = map({
|
|
@@ -1482,6 +1494,7 @@ export const se_PutBucketOwnershipControlsCommand = async (input, context) => {
|
|
|
1482
1494
|
"content-type": "application/xml",
|
|
1483
1495
|
[_cm]: input[_CMD],
|
|
1484
1496
|
[_xaebo]: input[_EBO],
|
|
1497
|
+
[_xasca]: input[_CA],
|
|
1485
1498
|
});
|
|
1486
1499
|
b.bp("/");
|
|
1487
1500
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -1647,7 +1660,12 @@ export const se_PutBucketWebsiteCommand = async (input, context) => {
|
|
|
1647
1660
|
export const se_PutObjectCommand = async (input, context) => {
|
|
1648
1661
|
const b = rb(input, context);
|
|
1649
1662
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1650
|
-
|
|
1663
|
+
...(input.Metadata !== undefined &&
|
|
1664
|
+
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
1665
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
1666
|
+
return acc;
|
|
1667
|
+
}, {})),
|
|
1668
|
+
[_ct]: input[_CTo] || "application/octet-stream",
|
|
1651
1669
|
[_xaa]: input[_ACL],
|
|
1652
1670
|
[_cc]: input[_CC],
|
|
1653
1671
|
[_cd]: input[_CD],
|
|
@@ -1658,6 +1676,7 @@ export const se_PutObjectCommand = async (input, context) => {
|
|
|
1658
1676
|
[_xasca]: input[_CA],
|
|
1659
1677
|
[_xacc]: input[_CCRC],
|
|
1660
1678
|
[_xacc_]: input[_CCRCC],
|
|
1679
|
+
[_xacc__]: input[_CCRCNVME],
|
|
1661
1680
|
[_xacs]: input[_CSHA],
|
|
1662
1681
|
[_xacs_]: input[_CSHAh],
|
|
1663
1682
|
[_e]: [() => isSerializableHeaderValue(input[_E]), () => __dateToUtcString(input[_E]).toString()],
|
|
@@ -1683,11 +1702,6 @@ export const se_PutObjectCommand = async (input, context) => {
|
|
|
1683
1702
|
[_xaolrud]: [() => isSerializableHeaderValue(input[_OLRUD]), () => __serializeDateTime(input[_OLRUD]).toString()],
|
|
1684
1703
|
[_xaollh]: input[_OLLHS],
|
|
1685
1704
|
[_xaebo]: input[_EBO],
|
|
1686
|
-
...(input.Metadata !== undefined &&
|
|
1687
|
-
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
1688
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
1689
|
-
return acc;
|
|
1690
|
-
}, {})),
|
|
1691
1705
|
});
|
|
1692
1706
|
b.bp("/{Key+}");
|
|
1693
1707
|
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
@@ -1871,6 +1885,30 @@ export const se_PutPublicAccessBlockCommand = async (input, context) => {
|
|
|
1871
1885
|
b.m("PUT").h(headers).q(query).b(body);
|
|
1872
1886
|
return b.build();
|
|
1873
1887
|
};
|
|
1888
|
+
export const se_RenameObjectCommand = async (input, context) => {
|
|
1889
|
+
const b = rb(input, context);
|
|
1890
|
+
const headers = map({}, isSerializableHeaderValue, {
|
|
1891
|
+
[_xars]: input[_RS],
|
|
1892
|
+
[_im]: input[_DIM],
|
|
1893
|
+
[_inm]: input[_DINM],
|
|
1894
|
+
[_ims]: [() => isSerializableHeaderValue(input[_DIMS]), () => __dateToUtcString(input[_DIMS]).toString()],
|
|
1895
|
+
[_ius]: [() => isSerializableHeaderValue(input[_DIUS]), () => __dateToUtcString(input[_DIUS]).toString()],
|
|
1896
|
+
[_xarsim]: input[_SIM],
|
|
1897
|
+
[_xarsinm]: input[_SINM],
|
|
1898
|
+
[_xarsims]: [() => isSerializableHeaderValue(input[_SIMS]), () => __dateToUtcString(input[_SIMS]).toString()],
|
|
1899
|
+
[_xarsius]: [() => isSerializableHeaderValue(input[_SIUS]), () => __dateToUtcString(input[_SIUS]).toString()],
|
|
1900
|
+
[_xact_]: input[_CTl] ?? generateIdempotencyToken(),
|
|
1901
|
+
});
|
|
1902
|
+
b.bp("/{Key+}");
|
|
1903
|
+
b.p("Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1904
|
+
b.p("Key", () => input.Key, "{Key+}", true);
|
|
1905
|
+
const query = map({
|
|
1906
|
+
[_rO]: [, ""],
|
|
1907
|
+
});
|
|
1908
|
+
let body;
|
|
1909
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
1910
|
+
return b.build();
|
|
1911
|
+
};
|
|
1874
1912
|
export const se_RestoreObjectCommand = async (input, context) => {
|
|
1875
1913
|
const b = rb(input, context);
|
|
1876
1914
|
const headers = map({}, isSerializableHeaderValue, {
|
|
@@ -1944,6 +1982,7 @@ export const se_UploadPartCommand = async (input, context) => {
|
|
|
1944
1982
|
[_xasca]: input[_CA],
|
|
1945
1983
|
[_xacc]: input[_CCRC],
|
|
1946
1984
|
[_xacc_]: input[_CCRCC],
|
|
1985
|
+
[_xacc__]: input[_CCRCNVME],
|
|
1947
1986
|
[_xacs]: input[_CSHA],
|
|
1948
1987
|
[_xacs_]: input[_CSHAh],
|
|
1949
1988
|
[_xasseca]: input[_SSECA],
|
|
@@ -2004,6 +2043,11 @@ export const se_WriteGetObjectResponseCommand = async (input, context) => {
|
|
|
2004
2043
|
const b = rb(input, context);
|
|
2005
2044
|
const headers = map({}, isSerializableHeaderValue, {
|
|
2006
2045
|
"x-amz-content-sha256": "UNSIGNED-PAYLOAD",
|
|
2046
|
+
...(input.Metadata !== undefined &&
|
|
2047
|
+
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
2048
|
+
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
2049
|
+
return acc;
|
|
2050
|
+
}, {})),
|
|
2007
2051
|
"content-type": "application/octet-stream",
|
|
2008
2052
|
[_xarr]: input[_RR],
|
|
2009
2053
|
[_xart]: input[_RT],
|
|
@@ -2017,9 +2061,10 @@ export const se_WriteGetObjectResponseCommand = async (input, context) => {
|
|
|
2017
2061
|
[_xafhcl]: input[_CL],
|
|
2018
2062
|
[_cl_]: [() => isSerializableHeaderValue(input[_CLo]), () => input[_CLo].toString()],
|
|
2019
2063
|
[_xafhcr]: input[_CR],
|
|
2020
|
-
[_xafhct]: input[
|
|
2064
|
+
[_xafhct]: input[_CTo],
|
|
2021
2065
|
[_xafhxacc]: input[_CCRC],
|
|
2022
2066
|
[_xafhxacc_]: input[_CCRCC],
|
|
2067
|
+
[_xafhxacc__]: input[_CCRCNVME],
|
|
2023
2068
|
[_xafhxacs]: input[_CSHA],
|
|
2024
2069
|
[_xafhxacs_]: input[_CSHAh],
|
|
2025
2070
|
[_xafhxadm]: [() => isSerializableHeaderValue(input[_DM]), () => input[_DM].toString()],
|
|
@@ -2035,7 +2080,7 @@ export const se_WriteGetObjectResponseCommand = async (input, context) => {
|
|
|
2035
2080
|
() => __serializeDateTime(input[_OLRUD]).toString(),
|
|
2036
2081
|
],
|
|
2037
2082
|
[_xafhxampc]: [() => isSerializableHeaderValue(input[_PC]), () => input[_PC].toString()],
|
|
2038
|
-
[_xafhxars]: input[
|
|
2083
|
+
[_xafhxars]: input[_RSe],
|
|
2039
2084
|
[_xafhxarc]: input[_RC],
|
|
2040
2085
|
[_xafhxar]: input[_Re],
|
|
2041
2086
|
[_xafhxasse]: input[_SSE],
|
|
@@ -2046,11 +2091,6 @@ export const se_WriteGetObjectResponseCommand = async (input, context) => {
|
|
|
2046
2091
|
[_xafhxatc]: [() => isSerializableHeaderValue(input[_TC]), () => input[_TC].toString()],
|
|
2047
2092
|
[_xafhxavi]: input[_VI],
|
|
2048
2093
|
[_xafhxassebke]: [() => isSerializableHeaderValue(input[_BKE]), () => input[_BKE].toString()],
|
|
2049
|
-
...(input.Metadata !== undefined &&
|
|
2050
|
-
Object.keys(input.Metadata).reduce((acc, suffix) => {
|
|
2051
|
-
acc[`x-amz-meta-${suffix.toLowerCase()}`] = input.Metadata[suffix];
|
|
2052
|
-
return acc;
|
|
2053
|
-
}, {})),
|
|
2054
2094
|
});
|
|
2055
2095
|
b.bp("/WriteGetObjectResponse");
|
|
2056
2096
|
let body;
|
|
@@ -2108,12 +2148,18 @@ export const de_CompleteMultipartUploadCommand = async (output, context) => {
|
|
|
2108
2148
|
if (data[_CCRCC] != null) {
|
|
2109
2149
|
contents[_CCRCC] = __expectString(data[_CCRCC]);
|
|
2110
2150
|
}
|
|
2151
|
+
if (data[_CCRCNVME] != null) {
|
|
2152
|
+
contents[_CCRCNVME] = __expectString(data[_CCRCNVME]);
|
|
2153
|
+
}
|
|
2111
2154
|
if (data[_CSHA] != null) {
|
|
2112
2155
|
contents[_CSHA] = __expectString(data[_CSHA]);
|
|
2113
2156
|
}
|
|
2114
2157
|
if (data[_CSHAh] != null) {
|
|
2115
2158
|
contents[_CSHAh] = __expectString(data[_CSHAh]);
|
|
2116
2159
|
}
|
|
2160
|
+
if (data[_CT] != null) {
|
|
2161
|
+
contents[_CT] = __expectString(data[_CT]);
|
|
2162
|
+
}
|
|
2117
2163
|
if (data[_ETa] != null) {
|
|
2118
2164
|
contents[_ETa] = __expectString(data[_ETa]);
|
|
2119
2165
|
}
|
|
@@ -2153,6 +2199,7 @@ export const de_CreateBucketCommand = async (output, context) => {
|
|
|
2153
2199
|
const contents = map({
|
|
2154
2200
|
$metadata: deserializeMetadata(output),
|
|
2155
2201
|
[_L]: [, output.headers[_lo]],
|
|
2202
|
+
[_BA]: [, output.headers[_xaba]],
|
|
2156
2203
|
});
|
|
2157
2204
|
await collectBody(output.body, context);
|
|
2158
2205
|
return contents;
|
|
@@ -2186,6 +2233,7 @@ export const de_CreateMultipartUploadCommand = async (output, context) => {
|
|
|
2186
2233
|
[_BKE]: [() => void 0 !== output.headers[_xassebke], () => __parseBoolean(output.headers[_xassebke])],
|
|
2187
2234
|
[_RC]: [, output.headers[_xarc]],
|
|
2188
2235
|
[_CA]: [, output.headers[_xaca]],
|
|
2236
|
+
[_CT]: [, output.headers[_xact]],
|
|
2189
2237
|
});
|
|
2190
2238
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
2191
2239
|
if (data[_B] != null) {
|
|
@@ -2731,8 +2779,10 @@ export const de_GetObjectCommand = async (output, context) => {
|
|
|
2731
2779
|
[_ETa]: [, output.headers[_eta]],
|
|
2732
2780
|
[_CCRC]: [, output.headers[_xacc]],
|
|
2733
2781
|
[_CCRCC]: [, output.headers[_xacc_]],
|
|
2782
|
+
[_CCRCNVME]: [, output.headers[_xacc__]],
|
|
2734
2783
|
[_CSHA]: [, output.headers[_xacs]],
|
|
2735
2784
|
[_CSHAh]: [, output.headers[_xacs_]],
|
|
2785
|
+
[_CT]: [, output.headers[_xact]],
|
|
2736
2786
|
[_MM]: [() => void 0 !== output.headers[_xamm], () => __strictParseInt32(output.headers[_xamm])],
|
|
2737
2787
|
[_VI]: [, output.headers[_xavi]],
|
|
2738
2788
|
[_CC]: [, output.headers[_cc]],
|
|
@@ -2740,7 +2790,7 @@ export const de_GetObjectCommand = async (output, context) => {
|
|
|
2740
2790
|
[_CE]: [, output.headers[_ce]],
|
|
2741
2791
|
[_CL]: [, output.headers[_cl]],
|
|
2742
2792
|
[_CR]: [, output.headers[_cr]],
|
|
2743
|
-
[
|
|
2793
|
+
[_CTo]: [, output.headers[_ct]],
|
|
2744
2794
|
[_E]: [() => void 0 !== output.headers[_e], () => __expectNonNull(__parseRfc7231DateTime(output.headers[_e]))],
|
|
2745
2795
|
[_ES]: [, output.headers[_ex]],
|
|
2746
2796
|
[_WRL]: [, output.headers[_xawrl]],
|
|
@@ -2751,7 +2801,7 @@ export const de_GetObjectCommand = async (output, context) => {
|
|
|
2751
2801
|
[_BKE]: [() => void 0 !== output.headers[_xassebke], () => __parseBoolean(output.headers[_xassebke])],
|
|
2752
2802
|
[_SC]: [, output.headers[_xasc]],
|
|
2753
2803
|
[_RC]: [, output.headers[_xarc]],
|
|
2754
|
-
[
|
|
2804
|
+
[_RSe]: [, output.headers[_xars_]],
|
|
2755
2805
|
[_PC]: [() => void 0 !== output.headers[_xampc], () => __strictParseInt32(output.headers[_xampc])],
|
|
2756
2806
|
[_TC]: [() => void 0 !== output.headers[_xatc], () => __strictParseInt32(output.headers[_xatc])],
|
|
2757
2807
|
[_OLM]: [, output.headers[_xaolm]],
|
|
@@ -2904,6 +2954,7 @@ export const de_HeadBucketCommand = async (output, context) => {
|
|
|
2904
2954
|
}
|
|
2905
2955
|
const contents = map({
|
|
2906
2956
|
$metadata: deserializeMetadata(output),
|
|
2957
|
+
[_BA]: [, output.headers[_xaba]],
|
|
2907
2958
|
[_BLT]: [, output.headers[_xablt]],
|
|
2908
2959
|
[_BLN]: [, output.headers[_xabln]],
|
|
2909
2960
|
[_BR]: [, output.headers[_xabr]],
|
|
@@ -2927,8 +2978,10 @@ export const de_HeadObjectCommand = async (output, context) => {
|
|
|
2927
2978
|
[_CLo]: [() => void 0 !== output.headers[_cl_], () => __strictParseLong(output.headers[_cl_])],
|
|
2928
2979
|
[_CCRC]: [, output.headers[_xacc]],
|
|
2929
2980
|
[_CCRCC]: [, output.headers[_xacc_]],
|
|
2981
|
+
[_CCRCNVME]: [, output.headers[_xacc__]],
|
|
2930
2982
|
[_CSHA]: [, output.headers[_xacs]],
|
|
2931
2983
|
[_CSHAh]: [, output.headers[_xacs_]],
|
|
2984
|
+
[_CT]: [, output.headers[_xact]],
|
|
2932
2985
|
[_ETa]: [, output.headers[_eta]],
|
|
2933
2986
|
[_MM]: [() => void 0 !== output.headers[_xamm], () => __strictParseInt32(output.headers[_xamm])],
|
|
2934
2987
|
[_VI]: [, output.headers[_xavi]],
|
|
@@ -2936,7 +2989,8 @@ export const de_HeadObjectCommand = async (output, context) => {
|
|
|
2936
2989
|
[_CD]: [, output.headers[_cd]],
|
|
2937
2990
|
[_CE]: [, output.headers[_ce]],
|
|
2938
2991
|
[_CL]: [, output.headers[_cl]],
|
|
2939
|
-
[
|
|
2992
|
+
[_CTo]: [, output.headers[_ct]],
|
|
2993
|
+
[_CR]: [, output.headers[_cr]],
|
|
2940
2994
|
[_E]: [() => void 0 !== output.headers[_e], () => __expectNonNull(__parseRfc7231DateTime(output.headers[_e]))],
|
|
2941
2995
|
[_ES]: [, output.headers[_ex]],
|
|
2942
2996
|
[_WRL]: [, output.headers[_xawrl]],
|
|
@@ -2947,8 +3001,9 @@ export const de_HeadObjectCommand = async (output, context) => {
|
|
|
2947
3001
|
[_BKE]: [() => void 0 !== output.headers[_xassebke], () => __parseBoolean(output.headers[_xassebke])],
|
|
2948
3002
|
[_SC]: [, output.headers[_xasc]],
|
|
2949
3003
|
[_RC]: [, output.headers[_xarc]],
|
|
2950
|
-
[
|
|
3004
|
+
[_RSe]: [, output.headers[_xars_]],
|
|
2951
3005
|
[_PC]: [() => void 0 !== output.headers[_xampc], () => __strictParseInt32(output.headers[_xampc])],
|
|
3006
|
+
[_TC]: [() => void 0 !== output.headers[_xatc], () => __strictParseInt32(output.headers[_xatc])],
|
|
2952
3007
|
[_OLM]: [, output.headers[_xaolm]],
|
|
2953
3008
|
[_OLRUD]: [
|
|
2954
3009
|
() => void 0 !== output.headers[_xaolrud],
|
|
@@ -2982,8 +3037,8 @@ export const de_ListBucketAnalyticsConfigurationsCommand = async (output, contex
|
|
|
2982
3037
|
else if (data[_AC] != null) {
|
|
2983
3038
|
contents[_ACLn] = de_AnalyticsConfigurationList(__getArrayIfSingleItem(data[_AC]), context);
|
|
2984
3039
|
}
|
|
2985
|
-
if (data[
|
|
2986
|
-
contents[
|
|
3040
|
+
if (data[_CTon] != null) {
|
|
3041
|
+
contents[_CTon] = __expectString(data[_CTon]);
|
|
2987
3042
|
}
|
|
2988
3043
|
if (data[_IT] != null) {
|
|
2989
3044
|
contents[_IT] = __parseBoolean(data[_IT]);
|
|
@@ -3001,8 +3056,8 @@ export const de_ListBucketIntelligentTieringConfigurationsCommand = async (outpu
|
|
|
3001
3056
|
$metadata: deserializeMetadata(output),
|
|
3002
3057
|
});
|
|
3003
3058
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3004
|
-
if (data[
|
|
3005
|
-
contents[
|
|
3059
|
+
if (data[_CTon] != null) {
|
|
3060
|
+
contents[_CTon] = __expectString(data[_CTon]);
|
|
3006
3061
|
}
|
|
3007
3062
|
if (data.IntelligentTieringConfiguration === "") {
|
|
3008
3063
|
contents[_ITCL] = [];
|
|
@@ -3026,8 +3081,8 @@ export const de_ListBucketInventoryConfigurationsCommand = async (output, contex
|
|
|
3026
3081
|
$metadata: deserializeMetadata(output),
|
|
3027
3082
|
});
|
|
3028
3083
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3029
|
-
if (data[
|
|
3030
|
-
contents[
|
|
3084
|
+
if (data[_CTon] != null) {
|
|
3085
|
+
contents[_CTon] = __expectString(data[_CTon]);
|
|
3031
3086
|
}
|
|
3032
3087
|
if (data.InventoryConfiguration === "") {
|
|
3033
3088
|
contents[_ICL] = [];
|
|
@@ -3051,8 +3106,8 @@ export const de_ListBucketMetricsConfigurationsCommand = async (output, context)
|
|
|
3051
3106
|
$metadata: deserializeMetadata(output),
|
|
3052
3107
|
});
|
|
3053
3108
|
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
3054
|
-
if (data[
|
|
3055
|
-
contents[
|
|
3109
|
+
if (data[_CTon] != null) {
|
|
3110
|
+
contents[_CTon] = __expectString(data[_CTon]);
|
|
3056
3111
|
}
|
|
3057
3112
|
if (data[_IT] != null) {
|
|
3058
3113
|
contents[_IT] = __parseBoolean(data[_IT]);
|
|
@@ -3082,8 +3137,8 @@ export const de_ListBucketsCommand = async (output, context) => {
|
|
|
3082
3137
|
else if (data[_Bu] != null && data[_Bu][_B] != null) {
|
|
3083
3138
|
contents[_Bu] = de_Buckets(__getArrayIfSingleItem(data[_Bu][_B]), context);
|
|
3084
3139
|
}
|
|
3085
|
-
if (data[
|
|
3086
|
-
contents[
|
|
3140
|
+
if (data[_CTon] != null) {
|
|
3141
|
+
contents[_CTon] = __expectString(data[_CTon]);
|
|
3087
3142
|
}
|
|
3088
3143
|
if (data[_O] != null) {
|
|
3089
3144
|
contents[_O] = de_Owner(data[_O], context);
|
|
@@ -3107,8 +3162,8 @@ export const de_ListDirectoryBucketsCommand = async (output, context) => {
|
|
|
3107
3162
|
else if (data[_Bu] != null && data[_Bu][_B] != null) {
|
|
3108
3163
|
contents[_Bu] = de_Buckets(__getArrayIfSingleItem(data[_Bu][_B]), context);
|
|
3109
3164
|
}
|
|
3110
|
-
if (data[
|
|
3111
|
-
contents[
|
|
3165
|
+
if (data[_CTon] != null) {
|
|
3166
|
+
contents[_CTon] = __expectString(data[_CTon]);
|
|
3112
3167
|
}
|
|
3113
3168
|
return contents;
|
|
3114
3169
|
};
|
|
@@ -3233,8 +3288,8 @@ export const de_ListObjectsV2Command = async (output, context) => {
|
|
|
3233
3288
|
else if (data[_Co] != null) {
|
|
3234
3289
|
contents[_Co] = de_ObjectList(__getArrayIfSingleItem(data[_Co]), context);
|
|
3235
3290
|
}
|
|
3236
|
-
if (data[
|
|
3237
|
-
contents[
|
|
3291
|
+
if (data[_CTon] != null) {
|
|
3292
|
+
contents[_CTon] = __expectString(data[_CTon]);
|
|
3238
3293
|
}
|
|
3239
3294
|
if (data[_D] != null) {
|
|
3240
3295
|
contents[_D] = __expectString(data[_D]);
|
|
@@ -3344,6 +3399,9 @@ export const de_ListPartsCommand = async (output, context) => {
|
|
|
3344
3399
|
if (data[_CA] != null) {
|
|
3345
3400
|
contents[_CA] = __expectString(data[_CA]);
|
|
3346
3401
|
}
|
|
3402
|
+
if (data[_CT] != null) {
|
|
3403
|
+
contents[_CT] = __expectString(data[_CT]);
|
|
3404
|
+
}
|
|
3347
3405
|
if (data[_In] != null) {
|
|
3348
3406
|
contents[_In] = de_Initiator(data[_In], context);
|
|
3349
3407
|
}
|
|
@@ -3570,8 +3628,10 @@ export const de_PutObjectCommand = async (output, context) => {
|
|
|
3570
3628
|
[_ETa]: [, output.headers[_eta]],
|
|
3571
3629
|
[_CCRC]: [, output.headers[_xacc]],
|
|
3572
3630
|
[_CCRCC]: [, output.headers[_xacc_]],
|
|
3631
|
+
[_CCRCNVME]: [, output.headers[_xacc__]],
|
|
3573
3632
|
[_CSHA]: [, output.headers[_xacs]],
|
|
3574
3633
|
[_CSHAh]: [, output.headers[_xacs_]],
|
|
3634
|
+
[_CT]: [, output.headers[_xact]],
|
|
3575
3635
|
[_SSE]: [, output.headers[_xasse]],
|
|
3576
3636
|
[_VI]: [, output.headers[_xavi]],
|
|
3577
3637
|
[_SSECA]: [, output.headers[_xasseca]],
|
|
@@ -3650,6 +3710,16 @@ export const de_PutPublicAccessBlockCommand = async (output, context) => {
|
|
|
3650
3710
|
await collectBody(output.body, context);
|
|
3651
3711
|
return contents;
|
|
3652
3712
|
};
|
|
3713
|
+
export const de_RenameObjectCommand = async (output, context) => {
|
|
3714
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3715
|
+
return de_CommandError(output, context);
|
|
3716
|
+
}
|
|
3717
|
+
const contents = map({
|
|
3718
|
+
$metadata: deserializeMetadata(output),
|
|
3719
|
+
});
|
|
3720
|
+
await collectBody(output.body, context);
|
|
3721
|
+
return contents;
|
|
3722
|
+
};
|
|
3653
3723
|
export const de_RestoreObjectCommand = async (output, context) => {
|
|
3654
3724
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3655
3725
|
return de_CommandError(output, context);
|
|
@@ -3683,6 +3753,7 @@ export const de_UploadPartCommand = async (output, context) => {
|
|
|
3683
3753
|
[_ETa]: [, output.headers[_eta]],
|
|
3684
3754
|
[_CCRC]: [, output.headers[_xacc]],
|
|
3685
3755
|
[_CCRCC]: [, output.headers[_xacc_]],
|
|
3756
|
+
[_CCRCNVME]: [, output.headers[_xacc__]],
|
|
3686
3757
|
[_CSHA]: [, output.headers[_xacs]],
|
|
3687
3758
|
[_CSHAh]: [, output.headers[_xacs_]],
|
|
3688
3759
|
[_SSECA]: [, output.headers[_xasseca]],
|
|
@@ -3765,6 +3836,9 @@ const de_CommandError = async (output, context) => {
|
|
|
3765
3836
|
case "TooManyParts":
|
|
3766
3837
|
case "com.amazonaws.s3#TooManyParts":
|
|
3767
3838
|
throw await de_TooManyPartsRes(parsedOutput, context);
|
|
3839
|
+
case "IdempotencyParameterMismatch":
|
|
3840
|
+
case "com.amazonaws.s3#IdempotencyParameterMismatch":
|
|
3841
|
+
throw await de_IdempotencyParameterMismatchRes(parsedOutput, context);
|
|
3768
3842
|
case "ObjectAlreadyInActiveTierError":
|
|
3769
3843
|
case "com.amazonaws.s3#ObjectAlreadyInActiveTierError":
|
|
3770
3844
|
throw await de_ObjectAlreadyInActiveTierErrorRes(parsedOutput, context);
|
|
@@ -3805,6 +3879,15 @@ const de_EncryptionTypeMismatchRes = async (parsedOutput, context) => {
|
|
|
3805
3879
|
});
|
|
3806
3880
|
return __decorateServiceException(exception, parsedOutput.body);
|
|
3807
3881
|
};
|
|
3882
|
+
const de_IdempotencyParameterMismatchRes = async (parsedOutput, context) => {
|
|
3883
|
+
const contents = map({});
|
|
3884
|
+
const data = parsedOutput.body;
|
|
3885
|
+
const exception = new IdempotencyParameterMismatch({
|
|
3886
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3887
|
+
...contents,
|
|
3888
|
+
});
|
|
3889
|
+
return __decorateServiceException(exception, parsedOutput.body);
|
|
3890
|
+
};
|
|
3808
3891
|
const de_InvalidObjectStateRes = async (parsedOutput, context) => {
|
|
3809
3892
|
const contents = map({});
|
|
3810
3893
|
const data = parsedOutput.body;
|
|
@@ -3928,7 +4011,7 @@ const de_SelectObjectContentEventStream = (output, context) => {
|
|
|
3928
4011
|
End: await de_EndEvent_event(event["End"], context),
|
|
3929
4012
|
};
|
|
3930
4013
|
}
|
|
3931
|
-
return { $unknown:
|
|
4014
|
+
return { $unknown: event };
|
|
3932
4015
|
});
|
|
3933
4016
|
};
|
|
3934
4017
|
const de_ContinuationEvent_event = async (output, context) => {
|
|
@@ -4110,6 +4193,7 @@ const se_CompletedPart = (input, context) => {
|
|
|
4110
4193
|
bn.cc(input, _ETa);
|
|
4111
4194
|
bn.cc(input, _CCRC);
|
|
4112
4195
|
bn.cc(input, _CCRCC);
|
|
4196
|
+
bn.cc(input, _CCRCNVME);
|
|
4113
4197
|
bn.cc(input, _CSHA);
|
|
4114
4198
|
bn.cc(input, _CSHAh);
|
|
4115
4199
|
if (input[_PN] != null) {
|
|
@@ -4167,6 +4251,7 @@ const se_CreateBucketConfiguration = (input, context) => {
|
|
|
4167
4251
|
if (input[_B] != null) {
|
|
4168
4252
|
bn.c(se_BucketInfo(input[_B], context).n(_B));
|
|
4169
4253
|
}
|
|
4254
|
+
bn.lc(input, "Tags", "Tags", () => se_TagSet(input[_Tag], context));
|
|
4170
4255
|
return bn;
|
|
4171
4256
|
};
|
|
4172
4257
|
const se_CSVInput = (input, context) => {
|
|
@@ -5416,6 +5501,9 @@ const de_Bucket = (output, context) => {
|
|
|
5416
5501
|
if (output[_BR] != null) {
|
|
5417
5502
|
contents[_BR] = __expectString(output[_BR]);
|
|
5418
5503
|
}
|
|
5504
|
+
if (output[_BA] != null) {
|
|
5505
|
+
contents[_BA] = __expectString(output[_BA]);
|
|
5506
|
+
}
|
|
5419
5507
|
return contents;
|
|
5420
5508
|
};
|
|
5421
5509
|
const de_Buckets = (output, context) => {
|
|
@@ -5433,12 +5521,18 @@ const de_Checksum = (output, context) => {
|
|
|
5433
5521
|
if (output[_CCRCC] != null) {
|
|
5434
5522
|
contents[_CCRCC] = __expectString(output[_CCRCC]);
|
|
5435
5523
|
}
|
|
5524
|
+
if (output[_CCRCNVME] != null) {
|
|
5525
|
+
contents[_CCRCNVME] = __expectString(output[_CCRCNVME]);
|
|
5526
|
+
}
|
|
5436
5527
|
if (output[_CSHA] != null) {
|
|
5437
5528
|
contents[_CSHA] = __expectString(output[_CSHA]);
|
|
5438
5529
|
}
|
|
5439
5530
|
if (output[_CSHAh] != null) {
|
|
5440
5531
|
contents[_CSHAh] = __expectString(output[_CSHAh]);
|
|
5441
5532
|
}
|
|
5533
|
+
if (output[_CT] != null) {
|
|
5534
|
+
contents[_CT] = __expectString(output[_CT]);
|
|
5535
|
+
}
|
|
5442
5536
|
return contents;
|
|
5443
5537
|
};
|
|
5444
5538
|
const de_ChecksumAlgorithmList = (output, context) => {
|
|
@@ -5484,12 +5578,18 @@ const de_CopyObjectResult = (output, context) => {
|
|
|
5484
5578
|
if (output[_LM] != null) {
|
|
5485
5579
|
contents[_LM] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LM]));
|
|
5486
5580
|
}
|
|
5581
|
+
if (output[_CT] != null) {
|
|
5582
|
+
contents[_CT] = __expectString(output[_CT]);
|
|
5583
|
+
}
|
|
5487
5584
|
if (output[_CCRC] != null) {
|
|
5488
5585
|
contents[_CCRC] = __expectString(output[_CCRC]);
|
|
5489
5586
|
}
|
|
5490
5587
|
if (output[_CCRCC] != null) {
|
|
5491
5588
|
contents[_CCRCC] = __expectString(output[_CCRCC]);
|
|
5492
5589
|
}
|
|
5590
|
+
if (output[_CCRCNVME] != null) {
|
|
5591
|
+
contents[_CCRCNVME] = __expectString(output[_CCRCNVME]);
|
|
5592
|
+
}
|
|
5493
5593
|
if (output[_CSHA] != null) {
|
|
5494
5594
|
contents[_CSHA] = __expectString(output[_CSHA]);
|
|
5495
5595
|
}
|
|
@@ -5512,6 +5612,9 @@ const de_CopyPartResult = (output, context) => {
|
|
|
5512
5612
|
if (output[_CCRCC] != null) {
|
|
5513
5613
|
contents[_CCRCC] = __expectString(output[_CCRCC]);
|
|
5514
5614
|
}
|
|
5615
|
+
if (output[_CCRCNVME] != null) {
|
|
5616
|
+
contents[_CCRCNVME] = __expectString(output[_CCRCNVME]);
|
|
5617
|
+
}
|
|
5515
5618
|
if (output[_CSHA] != null) {
|
|
5516
5619
|
contents[_CSHA] = __expectString(output[_CSHA]);
|
|
5517
5620
|
}
|
|
@@ -6221,6 +6324,9 @@ const de_MultipartUpload = (output, context) => {
|
|
|
6221
6324
|
if (output[_CA] != null) {
|
|
6222
6325
|
contents[_CA] = __expectString(output[_CA]);
|
|
6223
6326
|
}
|
|
6327
|
+
if (output[_CT] != null) {
|
|
6328
|
+
contents[_CT] = __expectString(output[_CT]);
|
|
6329
|
+
}
|
|
6224
6330
|
return contents;
|
|
6225
6331
|
};
|
|
6226
6332
|
const de_MultipartUploadList = (output, context) => {
|
|
@@ -6284,6 +6390,9 @@ const de__Object = (output, context) => {
|
|
|
6284
6390
|
else if (output[_CA] != null) {
|
|
6285
6391
|
contents[_CA] = de_ChecksumAlgorithmList(__getArrayIfSingleItem(output[_CA]), context);
|
|
6286
6392
|
}
|
|
6393
|
+
if (output[_CT] != null) {
|
|
6394
|
+
contents[_CT] = __expectString(output[_CT]);
|
|
6395
|
+
}
|
|
6287
6396
|
if (output[_Si] != null) {
|
|
6288
6397
|
contents[_Si] = __strictParseLong(output[_Si]);
|
|
6289
6398
|
}
|
|
@@ -6293,8 +6402,8 @@ const de__Object = (output, context) => {
|
|
|
6293
6402
|
if (output[_O] != null) {
|
|
6294
6403
|
contents[_O] = de_Owner(output[_O], context);
|
|
6295
6404
|
}
|
|
6296
|
-
if (output[
|
|
6297
|
-
contents[
|
|
6405
|
+
if (output[_RSes] != null) {
|
|
6406
|
+
contents[_RSes] = de_RestoreStatus(output[_RSes], context);
|
|
6298
6407
|
}
|
|
6299
6408
|
return contents;
|
|
6300
6409
|
};
|
|
@@ -6353,6 +6462,9 @@ const de_ObjectPart = (output, context) => {
|
|
|
6353
6462
|
if (output[_CCRCC] != null) {
|
|
6354
6463
|
contents[_CCRCC] = __expectString(output[_CCRCC]);
|
|
6355
6464
|
}
|
|
6465
|
+
if (output[_CCRCNVME] != null) {
|
|
6466
|
+
contents[_CCRCNVME] = __expectString(output[_CCRCNVME]);
|
|
6467
|
+
}
|
|
6356
6468
|
if (output[_CSHA] != null) {
|
|
6357
6469
|
contents[_CSHA] = __expectString(output[_CSHA]);
|
|
6358
6470
|
}
|
|
@@ -6372,6 +6484,9 @@ const de_ObjectVersion = (output, context) => {
|
|
|
6372
6484
|
else if (output[_CA] != null) {
|
|
6373
6485
|
contents[_CA] = de_ChecksumAlgorithmList(__getArrayIfSingleItem(output[_CA]), context);
|
|
6374
6486
|
}
|
|
6487
|
+
if (output[_CT] != null) {
|
|
6488
|
+
contents[_CT] = __expectString(output[_CT]);
|
|
6489
|
+
}
|
|
6375
6490
|
if (output[_Si] != null) {
|
|
6376
6491
|
contents[_Si] = __strictParseLong(output[_Si]);
|
|
6377
6492
|
}
|
|
@@ -6393,8 +6508,8 @@ const de_ObjectVersion = (output, context) => {
|
|
|
6393
6508
|
if (output[_O] != null) {
|
|
6394
6509
|
contents[_O] = de_Owner(output[_O], context);
|
|
6395
6510
|
}
|
|
6396
|
-
if (output[
|
|
6397
|
-
contents[
|
|
6511
|
+
if (output[_RSes] != null) {
|
|
6512
|
+
contents[_RSes] = de_RestoreStatus(output[_RSes], context);
|
|
6398
6513
|
}
|
|
6399
6514
|
return contents;
|
|
6400
6515
|
};
|
|
@@ -6459,6 +6574,9 @@ const de_Part = (output, context) => {
|
|
|
6459
6574
|
if (output[_CCRCC] != null) {
|
|
6460
6575
|
contents[_CCRCC] = __expectString(output[_CCRCC]);
|
|
6461
6576
|
}
|
|
6577
|
+
if (output[_CCRCNVME] != null) {
|
|
6578
|
+
contents[_CCRCNVME] = __expectString(output[_CCRCNVME]);
|
|
6579
|
+
}
|
|
6462
6580
|
if (output[_CSHA] != null) {
|
|
6463
6581
|
contents[_CSHA] = __expectString(output[_CSHA]);
|
|
6464
6582
|
}
|
|
@@ -6996,6 +7114,7 @@ const _ASSEBD = "ApplyServerSideEncryptionByDefault";
|
|
|
6996
7114
|
const _AT = "AccessTier";
|
|
6997
7115
|
const _Ac = "Account";
|
|
6998
7116
|
const _B = "Bucket";
|
|
7117
|
+
const _BA = "BucketArn";
|
|
6999
7118
|
const _BAI = "BucketAccountId";
|
|
7000
7119
|
const _BAS = "BucketAccelerateStatus";
|
|
7001
7120
|
const _BGR = "BypassGovernanceRetention";
|
|
@@ -7024,6 +7143,7 @@ const _CBC = "CreateBucketConfiguration";
|
|
|
7024
7143
|
const _CC = "CacheControl";
|
|
7025
7144
|
const _CCRC = "ChecksumCRC32";
|
|
7026
7145
|
const _CCRCC = "ChecksumCRC32C";
|
|
7146
|
+
const _CCRCNVME = "ChecksumCRC64NVME";
|
|
7027
7147
|
const _CD = "ContentDisposition";
|
|
7028
7148
|
const _CDr = "CreationDate";
|
|
7029
7149
|
const _CE = "ContentEncoding";
|
|
@@ -7056,9 +7176,11 @@ const _CSV = "CSV";
|
|
|
7056
7176
|
const _CSVI = "CopySourceVersionId";
|
|
7057
7177
|
const _CSVIn = "CSVInput";
|
|
7058
7178
|
const _CSVO = "CSVOutput";
|
|
7059
|
-
const _CT = "
|
|
7060
|
-
const
|
|
7179
|
+
const _CT = "ChecksumType";
|
|
7180
|
+
const _CTl = "ClientToken";
|
|
7181
|
+
const _CTo = "ContentType";
|
|
7061
7182
|
const _CTom = "CompressionType";
|
|
7183
|
+
const _CTon = "ContinuationToken";
|
|
7062
7184
|
const _Ch = "Checksum";
|
|
7063
7185
|
const _Co = "Contents";
|
|
7064
7186
|
const _Cod = "Code";
|
|
@@ -7067,6 +7189,10 @@ const _Con = "Condition";
|
|
|
7067
7189
|
const _D = "Delimiter";
|
|
7068
7190
|
const _DAI = "DaysAfterInitiation";
|
|
7069
7191
|
const _DE = "DataExport";
|
|
7192
|
+
const _DIM = "DestinationIfMatch";
|
|
7193
|
+
const _DIMS = "DestinationIfModifiedSince";
|
|
7194
|
+
const _DINM = "DestinationIfNoneMatch";
|
|
7195
|
+
const _DIUS = "DestinationIfUnmodifiedSince";
|
|
7070
7196
|
const _DM = "DeleteMarker";
|
|
7071
7197
|
const _DMR = "DeleteMarkerReplication";
|
|
7072
7198
|
const _DMRS = "DeleteMarkerReplicationStatus";
|
|
@@ -7220,6 +7346,7 @@ const _MI = "MetricsId";
|
|
|
7220
7346
|
const _MK = "MaxKeys";
|
|
7221
7347
|
const _MKe = "MetadataKey";
|
|
7222
7348
|
const _MM = "MissingMeta";
|
|
7349
|
+
const _MOS = "MpuObjectSize";
|
|
7223
7350
|
const _MP = "MaxParts";
|
|
7224
7351
|
const _MS = "MetricsStatus";
|
|
7225
7352
|
const _MTC = "MetadataTableConfiguration";
|
|
@@ -7331,8 +7458,9 @@ const _RRe = "ReplicationRule";
|
|
|
7331
7458
|
const _RRes = "RestoreRequest";
|
|
7332
7459
|
const _RRo = "RoutingRules";
|
|
7333
7460
|
const _RRou = "RoutingRule";
|
|
7334
|
-
const _RS = "
|
|
7335
|
-
const _RSe = "
|
|
7461
|
+
const _RS = "RenameSource";
|
|
7462
|
+
const _RSe = "ReplicationStatus";
|
|
7463
|
+
const _RSes = "RestoreStatus";
|
|
7336
7464
|
const _RT = "RequestToken";
|
|
7337
7465
|
const _RTS = "ReplicationTimeStatus";
|
|
7338
7466
|
const _RTV = "ReplicationTimeValue";
|
|
@@ -7353,6 +7481,10 @@ const _SCADE = "StorageClassAnalysisDataExport";
|
|
|
7353
7481
|
const _SCASV = "StorageClassAnalysisSchemaVersion";
|
|
7354
7482
|
const _SCt = "StatusCode";
|
|
7355
7483
|
const _SDV = "SkipDestinationValidation";
|
|
7484
|
+
const _SIM = "SourceIfMatch";
|
|
7485
|
+
const _SIMS = "SourceIfModifiedSince";
|
|
7486
|
+
const _SINM = "SourceIfNoneMatch";
|
|
7487
|
+
const _SIUS = "SourceIfUnmodifiedSince";
|
|
7356
7488
|
const _SK = "SSE-KMS";
|
|
7357
7489
|
const _SKEO = "SseKmsEncryptedObjects";
|
|
7358
7490
|
const _SKEOS = "SseKmsEncryptedObjectsStatus";
|
|
@@ -7493,6 +7625,7 @@ const _pS = "policyStatus";
|
|
|
7493
7625
|
const _pnm = "part-number-marker";
|
|
7494
7626
|
const _pr = "prefix";
|
|
7495
7627
|
const _r = "replication";
|
|
7628
|
+
const _rO = "renameObject";
|
|
7496
7629
|
const _rP = "requestPayment";
|
|
7497
7630
|
const _ra = "range";
|
|
7498
7631
|
const _rcc = "response-cache-control";
|
|
@@ -7524,6 +7657,7 @@ const _xaad = "x-amz-abort-date";
|
|
|
7524
7657
|
const _xaapa = "x-amz-access-point-alias";
|
|
7525
7658
|
const _xaari = "x-amz-abort-rule-id";
|
|
7526
7659
|
const _xaas = "x-amz-archive-status";
|
|
7660
|
+
const _xaba = "x-amz-bucket-arn";
|
|
7527
7661
|
const _xabgr = "x-amz-bypass-governance-retention";
|
|
7528
7662
|
const _xabln = "x-amz-bucket-location-name";
|
|
7529
7663
|
const _xablt = "x-amz-bucket-location-type";
|
|
@@ -7533,6 +7667,7 @@ const _xabr = "x-amz-bucket-region";
|
|
|
7533
7667
|
const _xaca = "x-amz-checksum-algorithm";
|
|
7534
7668
|
const _xacc = "x-amz-checksum-crc32";
|
|
7535
7669
|
const _xacc_ = "x-amz-checksum-crc32c";
|
|
7670
|
+
const _xacc__ = "x-amz-checksum-crc64nvme";
|
|
7536
7671
|
const _xacm = "x-amz-checksum-mode";
|
|
7537
7672
|
const _xacrsba = "x-amz-confirm-remove-self-bucket-access";
|
|
7538
7673
|
const _xacs = "x-amz-checksum-sha1";
|
|
@@ -7548,6 +7683,8 @@ const _xacssseca = "x-amz-copy-source-server-side-encryption-customer-algorithm"
|
|
|
7548
7683
|
const _xacssseck = "x-amz-copy-source-server-side-encryption-customer-key";
|
|
7549
7684
|
const _xacssseckm = "x-amz-copy-source-server-side-encryption-customer-key-md5";
|
|
7550
7685
|
const _xacsvi = "x-amz-copy-source-version-id";
|
|
7686
|
+
const _xact = "x-amz-checksum-type";
|
|
7687
|
+
const _xact_ = "x-amz-client-token";
|
|
7551
7688
|
const _xadm = "x-amz-delete-marker";
|
|
7552
7689
|
const _xae = "x-amz-expiration";
|
|
7553
7690
|
const _xaebo = "x-amz-expected-bucket-owner";
|
|
@@ -7565,6 +7702,7 @@ const _xafhe_ = "x-amz-fwd-header-expires";
|
|
|
7565
7702
|
const _xafhlm = "x-amz-fwd-header-last-modified";
|
|
7566
7703
|
const _xafhxacc = "x-amz-fwd-header-x-amz-checksum-crc32";
|
|
7567
7704
|
const _xafhxacc_ = "x-amz-fwd-header-x-amz-checksum-crc32c";
|
|
7705
|
+
const _xafhxacc__ = "x-amz-fwd-header-x-amz-checksum-crc64nvme";
|
|
7568
7706
|
const _xafhxacs = "x-amz-fwd-header-x-amz-checksum-sha1";
|
|
7569
7707
|
const _xafhxacs_ = "x-amz-fwd-header-x-amz-checksum-sha256";
|
|
7570
7708
|
const _xafhxadm = "x-amz-fwd-header-x-amz-delete-marker";
|
|
@@ -7597,6 +7735,7 @@ const _xaims = "x-amz-if-match-size";
|
|
|
7597
7735
|
const _xam = "x-amz-mfa";
|
|
7598
7736
|
const _xamd = "x-amz-metadata-directive";
|
|
7599
7737
|
const _xamm = "x-amz-missing-meta";
|
|
7738
|
+
const _xamos = "x-amz-mp-object-size";
|
|
7600
7739
|
const _xamp = "x-amz-max-parts";
|
|
7601
7740
|
const _xampc = "x-amz-mp-parts-count";
|
|
7602
7741
|
const _xaoa = "x-amz-object-attributes";
|
|
@@ -7612,7 +7751,12 @@ const _xarc = "x-amz-request-charged";
|
|
|
7612
7751
|
const _xarop = "x-amz-restore-output-path";
|
|
7613
7752
|
const _xarp = "x-amz-request-payer";
|
|
7614
7753
|
const _xarr = "x-amz-request-route";
|
|
7615
|
-
const _xars = "x-amz-
|
|
7754
|
+
const _xars = "x-amz-rename-source";
|
|
7755
|
+
const _xars_ = "x-amz-replication-status";
|
|
7756
|
+
const _xarsim = "x-amz-rename-source-if-match";
|
|
7757
|
+
const _xarsims = "x-amz-rename-source-if-modified-since";
|
|
7758
|
+
const _xarsinm = "x-amz-rename-source-if-none-match";
|
|
7759
|
+
const _xarsius = "x-amz-rename-source-if-unmodified-since";
|
|
7616
7760
|
const _xart = "x-amz-request-token";
|
|
7617
7761
|
const _xasc = "x-amz-storage-class";
|
|
7618
7762
|
const _xasca = "x-amz-sdk-checksum-algorithm";
|