@aws-sdk/client-cloudformation 3.28.0 → 3.32.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 (184) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/CloudFormation.ts +126 -61
  3. package/CloudFormationClient.ts +14 -11
  4. package/README.md +11 -11
  5. package/commands/ContinueUpdateRollbackCommand.ts +6 -5
  6. package/commands/CreateChangeSetCommand.ts +7 -8
  7. package/commands/CreateStackInstancesCommand.ts +1 -3
  8. package/commands/DeleteStackInstancesCommand.ts +1 -1
  9. package/commands/DeleteStackSetCommand.ts +1 -1
  10. package/commands/DescribeAccountLimitsCommand.ts +2 -2
  11. package/commands/DescribeChangeSetCommand.ts +2 -1
  12. package/commands/DescribeStackInstanceCommand.ts +1 -1
  13. package/commands/DescribeStackResourceDriftsCommand.ts +3 -4
  14. package/commands/DescribeStacksCommand.ts +1 -1
  15. package/commands/EstimateTemplateCostCommand.ts +3 -2
  16. package/commands/ExecuteChangeSetCommand.ts +3 -3
  17. package/commands/GetTemplateCommand.ts +1 -2
  18. package/commands/ListChangeSetsCommand.ts +2 -1
  19. package/commands/ListExportsCommand.ts +1 -1
  20. package/commands/ListImportsCommand.ts +2 -2
  21. package/commands/ListStackInstancesCommand.ts +1 -1
  22. package/commands/ListStackSetsCommand.ts +2 -2
  23. package/commands/RegisterPublisherCommand.ts +1 -1
  24. package/commands/RegisterTypeCommand.ts +1 -1
  25. package/commands/RollbackStackCommand.ts +123 -0
  26. package/commands/SignalResourceCommand.ts +3 -2
  27. package/commands/UpdateTerminationProtectionCommand.ts +1 -1
  28. package/commands/ValidateTemplateCommand.ts +3 -4
  29. package/dist/cjs/CloudFormation.js +26 -11
  30. package/dist/cjs/CloudFormation.js.map +1 -1
  31. package/dist/cjs/CloudFormationClient.js +11 -11
  32. package/dist/cjs/CloudFormationClient.js.map +1 -1
  33. package/dist/cjs/commands/ContinueUpdateRollbackCommand.js +6 -5
  34. package/dist/cjs/commands/ContinueUpdateRollbackCommand.js.map +1 -1
  35. package/dist/cjs/commands/CreateChangeSetCommand.js +7 -8
  36. package/dist/cjs/commands/CreateChangeSetCommand.js.map +1 -1
  37. package/dist/cjs/commands/CreateStackInstancesCommand.js +1 -3
  38. package/dist/cjs/commands/CreateStackInstancesCommand.js.map +1 -1
  39. package/dist/cjs/commands/DeleteStackInstancesCommand.js +1 -1
  40. package/dist/cjs/commands/DeleteStackSetCommand.js +1 -1
  41. package/dist/cjs/commands/DescribeAccountLimitsCommand.js +2 -2
  42. package/dist/cjs/commands/DescribeChangeSetCommand.js +2 -1
  43. package/dist/cjs/commands/DescribeChangeSetCommand.js.map +1 -1
  44. package/dist/cjs/commands/DescribeStackInstanceCommand.js +1 -1
  45. package/dist/cjs/commands/DescribeStackResourceDriftsCommand.js +3 -4
  46. package/dist/cjs/commands/DescribeStackResourceDriftsCommand.js.map +1 -1
  47. package/dist/cjs/commands/DescribeStacksCommand.js +1 -1
  48. package/dist/cjs/commands/EstimateTemplateCostCommand.js +3 -2
  49. package/dist/cjs/commands/EstimateTemplateCostCommand.js.map +1 -1
  50. package/dist/cjs/commands/ExecuteChangeSetCommand.js +3 -3
  51. package/dist/cjs/commands/GetTemplateCommand.js +1 -2
  52. package/dist/cjs/commands/GetTemplateCommand.js.map +1 -1
  53. package/dist/cjs/commands/ListChangeSetsCommand.js +2 -1
  54. package/dist/cjs/commands/ListChangeSetsCommand.js.map +1 -1
  55. package/dist/cjs/commands/ListExportsCommand.js +1 -1
  56. package/dist/cjs/commands/ListImportsCommand.js +2 -2
  57. package/dist/cjs/commands/ListStackInstancesCommand.js +1 -1
  58. package/dist/cjs/commands/ListStackSetsCommand.js +2 -2
  59. package/dist/cjs/commands/RegisterPublisherCommand.js +1 -1
  60. package/dist/cjs/commands/RegisterTypeCommand.js +1 -1
  61. package/dist/cjs/commands/RollbackStackCommand.js +90 -0
  62. package/dist/cjs/commands/RollbackStackCommand.js.map +1 -0
  63. package/dist/cjs/commands/SignalResourceCommand.js +3 -2
  64. package/dist/cjs/commands/SignalResourceCommand.js.map +1 -1
  65. package/dist/cjs/commands/UpdateTerminationProtectionCommand.js +1 -1
  66. package/dist/cjs/commands/ValidateTemplateCommand.js +3 -4
  67. package/dist/cjs/commands/ValidateTemplateCommand.js.map +1 -1
  68. package/dist/cjs/index.js +1 -0
  69. package/dist/cjs/index.js.map +1 -1
  70. package/dist/cjs/models/models_0.js +26 -1
  71. package/dist/cjs/models/models_0.js.map +1 -1
  72. package/dist/cjs/package.json +32 -32
  73. package/dist/cjs/protocols/Aws_query.js +135 -47
  74. package/dist/cjs/protocols/Aws_query.js.map +1 -1
  75. package/dist/es/CloudFormation.js +26 -11
  76. package/dist/es/CloudFormation.js.map +1 -1
  77. package/dist/es/CloudFormationClient.js +11 -11
  78. package/dist/es/CloudFormationClient.js.map +1 -1
  79. package/dist/es/commands/ContinueUpdateRollbackCommand.js +6 -5
  80. package/dist/es/commands/ContinueUpdateRollbackCommand.js.map +1 -1
  81. package/dist/es/commands/CreateChangeSetCommand.js +7 -8
  82. package/dist/es/commands/CreateChangeSetCommand.js.map +1 -1
  83. package/dist/es/commands/CreateStackInstancesCommand.js +1 -3
  84. package/dist/es/commands/CreateStackInstancesCommand.js.map +1 -1
  85. package/dist/es/commands/DeleteStackInstancesCommand.js +1 -1
  86. package/dist/es/commands/DeleteStackSetCommand.js +1 -1
  87. package/dist/es/commands/DescribeAccountLimitsCommand.js +2 -2
  88. package/dist/es/commands/DescribeChangeSetCommand.js +2 -1
  89. package/dist/es/commands/DescribeChangeSetCommand.js.map +1 -1
  90. package/dist/es/commands/DescribeStackInstanceCommand.js +1 -1
  91. package/dist/es/commands/DescribeStackResourceDriftsCommand.js +3 -4
  92. package/dist/es/commands/DescribeStackResourceDriftsCommand.js.map +1 -1
  93. package/dist/es/commands/DescribeStacksCommand.js +1 -1
  94. package/dist/es/commands/EstimateTemplateCostCommand.js +3 -2
  95. package/dist/es/commands/EstimateTemplateCostCommand.js.map +1 -1
  96. package/dist/es/commands/ExecuteChangeSetCommand.js +3 -3
  97. package/dist/es/commands/GetTemplateCommand.js +1 -2
  98. package/dist/es/commands/GetTemplateCommand.js.map +1 -1
  99. package/dist/es/commands/ListChangeSetsCommand.js +2 -1
  100. package/dist/es/commands/ListChangeSetsCommand.js.map +1 -1
  101. package/dist/es/commands/ListExportsCommand.js +1 -1
  102. package/dist/es/commands/ListImportsCommand.js +2 -2
  103. package/dist/es/commands/ListStackInstancesCommand.js +1 -1
  104. package/dist/es/commands/ListStackSetsCommand.js +2 -2
  105. package/dist/es/commands/RegisterPublisherCommand.js +1 -1
  106. package/dist/es/commands/RegisterTypeCommand.js +1 -1
  107. package/dist/es/commands/RollbackStackCommand.js +94 -0
  108. package/dist/es/commands/RollbackStackCommand.js.map +1 -0
  109. package/dist/es/commands/SignalResourceCommand.js +3 -2
  110. package/dist/es/commands/SignalResourceCommand.js.map +1 -1
  111. package/dist/es/commands/UpdateTerminationProtectionCommand.js +1 -1
  112. package/dist/es/commands/ValidateTemplateCommand.js +3 -4
  113. package/dist/es/commands/ValidateTemplateCommand.js.map +1 -1
  114. package/dist/es/endpoints.js +1 -2
  115. package/dist/es/endpoints.js.map +1 -1
  116. package/dist/es/index.js +1 -0
  117. package/dist/es/index.js.map +1 -1
  118. package/dist/es/models/models_0.js +21 -0
  119. package/dist/es/models/models_0.js.map +1 -1
  120. package/dist/es/package.json +32 -32
  121. package/dist/es/protocols/Aws_query.js +140 -46
  122. package/dist/es/protocols/Aws_query.js.map +1 -1
  123. package/dist/types/CloudFormation.d.ts +96 -61
  124. package/dist/types/CloudFormationClient.d.ts +14 -13
  125. package/dist/types/commands/ContinueUpdateRollbackCommand.d.ts +6 -5
  126. package/dist/types/commands/CreateChangeSetCommand.d.ts +7 -8
  127. package/dist/types/commands/CreateStackInstancesCommand.d.ts +1 -3
  128. package/dist/types/commands/DeleteStackInstancesCommand.d.ts +1 -1
  129. package/dist/types/commands/DeleteStackSetCommand.d.ts +1 -1
  130. package/dist/types/commands/DescribeAccountLimitsCommand.d.ts +2 -2
  131. package/dist/types/commands/DescribeChangeSetCommand.d.ts +2 -1
  132. package/dist/types/commands/DescribeStackInstanceCommand.d.ts +1 -1
  133. package/dist/types/commands/DescribeStackResourceDriftsCommand.d.ts +3 -4
  134. package/dist/types/commands/DescribeStacksCommand.d.ts +1 -1
  135. package/dist/types/commands/EstimateTemplateCostCommand.d.ts +3 -2
  136. package/dist/types/commands/ExecuteChangeSetCommand.d.ts +3 -3
  137. package/dist/types/commands/GetTemplateCommand.d.ts +1 -2
  138. package/dist/types/commands/ListChangeSetsCommand.d.ts +2 -1
  139. package/dist/types/commands/ListExportsCommand.d.ts +1 -1
  140. package/dist/types/commands/ListImportsCommand.d.ts +2 -2
  141. package/dist/types/commands/ListStackInstancesCommand.d.ts +1 -1
  142. package/dist/types/commands/ListStackSetsCommand.d.ts +2 -2
  143. package/dist/types/commands/RegisterPublisherCommand.d.ts +1 -1
  144. package/dist/types/commands/RegisterTypeCommand.d.ts +1 -1
  145. package/dist/types/commands/RollbackStackCommand.d.ts +64 -0
  146. package/dist/types/commands/SignalResourceCommand.d.ts +3 -2
  147. package/dist/types/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  148. package/dist/types/commands/ValidateTemplateCommand.d.ts +3 -4
  149. package/dist/types/index.d.ts +1 -0
  150. package/dist/types/models/models_0.d.ts +424 -376
  151. package/dist/types/protocols/Aws_query.d.ts +3 -0
  152. package/dist/types/ts3.4/CloudFormation.d.ts +96 -61
  153. package/dist/types/ts3.4/CloudFormationClient.d.ts +14 -13
  154. package/dist/types/ts3.4/commands/ContinueUpdateRollbackCommand.d.ts +6 -5
  155. package/dist/types/ts3.4/commands/CreateChangeSetCommand.d.ts +7 -8
  156. package/dist/types/ts3.4/commands/CreateStackInstancesCommand.d.ts +1 -3
  157. package/dist/types/ts3.4/commands/DeleteStackInstancesCommand.d.ts +1 -1
  158. package/dist/types/ts3.4/commands/DeleteStackSetCommand.d.ts +1 -1
  159. package/dist/types/ts3.4/commands/DescribeAccountLimitsCommand.d.ts +2 -2
  160. package/dist/types/ts3.4/commands/DescribeChangeSetCommand.d.ts +2 -1
  161. package/dist/types/ts3.4/commands/DescribeStackInstanceCommand.d.ts +1 -1
  162. package/dist/types/ts3.4/commands/DescribeStackResourceDriftsCommand.d.ts +3 -4
  163. package/dist/types/ts3.4/commands/DescribeStacksCommand.d.ts +1 -1
  164. package/dist/types/ts3.4/commands/EstimateTemplateCostCommand.d.ts +3 -2
  165. package/dist/types/ts3.4/commands/ExecuteChangeSetCommand.d.ts +3 -3
  166. package/dist/types/ts3.4/commands/GetTemplateCommand.d.ts +1 -2
  167. package/dist/types/ts3.4/commands/ListChangeSetsCommand.d.ts +2 -1
  168. package/dist/types/ts3.4/commands/ListExportsCommand.d.ts +1 -1
  169. package/dist/types/ts3.4/commands/ListImportsCommand.d.ts +2 -2
  170. package/dist/types/ts3.4/commands/ListStackInstancesCommand.d.ts +1 -1
  171. package/dist/types/ts3.4/commands/ListStackSetsCommand.d.ts +2 -2
  172. package/dist/types/ts3.4/commands/RegisterPublisherCommand.d.ts +1 -1
  173. package/dist/types/ts3.4/commands/RegisterTypeCommand.d.ts +1 -1
  174. package/dist/types/ts3.4/commands/RollbackStackCommand.d.ts +64 -0
  175. package/dist/types/ts3.4/commands/SignalResourceCommand.d.ts +3 -2
  176. package/dist/types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  177. package/dist/types/ts3.4/commands/ValidateTemplateCommand.d.ts +3 -4
  178. package/dist/types/ts3.4/index.d.ts +1 -0
  179. package/dist/types/ts3.4/models/models_0.d.ts +424 -376
  180. package/dist/types/ts3.4/protocols/Aws_query.d.ts +3 -0
  181. package/index.ts +1 -0
  182. package/models/models_0.ts +435 -375
  183. package/package.json +32 -32
  184. package/protocols/Aws_query.ts +151 -46
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
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_queryGetTemplateSummaryCommand = 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_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_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 = 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;
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");
@@ -697,6 +697,19 @@ const serializeAws_queryRegisterTypeCommand = async (input, context) => {
697
697
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
698
698
  };
