@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.
Files changed (77) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/S3Control.js +238 -245
  3. package/dist-es/S3ControlClient.js +23 -29
  4. package/dist-es/commands/CreateAccessPointCommand.js +21 -28
  5. package/dist-es/commands/CreateAccessPointForObjectLambdaCommand.js +21 -28
  6. package/dist-es/commands/CreateBucketCommand.js +21 -28
  7. package/dist-es/commands/CreateJobCommand.js +21 -28
  8. package/dist-es/commands/CreateMultiRegionAccessPointCommand.js +21 -28
  9. package/dist-es/commands/DeleteAccessPointCommand.js +22 -29
  10. package/dist-es/commands/DeleteAccessPointForObjectLambdaCommand.js +22 -29
  11. package/dist-es/commands/DeleteAccessPointPolicyCommand.js +22 -29
  12. package/dist-es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +22 -29
  13. package/dist-es/commands/DeleteBucketCommand.js +22 -29
  14. package/dist-es/commands/DeleteBucketLifecycleConfigurationCommand.js +22 -29
  15. package/dist-es/commands/DeleteBucketPolicyCommand.js +22 -29
  16. package/dist-es/commands/DeleteBucketTaggingCommand.js +22 -29
  17. package/dist-es/commands/DeleteJobTaggingCommand.js +21 -28
  18. package/dist-es/commands/DeleteMultiRegionAccessPointCommand.js +21 -28
  19. package/dist-es/commands/DeletePublicAccessBlockCommand.js +22 -29
  20. package/dist-es/commands/DeleteStorageLensConfigurationCommand.js +22 -29
  21. package/dist-es/commands/DeleteStorageLensConfigurationTaggingCommand.js +21 -28
  22. package/dist-es/commands/DescribeJobCommand.js +21 -28
  23. package/dist-es/commands/DescribeMultiRegionAccessPointOperationCommand.js +21 -28
  24. package/dist-es/commands/GetAccessPointCommand.js +21 -28
  25. package/dist-es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +21 -28
  26. package/dist-es/commands/GetAccessPointForObjectLambdaCommand.js +21 -28
  27. package/dist-es/commands/GetAccessPointPolicyCommand.js +21 -28
  28. package/dist-es/commands/GetAccessPointPolicyForObjectLambdaCommand.js +21 -28
  29. package/dist-es/commands/GetAccessPointPolicyStatusCommand.js +21 -28
  30. package/dist-es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +21 -28
  31. package/dist-es/commands/GetBucketCommand.js +21 -28
  32. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +21 -28
  33. package/dist-es/commands/GetBucketPolicyCommand.js +21 -28
  34. package/dist-es/commands/GetBucketTaggingCommand.js +21 -28
  35. package/dist-es/commands/GetBucketVersioningCommand.js +21 -28
  36. package/dist-es/commands/GetJobTaggingCommand.js +21 -28
  37. package/dist-es/commands/GetMultiRegionAccessPointCommand.js +21 -28
  38. package/dist-es/commands/GetMultiRegionAccessPointPolicyCommand.js +21 -28
  39. package/dist-es/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +21 -28
  40. package/dist-es/commands/GetPublicAccessBlockCommand.js +21 -28
  41. package/dist-es/commands/GetStorageLensConfigurationCommand.js +21 -28
  42. package/dist-es/commands/GetStorageLensConfigurationTaggingCommand.js +21 -28
  43. package/dist-es/commands/ListAccessPointsCommand.js +21 -28
  44. package/dist-es/commands/ListAccessPointsForObjectLambdaCommand.js +21 -28
  45. package/dist-es/commands/ListJobsCommand.js +21 -28
  46. package/dist-es/commands/ListMultiRegionAccessPointsCommand.js +21 -28
  47. package/dist-es/commands/ListRegionalBucketsCommand.js +21 -28
  48. package/dist-es/commands/ListStorageLensConfigurationsCommand.js +21 -28
  49. package/dist-es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +22 -29
  50. package/dist-es/commands/PutAccessPointPolicyCommand.js +22 -29
  51. package/dist-es/commands/PutAccessPointPolicyForObjectLambdaCommand.js +22 -29
  52. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +22 -29
  53. package/dist-es/commands/PutBucketPolicyCommand.js +22 -29
  54. package/dist-es/commands/PutBucketTaggingCommand.js +22 -29
  55. package/dist-es/commands/PutBucketVersioningCommand.js +22 -29
  56. package/dist-es/commands/PutJobTaggingCommand.js +21 -28
  57. package/dist-es/commands/PutMultiRegionAccessPointPolicyCommand.js +21 -28
  58. package/dist-es/commands/PutPublicAccessBlockCommand.js +22 -29
  59. package/dist-es/commands/PutStorageLensConfigurationCommand.js +22 -29
  60. package/dist-es/commands/PutStorageLensConfigurationTaggingCommand.js +21 -28
  61. package/dist-es/commands/UpdateJobPriorityCommand.js +21 -28
  62. package/dist-es/commands/UpdateJobStatusCommand.js +21 -28
  63. package/dist-es/endpoints.js +8 -8
  64. package/dist-es/models/S3ControlServiceException.js +5 -10
  65. package/dist-es/models/models_0.js +723 -344
  66. package/dist-es/pagination/ListAccessPointsForObjectLambdaPaginator.js +25 -68
  67. package/dist-es/pagination/ListAccessPointsPaginator.js +25 -68
  68. package/dist-es/pagination/ListJobsPaginator.js +25 -68
  69. package/dist-es/pagination/ListMultiRegionAccessPointsPaginator.js +25 -68
  70. package/dist-es/pagination/ListRegionalBucketsPaginator.js +25 -68
  71. package/dist-es/pagination/ListStorageLensConfigurationsPaginator.js +24 -67
  72. package/dist-es/protocols/Aws_restXml.js +4548 -6164
  73. package/dist-es/runtimeConfig.browser.js +28 -12
  74. package/dist-es/runtimeConfig.js +32 -12
  75. package/dist-es/runtimeConfig.native.js +8 -5
  76. package/dist-es/runtimeConfig.shared.js +8 -11
  77. package/package.json +39 -39
