@aws-sdk/client-cloudformation 3.48.0 → 3.52.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 (69) hide show
  1. package/CHANGELOG.md +35 -0
  2. package/README.md +10 -10
  3. package/dist-cjs/CloudFormation.js +15 -0
  4. package/dist-cjs/commands/DescribeChangeSetHooksCommand.js +36 -0
  5. package/dist-cjs/commands/index.js +1 -0
  6. package/dist-cjs/models/models_0.js +65 -5
  7. package/dist-cjs/protocols/Aws_query.js +208 -3
  8. package/dist-es/CloudFormation.js +15 -0
  9. package/dist-es/commands/DescribeChangeSetHooksCommand.js +39 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/models/models_0.js +50 -0
  12. package/dist-es/protocols/Aws_query.js +211 -0
  13. package/dist-types/CloudFormation.d.ts +134 -130
  14. package/dist-types/CloudFormationClient.d.ts +13 -12
  15. package/dist-types/commands/ActivateTypeCommand.d.ts +1 -2
  16. package/dist-types/commands/BatchDescribeTypeConfigurationsCommand.d.ts +2 -2
  17. package/dist-types/commands/CancelUpdateStackCommand.d.ts +2 -1
  18. package/dist-types/commands/ContinueUpdateRollbackCommand.d.ts +8 -8
  19. package/dist-types/commands/CreateChangeSetCommand.d.ts +6 -7
  20. package/dist-types/commands/CreateStackCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateStackInstancesCommand.d.ts +4 -4
  22. package/dist-types/commands/DeactivateTypeCommand.d.ts +3 -3
  23. package/dist-types/commands/DeleteChangeSetCommand.d.ts +2 -2
  24. package/dist-types/commands/DeleteStackCommand.d.ts +2 -2
  25. package/dist-types/commands/DeleteStackInstancesCommand.d.ts +1 -1
  26. package/dist-types/commands/DeregisterTypeCommand.d.ts +3 -3
  27. package/dist-types/commands/DescribeAccountLimitsCommand.d.ts +3 -3
  28. package/dist-types/commands/DescribeChangeSetCommand.d.ts +2 -3
  29. package/dist-types/commands/DescribeChangeSetHooksCommand.d.ts +35 -0
  30. package/dist-types/commands/DescribePublisherCommand.d.ts +3 -4
  31. package/dist-types/commands/DescribeStackEventsCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeStackResourceDriftsCommand.d.ts +2 -2
  33. package/dist-types/commands/DescribeStackSetCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeStackSetOperationCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeStacksCommand.d.ts +1 -1
  36. package/dist-types/commands/DetectStackDriftCommand.d.ts +1 -1
  37. package/dist-types/commands/DetectStackResourceDriftCommand.d.ts +1 -1
  38. package/dist-types/commands/DetectStackSetDriftCommand.d.ts +7 -6
  39. package/dist-types/commands/ExecuteChangeSetCommand.d.ts +7 -7
  40. package/dist-types/commands/GetTemplateCommand.d.ts +3 -3
  41. package/dist-types/commands/GetTemplateSummaryCommand.d.ts +1 -1
  42. package/dist-types/commands/ImportStacksToStackSetCommand.d.ts +9 -6
  43. package/dist-types/commands/ListExportsCommand.d.ts +1 -1
  44. package/dist-types/commands/ListStackSetOperationResultsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListStackSetOperationsCommand.d.ts +1 -1
  46. package/dist-types/commands/ListStackSetsCommand.d.ts +2 -3
  47. package/dist-types/commands/PublishTypeCommand.d.ts +4 -6
  48. package/dist-types/commands/RecordHandlerProgressCommand.d.ts +1 -1
  49. package/dist-types/commands/RegisterPublisherCommand.d.ts +4 -4
  50. package/dist-types/commands/RegisterTypeCommand.d.ts +5 -6
  51. package/dist-types/commands/RollbackStackCommand.d.ts +1 -1
  52. package/dist-types/commands/SetTypeConfigurationCommand.d.ts +3 -3
  53. package/dist-types/commands/SignalResourceCommand.d.ts +2 -2
  54. package/dist-types/commands/StopStackSetOperationCommand.d.ts +1 -1
  55. package/dist-types/commands/TestTypeCommand.d.ts +4 -5
  56. package/dist-types/commands/UpdateStackCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateStackInstancesCommand.d.ts +6 -5
  58. package/dist-types/commands/UpdateStackSetCommand.d.ts +1 -1
  59. package/dist-types/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  60. package/dist-types/commands/index.d.ts +1 -0
  61. package/dist-types/models/models_0.d.ts +1009 -733
  62. package/dist-types/protocols/Aws_query.d.ts +3 -0
  63. package/dist-types/ts3.4/CloudFormation.d.ts +5 -0
  64. package/dist-types/ts3.4/CloudFormationClient.d.ts +3 -2
  65. package/dist-types/ts3.4/commands/DescribeChangeSetHooksCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  67. package/dist-types/ts3.4/models/models_0.d.ts +116 -2
  68. package/dist-types/ts3.4/protocols/Aws_query.d.ts +3 -0
  69. package/package.json +41 -35
package/CHANGELOG.md CHANGED
@@ -3,6 +3,41 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
7
+
8
+
9
+ ### Features
10
+
11
+ * **clients:** update clients as of 2022/02/18 ([#3335](https://github.com/aws/aws-sdk-js-v3/issues/3335)) ([717b06f](https://github.com/aws/aws-sdk-js-v3/commit/717b06fc43e9876a6f8040147b75ad5da38b1e0f))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-cloudformation
20
+
21
+
22
+
23
+
24
+
25
+ # [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/client-cloudformation
28
+
29
+
30
+
31
+
32
+
33
+ # [3.49.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.48.0...v3.49.0) (2022-01-29)
34
+
35
+ **Note:** Version bump only for package @aws-sdk/client-cloudformation
36
+
37
+
38
+
39
+
40
+
6
41
  # [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
7
42
 
8
43
  **Note:** Version bump only for package @aws-sdk/client-cloudformation
package/README.md CHANGED
@@ -7,19 +7,19 @@
7
7
 
8
8
  AWS SDK for JavaScript CloudFormation Client for Node.js, Browser and React Native.
9
9
 
10
- <fullname>AWS CloudFormation</fullname>
10
+ <fullname>CloudFormation</fullname>
11
11
 
12
12
  <p>CloudFormation allows you to create and manage Amazon Web Services infrastructure
13
13
  deployments predictably and repeatedly. You can use CloudFormation to leverage
14
- Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block
15
- Store, Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to
16
- build highly-reliable, highly scalable, cost-effective applications without creating or
17
- configuring the underlying Amazon Web Services infrastructure.</p>
18
- <p>With CloudFormation, you declare all of your resources and dependencies in a
19
- template file. The template defines a collection of resources as a single unit called a
20
- stack. CloudFormation creates and deletes all member resources of the stack
21
- together and manages all dependencies between the resources for you.</p>
22
- <p>For more information about CloudFormation, see the <a href="http://aws.amazon.com/cloudformation/">CloudFormation Product Page</a>.</p>
14
+ Amazon Web Services products, such as Amazon Elastic Compute Cloud, Amazon Elastic Block Store,
15
+ Amazon Simple Notification Service, Elastic Load Balancing, and Auto Scaling to build highly
16
+ reliable, highly scalable, cost-effective applications without creating or configuring the
17
+ underlying Amazon Web Services infrastructure.</p>
18
+ <p>With CloudFormation, you declare all your resources and dependencies in a template
19
+ file. The template defines a collection of resources as a single unit called a stack.
20
+ CloudFormation creates and deletes all member resources of the stack together and
21
+ manages all dependencies between the resources for you.</p>
22
+ <p>For more information about CloudFormation, see the <a href="http://aws.amazon.com/cloudformation/">CloudFormation product page</a>.</p>
23
23
  <p>CloudFormation makes use of other Amazon Web Services products. If you need
24
24
  additional technical information about a specific Amazon Web Services product, you can find
25
25
  the product's technical documentation at <a href="https://docs.aws.amazon.com/">
@@ -18,6 +18,7 @@ const DeleteStackSetCommand_1 = require("./commands/DeleteStackSetCommand");
18
18
  const DeregisterTypeCommand_1 = require("./commands/DeregisterTypeCommand");
19
19
  const DescribeAccountLimitsCommand_1 = require("./commands/DescribeAccountLimitsCommand");
20
20
  const DescribeChangeSetCommand_1 = require("./commands/DescribeChangeSetCommand");
21
+ const DescribeChangeSetHooksCommand_1 = require("./commands/DescribeChangeSetHooksCommand");
21
22
  const DescribePublisherCommand_1 = require("./commands/DescribePublisherCommand");
22
23
  const DescribeStackDriftDetectionStatusCommand_1 = require("./commands/DescribeStackDriftDetectionStatusCommand");
23
24
  const DescribeStackEventsCommand_1 = require("./commands/DescribeStackEventsCommand");
@@ -292,6 +293,20 @@ class CloudFormation extends CloudFormationClient_1.CloudFormationClient {
292
293
  return this.send(command, optionsOrCb);
293
294
  }
294
295
  }
296
+ describeChangeSetHooks(args, optionsOrCb, cb) {
297
+ const command = new DescribeChangeSetHooksCommand_1.DescribeChangeSetHooksCommand(args);
298
+ if (typeof optionsOrCb === "function") {
299
+ this.send(command, optionsOrCb);
300
+ }
301
+ else if (typeof cb === "function") {
302
+ if (typeof optionsOrCb !== "object")
303
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
304
+ this.send(command, optionsOrCb || {}, cb);
305
+ }
306
+ else {
307
+ return this.send(command, optionsOrCb);
308
+ }
309
+ }
295
310
  describePublisher(args, optionsOrCb, cb) {
296
311
  const command = new DescribePublisherCommand_1.DescribePublisherCommand(args);
297
312
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeChangeSetHooksCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_query_1 = require("../protocols/Aws_query");
8
+ class DescribeChangeSetHooksCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "CloudFormationClient";
18
+ const commandName = "DescribeChangeSetHooksCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeChangeSetHooksInput.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeChangeSetHooksOutput.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_query_1.serializeAws_queryDescribeChangeSetHooksCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_query_1.deserializeAws_queryDescribeChangeSetHooksCommand(output, context);
34
+ }
35
+ }
36
+ exports.DescribeChangeSetHooksCommand = DescribeChangeSetHooksCommand;
@@ -17,6 +17,7 @@ tslib_1.__exportStar(require("./DeleteStackSetCommand"), exports);
17
17
  tslib_1.__exportStar(require("./DeregisterTypeCommand"), exports);