699
699
  exports.serializeAws_queryRegisterTypeCommand = serializeAws_queryRegisterTypeCommand;
700
+ const serializeAws_queryRollbackStackCommand = async (input, context) => {
701
+ const headers = {
702
+ "content-type": "application/x-www-form-urlencoded",
703
+ };
704
+ let body;
705
+ body = buildFormUrlencodedString({
706
+ ...serializeAws_queryRollbackStackInput(input, context),
707
+ Action: "RollbackStack",
708
+ Version: "2010-05-15",
709
+ });
710
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
711
+ };
712
+ exports.serializeAws_queryRollbackStackCommand = serializeAws_queryRollbackStackCommand;
700
713
  const serializeAws_querySetStackPolicyCommand = async (input, context) => {
701
714
  const headers = {
702
715
  "content-type": "application/x-www-form-urlencoded",
@@ -3493,6 +3506,53 @@ const deserializeAws_queryRegisterTypeCommandError = async (output, context) =>
3493
3506
  delete response.Message;
3494
3507
  return Promise.reject(Object.assign(new Error(message), response));
3495
3508
  };
3509
+ const deserializeAws_queryRollbackStackCommand = async (output, context) => {
3510
+ if (output.statusCode >= 300) {
3511
+ return deserializeAws_queryRollbackStackCommandError(output, context);
3512
+ }
3513
+ const data = await parseBody(output.body, context);
3514
+ let contents = {};
3515
+ contents = deserializeAws_queryRollbackStackOutput(data.RollbackStackResult, context);
3516
+ const response = {
3517
+ $metadata: deserializeMetadata(output),
3518
+ ...contents,
3519
+ };
3520
+ return Promise.resolve(response);
3521
+ };
3522
+ exports.deserializeAws_queryRollbackStackCommand = deserializeAws_queryRollbackStackCommand;
3523
+ const deserializeAws_queryRollbackStackCommandError = async (output, context) => {
3524
+ const parsedOutput = {
3525
+ ...output,
3526
+ body: await parseBody(output.body, context),
3527
+ };
3528
+ let response;
3529
+ let errorCode = "UnknownError";
3530
+ errorCode = loadQueryErrorCode(output, parsedOutput.body);
3531
+ switch (errorCode) {
3532
+ case "TokenAlreadyExistsException":
3533
+ case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
3534
+ response = {
3535
+ ...(await deserializeAws_queryTokenAlreadyExistsExceptionResponse(parsedOutput, context)),
3536
+ name: errorCode,
3537
+ $metadata: deserializeMetadata(output),
3538
+ };
3539
+ break;
3540
+ default:
3541
+ const parsedBody = parsedOutput.body;
3542
+ errorCode = parsedBody.Error.code || parsedBody.Error.Code || errorCode;
3543
+ response = {
3544
+ ...parsedBody.Error,
3545
+ name: `${errorCode}`,
3546
+ message: parsedBody.Error.message || parsedBody.Error.Message || errorCode,
3547
+ $fault: "client",
3548
+ $metadata: deserializeMetadata(output),
3549
+ };
3550
+ }
3551
+ const message = response.message || response.Message || errorCode;
3552
+ response.message = message;
3553
+ delete response.Message;
3554
+ return Promise.reject(Object.assign(new Error(message), response));
3555
+ };
3496
3556
  const deserializeAws_querySetStackPolicyCommand = async (output, context) => {
3497
3557
  if (output.statusCode >= 300) {
3498
3558
  return deserializeAws_querySetStackPolicyCommandError(output, context);
@@ -5110,6 +5170,9 @@ const serializeAws_queryExecuteChangeSetInput = (input, context) => {
5110
5170
  if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
5111
5171
  entries["ClientRequestToken"] = input.ClientRequestToken;
5112
5172
  }
5173
+ if (input.DisableRollback !== undefined && input.DisableRollback !== null) {
5174
+ entries["DisableRollback"] = input.DisableRollback;
5175
+ }
5113
5176
  return entries;
5114
5177
  };
5115
5178
  const serializeAws_queryGetStackPolicyInput = (input, context) => {
@@ -5648,6 +5711,19 @@ const serializeAws_queryRollbackConfiguration = (input, context) => {
5648
5711
  }
5649
5712
  return entries;
5650
5713
  };
5714
+ const serializeAws_queryRollbackStackInput = (input, context) => {
5715
+ const entries = {};
5716
+ if (input.StackName !== undefined && input.StackName !== null) {
5717
+ entries["StackName"] = input.StackName;
5718
+ }
5719
+ if (input.RoleARN !== undefined && input.RoleARN !== null) {
5720
+ entries["RoleARN"] = input.RoleARN;
5721
+ }
5722
+ if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
5723
+ entries["ClientRequestToken"] = input.ClientRequestToken;
5724
+ }
5725
+ return entries;
5726
+ };
5651
5727
  const serializeAws_queryRollbackTrigger = (input, context) => {
5652
5728
  const entries = {};
5653
5729
  if (input.Arn !== undefined && input.Arn !== null) {
@@ -5999,6 +6075,9 @@ const serializeAws_queryUpdateStackInput = (input, context) => {
5999
6075
  entries[loc] = value;
6000
6076
  });
6001
6077
  }
6078
+ if (input.DisableRollback !== undefined && input.DisableRollback !== null) {
6079
+ entries["DisableRollback"] = input.DisableRollback;
6080
+ }
6002
6081
  if (input.ClientRequestToken !== undefined && input.ClientRequestToken !== null) {
6003
6082
  entries["ClientRequestToken"] = input.ClientRequestToken;
6004
6083
  }
@@ -6190,7 +6269,7 @@ const deserializeAws_queryAccountLimit = (output, context) => {
6190
6269
  contents.Name = smithy_client_1.expectString(output["Name"]);
6191
6270
  }
6192
6271
  if (output["Value"] !== undefined) {
6193
- contents.Value = smithy_client_1.strictParseInt(output["Value"]);
6272
+ contents.Value = smithy_client_1.strictParseInt32(output["Value"]);
6194
6273
  }
6195
6274
  return contents;
6196
6275
  };