@@ -1,4 +1,3 @@
1
- import { __extends } from "tslib";
2
1
  import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-resolver";
3
2
  import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
4
3
  import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
@@ -10,32 +9,27 @@ import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-sig
10
9
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
11
10
  import { Client as __Client, } from "@aws-sdk/smithy-client";
12
11
  import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
13
- var S3ControlClient = (function (_super) {
14
- __extends(S3ControlClient, _super);
15
- function S3ControlClient(configuration) {
16
- var _this = this;
17
- var _config_0 = __getRuntimeConfig(configuration);
18
- var _config_1 = resolveRegionConfig(_config_0);
19
- var _config_2 = resolveEndpointsConfig(_config_1);
20
- var _config_3 = resolveRetryConfig(_config_2);
21
- var _config_4 = resolveHostHeaderConfig(_config_3);
22
- var _config_5 = resolveAwsAuthConfig(_config_4);
23
- var _config_6 = resolveS3ControlConfig(_config_5);
24
- var _config_7 = resolveUserAgentConfig(_config_6);
25
- _this = _super.call(this, _config_7) || this;
26
- _this.config = _config_7;
27
- _this.middlewareStack.use(getRetryPlugin(_this.config));
28
- _this.middlewareStack.use(getContentLengthPlugin(_this.config));
29
- _this.middlewareStack.use(getHostHeaderPlugin(_this.config));
30
- _this.middlewareStack.use(getLoggerPlugin(_this.config));
31
- _this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
32
- _this.middlewareStack.use(getAwsAuthPlugin(_this.config));
33
- _this.middlewareStack.use(getUserAgentPlugin(_this.config));
34
- return _this;
12
+ export class S3ControlClient extends __Client {
13
+ constructor(configuration) {
14
+ const _config_0 = __getRuntimeConfig(configuration);
15
+ const _config_1 = resolveRegionConfig(_config_0);
16
+ const _config_2 = resolveEndpointsConfig(_config_1);
17
+ const _config_3 = resolveRetryConfig(_config_2);
18
+ const _config_4 = resolveHostHeaderConfig(_config_3);
19
+ const _config_5 = resolveAwsAuthConfig(_config_4);
20
+ const _config_6 = resolveS3ControlConfig(_config_5);
21
+ const _config_7 = resolveUserAgentConfig(_config_6);
22
+ super(_config_7);
23
+ this.config = _config_7;
24
+ this.middlewareStack.use(getRetryPlugin(this.config));
25
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
26
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
27
+ this.middlewareStack.use(getLoggerPlugin(this.config));
28
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
29
+ this.middlewareStack.use(getAwsAuthPlugin(this.config));
30
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
35
31
  }
36
- S3ControlClient.prototype.destroy = function () {
37
- _super.prototype.destroy.call(this);
38
- };
39
- return S3ControlClient;
40
- }(__Client));
41
- export { S3ControlClient };
32
+ destroy() {
33
+ super.destroy();
34
+ }
35
+ }
@@ -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 { CreateAccessPointRequestFilterSensitiveLog, CreateAccessPointResultFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlCreateAccessPointCommand, serializeAws_restXmlCreateAccessPointCommand, } from "../protocols/Aws_restXml";
7
- var CreateAccessPointCommand = (function (_super) {
8
- __extends(CreateAccessPointCommand, _super);
9
- function CreateAccessPointCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class CreateAccessPointCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- CreateAccessPointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "S3ControlClient";
20
- var commandName = "CreateAccessPointCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "S3ControlClient";
17
+ const commandName = "CreateAccessPointCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: CreateAccessPointRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: CreateAccessPointResultFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- CreateAccessPointCommand.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_restXmlCreateAccessPointCommand(input, context);
35
- };
36
- CreateAccessPointCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlCreateAccessPointCommand(output, context);
38
- };
39
- return CreateAccessPointCommand;
40
- }($Command));
41
- export { CreateAccessPointCommand };
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 { CreateAccessPointForObjectLambdaRequestFilterSensitiveLog, CreateAccessPointForObjectLambdaResultFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlCreateAccessPointForObjectLambdaCommand, serializeAws_restXmlCreateAccessPointForObjectLambdaCommand, } from "../protocols/Aws_restXml";
7
- var CreateAccessPointForObjectLambdaCommand = (function (_super) {
8
- __extends(CreateAccessPointForObjectLambdaCommand, _super);
9
- function CreateAccessPointForObjectLambdaCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class CreateAccessPointForObjectLambdaCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- CreateAccessPointForObjectLambdaCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "S3ControlClient";
20
- var commandName = "CreateAccessPointForObjectLambdaCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "S3ControlClient";
17
+ const commandName = "CreateAccessPointForObjectLambdaCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: CreateAccessPointForObjectLambdaRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: CreateAccessPointForObjectLambdaResultFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- CreateAccessPointForObjectLambdaCommand.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_restXmlCreateAccessPointForObjectLambdaCommand(input, context);
35
- };
36
- CreateAccessPointForObjectLambdaCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlCreateAccessPointForObjectLambdaCommand(output, context);
38
- };
39
- return CreateAccessPointForObjectLambdaCommand;
40
- }($Command));
41
- export { CreateAccessPointForObjectLambdaCommand };
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 { getRedirectFromPostIdPlugin } 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 { CreateBucketRequestFilterSensitiveLog, CreateBucketResultFilterSensitiveLog, } from "../models/models_0";
7
6
  import { deserializeAws_restXmlCreateBucketCommand, serializeAws_restXmlCreateBucketCommand, } from "../protocols/Aws_restXml";