18
18
  tslib_1.__exportStar(require("./DescribeAccountLimitsCommand"), exports);
19
19
  tslib_1.__exportStar(require("./DescribeChangeSetCommand"), exports);
20
+ tslib_1.__exportStar(require("./DescribeChangeSetHooksCommand"), exports);
20
21
  tslib_1.__exportStar(require("./DescribePublisherCommand"), exports);
21
22
  tslib_1.__exportStar(require("./DescribeStackDriftDetectionStatusCommand"), exports);
22
23
  tslib_1.__exportStar(require("./DescribeStackEventsCommand"), exports);
@@ -1,10 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateStackInstancesOutput = exports.CreateStackInstancesInput = exports.StackSetOperationPreferences = exports.RegionConcurrencyType = exports.DeploymentTargets = exports.CreateStackOutput = exports.CreateStackInput = exports.OnFailure = exports.CreateChangeSetOutput = exports.CreateChangeSetInput = exports.Tag = exports.RollbackConfiguration = exports.RollbackTrigger = exports.ResourceToImport = exports.Parameter = exports.ContinueUpdateRollbackOutput = exports.ContinueUpdateRollbackInput = exports.ChangeSetType = exports.ChangeSetSummary = exports.ExecutionStatus = exports.ChangeSetStatus = exports.Change = exports.ChangeType = exports.ResourceChange = exports.Replacement = exports.ModuleInfo = exports.ResourceChangeDetail = exports.ResourceTargetDefinition = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeSource = exports.ChangeAction = exports.Category = exports.Capability = exports.CancelUpdateStackInput = exports.CallAs = exports.BatchDescribeTypeConfigurationsOutput = exports.TypeConfigurationDetails = exports.BatchDescribeTypeConfigurationsError = exports.BatchDescribeTypeConfigurationsInput = exports.TypeConfigurationIdentifier = exports.AutoDeployment = exports.ActivateTypeOutput = exports.ActivateTypeInput = exports.VersionBump = exports.ThirdPartyType = exports.LoggingConfig = exports.AccountLimit = exports.AccountGateResult = void 0;
4
- exports.StackDriftInformation = exports.DescribeStacksInput = exports.DescribeStackResourcesOutput = exports.StackResource = exports.DescribeStackResourcesInput = exports.DescribeStackResourceDriftsOutput = exports.StackResourceDrift = exports.PropertyDifference = exports.DifferenceType = exports.PhysicalResourceIdContextKeyValuePair = exports.DescribeStackResourceDriftsInput = exports.DescribeStackResourceOutput = exports.StackResourceDetail = exports.StackResourceDriftInformation = exports.StackResourceDriftStatus = exports.DescribeStackResourceInput = exports.DescribeStackInstanceOutput = exports.StackInstance = exports.StackInstanceComprehensiveStatus = exports.DescribeStackInstanceInput = exports.DescribeStackEventsOutput = exports.StackEvent = exports.ResourceStatus = exports.DescribeStackEventsInput = exports.DescribeStackDriftDetectionStatusOutput = exports.StackDriftStatus = exports.StackDriftDetectionStatus = exports.DescribeStackDriftDetectionStatusInput = exports.DescribePublisherOutput = exports.PublisherStatus = exports.IdentityProvider = exports.DescribePublisherInput = exports.DescribeChangeSetOutput = exports.DescribeChangeSetInput = exports.DescribeAccountLimitsOutput = exports.DescribeAccountLimitsInput = exports.DeregisterTypeOutput = exports.DeregisterTypeInput = exports.DeleteStackSetOutput = exports.DeleteStackSetInput = exports.DeleteStackInstancesOutput = exports.DeleteStackInstancesInput = exports.DeleteStackInput = exports.DeleteChangeSetOutput = exports.DeleteChangeSetInput = exports.DeactivateTypeOutput = exports.DeactivateTypeInput = exports.CreateStackSetOutput = exports.CreateStackSetInput = exports.ManagedExecution = void 0;
5
- exports.ListStackInstancesInput = exports.StackInstanceFilter = exports.ListImportsOutput = exports.ListImportsInput = exports.ListExportsOutput = exports.Export = exports.ListExportsInput = exports.ListChangeSetsOutput = exports.ListChangeSetsInput = exports.ImportStacksToStackSetOutput = exports.ImportStacksToStackSetInput = exports.GetTemplateSummaryOutput = exports.ResourceIdentifierSummary = exports.ParameterDeclaration = exports.ParameterConstraints = exports.GetTemplateSummaryInput = exports.GetTemplateOutput = exports.GetTemplateInput = exports.TemplateStage = exports.GetStackPolicyOutput = exports.GetStackPolicyInput = exports.ExecuteChangeSetOutput = exports.ExecuteChangeSetInput = exports.EstimateTemplateCostOutput = exports.EstimateTemplateCostInput = exports.DetectStackSetDriftOutput = exports.DetectStackSetDriftInput = exports.DetectStackResourceDriftOutput = exports.DetectStackResourceDriftInput = exports.DetectStackDriftOutput = exports.DetectStackDriftInput = exports.DescribeTypeRegistrationOutput = exports.DescribeTypeRegistrationInput = exports.DescribeTypeOutput = exports.TypeTestsStatus = exports.RequiredActivatedType = exports.DescribeTypeInput = exports.DescribeStackSetOperationOutput = exports.StackSetOperation = exports.DescribeStackSetOperationInput = exports.DescribeStackSetOutput = exports.StackSet = exports.StackSetDriftDetectionDetails = exports.StackSetDriftStatus = exports.StackSetDriftDetectionStatus = exports.DescribeStackSetInput = exports.DescribeStacksOutput = exports.Stack = exports.StackStatus = exports.Output = void 0;
6
- exports.TestTypeInput = exports.StopStackSetOperationOutput = exports.StopStackSetOperationInput = exports.SignalResourceInput = exports.ResourceSignalStatus = exports.SetTypeDefaultVersionOutput = exports.SetTypeDefaultVersionInput = exports.SetTypeConfigurationOutput = exports.SetTypeConfigurationInput = exports.SetStackPolicyInput = exports.RollbackStackOutput = exports.RollbackStackInput = exports.RegisterTypeOutput = exports.RegisterTypeInput = exports.RegisterPublisherOutput = exports.RegisterPublisherInput = exports.RecordHandlerProgressOutput = exports.RecordHandlerProgressInput = exports.HandlerErrorCode = exports.OperationStatus = exports.PublishTypeOutput = exports.PublishTypeInput = exports.ListTypeVersionsOutput = exports.TypeVersionSummary = exports.ListTypeVersionsInput = exports.ListTypesOutput = exports.TypeSummary = exports.ListTypesInput = exports.TypeFilters = exports.ListTypeRegistrationsOutput = exports.ListTypeRegistrationsInput = exports.ListStackSetsOutput = exports.StackSetSummary = exports.ListStackSetsInput = exports.ListStackSetOperationsOutput = exports.StackSetOperationSummary = exports.ListStackSetOperationsInput = exports.ListStackSetOperationResultsOutput = exports.StackSetOperationResultSummary = exports.ListStackSetOperationResultsInput = exports.ListStacksOutput = exports.StackSummary = exports.StackDriftInformationSummary = exports.ListStacksInput = exports.ListStackResourcesOutput = exports.StackResourceSummary = exports.StackResourceDriftInformationSummary = exports.ListStackResourcesInput = exports.ListStackInstancesOutput = exports.StackInstanceSummary = void 0;
7
- exports.ValidateTemplateOutput = exports.TemplateParameter = exports.ValidateTemplateInput = exports.UpdateTerminationProtectionOutput = exports.UpdateTerminationProtectionInput = exports.UpdateStackSetOutput = exports.UpdateStackSetInput = exports.UpdateStackInstancesOutput = exports.UpdateStackInstancesInput = exports.UpdateStackOutput = exports.UpdateStackInput = exports.TestTypeOutput = void 0;
3
+ exports.OnFailure = exports.CreateChangeSetOutput = exports.CreateChangeSetInput = exports.Tag = exports.RollbackConfiguration = exports.RollbackTrigger = exports.ResourceToImport = exports.Parameter = exports.ContinueUpdateRollbackOutput = exports.ContinueUpdateRollbackInput = exports.ChangeSetType = exports.ChangeSetSummary = exports.ExecutionStatus = exports.ChangeSetStatus = exports.ChangeSetHooksStatus = exports.ChangeSetHook = exports.ChangeSetHookTargetDetails = exports.HookTargetType = exports.ChangeSetHookResourceTargetDetails = exports.HookInvocationPoint = exports.HookFailureMode = exports.Change = exports.ChangeType = exports.ResourceChange = exports.Replacement = exports.ModuleInfo = exports.ResourceChangeDetail = exports.ResourceTargetDefinition = exports.RequiresRecreation = exports.ResourceAttribute = exports.EvaluationType = exports.ChangeSource = exports.ChangeAction = exports.Category = exports.Capability = exports.CancelUpdateStackInput = exports.CallAs = exports.BatchDescribeTypeConfigurationsOutput = exports.TypeConfigurationDetails = exports.BatchDescribeTypeConfigurationsError = exports.BatchDescribeTypeConfigurationsInput = exports.TypeConfigurationIdentifier = exports.AutoDeployment = exports.ActivateTypeOutput = exports.ActivateTypeInput = exports.VersionBump = exports.ThirdPartyType = exports.LoggingConfig = exports.AccountLimit = exports.AccountGateResult = void 0;
4
+ exports.DescribeStackResourceDriftsInput = exports.DescribeStackResourceOutput = exports.StackResourceDetail = exports.StackResourceDriftInformation = exports.StackResourceDriftStatus = exports.DescribeStackResourceInput = exports.DescribeStackInstanceOutput = exports.StackInstance = exports.StackInstanceComprehensiveStatus = exports.DescribeStackInstanceInput = exports.DescribeStackEventsOutput = exports.StackEvent = exports.ResourceStatus = exports.HookStatus = exports.DescribeStackEventsInput = exports.DescribeStackDriftDetectionStatusOutput = exports.StackDriftStatus = exports.StackDriftDetectionStatus = exports.DescribeStackDriftDetectionStatusInput = exports.DescribePublisherOutput = exports.PublisherStatus = exports.IdentityProvider = exports.DescribePublisherInput = exports.DescribeChangeSetHooksOutput = exports.DescribeChangeSetHooksInput = exports.DescribeChangeSetOutput = exports.DescribeChangeSetInput = exports.DescribeAccountLimitsOutput = exports.DescribeAccountLimitsInput = exports.DeregisterTypeOutput = exports.DeregisterTypeInput = exports.DeleteStackSetOutput = exports.DeleteStackSetInput = exports.DeleteStackInstancesOutput = exports.DeleteStackInstancesInput = exports.DeleteStackInput = exports.DeleteChangeSetOutput = exports.DeleteChangeSetInput = exports.DeactivateTypeOutput = exports.DeactivateTypeInput = exports.CreateStackSetOutput = exports.CreateStackSetInput = exports.ManagedExecution = exports.CreateStackInstancesOutput = exports.CreateStackInstancesInput = exports.StackSetOperationPreferences = exports.RegionConcurrencyType = exports.DeploymentTargets = exports.CreateStackOutput = exports.CreateStackInput = void 0;
5
+ exports.ImportStacksToStackSetInput = exports.GetTemplateSummaryOutput = exports.ResourceIdentifierSummary = exports.ParameterDeclaration = exports.ParameterConstraints = exports.GetTemplateSummaryInput = exports.GetTemplateOutput = exports.GetTemplateInput = exports.TemplateStage = exports.GetStackPolicyOutput = exports.GetStackPolicyInput = exports.ExecuteChangeSetOutput = exports.ExecuteChangeSetInput = exports.EstimateTemplateCostOutput = exports.EstimateTemplateCostInput = exports.DetectStackSetDriftOutput = exports.DetectStackSetDriftInput = exports.DetectStackResourceDriftOutput = exports.DetectStackResourceDriftInput = exports.DetectStackDriftOutput = exports.DetectStackDriftInput = exports.DescribeTypeRegistrationOutput = exports.DescribeTypeRegistrationInput = exports.DescribeTypeOutput = exports.TypeTestsStatus = exports.RequiredActivatedType = exports.DescribeTypeInput = exports.DescribeStackSetOperationOutput = exports.StackSetOperation = exports.DescribeStackSetOperationInput = exports.DescribeStackSetOutput = exports.StackSet = exports.StackSetDriftDetectionDetails = exports.StackSetDriftStatus = exports.StackSetDriftDetectionStatus = exports.DescribeStackSetInput = exports.DescribeStacksOutput = exports.Stack = exports.StackStatus = exports.Output = exports.StackDriftInformation = exports.DescribeStacksInput = exports.DescribeStackResourcesOutput = exports.StackResource = exports.DescribeStackResourcesInput = exports.DescribeStackResourceDriftsOutput = exports.StackResourceDrift = exports.PropertyDifference = exports.DifferenceType = exports.PhysicalResourceIdContextKeyValuePair = void 0;
6
+ exports.RollbackStackOutput = exports.RollbackStackInput = exports.RegisterTypeOutput = exports.RegisterTypeInput = exports.RegisterPublisherOutput = exports.RegisterPublisherInput = exports.RecordHandlerProgressOutput = exports.RecordHandlerProgressInput = exports.HandlerErrorCode = exports.OperationStatus = exports.PublishTypeOutput = exports.PublishTypeInput = exports.ListTypeVersionsOutput = exports.TypeVersionSummary = exports.ListTypeVersionsInput = exports.ListTypesOutput = exports.TypeSummary = exports.ListTypesInput = exports.TypeFilters = exports.ListTypeRegistrationsOutput = exports.ListTypeRegistrationsInput = exports.ListStackSetsOutput = exports.StackSetSummary = exports.ListStackSetsInput = exports.ListStackSetOperationsOutput = exports.StackSetOperationSummary = exports.ListStackSetOperationsInput = exports.ListStackSetOperationResultsOutput = exports.StackSetOperationResultSummary = exports.ListStackSetOperationResultsInput = exports.ListStacksOutput = exports.StackSummary = exports.StackDriftInformationSummary = exports.ListStacksInput = exports.ListStackResourcesOutput = exports.StackResourceSummary = exports.StackResourceDriftInformationSummary = exports.ListStackResourcesInput = exports.ListStackInstancesOutput = exports.StackInstanceSummary = exports.ListStackInstancesInput = exports.StackInstanceFilter = exports.ListImportsOutput = exports.ListImportsInput = exports.ListExportsOutput = exports.Export = exports.ListExportsInput = exports.ListChangeSetsOutput = exports.ListChangeSetsInput = exports.ImportStacksToStackSetOutput = void 0;
7
+ exports.ValidateTemplateOutput = exports.TemplateParameter = exports.ValidateTemplateInput = exports.UpdateTerminationProtectionOutput = exports.UpdateTerminationProtectionInput = exports.UpdateStackSetOutput = exports.UpdateStackSetInput = exports.UpdateStackInstancesOutput = exports.UpdateStackInstancesInput = exports.UpdateStackOutput = exports.UpdateStackInput = exports.TestTypeOutput = exports.TestTypeInput = exports.StopStackSetOperationOutput = exports.StopStackSetOperationInput = exports.SignalResourceInput = exports.ResourceSignalStatus = exports.SetTypeDefaultVersionOutput = exports.SetTypeDefaultVersionInput = exports.SetTypeConfigurationOutput = exports.SetTypeConfigurationInput = exports.SetStackPolicyInput = void 0;
8
8
  var AccountGateResult;