@@ -6407,7 +6486,7 @@ const deserializeAws_queryChangeSetSummary = (output, context) => {
6407
6486
  contents.StatusReason = smithy_client_1.expectString(output["StatusReason"]);
6408
6487
  }
6409
6488
  if (output["CreationTime"] !== undefined) {
6410
- contents.CreationTime = new Date(output["CreationTime"]);
6489
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
6411
6490
  }
6412
6491
  if (output["Description"] !== undefined) {
6413
6492
  contents.Description = smithy_client_1.expectString(output["Description"]);
@@ -6584,7 +6663,7 @@ const deserializeAws_queryDescribeChangeSetOutput = (output, context) => {
6584
6663
  contents.Parameters = deserializeAws_queryParameters(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["member"]), context);
6585
6664
  }
6586
6665
  if (output["CreationTime"] !== undefined) {
6587
- contents.CreationTime = new Date(output["CreationTime"]);
6666
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
6588
6667
  }
6589
6668
  if (output["ExecutionStatus"] !== undefined) {
6590
6669
  contents.ExecutionStatus = smithy_client_1.expectString(output["ExecutionStatus"]);
@@ -6683,10 +6762,10 @@ const deserializeAws_queryDescribeStackDriftDetectionStatusOutput = (output, con
6683
6762
  contents.DetectionStatusReason = smithy_client_1.expectString(output["DetectionStatusReason"]);
6684
6763
  }
6685
6764
  if (output["DriftedStackResourceCount"] !== undefined) {
6686
- contents.DriftedStackResourceCount = smithy_client_1.strictParseInt(output["DriftedStackResourceCount"]);
6765
+ contents.DriftedStackResourceCount = smithy_client_1.strictParseInt32(output["DriftedStackResourceCount"]);
6687
6766
  }
6688
6767
  if (output["Timestamp"] !== undefined) {
6689
- contents.Timestamp = new Date(output["Timestamp"]);
6768
+ contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
6690
6769
  }
6691
6770
  return contents;
6692
6771
  };
