@aws-sdk/client-cloudformation 3.183.0 → 3.186.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 +19 -0
  2. package/dist-cjs/protocols/Aws_query.js +2 -2
  3. package/dist-es/CloudFormation.js +273 -266
  4. package/dist-es/CloudFormationClient.js +28 -22
  5. package/dist-es/commands/ActivateTypeCommand.js +28 -21
  6. package/dist-es/commands/BatchDescribeTypeConfigurationsCommand.js +28 -21
  7. package/dist-es/commands/CancelUpdateStackCommand.js +29 -22
  8. package/dist-es/commands/ContinueUpdateRollbackCommand.js +28 -21
  9. package/dist-es/commands/CreateChangeSetCommand.js +28 -21
  10. package/dist-es/commands/CreateStackCommand.js +28 -21
  11. package/dist-es/commands/CreateStackInstancesCommand.js +28 -21
  12. package/dist-es/commands/CreateStackSetCommand.js +28 -21
  13. package/dist-es/commands/DeactivateTypeCommand.js +28 -21
  14. package/dist-es/commands/DeleteChangeSetCommand.js +28 -21
  15. package/dist-es/commands/DeleteStackCommand.js +29 -22
  16. package/dist-es/commands/DeleteStackInstancesCommand.js +28 -21
  17. package/dist-es/commands/DeleteStackSetCommand.js +28 -21
  18. package/dist-es/commands/DeregisterTypeCommand.js +28 -21
  19. package/dist-es/commands/DescribeAccountLimitsCommand.js +28 -21
  20. package/dist-es/commands/DescribeChangeSetCommand.js +28 -21
  21. package/dist-es/commands/DescribeChangeSetHooksCommand.js +28 -21
  22. package/dist-es/commands/DescribePublisherCommand.js +28 -21
  23. package/dist-es/commands/DescribeStackDriftDetectionStatusCommand.js +28 -21
  24. package/dist-es/commands/DescribeStackEventsCommand.js +28 -21
  25. package/dist-es/commands/DescribeStackInstanceCommand.js +28 -21
  26. package/dist-es/commands/DescribeStackResourceCommand.js +28 -21
  27. package/dist-es/commands/DescribeStackResourceDriftsCommand.js +28 -21
  28. package/dist-es/commands/DescribeStackResourcesCommand.js +28 -21
  29. package/dist-es/commands/DescribeStackSetCommand.js +28 -21
  30. package/dist-es/commands/DescribeStackSetOperationCommand.js +28 -21
  31. package/dist-es/commands/DescribeStacksCommand.js +28 -21
  32. package/dist-es/commands/DescribeTypeCommand.js +28 -21
  33. package/dist-es/commands/DescribeTypeRegistrationCommand.js +28 -21
  34. package/dist-es/commands/DetectStackDriftCommand.js +28 -21
  35. package/dist-es/commands/DetectStackResourceDriftCommand.js +28 -21
  36. package/dist-es/commands/DetectStackSetDriftCommand.js +28 -21
  37. package/dist-es/commands/EstimateTemplateCostCommand.js +28 -21
  38. package/dist-es/commands/ExecuteChangeSetCommand.js +28 -21
  39. package/dist-es/commands/GetStackPolicyCommand.js +28 -21
  40. package/dist-es/commands/GetTemplateCommand.js +28 -21
  41. package/dist-es/commands/GetTemplateSummaryCommand.js +28 -21
  42. package/dist-es/commands/ImportStacksToStackSetCommand.js +28 -21
  43. package/dist-es/commands/ListChangeSetsCommand.js +28 -21
  44. package/dist-es/commands/ListExportsCommand.js +28 -21
  45. package/dist-es/commands/ListImportsCommand.js +28 -21
  46. package/dist-es/commands/ListStackInstancesCommand.js +28 -21
  47. package/dist-es/commands/ListStackResourcesCommand.js +28 -21
  48. package/dist-es/commands/ListStackSetOperationResultsCommand.js +28 -21
  49. package/dist-es/commands/ListStackSetOperationsCommand.js +28 -21
  50. package/dist-es/commands/ListStackSetsCommand.js +28 -21
  51. package/dist-es/commands/ListStacksCommand.js +28 -21
  52. package/dist-es/commands/ListTypeRegistrationsCommand.js +28 -21
  53. package/dist-es/commands/ListTypeVersionsCommand.js +28 -21
  54. package/dist-es/commands/ListTypesCommand.js +28 -21
  55. package/dist-es/commands/PublishTypeCommand.js +28 -21
  56. package/dist-es/commands/RecordHandlerProgressCommand.js +28 -21
  57. package/dist-es/commands/RegisterPublisherCommand.js +28 -21
  58. package/dist-es/commands/RegisterTypeCommand.js +28 -21
  59. package/dist-es/commands/RollbackStackCommand.js +28 -21
  60. package/dist-es/commands/SetStackPolicyCommand.js +29 -22
  61. package/dist-es/commands/SetTypeConfigurationCommand.js +28 -21
  62. package/dist-es/commands/SetTypeDefaultVersionCommand.js +28 -21
  63. package/dist-es/commands/SignalResourceCommand.js +29 -22
  64. package/dist-es/commands/StopStackSetOperationCommand.js +28 -21
  65. package/dist-es/commands/TestTypeCommand.js +28 -21
  66. package/dist-es/commands/UpdateStackCommand.js +28 -21
  67. package/dist-es/commands/UpdateStackInstancesCommand.js +28 -21
  68. package/dist-es/commands/UpdateStackSetCommand.js +28 -21
  69. package/dist-es/commands/UpdateTerminationProtectionCommand.js +28 -21
  70. package/dist-es/commands/ValidateTemplateCommand.js +28 -21
  71. package/dist-es/endpoints.js +8 -8
  72. package/dist-es/models/CloudFormationServiceException.js +10 -5
  73. package/dist-es/models/models_0.js +450 -819
  74. package/dist-es/pagination/DescribeAccountLimitsPaginator.js +67 -24
  75. package/dist-es/pagination/DescribeStackEventsPaginator.js +67 -24
  76. package/dist-es/pagination/DescribeStackResourceDriftsPaginator.js +68 -25
  77. package/dist-es/pagination/DescribeStacksPaginator.js +67 -24
  78. package/dist-es/pagination/ListChangeSetsPaginator.js +67 -24
  79. package/dist-es/pagination/ListExportsPaginator.js +67 -24
  80. package/dist-es/pagination/ListImportsPaginator.js +67 -24
  81. package/dist-es/pagination/ListStackInstancesPaginator.js +68 -25
  82. package/dist-es/pagination/ListStackResourcesPaginator.js +67 -24
  83. package/dist-es/pagination/ListStackSetOperationResultsPaginator.js +68 -25
  84. package/dist-es/pagination/ListStackSetOperationsPaginator.js +68 -25
  85. package/dist-es/pagination/ListStackSetsPaginator.js +68 -25
  86. package/dist-es/pagination/ListStacksPaginator.js +67 -24
  87. package/dist-es/pagination/ListTypeRegistrationsPaginator.js +68 -25
  88. package/dist-es/pagination/ListTypeVersionsPaginator.js +68 -25
  89. package/dist-es/pagination/ListTypesPaginator.js +68 -25
  90. package/dist-es/protocols/Aws_query.js +5470 -4132
  91. package/dist-es/runtimeConfig.browser.js +12 -26
  92. package/dist-es/runtimeConfig.js +12 -30
  93. package/dist-es/runtimeConfig.native.js +5 -8
  94. package/dist-es/runtimeConfig.shared.js +11 -8
  95. package/dist-es/waiters/waitForChangeSetCreateComplete.js +59 -39
  96. package/dist-es/waiters/waitForStackCreateComplete.js +189 -108
  97. package/dist-es/waiters/waitForStackDeleteComplete.js +213 -122
  98. package/dist-es/waiters/waitForStackExists.js +42 -23
  99. package/dist-es/waiters/waitForStackImportComplete.js +189 -108
  100. package/dist-es/waiters/waitForStackRollbackComplete.js +141 -80
  101. package/dist-es/waiters/waitForStackUpdateComplete.js +141 -80
  102. package/dist-es/waiters/waitForTypeRegistrationComplete.js +56 -36
  103. package/package.json +34 -34
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DetectStackDriftInputFilterSensitiveLog, DetectStackDriftOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDetectStackDriftCommand, serializeAws_queryDetectStackDriftCommand, } from "../protocols/Aws_query";
5
- export class DetectStackDriftCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DetectStackDriftCommand = (function (_super) {
7
+ __extends(DetectStackDriftCommand, _super);
8
+ function DetectStackDriftCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DetectStackDriftCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudFormationClient";
15
- const commandName = "DetectStackDriftCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudFormationClient";
18
+ var commandName = "DetectStackDriftCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DetectStackDriftInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DetectStackDriftOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DetectStackDriftCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDetectStackDriftCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DetectStackDriftCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDetectStackDriftCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DetectStackDriftCommand;
38
+ }($Command));
39
+ export { DetectStackDriftCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DetectStackResourceDriftInputFilterSensitiveLog, DetectStackResourceDriftOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDetectStackResourceDriftCommand, serializeAws_queryDetectStackResourceDriftCommand, } from "../protocols/Aws_query";
5
- export class DetectStackResourceDriftCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DetectStackResourceDriftCommand = (function (_super) {
7
+ __extends(DetectStackResourceDriftCommand, _super);
8
+ function DetectStackResourceDriftCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DetectStackResourceDriftCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudFormationClient";
15
- const commandName = "DetectStackResourceDriftCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudFormationClient";
18
+ var commandName = "DetectStackResourceDriftCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DetectStackResourceDriftInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DetectStackResourceDriftOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DetectStackResourceDriftCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDetectStackResourceDriftCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DetectStackResourceDriftCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDetectStackResourceDriftCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DetectStackResourceDriftCommand;
38
+ }($Command));
39
+ export { DetectStackResourceDriftCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DetectStackSetDriftInputFilterSensitiveLog, DetectStackSetDriftOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDetectStackSetDriftCommand, serializeAws_queryDetectStackSetDriftCommand, } from "../protocols/Aws_query";
5
- export class DetectStackSetDriftCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DetectStackSetDriftCommand = (function (_super) {
7
+ __extends(DetectStackSetDriftCommand, _super);
8
+ function DetectStackSetDriftCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DetectStackSetDriftCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudFormationClient";
15
- const commandName = "DetectStackSetDriftCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudFormationClient";
18
+ var commandName = "DetectStackSetDriftCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DetectStackSetDriftInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DetectStackSetDriftOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DetectStackSetDriftCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDetectStackSetDriftCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DetectStackSetDriftCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDetectStackSetDriftCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DetectStackSetDriftCommand;
38
+ }($Command));
39
+ export { DetectStackSetDriftCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { EstimateTemplateCostInputFilterSensitiveLog, EstimateTemplateCostOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryEstimateTemplateCostCommand, serializeAws_queryEstimateTemplateCostCommand, } from "../protocols/Aws_query";
5
- export class EstimateTemplateCostCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var EstimateTemplateCostCommand = (function (_super) {
7
+ __extends(EstimateTemplateCostCommand, _super);
8
+ function EstimateTemplateCostCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ EstimateTemplateCostCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudFormationClient";
15
- const commandName = "EstimateTemplateCostCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudFormationClient";
18
+ var commandName = "EstimateTemplateCostCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: EstimateTemplateCostInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: EstimateTemplateCostOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ EstimateTemplateCostCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryEstimateTemplateCostCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ EstimateTemplateCostCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryEstimateTemplateCostCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return EstimateTemplateCostCommand;
38
+ }($Command));
39
+ export { EstimateTemplateCostCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ExecuteChangeSetInputFilterSensitiveLog, ExecuteChangeSetOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryExecuteChangeSetCommand, serializeAws_queryExecuteChangeSetCommand, } from "../protocols/Aws_query";
5
- export class ExecuteChangeSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ExecuteChangeSetCommand = (function (_super) {
7
+ __extends(ExecuteChangeSetCommand, _super);
8
+ function ExecuteChangeSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ExecuteChangeSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudFormationClient";
15
- const commandName = "ExecuteChangeSetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudFormationClient";
18
+ var commandName = "ExecuteChangeSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ExecuteChangeSetInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ExecuteChangeSetOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ExecuteChangeSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryExecuteChangeSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ExecuteChangeSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryExecuteChangeSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ExecuteChangeSetCommand;
38
+ }($Command));
39
+ export { ExecuteChangeSetCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetStackPolicyInputFilterSensitiveLog, GetStackPolicyOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryGetStackPolicyCommand, serializeAws_queryGetStackPolicyCommand, } from "../protocols/Aws_query";
5
- export class GetStackPolicyCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetStackPolicyCommand = (function (_super) {
7
+ __extends(GetStackPolicyCommand, _super);
8
+ function GetStackPolicyCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetStackPolicyCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudFormationClient";
15
- const commandName = "GetStackPolicyCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudFormationClient";
18
+ var commandName = "GetStackPolicyCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetStackPolicyInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetStackPolicyOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetStackPolicyCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryGetStackPolicyCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetStackPolicyCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryGetStackPolicyCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetStackPolicyCommand;
38
+ }($Command));
39
+ export { GetStackPolicyCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetTemplateInputFilterSensitiveLog, GetTemplateOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryGetTemplateCommand, serializeAws_queryGetTemplateCommand } from "../protocols/Aws_query";
5
- export class GetTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTemplateCommand = (function (_super) {
7
+ __extends(GetTemplateCommand, _super);
8
+ function GetTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTemplateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudFormationClient";
15
- const commandName = "GetTemplateCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudFormationClient";
18
+ var commandName = "GetTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTemplateInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTemplateOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryGetTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryGetTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTemplateCommand;
38
+ }($Command));
39
+ export { GetTemplateCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { GetTemplateSummaryInputFilterSensitiveLog, GetTemplateSummaryOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryGetTemplateSummaryCommand, serializeAws_queryGetTemplateSummaryCommand, } from "../protocols/Aws_query";
5
- export class GetTemplateSummaryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var GetTemplateSummaryCommand = (function (_super) {
7
+ __extends(GetTemplateSummaryCommand, _super);
8
+ function GetTemplateSummaryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ GetTemplateSummaryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudFormationClient";
15
- const commandName = "GetTemplateSummaryCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudFormationClient";
18
+ var commandName = "GetTemplateSummaryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: GetTemplateSummaryInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: GetTemplateSummaryOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ GetTemplateSummaryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryGetTemplateSummaryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ GetTemplateSummaryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryGetTemplateSummaryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return GetTemplateSummaryCommand;
38
+ }($Command));
39
+ export { GetTemplateSummaryCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ImportStacksToStackSetInputFilterSensitiveLog, ImportStacksToStackSetOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryImportStacksToStackSetCommand, serializeAws_queryImportStacksToStackSetCommand, } from "../protocols/Aws_query";
5
- export class ImportStacksToStackSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ImportStacksToStackSetCommand = (function (_super) {
7
+ __extends(ImportStacksToStackSetCommand, _super);
8
+ function ImportStacksToStackSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ImportStacksToStackSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudFormationClient";
15
- const commandName = "ImportStacksToStackSetCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudFormationClient";
18
+ var commandName = "ImportStacksToStackSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ImportStacksToStackSetInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ImportStacksToStackSetOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ImportStacksToStackSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryImportStacksToStackSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ImportStacksToStackSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryImportStacksToStackSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ImportStacksToStackSetCommand;
38
+ }($Command));
39
+ export { ImportStacksToStackSetCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { ListChangeSetsInputFilterSensitiveLog, ListChangeSetsOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryListChangeSetsCommand, serializeAws_queryListChangeSetsCommand, } from "../protocols/Aws_query";
5
- export class ListChangeSetsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ListChangeSetsCommand = (function (_super) {
7
+ __extends(ListChangeSetsCommand, _super);
8
+ function ListChangeSetsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ListChangeSetsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "CloudFormationClient";
15
- const commandName = "ListChangeSetsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudFormationClient";
18
+ var commandName = "ListChangeSetsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ListChangeSetsInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ListChangeSetsOutputFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ ListChangeSetsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryListChangeSetsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ListChangeSetsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryListChangeSetsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ListChangeSetsCommand;
38
+ }($Command));
39
+ export { ListChangeSetsCommand };