9
9
  (function (AccountGateResult) {
10
10
  AccountGateResult.filterSensitiveLog = (obj) => ({
@@ -25,6 +25,7 @@ var LoggingConfig;
25
25
  })(LoggingConfig = exports.LoggingConfig || (exports.LoggingConfig = {}));
26
26
  var ThirdPartyType;
27
27
  (function (ThirdPartyType) {
28
+ ThirdPartyType["HOOK"] = "HOOK";
28
29
  ThirdPartyType["MODULE"] = "MODULE";
29
30
  ThirdPartyType["RESOURCE"] = "RESOURCE";
30
31
  })(ThirdPartyType = exports.ThirdPartyType || (exports.ThirdPartyType = {}));
@@ -181,6 +182,43 @@ var Change;
181
182
  ...obj,
182
183
  });
183
184
  })(Change = exports.Change || (exports.Change = {}));
185
+ var HookFailureMode;
186
+ (function (HookFailureMode) {
187
+ HookFailureMode["FAIL"] = "FAIL";
188
+ HookFailureMode["WARN"] = "WARN";
189
+ })(HookFailureMode = exports.HookFailureMode || (exports.HookFailureMode = {}));
190
+ var HookInvocationPoint;
191
+ (function (HookInvocationPoint) {
192
+ HookInvocationPoint["PRE_PROVISION"] = "PRE_PROVISION";
193
+ })(HookInvocationPoint = exports.HookInvocationPoint || (exports.HookInvocationPoint = {}));
194
+ var ChangeSetHookResourceTargetDetails;
195
+ (function (ChangeSetHookResourceTargetDetails) {
196
+ ChangeSetHookResourceTargetDetails.filterSensitiveLog = (obj) => ({
197
+ ...obj,
198
+ });
199
+ })(ChangeSetHookResourceTargetDetails = exports.ChangeSetHookResourceTargetDetails || (exports.ChangeSetHookResourceTargetDetails = {}));
200
+ var HookTargetType;
201
+ (function (HookTargetType) {
202
+ HookTargetType["RESOURCE"] = "RESOURCE";
203
+ })(HookTargetType = exports.HookTargetType || (exports.HookTargetType = {}));
204
+ var ChangeSetHookTargetDetails;
205
+ (function (ChangeSetHookTargetDetails) {
206
+ ChangeSetHookTargetDetails.filterSensitiveLog = (obj) => ({
207
+ ...obj,
208
+ });
209
+ })(ChangeSetHookTargetDetails = exports.ChangeSetHookTargetDetails || (exports.ChangeSetHookTargetDetails = {}));
210
+ var ChangeSetHook;
211
+ (function (ChangeSetHook) {
212
+ ChangeSetHook.filterSensitiveLog = (obj) => ({
213
+ ...obj,
214
+ });
215
+ })(ChangeSetHook = exports.ChangeSetHook || (exports.ChangeSetHook = {}));
216
+ var ChangeSetHooksStatus;
217
+ (function (ChangeSetHooksStatus) {
218
+ ChangeSetHooksStatus["PLANNED"] = "PLANNED";
219
+ ChangeSetHooksStatus["PLANNING"] = "PLANNING";
220
+ ChangeSetHooksStatus["UNAVAILABLE"] = "UNAVAILABLE";
221
+ })(ChangeSetHooksStatus = exports.ChangeSetHooksStatus || (exports.ChangeSetHooksStatus = {}));
184
222
  var ChangeSetStatus;