@@ -6871,10 +6950,10 @@ const deserializeAws_queryDescribeTypeOutput = (output, context) => {
6871
6950
  contents.DocumentationUrl = smithy_client_1.expectString(output["DocumentationUrl"]);
6872
6951
  }
6873
6952
  if (output["LastUpdated"] !== undefined) {
6874
- contents.LastUpdated = new Date(output["LastUpdated"]);
6953
+ contents.LastUpdated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdated"]));
6875
6954
  }
6876
6955
  if (output["TimeCreated"] !== undefined) {
6877
- contents.TimeCreated = new Date(output["TimeCreated"]);
6956
+ contents.TimeCreated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["TimeCreated"]));
6878
6957
  }
6879
6958
  if (output["ConfigurationSchema"] !== undefined) {
6880
6959
  contents.ConfigurationSchema = smithy_client_1.expectString(output["ConfigurationSchema"]);
@@ -7841,7 +7920,16 @@ const deserializeAws_queryRollbackConfiguration = (output, context) => {
7841
7920
  contents.RollbackTriggers = deserializeAws_queryRollbackTriggers(smithy_client_1.getArrayIfSingleItem(output["RollbackTriggers"]["member"]), context);
7842
7921
  }
7843
7922
  if (output["MonitoringTimeInMinutes"] !== undefined) {
7844
- contents.MonitoringTimeInMinutes = smithy_client_1.strictParseInt(output["MonitoringTimeInMinutes"]);
7923
+ contents.MonitoringTimeInMinutes = smithy_client_1.strictParseInt32(output["MonitoringTimeInMinutes"]);
7924
+ }
7925
+ return contents;
7926
+ };
7927
+ const deserializeAws_queryRollbackStackOutput = (output, context) => {
7928
+ let contents = {
7929
+ StackId: undefined,
7930
+ };
7931
+ if (output["StackId"] !== undefined) {
7932
+ contents.StackId = smithy_client_1.expectString(output["StackId"]);
7845
7933
  }
7846
7934
  return contents;
7847
7935
  };
