@aws-sdk/client-s3-control 3.33.0 → 3.34.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 +11 -0
- package/dist/cjs/package.json +45 -45
- package/dist/es/S3Control.js +1 -7
- package/dist/es/S3Control.js.map +1 -1
- package/dist/es/S3Control.spec.js +16 -21
- package/dist/es/S3Control.spec.js.map +1 -1
- package/dist/es/S3ControlClient.js +1 -12
- package/dist/es/S3ControlClient.js.map +1 -1
- package/dist/es/commands/CreateAccessPointCommand.js +2 -57
- package/dist/es/commands/CreateAccessPointCommand.js.map +1 -1
- package/dist/es/commands/CreateAccessPointForObjectLambdaCommand.js +2 -46
- package/dist/es/commands/CreateAccessPointForObjectLambdaCommand.js.map +1 -1
- package/dist/es/commands/CreateBucketCommand.js +2 -76
- package/dist/es/commands/CreateBucketCommand.js.map +1 -1
- package/dist/es/commands/CreateJobCommand.js +2 -60
- package/dist/es/commands/CreateJobCommand.js.map +1 -1
- package/dist/es/commands/CreateMultiRegionAccessPointCommand.js +2 -60
- package/dist/es/commands/CreateMultiRegionAccessPointCommand.js.map +1 -1
- package/dist/es/commands/DeleteAccessPointCommand.js +2 -47
- package/dist/es/commands/DeleteAccessPointCommand.js.map +1 -1
- package/dist/es/commands/DeleteAccessPointForObjectLambdaCommand.js +2 -45
- package/dist/es/commands/DeleteAccessPointForObjectLambdaCommand.js.map +1 -1
- package/dist/es/commands/DeleteAccessPointPolicyCommand.js +2 -42
- package/dist/es/commands/DeleteAccessPointPolicyCommand.js.map +1 -1
- package/dist/es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +2 -40
- package/dist/es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js.map +1 -1
- package/dist/es/commands/DeleteBucketCommand.js +2 -55
- package/dist/es/commands/DeleteBucketCommand.js.map +1 -1
- package/dist/es/commands/DeleteBucketLifecycleConfigurationCommand.js +2 -55
- package/dist/es/commands/DeleteBucketLifecycleConfigurationCommand.js.map +1 -1
- package/dist/es/commands/DeleteBucketPolicyCommand.js +2 -67
- package/dist/es/commands/DeleteBucketPolicyCommand.js.map +1 -1
- package/dist/es/commands/DeleteBucketTaggingCommand.js +2 -53
- package/dist/es/commands/DeleteBucketTaggingCommand.js.map +1 -1
- package/dist/es/commands/DeleteJobTaggingCommand.js +2 -49
- package/dist/es/commands/DeleteJobTaggingCommand.js.map +1 -1
- package/dist/es/commands/DeleteMultiRegionAccessPointCommand.js +2 -59
- package/dist/es/commands/DeleteMultiRegionAccessPointCommand.js.map +1 -1
- package/dist/es/commands/DeletePublicAccessBlockCommand.js +2 -42
- package/dist/es/commands/DeletePublicAccessBlockCommand.js.map +1 -1
- package/dist/es/commands/DeleteStorageLensConfigurationCommand.js +2 -36
- package/dist/es/commands/DeleteStorageLensConfigurationCommand.js.map +1 -1
- package/dist/es/commands/DeleteStorageLensConfigurationTaggingCommand.js +2 -36
- package/dist/es/commands/DeleteStorageLensConfigurationTaggingCommand.js.map +1 -1
- package/dist/es/commands/DescribeJobCommand.js +2 -53
- package/dist/es/commands/DescribeJobCommand.js.map +1 -1
- package/dist/es/commands/DescribeMultiRegionAccessPointOperationCommand.js +2 -53
- package/dist/es/commands/DescribeMultiRegionAccessPointOperationCommand.js.map +1 -1
- package/dist/es/commands/GetAccessPointCommand.js +2 -48
- package/dist/es/commands/GetAccessPointCommand.js.map +1 -1
- package/dist/es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +2 -35
- package/dist/es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js.map +1 -1
- package/dist/es/commands/GetAccessPointForObjectLambdaCommand.js +2 -45
- package/dist/es/commands/GetAccessPointForObjectLambdaCommand.js.map +1 -1
- package/dist/es/commands/GetAccessPointPolicyCommand.js +2 -40
- package/dist/es/commands/GetAccessPointPolicyCommand.js.map +1 -1
- package/dist/es/commands/GetAccessPointPolicyForObjectLambdaCommand.js +2 -40
- package/dist/es/commands/GetAccessPointPolicyForObjectLambdaCommand.js.map +1 -1
- package/dist/es/commands/GetAccessPointPolicyStatusCommand.js +2 -27
- package/dist/es/commands/GetAccessPointPolicyStatusCommand.js.map +1 -1
- package/dist/es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +2 -27
- package/dist/es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js.map +1 -1
- package/dist/es/commands/GetBucketCommand.js +2 -57
- package/dist/es/commands/GetBucketCommand.js.map +1 -1
- package/dist/es/commands/GetBucketLifecycleConfigurationCommand.js +2 -75
- package/dist/es/commands/GetBucketLifecycleConfigurationCommand.js.map +1 -1
- package/dist/es/commands/GetBucketPolicyCommand.js +2 -67
- package/dist/es/commands/GetBucketPolicyCommand.js.map +1 -1
- package/dist/es/commands/GetBucketTaggingCommand.js +2 -65
- package/dist/es/commands/GetBucketTaggingCommand.js.map +1 -1
- package/dist/es/commands/GetJobTaggingCommand.js +2 -50
- package/dist/es/commands/GetJobTaggingCommand.js.map +1 -1
- package/dist/es/commands/GetMultiRegionAccessPointCommand.js +2 -54
- package/dist/es/commands/GetMultiRegionAccessPointCommand.js.map +1 -1
- package/dist/es/commands/GetMultiRegionAccessPointPolicyCommand.js +2 -44
- package/dist/es/commands/GetMultiRegionAccessPointPolicyCommand.js.map +1 -1
- package/dist/es/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +2 -45
- package/dist/es/commands/GetMultiRegionAccessPointPolicyStatusCommand.js.map +1 -1
- package/dist/es/commands/GetPublicAccessBlockCommand.js +2 -42
- package/dist/es/commands/GetPublicAccessBlockCommand.js.map +1 -1
- package/dist/es/commands/GetStorageLensConfigurationCommand.js +2 -36
- package/dist/es/commands/GetStorageLensConfigurationCommand.js.map +1 -1
- package/dist/es/commands/GetStorageLensConfigurationTaggingCommand.js +2 -35
- package/dist/es/commands/GetStorageLensConfigurationTaggingCommand.js.map +1 -1
- package/dist/es/commands/ListAccessPointsCommand.js +2 -50
- package/dist/es/commands/ListAccessPointsCommand.js.map +1 -1
- package/dist/es/commands/ListAccessPointsForObjectLambdaCommand.js +2 -48
- package/dist/es/commands/ListAccessPointsForObjectLambdaCommand.js.map +1 -1
- package/dist/es/commands/ListJobsCommand.js +2 -53
- package/dist/es/commands/ListJobsCommand.js.map +1 -1
- package/dist/es/commands/ListMultiRegionAccessPointsCommand.js +2 -56
- package/dist/es/commands/ListMultiRegionAccessPointsCommand.js.map +1 -1
- package/dist/es/commands/ListRegionalBucketsCommand.js +2 -31
- package/dist/es/commands/ListRegionalBucketsCommand.js.map +1 -1
- package/dist/es/commands/ListStorageLensConfigurationsCommand.js +2 -36
- package/dist/es/commands/ListStorageLensConfigurationsCommand.js.map +1 -1
- package/dist/es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +2 -35
- package/dist/es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js.map +1 -1
- package/dist/es/commands/PutAccessPointPolicyCommand.js +2 -43
- package/dist/es/commands/PutAccessPointPolicyCommand.js.map +1 -1
- package/dist/es/commands/PutAccessPointPolicyForObjectLambdaCommand.js +2 -41
- package/dist/es/commands/PutAccessPointPolicyForObjectLambdaCommand.js.map +1 -1
- package/dist/es/commands/PutBucketLifecycleConfigurationCommand.js +2 -49
- package/dist/es/commands/PutBucketLifecycleConfigurationCommand.js.map +1 -1
- package/dist/es/commands/PutBucketPolicyCommand.js +2 -65
- package/dist/es/commands/PutBucketPolicyCommand.js.map +1 -1
- package/dist/es/commands/PutBucketTaggingCommand.js +2 -110
- package/dist/es/commands/PutBucketTaggingCommand.js.map +1 -1
- package/dist/es/commands/PutJobTaggingCommand.js +2 -89
- package/dist/es/commands/PutJobTaggingCommand.js.map +1 -1
- package/dist/es/commands/PutMultiRegionAccessPointPolicyCommand.js +2 -46
- package/dist/es/commands/PutMultiRegionAccessPointPolicyCommand.js.map +1 -1
- package/dist/es/commands/PutPublicAccessBlockCommand.js +2 -42
- package/dist/es/commands/PutPublicAccessBlockCommand.js.map +1 -1
- package/dist/es/commands/PutStorageLensConfigurationCommand.js +2 -34
- package/dist/es/commands/PutStorageLensConfigurationCommand.js.map +1 -1
- package/dist/es/commands/PutStorageLensConfigurationTaggingCommand.js +2 -36
- package/dist/es/commands/PutStorageLensConfigurationTaggingCommand.js.map +1 -1
- package/dist/es/commands/UpdateJobPriorityCommand.js +2 -52
- package/dist/es/commands/UpdateJobPriorityCommand.js.map +1 -1
- package/dist/es/commands/UpdateJobStatusCommand.js +2 -53
- package/dist/es/commands/UpdateJobStatusCommand.js.map +1 -1
- package/dist/es/endpoints.js +1 -1
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/models/models_0.js +0 -561
- package/dist/es/models/models_0.js.map +1 -1
- package/dist/es/package.json +45 -45
- package/dist/es/pagination/ListAccessPointsForObjectLambdaPaginator.js +16 -28
- package/dist/es/pagination/ListAccessPointsForObjectLambdaPaginator.js.map +1 -1
- package/dist/es/pagination/ListAccessPointsPaginator.js +16 -28
- package/dist/es/pagination/ListAccessPointsPaginator.js.map +1 -1
- package/dist/es/pagination/ListJobsPaginator.js +16 -28
- package/dist/es/pagination/ListJobsPaginator.js.map +1 -1
- package/dist/es/pagination/ListMultiRegionAccessPointsPaginator.js +16 -28
- package/dist/es/pagination/ListMultiRegionAccessPointsPaginator.js.map +1 -1
- package/dist/es/pagination/ListRegionalBucketsPaginator.js +16 -28
- package/dist/es/pagination/ListRegionalBucketsPaginator.js.map +1 -1
- package/dist/es/pagination/ListStorageLensConfigurationsPaginator.js +16 -28
- package/dist/es/pagination/ListStorageLensConfigurationsPaginator.js.map +1 -1
- package/dist/es/protocols/Aws_restXml.js +617 -619
- package/dist/es/protocols/Aws_restXml.js.map +1 -1
- package/dist/es/runtimeConfig.browser.js +0 -3
- package/dist/es/runtimeConfig.browser.js.map +1 -1
- package/dist/es/runtimeConfig.js +0 -3
- package/dist/es/runtimeConfig.js.map +1 -1
- package/dist/es/runtimeConfig.native.js +0 -3
- package/dist/es/runtimeConfig.native.js.map +1 -1
- package/dist/es/runtimeConfig.shared.js +0 -3
- package/dist/es/runtimeConfig.shared.js.map +1 -1
- package/package.json +45 -45
- package/tsconfig.es.json +0 -2
- package/tsconfig.json +3 -4
- package/tsconfig.types.json +8 -0
|
@@ -4,66 +4,13 @@ import { deserializeAws_restXmlDeleteBucketCommand, serializeAws_restXmlDeleteBu
|
|
|
4
4
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
5
5
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
6
6
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>This action deletes an Amazon S3 on Outposts bucket. To delete an S3 bucket,
|
|
10
|
-
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucket.html">DeleteBucket</a> in the <i>Amazon S3 API Reference</i>.
|
|
11
|
-
* </p>
|
|
12
|
-
* </note>
|
|
13
|
-
* <p>Deletes the Amazon S3 on Outposts bucket. All objects (including all object versions and delete markers) in the
|
|
14
|
-
* bucket must be deleted before the bucket itself can be deleted.
|
|
15
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in <i>Amazon S3 User Guide</i>.</p>
|
|
16
|
-
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request and an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucket.html#API_control_DeleteBucket_Examples">Examples</a> section.</p>
|
|
17
|
-
* <p class="title">
|
|
18
|
-
* <b>Related Resources</b>
|
|
19
|
-
* </p>
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>
|
|
23
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateBucket.html">CreateBucket</a>
|
|
24
|
-
* </p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucket.html">GetBucket</a>
|
|
29
|
-
* </p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>
|
|
33
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteObject.html">DeleteObject</a>
|
|
34
|
-
* </p>
|
|
35
|
-
* </li>
|
|
36
|
-
* </ul>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { S3ControlClient, DeleteBucketCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
41
|
-
* // const { S3ControlClient, DeleteBucketCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
42
|
-
* const client = new S3ControlClient(config);
|
|
43
|
-
* const command = new DeleteBucketCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link DeleteBucketCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link DeleteBucketCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
var DeleteBucketCommand = /** @class */ (function (_super) {
|
|
7
|
+
var DeleteBucketCommand = (function (_super) {
|
|
53
8
|
__extends(DeleteBucketCommand, _super);
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
9
|
function DeleteBucketCommand(input) {
|
|
57
|
-
var _this =
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
60
11
|
_this.input = input;
|
|
61
12
|
return _this;
|
|
62
|
-
// End section: command_constructor
|
|
63
13
|
}
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
14
|
DeleteBucketCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
68
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
16
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteBucketCommand.js","sourceRoot":"","sources":["../../../commands/DeleteBucketCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteBucketCommand.js","sourceRoot":"","sources":["../../../commands/DeleteBucketCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AACzD,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AA2D7D;IAAyC,uCAIxC;IAIC,6BAAqB,KAA+B;QAApD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0B;;IAIpD,CAAC;IAKD,+CAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B;QAE9B,IAAI,CA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-sdk-s3-control";
|
|
5
5
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
6
6
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>This action deletes an Amazon S3 on Outposts bucket's lifecycle configuration. To delete an
|
|
10
|
-
* S3 bucket's lifecycle configuration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketLifecycle.html">DeleteBucketLifecycle</a> in the <i>Amazon S3 API Reference</i>.
|
|
11
|
-
* </p>
|
|
12
|
-
* </note>
|
|
13
|
-
* <p>Deletes the lifecycle configuration from the specified Outposts bucket. Amazon S3 on Outposts removes all the lifecycle configuration
|
|
14
|
-
* rules in the lifecycle subresource associated with the bucket. Your objects never expire, and Amazon S3 on Outposts no longer automatically
|
|
15
|
-
* deletes any objects on the basis of rules contained in the deleted lifecycle configuration.
|
|
16
|
-
* For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in <i>Amazon S3 User Guide</i>.</p>
|
|
17
|
-
* <p>To use this action, you must have permission to perform the
|
|
18
|
-
* <code>s3-outposts:DeleteLifecycleConfiguration</code> action. By default, the bucket
|
|
19
|
-
* owner has this permission and the Outposts bucket owner can grant this permission to
|
|
20
|
-
* others.</p>
|
|
21
|
-
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request and an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html#API_control_DeleteBucketLifecycleConfiguration_Examples">Examples</a> section.</p>
|
|
22
|
-
*
|
|
23
|
-
* <p>For more information about object expiration, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/intro-lifecycle-rules.html#intro-lifecycle-rules-actions">Elements to Describe Lifecycle Actions</a>.</p>
|
|
24
|
-
* <p>Related actions include:</p>
|
|
25
|
-
* <ul>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a>
|
|
29
|
-
* </p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>
|
|
33
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html">GetBucketLifecycleConfiguration</a>
|
|
34
|
-
* </p>
|
|
35
|
-
* </li>
|
|
36
|
-
* </ul>
|
|
37
|
-
* @example
|
|
38
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
39
|
-
* ```javascript
|
|
40
|
-
* import { S3ControlClient, DeleteBucketLifecycleConfigurationCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
41
|
-
* // const { S3ControlClient, DeleteBucketLifecycleConfigurationCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
42
|
-
* const client = new S3ControlClient(config);
|
|
43
|
-
* const command = new DeleteBucketLifecycleConfigurationCommand(input);
|
|
44
|
-
* const response = await client.send(command);
|
|
45
|
-
* ```
|
|
46
|
-
*
|
|
47
|
-
* @see {@link DeleteBucketLifecycleConfigurationCommandInput} for command's `input` shape.
|
|
48
|
-
* @see {@link DeleteBucketLifecycleConfigurationCommandOutput} for command's `response` shape.
|
|
49
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
50
|
-
*
|
|
51
|
-
*/
|
|
52
|
-
var DeleteBucketLifecycleConfigurationCommand = /** @class */ (function (_super) {
|
|
7
|
+
var DeleteBucketLifecycleConfigurationCommand = (function (_super) {
|
|
53
8
|
__extends(DeleteBucketLifecycleConfigurationCommand, _super);
|
|
54
|
-
// Start section: command_properties
|
|
55
|
-
// End section: command_properties
|
|
56
9
|
function DeleteBucketLifecycleConfigurationCommand(input) {
|
|
57
|
-
var _this =
|
|
58
|
-
// Start section: command_constructor
|
|
59
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
60
11
|
_this.input = input;
|
|
61
12
|
return _this;
|
|
62
|
-
// End section: command_constructor
|
|
63
13
|
}
|
|
64
|
-
/**
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
67
14
|
DeleteBucketLifecycleConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
68
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
16
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteBucketLifecycleConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/DeleteBucketLifecycleConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yCAAyC,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,+DAA+D,EAC/D,6DAA6D,GAC9D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteBucketLifecycleConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/DeleteBucketLifecycleConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yCAAyC,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,+DAA+D,EAC/D,6DAA6D,GAC9D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA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MAAsB,EACtB,OAAuB;QAEvB,OAAO,+DAA+D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAIH,gDAAC;AAAD,CAAC,AA7DD,CAA+D,QAAQ,GA6DtE"}
|
|
@@ -4,78 +4,13 @@ import { deserializeAws_restXmlDeleteBucketPolicyCommand, serializeAws_restXmlDe
|
|
|
4
4
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
5
5
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
6
6
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>This action deletes an Amazon S3 on Outposts bucket policy. To delete an
|
|
10
|
-
* S3 bucket policy, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketPolicy.html">DeleteBucketPolicy</a> in the <i>Amazon S3 API Reference</i>.
|
|
11
|
-
* </p>
|
|
12
|
-
* </note>
|
|
13
|
-
* <p>This implementation of the DELETE action uses the policy subresource to delete the
|
|
14
|
-
* policy of a specified Amazon S3 on Outposts bucket. If you are using an identity other than the
|
|
15
|
-
* root user of the Amazon Web Services account that owns the bucket, the calling identity must have the
|
|
16
|
-
* <code>s3-outposts:DeleteBucketPolicy</code> permissions on the specified Outposts bucket
|
|
17
|
-
* and belong to the bucket owner's account to use this action. For more information, see
|
|
18
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in
|
|
19
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
20
|
-
*
|
|
21
|
-
* <p>If you don't have <code>DeleteBucketPolicy</code> permissions, Amazon S3 returns a
|
|
22
|
-
* <code>403 Access Denied</code> error. If you have the correct permissions, but you're
|
|
23
|
-
* not using an identity that belongs to the bucket owner's account, Amazon S3 returns a
|
|
24
|
-
* <code>405 Method Not Allowed</code> error. </p>
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* <important>
|
|
28
|
-
* <p>As a security precaution, the root user of the Amazon Web Services account that owns a bucket can always use this action,
|
|
29
|
-
* even if the policy explicitly denies the root user the ability to perform this action.</p>
|
|
30
|
-
* </important>
|
|
31
|
-
*
|
|
32
|
-
* <p>For more information about bucket policies, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/using-iam-policies.html">Using Bucket Policies and User Policies</a>. </p>
|
|
33
|
-
*
|
|
34
|
-
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request and an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html#API_control_DeleteBucketPolicy_Examples">Examples</a> section.</p>
|
|
35
|
-
*
|
|
36
|
-
* <p>The following actions are related to <code>DeleteBucketPolicy</code>:</p>
|
|
37
|
-
* <ul>
|
|
38
|
-
* <li>
|
|
39
|
-
* <p>
|
|
40
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html">GetBucketPolicy</a>
|
|
41
|
-
* </p>
|
|
42
|
-
* </li>
|
|
43
|
-
* <li>
|
|
44
|
-
* <p>
|
|
45
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketPolicy.html">PutBucketPolicy</a>
|
|
46
|
-
* </p>
|
|
47
|
-
* </li>
|
|
48
|
-
* </ul>
|
|
49
|
-
* @example
|
|
50
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
51
|
-
* ```javascript
|
|
52
|
-
* import { S3ControlClient, DeleteBucketPolicyCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
53
|
-
* // const { S3ControlClient, DeleteBucketPolicyCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
54
|
-
* const client = new S3ControlClient(config);
|
|
55
|
-
* const command = new DeleteBucketPolicyCommand(input);
|
|
56
|
-
* const response = await client.send(command);
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* @see {@link DeleteBucketPolicyCommandInput} for command's `input` shape.
|
|
60
|
-
* @see {@link DeleteBucketPolicyCommandOutput} for command's `response` shape.
|
|
61
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
var DeleteBucketPolicyCommand = /** @class */ (function (_super) {
|
|
7
|
+
var DeleteBucketPolicyCommand = (function (_super) {
|
|
65
8
|
__extends(DeleteBucketPolicyCommand, _super);
|
|
66
|
-
// Start section: command_properties
|
|
67
|
-
// End section: command_properties
|
|
68
9
|
function DeleteBucketPolicyCommand(input) {
|
|
69
|
-
var _this =
|
|
70
|
-
// Start section: command_constructor
|
|
71
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
72
11
|
_this.input = input;
|
|
73
12
|
return _this;
|
|
74
|
-
// End section: command_constructor
|
|
75
13
|
}
|
|
76
|
-
/**
|
|
77
|
-
* @internal
|
|
78
|
-
*/
|
|
79
14
|
DeleteBucketPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
80
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
81
16
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteBucketPolicyCommand.js","sourceRoot":"","sources":["../../../commands/DeleteBucketPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EACL,+CAA+C,EAC/C,6CAA6C,GAC9C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAA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,MAAW,IAAK,OAAA,MAAM,EAAN,CAAM;SAClD,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAvDD,CAA+C,QAAQ,GAuDtD"}
|
|
@@ -4,64 +4,13 @@ import { deserializeAws_restXmlDeleteBucketTaggingCommand, serializeAws_restXmlD
|
|
|
4
4
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
5
5
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
6
6
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
|
|
8
|
-
* <note>
|
|
9
|
-
* <p>This action deletes an Amazon S3 on Outposts bucket's tags. To delete an
|
|
10
|
-
* S3 bucket tags, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketTagging.html">DeleteBucketTagging</a> in the <i>Amazon S3 API Reference</i>.
|
|
11
|
-
* </p>
|
|
12
|
-
* </note>
|
|
13
|
-
* <p>Deletes the tags from the Outposts bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in
|
|
14
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
15
|
-
*
|
|
16
|
-
* <p>To use this action, you must have permission to perform the <code>PutBucketTagging</code> action.
|
|
17
|
-
* By default, the bucket owner has this permission and can grant this permission to others.
|
|
18
|
-
* </p>
|
|
19
|
-
*
|
|
20
|
-
* <p>All Amazon S3 on Outposts REST API requests for this action require an additional parameter of <code>x-amz-outpost-id</code> to be passed with the request and an S3 on Outposts endpoint hostname prefix instead of <code>s3-control</code>. For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts endpoint hostname prefix and the <code>x-amz-outpost-id</code> derived using the access point ARN, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html#API_control_DeleteBucketTagging_Examples">Examples</a> section.</p>
|
|
21
|
-
*
|
|
22
|
-
* <p>The following actions are related to <code>DeleteBucketTagging</code>:</p>
|
|
23
|
-
* <ul>
|
|
24
|
-
* <li>
|
|
25
|
-
* <p>
|
|
26
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html">GetBucketTagging</a>
|
|
27
|
-
* </p>
|
|
28
|
-
* </li>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutBucketTagging.html">PutBucketTagging</a>
|
|
32
|
-
* </p>
|
|
33
|
-
* </li>
|
|
34
|
-
* </ul>
|
|
35
|
-
* @example
|
|
36
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
37
|
-
* ```javascript
|
|
38
|
-
* import { S3ControlClient, DeleteBucketTaggingCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
39
|
-
* // const { S3ControlClient, DeleteBucketTaggingCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
40
|
-
* const client = new S3ControlClient(config);
|
|
41
|
-
* const command = new DeleteBucketTaggingCommand(input);
|
|
42
|
-
* const response = await client.send(command);
|
|
43
|
-
* ```
|
|
44
|
-
*
|
|
45
|
-
* @see {@link DeleteBucketTaggingCommandInput} for command's `input` shape.
|
|
46
|
-
* @see {@link DeleteBucketTaggingCommandOutput} for command's `response` shape.
|
|
47
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
48
|
-
*
|
|
49
|
-
*/
|
|
50
|
-
var DeleteBucketTaggingCommand = /** @class */ (function (_super) {
|
|
7
|
+
var DeleteBucketTaggingCommand = (function (_super) {
|
|
51
8
|
__extends(DeleteBucketTaggingCommand, _super);
|
|
52
|
-
// Start section: command_properties
|
|
53
|
-
// End section: command_properties
|
|
54
9
|
function DeleteBucketTaggingCommand(input) {
|
|
55
|
-
var _this =
|
|
56
|
-
// Start section: command_constructor
|
|
57
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
58
11
|
_this.input = input;
|
|
59
12
|
return _this;
|
|
60
|
-
// End section: command_constructor
|
|
61
13
|
}
|
|
62
|
-
/**
|
|
63
|
-
* @internal
|
|
64
|
-
*/
|
|
65
14
|
DeleteBucketTaggingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
66
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
67
16
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteBucketTaggingCommand.js","sourceRoot":"","sources":["../../../commands/DeleteBucketTaggingCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteBucketTaggingCommand.js","sourceRoot":"","sources":["../../../commands/DeleteBucketTagging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CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,8CAAS,GAAjB,UAAkB,KAAsC,EAAE,OAAuB;QAC/E,OAAO,8CAA8C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAEO,gDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,gDAAgD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3E,CAAC;IAIH,iCAAC;AAAD,CAAC,AAvDD,CAAgD,QAAQ,GAuDvD"}
|
|
@@ -4,60 +4,13 @@ import { deserializeAws_restXmlDeleteJobTaggingCommand, serializeAws_restXmlDele
|
|
|
4
4
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
5
5
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
6
6
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
|
|
8
|
-
* <p>Removes the entire tag set from the specified S3 Batch Operations job. To use this operation,
|
|
9
|
-
* you must have permission to perform the <code>s3:DeleteJobTagging</code> action. For more
|
|
10
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/batch-ops-managing-jobs.html#batch-ops-job-tags">Controlling access and labeling jobs using tags</a> in the
|
|
11
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
12
|
-
* <p></p>
|
|
13
|
-
* <p>Related actions include:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>
|
|
17
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateJob.html">CreateJob</a>
|
|
18
|
-
* </p>
|
|
19
|
-
* </li>
|
|
20
|
-
* <li>
|
|
21
|
-
* <p>
|
|
22
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetJobTagging.html">GetJobTagging</a>
|
|
23
|
-
* </p>
|
|
24
|
-
* </li>
|
|
25
|
-
* <li>
|
|
26
|
-
* <p>
|
|
27
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutJobTagging.html">PutJobTagging</a>
|
|
28
|
-
* </p>
|
|
29
|
-
* </li>
|
|
30
|
-
* </ul>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { S3ControlClient, DeleteJobTaggingCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
35
|
-
* // const { S3ControlClient, DeleteJobTaggingCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
36
|
-
* const client = new S3ControlClient(config);
|
|
37
|
-
* const command = new DeleteJobTaggingCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link DeleteJobTaggingCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link DeleteJobTaggingCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
var DeleteJobTaggingCommand = /** @class */ (function (_super) {
|
|
7
|
+
var DeleteJobTaggingCommand = (function (_super) {
|
|
47
8
|
__extends(DeleteJobTaggingCommand, _super);
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
9
|
function DeleteJobTaggingCommand(input) {
|
|
51
|
-
var _this =
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
54
11
|
_this.input = input;
|
|
55
12
|
return _this;
|
|
56
|
-
// End section: command_constructor
|
|
57
13
|
}
|
|
58
|
-
/**
|
|
59
|
-
* @internal
|
|
60
|
-
*/
|
|
61
14
|
DeleteJobTaggingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
62
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
63
16
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteJobTaggingCommand.js","sourceRoot":"","sources":["../../../commands/DeleteJobTaggingCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteJobTaggingCommand.js","sourceRoot":"","sources":["../../../commands/DeleteJobTaggingCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,uBAAuB,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACrF,OAAO,EACL,6CAA6C,EAC7C,2CAA2C,GAC5C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAqD7D;IAA6C,2CAI5C;IAIC,iCAAqB,KAAmC;QAAxD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA8B;;IAIxD,CAAC;IAKD,mDAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1F,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,wBAAwB,CAAC,aAAa,CAAC,CAAC,CAAC;QAElE,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,iBAAiB,CAAC;QACrC,IAAM,WAAW,GAAG,yBAAyB,CAAC;QAC9C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,uBAAuB,CAAC,kBAAkB;YACnE,wBAAwB,EAAE,sBAAsB,CAAC,kBAAkB;SACpE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,2CAAS,GAAjB,UAAkB,KAAmC,EAAE,OAAuB;QAC5E,OAAO,2CAA2C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACrE,CAAC;IAEO,6CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,6CAA6C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACxE,CAAC;IAIH,8BAAC;AAAD,CAAC,AAvDD,CAA6C,QAAQ,GAuDpD"}
|
|
@@ -5,70 +5,13 @@ import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-ch
|
|
|
5
5
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
6
6
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
7
7
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
8
|
-
|
|
9
|
-
* <p>Deletes a Multi-Region Access Point. This action does not delete the buckets associated with the Multi-Region Access Point,
|
|
10
|
-
* only the Multi-Region Access Point itself.</p>
|
|
11
|
-
* <p>This action will always be routed to the US West (Oregon) Region. For more
|
|
12
|
-
* information about the restrictions around managing Multi-Region Access Points, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/ManagingMultiRegionAccessPoints.html">Managing
|
|
13
|
-
* Multi-Region Access Points</a> in the
|
|
14
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
15
|
-
* <p>This request is asynchronous, meaning that you might receive a response before the
|
|
16
|
-
* command has completed. When this request provides a response, it provides a token that
|
|
17
|
-
* you can use to monitor the status of the request with
|
|
18
|
-
* <code>DescribeMultiRegionAccessPointOperation</code>.</p>
|
|
19
|
-
* <p>The following actions are related to <code>DeleteMultiRegionAccessPoint</code>:</p>
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>
|
|
23
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_CreateMultiRegionAccessPoint.html">CreateMultiRegionAccessPoint</a>
|
|
24
|
-
* </p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DescribeMultiRegionAccessPointOperation.html">DescribeMultiRegionAccessPointOperation</a>
|
|
29
|
-
* </p>
|
|
30
|
-
* </li>
|
|
31
|
-
* <li>
|
|
32
|
-
* <p>
|
|
33
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetMultiRegionAccessPoint.html">GetMultiRegionAccessPoint</a>
|
|
34
|
-
* </p>
|
|
35
|
-
* </li>
|
|
36
|
-
* <li>
|
|
37
|
-
* <p>
|
|
38
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListMultiRegionAccessPoints.html">ListMultiRegionAccessPoints</a>
|
|
39
|
-
* </p>
|
|
40
|
-
* </li>
|
|
41
|
-
* </ul>
|
|
42
|
-
* @example
|
|
43
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
44
|
-
* ```javascript
|
|
45
|
-
* import { S3ControlClient, DeleteMultiRegionAccessPointCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
46
|
-
* // const { S3ControlClient, DeleteMultiRegionAccessPointCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
47
|
-
* const client = new S3ControlClient(config);
|
|
48
|
-
* const command = new DeleteMultiRegionAccessPointCommand(input);
|
|
49
|
-
* const response = await client.send(command);
|
|
50
|
-
* ```
|
|
51
|
-
*
|
|
52
|
-
* @see {@link DeleteMultiRegionAccessPointCommandInput} for command's `input` shape.
|
|
53
|
-
* @see {@link DeleteMultiRegionAccessPointCommandOutput} for command's `response` shape.
|
|
54
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
var DeleteMultiRegionAccessPointCommand = /** @class */ (function (_super) {
|
|
8
|
+
var DeleteMultiRegionAccessPointCommand = (function (_super) {
|
|
58
9
|
__extends(DeleteMultiRegionAccessPointCommand, _super);
|
|
59
|
-
// Start section: command_properties
|
|
60
|
-
// End section: command_properties
|
|
61
10
|
function DeleteMultiRegionAccessPointCommand(input) {
|
|
62
|
-
var _this =
|
|
63
|
-
// Start section: command_constructor
|
|
64
|
-
_super.call(this) || this;
|
|
11
|
+
var _this = _super.call(this) || this;
|
|
65
12
|
_this.input = input;
|
|
66
13
|
return _this;
|
|
67
|
-
// End section: command_constructor
|
|
68
14
|
}
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
15
|
DeleteMultiRegionAccessPointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
73
16
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
74
17
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteMultiRegionAccessPointCommand.js","sourceRoot":"","sources":["../../../commands/DeleteMultiRegionAccessPointCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteMultiRegionAccessPointCommand.js","sourceRoot":"","sources":["../../../commands/DeleteMultiRegionAccessPointCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mCAAmC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC7G,OAAO,EACL,yDAAyD,EACzD,uDAAuD,GACxD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAiE7D;IAAyD,uDAIxD;IAIC,6CAAqB,KAA+C;QAApE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0C;;IAIpE,CAAC;IAKD,+DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1F,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,wBAAwB,CAAC,aAAa,CAAC,CAAC,CAAC;QAClE,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,6BAA6B,CAAC,aAAa,CAAC,CAAC,CAAC;QAEvE,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,iBAAiB,CAAC;QACrC,IAAM,WAAW,GAAG,qCAAqC,CAAC;QAC1D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,mCAAmC,CAAC,kBAAkB;YAC/E,wBAAwB,EAAE,kCAAkC,CAAC,kBAAkB;SAChF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,uDAAS,GAAjB,UAAkB,KAA+C,EAAE,OAAuB;QACxF,OAAO,uDAAuD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAEO,yDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,yDAAyD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAIH,0CAAC;AAAD,CAAC,AA3DD,CAAyD,QAAQ,GA2DhE"}
|
|
@@ -4,53 +4,13 @@ import { deserializeAws_restXmlDeletePublicAccessBlockCommand, serializeAws_rest
|
|
|
4
4
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
5
5
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
6
6
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
|
|
8
|
-
* <p>Removes the <code>PublicAccessBlock</code> configuration for an Amazon Web Services account. For more
|
|
9
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/access-control-block-public-access.html"> Using Amazon S3 block
|
|
10
|
-
* public access</a>.</p>
|
|
11
|
-
* <p>Related actions include:</p>
|
|
12
|
-
* <ul>
|
|
13
|
-
* <li>
|
|
14
|
-
* <p>
|
|
15
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetPublicAccessBlock.html">GetPublicAccessBlock</a>
|
|
16
|
-
* </p>
|
|
17
|
-
* </li>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>
|
|
20
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_PutPublicAccessBlock.html">PutPublicAccessBlock</a>
|
|
21
|
-
* </p>
|
|
22
|
-
* </li>
|
|
23
|
-
* </ul>
|
|
24
|
-
* @example
|
|
25
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
-
* ```javascript
|
|
27
|
-
* import { S3ControlClient, DeletePublicAccessBlockCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
28
|
-
* // const { S3ControlClient, DeletePublicAccessBlockCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
29
|
-
* const client = new S3ControlClient(config);
|
|
30
|
-
* const command = new DeletePublicAccessBlockCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link DeletePublicAccessBlockCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link DeletePublicAccessBlockCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
39
|
-
var DeletePublicAccessBlockCommand = /** @class */ (function (_super) {
|
|
7
|
+
var DeletePublicAccessBlockCommand = (function (_super) {
|
|
40
8
|
__extends(DeletePublicAccessBlockCommand, _super);
|
|
41
|
-
// Start section: command_properties
|
|
42
|
-
// End section: command_properties
|
|
43
9
|
function DeletePublicAccessBlockCommand(input) {
|
|
44
|
-
var _this =
|
|
45
|
-
// Start section: command_constructor
|
|
46
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
47
11
|
_this.input = input;
|
|
48
12
|
return _this;
|
|
49
|
-
// End section: command_constructor
|
|
50
13
|
}
|
|
51
|
-
/**
|
|
52
|
-
* @internal
|
|
53
|
-
*/
|
|
54
14
|
DeletePublicAccessBlockCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
55
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
56
16
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeletePublicAccessBlockCommand.js","sourceRoot":"","sources":["../../../commands/DeletePublicAccessBlockCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DeletePublicAccessBlockCommand.js","sourceRoot":"","sources":["../../../commands/DeletePublicAccessBlockCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,oBAAoB,CAAC;AACpE,OAAO,EACL,oDAAoD,EACpD,kDAAkD,GACnD,MAAM,0BAA0B,CAAC;AAClC,OAA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AAO,kDAAkD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAEO,oDAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,oDAAoD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAIH,qCAAC;AAAD,CAAC,AAvDD,CAAoD,QAAQ,GAuD3D"}
|
|
@@ -4,47 +4,13 @@ import { deserializeAws_restXmlDeleteStorageLensConfigurationCommand, serializeA
|
|
|
4
4
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
5
5
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
6
6
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
7
|
-
|
|
8
|
-
* <p>Deletes the Amazon S3 Storage Lens configuration. For more information about S3 Storage Lens, see
|
|
9
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens.html">Assessing your storage
|
|
10
|
-
* activity and usage with Amazon S3 Storage Lens </a> in the
|
|
11
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
12
|
-
* <note>
|
|
13
|
-
* <p>To use this action,
|
|
14
|
-
* you must have permission to perform the <code>s3:DeleteStorageLensConfiguration</code> action. For more
|
|
15
|
-
* information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/storage_lens_iam_permissions.html">Setting permissions to use Amazon S3 Storage Lens</a> in the
|
|
16
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
17
|
-
* </note>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { S3ControlClient, DeleteStorageLensConfigurationCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
22
|
-
* // const { S3ControlClient, DeleteStorageLensConfigurationCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
23
|
-
* const client = new S3ControlClient(config);
|
|
24
|
-
* const command = new DeleteStorageLensConfigurationCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link DeleteStorageLensConfigurationCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link DeleteStorageLensConfigurationCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
var DeleteStorageLensConfigurationCommand = /** @class */ (function (_super) {
|
|
7
|
+
var DeleteStorageLensConfigurationCommand = (function (_super) {
|
|
34
8
|
__extends(DeleteStorageLensConfigurationCommand, _super);
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
9
|
function DeleteStorageLensConfigurationCommand(input) {
|
|
38
|
-
var _this =
|
|
39
|
-
// Start section: command_constructor
|
|
40
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
41
11
|
_this.input = input;
|
|
42
12
|
return _this;
|
|
43
|
-
// End section: command_constructor
|
|
44
13
|
}
|
|
45
|
-
/**
|
|
46
|
-
* @internal
|
|
47
|
-
*/
|
|
48
14
|
DeleteStorageLensConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
49
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
50
16
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DeleteStorageLensConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/DeleteStorageLensConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qCAAqC,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,2DAA2D,EAC3D,yDAAyD,GAC1D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"DeleteStorageLensConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/DeleteStorageLensConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,qCAAqC,EAAE,MAAM,oBAAoB,CAAC;AAC3E,OAAO,EACL,2DAA2D,EAC3D,yDAAyD,GAC1D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAwC7D;IAA2D,yDAI1D;IAIC,+CAAqB,KAAiD;QAAtE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA4C;;IAItE,CAAC;IAKD,iEAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAC1F,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,wBAAwB,CAAC,aAAa,CAAC,CAAC,CAAC;QAElE,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,iBAAiB,CAAC;QACrC,IAAM,WAAW,GAAG,uCAAuC,CAAC;QAC5D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,qCAAqC,CAAC,kBAAkB;YACjF,wBAAwB,EAAE,UAAC,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