185
223
  (function (ChangeSetStatus) {
186
224
  ChangeSetStatus["CREATE_COMPLETE"] = "CREATE_COMPLETE";
@@ -422,6 +460,18 @@ var DescribeChangeSetOutput;
422
460
  ...obj,
423
461
  });
424
462
  })(DescribeChangeSetOutput = exports.DescribeChangeSetOutput || (exports.DescribeChangeSetOutput = {}));
463
+ var DescribeChangeSetHooksInput;
464
+ (function (DescribeChangeSetHooksInput) {
465
+ DescribeChangeSetHooksInput.filterSensitiveLog = (obj) => ({
466
+ ...obj,
467
+ });
468
+ })(DescribeChangeSetHooksInput = exports.DescribeChangeSetHooksInput || (exports.DescribeChangeSetHooksInput = {}));
469
+ var DescribeChangeSetHooksOutput;
470
+ (function (DescribeChangeSetHooksOutput) {
471
+ DescribeChangeSetHooksOutput.filterSensitiveLog = (obj) => ({
472
+ ...obj,
473
+ });
474
+ })(DescribeChangeSetHooksOutput = exports.DescribeChangeSetHooksOutput || (exports.DescribeChangeSetHooksOutput = {}));
425
475
  var DescribePublisherInput;
426
476
  (function (DescribePublisherInput) {
427
477
  DescribePublisherInput.filterSensitiveLog = (obj) => ({
@@ -476,6 +526,13 @@ var DescribeStackEventsInput;
476
526
  ...obj,
477
527
  });
478
528
  })(DescribeStackEventsInput = exports.DescribeStackEventsInput || (exports.DescribeStackEventsInput = {}));
529
+ var HookStatus;
530
+ (function (HookStatus) {
531
+ HookStatus["HOOK_COMPLETE_FAILED"] = "HOOK_COMPLETE_FAILED";
532
+ HookStatus["HOOK_COMPLETE_SUCCEEDED"] = "HOOK_COMPLETE_SUCCEEDED";
533
+ HookStatus["HOOK_FAILED"] = "HOOK_FAILED";
534
+ HookStatus["HOOK_IN_PROGRESS"] = "HOOK_IN_PROGRESS";
535
+ })(HookStatus = exports.HookStatus || (exports.HookStatus = {}));
479
536
  var ResourceStatus;
