@aws-sdk/client-s3-control 3.188.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 +19 -0
- package/dist-cjs/S3ControlClient.js +12 -9
- package/dist-cjs/commands/CreateAccessPointCommand.js +13 -0
- package/dist-cjs/commands/CreateAccessPointForObjectLambdaCommand.js +12 -0
- package/dist-cjs/commands/CreateBucketCommand.js +13 -0
- package/dist-cjs/commands/CreateJobCommand.js +12 -0
- package/dist-cjs/commands/CreateMultiRegionAccessPointCommand.js +12 -0
- package/dist-cjs/commands/DeleteAccessPointCommand.js +13 -0
- package/dist-cjs/commands/DeleteAccessPointForObjectLambdaCommand.js +12 -0
- package/dist-cjs/commands/DeleteAccessPointPolicyCommand.js +13 -0
- package/dist-cjs/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +12 -0
- package/dist-cjs/commands/DeleteBucketCommand.js +13 -0
- package/dist-cjs/commands/DeleteBucketLifecycleConfigurationCommand.js +13 -0
- package/dist-cjs/commands/DeleteBucketPolicyCommand.js +13 -0
- package/dist-cjs/commands/DeleteBucketTaggingCommand.js +13 -0
- package/dist-cjs/commands/DeleteJobTaggingCommand.js +12 -0
- package/dist-cjs/commands/DeleteMultiRegionAccessPointCommand.js +12 -0
- package/dist-cjs/commands/DeletePublicAccessBlockCommand.js +12 -0
- package/dist-cjs/commands/DeleteStorageLensConfigurationCommand.js +12 -0
- package/dist-cjs/commands/DeleteStorageLensConfigurationTaggingCommand.js +12 -0
- package/dist-cjs/commands/DescribeJobCommand.js +12 -0
- package/dist-cjs/commands/DescribeMultiRegionAccessPointOperationCommand.js +12 -0
- package/dist-cjs/commands/GetAccessPointCommand.js +13 -0
- package/dist-cjs/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +12 -0
- package/dist-cjs/commands/GetAccessPointForObjectLambdaCommand.js +12 -0
- package/dist-cjs/commands/GetAccessPointPolicyCommand.js +13 -0
- package/dist-cjs/commands/GetAccessPointPolicyForObjectLambdaCommand.js +12 -0
- package/dist-cjs/commands/GetAccessPointPolicyStatusCommand.js +13 -0
- package/dist-cjs/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +12 -0
- package/dist-cjs/commands/GetBucketCommand.js +13 -0
- package/dist-cjs/commands/GetBucketLifecycleConfigurationCommand.js +13 -0
- package/dist-cjs/commands/GetBucketPolicyCommand.js +13 -0
- package/dist-cjs/commands/GetBucketTaggingCommand.js +13 -0
- package/dist-cjs/commands/GetBucketVersioningCommand.js +11 -0
- package/dist-cjs/commands/GetJobTaggingCommand.js +12 -0
- package/dist-cjs/commands/GetMultiRegionAccessPointCommand.js +12 -0
- package/dist-cjs/commands/GetMultiRegionAccessPointPolicyCommand.js +12 -0
- package/dist-cjs/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +12 -0
- package/dist-cjs/commands/GetPublicAccessBlockCommand.js +12 -0
- package/dist-cjs/commands/GetStorageLensConfigurationCommand.js +12 -0
- package/dist-cjs/commands/GetStorageLensConfigurationTaggingCommand.js +12 -0
- package/dist-cjs/commands/ListAccessPointsCommand.js +13 -0
- package/dist-cjs/commands/ListAccessPointsForObjectLambdaCommand.js +12 -0
- package/dist-cjs/commands/ListJobsCommand.js +12 -0
- package/dist-cjs/commands/ListMultiRegionAccessPointsCommand.js +12 -0
- package/dist-cjs/commands/ListRegionalBucketsCommand.js +13 -0
- package/dist-cjs/commands/ListStorageLensConfigurationsCommand.js +12 -0
- package/dist-cjs/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +12 -0
- package/dist-cjs/commands/PutAccessPointPolicyCommand.js +13 -0
- package/dist-cjs/commands/PutAccessPointPolicyForObjectLambdaCommand.js +12 -0
- package/dist-cjs/commands/PutBucketLifecycleConfigurationCommand.js +13 -0
- package/dist-cjs/commands/PutBucketPolicyCommand.js +13 -0
- package/dist-cjs/commands/PutBucketTaggingCommand.js +13 -0
- package/dist-cjs/commands/PutBucketVersioningCommand.js +11 -0
- package/dist-cjs/commands/PutJobTaggingCommand.js +12 -0
- package/dist-cjs/commands/PutMultiRegionAccessPointPolicyCommand.js +12 -0
- package/dist-cjs/commands/PutPublicAccessBlockCommand.js +12 -0
- package/dist-cjs/commands/PutStorageLensConfigurationCommand.js +12 -0
- package/dist-cjs/commands/PutStorageLensConfigurationTaggingCommand.js +12 -0
- package/dist-cjs/commands/UpdateJobPriorityCommand.js +12 -0
- package/dist-cjs/commands/UpdateJobStatusCommand.js +12 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +2354 -0
- package/dist-cjs/protocols/Aws_restXml.js +12 -15
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/S3ControlClient.js +13 -10
- package/dist-es/commands/CreateAccessPointCommand.js +13 -0
- package/dist-es/commands/CreateAccessPointForObjectLambdaCommand.js +12 -0
- package/dist-es/commands/CreateBucketCommand.js +13 -0
- package/dist-es/commands/CreateJobCommand.js +12 -0
- package/dist-es/commands/CreateMultiRegionAccessPointCommand.js +12 -0
- package/dist-es/commands/DeleteAccessPointCommand.js +13 -0
- package/dist-es/commands/DeleteAccessPointForObjectLambdaCommand.js +12 -0
- package/dist-es/commands/DeleteAccessPointPolicyCommand.js +13 -0
- package/dist-es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +12 -0
- package/dist-es/commands/DeleteBucketCommand.js +13 -0
- package/dist-es/commands/DeleteBucketLifecycleConfigurationCommand.js +13 -0
- package/dist-es/commands/DeleteBucketPolicyCommand.js +13 -0
- package/dist-es/commands/DeleteBucketTaggingCommand.js +13 -0
- package/dist-es/commands/DeleteJobTaggingCommand.js +12 -0
- package/dist-es/commands/DeleteMultiRegionAccessPointCommand.js +12 -0
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +12 -0
- package/dist-es/commands/DeleteStorageLensConfigurationCommand.js +12 -0
- package/dist-es/commands/DeleteStorageLensConfigurationTaggingCommand.js +12 -0
- package/dist-es/commands/DescribeJobCommand.js +12 -0
- package/dist-es/commands/DescribeMultiRegionAccessPointOperationCommand.js +12 -0
- package/dist-es/commands/GetAccessPointCommand.js +13 -0
- package/dist-es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +12 -0
- package/dist-es/commands/GetAccessPointForObjectLambdaCommand.js +12 -0
- package/dist-es/commands/GetAccessPointPolicyCommand.js +13 -0
- package/dist-es/commands/GetAccessPointPolicyForObjectLambdaCommand.js +12 -0
- package/dist-es/commands/GetAccessPointPolicyStatusCommand.js +13 -0
- package/dist-es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +12 -0
- package/dist-es/commands/GetBucketCommand.js +13 -0
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +13 -0
- package/dist-es/commands/GetBucketPolicyCommand.js +13 -0
- package/dist-es/commands/GetBucketTaggingCommand.js +13 -0
- package/dist-es/commands/GetBucketVersioningCommand.js +11 -0
- package/dist-es/commands/GetJobTaggingCommand.js +12 -0
- package/dist-es/commands/GetMultiRegionAccessPointCommand.js +12 -0
- package/dist-es/commands/GetMultiRegionAccessPointPolicyCommand.js +12 -0
- package/dist-es/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +12 -0
- package/dist-es/commands/GetPublicAccessBlockCommand.js +12 -0
- package/dist-es/commands/GetStorageLensConfigurationCommand.js +12 -0
- package/dist-es/commands/GetStorageLensConfigurationTaggingCommand.js +12 -0
- package/dist-es/commands/ListAccessPointsCommand.js +13 -0
- package/dist-es/commands/ListAccessPointsForObjectLambdaCommand.js +12 -0
- package/dist-es/commands/ListJobsCommand.js +12 -0
- package/dist-es/commands/ListMultiRegionAccessPointsCommand.js +12 -0
- package/dist-es/commands/ListRegionalBucketsCommand.js +13 -0
- package/dist-es/commands/ListStorageLensConfigurationsCommand.js +12 -0
- package/dist-es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +12 -0
- package/dist-es/commands/PutAccessPointPolicyCommand.js +13 -0
- package/dist-es/commands/PutAccessPointPolicyForObjectLambdaCommand.js +12 -0
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +13 -0
- package/dist-es/commands/PutBucketPolicyCommand.js +13 -0
- package/dist-es/commands/PutBucketTaggingCommand.js +13 -0
- package/dist-es/commands/PutBucketVersioningCommand.js +11 -0
- package/dist-es/commands/PutJobTaggingCommand.js +12 -0
- package/dist-es/commands/PutMultiRegionAccessPointPolicyCommand.js +12 -0
- package/dist-es/commands/PutPublicAccessBlockCommand.js +12 -0
- package/dist-es/commands/PutStorageLensConfigurationCommand.js +12 -0
- package/dist-es/commands/PutStorageLensConfigurationTaggingCommand.js +12 -0
- package/dist-es/commands/UpdateJobPriorityCommand.js +12 -0
- package/dist-es/commands/UpdateJobStatusCommand.js +12 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +2351 -0
- package/dist-es/protocols/Aws_restXml.js +12 -15
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/S3ControlClient.d.ts +6 -9
- package/dist-types/commands/CreateAccessPointCommand.d.ts +2 -0
- package/dist-types/commands/CreateAccessPointForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/commands/CreateBucketCommand.d.ts +2 -0
- package/dist-types/commands/CreateJobCommand.d.ts +2 -0
- package/dist-types/commands/CreateMultiRegionAccessPointCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAccessPointCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAccessPointPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketPolicyCommand.d.ts +2 -0
- package/dist-types/commands/DeleteBucketTaggingCommand.d.ts +2 -0
- package/dist-types/commands/DeleteJobTaggingCommand.d.ts +2 -0
- package/dist-types/commands/DeleteMultiRegionAccessPointCommand.d.ts +2 -0
- package/dist-types/commands/DeletePublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/commands/DeleteStorageLensConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +2 -0
- package/dist-types/commands/DescribeJobCommand.d.ts +2 -0
- package/dist-types/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +2 -0
- package/dist-types/commands/GetAccessPointCommand.d.ts +2 -0
- package/dist-types/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/commands/GetAccessPointForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/commands/GetAccessPointPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/commands/GetAccessPointPolicyStatusCommand.d.ts +2 -0
- package/dist-types/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetBucketPolicyCommand.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/GetJobTaggingCommand.d.ts +2 -0
- package/dist-types/commands/GetMultiRegionAccessPointCommand.d.ts +2 -0
- package/dist-types/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +2 -0
- package/dist-types/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +2 -0
- package/dist-types/commands/GetPublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/commands/GetStorageLensConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/GetStorageLensConfigurationTaggingCommand.d.ts +2 -0
- package/dist-types/commands/ListAccessPointsCommand.d.ts +2 -0
- package/dist-types/commands/ListAccessPointsForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/commands/ListJobsCommand.d.ts +2 -0
- package/dist-types/commands/ListMultiRegionAccessPointsCommand.d.ts +2 -0
- package/dist-types/commands/ListRegionalBucketsCommand.d.ts +2 -0
- package/dist-types/commands/ListStorageLensConfigurationsCommand.d.ts +2 -0
- package/dist-types/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/commands/PutAccessPointPolicyCommand.d.ts +2 -0
- package/dist-types/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutBucketPolicyCommand.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/PutJobTaggingCommand.d.ts +2 -0
- package/dist-types/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +2 -0
- package/dist-types/commands/PutPublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/commands/PutStorageLensConfigurationCommand.d.ts +2 -0
- package/dist-types/commands/PutStorageLensConfigurationTaggingCommand.d.ts +2 -0
- package/dist-types/commands/UpdateJobPriorityCommand.d.ts +2 -0
- package/dist-types/commands/UpdateJobStatusCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/S3ControlClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CreateAccessPointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateAccessPointForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateBucketCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateMultiRegionAccessPointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAccessPointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAccessPointForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAccessPointPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteBucketTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteJobTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteMultiRegionAccessPointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeletePublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteStorageLensConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteStorageLensConfigurationTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeJobCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeMultiRegionAccessPointOperationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessPointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessPointConfigurationForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessPointForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessPointPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessPointPolicyStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetBucketPolicyCommand.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/GetJobTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetMultiRegionAccessPointCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetMultiRegionAccessPointPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetMultiRegionAccessPointPolicyStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetPublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetStorageLensConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetStorageLensConfigurationTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccessPointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListAccessPointsForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListJobsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListMultiRegionAccessPointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListRegionalBucketsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListStorageLensConfigurationsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAccessPointConfigurationForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAccessPointPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutAccessPointPolicyForObjectLambdaCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketLifecycleConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutBucketPolicyCommand.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/PutJobTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutMultiRegionAccessPointPolicyCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutPublicAccessBlockCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutStorageLensConfigurationCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutStorageLensConfigurationTaggingCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateJobPriorityCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateJobStatusCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +33 -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/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +32 -31
- package/dist-cjs/endpoints.js +0 -467
- package/dist-es/endpoints.js +0 -463
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -113,7 +113,7 @@ const serializeAws_restXmlCreateBucketCommand = async (input, context) => {
|
|
|
113
113
|
],
|
|
114
114
|
"x-amz-outpost-id": input.OutpostId,
|
|
115
115
|
});
|
|
116
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket
|
|
116
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket";
|
|
117
117
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
118
118
|
let body;
|
|
119
119
|
if (input.CreateBucketConfiguration !== undefined) {
|
|
@@ -392,7 +392,7 @@ const serializeAws_restXmlDeleteBucketCommand = async (input, context) => {
|
|
|
392
392
|
const headers = map({}, isSerializableHeaderValue, {
|
|
393
393
|
"x-amz-account-id": input.AccountId,
|
|
394
394
|
});
|
|
395
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket
|
|
395
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket";
|
|
396
396
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
397
397
|
let body;
|
|
398
398
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -422,8 +422,7 @@ const serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand = async (inp
|
|
|
422
422
|
const headers = map({}, isSerializableHeaderValue, {
|
|
423
423
|
"x-amz-account-id": input.AccountId,
|
|
424
424
|
});
|
|
425
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
426
|
-
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
425
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/lifecycleconfiguration";
|
|
427
426
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
428
427
|
let body;
|
|
429
428
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -453,7 +452,7 @@ const serializeAws_restXmlDeleteBucketPolicyCommand = async (input, context) =>
|
|
|
453
452
|
const headers = map({}, isSerializableHeaderValue, {
|
|
454
453
|
"x-amz-account-id": input.AccountId,
|
|
455
454
|
});
|
|
456
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/
|
|
455
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/policy";
|
|
457
456
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
458
457
|
let body;
|
|
459
458
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -483,7 +482,7 @@ const serializeAws_restXmlDeleteBucketTaggingCommand = async (input, context) =>
|
|
|
483
482
|
const headers = map({}, isSerializableHeaderValue, {
|
|
484
483
|
"x-amz-account-id": input.AccountId,
|
|
485
484
|
});
|
|
486
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/
|
|
485
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/tagging";
|
|
487
486
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
488
487
|
let body;
|
|
489
488
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -954,7 +953,7 @@ const serializeAws_restXmlGetBucketCommand = async (input, context) => {
|
|
|
954
953
|
const headers = map({}, isSerializableHeaderValue, {
|
|
955
954
|
"x-amz-account-id": input.AccountId,
|
|
956
955
|
});
|
|
957
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket
|
|
956
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket";
|
|
958
957
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
959
958
|
let body;
|
|
960
959
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -984,8 +983,7 @@ const serializeAws_restXmlGetBucketLifecycleConfigurationCommand = async (input,
|
|
|
984
983
|
const headers = map({}, isSerializableHeaderValue, {
|
|
985
984
|
"x-amz-account-id": input.AccountId,
|
|
986
985
|
});
|
|
987
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
988
|
-
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
986
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/lifecycleconfiguration";
|
|
989
987
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
990
988
|
let body;
|
|
991
989
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1015,7 +1013,7 @@ const serializeAws_restXmlGetBucketPolicyCommand = async (input, context) => {
|
|
|
1015
1013
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1016
1014
|
"x-amz-account-id": input.AccountId,
|
|
1017
1015
|
});
|
|
1018
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/
|
|
1016
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/policy";
|
|
1019
1017
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1020
1018
|
let body;
|
|
1021
1019
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1045,7 +1043,7 @@ const serializeAws_restXmlGetBucketTaggingCommand = async (input, context) => {
|
|
|
1045
1043
|
const headers = map({}, isSerializableHeaderValue, {
|
|
1046
1044
|
"x-amz-account-id": input.AccountId,
|
|
1047
1045
|
});
|
|
1048
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/
|
|
1046
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/tagging";
|
|
1049
1047
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1050
1048
|
let body;
|
|
1051
1049
|
let { hostname: resolvedHostname } = await context.endpoint();
|
|
@@ -1642,8 +1640,7 @@ const serializeAws_restXmlPutBucketLifecycleConfigurationCommand = async (input,
|
|
|
1642
1640
|
"content-type": "application/xml",
|
|
1643
1641
|
"x-amz-account-id": input.AccountId,
|
|
1644
1642
|
});
|
|
1645
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` +
|
|
1646
|
-
"/v20180820/bucket/{Bucket}/lifecycleconfiguration";
|
|
1643
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/lifecycleconfiguration";
|
|
1647
1644
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1648
1645
|
let body;
|
|
1649
1646
|
if (input.LifecycleConfiguration !== undefined) {
|
|
@@ -1688,7 +1685,7 @@ const serializeAws_restXmlPutBucketPolicyCommand = async (input, context) => {
|
|
|
1688
1685
|
() => input.ConfirmRemoveSelfBucketAccess.toString(),
|
|
1689
1686
|
],
|
|
1690
1687
|
});
|
|
1691
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/
|
|
1688
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/policy";
|
|
1692
1689
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1693
1690
|
let body;
|
|
1694
1691
|
body = '<?xml version="1.0" encoding="UTF-8"?>';
|
|
@@ -1727,7 +1724,7 @@ const serializeAws_restXmlPutBucketTaggingCommand = async (input, context) => {
|
|
|
1727
1724
|
"content-type": "application/xml",
|
|
1728
1725
|
"x-amz-account-id": input.AccountId,
|
|
1729
1726
|
});
|
|
1730
|
-
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/
|
|
1727
|
+
let resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v20180820/bucket/tagging";
|
|
1731
1728
|
resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Bucket", () => input.Bucket, "{Bucket}", false);
|
|
1732
1729
|
let body;
|
|
1733
1730
|
if (input.Tagging !== undefined) {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
5
|
-
const
|
|
5
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
6
6
|
const getRuntimeConfig = (config) => {
|
|
7
7
|
var _a, _b, _c, _d, _e, _f;
|
|
8
8
|
return ({
|
|
9
9
|
apiVersion: "2018-08-20",
|
|
10
10
|
disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
|
|
12
|
+
logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
|
|
13
13
|
serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "S3 Control",
|
|
14
14
|
signingEscapePath: (_e = config === null || config === void 0 ? void 0 : config.signingEscapePath) !== null && _e !== void 0 ? _e : false,
|
|
15
15
|
urlParser: (_f = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _f !== void 0 ? _f : url_parser_1.parseUrl,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { resolveRegionConfig } from "@aws-sdk/config-resolver";
|
|
2
2
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
3
|
+
import { resolveEndpointConfig } from "@aws-sdk/middleware-endpoint";
|
|
3
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
4
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
5
6
|
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
@@ -8,19 +9,21 @@ import { resolveS3ControlConfig, } from "@aws-sdk/middleware-sdk-s3-control";
|
|
|
8
9
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
9
10
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
10
11
|
import { Client as __Client, } from "@aws-sdk/smithy-client";
|
|
12
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
11
13
|
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
12
14
|
export class S3ControlClient extends __Client {
|
|
13
15
|
constructor(configuration) {
|
|
14
16
|
const _config_0 = __getRuntimeConfig(configuration);
|
|
15
|
-
const _config_1 =
|
|
16
|
-
const _config_2 =
|
|
17
|
-
const _config_3 =
|
|
18
|
-
const _config_4 =
|
|
19
|
-
const _config_5 =
|
|
20
|
-
const _config_6 =
|
|
21
|
-
const _config_7 =
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
18
|
+
const _config_2 = resolveRegionConfig(_config_1);
|
|
19
|
+
const _config_3 = resolveEndpointConfig(_config_2);
|
|
20
|
+
const _config_4 = resolveRetryConfig(_config_3);
|
|
21
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
22
|
+
const _config_6 = resolveAwsAuthConfig(_config_5);
|
|
23
|
+
const _config_7 = resolveS3ControlConfig(_config_6);
|
|
24
|
+
const _config_8 = resolveUserAgentConfig(_config_7);
|
|
25
|
+
super(_config_8);
|
|
26
|
+
this.config = _config_8;
|
|
24
27
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
25
28
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
26
29
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,20 @@ export class CreateAccessPointCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
16
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
11
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
24
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateAccessPointCommand.getEndpointParameterInstructions()));
|
|
13
26
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
28
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,19 @@ export class CreateAccessPointForObjectLambdaCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
11
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
23
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateAccessPointForObjectLambdaCommand.getEndpointParameterInstructions()));
|
|
13
25
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
27
|
const { logger } = configuration;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
2
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
3
|
import { getRedirectFromPostIdPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -9,8 +10,20 @@ export class CreateBucketCommand extends $Command {
|
|
|
9
10
|
super();
|
|
10
11
|
this.input = input;
|
|
11
12
|
}
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
OutpostId: { type: "contextParams", name: "OutpostId" },
|
|
16
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
17
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
18
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
19
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
20
|
+
Region: { type: "builtInParams", name: "region" },
|
|
21
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
22
|
+
};
|
|
23
|
+
}
|
|
12
24
|
resolveMiddleware(clientStack, configuration, options) {
|
|
13
25
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
26
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateBucketCommand.getEndpointParameterInstructions()));
|
|
14
27
|
this.middlewareStack.use(getRedirectFromPostIdPlugin(configuration));
|
|
15
28
|
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
16
29
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,19 @@ export class CreateJobCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
11
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
23
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateJobCommand.getEndpointParameterInstructions()));
|
|
13
25
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
27
|
const { logger } = configuration;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
2
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
3
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -9,8 +10,19 @@ export class CreateMultiRegionAccessPointCommand extends $Command {
|
|
|
9
10
|
super();
|
|
10
11
|
this.input = input;
|
|
11
12
|
}
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
16
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
12
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
13
24
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, CreateMultiRegionAccessPointCommand.getEndpointParameterInstructions()));
|
|
14
26
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
15
27
|
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
16
28
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,20 @@ export class DeleteAccessPointCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccessPointName: { type: "contextParams", name: "AccessPointName" },
|
|
15
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
16
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
11
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
24
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAccessPointCommand.getEndpointParameterInstructions()));
|
|
13
26
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
28
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,19 @@ export class DeleteAccessPointForObjectLambdaCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
11
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
23
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAccessPointForObjectLambdaCommand.getEndpointParameterInstructions()));
|
|
13
25
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
27
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,20 @@ export class DeleteAccessPointPolicyCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccessPointName: { type: "contextParams", name: "AccessPointName" },
|
|
15
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
16
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
11
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
24
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAccessPointPolicyCommand.getEndpointParameterInstructions()));
|
|
13
26
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
28
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,19 @@ export class DeleteAccessPointPolicyForObjectLambdaCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
11
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
23
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAccessPointPolicyForObjectLambdaCommand.getEndpointParameterInstructions()));
|
|
13
25
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
27
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,20 @@ export class DeleteBucketCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
16
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
11
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
24
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteBucketCommand.getEndpointParameterInstructions()));
|
|
13
26
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
28
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,20 @@ export class DeleteBucketLifecycleConfigurationCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
16
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
11
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
24
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteBucketLifecycleConfigurationCommand.getEndpointParameterInstructions()));
|
|
13
26
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
28
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,20 @@ export class DeleteBucketPolicyCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
16
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
11
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
24
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteBucketPolicyCommand.getEndpointParameterInstructions()));
|
|
13
26
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
28
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,20 @@ export class DeleteBucketTaggingCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
Bucket: { type: "contextParams", name: "Bucket" },
|
|
16
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
11
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
24
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteBucketTaggingCommand.getEndpointParameterInstructions()));
|
|
13
26
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
27
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
28
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,19 @@ export class DeleteJobTaggingCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
11
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
23
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteJobTaggingCommand.getEndpointParameterInstructions()));
|
|
13
25
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
27
|
const { logger } = configuration;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
2
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
2
3
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
4
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
5
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -9,8 +10,19 @@ export class DeleteMultiRegionAccessPointCommand extends $Command {
|
|
|
9
10
|
super();
|
|
10
11
|
this.input = input;
|
|
11
12
|
}
|
|
13
|
+
static getEndpointParameterInstructions() {
|
|
14
|
+
return {
|
|
15
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
16
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
17
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
18
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
19
|
+
Region: { type: "builtInParams", name: "region" },
|
|
20
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
21
|
+
};
|
|
22
|
+
}
|
|
12
23
|
resolveMiddleware(clientStack, configuration, options) {
|
|
13
24
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
25
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteMultiRegionAccessPointCommand.getEndpointParameterInstructions()));
|
|
14
26
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
15
27
|
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
16
28
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,19 @@ export class DeletePublicAccessBlockCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
11
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
23
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeletePublicAccessBlockCommand.getEndpointParameterInstructions()));
|
|
13
25
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
27
|
const { logger } = configuration;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
2
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
@@ -8,8 +9,19 @@ export class DeleteStorageLensConfigurationCommand extends $Command {
|
|
|
8
9
|
super();
|
|
9
10
|
this.input = input;
|
|
10
11
|
}
|
|
12
|
+
static getEndpointParameterInstructions() {
|
|
13
|
+
return {
|
|
14
|
+
AccountId: { type: "contextParams", name: "AccountId" },
|
|
15
|
+
UseArnRegion: { type: "clientContextParams", name: "useArnRegion" },
|
|
16
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
17
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
18
|
+
Region: { type: "builtInParams", name: "region" },
|
|
19
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
20
|
+
};
|
|
21
|
+
}
|
|
11
22
|
resolveMiddleware(clientStack, configuration, options) {
|
|
12
23
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
24
|
+
this.middlewareStack.use(getEndpointPlugin(configuration, DeleteStorageLensConfigurationCommand.getEndpointParameterInstructions()));
|
|
13
25
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
14
26
|
const stack = clientStack.concat(this.middlewareStack);
|
|
15
27
|
const { logger } = configuration;
|