@@ -7935,13 +8023,13 @@ const deserializeAws_queryStack = (output, context) => {
7935
8023
  contents.Parameters = deserializeAws_queryParameters(smithy_client_1.getArrayIfSingleItem(output["Parameters"]["member"]), context);
7936
8024
  }
7937
8025
  if (output["CreationTime"] !== undefined) {
7938
- contents.CreationTime = new Date(output["CreationTime"]);
8026
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
7939
8027
  }
7940
8028
  if (output["DeletionTime"] !== undefined) {
7941
- contents.DeletionTime = new Date(output["DeletionTime"]);
8029
+ contents.DeletionTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["DeletionTime"]));
7942
8030
  }
7943
8031
  if (output["LastUpdatedTime"] !== undefined) {
7944
- contents.LastUpdatedTime = new Date(output["LastUpdatedTime"]);
8032
+ contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdatedTime"]));
7945
8033
  }
7946
8034
  if (output["RollbackConfiguration"] !== undefined) {
7947
8035
  contents.RollbackConfiguration = deserializeAws_queryRollbackConfiguration(output["RollbackConfiguration"], context);
@@ -7962,7 +8050,7 @@ const deserializeAws_queryStack = (output, context) => {
7962
8050
  contents.NotificationARNs = deserializeAws_queryNotificationARNs(smithy_client_1.getArrayIfSingleItem(output["NotificationARNs"]["member"]), context);
7963
8051
  }
7964
8052
  if (output["TimeoutInMinutes"] !== undefined) {
7965
- contents.TimeoutInMinutes = smithy_client_1.strictParseInt(output["TimeoutInMinutes"]);
8053
+ contents.TimeoutInMinutes = smithy_client_1.strictParseInt32(output["TimeoutInMinutes"]);
7966
8054
  }
7967
8055
  if (output.Capabilities === "") {
7968
8056
  contents.Capabilities = [];
@@ -8008,7 +8096,7 @@ const deserializeAws_queryStackDriftInformation = (output, context) => {
8008
8096
  contents.StackDriftStatus = smithy_client_1.expectString(output["StackDriftStatus"]);
8009
8097
  }
8010
8098
  if (output["LastCheckTimestamp"] !== undefined) {
8011
- contents.LastCheckTimestamp = new Date(output["LastCheckTimestamp"]);
8099
+ contents.LastCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastCheckTimestamp"]));
8012
8100
  }
8013
8101
  return contents;
8014
8102
  };
@@ -8021,7 +8109,7 @@ const deserializeAws_queryStackDriftInformationSummary = (output, context) => {
8021
8109
  contents.StackDriftStatus = smithy_client_1.expectString(output["StackDriftStatus"]);
8022
8110
  }
8023
8111
  if (output["LastCheckTimestamp"] !== undefined) {
8024
- contents.LastCheckTimestamp = new Date(output["LastCheckTimestamp"]);
8112
+ contents.LastCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastCheckTimestamp"]));
8025
8113
  }
8026
8114
  return contents;
8027
8115
  };