8
- var CreateBucketCommand = (function (_super) {
9
- __extends(CreateBucketCommand, _super);
10
- function CreateBucketCommand(input) {
11
- var _this = _super.call(this) || this;
12
- _this.input = input;
13
- return _this;
7
+ export class CreateBucketCommand extends $Command {
8
+ constructor(input) {
9
+ super();
10
+ this.input = input;
14
11
  }
15
- CreateBucketCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
+ resolveMiddleware(clientStack, configuration, options) {
16
13
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
17
14
  this.middlewareStack.use(getRedirectFromPostIdPlugin(configuration));
18
15
  this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
19
- var stack = clientStack.concat(this.middlewareStack);
20
- var logger = configuration.logger;
21
- var clientName = "S3ControlClient";
22
- var commandName = "CreateBucketCommand";
23
- var handlerExecutionContext = {
24
- logger: logger,
25
- clientName: clientName,
26
- commandName: commandName,
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "S3ControlClient";
19
+ const commandName = "CreateBucketCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
27
24
  inputFilterSensitiveLog: CreateBucketRequestFilterSensitiveLog,
28
25
  outputFilterSensitiveLog: CreateBucketResultFilterSensitiveLog,
29
26
  };
30
- var requestHandler = configuration.requestHandler;
31
- return stack.resolve(function (request) {
32
- return requestHandler.handle(request.request, options || {});
33
- }, handlerExecutionContext);
34
- };
35
- CreateBucketCommand.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_restXmlCreateBucketCommand(input, context);
37
- };
38
- CreateBucketCommand.prototype.deserialize = function (output, context) {
32
+ }
33
+ deserialize(output, context) {
39
34
  return deserializeAws_restXmlCreateBucketCommand(output, context);
40
- };
41
- return CreateBucketCommand;
42
- }($Command));
43
- export { CreateBucketCommand };
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 { CreateJobRequestFilterSensitiveLog, CreateJobResultFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlCreateJobCommand, serializeAws_restXmlCreateJobCommand } from "../protocols/Aws_restXml";
7
- var CreateJobCommand = (function (_super) {
8
- __extends(CreateJobCommand, _super);
9
- function CreateJobCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class CreateJobCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- CreateJobCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "S3ControlClient";
20
- var commandName = "CreateJobCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "S3ControlClient";
17
+ const commandName = "CreateJobCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: CreateJobRequestFilterSensitiveLog,
26
23
  outputFilterSensitiveLog: CreateJobResultFilterSensitiveLog,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- CreateJobCommand.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_restXmlCreateJobCommand(input, context);
35
- };
36
- CreateJobCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlCreateJobCommand(output, context);
38
- };
39
- return CreateJobCommand;
40
- }($Command));
41
- export { CreateJobCommand };
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 { CreateMultiRegionAccessPointRequestFilterSensitiveLog, CreateMultiRegionAccessPointResultFilterSensitiveLog, } from "../models/models_0";
7
6
  import { deserializeAws_restXmlCreateMultiRegionAccessPointCommand, serializeAws_restXmlCreateMultiRegionAccessPointCommand, } from "../protocols/Aws_restXml";
