@aws-sdk/client-s3 3.1045.0 → 3.1046.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/auth/httpAuthSchemeProvider.js +7 -7
- package/dist-cjs/endpoint/bdd.js +2 -2
- package/dist-cjs/endpoint/endpointResolver.js +4 -4
- package/dist-cjs/index.js +262 -264
- package/dist-cjs/models/S3ServiceException.js +3 -3
- package/dist-cjs/runtimeConfig.browser.js +17 -20
- package/dist-cjs/runtimeConfig.js +29 -33
- package/dist-cjs/runtimeConfig.shared.js +11 -13
- package/dist-es/S3.js +1 -1
- package/dist-es/S3Client.js +6 -6
- package/dist-es/auth/httpAuthSchemeProvider.js +2 -2
- package/dist-es/commands/AbortMultipartUploadCommand.js +2 -2
- package/dist-es/commands/CompleteMultipartUploadCommand.js +2 -2
- package/dist-es/commands/CopyObjectCommand.js +2 -2
- package/dist-es/commands/CreateBucketCommand.js +2 -2
- package/dist-es/commands/CreateBucketMetadataConfigurationCommand.js +2 -2
- package/dist-es/commands/CreateBucketMetadataTableConfigurationCommand.js +2 -2
- package/dist-es/commands/CreateMultipartUploadCommand.js +2 -2
- package/dist-es/commands/CreateSessionCommand.js +2 -2
- package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteBucketCommand.js +2 -2
- package/dist-es/commands/DeleteBucketCorsCommand.js +2 -2
- package/dist-es/commands/DeleteBucketEncryptionCommand.js +2 -2
- package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteBucketLifecycleCommand.js +2 -2
- package/dist-es/commands/DeleteBucketMetadataConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteBucketMetadataTableConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +2 -2
- package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +2 -2
- package/dist-es/commands/DeleteBucketPolicyCommand.js +2 -2
- package/dist-es/commands/DeleteBucketReplicationCommand.js +2 -2
- package/dist-es/commands/DeleteBucketTaggingCommand.js +2 -2
- package/dist-es/commands/DeleteBucketWebsiteCommand.js +2 -2
- package/dist-es/commands/DeleteObjectCommand.js +2 -2
- package/dist-es/commands/DeleteObjectTaggingCommand.js +2 -2
- package/dist-es/commands/DeleteObjectsCommand.js +2 -2
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +2 -2
- package/dist-es/commands/GetBucketAbacCommand.js +2 -2
- package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +2 -2
- package/dist-es/commands/GetBucketAclCommand.js +2 -2
- package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +2 -2
- package/dist-es/commands/GetBucketCorsCommand.js +2 -2
- package/dist-es/commands/GetBucketEncryptionCommand.js +2 -2
- package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +2 -2
- package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +2 -2
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +2 -2
- package/dist-es/commands/GetBucketLocationCommand.js +2 -2
- package/dist-es/commands/GetBucketLoggingCommand.js +2 -2
- package/dist-es/commands/GetBucketMetadataConfigurationCommand.js +2 -2
- package/dist-es/commands/GetBucketMetadataTableConfigurationCommand.js +2 -2
- package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +2 -2
- package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +2 -2
- package/dist-es/commands/GetBucketOwnershipControlsCommand.js +2 -2
- package/dist-es/commands/GetBucketPolicyCommand.js +2 -2
- package/dist-es/commands/GetBucketPolicyStatusCommand.js +2 -2
- package/dist-es/commands/GetBucketReplicationCommand.js +2 -2
- package/dist-es/commands/GetBucketRequestPaymentCommand.js +2 -2
- package/dist-es/commands/GetBucketTaggingCommand.js +2 -2
- package/dist-es/commands/GetBucketVersioningCommand.js +2 -2
- package/dist-es/commands/GetBucketWebsiteCommand.js +2 -2
- package/dist-es/commands/GetObjectAclCommand.js +2 -2
- package/dist-es/commands/GetObjectAttributesCommand.js +2 -2
- package/dist-es/commands/GetObjectCommand.js +2 -2
- package/dist-es/commands/GetObjectLegalHoldCommand.js +2 -2
- package/dist-es/commands/GetObjectLockConfigurationCommand.js +2 -2
- package/dist-es/commands/GetObjectRetentionCommand.js +2 -2
- package/dist-es/commands/GetObjectTaggingCommand.js +2 -2
- package/dist-es/commands/GetObjectTorrentCommand.js +2 -2
- package/dist-es/commands/GetPublicAccessBlockCommand.js +2 -2
- package/dist-es/commands/HeadBucketCommand.js +2 -2
- package/dist-es/commands/HeadObjectCommand.js +2 -2
- package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +2 -2
- package/dist-es/commands/ListBucketsCommand.js +2 -2
- package/dist-es/commands/ListDirectoryBucketsCommand.js +2 -2
- package/dist-es/commands/ListMultipartUploadsCommand.js +2 -2
- package/dist-es/commands/ListObjectVersionsCommand.js +2 -2
- package/dist-es/commands/ListObjectsCommand.js +2 -2
- package/dist-es/commands/ListObjectsV2Command.js +2 -2
- package/dist-es/commands/ListPartsCommand.js +2 -2
- package/dist-es/commands/PutBucketAbacCommand.js +2 -2
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +2 -2
- package/dist-es/commands/PutBucketAclCommand.js +2 -2
- package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +2 -2
- package/dist-es/commands/PutBucketCorsCommand.js +2 -2
- package/dist-es/commands/PutBucketEncryptionCommand.js +2 -2
- package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +2 -2
- package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +2 -2
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +2 -2
- package/dist-es/commands/PutBucketLoggingCommand.js +2 -2
- package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +2 -2
- package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +2 -2
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +2 -2
- package/dist-es/commands/PutBucketPolicyCommand.js +2 -2
- package/dist-es/commands/PutBucketReplicationCommand.js +2 -2
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +2 -2
- package/dist-es/commands/PutBucketTaggingCommand.js +2 -2
- package/dist-es/commands/PutBucketVersioningCommand.js +2 -2
- package/dist-es/commands/PutBucketWebsiteCommand.js +2 -2
- package/dist-es/commands/PutObjectAclCommand.js +2 -2
- package/dist-es/commands/PutObjectCommand.js +2 -2
- package/dist-es/commands/PutObjectLegalHoldCommand.js +2 -2
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +2 -2
- package/dist-es/commands/PutObjectRetentionCommand.js +2 -2
- package/dist-es/commands/PutObjectTaggingCommand.js +2 -2
- package/dist-es/commands/PutPublicAccessBlockCommand.js +2 -2
- package/dist-es/commands/RenameObjectCommand.js +2 -2
- package/dist-es/commands/RestoreObjectCommand.js +2 -2
- package/dist-es/commands/SelectObjectContentCommand.js +2 -2
- package/dist-es/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateBucketMetadataJournalTableConfigurationCommand.js +2 -2
- package/dist-es/commands/UpdateObjectEncryptionCommand.js +2 -2
- package/dist-es/commands/UploadPartCommand.js +2 -2
- package/dist-es/commands/UploadPartCopyCommand.js +2 -2
- package/dist-es/commands/WriteGetObjectResponseCommand.js +2 -2
- package/dist-es/endpoint/bdd.js +1 -1
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/S3ServiceException.js +1 -1
- package/dist-es/runtimeConfig.browser.js +6 -9
- package/dist-es/runtimeConfig.js +6 -10
- package/dist-es/runtimeConfig.shared.js +3 -5
- package/dist-es/runtimeExtensions.js +2 -2
- package/dist-es/waiters/waitForBucketExists.js +1 -1
- package/dist-es/waiters/waitForBucketNotExists.js +1 -1
- package/dist-es/waiters/waitForObjectExists.js +1 -1
- package/dist-es/waiters/waitForObjectNotExists.js +1 -1
- package/dist-types/S3.d.ts +1 -1
- package/dist-types/S3Client.d.ts +6 -6
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +6 -4
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +6 -4
- package/dist-types/commands/CopyObjectCommand.d.ts +6 -4
- package/dist-types/commands/CreateBucketCommand.d.ts +6 -4
- package/dist-types/commands/CreateBucketMetadataConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +6 -4
- package/dist-types/commands/CreateSessionCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketMetadataConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +6 -4
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +6 -4
- package/dist-types/commands/DeleteObjectCommand.d.ts +6 -4
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +6 -4
- package/dist-types/commands/DeleteObjectsCommand.d.ts +6 -4
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketAbacCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketAclCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketCorsCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketLocationCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketMetadataConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketMetadataTableConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +6 -4
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +6 -4
- package/dist-types/commands/GetObjectAclCommand.d.ts +6 -4
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +6 -4
- package/dist-types/commands/GetObjectCommand.d.ts +6 -4
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +6 -4
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +6 -4
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +6 -4
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +6 -4
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +6 -4
- package/dist-types/commands/HeadBucketCommand.d.ts +6 -4
- package/dist-types/commands/HeadObjectCommand.d.ts +6 -4
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +6 -4
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +6 -4
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +6 -4
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +6 -4
- package/dist-types/commands/ListBucketsCommand.d.ts +6 -4
- package/dist-types/commands/ListDirectoryBucketsCommand.d.ts +6 -4
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +6 -4
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +6 -4
- package/dist-types/commands/ListObjectsCommand.d.ts +6 -4
- package/dist-types/commands/ListObjectsV2Command.d.ts +6 -4
- package/dist-types/commands/ListPartsCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketAbacCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketAclCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketCorsCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +6 -4
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +6 -4
- package/dist-types/commands/PutObjectAclCommand.d.ts +6 -4
- package/dist-types/commands/PutObjectCommand.d.ts +6 -4
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +6 -4
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +6 -4
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +6 -4
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +6 -4
- package/dist-types/commands/RenameObjectCommand.d.ts +6 -4
- package/dist-types/commands/RestoreObjectCommand.d.ts +6 -4
- package/dist-types/commands/SelectObjectContentCommand.d.ts +6 -4
- package/dist-types/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +6 -4
- package/dist-types/commands/UpdateObjectEncryptionCommand.d.ts +6 -4
- package/dist-types/commands/UploadPartCommand.d.ts +6 -4
- package/dist-types/commands/UploadPartCopyCommand.d.ts +6 -4
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +6 -4
- package/dist-types/endpoint/bdd.d.ts +1 -1
- package/dist-types/extensionConfiguration.d.ts +1 -1
- package/dist-types/models/S3ServiceException.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +3 -3
- package/dist-types/runtimeConfig.d.ts +3 -3
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/S3.d.ts +1 -1
- package/dist-types/ts3.4/S3Client.d.ts +12 -18
- package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateBucketMetadataConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateBucketMetadataTableConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketMetadataConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketMetadataTableConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketAbacCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketMetadataConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketMetadataTableConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListDirectoryBucketsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +6 -4
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/PutBucketAbacCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +6 -8
- package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RenameObjectCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateBucketMetadataInventoryTableConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateBucketMetadataJournalTableConfigurationCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UpdateObjectEncryptionCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +6 -4
- package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +6 -4
- package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
- package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/models/S3ServiceException.d.ts +1 -1
- package/dist-types/ts3.4/models/errors.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +3 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -4
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForBucketExists.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForBucketNotExists.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForObjectExists.d.ts +1 -1
- package/dist-types/ts3.4/waiters/waitForObjectNotExists.d.ts +1 -1
- package/dist-types/waiters/waitForBucketExists.d.ts +1 -1
- package/dist-types/waiters/waitForBucketNotExists.d.ts +1 -1
- package/dist-types/waiters/waitForObjectExists.d.ts +1 -1
- package/dist-types/waiters/waitForObjectNotExists.d.ts +1 -1
- package/package.json +20 -49
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.S3ServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return
|
|
6
|
-
class S3ServiceException extends
|
|
4
|
+
const client_1 = require("@smithy/core/client");
|
|
5
|
+
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return client_1.ServiceException; } });
|
|
6
|
+
class S3ServiceException extends client_1.ServiceException {
|
|
7
7
|
constructor(options) {
|
|
8
8
|
super(options);
|
|
9
9
|
Object.setPrototypeOf(this, S3ServiceException.prototype);
|
|
@@ -6,41 +6,38 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const sha1_browser_1 = require("@aws-crypto/sha1-browser");
|
|
7
7
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
8
8
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
9
|
-
const
|
|
10
|
-
const
|
|
9
|
+
const checksum_1 = require("@smithy/core/checksum");
|
|
10
|
+
const client_1 = require("@smithy/core/client");
|
|
11
|
+
const config_1 = require("@smithy/core/config");
|
|
12
|
+
const event_streams_1 = require("@smithy/core/event-streams");
|
|
13
|
+
const retry_1 = require("@smithy/core/retry");
|
|
14
|
+
const serde_1 = require("@smithy/core/serde");
|
|
11
15
|
const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
12
|
-
const hash_blob_browser_1 = require("@smithy/hash-blob-browser");
|
|
13
|
-
const invalid_dependency_1 = require("@smithy/invalid-dependency");
|
|
14
|
-
const md5_js_1 = require("@smithy/md5-js");
|
|
15
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
16
|
-
const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
|
|
17
|
-
const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
|
|
18
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
19
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
20
17
|
const getRuntimeConfig = (config) => {
|
|
21
|
-
const defaultsMode = (0,
|
|
22
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
18
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
19
|
+
const defaultConfigProvider = () => defaultsMode().then(client_1.loadConfigsForDefaultMode);
|
|
23
20
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
24
21
|
return {
|
|
25
22
|
...clientSharedValues,
|
|
26
23
|
...config,
|
|
27
24
|
runtime: "browser",
|
|
28
25
|
defaultsMode,
|
|
29
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
26
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
30
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
31
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
32
|
-
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ??
|
|
33
|
-
maxAttempts: config?.maxAttempts ??
|
|
34
|
-
md5: config?.md5 ??
|
|
35
|
-
region: config?.region ?? (0,
|
|
29
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
31
|
+
md5: config?.md5 ?? checksum_1.Md5,
|
|
32
|
+
region: config?.region ?? (0, client_1.invalidProvider)("Region is missing"),
|
|
36
33
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
37
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
34
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
38
35
|
sha1: config?.sha1 ?? sha1_browser_1.Sha1,
|
|
39
36
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
40
37
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
41
|
-
streamHasher: config?.streamHasher ??
|
|
42
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(
|
|
43
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(
|
|
38
|
+
streamHasher: config?.streamHasher ?? checksum_1.blobHasher,
|
|
39
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
40
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
44
41
|
};
|
|
45
42
|
};
|
|
46
43
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -10,22 +10,18 @@ const middleware_bucket_endpoint_1 = require("@aws-sdk/middleware-bucket-endpoin
|
|
|
10
10
|
const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums");
|
|
11
11
|
const middleware_sdk_s3_1 = require("@aws-sdk/middleware-sdk-s3");
|
|
12
12
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
const
|
|
13
|
+
const checksum_1 = require("@smithy/core/checksum");
|
|
14
|
+
const client_2 = require("@smithy/core/client");
|
|
15
|
+
const config_1 = require("@smithy/core/config");
|
|
16
|
+
const event_streams_1 = require("@smithy/core/event-streams");
|
|
17
|
+
const retry_1 = require("@smithy/core/retry");
|
|
18
|
+
const serde_1 = require("@smithy/core/serde");
|
|
19
19
|
const node_http_handler_1 = require("@smithy/node-http-handler");
|
|
20
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
21
|
-
const util_body_length_node_1 = require("@smithy/util-body-length-node");
|
|
22
|
-
const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
|
|
23
|
-
const util_retry_1 = require("@smithy/util-retry");
|
|
24
20
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
25
21
|
const getRuntimeConfig = (config) => {
|
|
26
|
-
(0,
|
|
27
|
-
const defaultsMode = (0,
|
|
28
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
22
|
+
(0, client_2.emitWarningIfUnsupportedVersion)(process.version);
|
|
23
|
+
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
24
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
29
25
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
30
26
|
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
31
27
|
const loaderConfig = {
|
|
@@ -37,32 +33,32 @@ const getRuntimeConfig = (config) => {
|
|
|
37
33
|
...config,
|
|
38
34
|
runtime: "node",
|
|
39
35
|
defaultsMode,
|
|
40
|
-
authSchemePreference: config?.authSchemePreference ?? (0,
|
|
41
|
-
bodyLengthChecker: config?.bodyLengthChecker ??
|
|
36
|
+
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
37
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
42
38
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
43
39
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
44
|
-
disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0,
|
|
45
|
-
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ??
|
|
46
|
-
maxAttempts: config?.maxAttempts ?? (0,
|
|
47
|
-
md5: config?.md5 ??
|
|
48
|
-
region: config?.region ?? (0,
|
|
49
|
-
requestChecksumCalculation: config?.requestChecksumCalculation ?? (0,
|
|
40
|
+
disableS3ExpressSessionAuth: config?.disableS3ExpressSessionAuth ?? (0, config_1.loadConfig)(middleware_sdk_s3_1.NODE_DISABLE_S3_EXPRESS_SESSION_AUTH_OPTIONS, loaderConfig),
|
|
41
|
+
eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? event_streams_1.eventStreamSerdeProvider,
|
|
42
|
+
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
43
|
+
md5: config?.md5 ?? serde_1.Hash.bind(null, "md5"),
|
|
44
|
+
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
45
|
+
requestChecksumCalculation: config?.requestChecksumCalculation ?? (0, config_1.loadConfig)(middleware_flexible_checksums_1.NODE_REQUEST_CHECKSUM_CALCULATION_CONFIG_OPTIONS, loaderConfig),
|
|
50
46
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
51
|
-
responseChecksumValidation: config?.responseChecksumValidation ?? (0,
|
|
47
|
+
responseChecksumValidation: config?.responseChecksumValidation ?? (0, config_1.loadConfig)(middleware_flexible_checksums_1.NODE_RESPONSE_CHECKSUM_VALIDATION_CONFIG_OPTIONS, loaderConfig),
|
|
52
48
|
retryMode: config?.retryMode ??
|
|
53
|
-
(0,
|
|
54
|
-
...
|
|
55
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
49
|
+
(0, config_1.loadConfig)({
|
|
50
|
+
...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
51
|
+
default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE,
|
|
56
52
|
}, config),
|
|
57
|
-
sha1: config?.sha1 ??
|
|
58
|
-
sha256: config?.sha256 ??
|
|
59
|
-
sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0,
|
|
53
|
+
sha1: config?.sha1 ?? serde_1.Hash.bind(null, "sha1"),
|
|
54
|
+
sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
|
|
55
|
+
sigv4aSigningRegionSet: config?.sigv4aSigningRegionSet ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_SIGV4A_CONFIG_OPTIONS, loaderConfig),
|
|
60
56
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
61
|
-
streamHasher: config?.streamHasher ??
|
|
62
|
-
useArnRegion: config?.useArnRegion ?? (0,
|
|
63
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0,
|
|
64
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0,
|
|
65
|
-
userAgentAppId: config?.userAgentAppId ?? (0,
|
|
57
|
+
streamHasher: config?.streamHasher ?? checksum_1.readableStreamHasher,
|
|
58
|
+
useArnRegion: config?.useArnRegion ?? (0, config_1.loadConfig)(middleware_bucket_endpoint_1.NODE_USE_ARN_REGION_CONFIG_OPTIONS, loaderConfig),
|
|
59
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
60
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
61
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
66
62
|
};
|
|
67
63
|
};
|
|
68
64
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -4,23 +4,21 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const middleware_sdk_s3_1 = require("@aws-sdk/middleware-sdk-s3");
|
|
6
6
|
const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
const util_stream_1 = require("@smithy/util-stream");
|
|
11
|
-
const util_utf8_1 = require("@smithy/util-utf8");
|
|
7
|
+
const client_1 = require("@smithy/core/client");
|
|
8
|
+
const protocols_1 = require("@smithy/core/protocols");
|
|
9
|
+
const serde_1 = require("@smithy/core/serde");
|
|
12
10
|
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
13
11
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
14
12
|
const schemas_0_1 = require("./schemas/schemas_0");
|
|
15
13
|
const getRuntimeConfig = (config) => {
|
|
16
14
|
return {
|
|
17
15
|
apiVersion: "2006-03-01",
|
|
18
|
-
base64Decoder: config?.base64Decoder ??
|
|
19
|
-
base64Encoder: config?.base64Encoder ??
|
|
16
|
+
base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
|
|
17
|
+
base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
|
|
20
18
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
21
19
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
22
20
|
extensions: config?.extensions ?? [],
|
|
23
|
-
getAwsChunkedEncodingStream: config?.getAwsChunkedEncodingStream ??
|
|
21
|
+
getAwsChunkedEncodingStream: config?.getAwsChunkedEncodingStream ?? serde_1.getAwsChunkedEncodingStream,
|
|
24
22
|
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultS3HttpAuthSchemeProvider,
|
|
25
23
|
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
26
24
|
{
|
|
@@ -34,7 +32,7 @@ const getRuntimeConfig = (config) => {
|
|
|
34
32
|
signer: new httpAuthSchemes_1.AwsSdkSigV4ASigner(),
|
|
35
33
|
},
|
|
36
34
|
],
|
|
37
|
-
logger: config?.logger ?? new
|
|
35
|
+
logger: config?.logger ?? new client_1.NoOpLogger(),
|
|
38
36
|
protocol: config?.protocol ?? middleware_sdk_s3_1.S3RestXmlProtocol,
|
|
39
37
|
protocolSettings: config?.protocolSettings ?? {
|
|
40
38
|
defaultNamespace: "com.amazonaws.s3",
|
|
@@ -43,14 +41,14 @@ const getRuntimeConfig = (config) => {
|
|
|
43
41
|
version: "2006-03-01",
|
|
44
42
|
serviceTarget: "AmazonS3",
|
|
45
43
|
},
|
|
46
|
-
sdkStreamMixin: config?.sdkStreamMixin ??
|
|
44
|
+
sdkStreamMixin: config?.sdkStreamMixin ?? serde_1.sdkStreamMixin,
|
|
47
45
|
serviceId: config?.serviceId ?? "S3",
|
|
48
46
|
signerConstructor: config?.signerConstructor ?? signature_v4_multi_region_1.SignatureV4MultiRegion,
|
|
49
47
|
signingEscapePath: config?.signingEscapePath ?? false,
|
|
50
|
-
urlParser: config?.urlParser ??
|
|
48
|
+
urlParser: config?.urlParser ?? protocols_1.parseUrl,
|
|
51
49
|
useArnRegion: config?.useArnRegion ?? undefined,
|
|
52
|
-
utf8Decoder: config?.utf8Decoder ??
|
|
53
|
-
utf8Encoder: config?.utf8Encoder ??
|
|
50
|
+
utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
|
|
51
|
+
utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8,
|
|
54
52
|
};
|
|
55
53
|
};
|
|
56
54
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/S3.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createAggregatedClient } from "@smithy/
|
|
1
|
+
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { AbortMultipartUploadCommand, } from "./commands/AbortMultipartUploadCommand";
|
|
3
3
|
import { CompleteMultipartUploadCommand, } from "./commands/CompleteMultipartUploadCommand";
|
|
4
4
|
import { CopyObjectCommand, } from "./commands/CopyObjectCommand";
|
package/dist-es/S3Client.js
CHANGED
|
@@ -5,14 +5,14 @@ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
|
5
5
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
6
|
import { getRegionRedirectMiddlewarePlugin, getS3ExpressHttpSigningPlugin, getS3ExpressPlugin, getValidateBucketNamePlugin, resolveS3Config, } from "@aws-sdk/middleware-sdk-s3";
|
|
7
7
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
8
|
-
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
9
8
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
9
|
+
import { Client as __Client, } from "@smithy/core/client";
|
|
10
|
+
import { resolveRegionConfig } from "@smithy/core/config";
|
|
11
|
+
import { resolveEndpointConfig } from "@smithy/core/endpoints";
|
|
12
|
+
import { resolveEventStreamSerdeConfig, } from "@smithy/core/event-streams";
|
|
13
|
+
import { getContentLengthPlugin } from "@smithy/core/protocols";
|
|
14
|
+
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/core/retry";
|
|
10
15
|
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
11
|
-
import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver";
|
|
12
|
-
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
13
|
-
import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
|
|
14
|
-
import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
|
|
15
|
-
import { Client as __Client, } from "@smithy/smithy-client";
|
|
16
16
|
import { defaultS3HttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
17
17
|
import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
|
|
18
18
|
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { resolveAwsSdkSigV4AConfig, resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { SignatureV4MultiRegion } from "@aws-sdk/signature-v4-multi-region";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/core/client";
|
|
4
|
+
import { resolveParams } from "@smithy/core/endpoints";
|
|
5
5
|
import { defaultEndpointResolver } from "../endpoint/endpointResolver";
|
|
6
6
|
const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
7
7
|
if (!input) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { AbortMultipartUpload$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
2
|
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { CompleteMultipartUpload$ } from "../schemas/schemas_0";
|
|
7
7
|
export { $Command };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
2
|
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { CopyObject$ } from "../schemas/schemas_0";
|
|
7
7
|
export { $Command };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getLocationConstraintPlugin } from "@aws-sdk/middleware-location-constraint";
|
|
2
2
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { CreateBucket$ } from "../schemas/schemas_0";
|
|
7
7
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateBucketMetadataConfiguration$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateBucketMetadataTableConfiguration$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
2
|
import { getSsecPlugin } from "@aws-sdk/middleware-ssec";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { CreateMultipartUpload$ } from "../schemas/schemas_0";
|
|
7
7
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { CreateSession$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketAnalyticsConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucket$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketCors$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketEncryption$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketIntelligentTieringConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketInventoryConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketLifecycle$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketMetadataConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketMetadataTableConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketMetricsConfiguration$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketOwnershipControls$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketPolicy$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketReplication$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketTagging$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeleteBucketWebsite$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { DeleteObject$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { DeleteObjectTagging$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { getFlexibleChecksumsPlugin } from "@aws-sdk/middleware-flexible-checksums";
|
|
2
2
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
4
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
5
5
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
6
6
|
import { DeleteObjects$ } from "../schemas/schemas_0";
|
|
7
7
|
export { $Command };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
2
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
3
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
4
4
|
import { DeletePublicAccessBlock$ } from "../schemas/schemas_0";
|
|
5
5
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetBucketAbac$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetBucketAccelerateConfiguration$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetBucketAcl$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetBucketAnalyticsConfiguration$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetBucketCors$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getThrow200ExceptionsPlugin } from "@aws-sdk/middleware-sdk-s3";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Command as $Command } from "@smithy/core/client";
|
|
3
|
+
import { getEndpointPlugin } from "@smithy/core/endpoints";
|
|
4
4
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
5
|
import { GetBucketEncryption$ } from "../schemas/schemas_0";
|
|
6
6
|
export { $Command };
|