@@ -8058,7 +8146,7 @@ const deserializeAws_queryStackEvent = (output, context) => {
8058
8146
  contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
8059
8147
  }
8060
8148
  if (output["Timestamp"] !== undefined) {
8061
- contents.Timestamp = new Date(output["Timestamp"]);
8149
+ contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
8062
8150
  }
8063
8151
  if (output["ResourceStatus"] !== undefined) {
8064
8152
  contents.ResourceStatus = smithy_client_1.expectString(output["ResourceStatus"]);
@@ -8132,7 +8220,7 @@ const deserializeAws_queryStackInstance = (output, context) => {
8132
8220
  contents.DriftStatus = smithy_client_1.expectString(output["DriftStatus"]);
8133
8221
  }
8134
8222
  if (output["LastDriftCheckTimestamp"] !== undefined) {
8135
- contents.LastDriftCheckTimestamp = new Date(output["LastDriftCheckTimestamp"]);
8223
+ contents.LastDriftCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
8136
8224
  }
8137
8225
  return contents;
8138
8226
  };
@@ -8205,7 +8293,7 @@ const deserializeAws_queryStackInstanceSummary = (output, context) => {
8205
8293
  contents.DriftStatus = smithy_client_1.expectString(output["DriftStatus"]);
8206
8294
  }
8207
8295
  if (output["LastDriftCheckTimestamp"] !== undefined) {
8208
- contents.LastDriftCheckTimestamp = new Date(output["LastDriftCheckTimestamp"]);
8296
+ contents.LastDriftCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
8209
8297
  }
8210
8298
  return contents;
8211
8299
  };
@@ -8248,7 +8336,7 @@ const deserializeAws_queryStackResource = (output, context) => {
8248
8336
  contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
8249
8337
  }
8250
8338
  if (output["Timestamp"] !== undefined) {
8251
- contents.Timestamp = new Date(output["Timestamp"]);
8339
+ contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
8252
8340
  }
8253
8341
  if (output["ResourceStatus"] !== undefined) {
8254
8342
  contents.ResourceStatus = smithy_client_1.expectString(output["ResourceStatus"]);
@@ -8298,7 +8386,7 @@ const deserializeAws_queryStackResourceDetail = (output, context) => {
8298
8386
  contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
8299
8387
  }
8300
8388
  if (output["LastUpdatedTimestamp"] !== undefined) {
8301
- contents.LastUpdatedTimestamp = new Date(output["LastUpdatedTimestamp"]);
8389
+ contents.LastUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdatedTimestamp"]));
8302
8390
  }
8303
8391
  if (output["ResourceStatus"] !== undefined) {
8304
8392
  contents.ResourceStatus = smithy_client_1.expectString(output["ResourceStatus"]);
@@ -8369,7 +8457,7 @@ const deserializeAws_queryStackResourceDrift = (output, context) => {
8369
8457
  contents.StackResourceDriftStatus = smithy_client_1.expectString(output["StackResourceDriftStatus"]);
8370
8458
  }
8371
8459
  if (output["Timestamp"] !== undefined) {
8372
- contents.Timestamp = new Date(output["Timestamp"]);
8460
+ contents.Timestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["Timestamp"]));
8373
8461
  }
8374
8462
  if (output["ModuleInfo"] !== undefined) {
8375
8463
  contents.ModuleInfo = deserializeAws_queryModuleInfo(output["ModuleInfo"], context);
@@ -8385,7 +8473,7 @@ const deserializeAws_queryStackResourceDriftInformation = (output, context) => {
8385
8473
  contents.StackResourceDriftStatus = smithy_client_1.expectString(output["StackResourceDriftStatus"]);
8386
8474
  }
8387
8475
  if (output["LastCheckTimestamp"] !== undefined) {
8388
- contents.LastCheckTimestamp = new Date(output["LastCheckTimestamp"]);
8476
+ contents.LastCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastCheckTimestamp"]));
8389
8477
  }
8390
8478
  return contents;
8391
8479
  };
@@ -8398,7 +8486,7 @@ const deserializeAws_queryStackResourceDriftInformationSummary = (output, contex
8398
8486
  contents.StackResourceDriftStatus = smithy_client_1.expectString(output["StackResourceDriftStatus"]);
8399
8487
  }