8
- var CreateMultiRegionAccessPointCommand = (function (_super) {
9
- __extends(CreateMultiRegionAccessPointCommand, _super);
10
- function CreateMultiRegionAccessPointCommand(input) {
11
- var _this = _super.call(this) || this;
12
- _this.input = input;
13
- return _this;
7
+ export class CreateMultiRegionAccessPointCommand extends $Command {
8
+ constructor(input) {
9
+ super();
10
+ this.input = input;
14
11
  }
15
- CreateMultiRegionAccessPointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
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
- var stack = clientStack.concat(this.middlewareStack);
20
- var logger = configuration.logger;
21
- var clientName = "S3ControlClient";
22
- var commandName = "CreateMultiRegionAccessPointCommand";
23
- var handlerExecutionContext = {
24
- logger: logger,
25
- clientName: clientName,
26
- commandName: commandName,
16
+ const stack = clientStack.concat(this.middlewareStack);
17
+ const { logger } = configuration;
18
+ const clientName = "S3ControlClient";
19
+ const commandName = "CreateMultiRegionAccessPointCommand";
20
+ const handlerExecutionContext = {
21
+ logger,
22
+ clientName,
23
+ commandName,
27
24
  inputFilterSensitiveLog: CreateMultiRegionAccessPointRequestFilterSensitiveLog,
28
25
  outputFilterSensitiveLog: CreateMultiRegionAccessPointResultFilterSensitiveLog,
29
26
  };
30
- var requestHandler = configuration.requestHandler;
31
- return stack.resolve(function (request) {
32
- return requestHandler.handle(request.request, options || {});
33
- }, handlerExecutionContext);
34
- };
35
- CreateMultiRegionAccessPointCommand.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_restXmlCreateMultiRegionAccessPointCommand(input, context);
37
- };
38
- CreateMultiRegionAccessPointCommand.prototype.deserialize = function (output, context) {
32
+ }
33
+ deserialize(output, context) {
39
34
  return deserializeAws_restXmlCreateMultiRegionAccessPointCommand(output, context);
40
- };
41
- return CreateMultiRegionAccessPointCommand;
42
- }($Command));
43
- export { CreateMultiRegionAccessPointCommand };
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 { DeleteAccessPointRequestFilterSensitiveLog } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDeleteAccessPointCommand, serializeAws_restXmlDeleteAccessPointCommand, } from "../protocols/Aws_restXml";
7
- var DeleteAccessPointCommand = (function (_super) {
8
- __extends(DeleteAccessPointCommand, _super);
9
- function DeleteAccessPointCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DeleteAccessPointCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DeleteAccessPointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "S3ControlClient";
20
- var commandName = "DeleteAccessPointCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "S3ControlClient";
17
+ const commandName = "DeleteAccessPointCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DeleteAccessPointRequestFilterSensitiveLog,
26
- outputFilterSensitiveLog: function (output) { return output; },
23
+ outputFilterSensitiveLog: (output) => output,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DeleteAccessPointCommand.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_restXmlDeleteAccessPointCommand(input, context);
35
- };
36
- DeleteAccessPointCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDeleteAccessPointCommand(output, context);
38
- };
39
- return DeleteAccessPointCommand;
40
- }($Command));
41
- export { DeleteAccessPointCommand };
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 { DeleteAccessPointForObjectLambdaRequestFilterSensitiveLog, } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDeleteAccessPointForObjectLambdaCommand, serializeAws_restXmlDeleteAccessPointForObjectLambdaCommand, } from "../protocols/Aws_restXml";
7
- var DeleteAccessPointForObjectLambdaCommand = (function (_super) {
8
- __extends(DeleteAccessPointForObjectLambdaCommand, _super);
9
- function DeleteAccessPointForObjectLambdaCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DeleteAccessPointForObjectLambdaCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DeleteAccessPointForObjectLambdaCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "S3ControlClient";
20
- var commandName = "DeleteAccessPointForObjectLambdaCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "S3ControlClient";
17
+ const commandName = "DeleteAccessPointForObjectLambdaCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DeleteAccessPointForObjectLambdaRequestFilterSensitiveLog,
26
- outputFilterSensitiveLog: function (output) { return output; },
23
+ outputFilterSensitiveLog: (output) => output,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DeleteAccessPointForObjectLambdaCommand.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_restXmlDeleteAccessPointForObjectLambdaCommand(input, context);
35
- };
36
- DeleteAccessPointForObjectLambdaCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDeleteAccessPointForObjectLambdaCommand(output, context);
38
- };
39
- return DeleteAccessPointForObjectLambdaCommand;
40
- }($Command));
41
- export { DeleteAccessPointForObjectLambdaCommand };
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 { DeleteAccessPointPolicyRequestFilterSensitiveLog } from "../models/models_0";
6
5
  import { deserializeAws_restXmlDeleteAccessPointPolicyCommand, serializeAws_restXmlDeleteAccessPointPolicyCommand, } from "../protocols/Aws_restXml";
