@aws-sdk/client-cloudformation 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 (103) hide show
  1. package/CHANGELOG.md +11 -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 +5 -5
@@ -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 { StopStackSetOperationInputFilterSensitiveLog, StopStackSetOperationOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryStopStackSetOperationCommand, serializeAws_queryStopStackSetOperationCommand, } from "../protocols/Aws_query";
5
- export class StopStackSetOperationCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var StopStackSetOperationCommand = (function (_super) {
7
+ __extends(StopStackSetOperationCommand, _super);
8
+ function StopStackSetOperationCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ StopStackSetOperationCommand.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 = "StopStackSetOperationCommand";
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 = "StopStackSetOperationCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: StopStackSetOperationInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: StopStackSetOperationOutputFilterSensitiveLog,
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
+ StopStackSetOperationCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryStopStackSetOperationCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ StopStackSetOperationCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryStopStackSetOperationCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return StopStackSetOperationCommand;
38
+ }($Command));
39
+ export { StopStackSetOperationCommand };
@@ -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 { TestTypeInputFilterSensitiveLog, TestTypeOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryTestTypeCommand, serializeAws_queryTestTypeCommand } from "../protocols/Aws_query";
5
- export class TestTypeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var TestTypeCommand = (function (_super) {
7
+ __extends(TestTypeCommand, _super);
8
+ function TestTypeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ TestTypeCommand.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 = "TestTypeCommand";
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 = "TestTypeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: TestTypeInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: TestTypeOutputFilterSensitiveLog,
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
+ TestTypeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryTestTypeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ TestTypeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryTestTypeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return TestTypeCommand;
38
+ }($Command));
39
+ export { TestTypeCommand };
@@ -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 { UpdateStackInputFilterSensitiveLog, UpdateStackOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryUpdateStackCommand, serializeAws_queryUpdateStackCommand } from "../protocols/Aws_query";
5
- export class UpdateStackCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateStackCommand = (function (_super) {
7
+ __extends(UpdateStackCommand, _super);
8
+ function UpdateStackCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateStackCommand.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 = "UpdateStackCommand";
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 = "UpdateStackCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateStackInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateStackOutputFilterSensitiveLog,
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
+ UpdateStackCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryUpdateStackCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateStackCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryUpdateStackCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateStackCommand;
38
+ }($Command));
39
+ export { UpdateStackCommand };
@@ -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 { UpdateStackInstancesInputFilterSensitiveLog, UpdateStackInstancesOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryUpdateStackInstancesCommand, serializeAws_queryUpdateStackInstancesCommand, } from "../protocols/Aws_query";
5
- export class UpdateStackInstancesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateStackInstancesCommand = (function (_super) {
7
+ __extends(UpdateStackInstancesCommand, _super);
8
+ function UpdateStackInstancesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateStackInstancesCommand.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 = "UpdateStackInstancesCommand";
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 = "UpdateStackInstancesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateStackInstancesInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateStackInstancesOutputFilterSensitiveLog,
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
+ UpdateStackInstancesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryUpdateStackInstancesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateStackInstancesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryUpdateStackInstancesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateStackInstancesCommand;
38
+ }($Command));
39
+ export { UpdateStackInstancesCommand };
@@ -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 { UpdateStackSetInputFilterSensitiveLog, UpdateStackSetOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryUpdateStackSetCommand, serializeAws_queryUpdateStackSetCommand, } from "../protocols/Aws_query";
5
- export class UpdateStackSetCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateStackSetCommand = (function (_super) {
7
+ __extends(UpdateStackSetCommand, _super);
8
+ function UpdateStackSetCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateStackSetCommand.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 = "UpdateStackSetCommand";
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 = "UpdateStackSetCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateStackSetInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateStackSetOutputFilterSensitiveLog,
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
+ UpdateStackSetCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryUpdateStackSetCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateStackSetCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryUpdateStackSetCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateStackSetCommand;
38
+ }($Command));
39
+ export { UpdateStackSetCommand };
@@ -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 { UpdateTerminationProtectionInputFilterSensitiveLog, UpdateTerminationProtectionOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryUpdateTerminationProtectionCommand, serializeAws_queryUpdateTerminationProtectionCommand, } from "../protocols/Aws_query";
5
- export class UpdateTerminationProtectionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateTerminationProtectionCommand = (function (_super) {
7
+ __extends(UpdateTerminationProtectionCommand, _super);
8
+ function UpdateTerminationProtectionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateTerminationProtectionCommand.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 = "UpdateTerminationProtectionCommand";
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 = "UpdateTerminationProtectionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateTerminationProtectionInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateTerminationProtectionOutputFilterSensitiveLog,
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
+ UpdateTerminationProtectionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryUpdateTerminationProtectionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateTerminationProtectionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryUpdateTerminationProtectionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateTerminationProtectionCommand;
38
+ }($Command));
39
+ export { UpdateTerminationProtectionCommand };
@@ -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 { ValidateTemplateInputFilterSensitiveLog, ValidateTemplateOutputFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryValidateTemplateCommand, serializeAws_queryValidateTemplateCommand, } from "../protocols/Aws_query";
5
- export class ValidateTemplateCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var ValidateTemplateCommand = (function (_super) {
7
+ __extends(ValidateTemplateCommand, _super);
8
+ function ValidateTemplateCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ ValidateTemplateCommand.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 = "ValidateTemplateCommand";
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 = "ValidateTemplateCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: ValidateTemplateInputFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: ValidateTemplateOutputFilterSensitiveLog,
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
+ ValidateTemplateCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryValidateTemplateCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ ValidateTemplateCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryValidateTemplateCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return ValidateTemplateCommand;
38
+ }($Command));
39
+ export { ValidateTemplateCommand };
@@ -1,5 +1,6 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
+ var regionHash = {
3
4
  "us-east-1": {
4
5
  variants: [
5
6
  {
@@ -51,7 +52,7 @@ const regionHash = {
51
52
  ],
52
53
  },
53
54
  };
54
- const partitionHash = {
55
+ var partitionHash = {
55
56
  aws: {
56
57
  regions: [
57
58
  "af-south-1",
@@ -175,9 +176,8 @@ const partitionHash = {
175
176
  ],
176
177
  },
177
178
  };
178
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
179
- ...options,
180
- signingService: "cloudformation",
181
- regionHash,
182
- partitionHash,
183
- });
179
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
180
+ return __generator(this, function (_a) {
181
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "cloudformation", regionHash: regionHash, partitionHash: partitionHash }))];
182
+ });
183
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class CloudFormationServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, CloudFormationServiceException.prototype);
3
+ var CloudFormationServiceException = (function (_super) {
4
+ __extends(CloudFormationServiceException, _super);
5
+ function CloudFormationServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, CloudFormationServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return CloudFormationServiceException;
11
+ }(__ServiceException));
12
+ export { CloudFormationServiceException };