8400
8488
  if (output["LastCheckTimestamp"] !== undefined) {
8401
- contents.LastCheckTimestamp = new Date(output["LastCheckTimestamp"]);
8489
+ contents.LastCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastCheckTimestamp"]));
8402
8490
  }
8403
8491
  return contents;
8404
8492
  };
@@ -8453,7 +8541,7 @@ const deserializeAws_queryStackResourceSummary = (output, context) => {
8453
8541
  contents.ResourceType = smithy_client_1.expectString(output["ResourceType"]);
8454
8542
  }
8455
8543
  if (output["LastUpdatedTimestamp"] !== undefined) {
8456
- contents.LastUpdatedTimestamp = new Date(output["LastUpdatedTimestamp"]);
8544
+ contents.LastUpdatedTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdatedTimestamp"]));
8457
8545
  }
8458
8546
  if (output["ResourceStatus"] !== undefined) {
8459
8547
  contents.ResourceStatus = smithy_client_1.expectString(output["ResourceStatus"]);
@@ -8574,22 +8662,22 @@ const deserializeAws_queryStackSetDriftDetectionDetails = (output, context) => {
8574
8662
  contents.DriftDetectionStatus = smithy_client_1.expectString(output["DriftDetectionStatus"]);
8575
8663
  }
8576
8664
  if (output["LastDriftCheckTimestamp"] !== undefined) {
8577
- contents.LastDriftCheckTimestamp = new Date(output["LastDriftCheckTimestamp"]);
8665
+ contents.LastDriftCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
8578
8666
  }
8579
8667
  if (output["TotalStackInstancesCount"] !== undefined) {
8580
- contents.TotalStackInstancesCount = smithy_client_1.strictParseInt(output["TotalStackInstancesCount"]);
8668
+ contents.TotalStackInstancesCount = smithy_client_1.strictParseInt32(output["TotalStackInstancesCount"]);
8581
8669
  }
8582
8670
  if (output["DriftedStackInstancesCount"] !== undefined) {
8583
- contents.DriftedStackInstancesCount = smithy_client_1.strictParseInt(output["DriftedStackInstancesCount"]);
8671
+ contents.DriftedStackInstancesCount = smithy_client_1.strictParseInt32(output["DriftedStackInstancesCount"]);
8584
8672
  }
8585
8673
  if (output["InSyncStackInstancesCount"] !== undefined) {
8586
- contents.InSyncStackInstancesCount = smithy_client_1.strictParseInt(output["InSyncStackInstancesCount"]);
8674
+ contents.InSyncStackInstancesCount = smithy_client_1.strictParseInt32(output["InSyncStackInstancesCount"]);
8587
8675
  }
8588
8676
  if (output["InProgressStackInstancesCount"] !== undefined) {
8589
- contents.InProgressStackInstancesCount = smithy_client_1.strictParseInt(output["InProgressStackInstancesCount"]);
8677
+ contents.InProgressStackInstancesCount = smithy_client_1.strictParseInt32(output["InProgressStackInstancesCount"]);
8590
8678
  }
8591
8679
  if (output["FailedStackInstancesCount"] !== undefined) {
8592
- contents.FailedStackInstancesCount = smithy_client_1.strictParseInt(output["FailedStackInstancesCount"]);
8680
+ contents.FailedStackInstancesCount = smithy_client_1.strictParseInt32(output["FailedStackInstancesCount"]);
8593
8681
  }
8594
8682
  return contents;
8595
8683
  };
@@ -8651,10 +8739,10 @@ const deserializeAws_queryStackSetOperation = (output, context) => {
8651
8739
  contents.ExecutionRoleName = smithy_client_1.expectString(output["ExecutionRoleName"]);
8652
8740
  }
8653
8741
  if (output["CreationTimestamp"] !== undefined) {
8654
- contents.CreationTimestamp = new Date(output["CreationTimestamp"]);
8742
+ contents.CreationTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTimestamp"]));
8655
8743
  }
8656
8744
  if (output["EndTimestamp"] !== undefined) {
8657
- contents.EndTimestamp = new Date(output["EndTimestamp"]);
8745
+ contents.EndTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EndTimestamp"]));
8658
8746
  }
8659
8747
  if (output["DeploymentTargets"] !== undefined) {
8660
8748
  contents.DeploymentTargets = deserializeAws_queryDeploymentTargets(output["DeploymentTargets"], context);
@@ -8683,16 +8771,16 @@ const deserializeAws_queryStackSetOperationPreferences = (output, context) => {
8683
8771
  contents.RegionOrder = deserializeAws_queryRegionList(smithy_client_1.getArrayIfSingleItem(output["RegionOrder"]["member"]), context);
8684
8772
  }
8685
8773
  if (output["FailureToleranceCount"] !== undefined) {
8686
- contents.FailureToleranceCount = smithy_client_1.strictParseInt(output["FailureToleranceCount"]);
8774
+ contents.FailureToleranceCount = smithy_client_1.strictParseInt32(output["FailureToleranceCount"]);
8687
8775
  }
8688
8776
  if (output["FailureTolerancePercentage"] !== undefined) {
8689
- contents.FailureTolerancePercentage = smithy_client_1.strictParseInt(output["FailureTolerancePercentage"]);
8777
+ contents.FailureTolerancePercentage = smithy_client_1.strictParseInt32(output["FailureTolerancePercentage"]);
8690
8778
  }
8691
8779
  if (output["MaxConcurrentCount"] !== undefined) {
8692
- contents.MaxConcurrentCount = smithy_client_1.strictParseInt(output["MaxConcurrentCount"]);
8780
+ contents.MaxConcurrentCount = smithy_client_1.strictParseInt32(output["MaxConcurrentCount"]);
8693
8781
  }
8694
8782
  if (output["MaxConcurrentPercentage"] !== undefined) {
8695
- contents.MaxConcurrentPercentage = smithy_client_1.strictParseInt(output["MaxConcurrentPercentage"]);
8783
+ contents.MaxConcurrentPercentage = smithy_client_1.strictParseInt32(output["MaxConcurrentPercentage"]);
8696
8784
  }
8697
8785
  return contents;
8698
8786
  };
