@aws-sdk/client-s3 3.190.0 → 3.192.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/CHANGELOG.md +16 -0
- package/dist-cjs/S3Client.js +13 -11
- package/dist-cjs/commands/AbortMultipartUploadCommand.js +16 -2
- package/dist-cjs/commands/CompleteMultipartUploadCommand.js +16 -2
- package/dist-cjs/commands/CopyObjectCommand.js +16 -2
- package/dist-cjs/commands/CreateBucketCommand.js +16 -0
- package/dist-cjs/commands/CreateMultipartUploadCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketAnalyticsConfigurationCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketCommand.js +16 -0
- package/dist-cjs/commands/DeleteBucketCorsCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketEncryptionCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketInventoryConfigurationCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketLifecycleCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketMetricsConfigurationCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketOwnershipControlsCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketPolicyCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketReplicationCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketTaggingCommand.js +16 -2
- package/dist-cjs/commands/DeleteBucketWebsiteCommand.js +16 -2
- package/dist-cjs/commands/DeleteObjectCommand.js +16 -2
- package/dist-cjs/commands/DeleteObjectTaggingCommand.js +16 -2
- package/dist-cjs/commands/DeleteObjectsCommand.js +16 -2
- package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +16 -2
- package/dist-cjs/commands/GetBucketAccelerateConfigurationCommand.js +16 -2
- package/dist-cjs/commands/GetBucketAclCommand.js +16 -2
- package/dist-cjs/commands/GetBucketAnalyticsConfigurationCommand.js +16 -2
- package/dist-cjs/commands/GetBucketCorsCommand.js +16 -2
- package/dist-cjs/commands/GetBucketEncryptionCommand.js +16 -2
- package/dist-cjs/commands/GetBucketIntelligentTieringConfigurationCommand.js +16 -2
- package/dist-cjs/commands/GetBucketInventoryConfigurationCommand.js +16 -2
- package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +16 -2
- package/dist-cjs/commands/GetBucketLocationCommand.js +16 -2
- package/dist-cjs/commands/GetBucketLoggingCommand.js +16 -2
- package/dist-cjs/commands/GetBucketMetricsConfigurationCommand.js +16 -2
- package/dist-cjs/commands/GetBucketNotificationConfigurationCommand.js +16 -2
- package/dist-cjs/commands/GetBucketOwnershipControlsCommand.js +16 -2
- package/dist-cjs/commands/GetBucketPolicyCommand.js +16 -2
- package/dist-cjs/commands/GetBucketPolicyStatusCommand.js +16 -2
- package/dist-cjs/commands/GetBucketReplicationCommand.js +16 -2
- package/dist-cjs/commands/GetBucketRequestPaymentCommand.js +16 -2
- package/dist-cjs/commands/GetBucketTaggingCommand.js +16 -2
- package/dist-cjs/commands/GetBucketVersioningCommand.js +16 -2
- package/dist-cjs/commands/GetBucketWebsiteCommand.js +16 -2
- package/dist-cjs/commands/GetObjectAclCommand.js +16 -2
- package/dist-cjs/commands/GetObjectAttributesCommand.js +16 -2
- package/dist-cjs/commands/GetObjectCommand.js +16 -2
- package/dist-cjs/commands/GetObjectLegalHoldCommand.js +16 -2
- package/dist-cjs/commands/GetObjectLockConfigurationCommand.js +16 -2
- package/dist-cjs/commands/GetObjectRetentionCommand.js +16 -2
- package/dist-cjs/commands/GetObjectTaggingCommand.js +16 -2
- package/dist-cjs/commands/GetObjectTorrentCommand.js +16 -2
- package/dist-cjs/commands/GetPublicAccessBlockCommand.js +16 -2
- package/dist-cjs/commands/HeadBucketCommand.js +16 -2
- package/dist-cjs/commands/HeadObjectCommand.js +16 -2
- package/dist-cjs/commands/ListBucketAnalyticsConfigurationsCommand.js +16 -2
- package/dist-cjs/commands/ListBucketIntelligentTieringConfigurationsCommand.js +16 -2
- package/dist-cjs/commands/ListBucketInventoryConfigurationsCommand.js +16 -2
- package/dist-cjs/commands/ListBucketMetricsConfigurationsCommand.js +16 -2
- package/dist-cjs/commands/ListBucketsCommand.js +15 -0
- package/dist-cjs/commands/ListMultipartUploadsCommand.js +16 -2
- package/dist-cjs/commands/ListObjectVersionsCommand.js +16 -2
- package/dist-cjs/commands/ListObjectsCommand.js +16 -2
- package/dist-cjs/commands/ListObjectsV2Command.js +16 -2
- package/dist-cjs/commands/ListPartsCommand.js +16 -2
- package/dist-cjs/commands/PutBucketAccelerateConfigurationCommand.js +16 -2
- package/dist-cjs/commands/PutBucketAclCommand.js +16 -2
- package/dist-cjs/commands/PutBucketAnalyticsConfigurationCommand.js +16 -2
- package/dist-cjs/commands/PutBucketCorsCommand.js +16 -2
- package/dist-cjs/commands/PutBucketEncryptionCommand.js +16 -2
- package/dist-cjs/commands/PutBucketIntelligentTieringConfigurationCommand.js +16 -2
- package/dist-cjs/commands/PutBucketInventoryConfigurationCommand.js +16 -2
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +16 -2
- package/dist-cjs/commands/PutBucketLoggingCommand.js +16 -2
- package/dist-cjs/commands/PutBucketMetricsConfigurationCommand.js +16 -2
- package/dist-cjs/commands/PutBucketNotificationConfigurationCommand.js +16 -2
- package/dist-cjs/commands/PutBucketOwnershipControlsCommand.js +16 -2
- package/dist-cjs/commands/PutBucketPolicyCommand.js +16 -2
- package/dist-cjs/commands/PutBucketReplicationCommand.js +16 -2
- package/dist-cjs/commands/PutBucketRequestPaymentCommand.js +16 -2
- package/dist-cjs/commands/PutBucketTaggingCommand.js +16 -2
- package/dist-cjs/commands/PutBucketVersioningCommand.js +16 -2
- package/dist-cjs/commands/PutBucketWebsiteCommand.js +16 -2
- package/dist-cjs/commands/PutObjectAclCommand.js +16 -2
- package/dist-cjs/commands/PutObjectCommand.js +16 -2
- package/dist-cjs/commands/PutObjectLegalHoldCommand.js +16 -2
- package/dist-cjs/commands/PutObjectLockConfigurationCommand.js +16 -2
- package/dist-cjs/commands/PutObjectRetentionCommand.js +16 -2
- package/dist-cjs/commands/PutObjectTaggingCommand.js +16 -2
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +16 -2
- package/dist-cjs/commands/RestoreObjectCommand.js +16 -2
- package/dist-cjs/commands/SelectObjectContentCommand.js +16 -2
- package/dist-cjs/commands/UploadPartCommand.js +16 -2
- package/dist-cjs/commands/UploadPartCopyCommand.js +16 -2
- package/dist-cjs/commands/WriteGetObjectResponseCommand.js +15 -0
- package/dist-cjs/endpoint/EndpointParameters.js +16 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +9965 -0
- package/dist-cjs/models/models_0.js +303 -6
- package/dist-cjs/models/models_1.js +17 -1
- package/dist-cjs/protocols/Aws_restXml.js +91 -91
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/S3Client.js +15 -13
- package/dist-es/commands/AbortMultipartUploadCommand.js +16 -2
- package/dist-es/commands/CompleteMultipartUploadCommand.js +16 -2
- package/dist-es/commands/CopyObjectCommand.js +16 -2
- package/dist-es/commands/CreateBucketCommand.js +16 -0
- package/dist-es/commands/CreateMultipartUploadCommand.js +16 -2
- package/dist-es/commands/DeleteBucketAnalyticsConfigurationCommand.js +16 -2
- package/dist-es/commands/DeleteBucketCommand.js +16 -0
- package/dist-es/commands/DeleteBucketCorsCommand.js +16 -2
- package/dist-es/commands/DeleteBucketEncryptionCommand.js +16 -2
- package/dist-es/commands/DeleteBucketIntelligentTieringConfigurationCommand.js +16 -2
- package/dist-es/commands/DeleteBucketInventoryConfigurationCommand.js +16 -2
- package/dist-es/commands/DeleteBucketLifecycleCommand.js +16 -2
- package/dist-es/commands/DeleteBucketMetricsConfigurationCommand.js +16 -2
- package/dist-es/commands/DeleteBucketOwnershipControlsCommand.js +16 -2
- package/dist-es/commands/DeleteBucketPolicyCommand.js +16 -2
- package/dist-es/commands/DeleteBucketReplicationCommand.js +16 -2
- package/dist-es/commands/DeleteBucketTaggingCommand.js +16 -2
- package/dist-es/commands/DeleteBucketWebsiteCommand.js +16 -2
- package/dist-es/commands/DeleteObjectCommand.js +16 -2
- package/dist-es/commands/DeleteObjectTaggingCommand.js +16 -2
- package/dist-es/commands/DeleteObjectsCommand.js +16 -2
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +16 -2
- package/dist-es/commands/GetBucketAccelerateConfigurationCommand.js +16 -2
- package/dist-es/commands/GetBucketAclCommand.js +16 -2
- package/dist-es/commands/GetBucketAnalyticsConfigurationCommand.js +16 -2
- package/dist-es/commands/GetBucketCorsCommand.js +16 -2
- package/dist-es/commands/GetBucketEncryptionCommand.js +16 -2
- package/dist-es/commands/GetBucketIntelligentTieringConfigurationCommand.js +16 -2
- package/dist-es/commands/GetBucketInventoryConfigurationCommand.js +16 -2
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +16 -2
- package/dist-es/commands/GetBucketLocationCommand.js +16 -2
- package/dist-es/commands/GetBucketLoggingCommand.js +16 -2
- package/dist-es/commands/GetBucketMetricsConfigurationCommand.js +16 -2
- package/dist-es/commands/GetBucketNotificationConfigurationCommand.js +16 -2
- package/dist-es/commands/GetBucketOwnershipControlsCommand.js +16 -2
- package/dist-es/commands/GetBucketPolicyCommand.js +16 -2
- package/dist-es/commands/GetBucketPolicyStatusCommand.js +16 -2
- package/dist-es/commands/GetBucketReplicationCommand.js +16 -2
- package/dist-es/commands/GetBucketRequestPaymentCommand.js +16 -2
- package/dist-es/commands/GetBucketTaggingCommand.js +16 -2
- package/dist-es/commands/GetBucketVersioningCommand.js +16 -2
- package/dist-es/commands/GetBucketWebsiteCommand.js +16 -2
- package/dist-es/commands/GetObjectAclCommand.js +16 -2
- package/dist-es/commands/GetObjectAttributesCommand.js +16 -2
- package/dist-es/commands/GetObjectCommand.js +16 -2
- package/dist-es/commands/GetObjectLegalHoldCommand.js +16 -2
- package/dist-es/commands/GetObjectLockConfigurationCommand.js +16 -2
- package/dist-es/commands/GetObjectRetentionCommand.js +16 -2
- package/dist-es/commands/GetObjectTaggingCommand.js +16 -2
- package/dist-es/commands/GetObjectTorrentCommand.js +16 -2
- package/dist-es/commands/GetPublicAccessBlockCommand.js +16 -2
- package/dist-es/commands/HeadBucketCommand.js +16 -2
- package/dist-es/commands/HeadObjectCommand.js +16 -2
- package/dist-es/commands/ListBucketAnalyticsConfigurationsCommand.js +16 -2
- package/dist-es/commands/ListBucketIntelligentTieringConfigurationsCommand.js +16 -2
- package/dist-es/commands/ListBucketInventoryConfigurationsCommand.js +16 -2
- package/dist-es/commands/ListBucketMetricsConfigurationsCommand.js +16 -2
- package/dist-es/commands/ListBucketsCommand.js +15 -0
- package/dist-es/commands/ListMultipartUploadsCommand.js +16 -2
- package/dist-es/commands/ListObjectVersionsCommand.js +16 -2
- package/dist-es/commands/ListObjectsCommand.js +16 -2
- package/dist-es/commands/ListObjectsV2Command.js +16 -2
- package/dist-es/commands/ListPartsCommand.js +16 -2
- package/dist-es/commands/PutBucketAccelerateConfigurationCommand.js +16 -2
- package/dist-es/commands/PutBucketAclCommand.js +16 -2
- package/dist-es/commands/PutBucketAnalyticsConfigurationCommand.js +16 -2
- package/dist-es/commands/PutBucketCorsCommand.js +16 -2
- package/dist-es/commands/PutBucketEncryptionCommand.js +16 -2
- package/dist-es/commands/PutBucketIntelligentTieringConfigurationCommand.js +16 -2
- package/dist-es/commands/PutBucketInventoryConfigurationCommand.js +16 -2
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +16 -2
- package/dist-es/commands/PutBucketLoggingCommand.js +16 -2
- package/dist-es/commands/PutBucketMetricsConfigurationCommand.js +16 -2
- package/dist-es/commands/PutBucketNotificationConfigurationCommand.js +16 -2
- package/dist-es/commands/PutBucketOwnershipControlsCommand.js +16 -2
- package/dist-es/commands/PutBucketPolicyCommand.js +16 -2
- package/dist-es/commands/PutBucketReplicationCommand.js +16 -2
- package/dist-es/commands/PutBucketRequestPaymentCommand.js +16 -2
- package/dist-es/commands/PutBucketTaggingCommand.js +16 -2
- package/dist-es/commands/PutBucketVersioningCommand.js +16 -2
- package/dist-es/commands/PutBucketWebsiteCommand.js +16 -2
- package/dist-es/commands/PutObjectAclCommand.js +16 -2
- package/dist-es/commands/PutObjectCommand.js +16 -2
- package/dist-es/commands/PutObjectLegalHoldCommand.js +16 -2
- package/dist-es/commands/PutObjectLockConfigurationCommand.js +16 -2
- package/dist-es/commands/PutObjectRetentionCommand.js +16 -2
- package/dist-es/commands/PutObjectTaggingCommand.js +16 -2
- package/dist-es/commands/PutPublicAccessBlockCommand.js +16 -2
- package/dist-es/commands/RestoreObjectCommand.js +16 -2
- package/dist-es/commands/SelectObjectContentCommand.js +16 -2
- package/dist-es/commands/UploadPartCommand.js +16 -2
- package/dist-es/commands/UploadPartCopyCommand.js +16 -2
- package/dist-es/commands/WriteGetObjectResponseCommand.js +15 -0
- package/dist-es/endpoint/EndpointParameters.js +11 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +9962 -0
- package/dist-es/models/models_0.js +296 -0
- package/dist-es/models/models_1.js +16 -0
- package/dist-es/protocols/Aws_restXml.js +91 -91
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/S3Client.d.ts +7 -10
- package/dist-types/commands/AbortMultipartUploadCommand.d.ts +2 -0
- package/dist-types/commands/CompleteMultipartUploadCommand.d.ts +2 -0
- package/dist-types/commands/CopyObjectCommand.d.ts +2 -0
- package/dist-types/commands/CreateBucketCommand.d.ts +2 -0
- package/dist-types/commands/CreateMultipartUploadCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketCorsCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketEncryptionCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketLifecycleCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketMetricsConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketReplicationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketWebsiteCommand.d.ts +2 -0
- package/dist-types/commands/DeleteObjectCommand.d.ts +2 -0
- package/dist-types/commands/DeleteObjectTaggingCommand.d.ts +2 -0
- package/dist-types/commands/DeleteObjectsCommand.d.ts +2 -0
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketAccelerateConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketAclCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketAnalyticsConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketCorsCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketEncryptionCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketLocationCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketLoggingCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketMetricsConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketOwnershipControlsCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketPolicyStatusCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketReplicationCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketRequestPaymentCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketTaggingCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketVersioningCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketWebsiteCommand.d.ts +2 -0
- package/dist-types/commands/GetObjectAclCommand.d.ts +2 -0
- package/dist-types/commands/GetObjectAttributesCommand.d.ts +2 -0
- package/dist-types/commands/GetObjectCommand.d.ts +2 -0
- package/dist-types/commands/GetObjectLegalHoldCommand.d.ts +2 -0
- package/dist-types/commands/GetObjectLockConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetObjectRetentionCommand.d.ts +2 -0
- package/dist-types/commands/GetObjectTaggingCommand.d.ts +2 -0
- package/dist-types/commands/GetObjectTorrentCommand.d.ts +2 -0
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/commands/HeadBucketCommand.d.ts +2 -0
- package/dist-types/commands/HeadObjectCommand.d.ts +2 -0
- package/dist-types/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListBucketInventoryConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListBucketMetricsConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/ListBucketsCommand.d.ts +2 -0
- package/dist-types/commands/ListMultipartUploadsCommand.d.ts +2 -0
- package/dist-types/commands/ListObjectVersionsCommand.d.ts +2 -0
- package/dist-types/commands/ListObjectsCommand.d.ts +2 -0
- package/dist-types/commands/ListObjectsV2Command.d.ts +2 -0
- package/dist-types/commands/ListPartsCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketAccelerateConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketAclCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketAnalyticsConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketCorsCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketEncryptionCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketInventoryConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketLoggingCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketMetricsConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketOwnershipControlsCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketPolicyCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketReplicationCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketRequestPaymentCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketTaggingCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketVersioningCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketWebsiteCommand.d.ts +2 -0
- package/dist-types/commands/PutObjectAclCommand.d.ts +2 -0
- package/dist-types/commands/PutObjectCommand.d.ts +2 -0
- package/dist-types/commands/PutObjectLegalHoldCommand.d.ts +2 -0
- package/dist-types/commands/PutObjectLockConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutObjectRetentionCommand.d.ts +2 -0
- package/dist-types/commands/PutObjectTaggingCommand.d.ts +2 -0
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/commands/RestoreObjectCommand.d.ts +2 -0
- package/dist-types/commands/SelectObjectContentCommand.d.ts +2 -0
- package/dist-types/commands/UploadPartCommand.d.ts +2 -0
- package/dist-types/commands/UploadPartCopyCommand.d.ts +2 -0
- package/dist-types/commands/WriteGetObjectResponseCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +32 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +249 -47
- package/dist-types/models/models_1.d.ts +13 -3
- package/dist-types/runtimeConfig.browser.d.ts +8 -6
- package/dist-types/runtimeConfig.d.ts +8 -6
- package/dist-types/runtimeConfig.native.d.ts +6 -4
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/S3Client.d.ts +17 -13
- package/dist-types/ts3.4/commands/AbortMultipartUploadCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CompleteMultipartUploadCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CopyObjectCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateMultipartUploadCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketAnalyticsConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketCorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketEncryptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketIntelligentTieringConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketInventoryConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketLifecycleCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketMetricsConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketOwnershipControlsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketReplicationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketWebsiteCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteObjectCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteObjectTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteObjectsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketAccelerateConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketAclCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketAnalyticsConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketCorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketEncryptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketIntelligentTieringConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketInventoryConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketLocationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketLoggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketMetricsConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketNotificationConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketOwnershipControlsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketPolicyStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketReplicationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketRequestPaymentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketVersioningCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketWebsiteCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetObjectAclCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetObjectAttributesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetObjectCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetObjectLegalHoldCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetObjectLockConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetObjectRetentionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetObjectTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetObjectTorrentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/HeadBucketCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/HeadObjectCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBucketAnalyticsConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBucketIntelligentTieringConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBucketInventoryConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBucketMetricsConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListBucketsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListMultipartUploadsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListObjectVersionsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListObjectsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListObjectsV2Command.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListPartsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketAccelerateConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketAclCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketAnalyticsConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketCorsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketEncryptionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketIntelligentTieringConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketInventoryConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketLoggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketMetricsConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketNotificationConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketOwnershipControlsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketReplicationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketRequestPaymentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketVersioningCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketWebsiteCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutObjectAclCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutObjectCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutObjectLegalHoldCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutObjectLockConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutObjectRetentionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutObjectTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/RestoreObjectCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/SelectObjectContentCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UploadPartCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UploadPartCopyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/WriteGetObjectResponseCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +39 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +249 -134
- package/dist-types/ts3.4/models/models_1.d.ts +13 -3
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +24 -8
- package/dist-types/ts3.4/runtimeConfig.d.ts +24 -8
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +17 -6
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +4 -3
- package/dist-cjs/endpoints.js +0 -462
- package/dist-es/endpoints.js +0 -458
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteBucketTaggingCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class DeleteBucketTaggingCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteBucketTaggingCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteBucketWebsiteCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class DeleteBucketWebsiteCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteBucketWebsiteCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteObjectCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class DeleteObjectCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteObjectCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteObjectTaggingCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class DeleteObjectTaggingCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteObjectTaggingCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteObjectsCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_flexible_checksums_1 = require("@aws-sdk/middleware-flexible-checksums");
|
|
6
6
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
7
7
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -12,9 +12,23 @@ class DeleteObjectsCommand extends smithy_client_1.Command {
|
|
|
12
12
|
super();
|
|
13
13
|
this.input = input;
|
|
14
14
|
}
|
|
15
|
+
static getEndpointParameterInstructions() {
|
|
16
|
+
return {
|
|
17
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
18
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
19
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
20
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
21
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
22
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
23
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
24
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
25
|
+
Region: { type: "builtInParams", name: "region" },
|
|
26
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
27
|
+
};
|
|
28
|
+
}
|
|
15
29
|
resolveMiddleware(clientStack, configuration, options) {
|
|
16
30
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
17
|
-
this.middlewareStack.use((0,
|
|
31
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteObjectsCommand.getEndpointParameterInstructions()));
|
|
18
32
|
this.middlewareStack.use((0, middleware_flexible_checksums_1.getFlexibleChecksumsPlugin)(configuration, {
|
|
19
33
|
input: this.input,
|
|
20
34
|
requestAlgorithmMember: "ChecksumAlgorithm",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeletePublicAccessBlockCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class DeletePublicAccessBlockCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeletePublicAccessBlockCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketAccelerateConfigurationCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketAccelerateConfigurationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketAccelerateConfigurationCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketAclCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketAclCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketAclCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketAnalyticsConfigurationCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketAnalyticsConfigurationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketAnalyticsConfigurationCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketCorsCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketCorsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketCorsCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketEncryptionCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketEncryptionCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketEncryptionCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketIntelligentTieringConfigurationCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketIntelligentTieringConfigurationCommand extends smithy_client_1.Co
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketIntelligentTieringConfigurationCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketInventoryConfigurationCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketInventoryConfigurationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketInventoryConfigurationCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketLifecycleConfigurationCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketLifecycleConfigurationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketLifecycleConfigurationCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketLocationCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketLocationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketLocationCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketLoggingCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketLoggingCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketLoggingCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketMetricsConfigurationCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketMetricsConfigurationCommand extends smithy_client_1.Command {
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketMetricsConfigurationCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetBucketNotificationConfigurationCommand = void 0;
|
|
4
|
-
const
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
5
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
@@ -11,9 +11,23 @@ class GetBucketNotificationConfigurationCommand extends smithy_client_1.Command
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
|
+
static getEndpointParameterInstructions() {
|
|
15
|
+
return {
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
ForcePathStyle: { type: "clientContextParams", name: "forcePathStyle" },
|
|
18
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
19
|
+
DisableMultiRegionAccessPoints: { type: "clientContextParams", name: "disableMultiregionAccessPoints" },
|
|
20
|
+
Accelerate: { type: "clientContextParams", name: "useAccelerateEndpoint" },
|
|
21
|
+
UseGlobalEndpoint: { type: "builtInParams", name: "useGlobalEndpoint" },
|
|
22
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
23
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
24
|
+
Region: { type: "builtInParams", name: "region" },
|
|
25
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
26
|
+
};
|
|
27
|
+
}
|
|
14
28
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
29
|
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use((0,
|
|
30
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetBucketNotificationConfigurationCommand.getEndpointParameterInstructions()));
|
|
17
31
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
32
|
const { logger } = configuration;
|
|
19
33
|
const clientName = "S3Client";
|