480
537
  (function (ResourceStatus) {
481
538
  ResourceStatus["CREATE_COMPLETE"] = "CREATE_COMPLETE";
@@ -1148,11 +1205,13 @@ var HandlerErrorCode;
1148
1205
  HandlerErrorCode["AccessDenied"] = "AccessDenied";
1149
1206
  HandlerErrorCode["AlreadyExists"] = "AlreadyExists";
1150
1207
  HandlerErrorCode["GeneralServiceException"] = "GeneralServiceException";
1208
+ HandlerErrorCode["HandlerInternalFailure"] = "HandlerInternalFailure";
1151
1209
  HandlerErrorCode["InternalFailure"] = "InternalFailure";
1152
1210
  HandlerErrorCode["InvalidCredentials"] = "InvalidCredentials";
1153
1211
  HandlerErrorCode["InvalidRequest"] = "InvalidRequest";
1154
1212
  HandlerErrorCode["InvalidTypeConfiguration"] = "InvalidTypeConfiguration";
1155
1213
  HandlerErrorCode["NetworkFailure"] = "NetworkFailure";
1214
+ HandlerErrorCode["NonCompliant"] = "NonCompliant";
1156
1215
  HandlerErrorCode["NotFound"] = "NotFound";
1157
1216
  HandlerErrorCode["NotUpdatable"] = "NotUpdatable";
1158
1217
  HandlerErrorCode["ResourceConflict"] = "ResourceConflict";
@@ -1160,6 +1219,7 @@ var HandlerErrorCode;
1160
1219
  HandlerErrorCode["ServiceLimitExceeded"] = "ServiceLimitExceeded";
1161
1220
  HandlerErrorCode["ServiceTimeout"] = "NotStabilized";
1162
1221
  HandlerErrorCode["Throttling"] = "Throttling";
1222
+ HandlerErrorCode["Unknown"] = "Unknown";
1163
1223
  })(HandlerErrorCode = exports.HandlerErrorCode || (exports.HandlerErrorCode = {}));
1164
1224
  var RecordHandlerProgressInput;
