@aws-sdk/client-s3 3.1045.0 → 3.1047.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
|
@@ -3,26 +3,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultS3HttpAuthSchemeProvider = exports.defaultS3HttpAuthSchemeParametersProvider = void 0;
|
|
4
4
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const signature_v4_multi_region_1 = require("@aws-sdk/signature-v4-multi-region");
|
|
6
|
-
const
|
|
7
|
-
const
|
|
6
|
+
const client_1 = require("@smithy/core/client");
|
|
7
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
8
8
|
const endpointResolver_1 = require("../endpoint/endpointResolver");
|
|
9
9
|
const createEndpointRuleSetHttpAuthSchemeParametersProvider = (defaultHttpAuthSchemeParametersProvider) => async (config, context, input) => {
|
|
10
10
|
if (!input) {
|
|
11
11
|
throw new Error("Could not find `input` for `defaultEndpointRuleSetHttpAuthSchemeParametersProvider`");
|
|
12
12
|
}
|
|
13
13
|
const defaultParameters = await defaultHttpAuthSchemeParametersProvider(config, context, input);
|
|
14
|
-
const instructionsFn = (0,
|
|
14
|
+
const instructionsFn = (0, client_1.getSmithyContext)(context)?.commandInstance?.constructor
|
|
15
15
|
?.getEndpointParameterInstructions;
|
|
16
16
|
if (!instructionsFn) {
|
|
17
17
|
throw new Error(`getEndpointParameterInstructions() is not defined on '${context.commandName}'`);
|
|
18
18
|
}
|
|
19
|
-
const endpointParameters = await (0,
|
|
19
|
+
const endpointParameters = await (0, endpoints_1.resolveParams)(input, { getEndpointParameterInstructions: instructionsFn }, config);
|
|
20
20
|
return Object.assign(defaultParameters, endpointParameters);
|
|
21
21
|
};
|
|
22
22
|
const _defaultS3HttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
23
23
|
return {
|
|
24
|
-
operation: (0,
|
|
25
|
-
region: await (0,
|
|
24
|
+
operation: (0, client_1.getSmithyContext)(context).operation,
|
|
25
|
+
region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
|
|
26
26
|
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
27
27
|
})(),
|
|
28
28
|
};
|
|
@@ -120,7 +120,7 @@ const resolveHttpAuthSchemeConfig = (config) => {
|
|
|
120
120
|
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
121
121
|
const config_1 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4AConfig)(config_0);
|
|
122
122
|
return Object.assign(config_1, {
|
|
123
|
-
authSchemePreference: (0,
|
|
123
|
+
authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
124
124
|
});
|
|
125
125
|
};
|
|
126
126
|
exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
|
package/dist-cjs/endpoint/bdd.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bdd = void 0;
|
|
4
|
-
const
|
|
4
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
5
5
|
const aw = "ref", ax = "argv", ay = "backend", az = "authSchemes", aA = "disableDoubleEncoding", aB = "signingName", aC = "signingRegion", aD = "signingRegionSet";
|
|
6
6
|
const a = -1, b = true, c = false, d = "isSet", e = "booleanEquals", f = "stringEquals", g = "coalesce", h = "substring", i = "", j = "aws.partition", k = "partitionResult", l = "accessPointSuffix", m = "regionPrefix", n = (n) => "outpostId_ssa_" + n + i, o = "hardwareType", p = "ite", q = "isValidHostLabel", s = "sigv4", t = "aws.isVirtualHostableS3Bucket", u = "url", v = "getAttr", w = "bucketArn", x = "--", y = "arnType", z = "accesspoint", A = (n) => "accessPointName_ssa_" + n + i, B = "s3-object-lambda", C = "s3-outposts", D = "bucketPartition", E = "us-east-1", F = "outpostType", G = "name", H = "s3", I = "{url#scheme}://{Bucket}.{url#authority}{url#path}", J = "{url#scheme}://{url#authority}{url#path}", K = "{url#scheme}://{url#authority}{url#normalizedPath}{Bucket}", L = "https://{Bucket}.s3-accelerate.{partitionResult#dnsSuffix}", M = "https://{Bucket}.s3.{partitionResult#dnsSuffix}", N = (n) => "{url#scheme}://{accessPointName_ssa_" + n + "}-{bucketArn#accountId}.{url#authority}{url#path}", O = (n) => "Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `{accessPointName_ssa_" + n + "}`", P = "sigv4a", Q = "{url#scheme}://{url#authority}{url#normalizedPath}{uri_encoded_bucket}", R = "https://s3.{partitionResult#dnsSuffix}/{uri_encoded_bucket}", S = "https://s3.{partitionResult#dnsSuffix}", T = { [aw]: "UseFIPS" }, U = { [aw]: "UseDualStack" }, V = { [aw]: "Bucket" }, W = { "fn": v, [ax]: [{ [aw]: k }, G] }, X = { [aw]: u }, Y = { [aw]: "Region" }, Z = { [aw]: w }, aa = { [aw]: y }, ab = { [aw]: "accessPointName_ssa_1" }, ac = { "fn": v, [ax]: [Z, "region"] }, ad = { [aw]: o }, ae = { "fn": v, [ax]: [Z, "service"] }, af = { "fn": v, [ax]: [Z, "accountId"] }, ag = { [ay]: "S3Express", [az]: [{ [aA]: true, [G]: "{_s3e_auth}", [aB]: "s3express", [aC]: "{Region}" }] }, ah = { [ay]: "S3Express", [az]: [{ [aA]: true, [G]: s, [aB]: "s3express", [aC]: "{Region}" }] }, ai = { [az]: [{ [aA]: true, [G]: P, [aB]: C, [aD]: ["*"] }, { [aA]: true, [G]: s, [aB]: C, [aC]: "{Region}" }] }, aj = { [az]: [{ [aA]: true, [G]: s, [aB]: H, [aC]: E }] }, ak = { [az]: [{ [aA]: true, [G]: s, [aB]: H, [aC]: "{Region}" }] }, al = { [az]: [{ [aA]: true, [G]: s, [aB]: B, [aC]: "{bucketArn#region}" }] }, am = { [az]: [{ [aA]: true, [G]: s, [aB]: H, [aC]: "{bucketArn#region}" }] }, an = { [az]: [{ [aA]: true, [G]: P, [aB]: C, [aD]: ["*"] }, { [aA]: true, [G]: s, [aB]: C, [aC]: "{bucketArn#region}" }] }, ao = { [az]: [{ [aA]: true, [G]: s, [aB]: B, [aC]: "{Region}" }] }, ap = [Y], aq = [{ [aw]: "Endpoint" }], as = [V], at = [V, 0, 7, true], au = [Z, "resourceId[1]"], av = ["*"];
|
|
7
7
|
const _data = {
|
|
@@ -758,4 +758,4 @@ const nodes = new Int32Array([
|
|
|
758
758
|
44, r + 15, 553,
|
|
759
759
|
45, r + 15, r + 20,
|
|
760
760
|
]);
|
|
761
|
-
exports.bdd =
|
|
761
|
+
exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
4
|
const util_endpoints_1 = require("@aws-sdk/util-endpoints");
|
|
5
|
-
const
|
|
5
|
+
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
|
-
const cache = new
|
|
7
|
+
const cache = new endpoints_1.EndpointCache({
|
|
8
8
|
size: 50,
|
|
9
9
|
params: [
|
|
10
10
|
"Accelerate",
|
|
@@ -24,10 +24,10 @@ const cache = new util_endpoints_2.EndpointCache({
|
|
|
24
24
|
],
|
|
25
25
|
});
|
|
26
26
|
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
27
|
-
return cache.get(endpointParams, () => (0,
|
|
27
|
+
return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
|
|
28
28
|
endpointParams: endpointParams,
|
|
29
29
|
logger: context.logger,
|
|
30
30
|
}));
|
|
31
31
|
};
|
|
32
32
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
33
|
-
|
|
33
|
+
endpoints_1.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
|