@aws-sdk/client-s3-control 3.183.0 → 3.185.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 (90) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist-cjs/models/models_0.js +5 -0
  3. package/dist-cjs/protocols/Aws_restXml.js +2 -2
  4. package/dist-cjs/runtimeConfig.shared.js +3 -2
  5. package/dist-es/S3Control.js +245 -238
  6. package/dist-es/S3ControlClient.js +29 -23
  7. package/dist-es/commands/CreateAccessPointCommand.js +28 -21
  8. package/dist-es/commands/CreateAccessPointForObjectLambdaCommand.js +28 -21
  9. package/dist-es/commands/CreateBucketCommand.js +28 -21
  10. package/dist-es/commands/CreateJobCommand.js +28 -21
  11. package/dist-es/commands/CreateMultiRegionAccessPointCommand.js +28 -21
  12. package/dist-es/commands/DeleteAccessPointCommand.js +29 -22
  13. package/dist-es/commands/DeleteAccessPointForObjectLambdaCommand.js +29 -22
  14. package/dist-es/commands/DeleteAccessPointPolicyCommand.js +29 -22
  15. package/dist-es/commands/DeleteAccessPointPolicyForObjectLambdaCommand.js +29 -22
  16. package/dist-es/commands/DeleteBucketCommand.js +29 -22
  17. package/dist-es/commands/DeleteBucketLifecycleConfigurationCommand.js +29 -22
  18. package/dist-es/commands/DeleteBucketPolicyCommand.js +29 -22
  19. package/dist-es/commands/DeleteBucketTaggingCommand.js +29 -22
  20. package/dist-es/commands/DeleteJobTaggingCommand.js +28 -21
  21. package/dist-es/commands/DeleteMultiRegionAccessPointCommand.js +28 -21
  22. package/dist-es/commands/DeletePublicAccessBlockCommand.js +29 -22
  23. package/dist-es/commands/DeleteStorageLensConfigurationCommand.js +29 -22
  24. package/dist-es/commands/DeleteStorageLensConfigurationTaggingCommand.js +28 -21
  25. package/dist-es/commands/DescribeJobCommand.js +28 -21
  26. package/dist-es/commands/DescribeMultiRegionAccessPointOperationCommand.js +28 -21
  27. package/dist-es/commands/GetAccessPointCommand.js +28 -21
  28. package/dist-es/commands/GetAccessPointConfigurationForObjectLambdaCommand.js +28 -21
  29. package/dist-es/commands/GetAccessPointForObjectLambdaCommand.js +28 -21
  30. package/dist-es/commands/GetAccessPointPolicyCommand.js +28 -21
  31. package/dist-es/commands/GetAccessPointPolicyForObjectLambdaCommand.js +28 -21
  32. package/dist-es/commands/GetAccessPointPolicyStatusCommand.js +28 -21
  33. package/dist-es/commands/GetAccessPointPolicyStatusForObjectLambdaCommand.js +28 -21
  34. package/dist-es/commands/GetBucketCommand.js +28 -21
  35. package/dist-es/commands/GetBucketLifecycleConfigurationCommand.js +28 -21
  36. package/dist-es/commands/GetBucketPolicyCommand.js +28 -21
  37. package/dist-es/commands/GetBucketTaggingCommand.js +28 -21
  38. package/dist-es/commands/GetBucketVersioningCommand.js +28 -21
  39. package/dist-es/commands/GetJobTaggingCommand.js +28 -21
  40. package/dist-es/commands/GetMultiRegionAccessPointCommand.js +28 -21
  41. package/dist-es/commands/GetMultiRegionAccessPointPolicyCommand.js +28 -21
  42. package/dist-es/commands/GetMultiRegionAccessPointPolicyStatusCommand.js +28 -21
  43. package/dist-es/commands/GetPublicAccessBlockCommand.js +28 -21
  44. package/dist-es/commands/GetStorageLensConfigurationCommand.js +28 -21
  45. package/dist-es/commands/GetStorageLensConfigurationTaggingCommand.js +28 -21
  46. package/dist-es/commands/ListAccessPointsCommand.js +28 -21
  47. package/dist-es/commands/ListAccessPointsForObjectLambdaCommand.js +28 -21
  48. package/dist-es/commands/ListJobsCommand.js +28 -21
  49. package/dist-es/commands/ListMultiRegionAccessPointsCommand.js +28 -21
  50. package/dist-es/commands/ListRegionalBucketsCommand.js +28 -21
  51. package/dist-es/commands/ListStorageLensConfigurationsCommand.js +28 -21
  52. package/dist-es/commands/PutAccessPointConfigurationForObjectLambdaCommand.js +29 -22
  53. package/dist-es/commands/PutAccessPointPolicyCommand.js +29 -22
  54. package/dist-es/commands/PutAccessPointPolicyForObjectLambdaCommand.js +29 -22
  55. package/dist-es/commands/PutBucketLifecycleConfigurationCommand.js +29 -22
  56. package/dist-es/commands/PutBucketPolicyCommand.js +29 -22
  57. package/dist-es/commands/PutBucketTaggingCommand.js +29 -22
  58. package/dist-es/commands/PutBucketVersioningCommand.js +29 -22
  59. package/dist-es/commands/PutJobTaggingCommand.js +28 -21
  60. package/dist-es/commands/PutMultiRegionAccessPointPolicyCommand.js +28 -21
  61. package/dist-es/commands/PutPublicAccessBlockCommand.js +29 -22
  62. package/dist-es/commands/PutStorageLensConfigurationCommand.js +29 -22
  63. package/dist-es/commands/PutStorageLensConfigurationTaggingCommand.js +28 -21
  64. package/dist-es/commands/UpdateJobPriorityCommand.js +28 -21
  65. package/dist-es/commands/UpdateJobStatusCommand.js +28 -21
  66. package/dist-es/endpoints.js +8 -8
  67. package/dist-es/models/S3ControlServiceException.js +10 -5
  68. package/dist-es/models/models_0.js +349 -723
  69. package/dist-es/pagination/ListAccessPointsForObjectLambdaPaginator.js +68 -25
  70. package/dist-es/pagination/ListAccessPointsPaginator.js +68 -25
  71. package/dist-es/pagination/ListJobsPaginator.js +68 -25
  72. package/dist-es/pagination/ListMultiRegionAccessPointsPaginator.js +68 -25
  73. package/dist-es/pagination/ListRegionalBucketsPaginator.js +68 -25
  74. package/dist-es/pagination/ListStorageLensConfigurationsPaginator.js +67 -24
  75. package/dist-es/protocols/Aws_restXml.js +6164 -4548
  76. package/dist-es/runtimeConfig.browser.js +12 -28
  77. package/dist-es/runtimeConfig.js +12 -32
  78. package/dist-es/runtimeConfig.native.js +5 -8
  79. package/dist-es/runtimeConfig.shared.js +12 -8
  80. package/dist-types/models/models_0.d.ts +7 -2
  81. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  82. package/dist-types/runtimeConfig.d.ts +1 -1
  83. package/dist-types/runtimeConfig.native.d.ts +1 -1
  84. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  85. package/dist-types/ts3.4/models/models_0.d.ts +5 -0
  86. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  87. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  88. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  89. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  90. package/package.json +5 -5
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DeleteAccessPointPolicyForObjectLambdaRequestFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand, serializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand, } from "../protocols/Aws_restXml";
6
- export class DeleteAccessPointPolicyForObjectLambdaCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DeleteAccessPointPolicyForObjectLambdaCommand = (function (_super) {
8
+ __extends(DeleteAccessPointPolicyForObjectLambdaCommand, _super);
9
+ function DeleteAccessPointPolicyForObjectLambdaCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DeleteAccessPointPolicyForObjectLambdaCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "S3ControlClient";
17
- const commandName = "DeleteAccessPointPolicyForObjectLambdaCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "S3ControlClient";
20
+ var commandName = "DeleteAccessPointPolicyForObjectLambdaCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DeleteAccessPointPolicyForObjectLambdaRequestFilterSensitiveLog,
23
- outputFilterSensitiveLog: (output) => output,
26
+ outputFilterSensitiveLog: function (output) { return output; },
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeleteAccessPointPolicyForObjectLambdaCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DeleteAccessPointPolicyForObjectLambdaCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlDeleteAccessPointPolicyForObjectLambdaCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DeleteAccessPointPolicyForObjectLambdaCommand;
40
+ }($Command));
41
+ export { DeleteAccessPointPolicyForObjectLambdaCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DeleteBucketRequestFilterSensitiveLog } from "../models/models_0";
5
6
  import { deserializeAws_restXmlDeleteBucketCommand, serializeAws_restXmlDeleteBucketCommand, } from "../protocols/Aws_restXml";