@@ -8763,10 +8851,10 @@ const deserializeAws_queryStackSetOperationSummary = (output, context) => {
8763
8851
  contents.Status = smithy_client_1.expectString(output["Status"]);
8764
8852
  }
8765
8853
  if (output["CreationTimestamp"] !== undefined) {
8766
- contents.CreationTimestamp = new Date(output["CreationTimestamp"]);
8854
+ contents.CreationTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTimestamp"]));
8767
8855
  }
8768
8856
  if (output["EndTimestamp"] !== undefined) {
8769
- contents.EndTimestamp = new Date(output["EndTimestamp"]);
8857
+ contents.EndTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["EndTimestamp"]));
8770
8858
  }
8771
8859
  return contents;
8772
8860
  };
@@ -8813,7 +8901,7 @@ const deserializeAws_queryStackSetSummary = (output, context) => {
8813
8901
  contents.DriftStatus = smithy_client_1.expectString(output["DriftStatus"]);
8814
8902
  }
8815
8903
  if (output["LastDriftCheckTimestamp"] !== undefined) {
8816
- contents.LastDriftCheckTimestamp = new Date(output["LastDriftCheckTimestamp"]);
8904
+ contents.LastDriftCheckTimestamp = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastDriftCheckTimestamp"]));
8817
8905
  }
8818
8906
  return contents;
8819
8907
  };
@@ -8851,13 +8939,13 @@ const deserializeAws_queryStackSummary = (output, context) => {
8851
8939
  contents.TemplateDescription = smithy_client_1.expectString(output["TemplateDescription"]);
8852
8940
  }
8853
8941
  if (output["CreationTime"] !== undefined) {
8854
- contents.CreationTime = new Date(output["CreationTime"]);
8942
+ contents.CreationTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["CreationTime"]));
8855
8943
  }
8856
8944
  if (output["LastUpdatedTime"] !== undefined) {
8857
- contents.LastUpdatedTime = new Date(output["LastUpdatedTime"]);
8945
+ contents.LastUpdatedTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdatedTime"]));
8858
8946
  }
8859
8947
  if (output["DeletionTime"] !== undefined) {
8860
- contents.DeletionTime = new Date(output["DeletionTime"]);
8948
+ contents.DeletionTime = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["DeletionTime"]));
8861
8949
  }
8862
8950
  if (output["StackStatus"] !== undefined) {
8863
8951
  contents.StackStatus = smithy_client_1.expectString(output["StackStatus"]);
@@ -8906,7 +8994,7 @@ const deserializeAws_querySupportedMajorVersions = (output, context) => {
8906
8994
  if (entry === null) {
8907
8995
  return null;
8908
8996
  }
8909
- return smithy_client_1.strictParseInt(entry);
8997
+ return smithy_client_1.strictParseInt32(entry);
8910
8998
  });
8911
8999
  };
8912
9000
  const deserializeAws_queryTag = (output, context) => {
@@ -9011,7 +9099,7 @@ const deserializeAws_queryTypeConfigurationDetails = (output, context) => {
9011
9099
  contents.Configuration = smithy_client_1.expectString(output["Configuration"]);
9012
9100
  }
9013
9101
  if (output["LastUpdated"] !== undefined) {
9014
- contents.LastUpdated = new Date(output["LastUpdated"]);
9102
+ contents.LastUpdated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdated"]));
9015
9103
  }
9016
9104
  if (output["TypeArn"] !== undefined) {
9017
9105
  contents.TypeArn = smithy_client_1.expectString(output["TypeArn"]);
@@ -9116,7 +9204,7 @@ const deserializeAws_queryTypeSummary = (output, context) => {
9116
9204
  contents.TypeArn = smithy_client_1.expectString(output["TypeArn"]);
9117
9205
  }
9118
9206
  if (output["LastUpdated"] !== undefined) {
9119
- contents.LastUpdated = new Date(output["LastUpdated"]);
9207
+ contents.LastUpdated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["LastUpdated"]));
9120
9208
  }
9121
9209
  if (output["Description"] !== undefined) {
9122
9210
  contents.Description = smithy_client_1.expectString(output["Description"]);
@@ -9181,7 +9269,7 @@ const deserializeAws_queryTypeVersionSummary = (output, context) => {
9181
9269
  contents.Arn = smithy_client_1.expectString(output["Arn"]);
9182
9270
  }
9183
9271
  if (output["TimeCreated"] !== undefined) {
9184
- contents.TimeCreated = new Date(output["TimeCreated"]);
9272
+ contents.TimeCreated = smithy_client_1.expectNonNull(smithy_client_1.parseRfc3339DateTime(output["TimeCreated"]));
9185
9273
  }
9186
9274
  if (output["Description"] !== undefined) {
9187
9275
  contents.Description = smithy_client_1.expectString(output["Description"]);