7
- var DeleteAccessPointPolicyCommand = (function (_super) {
8
- __extends(DeleteAccessPointPolicyCommand, _super);
9
- function DeleteAccessPointPolicyCommand(input) {
10
- var _this = _super.call(this) || this;
11
- _this.input = input;
12
- return _this;
6
+ export class DeleteAccessPointPolicyCommand extends $Command {
7
+ constructor(input) {
8
+ super();
9
+ this.input = input;
13
10
  }
14
- DeleteAccessPointPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
+ resolveMiddleware(clientStack, configuration, options) {
15
12
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
16
13
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
17
- var stack = clientStack.concat(this.middlewareStack);
18
- var logger = configuration.logger;
19
- var clientName = "S3ControlClient";
20
- var commandName = "DeleteAccessPointPolicyCommand";
21
- var handlerExecutionContext = {
22
- logger: logger,
23
- clientName: clientName,
24
- commandName: commandName,
14
+ const stack = clientStack.concat(this.middlewareStack);
15
+ const { logger } = configuration;
16
+ const clientName = "S3ControlClient";
17
+ const commandName = "DeleteAccessPointPolicyCommand";
18
+ const handlerExecutionContext = {
19
+ logger,
20
+ clientName,
21
+ commandName,
25
22
  inputFilterSensitiveLog: DeleteAccessPointPolicyRequestFilterSensitiveLog,
26
- outputFilterSensitiveLog: function (output) { return output; },
23
+ outputFilterSensitiveLog: (output) => output,
27
24
  };
28
- var requestHandler = configuration.requestHandler;
29
- return stack.resolve(function (request) {
30
- return requestHandler.handle(request.request, options || {});
31
- }, handlerExecutionContext);
32
- };
33
- DeleteAccessPointPolicyCommand.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_restXmlDeleteAccessPointPolicyCommand(input, context);
35
- };
36
- DeleteAccessPointPolicyCommand.prototype.deserialize = function (output, context) {
30
+ }
31
+ deserialize(output, context) {
37
32
  return deserializeAws_restXmlDeleteAccessPointPolicyCommand(output, context);
38
- };
39
- return DeleteAccessPointPolicyCommand;
40
- }($Command));
41
- export { DeleteAccessPointPolicyCommand };
33
+ }
34
+ }