6
- export class DeleteBucketCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DeleteBucketCommand = (function (_super) {
8
+ __extends(DeleteBucketCommand, _super);
9
+ function DeleteBucketCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DeleteBucketCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "S3ControlClient";
17
- const commandName = "DeleteBucketCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "S3ControlClient";
20
+ var commandName = "DeleteBucketCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DeleteBucketRequestFilterSensitiveLog,
23
- outputFilterSensitiveLog: (output) => output,
26
+ outputFilterSensitiveLog: function (output) { return output; },
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeleteBucketCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlDeleteBucketCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DeleteBucketCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlDeleteBucketCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DeleteBucketCommand;
40
+ }($Command));
41
+ export { DeleteBucketCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DeleteBucketLifecycleConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_restXmlDeleteBucketLifecycleConfigurationCommand, serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand, } from "../protocols/Aws_restXml";
6
- export class DeleteBucketLifecycleConfigurationCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DeleteBucketLifecycleConfigurationCommand = (function (_super) {
8
+ __extends(DeleteBucketLifecycleConfigurationCommand, _super);
9
+ function DeleteBucketLifecycleConfigurationCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DeleteBucketLifecycleConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "S3ControlClient";
17
- const commandName = "DeleteBucketLifecycleConfigurationCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "S3ControlClient";
20
+ var commandName = "DeleteBucketLifecycleConfigurationCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DeleteBucketLifecycleConfigurationRequestFilterSensitiveLog,
23
- outputFilterSensitiveLog: (output) => output,
26
+ outputFilterSensitiveLog: function (output) { return output; },
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeleteBucketLifecycleConfigurationCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlDeleteBucketLifecycleConfigurationCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DeleteBucketLifecycleConfigurationCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlDeleteBucketLifecycleConfigurationCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DeleteBucketLifecycleConfigurationCommand;
40
+ }($Command));
41
+ export { DeleteBucketLifecycleConfigurationCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DeleteBucketPolicyRequestFilterSensitiveLog } from "../models/models_0";
5
6
  import { deserializeAws_restXmlDeleteBucketPolicyCommand, serializeAws_restXmlDeleteBucketPolicyCommand, } from "../protocols/Aws_restXml";