1165
1225
  (function (RecordHandlerProgressInput) {
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serializeAws_queryPublishTypeCommand = exports.serializeAws_queryListTypeVersionsCommand = exports.serializeAws_queryListTypesCommand = exports.serializeAws_queryListTypeRegistrationsCommand = exports.serializeAws_queryListStackSetsCommand = exports.serializeAws_queryListStackSetOperationsCommand = exports.serializeAws_queryListStackSetOperationResultsCommand = exports.serializeAws_queryListStacksCommand = exports.serializeAws_queryListStackResourcesCommand = exports.serializeAws_queryListStackInstancesCommand = exports.serializeAws_queryListImportsCommand = exports.serializeAws_queryListExportsCommand = exports.serializeAws_queryListChangeSetsCommand = exports.serializeAws_queryImportStacksToStackSetCommand = exports.serializeAws_queryGetTemplateSummaryCommand = exports.serializeAws_queryGetTemplateCommand = exports.serializeAws_queryGetStackPolicyCommand = exports.serializeAws_queryExecuteChangeSetCommand = exports.serializeAws_queryEstimateTemplateCostCommand = exports.serializeAws_queryDetectStackSetDriftCommand = exports.serializeAws_queryDetectStackResourceDriftCommand = exports.serializeAws_queryDetectStackDriftCommand = exports.serializeAws_queryDescribeTypeRegistrationCommand = exports.serializeAws_queryDescribeTypeCommand = exports.serializeAws_queryDescribeStackSetOperationCommand = exports.serializeAws_queryDescribeStackSetCommand = exports.serializeAws_queryDescribeStacksCommand = exports.serializeAws_queryDescribeStackResourcesCommand = exports.serializeAws_queryDescribeStackResourceDriftsCommand = exports.serializeAws_queryDescribeStackResourceCommand = exports.serializeAws_queryDescribeStackInstanceCommand = exports.serializeAws_queryDescribeStackEventsCommand = exports.serializeAws_queryDescribeStackDriftDetectionStatusCommand = exports.serializeAws_queryDescribePublisherCommand = exports.serializeAws_queryDescribeChangeSetCommand = exports.serializeAws_queryDescribeAccountLimitsCommand = exports.serializeAws_queryDeregisterTypeCommand = exports.serializeAws_queryDeleteStackSetCommand = exports.serializeAws_queryDeleteStackInstancesCommand = exports.serializeAws_queryDeleteStackCommand = exports.serializeAws_queryDeleteChangeSetCommand = exports.serializeAws_queryDeactivateTypeCommand = exports.serializeAws_queryCreateStackSetCommand = exports.serializeAws_queryCreateStackInstancesCommand = exports.serializeAws_queryCreateStackCommand = exports.serializeAws_queryCreateChangeSetCommand = exports.serializeAws_queryContinueUpdateRollbackCommand = exports.serializeAws_queryCancelUpdateStackCommand = exports.serializeAws_queryBatchDescribeTypeConfigurationsCommand = exports.serializeAws_queryActivateTypeCommand = void 0;
4
- exports.deserializeAws_queryGetTemplateCommand = exports.deserializeAws_queryGetStackPolicyCommand = exports.deserializeAws_queryExecuteChangeSetCommand = exports.deserializeAws_queryEstimateTemplateCostCommand = exports.deserializeAws_queryDetectStackSetDriftCommand = exports.deserializeAws_queryDetectStackResourceDriftCommand = exports.deserializeAws_queryDetectStackDriftCommand = exports.deserializeAws_queryDescribeTypeRegistrationCommand = exports.deserializeAws_queryDescribeTypeCommand = exports.deserializeAws_queryDescribeStackSetOperationCommand = exports.deserializeAws_queryDescribeStackSetCommand = exports.deserializeAws_queryDescribeStacksCommand = exports.deserializeAws_queryDescribeStackResourcesCommand = exports.deserializeAws_queryDescribeStackResourceDriftsCommand = exports.deserializeAws_queryDescribeStackResourceCommand = exports.deserializeAws_queryDescribeStackInstanceCommand = exports.deserializeAws_queryDescribeStackEventsCommand = exports.deserializeAws_queryDescribeStackDriftDetectionStatusCommand = exports.deserializeAws_queryDescribePublisherCommand = exports.deserializeAws_queryDescribeChangeSetCommand = exports.deserializeAws_queryDescribeAccountLimitsCommand = exports.deserializeAws_queryDeregisterTypeCommand = exports.deserializeAws_queryDeleteStackSetCommand = exports.deserializeAws_queryDeleteStackInstancesCommand = exports.deserializeAws_queryDeleteStackCommand = exports.deserializeAws_queryDeleteChangeSetCommand = exports.deserializeAws_queryDeactivateTypeCommand = exports.deserializeAws_queryCreateStackSetCommand = exports.deserializeAws_queryCreateStackInstancesCommand = exports.deserializeAws_queryCreateStackCommand = exports.deserializeAws_queryCreateChangeSetCommand = exports.deserializeAws_queryContinueUpdateRollbackCommand = exports.deserializeAws_queryCancelUpdateStackCommand = exports.deserializeAws_queryBatchDescribeTypeConfigurationsCommand = exports.deserializeAws_queryActivateTypeCommand = exports.serializeAws_queryValidateTemplateCommand = exports.serializeAws_queryUpdateTerminationProtectionCommand = exports.serializeAws_queryUpdateStackSetCommand = exports.serializeAws_queryUpdateStackInstancesCommand = exports.serializeAws_queryUpdateStackCommand = exports.serializeAws_queryTestTypeCommand = exports.serializeAws_queryStopStackSetOperationCommand = exports.serializeAws_querySignalResourceCommand = exports.serializeAws_querySetTypeDefaultVersionCommand = exports.serializeAws_querySetTypeConfigurationCommand = exports.serializeAws_querySetStackPolicyCommand = exports.serializeAws_queryRollbackStackCommand = exports.serializeAws_queryRegisterTypeCommand = exports.serializeAws_queryRegisterPublisherCommand = exports.serializeAws_queryRecordHandlerProgressCommand = void 0;
5
- exports.deserializeAws_queryValidateTemplateCommand = exports.deserializeAws_queryUpdateTerminationProtectionCommand = exports.deserializeAws_queryUpdateStackSetCommand = exports.deserializeAws_queryUpdateStackInstancesCommand = exports.deserializeAws_queryUpdateStackCommand = exports.deserializeAws_queryTestTypeCommand = exports.deserializeAws_queryStopStackSetOperationCommand = exports.deserializeAws_querySignalResourceCommand = exports.deserializeAws_querySetTypeDefaultVersionCommand = exports.deserializeAws_querySetTypeConfigurationCommand = exports.deserializeAws_querySetStackPolicyCommand = exports.deserializeAws_queryRollbackStackCommand = exports.deserializeAws_queryRegisterTypeCommand = exports.deserializeAws_queryRegisterPublisherCommand = exports.deserializeAws_queryRecordHandlerProgressCommand = exports.deserializeAws_queryPublishTypeCommand = exports.deserializeAws_queryListTypeVersionsCommand = exports.deserializeAws_queryListTypesCommand = exports.deserializeAws_queryListTypeRegistrationsCommand = exports.deserializeAws_queryListStackSetsCommand = exports.deserializeAws_queryListStackSetOperationsCommand = exports.deserializeAws_queryListStackSetOperationResultsCommand = exports.deserializeAws_queryListStacksCommand = exports.deserializeAws_queryListStackResourcesCommand = exports.deserializeAws_queryListStackInstancesCommand = exports.deserializeAws_queryListImportsCommand = exports.deserializeAws_queryListExportsCommand = exports.deserializeAws_queryListChangeSetsCommand = exports.deserializeAws_queryImportStacksToStackSetCommand = exports.deserializeAws_queryGetTemplateSummaryCommand = void 0;
3
+ exports.serializeAws_queryListTypeVersionsCommand = exports.serializeAws_queryListTypesCommand = exports.serializeAws_queryListTypeRegistrationsCommand = exports.serializeAws_queryListStackSetsCommand = exports.serializeAws_queryListStackSetOperationsCommand = exports.serializeAws_queryListStackSetOperationResultsCommand = exports.serializeAws_queryListStacksCommand = exports.serializeAws_queryListStackResourcesCommand = exports.serializeAws_queryListStackInstancesCommand = exports.serializeAws_queryListImportsCommand = exports.serializeAws_queryListExportsCommand = exports.serializeAws_queryListChangeSetsCommand = exports.serializeAws_queryImportStacksToStackSetCommand = exports.serializeAws_queryGetTemplateSummaryCommand = exports.serializeAws_queryGetTemplateCommand = exports.serializeAws_queryGetStackPolicyCommand = exports.serializeAws_queryExecuteChangeSetCommand = exports.serializeAws_queryEstimateTemplateCostCommand = exports.serializeAws_queryDetectStackSetDriftCommand = exports.serializeAws_queryDetectStackResourceDriftCommand = exports.serializeAws_queryDetectStackDriftCommand = exports.serializeAws_queryDescribeTypeRegistrationCommand = exports.serializeAws_queryDescribeTypeCommand = exports.serializeAws_queryDescribeStackSetOperationCommand = exports.serializeAws_queryDescribeStackSetCommand = exports.serializeAws_queryDescribeStacksCommand = exports.serializeAws_queryDescribeStackResourcesCommand = exports.serializeAws_queryDescribeStackResourceDriftsCommand = exports.serializeAws_queryDescribeStackResourceCommand = exports.serializeAws_queryDescribeStackInstanceCommand = exports.serializeAws_queryDescribeStackEventsCommand = exports.serializeAws_queryDescribeStackDriftDetectionStatusCommand = exports.serializeAws_queryDescribePublisherCommand = exports.serializeAws_queryDescribeChangeSetHooksCommand = exports.serializeAws_queryDescribeChangeSetCommand = exports.serializeAws_queryDescribeAccountLimitsCommand = exports.serializeAws_queryDeregisterTypeCommand = exports.serializeAws_queryDeleteStackSetCommand = exports.serializeAws_queryDeleteStackInstancesCommand = exports.serializeAws_queryDeleteStackCommand = exports.serializeAws_queryDeleteChangeSetCommand = exports.serializeAws_queryDeactivateTypeCommand = exports.serializeAws_queryCreateStackSetCommand = exports.serializeAws_queryCreateStackInstancesCommand = exports.serializeAws_queryCreateStackCommand = exports.serializeAws_queryCreateChangeSetCommand = exports.serializeAws_queryContinueUpdateRollbackCommand = exports.serializeAws_queryCancelUpdateStackCommand = exports.serializeAws_queryBatchDescribeTypeConfigurationsCommand = exports.serializeAws_queryActivateTypeCommand = void 0;
4
+ exports.deserializeAws_queryExecuteChangeSetCommand = exports.deserializeAws_queryEstimateTemplateCostCommand = exports.deserializeAws_queryDetectStackSetDriftCommand = exports.deserializeAws_queryDetectStackResourceDriftCommand = exports.deserializeAws_queryDetectStackDriftCommand = exports.deserializeAws_queryDescribeTypeRegistrationCommand = exports.deserializeAws_queryDescribeTypeCommand = exports.deserializeAws_queryDescribeStackSetOperationCommand = exports.deserializeAws_queryDescribeStackSetCommand = exports.deserializeAws_queryDescribeStacksCommand = exports.deserializeAws_queryDescribeStackResourcesCommand = exports.deserializeAws_queryDescribeStackResourceDriftsCommand = exports.deserializeAws_queryDescribeStackResourceCommand = exports.deserializeAws_queryDescribeStackInstanceCommand = exports.deserializeAws_queryDescribeStackEventsCommand = exports.deserializeAws_queryDescribeStackDriftDetectionStatusCommand = exports.deserializeAws_queryDescribePublisherCommand = exports.deserializeAws_queryDescribeChangeSetHooksCommand = exports.deserializeAws_queryDescribeChangeSetCommand = exports.deserializeAws_queryDescribeAccountLimitsCommand = exports.deserializeAws_queryDeregisterTypeCommand = exports.deserializeAws_queryDeleteStackSetCommand = exports.deserializeAws_queryDeleteStackInstancesCommand = exports.deserializeAws_queryDeleteStackCommand = exports.deserializeAws_queryDeleteChangeSetCommand = exports.deserializeAws_queryDeactivateTypeCommand = exports.deserializeAws_queryCreateStackSetCommand = exports.deserializeAws_queryCreateStackInstancesCommand = exports.deserializeAws_queryCreateStackCommand = exports.deserializeAws_queryCreateChangeSetCommand = exports.deserializeAws_queryContinueUpdateRollbackCommand = exports.deserializeAws_queryCancelUpdateStackCommand = exports.deserializeAws_queryBatchDescribeTypeConfigurationsCommand = exports.deserializeAws_queryActivateTypeCommand = exports.serializeAws_queryValidateTemplateCommand = exports.serializeAws_queryUpdateTerminationProtectionCommand = exports.serializeAws_queryUpdateStackSetCommand = exports.serializeAws_queryUpdateStackInstancesCommand = exports.serializeAws_queryUpdateStackCommand = exports.serializeAws_queryTestTypeCommand = exports.serializeAws_queryStopStackSetOperationCommand = exports.serializeAws_querySignalResourceCommand = exports.serializeAws_querySetTypeDefaultVersionCommand = exports.serializeAws_querySetTypeConfigurationCommand = exports.serializeAws_querySetStackPolicyCommand = exports.serializeAws_queryRollbackStackCommand = exports.serializeAws_queryRegisterTypeCommand = exports.serializeAws_queryRegisterPublisherCommand = exports.serializeAws_queryRecordHandlerProgressCommand = exports.serializeAws_queryPublishTypeCommand = void 0;
5
+ exports.deserializeAws_queryValidateTemplateCommand = exports.deserializeAws_queryUpdateTerminationProtectionCommand = exports.deserializeAws_queryUpdateStackSetCommand = exports.deserializeAws_queryUpdateStackInstancesCommand = exports.deserializeAws_queryUpdateStackCommand = exports.deserializeAws_queryTestTypeCommand = exports.deserializeAws_queryStopStackSetOperationCommand = exports.deserializeAws_querySignalResourceCommand = exports.deserializeAws_querySetTypeDefaultVersionCommand = exports.deserializeAws_querySetTypeConfigurationCommand = exports.deserializeAws_querySetStackPolicyCommand = exports.deserializeAws_queryRollbackStackCommand = exports.deserializeAws_queryRegisterTypeCommand = exports.deserializeAws_queryRegisterPublisherCommand = exports.deserializeAws_queryRecordHandlerProgressCommand = exports.deserializeAws_queryPublishTypeCommand = exports.deserializeAws_queryListTypeVersionsCommand = exports.deserializeAws_queryListTypesCommand = exports.deserializeAws_queryListTypeRegistrationsCommand = exports.deserializeAws_queryListStackSetsCommand = exports.deserializeAws_queryListStackSetOperationsCommand = exports.deserializeAws_queryListStackSetOperationResultsCommand = exports.deserializeAws_queryListStacksCommand = exports.deserializeAws_queryListStackResourcesCommand = exports.deserializeAws_queryListStackInstancesCommand = exports.deserializeAws_queryListImportsCommand = exports.deserializeAws_queryListExportsCommand = exports.deserializeAws_queryListChangeSetsCommand = exports.deserializeAws_queryImportStacksToStackSetCommand = exports.deserializeAws_queryGetTemplateSummaryCommand = exports.deserializeAws_queryGetTemplateCommand = exports.deserializeAws_queryGetStackPolicyCommand = void 0;
6
6
  const protocol_http_1 = require("@aws-sdk/protocol-http");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const entities_1 = require("entities");
@@ -216,6 +216,19 @@ const serializeAws_queryDescribeChangeSetCommand = async (input, context) => {
216
216
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
217
217
  };
218
218
  exports.serializeAws_queryDescribeChangeSetCommand = serializeAws_queryDescribeChangeSetCommand;
219
+ const serializeAws_queryDescribeChangeSetHooksCommand = async (input, context) => {
220
+ const headers = {
221
+ "content-type": "application/x-www-form-urlencoded",
222
+ };
223
+ let body;
224
+ body = buildFormUrlencodedString({
225
+ ...serializeAws_queryDescribeChangeSetHooksInput(input, context),
226
+ Action: "DescribeChangeSetHooks",
227
+ Version: "2010-05-15",
228
+ });
229
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
230
+ };
231
+ exports.serializeAws_queryDescribeChangeSetHooksCommand = serializeAws_queryDescribeChangeSetHooksCommand;
219
232
  const serializeAws_queryDescribePublisherCommand = async (input, context) => {
220
233
  const headers = {
221
234
  "content-type": "application/x-www-form-urlencoded",
@@ -1759,6 +1772,53 @@ const deserializeAws_queryDescribeChangeSetCommandError = async (output, context
1759
1772
  delete response.Message;
1760
1773
  return Promise.reject(Object.assign(new Error(message), response));
1761
1774
  };
1775
+ const deserializeAws_queryDescribeChangeSetHooksCommand = async (output, context) => {
1776
+ if (output.statusCode >= 300) {
1777
+ return deserializeAws_queryDescribeChangeSetHooksCommandError(output, context);
1778
+ }
1779
+ const data = await parseBody(output.body, context);
1780
+ let contents = {};
1781
+ contents = deserializeAws_queryDescribeChangeSetHooksOutput(data.DescribeChangeSetHooksResult, context);
1782
+ const response = {
1783
+ $metadata: deserializeMetadata(output),
1784
+ ...contents,
1785
+ };
1786
+ return Promise.resolve(response);
1787
+ };
1788
+ exports.deserializeAws_queryDescribeChangeSetHooksCommand = deserializeAws_queryDescribeChangeSetHooksCommand;
1789
+ const deserializeAws_queryDescribeChangeSetHooksCommandError = async (output, context) => {
1790
+ const parsedOutput = {
1791
+ ...output,
1792
+ body: await parseBody(output.body, context),
1793
+ };
1794
+ let response;
1795
+ let errorCode = "UnknownError";
1796
+ errorCode = loadQueryErrorCode(output, parsedOutput.body);
1797
+ switch (errorCode) {
1798
+ case "ChangeSetNotFoundException":
1799
+ case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
1800
+ response = {
1801
+ ...(await deserializeAws_queryChangeSetNotFoundExceptionResponse(parsedOutput, context)),
1802
+ name: errorCode,
1803
+ $metadata: deserializeMetadata(output),
1804
+ };
1805
+ break;
1806
+ default:
1807
+ const parsedBody = parsedOutput.body;
1808
+ errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
1809
+ response = {
1810
+ ...parsedBody.Error,
1811
+ name: `${errorCode}`,
1812
+ message: parsedBody.Error.message || parsedBody.Error.Message || errorCode,
1813
+ $fault: "client",
1814
+ $metadata: deserializeMetadata(output),
1815
+ };
1816
+ }
1817
+ const message = response.message || response.Message || errorCode;
1818
+ response.message = message;
1819
+ delete response.Message;
1820
+ return Promise.reject(Object.assign(new Error(message), response));
1821
+ };
1762
1822
  const deserializeAws_queryDescribePublisherCommand = async (output, context) => {
1763
1823
  if (output.statusCode >= 300) {
1764
1824
  return deserializeAws_queryDescribePublisherCommandError(output, context);
@@ -4944,6 +5004,22 @@ const serializeAws_queryDescribeAccountLimitsInput = (input, context) => {
4944
5004
  }
4945
5005
  return entries;
4946
5006
  };
5007
+ const serializeAws_queryDescribeChangeSetHooksInput = (input, context) => {
5008
+ const entries = {};
5009
+ if (input.ChangeSetName !== undefined && input.ChangeSetName !== null) {
5010
+ entries["ChangeSetName"] = input.ChangeSetName;
5011
+ }
5012
+ if (input.StackName !== undefined && input.StackName !== null) {
5013
+ entries["StackName"] = input.StackName;
5014
+ }
5015
+ if (input.NextToken !== undefined && input.NextToken !== null) {
5016
+ entries["NextToken"] = input.NextToken;
5017
+ }
5018
+ if (input.LogicalResourceId !== undefined && input.LogicalResourceId !== null) {
5019
+ entries["LogicalResourceId"] = input.LogicalResourceId;
5020
+ }
5021
+ return entries;
5022
+ };
4947
5023
  const serializeAws_queryDescribeChangeSetInput = (input, context) => {
4948
5024
  const entries = {};
4949
5025
  if (input.ChangeSetName !== undefined && input.ChangeSetName !== null) {
@@ -6441,11 +6517,15 @@ const deserializeAws_queryCFNRegistryException = (output, context) => {
6441
6517
  const deserializeAws_queryChange = (output, context) => {
6442
6518
  const contents = {
6443
6519
  Type: undefined,
6520
+ HookInvocationCount: undefined,
6444
6521
  ResourceChange: undefined,
6445
6522
  };
6446
6523
  if (output["Type"] !== undefined) {
6447
6524
  contents.Type = smithy_client_1.expectString(output["Type"]);
6448
6525
  }
6526
+ if (output["HookInvocationCount"] !== undefined) {
6527
+ contents.HookInvocationCount = smithy_client_1.strictParseInt32(output["HookInvocationCount"]);
6528
+ }
6449
6529
  if (output["ResourceChange"] !== undefined) {
6450
6530
  contents.ResourceChange = deserializeAws_queryResourceChange(output["ResourceChange"], context);
6451
6531
  }
@@ -6461,6 +6541,75 @@ const deserializeAws_queryChanges = (output, context) => {
6461
6541
  return deserializeAws_queryChange(entry, context);
6462
6542
  });
6463
6543
  };
6544
+ const deserializeAws_queryChangeSetHook = (output, context) => {
6545
+ const contents = {
6546
+ InvocationPoint: undefined,
6547
+ FailureMode: undefined,
6548
+ TypeName: undefined,
6549
+ TypeVersionId: undefined,
6550
+ TypeConfigurationVersionId: undefined,
6551
+ TargetDetails: undefined,
6552
+ };
6553
+ if (output["InvocationPoint"] !== undefined) {
6554
+ contents.InvocationPoint = smithy_client_1.expectString(output["InvocationPoint"]);
6555
+ }
6556
+ if (output["FailureMode"] !== undefined) {
6557
+ contents.FailureMode = smithy_client_1.expectString(output["FailureMode"]);
6558
+ }
6559
+ if (output["TypeName"] !== undefined) {
6560
+ contents.TypeName = smithy_client_1.expectString(output["TypeName"]);
6561
+ }
6562
+ if (output["TypeVersionId"] !== undefined) {
6563
+ contents.TypeVersionId = smithy_client_1.expectString(output["TypeVersionId"]);
6564
+ }
6565
+ if (output["TypeConfigurationVersionId"] !== undefined) {
6566
+ contents.TypeConfigurationVersionId = smithy_client_1.expectString(output["TypeConfigurationVersionId"]);
6567
+ }
6568
+ if (output["TargetDetails"] !== undefined) {
6569
+ contents.TargetDetails = deserializeAws_queryChangeSetHookTargetDetails(output["TargetDetails"], context);
6570
+ }
6571
+ return contents;
6572
+ };
6573
+ const deserializeAws_queryChangeSetHookResourceTargetDetails = (output, context) => {
6574
+ const contents = {
6575
+ LogicalResourceId: undefined,
6576
+ ResourceType: undefined,
6577
+ ResourceAction: undefined,
6578
+ };
6579
+ if (output["LogicalResourceId"] !== undefined) {
6580
+ contents.LogicalResourceId = smithy_client_1.expectString(output["LogicalResourceId"]);
6581
+ }
6582
+ if (output["ResourceType"] !== undefined) {
6583
+ contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
6584
+ }
6585
+ if (output["ResourceAction"] !== undefined) {
6586
+ contents.ResourceAction = smithy_client_1.expectString(output["ResourceAction"]);
6587
+ }
6588
+ return contents;
6589
+ };
6590
+ const deserializeAws_queryChangeSetHooks = (output, context) => {
6591
+ return (output || [])
6592
+ .filter((e) => e != null)
6593
+ .map((entry) => {
6594
+ if (entry === null) {
6595
+ return null;
6596
+ }
6597
+ return deserializeAws_queryChangeSetHook(entry, context);
6598
+ });
6599
+ };
6600
+ const deserializeAws_queryChangeSetHookTargetDetails = (output, context) => {
6601
+ const contents = {
6602
+ TargetType: undefined,
6603
+ ResourceTargetDetails: undefined,
6604
+ };
6605
+ if (output["TargetType"] !== undefined) {
6606
+ contents.TargetType = smithy_client_1.expectString(output["TargetType"]);
6607
+ }
6608
+ if (output["ResourceTargetDetails"] !== undefined) {
6609
+ contents.ResourceTargetDetails = deserializeAws_queryChangeSetHookResourceTargetDetails(output["ResourceTargetDetails"], context);
6610
+ }
6611
+ return contents;
6612
+ };
6464
6613
  const deserializeAws_queryChangeSetNotFoundException = (output, context) => {
6465
6614
  const contents = {
6466
6615
  Message: undefined,
@@ -6650,6 +6799,42 @@ const deserializeAws_queryDescribeAccountLimitsOutput = (output, context) => {
6650
6799
  }
6651
6800
  return contents;
6652
6801
  };
6802
+ const deserializeAws_queryDescribeChangeSetHooksOutput = (output, context) => {
6803
+ const contents = {
6804
+ ChangeSetId: undefined,
6805
+ ChangeSetName: undefined,
6806
+ Hooks: undefined,
6807
+ Status: undefined,
6808
+ NextToken: undefined,
6809
+ StackId: undefined,
6810
+ StackName: undefined,
6811
+ };
6812
+ if (output["ChangeSetId"] !== undefined) {
6813
+ contents.ChangeSetId = smithy_client_1.expectString(output["ChangeSetId"]);
6814
+ }
6815
+ if (output["ChangeSetName"] !== undefined) {
6816
+ contents.ChangeSetName = smithy_client_1.expectString(output["ChangeSetName"]);
6817
+ }
6818
+ if (output.Hooks === "") {
6819
+ contents.Hooks = [];
6820
+ }
6821
+ if (output["Hooks"] !== undefined && output["Hooks"]["member"] !== undefined) {
6822
+ contents.Hooks = deserializeAws_queryChangeSetHooks(smithy_client_1.getArrayIfSingleItem(output["Hooks"]["member"]), context);
6823
+ }
6824
+ if (output["Status"] !== undefined) {
6825
+ contents.Status = smithy_client_1.expectString(output["Status"]);
6826
+ }
6827
+ if (output["NextToken"] !== undefined) {
6828
+ contents.NextToken = smithy_client_1.expectString(output["NextToken"]);
6829
+ }
6830
+ if (output["StackId"] !== undefined) {
6831
+ contents.StackId = smithy_client_1.expectString(output["StackId"]);
6832
+ }
6833
+ if (output["StackName"] !== undefined) {
6834
+ contents.StackName = smithy_client_1.expectString(output["StackName"]);
6835
+ }
6836
+ return contents;
6837
+ };
6653
6838
  const deserializeAws_queryDescribeChangeSetOutput = (output, context) => {
6654
6839
  const contents = {
6655
6840
  ChangeSetName: undefined,
@@ -8166,6 +8351,11 @@ const deserializeAws_queryStackEvent = (output, context) => {
8166
8351
  ResourceStatusReason: undefined,
8167
8352
  ResourceProperties: undefined,
8168
8353
  ClientRequestToken: undefined,
8354
+ HookType: undefined,
8355
+ HookStatus: undefined,
8356
+ HookStatusReason: undefined,
8357
+ HookInvocationPoint: undefined,
8358
+ HookFailureMode: undefined,
8169
8359
  };
8170
8360
  if (output["StackId"] !== undefined) {
8171
8361
  contents.StackId = smithy_client_1.expectString(output["StackId"]);
@@ -8200,6 +8390,21 @@ const deserializeAws_queryStackEvent = (output, context) => {
8200
8390
  if (output["ClientRequestToken"] !== undefined) {
8201
8391
  contents.ClientRequestToken = smithy_client_1.expectString(output["ClientRequestToken"]);
8202
8392
  }
8393
+ if (output["HookType"] !== undefined) {
8394
+ contents.HookType = smithy_client_1.expectString(output["HookType"]);
8395
+ }
8396
+ if (output["HookStatus"] !== undefined) {
8397
+ contents.HookStatus = smithy_client_1.expectString(output["HookStatus"]);
8398
+ }
8399
+ if (output["HookStatusReason"] !== undefined) {
8400
+ contents.HookStatusReason = smithy_client_1.expectString(output["HookStatusReason"]);
8401
+ }
8402
+ if (output["HookInvocationPoint"] !== undefined) {
8403
+ contents.HookInvocationPoint = smithy_client_1.expectString(output["HookInvocationPoint"]);
8404
+ }
8405
+ if (output["HookFailureMode"] !== undefined) {
8406
+ contents.HookFailureMode = smithy_client_1.expectString(output["HookFailureMode"]);
8407
+ }
8203
8408
  return contents;
8204
8409
  };
8205
8410
  const deserializeAws_queryStackEvents = (output, context) => {
@@ -16,6 +16,7 @@ import { DeleteStackSetCommand, } from "./commands/DeleteStackSetCommand";
16
16
  import { DeregisterTypeCommand, } from "./commands/DeregisterTypeCommand";
17
17
  import { DescribeAccountLimitsCommand, } from "./commands/DescribeAccountLimitsCommand";
18
18
  import { DescribeChangeSetCommand, } from "./commands/DescribeChangeSetCommand";
19
+ import { DescribeChangeSetHooksCommand, } from "./commands/DescribeChangeSetHooksCommand";
19
20
  import { DescribePublisherCommand, } from "./commands/DescribePublisherCommand";
20
21
  import { DescribeStackDriftDetectionStatusCommand, } from "./commands/DescribeStackDriftDetectionStatusCommand";
21
22
  import { DescribeStackEventsCommand, } from "./commands/DescribeStackEventsCommand";
@@ -294,6 +295,20 @@ var CloudFormation = (function (_super) {
294
295
  return this.send(command, optionsOrCb);
295
296
  }
296
297
  };
298
+ CloudFormation.prototype.describeChangeSetHooks = function (args, optionsOrCb, cb) {
299
+ var command = new DescribeChangeSetHooksCommand(args);
300
+ if (typeof optionsOrCb === "function") {
301
+ this.send(command, optionsOrCb);
302
+ }
303
+ else if (typeof cb === "function") {
304
+ if (typeof optionsOrCb !== "object")
305
+ throw new Error("Expect http options but get " + typeof optionsOrCb);
306
+ this.send(command, optionsOrCb || {}, cb);
307
+ }
308
+ else {
309
+ return this.send(command, optionsOrCb);
310
+ }
311
+ };
297
312
  CloudFormation.prototype.describePublisher = function (args, optionsOrCb, cb) {
298
313
  var command = new DescribePublisherCommand(args);
299
314
  if (typeof optionsOrCb === "function") {