@aws-sdk/client-cloudformation 3.186.0 → 3.190.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 (103) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-cjs/protocols/Aws_query.js +8 -4
  3. package/dist-es/CloudFormation.js +266 -273
  4. package/dist-es/CloudFormationClient.js +22 -28
  5. package/dist-es/commands/ActivateTypeCommand.js +21 -28
  6. package/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +21 -28
  7. package/dist-es/commands/CancelUpdateStackCommand.js +22 -29
  8. package/dist-es/commands/ContinueUpdateRollbackCommand.js +21 -28
  9. package/dist-es/commands/CreateChangeSetCommand.js +21 -28
  10. package/dist-es/commands/CreateStackCommand.js +21 -28
  11. package/dist-es/commands/CreateStackInstancesCommand.js +21 -28
  12. package/dist-es/commands/CreateStackSetCommand.js +21 -28
  13. package/dist-es/commands/DeactivateTypeCommand.js +21 -28
  14. package/dist-es/commands/DeleteChangeSetCommand.js +21 -28
  15. package/dist-es/commands/DeleteStackCommand.js +22 -29
  16. package/dist-es/commands/DeleteStackInstancesCommand.js +21 -28
  17. package/dist-es/commands/DeleteStackSetCommand.js +21 -28
  18. package/dist-es/commands/DeregisterTypeCommand.js +21 -28
  19. package/dist-es/commands/DescribeAccountLimitsCommand.js +21 -28
  20. package/dist-es/commands/DescribeChangeSetCommand.js +21 -28
  21. package/dist-es/commands/DescribeChangeSetHooksCommand.js +21 -28
  22. package/dist-es/commands/DescribePublisherCommand.js +21 -28
  23. package/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +21 -28
  24. package/dist-es/commands/DescribeStackEventsCommand.js +21 -28
  25. package/dist-es/commands/DescribeStackInstanceCommand.js +21 -28
  26. package/dist-es/commands/DescribeStackResourceCommand.js +21 -28
  27. package/dist-es/commands/DescribeStackResourceDriftsCommand.js +21 -28
  28. package/dist-es/commands/DescribeStackResourcesCommand.js +21 -28
  29. package/dist-es/commands/DescribeStackSetCommand.js +21 -28
  30. package/dist-es/commands/DescribeStackSetOperationCommand.js +21 -28
  31. package/dist-es/commands/DescribeStacksCommand.js +21 -28
  32. package/dist-es/commands/DescribeTypeCommand.js +21 -28
  33. package/dist-es/commands/DescribeTypeRegistrationCommand.js +21 -28
  34. package/dist-es/commands/DetectStackDriftCommand.js +21 -28
  35. package/dist-es/commands/DetectStackResourceDriftCommand.js +21 -28
  36. package/dist-es/commands/DetectStackSetDriftCommand.js +21 -28
  37. package/dist-es/commands/EstimateTemplateCostCommand.js +21 -28
  38. package/dist-es/commands/ExecuteChangeSetCommand.js +21 -28
  39. package/dist-es/commands/GetStackPolicyCommand.js +21 -28
  40. package/dist-es/commands/GetTemplateCommand.js +21 -28
  41. package/dist-es/commands/GetTemplateSummaryCommand.js +21 -28
  42. package/dist-es/commands/ImportStacksToStackSetCommand.js +21 -28
  43. package/dist-es/commands/ListChangeSetsCommand.js +21 -28
  44. package/dist-es/commands/ListExportsCommand.js +21 -28
  45. package/dist-es/commands/ListImportsCommand.js +21 -28
  46. package/dist-es/commands/ListStackInstancesCommand.js +21 -28
  47. package/dist-es/commands/ListStackResourcesCommand.js +21 -28
  48. package/dist-es/commands/ListStackSetOperationResultsCommand.js +21 -28
  49. package/dist-es/commands/ListStackSetOperationsCommand.js +21 -28
  50. package/dist-es/commands/ListStackSetsCommand.js +21 -28
  51. package/dist-es/commands/ListStacksCommand.js +21 -28
  52. package/dist-es/commands/ListTypeRegistrationsCommand.js +21 -28
  53. package/dist-es/commands/ListTypeVersionsCommand.js +21 -28
  54. package/dist-es/commands/ListTypesCommand.js +21 -28
  55. package/dist-es/commands/PublishTypeCommand.js +21 -28
  56. package/dist-es/commands/RecordHandlerProgressCommand.js +21 -28
  57. package/dist-es/commands/RegisterPublisherCommand.js +21 -28
  58. package/dist-es/commands/RegisterTypeCommand.js +21 -28
  59. package/dist-es/commands/RollbackStackCommand.js +21 -28
  60. package/dist-es/commands/SetStackPolicyCommand.js +22 -29
  61. package/dist-es/commands/SetTypeConfigurationCommand.js +21 -28
  62. package/dist-es/commands/SetTypeDefaultVersionCommand.js +21 -28
  63. package/dist-es/commands/SignalResourceCommand.js +22 -29
  64. package/dist-es/commands/StopStackSetOperationCommand.js +21 -28
  65. package/dist-es/commands/TestTypeCommand.js +21 -28
  66. package/dist-es/commands/UpdateStackCommand.js +21 -28
  67. package/dist-es/commands/UpdateStackInstancesCommand.js +21 -28
  68. package/dist-es/commands/UpdateStackSetCommand.js +21 -28
  69. package/dist-es/commands/UpdateTerminationProtectionCommand.js +21 -28
  70. package/dist-es/commands/ValidateTemplateCommand.js +21 -28
  71. package/dist-es/endpoints.js +8 -8
  72. package/dist-es/models/CloudFormationServiceException.js +5 -10
  73. package/dist-es/models/models_0.js +819 -450
  74. package/dist-es/pagination/DescribeAccountLimitsPaginator.js +24 -67
  75. package/dist-es/pagination/DescribeStackEventsPaginator.js +24 -67
  76. package/dist-es/pagination/DescribeStackResourceDriftsPaginator.js +25 -68
  77. package/dist-es/pagination/DescribeStacksPaginator.js +24 -67
  78. package/dist-es/pagination/ListChangeSetsPaginator.js +24 -67
  79. package/dist-es/pagination/ListExportsPaginator.js +24 -67
  80. package/dist-es/pagination/ListImportsPaginator.js +24 -67
  81. package/dist-es/pagination/ListStackInstancesPaginator.js +25 -68
  82. package/dist-es/pagination/ListStackResourcesPaginator.js +24 -67
  83. package/dist-es/pagination/ListStackSetOperationResultsPaginator.js +25 -68
  84. package/dist-es/pagination/ListStackSetOperationsPaginator.js +25 -68
  85. package/dist-es/pagination/ListStackSetsPaginator.js +25 -68
  86. package/dist-es/pagination/ListStacksPaginator.js +24 -67
  87. package/dist-es/pagination/ListTypeRegistrationsPaginator.js +25 -68
  88. package/dist-es/pagination/ListTypeVersionsPaginator.js +25 -68
  89. package/dist-es/pagination/ListTypesPaginator.js +25 -68
  90. package/dist-es/protocols/Aws_query.js +4138 -5472
  91. package/dist-es/runtimeConfig.browser.js +26 -12
  92. package/dist-es/runtimeConfig.js +30 -12
  93. package/dist-es/runtimeConfig.native.js +8 -5
  94. package/dist-es/runtimeConfig.shared.js +8 -11
  95. package/dist-es/waiters/waitForChangeSetCreateComplete.js +39 -59
  96. package/dist-es/waiters/waitForStackCreateComplete.js +108 -189
  97. package/dist-es/waiters/waitForStackDeleteComplete.js +122 -213
  98. package/dist-es/waiters/waitForStackExists.js +23 -42
  99. package/dist-es/waiters/waitForStackImportComplete.js +108 -189
  100. package/dist-es/waiters/waitForStackRollbackComplete.js +80 -141
  101. package/dist-es/waiters/waitForStackUpdateComplete.js +80 -141
  102. package/dist-es/waiters/waitForTypeRegistrationComplete.js +36 -56
  103. package/package.json +35 -36
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { ListTypesInputFilterSensitiveLog, ListTypesOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryListTypesCommand, serializeAws_queryListTypesCommand } from "../protocols/Aws_query";
6
- var ListTypesCommand = (function (_super) {
7
- __extends(ListTypesCommand, _super);
8
- function ListTypesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class ListTypesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- ListTypesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFormationClient";
18
- var commandName = "ListTypesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFormationClient";
15
+ const commandName = "ListTypesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: ListTypesInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: ListTypesOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- ListTypesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryListTypesCommand(input, context);
33
- };
34
- ListTypesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryListTypesCommand(output, context);
36
- };
37
- return ListTypesCommand;
38
- }($Command));
39
- export { ListTypesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { PublishTypeInputFilterSensitiveLog, PublishTypeOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryPublishTypeCommand, serializeAws_queryPublishTypeCommand } from "../protocols/Aws_query";
6
- var PublishTypeCommand = (function (_super) {
7
- __extends(PublishTypeCommand, _super);
8
- function PublishTypeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class PublishTypeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- PublishTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFormationClient";
18
- var commandName = "PublishTypeCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFormationClient";
15
+ const commandName = "PublishTypeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: PublishTypeInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: PublishTypeOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- PublishTypeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryPublishTypeCommand(input, context);
33
- };
34
- PublishTypeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryPublishTypeCommand(output, context);
36
- };
37
- return PublishTypeCommand;
38
- }($Command));
39
- export { PublishTypeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RecordHandlerProgressInputFilterSensitiveLog, RecordHandlerProgressOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryRecordHandlerProgressCommand, serializeAws_queryRecordHandlerProgressCommand, } from "../protocols/Aws_query";
6
- var RecordHandlerProgressCommand = (function (_super) {
7
- __extends(RecordHandlerProgressCommand, _super);
8
- function RecordHandlerProgressCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RecordHandlerProgressCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RecordHandlerProgressCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFormationClient";
18
- var commandName = "RecordHandlerProgressCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFormationClient";
15
+ const commandName = "RecordHandlerProgressCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RecordHandlerProgressInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RecordHandlerProgressOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RecordHandlerProgressCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryRecordHandlerProgressCommand(input, context);
33
- };
34
- RecordHandlerProgressCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryRecordHandlerProgressCommand(output, context);
36
- };
37
- return RecordHandlerProgressCommand;
38
- }($Command));
39
- export { RecordHandlerProgressCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RegisterPublisherInputFilterSensitiveLog, RegisterPublisherOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryRegisterPublisherCommand, serializeAws_queryRegisterPublisherCommand, } from "../protocols/Aws_query";
6
- var RegisterPublisherCommand = (function (_super) {
7
- __extends(RegisterPublisherCommand, _super);
8
- function RegisterPublisherCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RegisterPublisherCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RegisterPublisherCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFormationClient";
18
- var commandName = "RegisterPublisherCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFormationClient";
15
+ const commandName = "RegisterPublisherCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RegisterPublisherInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RegisterPublisherOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RegisterPublisherCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryRegisterPublisherCommand(input, context);
33
- };
34
- RegisterPublisherCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryRegisterPublisherCommand(output, context);
36
- };
37
- return RegisterPublisherCommand;
38
- }($Command));
39
- export { RegisterPublisherCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RegisterTypeInputFilterSensitiveLog, RegisterTypeOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryRegisterTypeCommand, serializeAws_queryRegisterTypeCommand } from "../protocols/Aws_query";
6
- var RegisterTypeCommand = (function (_super) {
7
- __extends(RegisterTypeCommand, _super);
8
- function RegisterTypeCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RegisterTypeCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RegisterTypeCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFormationClient";
18
- var commandName = "RegisterTypeCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFormationClient";
15
+ const commandName = "RegisterTypeCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RegisterTypeInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RegisterTypeOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RegisterTypeCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryRegisterTypeCommand(input, context);
33
- };
34
- RegisterTypeCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryRegisterTypeCommand(output, context);
36
- };
37
- return RegisterTypeCommand;
38
- }($Command));
39
- export { RegisterTypeCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { RollbackStackInputFilterSensitiveLog, RollbackStackOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryRollbackStackCommand, serializeAws_queryRollbackStackCommand, } from "../protocols/Aws_query";
6
- var RollbackStackCommand = (function (_super) {
7
- __extends(RollbackStackCommand, _super);
8
- function RollbackStackCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class RollbackStackCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- RollbackStackCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFormationClient";
18
- var commandName = "RollbackStackCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFormationClient";
15
+ const commandName = "RollbackStackCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: RollbackStackInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: RollbackStackOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- RollbackStackCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryRollbackStackCommand(input, context);
33
- };
34
- RollbackStackCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryRollbackStackCommand(output, context);
36
- };
37
- return RollbackStackCommand;
38
- }($Command));
39
- export { RollbackStackCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SetStackPolicyInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_querySetStackPolicyCommand, serializeAws_querySetStackPolicyCommand, } from "../protocols/Aws_query";
6
- var SetStackPolicyCommand = (function (_super) {
7
- __extends(SetStackPolicyCommand, _super);
8
- function SetStackPolicyCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SetStackPolicyCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SetStackPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFormationClient";
18
- var commandName = "SetStackPolicyCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFormationClient";
15
+ const commandName = "SetStackPolicyCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SetStackPolicyInputFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SetStackPolicyCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_querySetStackPolicyCommand(input, context);
33
- };
34
- SetStackPolicyCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_querySetStackPolicyCommand(output, context);
36
- };
37
- return SetStackPolicyCommand;
38
- }($Command));
39
- export { SetStackPolicyCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SetTypeConfigurationInputFilterSensitiveLog, SetTypeConfigurationOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_querySetTypeConfigurationCommand, serializeAws_querySetTypeConfigurationCommand, } from "../protocols/Aws_query";
6
- var SetTypeConfigurationCommand = (function (_super) {
7
- __extends(SetTypeConfigurationCommand, _super);
8
- function SetTypeConfigurationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SetTypeConfigurationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SetTypeConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFormationClient";
18
- var commandName = "SetTypeConfigurationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFormationClient";
15
+ const commandName = "SetTypeConfigurationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SetTypeConfigurationInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SetTypeConfigurationOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SetTypeConfigurationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_querySetTypeConfigurationCommand(input, context);
33
- };
34
- SetTypeConfigurationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_querySetTypeConfigurationCommand(output, context);
36
- };
37
- return SetTypeConfigurationCommand;
38
- }($Command));
39
- export { SetTypeConfigurationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SetTypeDefaultVersionInputFilterSensitiveLog, SetTypeDefaultVersionOutputFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_querySetTypeDefaultVersionCommand, serializeAws_querySetTypeDefaultVersionCommand, } from "../protocols/Aws_query";
6
- var SetTypeDefaultVersionCommand = (function (_super) {
7
- __extends(SetTypeDefaultVersionCommand, _super);
8
- function SetTypeDefaultVersionCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SetTypeDefaultVersionCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SetTypeDefaultVersionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFormationClient";
18
- var commandName = "SetTypeDefaultVersionCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFormationClient";
15
+ const commandName = "SetTypeDefaultVersionCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SetTypeDefaultVersionInputFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: SetTypeDefaultVersionOutputFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SetTypeDefaultVersionCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_querySetTypeDefaultVersionCommand(input, context);
33
- };
34
- SetTypeDefaultVersionCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_querySetTypeDefaultVersionCommand(output, context);
36
- };
37
- return SetTypeDefaultVersionCommand;
38
- }($Command));
39
- export { SetTypeDefaultVersionCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { SignalResourceInputFilterSensitiveLog } from "../models/models_0";
5
4
  import { deserializeAws_querySignalResourceCommand, serializeAws_querySignalResourceCommand, } from "../protocols/Aws_query";
6
- var SignalResourceCommand = (function (_super) {
7
- __extends(SignalResourceCommand, _super);
8
- function SignalResourceCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class SignalResourceCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- SignalResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "CloudFormationClient";
18
- var commandName = "SignalResourceCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "CloudFormationClient";
15
+ const commandName = "SignalResourceCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: SignalResourceInputFilterSensitiveLog,
24
- outputFilterSensitiveLog: function (output) { return output; },
21
+ outputFilterSensitiveLog: (output) => output,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- SignalResourceCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_querySignalResourceCommand(input, context);
33
- };
34
- SignalResourceCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_querySignalResourceCommand(output, context);
36
- };
37
- return SignalResourceCommand;
38
- }($Command));
39
- export { SignalResourceCommand };
31
+ }
32
+ }