6
- export class DeleteBucketPolicyCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DeleteBucketPolicyCommand = (function (_super) {
8
+ __extends(DeleteBucketPolicyCommand, _super);
9
+ function DeleteBucketPolicyCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DeleteBucketPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "S3ControlClient";
17
- const commandName = "DeleteBucketPolicyCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "S3ControlClient";
20
+ var commandName = "DeleteBucketPolicyCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DeleteBucketPolicyRequestFilterSensitiveLog,
23
- outputFilterSensitiveLog: (output) => output,
26
+ outputFilterSensitiveLog: function (output) { return output; },
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeleteBucketPolicyCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlDeleteBucketPolicyCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DeleteBucketPolicyCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlDeleteBucketPolicyCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DeleteBucketPolicyCommand;
40
+ }($Command));
41
+ export { DeleteBucketPolicyCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DeleteBucketTaggingRequestFilterSensitiveLog } from "../models/models_0";
5
6
  import { deserializeAws_restXmlDeleteBucketTaggingCommand, serializeAws_restXmlDeleteBucketTaggingCommand, } from "../protocols/Aws_restXml";
6
- export class DeleteBucketTaggingCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DeleteBucketTaggingCommand = (function (_super) {
8
+ __extends(DeleteBucketTaggingCommand, _super);
9
+ function DeleteBucketTaggingCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DeleteBucketTaggingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "S3ControlClient";
17
- const commandName = "DeleteBucketTaggingCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "S3ControlClient";
20
+ var commandName = "DeleteBucketTaggingCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DeleteBucketTaggingRequestFilterSensitiveLog,
23
- outputFilterSensitiveLog: (output) => output,
26
+ outputFilterSensitiveLog: function (output) { return output; },
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeleteBucketTaggingCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlDeleteBucketTaggingCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DeleteBucketTaggingCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlDeleteBucketTaggingCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DeleteBucketTaggingCommand;
40
+ }($Command));
41
+ export { DeleteBucketTaggingCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DeleteJobTaggingRequestFilterSensitiveLog, DeleteJobTaggingResultFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_restXmlDeleteJobTaggingCommand, serializeAws_restXmlDeleteJobTaggingCommand, } from "../protocols/Aws_restXml";
6
- export class DeleteJobTaggingCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DeleteJobTaggingCommand = (function (_super) {
8
+ __extends(DeleteJobTaggingCommand, _super);
9
+ function DeleteJobTaggingCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DeleteJobTaggingCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "S3ControlClient";
17
- const commandName = "DeleteJobTaggingCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "S3ControlClient";
20
+ var commandName = "DeleteJobTaggingCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DeleteJobTaggingRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: DeleteJobTaggingResultFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeleteJobTaggingCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlDeleteJobTaggingCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DeleteJobTaggingCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlDeleteJobTaggingCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DeleteJobTaggingCommand;
40
+ }($Command));
41
+ export { DeleteJobTaggingCommand };
@@ -1,36 +1,43 @@
1
+ import { __extends } from "tslib";
1
2
  import { getApplyMd5BodyChecksumPlugin } from "@aws-sdk/middleware-apply-body-checksum";
