@aws-sdk/client-s3-control 3.181.0 → 3.183.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 +8 -0
- package/dist-es/S3Control.js +238 -245
- package/dist-es/S3ControlClient.js +23 -29
- package/dist-es/commands/CreateAccessPointCommand.js +21 -28
- package/dist-es/commands/CreateAccessPointForObjectLambdaCommand.js +21 -28
- package/dist-es/commands/CreateBucketCommand.js +21 -28
- package/dist-es/commands/CreateJobCommand.js +21 -28
- package/dist-es/commands/CreateMultiRegionAccessPointCommand.js +21 -28
- package/dist-es/commands/DeleteAccessPointCommand.js +22 -29
- package/dist-es/commands/DeleteAccessPointForObjectLambdaCommand.js +22 -29
- package/dist-es/commands/DeleteAccessPointPolicyCommand.js +22 -29
- package/dist-es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +22 -29
- package/dist-es/commands/DeleteBucketCommand.js +22 -29
- package/dist-es/commands/DeleteBucketLifecycleConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteBucketPolicyCommand.js +22 -29
- package/dist-es/commands/DeleteBucketTaggingCommand.js +22 -29
- package/dist-es/commands/DeleteJobTaggingCommand.js +21 -28
- package/dist-es/commands/DeleteMultiRegionAccessPointCommand.js +21 -28
- package/dist-es/commands/DeletePublicAccessBlockCommand.js +22 -29
- package/dist-es/commands/DeleteStorageLensConfigurationCommand.js +22 -29
- package/dist-es/commands/DeleteStorageLensConfigurationTaggingCommand.js +21 -28
- package/dist-es/commands/DescribeJobCommand.js +21 -28
- package/dist-es/commands/DescribeMultiRegionAccessPointOperationCommand.js +21 -28
- package/dist-es/commands/GetAccessPointCommand.js +21 -28
- package/dist-es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +21 -28
- package/dist-es/commands/GetAccessPointForObjectLambdaCommand.js +21 -28
- package/dist-es/commands/GetAccessPointPolicyCommand.js +21 -28
- package/dist-es/commands/GetAccessPointPolicyForObjectLambdaCommand.js +21 -28
- package/dist-es/commands/GetAccessPointPolicyStatusCommand.js +21 -28
- package/dist-es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +21 -28
- package/dist-es/commands/GetBucketCommand.js +21 -28
- package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +21 -28
- package/dist-es/commands/GetBucketPolicyCommand.js +21 -28
- package/dist-es/commands/GetBucketTaggingCommand.js +21 -28
- package/dist-es/commands/GetBucketVersioningCommand.js +21 -28
- package/dist-es/commands/GetJobTaggingCommand.js +21 -28
- package/dist-es/commands/GetMultiRegionAccessPointCommand.js +21 -28
- package/dist-es/commands/GetMultiRegionAccessPointPolicyCommand.js +21 -28
- package/dist-es/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +21 -28
- package/dist-es/commands/GetPublicAccessBlockCommand.js +21 -28
- package/dist-es/commands/GetStorageLensConfigurationCommand.js +21 -28
- package/dist-es/commands/GetStorageLensConfigurationTaggingCommand.js +21 -28
- package/dist-es/commands/ListAccessPointsCommand.js +21 -28
- package/dist-es/commands/ListAccessPointsForObjectLambdaCommand.js +21 -28
- package/dist-es/commands/ListJobsCommand.js +21 -28
- package/dist-es/commands/ListMultiRegionAccessPointsCommand.js +21 -28
- package/dist-es/commands/ListRegionalBucketsCommand.js +21 -28
- package/dist-es/commands/ListStorageLensConfigurationsCommand.js +21 -28
- package/dist-es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +22 -29
- package/dist-es/commands/PutAccessPointPolicyCommand.js +22 -29
- package/dist-es/commands/PutAccessPointPolicyForObjectLambdaCommand.js +22 -29
- package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +22 -29
- package/dist-es/commands/PutBucketPolicyCommand.js +22 -29
- package/dist-es/commands/PutBucketTaggingCommand.js +22 -29
- package/dist-es/commands/PutBucketVersioningCommand.js +22 -29
- package/dist-es/commands/PutJobTaggingCommand.js +21 -28
- package/dist-es/commands/PutMultiRegionAccessPointPolicyCommand.js +21 -28
- package/dist-es/commands/PutPublicAccessBlockCommand.js +22 -29
- package/dist-es/commands/PutStorageLensConfigurationCommand.js +22 -29
- package/dist-es/commands/PutStorageLensConfigurationTaggingCommand.js +21 -28
- package/dist-es/commands/UpdateJobPriorityCommand.js +21 -28
- package/dist-es/commands/UpdateJobStatusCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/S3ControlServiceException.js +5 -10
- package/dist-es/models/models_0.js +723 -344
- package/dist-es/pagination/ListAccessPointsForObjectLambdaPaginator.js +25 -68
- package/dist-es/pagination/ListAccessPointsPaginator.js +25 -68
- package/dist-es/pagination/ListJobsPaginator.js +25 -68
- package/dist-es/pagination/ListMultiRegionAccessPointsPaginator.js +25 -68
- package/dist-es/pagination/ListRegionalBucketsPaginator.js +25 -68
- package/dist-es/pagination/ListStorageLensConfigurationsPaginator.js +24 -67
- package/dist-es/protocols/Aws_restXml.js +4548 -6164
- package/dist-es/runtimeConfig.browser.js +28 -12
- package/dist-es/runtimeConfig.js +32 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +39 -39
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { ListStorageLensConfigurationsRequestFilterSensitiveLog, ListStorageLensConfigurationsResultFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_restXmlListStorageLensConfigurationsCommand, serializeAws_restXmlListStorageLensConfigurationsCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class ListStorageLensConfigurationsCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "S3ControlClient";
|
|
17
|
+
const commandName = "ListStorageLensConfigurationsCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: ListStorageLensConfigurationsRequestFilterSensitiveLog,
|
|
26
23
|
outputFilterSensitiveLog: ListStorageLensConfigurationsResultFilterSensitiveLog,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
ListStorageLensConfigurationsCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_restXmlListStorageLensConfigurationsCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_restXmlListStorageLensConfigurationsCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { ListStorageLensConfigurationsCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { PutAccessPointConfigurationForObjectLambdaRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand, serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class PutAccessPointConfigurationForObjectLambdaCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "S3ControlClient";
|
|
17
|
+
const commandName = "PutAccessPointConfigurationForObjectLambdaCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: PutAccessPointConfigurationForObjectLambdaRequestFilterSensitiveLog,
|
|
26
|
-
outputFilterSensitiveLog:
|
|
23
|
+
outputFilterSensitiveLog: (output) => output,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
PutAccessPointConfigurationForObjectLambdaCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_restXmlPutAccessPointConfigurationForObjectLambdaCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { PutAccessPointConfigurationForObjectLambdaCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { PutAccessPointPolicyRequestFilterSensitiveLog } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_restXmlPutAccessPointPolicyCommand, serializeAws_restXmlPutAccessPointPolicyCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class PutAccessPointPolicyCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "S3ControlClient";
|
|
17
|
+
const commandName = "PutAccessPointPolicyCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: PutAccessPointPolicyRequestFilterSensitiveLog,
|
|
26
|
-
outputFilterSensitiveLog:
|
|
23
|
+
outputFilterSensitiveLog: (output) => output,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
PutAccessPointPolicyCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_restXmlPutAccessPointPolicyCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_restXmlPutAccessPointPolicyCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { PutAccessPointPolicyCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { PutAccessPointPolicyForObjectLambdaRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand, serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class PutAccessPointPolicyForObjectLambdaCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "S3ControlClient";
|
|
17
|
+
const commandName = "PutAccessPointPolicyForObjectLambdaCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: PutAccessPointPolicyForObjectLambdaRequestFilterSensitiveLog,
|
|
26
|
-
outputFilterSensitiveLog:
|
|
23
|
+
outputFilterSensitiveLog: (output) => output,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
PutAccessPointPolicyForObjectLambdaCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_restXmlPutAccessPointPolicyForObjectLambdaCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { PutAccessPointPolicyForObjectLambdaCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,43 +1,36 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
3
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
4
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
5
|
import { PutBucketLifecycleConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
|
|
7
6
|
import { deserializeAws_restXmlPutBucketLifecycleConfigurationCommand, serializeAws_restXmlPutBucketLifecycleConfigurationCommand, } from "../protocols/Aws_restXml";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_this.input = input;
|
|
13
|
-
return _this;
|
|
7
|
+
export class PutBucketLifecycleConfigurationCommand extends $Command {
|
|
8
|
+
constructor(input) {
|
|
9
|
+
super();
|
|
10
|
+
this.input = input;
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
16
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
14
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
18
15
|
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
logger
|
|
25
|
-
clientName
|
|
26
|
-
commandName
|
|
16
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
const { logger } = configuration;
|
|
18
|
+
const clientName = "S3ControlClient";
|
|
19
|
+
const commandName = "PutBucketLifecycleConfigurationCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
27
24
|
inputFilterSensitiveLog: PutBucketLifecycleConfigurationRequestFilterSensitiveLog,
|
|
28
|
-
outputFilterSensitiveLog:
|
|
25
|
+
outputFilterSensitiveLog: (output) => output,
|
|
29
26
|
};
|
|
30
|
-
|
|
31
|
-
return stack.resolve(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
PutBucketLifecycleConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
|
+
const { requestHandler } = configuration;
|
|
28
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
29
|
+
}
|
|
30
|
+
serialize(input, context) {
|
|
36
31
|
return serializeAws_restXmlPutBucketLifecycleConfigurationCommand(input, context);
|
|
37
|
-
}
|
|
38
|
-
|
|
32
|
+
}
|
|
33
|
+
deserialize(output, context) {
|
|
39
34
|
return deserializeAws_restXmlPutBucketLifecycleConfigurationCommand(output, context);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
}($Command));
|
|
43
|
-
export { PutBucketLifecycleConfigurationCommand };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,43 +1,36 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
3
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
4
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
5
|
import { PutBucketPolicyRequestFilterSensitiveLog } from "../models/models_0";
|
|
7
6
|
import { deserializeAws_restXmlPutBucketPolicyCommand, serializeAws_restXmlPutBucketPolicyCommand, } from "../protocols/Aws_restXml";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_this.input = input;
|
|
13
|
-
return _this;
|
|
7
|
+
export class PutBucketPolicyCommand extends $Command {
|
|
8
|
+
constructor(input) {
|
|
9
|
+
super();
|
|
10
|
+
this.input = input;
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
16
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
14
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
18
15
|
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
logger
|
|
25
|
-
clientName
|
|
26
|
-
commandName
|
|
16
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
const { logger } = configuration;
|
|
18
|
+
const clientName = "S3ControlClient";
|
|
19
|
+
const commandName = "PutBucketPolicyCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
27
24
|
inputFilterSensitiveLog: PutBucketPolicyRequestFilterSensitiveLog,
|
|
28
|
-
outputFilterSensitiveLog:
|
|
25
|
+
outputFilterSensitiveLog: (output) => output,
|
|
29
26
|
};
|
|
30
|
-
|
|
31
|
-
return stack.resolve(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
PutBucketPolicyCommand.prototype.serialize = function (input, context) {
|
|
27
|
+
const { requestHandler } = configuration;
|
|
28
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
29
|
+
}
|
|
30
|
+
serialize(input, context) {
|
|
36
31
|
return serializeAws_restXmlPutBucketPolicyCommand(input, context);
|
|
37
|
-
}
|
|
38
|
-
|
|
32
|
+
}
|
|
33
|
+
deserialize(output, context) {
|
|
39
34
|
return deserializeAws_restXmlPutBucketPolicyCommand(output, context);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
}($Command));
|
|
43
|
-
export { PutBucketPolicyCommand };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,43 +1,36 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
3
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
4
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
5
|
import { PutBucketTaggingRequestFilterSensitiveLog } from "../models/models_0";
|
|
7
6
|
import { deserializeAws_restXmlPutBucketTaggingCommand, serializeAws_restXmlPutBucketTaggingCommand, } from "../protocols/Aws_restXml";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_this.input = input;
|
|
13
|
-
return _this;
|
|
7
|
+
export class PutBucketTaggingCommand extends $Command {
|
|
8
|
+
constructor(input) {
|
|
9
|
+
super();
|
|
10
|
+
this.input = input;
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
16
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
14
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
18
15
|
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
logger
|
|
25
|
-
clientName
|
|
26
|
-
commandName
|
|
16
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
const { logger } = configuration;
|
|
18
|
+
const clientName = "S3ControlClient";
|
|
19
|
+
const commandName = "PutBucketTaggingCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
27
24
|
inputFilterSensitiveLog: PutBucketTaggingRequestFilterSensitiveLog,
|
|
28
|
-
outputFilterSensitiveLog:
|
|
25
|
+
outputFilterSensitiveLog: (output) => output,
|
|
29
26
|
};
|
|
30
|
-
|
|
31
|
-
return stack.resolve(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
PutBucketTaggingCommand.prototype.serialize = function (input, context) {
|
|
27
|
+
const { requestHandler } = configuration;
|
|
28
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
29
|
+
}
|
|
30
|
+
serialize(input, context) {
|
|
36
31
|
return serializeAws_restXmlPutBucketTaggingCommand(input, context);
|
|
37
|
-
}
|
|
38
|
-
|
|
32
|
+
}
|
|
33
|
+
deserialize(output, context) {
|
|
39
34
|
return deserializeAws_restXmlPutBucketTaggingCommand(output, context);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
}($Command));
|
|
43
|
-
export { PutBucketTaggingCommand };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,43 +1,36 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
|
|
3
2
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
4
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
5
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
6
5
|
import { PutBucketVersioningRequestFilterSensitiveLog } from "../models/models_0";
|
|
7
6
|
import { deserializeAws_restXmlPutBucketVersioningCommand, serializeAws_restXmlPutBucketVersioningCommand, } from "../protocols/Aws_restXml";
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
_this.input = input;
|
|
13
|
-
return _this;
|
|
7
|
+
export class PutBucketVersioningCommand extends $Command {
|
|
8
|
+
constructor(input) {
|
|
9
|
+
super();
|
|
10
|
+
this.input = input;
|
|
14
11
|
}
|
|
15
|
-
|
|
12
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
16
13
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
17
14
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
18
15
|
this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
logger
|
|
25
|
-
clientName
|
|
26
|
-
commandName
|
|
16
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
17
|
+
const { logger } = configuration;
|
|
18
|
+
const clientName = "S3ControlClient";
|
|
19
|
+
const commandName = "PutBucketVersioningCommand";
|
|
20
|
+
const handlerExecutionContext = {
|
|
21
|
+
logger,
|
|
22
|
+
clientName,
|
|
23
|
+
commandName,
|
|
27
24
|
inputFilterSensitiveLog: PutBucketVersioningRequestFilterSensitiveLog,
|
|
28
|
-
outputFilterSensitiveLog:
|
|
25
|
+
outputFilterSensitiveLog: (output) => output,
|
|
29
26
|
};
|
|
30
|
-
|
|
31
|
-
return stack.resolve(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
};
|
|
35
|
-
PutBucketVersioningCommand.prototype.serialize = function (input, context) {
|
|
27
|
+
const { requestHandler } = configuration;
|
|
28
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
29
|
+
}
|
|
30
|
+
serialize(input, context) {
|
|
36
31
|
return serializeAws_restXmlPutBucketVersioningCommand(input, context);
|
|
37
|
-
}
|
|
38
|
-
|
|
32
|
+
}
|
|
33
|
+
deserialize(output, context) {
|
|
39
34
|
return deserializeAws_restXmlPutBucketVersioningCommand(output, context);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
}($Command));
|
|
43
|
-
export { PutBucketVersioningCommand };
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1,41 +1,34 @@
|
|
|
1
|
-
import { __extends } from "tslib";
|
|
2
1
|
import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
|
|
3
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
4
|
import { PutJobTaggingRequestFilterSensitiveLog, PutJobTaggingResultFilterSensitiveLog, } from "../models/models_0";
|
|
6
5
|
import { deserializeAws_restXmlPutJobTaggingCommand, serializeAws_restXmlPutJobTaggingCommand, } from "../protocols/Aws_restXml";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
_this.input = input;
|
|
12
|
-
return _this;
|
|
6
|
+
export class PutJobTaggingCommand extends $Command {
|
|
7
|
+
constructor(input) {
|
|
8
|
+
super();
|
|
9
|
+
this.input = input;
|
|
13
10
|
}
|
|
14
|
-
|
|
11
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
15
12
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
13
|
this.middlewareStack.use(getProcessArnablesPlugin(configuration));
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
logger
|
|
23
|
-
clientName
|
|
24
|
-
commandName
|
|
14
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
15
|
+
const { logger } = configuration;
|
|
16
|
+
const clientName = "S3ControlClient";
|
|
17
|
+
const commandName = "PutJobTaggingCommand";
|
|
18
|
+
const handlerExecutionContext = {
|
|
19
|
+
logger,
|
|
20
|
+
clientName,
|
|
21
|
+
commandName,
|
|
25
22
|
inputFilterSensitiveLog: PutJobTaggingRequestFilterSensitiveLog,
|
|
26
23
|
outputFilterSensitiveLog: PutJobTaggingResultFilterSensitiveLog,
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
return stack.resolve(
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
};
|
|
33
|
-
PutJobTaggingCommand.prototype.serialize = function (input, context) {
|
|
25
|
+
const { requestHandler } = configuration;
|
|
26
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
27
|
+
}
|
|
28
|
+
serialize(input, context) {
|
|
34
29
|
return serializeAws_restXmlPutJobTaggingCommand(input, context);
|
|
35
|
-
}
|
|
36
|
-
|
|
30
|
+
}
|
|
31
|
+
deserialize(output, context) {
|
|
37
32
|
return deserializeAws_restXmlPutJobTaggingCommand(output, context);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
}($Command));
|
|
41
|
-
export { PutJobTaggingCommand };
|
|
33
|
+
}
|
|
34
|
+
}
|