@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListMultiRegionAccessPointsCommand.js","sourceRoot":"","sources":["../../../commands/ListMultiRegionAccessPointsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kCAAkC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,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":"ListMultiRegionAccessPointsCommand.js","sourceRoot":"","sources":["../../../commands/ListMultiRegionAccessPointsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kCAAkC,EAAE,iCAAiC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,wDAAwD,EACxD,sDAAsD,GACvD,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;AA4D7D;IAAwD,sDAIvD;IAIC,4CAAqB,KAA8C;QAAnE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyC;;IAInE,CAAC;IAKD,8DAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B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lListRegionalBucketsCommand, serializeAws_restXmlL
|
|
|
4
4
|
import { getRedirectFromPostIdPlugin } 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>Returns a list of all Outposts buckets in an Outpost that are owned by the authenticated
|
|
9
|
-
* sender of the request. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/S3onOutposts.html">Using Amazon S3 on Outposts</a> in the
|
|
10
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
11
|
-
* <p>For an example of the request syntax for Amazon S3 on Outposts that uses the S3 on Outposts
|
|
12
|
-
* endpoint hostname prefix and <code>x-amz-outpost-id</code> in your request, see the <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_ListRegionalBuckets.html#API_control_ListRegionalBuckets_Examples">Examples</a> section.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { S3ControlClient, ListRegionalBucketsCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
17
|
-
* // const { S3ControlClient, ListRegionalBucketsCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
18
|
-
* const client = new S3ControlClient(config);
|
|
19
|
-
* const command = new ListRegionalBucketsCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link ListRegionalBucketsCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link ListRegionalBucketsCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
|
-
var ListRegionalBucketsCommand = /** @class */ (function (_super) {
|
|
7
|
+
var ListRegionalBucketsCommand = (function (_super) {
|
|
29
8
|
__extends(ListRegionalBucketsCommand, _super);
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
9
|
function ListRegionalBucketsCommand(input) {
|
|
33
|
-
var _this =
|
|
34
|
-
// Start section: command_constructor
|
|
35
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
36
11
|
_this.input = input;
|
|
37
12
|
return _this;
|
|
38
|
-
// End section: command_constructor
|
|
39
13
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
14
|
ListRegionalBucketsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
44
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
16
|
this.middlewareStack.use(getRedirectFromPostIdPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListRegionalBucketsCommand.js","sourceRoot":"","sources":["../../../commands/ListRegionalBucketsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"ListRegionalBucketsCommand.js","sourceRoot":"","sources":["../../../commands/ListRegionalBucketsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0BAA0B,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAC3F,OAAO,EACL,gDAAgD,EAChD,8CAA8C,GAC/C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,MAAM,oCAAoC,CAAC;AACjF,OA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AW,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,47 +4,13 @@ import { deserializeAws_restXmlListStorageLensConfigurationsCommand, serializeAw
|
|
|
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>Gets a list of Amazon S3 Storage Lens configurations. 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:ListStorageLensConfigurations</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, ListStorageLensConfigurationsCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
22
|
-
* // const { S3ControlClient, ListStorageLensConfigurationsCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
23
|
-
* const client = new S3ControlClient(config);
|
|
24
|
-
* const command = new ListStorageLensConfigurationsCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link ListStorageLensConfigurationsCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link ListStorageLensConfigurationsCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
33
|
-
var ListStorageLensConfigurationsCommand = /** @class */ (function (_super) {
|
|
7
|
+
var ListStorageLensConfigurationsCommand = (function (_super) {
|
|
34
8
|
__extends(ListStorageLensConfigurationsCommand, _super);
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
9
|
function ListStorageLensConfigurationsCommand(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
|
ListStorageLensConfigurationsCommand.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":"ListStorageLensConfigurationsCommand.js","sourceRoot":"","sources":["../../../commands/ListStorageLensConfigurationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oCAAoC,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,0DAA0D,EAC1D,wDAAwD,GACzD,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":"ListStorageLensConfigurationsCommand.js","sourceRoot":"","sources":["../../../commands/ListStorageLensConfigurationsCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,oCAAoC,EAAE,mCAAmC,EAAE,MAAM,oBAAoB,CAAC;AAC/G,OAAO,EACL,0DAA0D,EAC1D,wDAAwD,GACzD,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;AA0C7D;IAA0D,wDAIzD;IAIC,8CAAqB,KAAgD;QAArE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA2C;;IAIrE,CAAC;IAKD,gEAAiB,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,sCAAsC,CAAC;QAC3D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,oCAAoC,CAAC,kBAAkB;YAChF,wBAAwB,EAAE,mCAAmC,CAAC,kBAAkB;SACjF,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,wDAAS,GAAjB,UAAkB,KAAgD,EAAE,OAAuB;QACzF,OAAO,wDAAwD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAEO,0DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,0DAA0D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACrF,CAAC;IAIH,2CAAC;AAAD,CAAC,AA1DD,CAA0D,QAAQ,GA0DjE"}
|
|
@@ -4,46 +4,13 @@ import { deserializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand
|
|
|
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>Replaces configuration for an Object Lambda Access Point.</p>
|
|
9
|
-
* <p>The following actions are related to <code>PutAccessPointConfigurationForObjectLambda</code>:</p>
|
|
10
|
-
* <ul>
|
|
11
|
-
* <li>
|
|
12
|
-
* <p>
|
|
13
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointConfigurationForObjectLambda.html">GetAccessPointConfigurationForObjectLambda</a>
|
|
14
|
-
* </p>
|
|
15
|
-
* </li>
|
|
16
|
-
* </ul>
|
|
17
|
-
* @example
|
|
18
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
19
|
-
* ```javascript
|
|
20
|
-
* import { S3ControlClient, PutAccessPointConfigurationForObjectLambdaCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
21
|
-
* // const { S3ControlClient, PutAccessPointConfigurationForObjectLambdaCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
22
|
-
* const client = new S3ControlClient(config);
|
|
23
|
-
* const command = new PutAccessPointConfigurationForObjectLambdaCommand(input);
|
|
24
|
-
* const response = await client.send(command);
|
|
25
|
-
* ```
|
|
26
|
-
*
|
|
27
|
-
* @see {@link PutAccessPointConfigurationForObjectLambdaCommandInput} for command's `input` shape.
|
|
28
|
-
* @see {@link PutAccessPointConfigurationForObjectLambdaCommandOutput} for command's `response` shape.
|
|
29
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
30
|
-
*
|
|
31
|
-
*/
|
|
32
|
-
var PutAccessPointConfigurationForObjectLambdaCommand = /** @class */ (function (_super) {
|
|
7
|
+
var PutAccessPointConfigurationForObjectLambdaCommand = (function (_super) {
|
|
33
8
|
__extends(PutAccessPointConfigurationForObjectLambdaCommand, _super);
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
9
|
function PutAccessPointConfigurationForObjectLambdaCommand(input) {
|
|
37
|
-
var _this =
|
|
38
|
-
// Start section: command_constructor
|
|
39
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
40
11
|
_this.input = input;
|
|
41
12
|
return _this;
|
|
42
|
-
// End section: command_constructor
|
|
43
13
|
}
|
|
44
|
-
/**
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
47
14
|
PutAccessPointConfigurationForObjectLambdaCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
48
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
49
16
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutAccessPointConfigurationForObjectLambdaCommand.js","sourceRoot":"","sources":["../../../commands/PutAccessPointConfigurationForObjectLambdaCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iDAAiD,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,uEAAuE,EACvE,qEAAqE,GACtE,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":"PutAccessPointConfigurationForObjectLambdaCommand.js","sourceRoot":"","sources":["../../../commands/PutAccessPointConfigurationForObjectLambdaCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iDAAiD,EAAE,MAAM,oBAAoB,CAAC;AACvF,OAAO,EACL,uEAAuE,EACvE,qEAAqE,GACtE,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;IAAuE,qEAItE;IAIC,2DAAqB,KAA6D;QAAlF,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwD;;IAIlF,CAAC;IAKD,6EAAiB,GAAjB,UACE,WAAmE,EACnE,aAA4C,EAC5C,OAA8B;QAK9B,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,mDAAmD,CAAC;QACxE,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iDAAiD,CAAC,kBAAkB;YAC7F,wBAAwB,EAAE,UAAC,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,qEAAS,GAAjB,UACE,KAA6D,EAC7D,OAAuB;QAEvB,OAAO,qEAAqE,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/F,CAAC;IAEO,uEAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,uEAAuE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClG,CAAC;IAIH,wDAAC;AAAD,CAAC,AAhED,CAAuE,QAAQ,GAgE9E"}
|
|
@@ -4,54 +4,13 @@ import { deserializeAws_restXmlPutAccessPointPolicyCommand, serializeAws_restXml
|
|
|
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>Associates an access policy with the specified access point. Each access point can have only one policy, so a request made to this API
|
|
9
|
-
* replaces any existing policy associated with the specified access point.</p>
|
|
10
|
-
* <p></p>
|
|
11
|
-
* <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_PutAccessPointPolicy.html#API_control_PutAccessPointPolicy_Examples">Examples</a> section.</p>
|
|
12
|
-
* <p>The following actions are related to <code>PutAccessPointPolicy</code>:</p>
|
|
13
|
-
* <ul>
|
|
14
|
-
* <li>
|
|
15
|
-
* <p>
|
|
16
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicy.html">GetAccessPointPolicy</a>
|
|
17
|
-
* </p>
|
|
18
|
-
* </li>
|
|
19
|
-
* <li>
|
|
20
|
-
* <p>
|
|
21
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicy.html">DeleteAccessPointPolicy</a>
|
|
22
|
-
* </p>
|
|
23
|
-
* </li>
|
|
24
|
-
* </ul>
|
|
25
|
-
* @example
|
|
26
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
27
|
-
* ```javascript
|
|
28
|
-
* import { S3ControlClient, PutAccessPointPolicyCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
29
|
-
* // const { S3ControlClient, PutAccessPointPolicyCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
30
|
-
* const client = new S3ControlClient(config);
|
|
31
|
-
* const command = new PutAccessPointPolicyCommand(input);
|
|
32
|
-
* const response = await client.send(command);
|
|
33
|
-
* ```
|
|
34
|
-
*
|
|
35
|
-
* @see {@link PutAccessPointPolicyCommandInput} for command's `input` shape.
|
|
36
|
-
* @see {@link PutAccessPointPolicyCommandOutput} for command's `response` shape.
|
|
37
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
38
|
-
*
|
|
39
|
-
*/
|
|
40
|
-
var PutAccessPointPolicyCommand = /** @class */ (function (_super) {
|
|
7
|
+
var PutAccessPointPolicyCommand = (function (_super) {
|
|
41
8
|
__extends(PutAccessPointPolicyCommand, _super);
|
|
42
|
-
// Start section: command_properties
|
|
43
|
-
// End section: command_properties
|
|
44
9
|
function PutAccessPointPolicyCommand(input) {
|
|
45
|
-
var _this =
|
|
46
|
-
// Start section: command_constructor
|
|
47
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
48
11
|
_this.input = input;
|
|
49
12
|
return _this;
|
|
50
|
-
// End section: command_constructor
|
|
51
13
|
}
|
|
52
|
-
/**
|
|
53
|
-
* @internal
|
|
54
|
-
*/
|
|
55
14
|
PutAccessPointPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
56
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
57
16
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutAccessPointPolicyCommand.js","sourceRoot":"","sources":["../../../commands/PutAccessPointPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,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":"PutAccessPointPolicyCommand.js","sourceRoot":"","sources":["../../../commands/PutAccessPointPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,2BAA2B,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,EACL,iDAAiD,EACjD,+CAA+C,GAChD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,wBAAwB,EAAE,MAAM,oCAAoC,CAAC;AAC9E,OAAO,EAAE,cAAc,EA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AW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,iDAAiD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC5E,CAAC;IAIH,kCAAC;AAAD,CAAC,AAvDD,CAAiD,QAAQ,GAuDxD"}
|
|
@@ -4,52 +4,13 @@ import { deserializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand, seria
|
|
|
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>Creates or replaces resource policy for an Object Lambda Access Point. For an example policy, see
|
|
9
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/olap-create.html#olap-create-cli">Creating Object Lambda Access Points</a> in the <i>Amazon S3 User Guide</i>.</p>
|
|
10
|
-
* <p>The following actions are related to <code>PutAccessPointPolicyForObjectLambda</code>:</p>
|
|
11
|
-
* <ul>
|
|
12
|
-
* <li>
|
|
13
|
-
* <p>
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteAccessPointPolicyForObjectLambda.html">DeleteAccessPointPolicyForObjectLambda</a>
|
|
15
|
-
* </p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>
|
|
19
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetAccessPointPolicyForObjectLambda.html">GetAccessPointPolicyForObjectLambda</a>
|
|
20
|
-
* </p>
|
|
21
|
-
* </li>
|
|
22
|
-
* </ul>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { S3ControlClient, PutAccessPointPolicyForObjectLambdaCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
27
|
-
* // const { S3ControlClient, PutAccessPointPolicyForObjectLambdaCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
28
|
-
* const client = new S3ControlClient(config);
|
|
29
|
-
* const command = new PutAccessPointPolicyForObjectLambdaCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link PutAccessPointPolicyForObjectLambdaCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link PutAccessPointPolicyForObjectLambdaCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
|
-
var PutAccessPointPolicyForObjectLambdaCommand = /** @class */ (function (_super) {
|
|
7
|
+
var PutAccessPointPolicyForObjectLambdaCommand = (function (_super) {
|
|
39
8
|
__extends(PutAccessPointPolicyForObjectLambdaCommand, _super);
|
|
40
|
-
// Start section: command_properties
|
|
41
|
-
// End section: command_properties
|
|
42
9
|
function PutAccessPointPolicyForObjectLambdaCommand(input) {
|
|
43
|
-
var _this =
|
|
44
|
-
// Start section: command_constructor
|
|
45
|
-
_super.call(this) || this;
|
|
10
|
+
var _this = _super.call(this) || this;
|
|
46
11
|
_this.input = input;
|
|
47
12
|
return _this;
|
|
48
|
-
// End section: command_constructor
|
|
49
13
|
}
|
|
50
|
-
/**
|
|
51
|
-
* @internal
|
|
52
|
-
*/
|
|
53
14
|
PutAccessPointPolicyForObjectLambdaCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
54
15
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
55
16
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutAccessPointPolicyForObjectLambdaCommand.js","sourceRoot":"","sources":["../../../commands/PutAccessPointPolicyForObjectLambdaCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0CAA0C,EAAE,MAAM,oBAAoB,CAAC;AAChF,OAAO,EACL,gEAAgE,EAChE,8DAA8D,GAC/D,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":"PutAccessPointPolicyForObjectLambdaCommand.js","sourceRoot":"","sources":["../../../commands/PutAccessPointPolicyForObjectLambdaCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,0CAA0C,EAAE,MAAM,oBAAoB,CAAC;AAChF,OAAO,EACL,gEAAgE,EAChE,8DAA8D,GAC/D,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;AA6C7D;IAAgE,8DAI/D;IAIC,oDAAqB,KAAsD;QAA3E,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAiD;;IAI3E,CAAC;IAKD,sEAAiB,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,4CAA4C,CAAC;QACjE,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,0CAA0C,CAAC,kBAAkB;YACtF,wBAAwB,EAAE,UAAC,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,8DAAS,GAAjB,UACE,KAAsD,EACtD,OAAuB;QAEvB,OAAO,8DAA8D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACxF,CAAC;IAEO,gEAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,gEAAgE,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC3F,CAAC;IAIH,iDAAC;AAAD,CAAC,AA7DD,CAAgE,QAAQ,GA6DvE"}
|
|
@@ -5,60 +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
|
-
* <note>
|
|
10
|
-
* <p>This action puts a lifecycle configuration to an Amazon S3 on Outposts bucket. To put a lifecycle configuration to an S3 bucket,
|
|
11
|
-
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketLifecycleConfiguration.html">PutBucketLifecycleConfiguration</a> in the <i>Amazon S3 API Reference</i>.
|
|
12
|
-
* </p>
|
|
13
|
-
* </note>
|
|
14
|
-
* <p>Creates a new lifecycle configuration for the S3 on Outposts bucket or replaces an existing
|
|
15
|
-
* lifecycle configuration. Outposts buckets only support lifecycle configurations that delete/expire objects
|
|
16
|
-
* after a certain period of time and abort incomplete multipart uploads.</p>
|
|
17
|
-
* <p></p>
|
|
18
|
-
* <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_PutBucketLifecycleConfiguration.html#API_control_PutBucketLifecycleConfiguration_Examples">Examples</a> section.</p>
|
|
19
|
-
* <p>The following actions are related to <code>PutBucketLifecycleConfiguration</code>:</p>
|
|
20
|
-
* <ul>
|
|
21
|
-
* <li>
|
|
22
|
-
* <p>
|
|
23
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketLifecycleConfiguration.html">GetBucketLifecycleConfiguration</a>
|
|
24
|
-
* </p>
|
|
25
|
-
* </li>
|
|
26
|
-
* <li>
|
|
27
|
-
* <p>
|
|
28
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketLifecycleConfiguration.html">DeleteBucketLifecycleConfiguration</a>
|
|
29
|
-
* </p>
|
|
30
|
-
* </li>
|
|
31
|
-
* </ul>
|
|
32
|
-
* @example
|
|
33
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
-
* ```javascript
|
|
35
|
-
* import { S3ControlClient, PutBucketLifecycleConfigurationCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
36
|
-
* // const { S3ControlClient, PutBucketLifecycleConfigurationCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
37
|
-
* const client = new S3ControlClient(config);
|
|
38
|
-
* const command = new PutBucketLifecycleConfigurationCommand(input);
|
|
39
|
-
* const response = await client.send(command);
|
|
40
|
-
* ```
|
|
41
|
-
*
|
|
42
|
-
* @see {@link PutBucketLifecycleConfigurationCommandInput} for command's `input` shape.
|
|
43
|
-
* @see {@link PutBucketLifecycleConfigurationCommandOutput} for command's `response` shape.
|
|
44
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
var PutBucketLifecycleConfigurationCommand = /** @class */ (function (_super) {
|
|
8
|
+
var PutBucketLifecycleConfigurationCommand = (function (_super) {
|
|
48
9
|
__extends(PutBucketLifecycleConfigurationCommand, _super);
|
|
49
|
-
// Start section: command_properties
|
|
50
|
-
// End section: command_properties
|
|
51
10
|
function PutBucketLifecycleConfigurationCommand(input) {
|
|
52
|
-
var _this =
|
|
53
|
-
// Start section: command_constructor
|
|
54
|
-
_super.call(this) || this;
|
|
11
|
+
var _this = _super.call(this) || this;
|
|
55
12
|
_this.input = input;
|
|
56
13
|
return _this;
|
|
57
|
-
// End section: command_constructor
|
|
58
14
|
}
|
|
59
|
-
/**
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
62
15
|
PutBucketLifecycleConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
63
16
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
17
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutBucketLifecycleConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/PutBucketLifecycleConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sCAAsC,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EACL,4DAA4D,EAC5D,0DAA0D,GAC3D,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,wBAAwB,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C;QACrC,IAAM,WAAW,GAAG,wCAAwC,CAAC;QAC7D,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,sCAAsC,CAAC,kBAAkB;YAClF,wBAAwB,EAAE,UAAC,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,0DAAS,GAAjB,UACE,KAAkD,EAClD,OAAuB;QAEvB,OAAO,0DAA0D,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAEO,4DAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,4DAA4D,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAIH,6CAAC;AAAD,CAAC,AA9DD,CAA4D,QAAQ,GA8DnE"}
|
|
@@ -5,76 +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
|
-
* <note>
|
|
10
|
-
* <p>This action puts a bucket policy to an Amazon S3 on Outposts bucket. To put a policy on an S3 bucket,
|
|
11
|
-
* see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketPolicy.html">PutBucketPolicy</a> in the <i>Amazon S3 API Reference</i>.
|
|
12
|
-
* </p>
|
|
13
|
-
* </note>
|
|
14
|
-
* <p>Applies an Amazon S3 bucket policy to an 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 the
|
|
15
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
16
|
-
* <p>If you are using an identity other than the root user of the Amazon Web Services account that owns the
|
|
17
|
-
* Outposts bucket, the calling identity must have the <code>PutBucketPolicy</code>
|
|
18
|
-
* permissions on the specified Outposts bucket and belong to the bucket owner's account in
|
|
19
|
-
* order to use this action.</p>
|
|
20
|
-
*
|
|
21
|
-
* <p>If you don't have <code>PutBucketPolicy</code> permissions, Amazon S3 returns a <code>403 Access Denied</code> error. If you have the correct permissions,
|
|
22
|
-
* but you're not using an identity that belongs to the bucket owner's account, Amazon S3 returns a <code>405 Method Not Allowed</code> error.</p>
|
|
23
|
-
*
|
|
24
|
-
* <important>
|
|
25
|
-
* <p> As a security precaution, the root user of the Amazon Web Services account that owns a bucket can always use this action, even if the policy
|
|
26
|
-
* explicitly denies the root user the ability to perform this action.
|
|
27
|
-
* </p>
|
|
28
|
-
* </important>
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* <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>
|
|
32
|
-
*
|
|
33
|
-
* <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_PutBucketPolicy.html#API_control_PutBucketPolicy_Examples">Examples</a> section.</p>
|
|
34
|
-
*
|
|
35
|
-
* <p>The following actions are related to <code>PutBucketPolicy</code>:</p>
|
|
36
|
-
* <ul>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>
|
|
39
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketPolicy.html">GetBucketPolicy</a>
|
|
40
|
-
* </p>
|
|
41
|
-
* </li>
|
|
42
|
-
* <li>
|
|
43
|
-
* <p>
|
|
44
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketPolicy.html">DeleteBucketPolicy</a>
|
|
45
|
-
* </p>
|
|
46
|
-
* </li>
|
|
47
|
-
* </ul>
|
|
48
|
-
* @example
|
|
49
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
50
|
-
* ```javascript
|
|
51
|
-
* import { S3ControlClient, PutBucketPolicyCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
52
|
-
* // const { S3ControlClient, PutBucketPolicyCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
53
|
-
* const client = new S3ControlClient(config);
|
|
54
|
-
* const command = new PutBucketPolicyCommand(input);
|
|
55
|
-
* const response = await client.send(command);
|
|
56
|
-
* ```
|
|
57
|
-
*
|
|
58
|
-
* @see {@link PutBucketPolicyCommandInput} for command's `input` shape.
|
|
59
|
-
* @see {@link PutBucketPolicyCommandOutput} for command's `response` shape.
|
|
60
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
61
|
-
*
|
|
62
|
-
*/
|
|
63
|
-
var PutBucketPolicyCommand = /** @class */ (function (_super) {
|
|
8
|
+
var PutBucketPolicyCommand = (function (_super) {
|
|
64
9
|
__extends(PutBucketPolicyCommand, _super);
|
|
65
|
-
// Start section: command_properties
|
|
66
|
-
// End section: command_properties
|
|
67
10
|
function PutBucketPolicyCommand(input) {
|
|
68
|
-
var _this =
|
|
69
|
-
// Start section: command_constructor
|
|
70
|
-
_super.call(this) || this;
|
|
11
|
+
var _this = _super.call(this) || this;
|
|
71
12
|
_this.input = input;
|
|
72
13
|
return _this;
|
|
73
|
-
// End section: command_constructor
|
|
74
14
|
}
|
|
75
|
-
/**
|
|
76
|
-
* @internal
|
|
77
|
-
*/
|
|
78
15
|
PutBucketPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
79
16
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
80
17
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PutBucketPolicyCommand.js","sourceRoot":"","sources":["../../../commands/PutBucketPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,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":"PutBucketPolicyCommand.js","sourceRoot":"","sources":["../../../commands/PutBucketPolicyCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAC5D,OAAO,EACL,4CAA4C,EAC5C,0CAA0C,GAC3C,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;AAqE7D;IAA4C,0CAI3C;IAIC,gCAAqB,KAAkC;QAAvD,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA6B;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AIH,6BAAC;AAAD,CAAC,AAxDD,CAA4C,QAAQ,GAwDnD"}
|
|
@@ -5,121 +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
|
-
* <note>
|
|
10
|
-
* <p>This action puts tags on an Amazon S3 on Outposts bucket. To put tags on an S3 bucket, see
|
|
11
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketTagging.html">PutBucketTagging</a> in the <i>Amazon S3 API Reference</i>. </p>
|
|
12
|
-
* </note>
|
|
13
|
-
* <p>Sets the tags for an S3 on 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 the
|
|
14
|
-
* <i>Amazon S3 User Guide</i>.</p>
|
|
15
|
-
* <p>Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, sign up to get your
|
|
16
|
-
* Amazon Web Services account bill with tag key values included. Then, to see the cost of combined resources, organize your
|
|
17
|
-
* billing information according to resources with the same tag key values. For example, you can tag several
|
|
18
|
-
* resources with a specific application name, and then organize your billing information to see the total cost
|
|
19
|
-
* of that application across several services. For more information, see
|
|
20
|
-
* <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html">Cost
|
|
21
|
-
* allocation and tagging</a>.</p>
|
|
22
|
-
*
|
|
23
|
-
* <note>
|
|
24
|
-
* <p>Within a bucket, if you add a tag that has the same key as an existing tag, the new value overwrites
|
|
25
|
-
* the old value. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/CostAllocTagging.html">
|
|
26
|
-
* Using cost allocation in Amazon S3 bucket tags</a>.</p>
|
|
27
|
-
* </note>
|
|
28
|
-
* <p>To use this action, you must have permissions to perform the
|
|
29
|
-
* <code>s3-outposts:PutBucketTagging</code> action. The Outposts bucket owner has this
|
|
30
|
-
* permission by default and can grant this permission to others. For more information about
|
|
31
|
-
* permissions, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources"> Permissions Related to Bucket Subresource Operations</a> and <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html">Managing access permissions to your Amazon S3
|
|
32
|
-
* resources</a>.</p>
|
|
33
|
-
*
|
|
34
|
-
* <p>
|
|
35
|
-
* <code>PutBucketTagging</code> has the following special errors:</p>
|
|
36
|
-
* <ul>
|
|
37
|
-
* <li>
|
|
38
|
-
* <p>Error code: <code>InvalidTagError</code>
|
|
39
|
-
* </p>
|
|
40
|
-
* <ul>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>Description: The tag provided was not a valid tag. This error can occur if the tag did not pass input validation.
|
|
43
|
-
* For information about tag restrictions, see <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/allocation-tag-restrictions.html">
|
|
44
|
-
* User-Defined Tag Restrictions</a> and <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/aws-tag-restrictions.html">
|
|
45
|
-
* Amazon Web Services-Generated Cost Allocation Tag Restrictions</a>.</p>
|
|
46
|
-
* </li>
|
|
47
|
-
* </ul>
|
|
48
|
-
* </li>
|
|
49
|
-
* <li>
|
|
50
|
-
* <p>Error code: <code>MalformedXMLError</code>
|
|
51
|
-
* </p>
|
|
52
|
-
* <ul>
|
|
53
|
-
* <li>
|
|
54
|
-
* <p>Description: The XML provided does not match the schema.</p>
|
|
55
|
-
* </li>
|
|
56
|
-
* </ul>
|
|
57
|
-
* </li>
|
|
58
|
-
* <li>
|
|
59
|
-
* <p>Error code: <code>OperationAbortedError </code>
|
|
60
|
-
* </p>
|
|
61
|
-
* <ul>
|
|
62
|
-
* <li>
|
|
63
|
-
* <p>Description: A conflicting conditional action is currently in progress against this
|
|
64
|
-
* resource. Try again.</p>
|
|
65
|
-
* </li>
|
|
66
|
-
* </ul>
|
|
67
|
-
* </li>
|
|
68
|
-
* <li>
|
|
69
|
-
* <p>Error code: <code>InternalError</code>
|
|
70
|
-
* </p>
|
|
71
|
-
* <ul>
|
|
72
|
-
* <li>
|
|
73
|
-
* <p>Description: The service was unable to apply the provided tag to the bucket.</p>
|
|
74
|
-
* </li>
|
|
75
|
-
* </ul>
|
|
76
|
-
* </li>
|
|
77
|
-
* </ul>
|
|
78
|
-
* <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_PutBucketTagging.html#API_control_PutBucketTagging_Examples">Examples</a> section.</p>
|
|
79
|
-
*
|
|
80
|
-
* <p>The following actions are related to <code>PutBucketTagging</code>:</p>
|
|
81
|
-
* <ul>
|
|
82
|
-
* <li>
|
|
83
|
-
* <p>
|
|
84
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_GetBucketTagging.html">GetBucketTagging</a>
|
|
85
|
-
* </p>
|
|
86
|
-
* </li>
|
|
87
|
-
* <li>
|
|
88
|
-
* <p>
|
|
89
|
-
* <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_DeleteBucketTagging.html">DeleteBucketTagging</a>
|
|
90
|
-
* </p>
|
|
91
|
-
* </li>
|
|
92
|
-
* </ul>
|
|
93
|
-
* @example
|
|
94
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
95
|
-
* ```javascript
|
|
96
|
-
* import { S3ControlClient, PutBucketTaggingCommand } from "@aws-sdk/client-s3-control"; // ES Modules import
|
|
97
|
-
* // const { S3ControlClient, PutBucketTaggingCommand } = require("@aws-sdk/client-s3-control"); // CommonJS import
|
|
98
|
-
* const client = new S3ControlClient(config);
|
|
99
|
-
* const command = new PutBucketTaggingCommand(input);
|
|
100
|
-
* const response = await client.send(command);
|
|
101
|
-
* ```
|
|
102
|
-
*
|
|
103
|
-
* @see {@link PutBucketTaggingCommandInput} for command's `input` shape.
|
|
104
|
-
* @see {@link PutBucketTaggingCommandOutput} for command's `response` shape.
|
|
105
|
-
* @see {@link S3ControlClientResolvedConfig | config} for command's `input` shape.
|
|
106
|
-
*
|
|
107
|
-
*/
|
|
108
|
-
var PutBucketTaggingCommand = /** @class */ (function (_super) {
|
|
8
|
+
var PutBucketTaggingCommand = (function (_super) {
|
|
109
9
|
__extends(PutBucketTaggingCommand, _super);
|
|
110
|
-
// Start section: command_properties
|
|
111
|
-
// End section: command_properties
|
|
112
10
|
function PutBucketTaggingCommand(input) {
|
|
113
|
-
var _this =
|
|
114
|
-
// Start section: command_constructor
|
|
115
|
-
_super.call(this) || this;
|
|
11
|
+
var _this = _super.call(this) || this;
|
|
116
12
|
_this.input = input;
|
|
117
13
|
return _this;
|
|
118
|
-
// End section: command_constructor
|
|
119
14
|
}
|
|
120
|
-
/**
|
|
121
|
-
* @internal
|
|
122
|
-
*/
|
|
123
15
|
PutBucketTaggingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
124
16
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
125
17
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|