2
3
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
3
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
4
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
5
6
  import { DeleteMultiRegionAccessPointRequestFilterSensitiveLog, DeleteMultiRegionAccessPointResultFilterSensitiveLog, } from "../models/models_0";
6
7
  import { deserializeAws_restXmlDeleteMultiRegionAccessPointCommand, serializeAws_restXmlDeleteMultiRegionAccessPointCommand, } from "../protocols/Aws_restXml";
7
- export class DeleteMultiRegionAccessPointCommand extends $Command {
8
- constructor(input) {
9
- super();
10
- this.input = input;
8
+ var DeleteMultiRegionAccessPointCommand = (function (_super) {
9
+ __extends(DeleteMultiRegionAccessPointCommand, _super);
10
+ function DeleteMultiRegionAccessPointCommand(input) {
11
+ var _this = _super.call(this) || this;
12
+ _this.input = input;
13
+ return _this;
11
14
  }
12
- resolveMiddleware(clientStack, configuration, options) {
15
+ DeleteMultiRegionAccessPointCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
13
16
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
14
17
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
15
18
  this.middlewareStack.use(getApplyMd5BodyChecksumPlugin(configuration));
16
- const stack = clientStack.concat(this.middlewareStack);
17
- const { logger } = configuration;
18
- const clientName = "S3ControlClient";
19
- const commandName = "DeleteMultiRegionAccessPointCommand";
20
- const handlerExecutionContext = {
21
- logger,
22
- clientName,
23
- commandName,
19
+ var stack = clientStack.concat(this.middlewareStack);
20
+ var logger = configuration.logger;
21
+ var clientName = "S3ControlClient";
22
+ var commandName = "DeleteMultiRegionAccessPointCommand";
23
+ var handlerExecutionContext = {
24
+ logger: logger,
25
+ clientName: clientName,
26
+ commandName: commandName,
24
27
  inputFilterSensitiveLog: DeleteMultiRegionAccessPointRequestFilterSensitiveLog,
25
28
  outputFilterSensitiveLog: DeleteMultiRegionAccessPointResultFilterSensitiveLog,
26
29
  };
27
- const { requestHandler } = configuration;
28
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
29
- }
30
- serialize(input, context) {
30
+ var requestHandler = configuration.requestHandler;
31
+ return stack.resolve(function (request) {
32
+ return requestHandler.handle(request.request, options || {});
33
+ }, handlerExecutionContext);
34
+ };
35
+ DeleteMultiRegionAccessPointCommand.prototype.serialize = function (input, context) {
31
36
  return serializeAws_restXmlDeleteMultiRegionAccessPointCommand(input, context);
32
- }
33
- deserialize(output, context) {
37
+ };
38
+ DeleteMultiRegionAccessPointCommand.prototype.deserialize = function (output, context) {
34
39
  return deserializeAws_restXmlDeleteMultiRegionAccessPointCommand(output, context);
35
- }
36
- }
40
+ };
41
+ return DeleteMultiRegionAccessPointCommand;
42
+ }($Command));
43
+ export { DeleteMultiRegionAccessPointCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DeletePublicAccessBlockRequestFilterSensitiveLog } from "../models/models_0";
5
6
  import { deserializeAws_restXmlDeletePublicAccessBlockCommand, serializeAws_restXmlDeletePublicAccessBlockCommand, } from "../protocols/Aws_restXml";
6
- export class DeletePublicAccessBlockCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DeletePublicAccessBlockCommand = (function (_super) {
8
+ __extends(DeletePublicAccessBlockCommand, _super);
9
+ function DeletePublicAccessBlockCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DeletePublicAccessBlockCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "S3ControlClient";
17
- const commandName = "DeletePublicAccessBlockCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "S3ControlClient";
20
+ var commandName = "DeletePublicAccessBlockCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DeletePublicAccessBlockRequestFilterSensitiveLog,
23
- outputFilterSensitiveLog: (output) => output,
26
+ outputFilterSensitiveLog: function (output) { return output; },
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeletePublicAccessBlockCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlDeletePublicAccessBlockCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DeletePublicAccessBlockCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlDeletePublicAccessBlockCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DeletePublicAccessBlockCommand;
40
+ }($Command));
41
+ export { DeletePublicAccessBlockCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getProcessArnablesPlugin } from "@aws-sdk/middleware-sdk-s3-control";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DeleteStorageLensConfigurationRequestFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_restXmlDeleteStorageLensConfigurationCommand, serializeAws_restXmlDeleteStorageLensConfigurationCommand, } from "../protocols/Aws_restXml";
6
- export class DeleteStorageLensConfigurationCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DeleteStorageLensConfigurationCommand = (function (_super) {
8
+ __extends(DeleteStorageLensConfigurationCommand, _super);
9
+ function DeleteStorageLensConfigurationCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DeleteStorageLensConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
16
  this.middlewareStack.use(getProcessArnablesPlugin(configuration));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "S3ControlClient";
17
- const commandName = "DeleteStorageLensConfigurationCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "S3ControlClient";
20
+ var commandName = "DeleteStorageLensConfigurationCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DeleteStorageLensConfigurationRequestFilterSensitiveLog,
23
- outputFilterSensitiveLog: (output) => output,
26
+ outputFilterSensitiveLog: function (output) { return output; },
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeleteStorageLensConfigurationCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_restXmlDeleteStorageLensConfigurationCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DeleteStorageLensConfigurationCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_restXmlDeleteStorageLensConfigurationCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DeleteStorageLensConfigurationCommand;
40
+ }($Command));
41
+ export { DeleteStorageLensConfigurationCommand };