@aws-sdk/client-cloudformation 3.503.1 → 3.507.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 (101) hide show
  1. package/README.md +88 -0
  2. package/dist-cjs/commands/CreateGeneratedTemplateCommand.js +1 -0
  3. package/dist-cjs/commands/DeleteGeneratedTemplateCommand.js +1 -0
  4. package/dist-cjs/commands/DescribeGeneratedTemplateCommand.js +1 -0
  5. package/dist-cjs/commands/DescribeResourceScanCommand.js +1 -0
  6. package/dist-cjs/commands/GetGeneratedTemplateCommand.js +1 -0
  7. package/dist-cjs/commands/ListGeneratedTemplatesCommand.js +1 -0
  8. package/dist-cjs/commands/ListResourceScanRelatedResourcesCommand.js +1 -0
  9. package/dist-cjs/commands/ListResourceScanResourcesCommand.js +1 -0
  10. package/dist-cjs/commands/ListResourceScansCommand.js +1 -0
  11. package/dist-cjs/commands/StartResourceScanCommand.js +1 -0
  12. package/dist-cjs/commands/UpdateGeneratedTemplateCommand.js +1 -0
  13. package/dist-cjs/index.js +1618 -1519
  14. package/dist-cjs/models/models_1.js +1 -0
  15. package/dist-cjs/pagination/ListGeneratedTemplatesPaginator.js +1 -0
  16. package/dist-cjs/pagination/ListResourceScanRelatedResourcesPaginator.js +1 -0
  17. package/dist-cjs/pagination/ListResourceScanResourcesPaginator.js +1 -0
  18. package/dist-cjs/pagination/ListResourceScansPaginator.js +1 -0
  19. package/dist-es/CloudFormation.js +22 -0
  20. package/dist-es/commands/CreateGeneratedTemplateCommand.js +24 -0
  21. package/dist-es/commands/DeleteGeneratedTemplateCommand.js +24 -0
  22. package/dist-es/commands/DescribeGeneratedTemplateCommand.js +24 -0
  23. package/dist-es/commands/DescribeResourceScanCommand.js +24 -0
  24. package/dist-es/commands/GetGeneratedTemplateCommand.js +24 -0
  25. package/dist-es/commands/ListGeneratedTemplatesCommand.js +24 -0
  26. package/dist-es/commands/ListResourceScanRelatedResourcesCommand.js +24 -0
  27. package/dist-es/commands/ListResourceScanResourcesCommand.js +24 -0
  28. package/dist-es/commands/ListResourceScansCommand.js +24 -0
  29. package/dist-es/commands/StartResourceScanCommand.js +24 -0
  30. package/dist-es/commands/UpdateGeneratedTemplateCommand.js +24 -0
  31. package/dist-es/commands/index.js +11 -0
  32. package/dist-es/models/index.js +1 -0
  33. package/dist-es/models/models_0.js +104 -0
  34. package/dist-es/models/models_1.js +1 -0
  35. package/dist-es/pagination/ListGeneratedTemplatesPaginator.js +4 -0
  36. package/dist-es/pagination/ListResourceScanRelatedResourcesPaginator.js +4 -0
  37. package/dist-es/pagination/ListResourceScanResourcesPaginator.js +4 -0
  38. package/dist-es/pagination/ListResourceScansPaginator.js +4 -0
  39. package/dist-es/pagination/index.js +4 -0
  40. package/dist-es/protocols/Aws_query.js +1254 -1529
  41. package/dist-types/CloudFormation.d.ts +77 -0
  42. package/dist-types/CloudFormationClient.d.ts +13 -2
  43. package/dist-types/commands/CreateGeneratedTemplateCommand.d.ts +116 -0
  44. package/dist-types/commands/DeleteGeneratedTemplateCommand.d.ts +75 -0
  45. package/dist-types/commands/DescribeGeneratedTemplateCommand.d.ts +135 -0
  46. package/dist-types/commands/DescribeResourceScanCommand.d.ts +168 -0
  47. package/dist-types/commands/GetGeneratedTemplateCommand.d.ts +100 -0
  48. package/dist-types/commands/ListGeneratedTemplatesCommand.d.ts +112 -0
  49. package/dist-types/commands/ListResourceScanRelatedResourcesCommand.d.ts +145 -0
  50. package/dist-types/commands/ListResourceScanResourcesCommand.d.ts +147 -0
  51. package/dist-types/commands/ListResourceScansCommand.d.ts +97 -0
  52. package/dist-types/commands/StartResourceScanCommand.d.ts +91 -0
  53. package/dist-types/commands/StopStackSetOperationCommand.d.ts +1 -1
  54. package/dist-types/commands/TestTypeCommand.d.ts +1 -1
  55. package/dist-types/commands/UpdateGeneratedTemplateCommand.d.ts +156 -0
  56. package/dist-types/commands/UpdateStackCommand.d.ts +1 -1
  57. package/dist-types/commands/UpdateStackInstancesCommand.d.ts +1 -1
  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/ValidateTemplateCommand.d.ts +1 -1
  61. package/dist-types/commands/index.d.ts +11 -0
  62. package/dist-types/models/index.d.ts +1 -0
  63. package/dist-types/models/models_0.d.ts +4075 -3877
  64. package/dist-types/models/models_1.d.ts +974 -0
  65. package/dist-types/pagination/ListGeneratedTemplatesPaginator.d.ts +7 -0
  66. package/dist-types/pagination/ListResourceScanRelatedResourcesPaginator.d.ts +7 -0
  67. package/dist-types/pagination/ListResourceScanResourcesPaginator.d.ts +7 -0
  68. package/dist-types/pagination/ListResourceScansPaginator.d.ts +7 -0
  69. package/dist-types/pagination/index.d.ts +4 -0
  70. package/dist-types/protocols/Aws_query.d.ts +99 -0
  71. package/dist-types/ts3.4/CloudFormation.d.ts +187 -0
  72. package/dist-types/ts3.4/CloudFormationClient.d.ts +66 -0
  73. package/dist-types/ts3.4/commands/CreateGeneratedTemplateCommand.d.ts +30 -0
  74. package/dist-types/ts3.4/commands/DeleteGeneratedTemplateCommand.d.ts +26 -0
  75. package/dist-types/ts3.4/commands/DescribeGeneratedTemplateCommand.d.ts +30 -0
  76. package/dist-types/ts3.4/commands/DescribeResourceScanCommand.d.ts +30 -0
  77. package/dist-types/ts3.4/commands/GetGeneratedTemplateCommand.d.ts +30 -0
  78. package/dist-types/ts3.4/commands/ListGeneratedTemplatesCommand.d.ts +30 -0
  79. package/dist-types/ts3.4/commands/ListResourceScanRelatedResourcesCommand.d.ts +30 -0
  80. package/dist-types/ts3.4/commands/ListResourceScanResourcesCommand.d.ts +30 -0
  81. package/dist-types/ts3.4/commands/ListResourceScansCommand.d.ts +29 -0
  82. package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +29 -0
  83. package/dist-types/ts3.4/commands/StopStackSetOperationCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/TestTypeCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/UpdateGeneratedTemplateCommand.d.ts +30 -0
  86. package/dist-types/ts3.4/commands/UpdateStackCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/UpdateStackInstancesCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/UpdateStackSetCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/UpdateTerminationProtectionCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/ValidateTemplateCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/index.d.ts +11 -0
  92. package/dist-types/ts3.4/models/index.d.ts +1 -0
  93. package/dist-types/ts3.4/models/models_0.d.ts +250 -99
  94. package/dist-types/ts3.4/models/models_1.d.ts +132 -0
  95. package/dist-types/ts3.4/pagination/ListGeneratedTemplatesPaginator.d.ts +11 -0
  96. package/dist-types/ts3.4/pagination/ListResourceScanRelatedResourcesPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/ListResourceScanResourcesPaginator.d.ts +11 -0
  98. package/dist-types/ts3.4/pagination/ListResourceScansPaginator.d.ts +11 -0
  99. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  100. package/dist-types/ts3.4/protocols/Aws_query.d.ts +132 -0
  101. package/package.json +3 -3
@@ -1,9 +1,9 @@
1
1
  import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
2
- import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, withBaseException, } from "@smithy/smithy-client";
2
+ import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, withBaseException, } from "@smithy/smithy-client";
3
3
  import { XMLParser } from "fast-xml-parser";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { CloudFormationServiceException as __BaseException } from "../models/CloudFormationServiceException";
6
- import { AlreadyExistsException, CFNRegistryException, ChangeSetNotFoundException, CreatedButModifiedException, InsufficientCapabilitiesException, InvalidChangeSetStatusException, InvalidOperationException, InvalidStateTransitionException, LimitExceededException, NameAlreadyExistsException, OperationIdAlreadyExistsException, OperationInProgressException, OperationNotFoundException, OperationStatusCheckFailedException, StackInstanceNotFoundException, StackNotFoundException, StackSetNotEmptyException, StackSetNotFoundException, StaleRequestException, TokenAlreadyExistsException, TypeConfigurationNotFoundException, TypeNotFoundException, } from "../models/models_0";
6
+ import { AlreadyExistsException, CFNRegistryException, ChangeSetNotFoundException, ConcurrentResourcesLimitExceededException, CreatedButModifiedException, GeneratedTemplateNotFoundException, InsufficientCapabilitiesException, InvalidChangeSetStatusException, InvalidOperationException, InvalidStateTransitionException, LimitExceededException, NameAlreadyExistsException, OperationIdAlreadyExistsException, OperationInProgressException, OperationNotFoundException, OperationStatusCheckFailedException, ResourceScanInProgressException, ResourceScanLimitExceededException, ResourceScanNotFoundException, StackInstanceNotFoundException, StackNotFoundException, StackSetNotEmptyException, StackSetNotFoundException, StaleRequestException, TokenAlreadyExistsException, TypeConfigurationNotFoundException, TypeNotFoundException, } from "../models/models_0";
7
7
  export const se_ActivateOrganizationsAccessCommand = async (input, context) => {
8
8
  const headers = SHARED_HEADERS;
9
9
  let body;
@@ -64,6 +64,16 @@ export const se_CreateChangeSetCommand = async (input, context) => {
64
64
  });
65
65
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
66
66
  };
67
+ export const se_CreateGeneratedTemplateCommand = async (input, context) => {
68
+ const headers = SHARED_HEADERS;
69
+ let body;
70
+ body = buildFormUrlencodedString({
71
+ ...se_CreateGeneratedTemplateInput(input, context),
72
+ [_A]: _CGT,
73
+ [_V]: _,
74
+ });
75
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
76
+ };
67
77
  export const se_CreateStackCommand = async (input, context) => {
68
78
  const headers = SHARED_HEADERS;
69
79
  let body;
@@ -124,6 +134,16 @@ export const se_DeleteChangeSetCommand = async (input, context) => {
124
134
  });
125
135
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
126
136
  };
137
+ export const se_DeleteGeneratedTemplateCommand = async (input, context) => {
138
+ const headers = SHARED_HEADERS;
139
+ let body;
140
+ body = buildFormUrlencodedString({
141
+ ...se_DeleteGeneratedTemplateInput(input, context),
142
+ [_A]: _DGT,
143
+ [_V]: _,
144
+ });
145
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
146
+ };
127
147
  export const se_DeleteStackCommand = async (input, context) => {
128
148
  const headers = SHARED_HEADERS;
129
149
  let body;
@@ -194,6 +214,16 @@ export const se_DescribeChangeSetHooksCommand = async (input, context) => {
194
214
  });
195
215
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
196
216
  };
217
+ export const se_DescribeGeneratedTemplateCommand = async (input, context) => {
218
+ const headers = SHARED_HEADERS;
219
+ let body;
220
+ body = buildFormUrlencodedString({
221
+ ...se_DescribeGeneratedTemplateInput(input, context),
222
+ [_A]: _DGTe,
223
+ [_V]: _,
224
+ });
225
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
226
+ };
197
227
  export const se_DescribeOrganizationsAccessCommand = async (input, context) => {
198
228
  const headers = SHARED_HEADERS;
199
229
  let body;
@@ -214,6 +244,16 @@ export const se_DescribePublisherCommand = async (input, context) => {
214
244
  });
215
245
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
216
246
  };
247
+ export const se_DescribeResourceScanCommand = async (input, context) => {
248
+ const headers = SHARED_HEADERS;
249
+ let body;
250
+ body = buildFormUrlencodedString({
251
+ ...se_DescribeResourceScanInput(input, context),
252
+ [_A]: _DRS,
253
+ [_V]: _,
254
+ });
255
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
256
+ };
217
257
  export const se_DescribeStackDriftDetectionStatusCommand = async (input, context) => {
218
258
  const headers = SHARED_HEADERS;
219
259
  let body;
@@ -374,6 +414,16 @@ export const se_ExecuteChangeSetCommand = async (input, context) => {
374
414
  });
375
415
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
376
416
  };
417
+ export const se_GetGeneratedTemplateCommand = async (input, context) => {
418
+ const headers = SHARED_HEADERS;
419
+ let body;
420
+ body = buildFormUrlencodedString({
421
+ ...se_GetGeneratedTemplateInput(input, context),
422
+ [_A]: _GGT,
423
+ [_V]: _,
424
+ });
425
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
426
+ };
377
427
  export const se_GetStackPolicyCommand = async (input, context) => {
378
428
  const headers = SHARED_HEADERS;
379
429
  let body;
@@ -434,6 +484,16 @@ export const se_ListExportsCommand = async (input, context) => {
434
484
  });
435
485
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
436
486
  };
487
+ export const se_ListGeneratedTemplatesCommand = async (input, context) => {
488
+ const headers = SHARED_HEADERS;
489
+ let body;
490
+ body = buildFormUrlencodedString({
491
+ ...se_ListGeneratedTemplatesInput(input, context),
492
+ [_A]: _LGT,
493
+ [_V]: _,
494
+ });
495
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
496
+ };
437
497
  export const se_ListImportsCommand = async (input, context) => {
438
498
  const headers = SHARED_HEADERS;
439
499
  let body;
@@ -444,6 +504,36 @@ export const se_ListImportsCommand = async (input, context) => {
444
504
  });
445
505
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
446
506
  };
507
+ export const se_ListResourceScanRelatedResourcesCommand = async (input, context) => {
508
+ const headers = SHARED_HEADERS;
509
+ let body;
510
+ body = buildFormUrlencodedString({
511
+ ...se_ListResourceScanRelatedResourcesInput(input, context),
512
+ [_A]: _LRSRR,
513
+ [_V]: _,
514
+ });
515
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
516
+ };
517
+ export const se_ListResourceScanResourcesCommand = async (input, context) => {
518
+ const headers = SHARED_HEADERS;
519
+ let body;
520
+ body = buildFormUrlencodedString({
521
+ ...se_ListResourceScanResourcesInput(input, context),
522
+ [_A]: _LRSR,
523
+ [_V]: _,
524
+ });
525
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
526
+ };
527
+ export const se_ListResourceScansCommand = async (input, context) => {
528
+ const headers = SHARED_HEADERS;
529
+ let body;
530
+ body = buildFormUrlencodedString({
531
+ ...se_ListResourceScansInput(input, context),
532
+ [_A]: _LRS,
533
+ [_V]: _,
534
+ });
535
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
536
+ };
447
537
  export const se_ListStackInstanceResourceDriftsCommand = async (input, context) => {
448
538
  const headers = SHARED_HEADERS;
449
539
  let body;
@@ -634,6 +724,16 @@ export const se_SignalResourceCommand = async (input, context) => {
634
724
  });
635
725
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
636
726
  };
727
+ export const se_StartResourceScanCommand = async (input, context) => {
728
+ const headers = SHARED_HEADERS;
729
+ let body;
730
+ body = buildFormUrlencodedString({
731
+ ...se_StartResourceScanInput(input, context),
732
+ [_A]: _SRS,
733
+ [_V]: _,
734
+ });
735
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
736
+ };
637
737
  export const se_StopStackSetOperationCommand = async (input, context) => {
638
738
  const headers = SHARED_HEADERS;
639
739
  let body;
@@ -654,6 +754,16 @@ export const se_TestTypeCommand = async (input, context) => {
654
754
  });
655
755
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
656
756
  };
757
+ export const se_UpdateGeneratedTemplateCommand = async (input, context) => {
758
+ const headers = SHARED_HEADERS;
759
+ let body;
760
+ body = buildFormUrlencodedString({
761
+ ...se_UpdateGeneratedTemplateInput(input, context),
762
+ [_A]: _UGT,
763
+ [_V]: _,
764
+ });
765
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
766
+ };
657
767
  export const se_UpdateStackCommand = async (input, context) => {
658
768
  const headers = SHARED_HEADERS;
659
769
  let body;
@@ -706,7 +816,7 @@ export const se_ValidateTemplateCommand = async (input, context) => {
706
816
  };
707
817
  export const de_ActivateOrganizationsAccessCommand = async (output, context) => {
708
818
  if (output.statusCode >= 300) {
709
- return de_ActivateOrganizationsAccessCommandError(output, context);
819
+ return de_CommandError(output, context);
710
820
  }
711
821
  const data = await parseBody(output.body, context);
712
822
  let contents = {};
@@ -717,31 +827,9 @@ export const de_ActivateOrganizationsAccessCommand = async (output, context) =>
717
827
  };
718
828
  return response;
719
829
  };
720
- const de_ActivateOrganizationsAccessCommandError = async (output, context) => {
721
- const parsedOutput = {
722
- ...output,
723
- body: await parseErrorBody(output.body, context),
724
- };
725
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
726
- switch (errorCode) {
727
- case "InvalidOperationException":
728
- case "com.amazonaws.cloudformation#InvalidOperationException":
729
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
730
- case "OperationNotFoundException":
731
- case "com.amazonaws.cloudformation#OperationNotFoundException":
732
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
733
- default:
734
- const parsedBody = parsedOutput.body;
735
- return throwDefaultError({
736
- output,
737
- parsedBody: parsedBody.Error,
738
- errorCode,
739
- });
740
- }
741
- };
742
830
  export const de_ActivateTypeCommand = async (output, context) => {
743
831
  if (output.statusCode >= 300) {
744
- return de_ActivateTypeCommandError(output, context);
832
+ return de_CommandError(output, context);
745
833
  }
746
834
  const data = await parseBody(output.body, context);
747
835
  let contents = {};
@@ -752,31 +840,9 @@ export const de_ActivateTypeCommand = async (output, context) => {
752
840
  };
753
841
  return response;
754
842
  };
755
- const de_ActivateTypeCommandError = async (output, context) => {
756
- const parsedOutput = {
757
- ...output,
758
- body: await parseErrorBody(output.body, context),
759
- };
760
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
761
- switch (errorCode) {
762
- case "CFNRegistryException":
763
- case "com.amazonaws.cloudformation#CFNRegistryException":
764
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
765
- case "TypeNotFoundException":
766
- case "com.amazonaws.cloudformation#TypeNotFoundException":
767
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
768
- default:
769
- const parsedBody = parsedOutput.body;
770
- return throwDefaultError({
771
- output,
772
- parsedBody: parsedBody.Error,
773
- errorCode,
774
- });
775
- }
776
- };
777
843
  export const de_BatchDescribeTypeConfigurationsCommand = async (output, context) => {
778
844
  if (output.statusCode >= 300) {
779
- return de_BatchDescribeTypeConfigurationsCommandError(output, context);
845
+ return de_CommandError(output, context);
780
846
  }
781
847
  const data = await parseBody(output.body, context);
782
848
  let contents = {};
@@ -787,31 +853,9 @@ export const de_BatchDescribeTypeConfigurationsCommand = async (output, context)
787
853
  };
788
854
  return response;
789
855
  };
790
- const de_BatchDescribeTypeConfigurationsCommandError = async (output, context) => {
791
- const parsedOutput = {
792
- ...output,
793
- body: await parseErrorBody(output.body, context),
794
- };
795
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
796
- switch (errorCode) {
797
- case "CFNRegistryException":
798
- case "com.amazonaws.cloudformation#CFNRegistryException":
799
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
800
- case "TypeConfigurationNotFoundException":
801
- case "com.amazonaws.cloudformation#TypeConfigurationNotFoundException":
802
- throw await de_TypeConfigurationNotFoundExceptionRes(parsedOutput, context);
803
- default:
804
- const parsedBody = parsedOutput.body;
805
- return throwDefaultError({
806
- output,
807
- parsedBody: parsedBody.Error,
808
- errorCode,
809
- });
810
- }
811
- };
812
856
  export const de_CancelUpdateStackCommand = async (output, context) => {
813
857
  if (output.statusCode >= 300) {
814
- return de_CancelUpdateStackCommandError(output, context);
858
+ return de_CommandError(output, context);
815
859
  }
816
860
  await collectBody(output.body, context);
817
861
  const response = {
@@ -819,28 +863,9 @@ export const de_CancelUpdateStackCommand = async (output, context) => {
819
863
  };
820
864
  return response;
821
865
  };
822
- const de_CancelUpdateStackCommandError = async (output, context) => {
823
- const parsedOutput = {
824
- ...output,
825
- body: await parseErrorBody(output.body, context),
826
- };
827
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
828
- switch (errorCode) {
829
- case "TokenAlreadyExistsException":
830
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
831
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
832
- default:
833
- const parsedBody = parsedOutput.body;
834
- return throwDefaultError({
835
- output,
836
- parsedBody: parsedBody.Error,
837
- errorCode,
838
- });
839
- }
840
- };
841
866
  export const de_ContinueUpdateRollbackCommand = async (output, context) => {
842
867
  if (output.statusCode >= 300) {
843
- return de_ContinueUpdateRollbackCommandError(output, context);
868
+ return de_CommandError(output, context);
844
869
  }
845
870
  const data = await parseBody(output.body, context);
846
871
  let contents = {};
@@ -851,28 +876,9 @@ export const de_ContinueUpdateRollbackCommand = async (output, context) => {
851
876
  };
852
877
  return response;
853
878
  };
854
- const de_ContinueUpdateRollbackCommandError = async (output, context) => {
855
- const parsedOutput = {
856
- ...output,
857
- body: await parseErrorBody(output.body, context),
858
- };
859
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
860
- switch (errorCode) {
861
- case "TokenAlreadyExistsException":
862
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
863
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
864
- default:
865
- const parsedBody = parsedOutput.body;
866
- return throwDefaultError({
867
- output,
868
- parsedBody: parsedBody.Error,
869
- errorCode,
870
- });
871
- }
872
- };
873
879
  export const de_CreateChangeSetCommand = async (output, context) => {
874
880
  if (output.statusCode >= 300) {
875
- return de_CreateChangeSetCommandError(output, context);
881
+ return de_CommandError(output, context);
876
882
  }
877
883
  const data = await parseBody(output.body, context);
878
884
  let contents = {};
@@ -883,34 +889,22 @@ export const de_CreateChangeSetCommand = async (output, context) => {
883
889
  };
884
890
  return response;
885
891
  };
886
- const de_CreateChangeSetCommandError = async (output, context) => {
887
- const parsedOutput = {
888
- ...output,
889
- body: await parseErrorBody(output.body, context),
890
- };
891
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
892
- switch (errorCode) {
893
- case "AlreadyExistsException":
894
- case "com.amazonaws.cloudformation#AlreadyExistsException":
895
- throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
896
- case "InsufficientCapabilitiesException":
897
- case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
898
- throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
899
- case "LimitExceededException":
900
- case "com.amazonaws.cloudformation#LimitExceededException":
901
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
902
- default:
903
- const parsedBody = parsedOutput.body;
904
- return throwDefaultError({
905
- output,
906
- parsedBody: parsedBody.Error,
907
- errorCode,
908
- });
892
+ export const de_CreateGeneratedTemplateCommand = async (output, context) => {
893
+ if (output.statusCode >= 300) {
894
+ return de_CommandError(output, context);
909
895
  }
896
+ const data = await parseBody(output.body, context);
897
+ let contents = {};
898
+ contents = de_CreateGeneratedTemplateOutput(data.CreateGeneratedTemplateResult, context);
899
+ const response = {
900
+ $metadata: deserializeMetadata(output),
901
+ ...contents,
902
+ };
903
+ return response;
910
904
  };
911
905
  export const de_CreateStackCommand = async (output, context) => {
912
906
  if (output.statusCode >= 300) {
913
- return de_CreateStackCommandError(output, context);
907
+ return de_CommandError(output, context);
914
908
  }
915
909
  const data = await parseBody(output.body, context);
916
910
  let contents = {};
@@ -921,37 +915,9 @@ export const de_CreateStackCommand = async (output, context) => {
921
915
  };
922
916
  return response;
923
917
  };
924
- const de_CreateStackCommandError = async (output, context) => {
925
- const parsedOutput = {
926
- ...output,
927
- body: await parseErrorBody(output.body, context),
928
- };
929
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
930
- switch (errorCode) {
931
- case "AlreadyExistsException":
932
- case "com.amazonaws.cloudformation#AlreadyExistsException":
933
- throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
934
- case "InsufficientCapabilitiesException":
935
- case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
936
- throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
937
- case "LimitExceededException":
938
- case "com.amazonaws.cloudformation#LimitExceededException":
939
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
940
- case "TokenAlreadyExistsException":
941
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
942
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
943
- default:
944
- const parsedBody = parsedOutput.body;
945
- return throwDefaultError({
946
- output,
947
- parsedBody: parsedBody.Error,
948
- errorCode,
949
- });
950
- }
951
- };
952
918
  export const de_CreateStackInstancesCommand = async (output, context) => {
953
919
  if (output.statusCode >= 300) {
954
- return de_CreateStackInstancesCommandError(output, context);
920
+ return de_CommandError(output, context);
955
921
  }
956
922
  const data = await parseBody(output.body, context);
957
923
  let contents = {};
@@ -962,81 +928,22 @@ export const de_CreateStackInstancesCommand = async (output, context) => {
962
928
  };
963
929
  return response;
964
930
  };
965
- const de_CreateStackInstancesCommandError = async (output, context) => {
966
- const parsedOutput = {
967
- ...output,
968
- body: await parseErrorBody(output.body, context),
969
- };
970
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
971
- switch (errorCode) {
972
- case "InvalidOperationException":
973
- case "com.amazonaws.cloudformation#InvalidOperationException":
974
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
975
- case "LimitExceededException":
976
- case "com.amazonaws.cloudformation#LimitExceededException":
977
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
978
- case "OperationIdAlreadyExistsException":
979
- case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
980
- throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
981
- case "OperationInProgressException":
982
- case "com.amazonaws.cloudformation#OperationInProgressException":
983
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
984
- case "StackSetNotFoundException":
985
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
986
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
987
- case "StaleRequestException":
988
- case "com.amazonaws.cloudformation#StaleRequestException":
989
- throw await de_StaleRequestExceptionRes(parsedOutput, context);
990
- default:
991
- const parsedBody = parsedOutput.body;
992
- return throwDefaultError({
993
- output,
994
- parsedBody: parsedBody.Error,
995
- errorCode,
996
- });
997
- }
998
- };
999
- export const de_CreateStackSetCommand = async (output, context) => {
1000
- if (output.statusCode >= 300) {
1001
- return de_CreateStackSetCommandError(output, context);
1002
- }
1003
- const data = await parseBody(output.body, context);
1004
- let contents = {};
1005
- contents = de_CreateStackSetOutput(data.CreateStackSetResult, context);
1006
- const response = {
1007
- $metadata: deserializeMetadata(output),
1008
- ...contents,
931
+ export const de_CreateStackSetCommand = async (output, context) => {
932
+ if (output.statusCode >= 300) {
933
+ return de_CommandError(output, context);
934
+ }
935
+ const data = await parseBody(output.body, context);
936
+ let contents = {};
937
+ contents = de_CreateStackSetOutput(data.CreateStackSetResult, context);
938
+ const response = {
939
+ $metadata: deserializeMetadata(output),
940
+ ...contents,
1009
941
  };
1010
942
  return response;
1011
943
  };
1012
- const de_CreateStackSetCommandError = async (output, context) => {
1013
- const parsedOutput = {
1014
- ...output,
1015
- body: await parseErrorBody(output.body, context),
1016
- };
1017
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1018
- switch (errorCode) {
1019
- case "CreatedButModifiedException":
1020
- case "com.amazonaws.cloudformation#CreatedButModifiedException":
1021
- throw await de_CreatedButModifiedExceptionRes(parsedOutput, context);
1022
- case "LimitExceededException":
1023
- case "com.amazonaws.cloudformation#LimitExceededException":
1024
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
1025
- case "NameAlreadyExistsException":
1026
- case "com.amazonaws.cloudformation#NameAlreadyExistsException":
1027
- throw await de_NameAlreadyExistsExceptionRes(parsedOutput, context);
1028
- default:
1029
- const parsedBody = parsedOutput.body;
1030
- return throwDefaultError({
1031
- output,
1032
- parsedBody: parsedBody.Error,
1033
- errorCode,
1034
- });
1035
- }
1036
- };
1037
944
  export const de_DeactivateOrganizationsAccessCommand = async (output, context) => {
1038
945
  if (output.statusCode >= 300) {
1039
- return de_DeactivateOrganizationsAccessCommandError(output, context);
946
+ return de_CommandError(output, context);
1040
947
  }
1041
948
  const data = await parseBody(output.body, context);
1042
949
  let contents = {};
@@ -1047,31 +954,9 @@ export const de_DeactivateOrganizationsAccessCommand = async (output, context) =
1047
954
  };
1048
955
  return response;
1049
956
  };
1050
- const de_DeactivateOrganizationsAccessCommandError = async (output, context) => {
1051
- const parsedOutput = {
1052
- ...output,
1053
- body: await parseErrorBody(output.body, context),
1054
- };
1055
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1056
- switch (errorCode) {
1057
- case "InvalidOperationException":
1058
- case "com.amazonaws.cloudformation#InvalidOperationException":
1059
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1060
- case "OperationNotFoundException":
1061
- case "com.amazonaws.cloudformation#OperationNotFoundException":
1062
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
1063
- default:
1064
- const parsedBody = parsedOutput.body;
1065
- return throwDefaultError({
1066
- output,
1067
- parsedBody: parsedBody.Error,
1068
- errorCode,
1069
- });
1070
- }
1071
- };
1072
957
  export const de_DeactivateTypeCommand = async (output, context) => {
1073
958
  if (output.statusCode >= 300) {
1074
- return de_DeactivateTypeCommandError(output, context);
959
+ return de_CommandError(output, context);
1075
960
  }
1076
961
  const data = await parseBody(output.body, context);
1077
962
  let contents = {};
@@ -1082,31 +967,9 @@ export const de_DeactivateTypeCommand = async (output, context) => {
1082
967
  };
1083
968
  return response;
1084
969
  };
1085
- const de_DeactivateTypeCommandError = async (output, context) => {
1086
- const parsedOutput = {
1087
- ...output,
1088
- body: await parseErrorBody(output.body, context),
1089
- };
1090
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1091
- switch (errorCode) {
1092
- case "CFNRegistryException":
1093
- case "com.amazonaws.cloudformation#CFNRegistryException":
1094
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
1095
- case "TypeNotFoundException":
1096
- case "com.amazonaws.cloudformation#TypeNotFoundException":
1097
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
1098
- default:
1099
- const parsedBody = parsedOutput.body;
1100
- return throwDefaultError({
1101
- output,
1102
- parsedBody: parsedBody.Error,
1103
- errorCode,
1104
- });
1105
- }
1106
- };
1107
970
  export const de_DeleteChangeSetCommand = async (output, context) => {
1108
971
  if (output.statusCode >= 300) {
1109
- return de_DeleteChangeSetCommandError(output, context);
972
+ return de_CommandError(output, context);
1110
973
  }
1111
974
  const data = await parseBody(output.body, context);
1112
975
  let contents = {};
@@ -1117,28 +980,19 @@ export const de_DeleteChangeSetCommand = async (output, context) => {
1117
980
  };
1118
981
  return response;
1119
982
  };
1120
- const de_DeleteChangeSetCommandError = async (output, context) => {
1121
- const parsedOutput = {
1122
- ...output,
1123
- body: await parseErrorBody(output.body, context),
1124
- };
1125
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1126
- switch (errorCode) {
1127
- case "InvalidChangeSetStatus":
1128
- case "com.amazonaws.cloudformation#InvalidChangeSetStatusException":
1129
- throw await de_InvalidChangeSetStatusExceptionRes(parsedOutput, context);
1130
- default:
1131
- const parsedBody = parsedOutput.body;
1132
- return throwDefaultError({
1133
- output,
1134
- parsedBody: parsedBody.Error,
1135
- errorCode,
1136
- });
983
+ export const de_DeleteGeneratedTemplateCommand = async (output, context) => {
984
+ if (output.statusCode >= 300) {
985
+ return de_CommandError(output, context);
1137
986
  }
987
+ await collectBody(output.body, context);
988
+ const response = {
989
+ $metadata: deserializeMetadata(output),
990
+ };
991
+ return response;
1138
992
  };
1139
993
  export const de_DeleteStackCommand = async (output, context) => {
1140
994
  if (output.statusCode >= 300) {
1141
- return de_DeleteStackCommandError(output, context);
995
+ return de_CommandError(output, context);
1142
996
  }
1143
997
  await collectBody(output.body, context);
1144
998
  const response = {
@@ -1146,28 +1000,9 @@ export const de_DeleteStackCommand = async (output, context) => {
1146
1000
  };
1147
1001
  return response;
1148
1002
  };
1149
- const de_DeleteStackCommandError = async (output, context) => {
1150
- const parsedOutput = {
1151
- ...output,
1152
- body: await parseErrorBody(output.body, context),
1153
- };
1154
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1155
- switch (errorCode) {
1156
- case "TokenAlreadyExistsException":
1157
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
1158
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
1159
- default:
1160
- const parsedBody = parsedOutput.body;
1161
- return throwDefaultError({
1162
- output,
1163
- parsedBody: parsedBody.Error,
1164
- errorCode,
1165
- });
1166
- }
1167
- };
1168
1003
  export const de_DeleteStackInstancesCommand = async (output, context) => {
1169
1004
  if (output.statusCode >= 300) {
1170
- return de_DeleteStackInstancesCommandError(output, context);
1005
+ return de_CommandError(output, context);
1171
1006
  }
1172
1007
  const data = await parseBody(output.body, context);
1173
1008
  let contents = {};
@@ -1178,40 +1013,9 @@ export const de_DeleteStackInstancesCommand = async (output, context) => {
1178
1013
  };
1179
1014
  return response;
1180
1015
  };
1181
- const de_DeleteStackInstancesCommandError = async (output, context) => {
1182
- const parsedOutput = {
1183
- ...output,
1184
- body: await parseErrorBody(output.body, context),
1185
- };
1186
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1187
- switch (errorCode) {
1188
- case "InvalidOperationException":
1189
- case "com.amazonaws.cloudformation#InvalidOperationException":
1190
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1191
- case "OperationIdAlreadyExistsException":
1192
- case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
1193
- throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
1194
- case "OperationInProgressException":
1195
- case "com.amazonaws.cloudformation#OperationInProgressException":
1196
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
1197
- case "StackSetNotFoundException":
1198
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
1199
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
1200
- case "StaleRequestException":
1201
- case "com.amazonaws.cloudformation#StaleRequestException":
1202
- throw await de_StaleRequestExceptionRes(parsedOutput, context);
1203
- default:
1204
- const parsedBody = parsedOutput.body;
1205
- return throwDefaultError({
1206
- output,
1207
- parsedBody: parsedBody.Error,
1208
- errorCode,
1209
- });
1210
- }
1211
- };
1212
1016
  export const de_DeleteStackSetCommand = async (output, context) => {
1213
1017
  if (output.statusCode >= 300) {
1214
- return de_DeleteStackSetCommandError(output, context);
1018
+ return de_CommandError(output, context);
1215
1019
  }
1216
1020
  const data = await parseBody(output.body, context);
1217
1021
  let contents = {};
@@ -1222,31 +1026,9 @@ export const de_DeleteStackSetCommand = async (output, context) => {
1222
1026
  };
1223
1027
  return response;
1224
1028
  };
1225
- const de_DeleteStackSetCommandError = async (output, context) => {
1226
- const parsedOutput = {
1227
- ...output,
1228
- body: await parseErrorBody(output.body, context),
1229
- };
1230
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1231
- switch (errorCode) {
1232
- case "OperationInProgressException":
1233
- case "com.amazonaws.cloudformation#OperationInProgressException":
1234
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
1235
- case "StackSetNotEmptyException":
1236
- case "com.amazonaws.cloudformation#StackSetNotEmptyException":
1237
- throw await de_StackSetNotEmptyExceptionRes(parsedOutput, context);
1238
- default:
1239
- const parsedBody = parsedOutput.body;
1240
- return throwDefaultError({
1241
- output,
1242
- parsedBody: parsedBody.Error,
1243
- errorCode,
1244
- });
1245
- }
1246
- };
1247
1029
  export const de_DeregisterTypeCommand = async (output, context) => {
1248
1030
  if (output.statusCode >= 300) {
1249
- return de_DeregisterTypeCommandError(output, context);
1031
+ return de_CommandError(output, context);
1250
1032
  }
1251
1033
  const data = await parseBody(output.body, context);
1252
1034
  let contents = {};
@@ -1257,31 +1039,9 @@ export const de_DeregisterTypeCommand = async (output, context) => {
1257
1039
  };
1258
1040
  return response;
1259
1041
  };
1260
- const de_DeregisterTypeCommandError = async (output, context) => {
1261
- const parsedOutput = {
1262
- ...output,
1263
- body: await parseErrorBody(output.body, context),
1264
- };
1265
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1266
- switch (errorCode) {
1267
- case "CFNRegistryException":
1268
- case "com.amazonaws.cloudformation#CFNRegistryException":
1269
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
1270
- case "TypeNotFoundException":
1271
- case "com.amazonaws.cloudformation#TypeNotFoundException":
1272
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
1273
- default:
1274
- const parsedBody = parsedOutput.body;
1275
- return throwDefaultError({
1276
- output,
1277
- parsedBody: parsedBody.Error,
1278
- errorCode,
1279
- });
1280
- }
1281
- };
1282
1042
  export const de_DescribeAccountLimitsCommand = async (output, context) => {
1283
1043
  if (output.statusCode >= 300) {
1284
- return de_DescribeAccountLimitsCommandError(output, context);
1044
+ return de_CommandError(output, context);
1285
1045
  }
1286
1046
  const data = await parseBody(output.body, context);
1287
1047
  let contents = {};
@@ -1292,22 +1052,9 @@ export const de_DescribeAccountLimitsCommand = async (output, context) => {
1292
1052
  };
1293
1053
  return response;
1294
1054
  };
1295
- const de_DescribeAccountLimitsCommandError = async (output, context) => {
1296
- const parsedOutput = {
1297
- ...output,
1298
- body: await parseErrorBody(output.body, context),
1299
- };
1300
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1301
- const parsedBody = parsedOutput.body;
1302
- return throwDefaultError({
1303
- output,
1304
- parsedBody: parsedBody.Error,
1305
- errorCode,
1306
- });
1307
- };
1308
1055
  export const de_DescribeChangeSetCommand = async (output, context) => {
1309
1056
  if (output.statusCode >= 300) {
1310
- return de_DescribeChangeSetCommandError(output, context);
1057
+ return de_CommandError(output, context);
1311
1058
  }
1312
1059
  const data = await parseBody(output.body, context);
1313
1060
  let contents = {};
@@ -1318,28 +1065,9 @@ export const de_DescribeChangeSetCommand = async (output, context) => {
1318
1065
  };
1319
1066
  return response;
1320
1067
  };
1321
- const de_DescribeChangeSetCommandError = async (output, context) => {
1322
- const parsedOutput = {
1323
- ...output,
1324
- body: await parseErrorBody(output.body, context),
1325
- };
1326
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1327
- switch (errorCode) {
1328
- case "ChangeSetNotFound":
1329
- case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
1330
- throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
1331
- default:
1332
- const parsedBody = parsedOutput.body;
1333
- return throwDefaultError({
1334
- output,
1335
- parsedBody: parsedBody.Error,
1336
- errorCode,
1337
- });
1338
- }
1339
- };
1340
1068
  export const de_DescribeChangeSetHooksCommand = async (output, context) => {
1341
1069
  if (output.statusCode >= 300) {
1342
- return de_DescribeChangeSetHooksCommandError(output, context);
1070
+ return de_CommandError(output, context);
1343
1071
  }
1344
1072
  const data = await parseBody(output.body, context);
1345
1073
  let contents = {};
@@ -1350,28 +1078,22 @@ export const de_DescribeChangeSetHooksCommand = async (output, context) => {
1350
1078
  };
1351
1079
  return response;
1352
1080
  };
1353
- const de_DescribeChangeSetHooksCommandError = async (output, context) => {
1354
- const parsedOutput = {
1355
- ...output,
1356
- body: await parseErrorBody(output.body, context),
1357
- };
1358
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1359
- switch (errorCode) {
1360
- case "ChangeSetNotFound":
1361
- case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
1362
- throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
1363
- default:
1364
- const parsedBody = parsedOutput.body;
1365
- return throwDefaultError({
1366
- output,
1367
- parsedBody: parsedBody.Error,
1368
- errorCode,
1369
- });
1081
+ export const de_DescribeGeneratedTemplateCommand = async (output, context) => {
1082
+ if (output.statusCode >= 300) {
1083
+ return de_CommandError(output, context);
1370
1084
  }
1085
+ const data = await parseBody(output.body, context);
1086
+ let contents = {};
1087
+ contents = de_DescribeGeneratedTemplateOutput(data.DescribeGeneratedTemplateResult, context);
1088
+ const response = {
1089
+ $metadata: deserializeMetadata(output),
1090
+ ...contents,
1091
+ };
1092
+ return response;
1371
1093
  };
1372
1094
  export const de_DescribeOrganizationsAccessCommand = async (output, context) => {
1373
1095
  if (output.statusCode >= 300) {
1374
- return de_DescribeOrganizationsAccessCommandError(output, context);
1096
+ return de_CommandError(output, context);
1375
1097
  }
1376
1098
  const data = await parseBody(output.body, context);
1377
1099
  let contents = {};
@@ -1382,31 +1104,9 @@ export const de_DescribeOrganizationsAccessCommand = async (output, context) =>
1382
1104
  };
1383
1105
  return response;
1384
1106
  };
1385
- const de_DescribeOrganizationsAccessCommandError = async (output, context) => {
1386
- const parsedOutput = {
1387
- ...output,
1388
- body: await parseErrorBody(output.body, context),
1389
- };
1390
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1391
- switch (errorCode) {
1392
- case "InvalidOperationException":
1393
- case "com.amazonaws.cloudformation#InvalidOperationException":
1394
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1395
- case "OperationNotFoundException":
1396
- case "com.amazonaws.cloudformation#OperationNotFoundException":
1397
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
1398
- default:
1399
- const parsedBody = parsedOutput.body;
1400
- return throwDefaultError({
1401
- output,
1402
- parsedBody: parsedBody.Error,
1403
- errorCode,
1404
- });
1405
- }
1406
- };
1407
1107
  export const de_DescribePublisherCommand = async (output, context) => {
1408
1108
  if (output.statusCode >= 300) {
1409
- return de_DescribePublisherCommandError(output, context);
1109
+ return de_CommandError(output, context);
1410
1110
  }
1411
1111
  const data = await parseBody(output.body, context);
1412
1112
  let contents = {};
@@ -1417,28 +1117,22 @@ export const de_DescribePublisherCommand = async (output, context) => {
1417
1117
  };
1418
1118
  return response;
1419
1119
  };
1420
- const de_DescribePublisherCommandError = async (output, context) => {
1421
- const parsedOutput = {
1422
- ...output,
1423
- body: await parseErrorBody(output.body, context),
1424
- };
1425
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1426
- switch (errorCode) {
1427
- case "CFNRegistryException":
1428
- case "com.amazonaws.cloudformation#CFNRegistryException":
1429
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
1430
- default:
1431
- const parsedBody = parsedOutput.body;
1432
- return throwDefaultError({
1433
- output,
1434
- parsedBody: parsedBody.Error,
1435
- errorCode,
1436
- });
1120
+ export const de_DescribeResourceScanCommand = async (output, context) => {
1121
+ if (output.statusCode >= 300) {
1122
+ return de_CommandError(output, context);
1437
1123
  }
1124
+ const data = await parseBody(output.body, context);
1125
+ let contents = {};
1126
+ contents = de_DescribeResourceScanOutput(data.DescribeResourceScanResult, context);
1127
+ const response = {
1128
+ $metadata: deserializeMetadata(output),
1129
+ ...contents,
1130
+ };
1131
+ return response;
1438
1132
  };
1439
1133
  export const de_DescribeStackDriftDetectionStatusCommand = async (output, context) => {
1440
1134
  if (output.statusCode >= 300) {
1441
- return de_DescribeStackDriftDetectionStatusCommandError(output, context);
1135
+ return de_CommandError(output, context);
1442
1136
  }
1443
1137
  const data = await parseBody(output.body, context);
1444
1138
  let contents = {};
@@ -1449,22 +1143,9 @@ export const de_DescribeStackDriftDetectionStatusCommand = async (output, contex
1449
1143
  };
1450
1144
  return response;
1451
1145
  };
1452
- const de_DescribeStackDriftDetectionStatusCommandError = async (output, context) => {
1453
- const parsedOutput = {
1454
- ...output,
1455
- body: await parseErrorBody(output.body, context),
1456
- };
1457
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1458
- const parsedBody = parsedOutput.body;
1459
- return throwDefaultError({
1460
- output,
1461
- parsedBody: parsedBody.Error,
1462
- errorCode,
1463
- });
1464
- };
1465
1146
  export const de_DescribeStackEventsCommand = async (output, context) => {
1466
1147
  if (output.statusCode >= 300) {
1467
- return de_DescribeStackEventsCommandError(output, context);
1148
+ return de_CommandError(output, context);
1468
1149
  }
1469
1150
  const data = await parseBody(output.body, context);
1470
1151
  let contents = {};
@@ -1475,22 +1156,9 @@ export const de_DescribeStackEventsCommand = async (output, context) => {
1475
1156
  };
1476
1157
  return response;
1477
1158
  };
1478
- const de_DescribeStackEventsCommandError = async (output, context) => {
1479
- const parsedOutput = {
1480
- ...output,
1481
- body: await parseErrorBody(output.body, context),
1482
- };
1483
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1484
- const parsedBody = parsedOutput.body;
1485
- return throwDefaultError({
1486
- output,
1487
- parsedBody: parsedBody.Error,
1488
- errorCode,
1489
- });
1490
- };
1491
1159
  export const de_DescribeStackInstanceCommand = async (output, context) => {
1492
1160
  if (output.statusCode >= 300) {
1493
- return de_DescribeStackInstanceCommandError(output, context);
1161
+ return de_CommandError(output, context);
1494
1162
  }
1495
1163
  const data = await parseBody(output.body, context);
1496
1164
  let contents = {};
@@ -1501,31 +1169,9 @@ export const de_DescribeStackInstanceCommand = async (output, context) => {
1501
1169
  };
1502
1170
  return response;
1503
1171
  };
1504
- const de_DescribeStackInstanceCommandError = async (output, context) => {
1505
- const parsedOutput = {
1506
- ...output,
1507
- body: await parseErrorBody(output.body, context),
1508
- };
1509
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1510
- switch (errorCode) {
1511
- case "StackInstanceNotFoundException":
1512
- case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
1513
- throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
1514
- case "StackSetNotFoundException":
1515
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
1516
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
1517
- default:
1518
- const parsedBody = parsedOutput.body;
1519
- return throwDefaultError({
1520
- output,
1521
- parsedBody: parsedBody.Error,
1522
- errorCode,
1523
- });
1524
- }
1525
- };
1526
1172
  export const de_DescribeStackResourceCommand = async (output, context) => {
1527
1173
  if (output.statusCode >= 300) {
1528
- return de_DescribeStackResourceCommandError(output, context);
1174
+ return de_CommandError(output, context);
1529
1175
  }
1530
1176
  const data = await parseBody(output.body, context);
1531
1177
  let contents = {};
@@ -1536,22 +1182,9 @@ export const de_DescribeStackResourceCommand = async (output, context) => {
1536
1182
  };
1537
1183
  return response;
1538
1184
  };
1539
- const de_DescribeStackResourceCommandError = async (output, context) => {
1540
- const parsedOutput = {
1541
- ...output,
1542
- body: await parseErrorBody(output.body, context),
1543
- };
1544
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1545
- const parsedBody = parsedOutput.body;
1546
- return throwDefaultError({
1547
- output,
1548
- parsedBody: parsedBody.Error,
1549
- errorCode,
1550
- });
1551
- };
1552
1185
  export const de_DescribeStackResourceDriftsCommand = async (output, context) => {
1553
1186
  if (output.statusCode >= 300) {
1554
- return de_DescribeStackResourceDriftsCommandError(output, context);
1187
+ return de_CommandError(output, context);
1555
1188
  }
1556
1189
  const data = await parseBody(output.body, context);
1557
1190
  let contents = {};
@@ -1562,22 +1195,9 @@ export const de_DescribeStackResourceDriftsCommand = async (output, context) =>
1562
1195
  };
1563
1196
  return response;
1564
1197
  };
1565
- const de_DescribeStackResourceDriftsCommandError = async (output, context) => {
1566
- const parsedOutput = {
1567
- ...output,
1568
- body: await parseErrorBody(output.body, context),
1569
- };
1570
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1571
- const parsedBody = parsedOutput.body;
1572
- return throwDefaultError({
1573
- output,
1574
- parsedBody: parsedBody.Error,
1575
- errorCode,
1576
- });
1577
- };
1578
1198
  export const de_DescribeStackResourcesCommand = async (output, context) => {
1579
1199
  if (output.statusCode >= 300) {
1580
- return de_DescribeStackResourcesCommandError(output, context);
1200
+ return de_CommandError(output, context);
1581
1201
  }
1582
1202
  const data = await parseBody(output.body, context);
1583
1203
  let contents = {};
@@ -1588,22 +1208,9 @@ export const de_DescribeStackResourcesCommand = async (output, context) => {
1588
1208
  };
1589
1209
  return response;
1590
1210
  };
1591
- const de_DescribeStackResourcesCommandError = async (output, context) => {
1592
- const parsedOutput = {
1593
- ...output,
1594
- body: await parseErrorBody(output.body, context),
1595
- };
1596
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1597
- const parsedBody = parsedOutput.body;
1598
- return throwDefaultError({
1599
- output,
1600
- parsedBody: parsedBody.Error,
1601
- errorCode,
1602
- });
1603
- };
1604
1211
  export const de_DescribeStacksCommand = async (output, context) => {
1605
1212
  if (output.statusCode >= 300) {
1606
- return de_DescribeStacksCommandError(output, context);
1213
+ return de_CommandError(output, context);
1607
1214
  }
1608
1215
  const data = await parseBody(output.body, context);
1609
1216
  let contents = {};
@@ -1614,22 +1221,9 @@ export const de_DescribeStacksCommand = async (output, context) => {
1614
1221
  };
1615
1222
  return response;
1616
1223
  };
1617
- const de_DescribeStacksCommandError = async (output, context) => {
1618
- const parsedOutput = {
1619
- ...output,
1620
- body: await parseErrorBody(output.body, context),
1621
- };
1622
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1623
- const parsedBody = parsedOutput.body;
1624
- return throwDefaultError({
1625
- output,
1626
- parsedBody: parsedBody.Error,
1627
- errorCode,
1628
- });
1629
- };
1630
1224
  export const de_DescribeStackSetCommand = async (output, context) => {
1631
1225
  if (output.statusCode >= 300) {
1632
- return de_DescribeStackSetCommandError(output, context);
1226
+ return de_CommandError(output, context);
1633
1227
  }
1634
1228
  const data = await parseBody(output.body, context);
1635
1229
  let contents = {};
@@ -1640,28 +1234,9 @@ export const de_DescribeStackSetCommand = async (output, context) => {
1640
1234
  };
1641
1235
  return response;
1642
1236
  };
1643
- const de_DescribeStackSetCommandError = async (output, context) => {
1644
- const parsedOutput = {
1645
- ...output,
1646
- body: await parseErrorBody(output.body, context),
1647
- };
1648
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1649
- switch (errorCode) {
1650
- case "StackSetNotFoundException":
1651
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
1652
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
1653
- default:
1654
- const parsedBody = parsedOutput.body;
1655
- return throwDefaultError({
1656
- output,
1657
- parsedBody: parsedBody.Error,
1658
- errorCode,
1659
- });
1660
- }
1661
- };
1662
1237
  export const de_DescribeStackSetOperationCommand = async (output, context) => {
1663
1238
  if (output.statusCode >= 300) {
1664
- return de_DescribeStackSetOperationCommandError(output, context);
1239
+ return de_CommandError(output, context);
1665
1240
  }
1666
1241
  const data = await parseBody(output.body, context);
1667
1242
  let contents = {};
@@ -1672,31 +1247,9 @@ export const de_DescribeStackSetOperationCommand = async (output, context) => {
1672
1247
  };
1673
1248
  return response;
1674
1249
  };
1675
- const de_DescribeStackSetOperationCommandError = async (output, context) => {
1676
- const parsedOutput = {
1677
- ...output,
1678
- body: await parseErrorBody(output.body, context),
1679
- };
1680
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1681
- switch (errorCode) {
1682
- case "OperationNotFoundException":
1683
- case "com.amazonaws.cloudformation#OperationNotFoundException":
1684
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
1685
- case "StackSetNotFoundException":
1686
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
1687
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
1688
- default:
1689
- const parsedBody = parsedOutput.body;
1690
- return throwDefaultError({
1691
- output,
1692
- parsedBody: parsedBody.Error,
1693
- errorCode,
1694
- });
1695
- }
1696
- };
1697
1250
  export const de_DescribeTypeCommand = async (output, context) => {
1698
1251
  if (output.statusCode >= 300) {
1699
- return de_DescribeTypeCommandError(output, context);
1252
+ return de_CommandError(output, context);
1700
1253
  }
1701
1254
  const data = await parseBody(output.body, context);
1702
1255
  let contents = {};
@@ -1707,31 +1260,9 @@ export const de_DescribeTypeCommand = async (output, context) => {
1707
1260
  };
1708
1261
  return response;
1709
1262
  };
1710
- const de_DescribeTypeCommandError = async (output, context) => {
1711
- const parsedOutput = {
1712
- ...output,
1713
- body: await parseErrorBody(output.body, context),
1714
- };
1715
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1716
- switch (errorCode) {
1717
- case "CFNRegistryException":
1718
- case "com.amazonaws.cloudformation#CFNRegistryException":
1719
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
1720
- case "TypeNotFoundException":
1721
- case "com.amazonaws.cloudformation#TypeNotFoundException":
1722
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
1723
- default:
1724
- const parsedBody = parsedOutput.body;
1725
- return throwDefaultError({
1726
- output,
1727
- parsedBody: parsedBody.Error,
1728
- errorCode,
1729
- });
1730
- }
1731
- };
1732
1263
  export const de_DescribeTypeRegistrationCommand = async (output, context) => {
1733
1264
  if (output.statusCode >= 300) {
1734
- return de_DescribeTypeRegistrationCommandError(output, context);
1265
+ return de_CommandError(output, context);
1735
1266
  }
1736
1267
  const data = await parseBody(output.body, context);
1737
1268
  let contents = {};
@@ -1742,28 +1273,9 @@ export const de_DescribeTypeRegistrationCommand = async (output, context) => {
1742
1273
  };
1743
1274
  return response;
1744
1275
  };
1745
- const de_DescribeTypeRegistrationCommandError = async (output, context) => {
1746
- const parsedOutput = {
1747
- ...output,
1748
- body: await parseErrorBody(output.body, context),
1749
- };
1750
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1751
- switch (errorCode) {
1752
- case "CFNRegistryException":
1753
- case "com.amazonaws.cloudformation#CFNRegistryException":
1754
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
1755
- default:
1756
- const parsedBody = parsedOutput.body;
1757
- return throwDefaultError({
1758
- output,
1759
- parsedBody: parsedBody.Error,
1760
- errorCode,
1761
- });
1762
- }
1763
- };
1764
1276
  export const de_DetectStackDriftCommand = async (output, context) => {
1765
1277
  if (output.statusCode >= 300) {
1766
- return de_DetectStackDriftCommandError(output, context);
1278
+ return de_CommandError(output, context);
1767
1279
  }
1768
1280
  const data = await parseBody(output.body, context);
1769
1281
  let contents = {};
@@ -1774,22 +1286,9 @@ export const de_DetectStackDriftCommand = async (output, context) => {
1774
1286
  };
1775
1287
  return response;
1776
1288
  };
1777
- const de_DetectStackDriftCommandError = async (output, context) => {
1778
- const parsedOutput = {
1779
- ...output,
1780
- body: await parseErrorBody(output.body, context),
1781
- };
1782
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1783
- const parsedBody = parsedOutput.body;
1784
- return throwDefaultError({
1785
- output,
1786
- parsedBody: parsedBody.Error,
1787
- errorCode,
1788
- });
1789
- };
1790
1289
  export const de_DetectStackResourceDriftCommand = async (output, context) => {
1791
1290
  if (output.statusCode >= 300) {
1792
- return de_DetectStackResourceDriftCommandError(output, context);
1291
+ return de_CommandError(output, context);
1793
1292
  }
1794
1293
  const data = await parseBody(output.body, context);
1795
1294
  let contents = {};
@@ -1799,61 +1298,23 @@ export const de_DetectStackResourceDriftCommand = async (output, context) => {
1799
1298
  ...contents,
1800
1299
  };
1801
1300
  return response;
1802
- };
1803
- const de_DetectStackResourceDriftCommandError = async (output, context) => {
1804
- const parsedOutput = {
1805
- ...output,
1806
- body: await parseErrorBody(output.body, context),
1807
- };
1808
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1809
- const parsedBody = parsedOutput.body;
1810
- return throwDefaultError({
1811
- output,
1812
- parsedBody: parsedBody.Error,
1813
- errorCode,
1814
- });
1815
- };
1816
- export const de_DetectStackSetDriftCommand = async (output, context) => {
1817
- if (output.statusCode >= 300) {
1818
- return de_DetectStackSetDriftCommandError(output, context);
1819
- }
1820
- const data = await parseBody(output.body, context);
1821
- let contents = {};
1822
- contents = de_DetectStackSetDriftOutput(data.DetectStackSetDriftResult, context);
1823
- const response = {
1824
- $metadata: deserializeMetadata(output),
1825
- ...contents,
1826
- };
1827
- return response;
1828
- };
1829
- const de_DetectStackSetDriftCommandError = async (output, context) => {
1830
- const parsedOutput = {
1831
- ...output,
1832
- body: await parseErrorBody(output.body, context),
1833
- };
1834
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1835
- switch (errorCode) {
1836
- case "InvalidOperationException":
1837
- case "com.amazonaws.cloudformation#InvalidOperationException":
1838
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1839
- case "OperationInProgressException":
1840
- case "com.amazonaws.cloudformation#OperationInProgressException":
1841
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
1842
- case "StackSetNotFoundException":
1843
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
1844
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
1845
- default:
1846
- const parsedBody = parsedOutput.body;
1847
- return throwDefaultError({
1848
- output,
1849
- parsedBody: parsedBody.Error,
1850
- errorCode,
1851
- });
1301
+ };
1302
+ export const de_DetectStackSetDriftCommand = async (output, context) => {
1303
+ if (output.statusCode >= 300) {
1304
+ return de_CommandError(output, context);
1852
1305
  }
1306
+ const data = await parseBody(output.body, context);
1307
+ let contents = {};
1308
+ contents = de_DetectStackSetDriftOutput(data.DetectStackSetDriftResult, context);
1309
+ const response = {
1310
+ $metadata: deserializeMetadata(output),
1311
+ ...contents,
1312
+ };
1313
+ return response;
1853
1314
  };
1854
1315
  export const de_EstimateTemplateCostCommand = async (output, context) => {
1855
1316
  if (output.statusCode >= 300) {
1856
- return de_EstimateTemplateCostCommandError(output, context);
1317
+ return de_CommandError(output, context);
1857
1318
  }
1858
1319
  const data = await parseBody(output.body, context);
1859
1320
  let contents = {};
@@ -1864,22 +1325,9 @@ export const de_EstimateTemplateCostCommand = async (output, context) => {
1864
1325
  };
1865
1326
  return response;
1866
1327
  };
1867
- const de_EstimateTemplateCostCommandError = async (output, context) => {
1868
- const parsedOutput = {
1869
- ...output,
1870
- body: await parseErrorBody(output.body, context),
1871
- };
1872
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1873
- const parsedBody = parsedOutput.body;
1874
- return throwDefaultError({
1875
- output,
1876
- parsedBody: parsedBody.Error,
1877
- errorCode,
1878
- });
1879
- };
1880
1328
  export const de_ExecuteChangeSetCommand = async (output, context) => {
1881
1329
  if (output.statusCode >= 300) {
1882
- return de_ExecuteChangeSetCommandError(output, context);
1330
+ return de_CommandError(output, context);
1883
1331
  }
1884
1332
  const data = await parseBody(output.body, context);
1885
1333
  let contents = {};
@@ -1890,37 +1338,22 @@ export const de_ExecuteChangeSetCommand = async (output, context) => {
1890
1338
  };
1891
1339
  return response;
1892
1340
  };
1893
- const de_ExecuteChangeSetCommandError = async (output, context) => {
1894
- const parsedOutput = {
1895
- ...output,
1896
- body: await parseErrorBody(output.body, context),
1897
- };
1898
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1899
- switch (errorCode) {
1900
- case "ChangeSetNotFound":
1901
- case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
1902
- throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
1903
- case "InsufficientCapabilitiesException":
1904
- case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
1905
- throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
1906
- case "InvalidChangeSetStatus":
1907
- case "com.amazonaws.cloudformation#InvalidChangeSetStatusException":
1908
- throw await de_InvalidChangeSetStatusExceptionRes(parsedOutput, context);
1909
- case "TokenAlreadyExistsException":
1910
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
1911
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
1912
- default:
1913
- const parsedBody = parsedOutput.body;
1914
- return throwDefaultError({
1915
- output,
1916
- parsedBody: parsedBody.Error,
1917
- errorCode,
1918
- });
1341
+ export const de_GetGeneratedTemplateCommand = async (output, context) => {
1342
+ if (output.statusCode >= 300) {
1343
+ return de_CommandError(output, context);
1919
1344
  }
1345
+ const data = await parseBody(output.body, context);
1346
+ let contents = {};
1347
+ contents = de_GetGeneratedTemplateOutput(data.GetGeneratedTemplateResult, context);
1348
+ const response = {
1349
+ $metadata: deserializeMetadata(output),
1350
+ ...contents,
1351
+ };
1352
+ return response;
1920
1353
  };
1921
1354
  export const de_GetStackPolicyCommand = async (output, context) => {
1922
1355
  if (output.statusCode >= 300) {
1923
- return de_GetStackPolicyCommandError(output, context);
1356
+ return de_CommandError(output, context);
1924
1357
  }
1925
1358
  const data = await parseBody(output.body, context);
1926
1359
  let contents = {};
@@ -1931,22 +1364,9 @@ export const de_GetStackPolicyCommand = async (output, context) => {
1931
1364
  };
1932
1365
  return response;
1933
1366
  };
1934
- const de_GetStackPolicyCommandError = async (output, context) => {
1935
- const parsedOutput = {
1936
- ...output,
1937
- body: await parseErrorBody(output.body, context),
1938
- };
1939
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1940
- const parsedBody = parsedOutput.body;
1941
- return throwDefaultError({
1942
- output,
1943
- parsedBody: parsedBody.Error,
1944
- errorCode,
1945
- });
1946
- };
1947
1367
  export const de_GetTemplateCommand = async (output, context) => {
1948
1368
  if (output.statusCode >= 300) {
1949
- return de_GetTemplateCommandError(output, context);
1369
+ return de_CommandError(output, context);
1950
1370
  }
1951
1371
  const data = await parseBody(output.body, context);
1952
1372
  let contents = {};
@@ -1957,28 +1377,9 @@ export const de_GetTemplateCommand = async (output, context) => {
1957
1377
  };
1958
1378
  return response;
1959
1379
  };
1960
- const de_GetTemplateCommandError = async (output, context) => {
1961
- const parsedOutput = {
1962
- ...output,
1963
- body: await parseErrorBody(output.body, context),
1964
- };
1965
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1966
- switch (errorCode) {
1967
- case "ChangeSetNotFound":
1968
- case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
1969
- throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
1970
- default:
1971
- const parsedBody = parsedOutput.body;
1972
- return throwDefaultError({
1973
- output,
1974
- parsedBody: parsedBody.Error,
1975
- errorCode,
1976
- });
1977
- }
1978
- };
1979
1380
  export const de_GetTemplateSummaryCommand = async (output, context) => {
1980
1381
  if (output.statusCode >= 300) {
1981
- return de_GetTemplateSummaryCommandError(output, context);
1382
+ return de_CommandError(output, context);
1982
1383
  }
1983
1384
  const data = await parseBody(output.body, context);
1984
1385
  let contents = {};
@@ -1989,28 +1390,9 @@ export const de_GetTemplateSummaryCommand = async (output, context) => {
1989
1390
  };
1990
1391
  return response;
1991
1392
  };
1992
- const de_GetTemplateSummaryCommandError = async (output, context) => {
1993
- const parsedOutput = {
1994
- ...output,
1995
- body: await parseErrorBody(output.body, context),
1996
- };
1997
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1998
- switch (errorCode) {
1999
- case "StackSetNotFoundException":
2000
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2001
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2002
- default:
2003
- const parsedBody = parsedOutput.body;
2004
- return throwDefaultError({
2005
- output,
2006
- parsedBody: parsedBody.Error,
2007
- errorCode,
2008
- });
2009
- }
2010
- };
2011
1393
  export const de_ImportStacksToStackSetCommand = async (output, context) => {
2012
1394
  if (output.statusCode >= 300) {
2013
- return de_ImportStacksToStackSetCommandError(output, context);
1395
+ return de_CommandError(output, context);
2014
1396
  }
2015
1397
  const data = await parseBody(output.body, context);
2016
1398
  let contents = {};
@@ -2021,46 +1403,9 @@ export const de_ImportStacksToStackSetCommand = async (output, context) => {
2021
1403
  };
2022
1404
  return response;
2023
1405
  };
2024
- const de_ImportStacksToStackSetCommandError = async (output, context) => {
2025
- const parsedOutput = {
2026
- ...output,
2027
- body: await parseErrorBody(output.body, context),
2028
- };
2029
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2030
- switch (errorCode) {
2031
- case "InvalidOperationException":
2032
- case "com.amazonaws.cloudformation#InvalidOperationException":
2033
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2034
- case "LimitExceededException":
2035
- case "com.amazonaws.cloudformation#LimitExceededException":
2036
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
2037
- case "OperationIdAlreadyExistsException":
2038
- case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
2039
- throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
2040
- case "OperationInProgressException":
2041
- case "com.amazonaws.cloudformation#OperationInProgressException":
2042
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
2043
- case "StackNotFoundException":
2044
- case "com.amazonaws.cloudformation#StackNotFoundException":
2045
- throw await de_StackNotFoundExceptionRes(parsedOutput, context);
2046
- case "StackSetNotFoundException":
2047
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2048
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2049
- case "StaleRequestException":
2050
- case "com.amazonaws.cloudformation#StaleRequestException":
2051
- throw await de_StaleRequestExceptionRes(parsedOutput, context);
2052
- default:
2053
- const parsedBody = parsedOutput.body;
2054
- return throwDefaultError({
2055
- output,
2056
- parsedBody: parsedBody.Error,
2057
- errorCode,
2058
- });
2059
- }
2060
- };
2061
1406
  export const de_ListChangeSetsCommand = async (output, context) => {
2062
1407
  if (output.statusCode >= 300) {
2063
- return de_ListChangeSetsCommandError(output, context);
1408
+ return de_CommandError(output, context);
2064
1409
  }
2065
1410
  const data = await parseBody(output.body, context);
2066
1411
  let contents = {};
@@ -2071,22 +1416,9 @@ export const de_ListChangeSetsCommand = async (output, context) => {
2071
1416
  };
2072
1417
  return response;
2073
1418
  };
2074
- const de_ListChangeSetsCommandError = async (output, context) => {
2075
- const parsedOutput = {
2076
- ...output,
2077
- body: await parseErrorBody(output.body, context),
2078
- };
2079
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2080
- const parsedBody = parsedOutput.body;
2081
- return throwDefaultError({
2082
- output,
2083
- parsedBody: parsedBody.Error,
2084
- errorCode,
2085
- });
2086
- };
2087
1419
  export const de_ListExportsCommand = async (output, context) => {
2088
1420
  if (output.statusCode >= 300) {
2089
- return de_ListExportsCommandError(output, context);
1421
+ return de_CommandError(output, context);
2090
1422
  }
2091
1423
  const data = await parseBody(output.body, context);
2092
1424
  let contents = {};
@@ -2097,22 +1429,22 @@ export const de_ListExportsCommand = async (output, context) => {
2097
1429
  };
2098
1430
  return response;
2099
1431
  };
2100
- const de_ListExportsCommandError = async (output, context) => {
2101
- const parsedOutput = {
2102
- ...output,
2103
- body: await parseErrorBody(output.body, context),
1432
+ export const de_ListGeneratedTemplatesCommand = async (output, context) => {
1433
+ if (output.statusCode >= 300) {
1434
+ return de_CommandError(output, context);
1435
+ }
1436
+ const data = await parseBody(output.body, context);
1437
+ let contents = {};
1438
+ contents = de_ListGeneratedTemplatesOutput(data.ListGeneratedTemplatesResult, context);
1439
+ const response = {
1440
+ $metadata: deserializeMetadata(output),
1441
+ ...contents,
2104
1442
  };
2105
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2106
- const parsedBody = parsedOutput.body;
2107
- return throwDefaultError({
2108
- output,
2109
- parsedBody: parsedBody.Error,
2110
- errorCode,
2111
- });
1443
+ return response;
2112
1444
  };
2113
1445
  export const de_ListImportsCommand = async (output, context) => {
2114
1446
  if (output.statusCode >= 300) {
2115
- return de_ListImportsCommandError(output, context);
1447
+ return de_CommandError(output, context);
2116
1448
  }
2117
1449
  const data = await parseBody(output.body, context);
2118
1450
  let contents = {};
@@ -2123,211 +1455,126 @@ export const de_ListImportsCommand = async (output, context) => {
2123
1455
  };
2124
1456
  return response;
2125
1457
  };
2126
- const de_ListImportsCommandError = async (output, context) => {
2127
- const parsedOutput = {
2128
- ...output,
2129
- body: await parseErrorBody(output.body, context),
2130
- };
2131
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2132
- const parsedBody = parsedOutput.body;
2133
- return throwDefaultError({
2134
- output,
2135
- parsedBody: parsedBody.Error,
2136
- errorCode,
2137
- });
2138
- };
2139
- export const de_ListStackInstanceResourceDriftsCommand = async (output, context) => {
1458
+ export const de_ListResourceScanRelatedResourcesCommand = async (output, context) => {
2140
1459
  if (output.statusCode >= 300) {
2141
- return de_ListStackInstanceResourceDriftsCommandError(output, context);
1460
+ return de_CommandError(output, context);
2142
1461
  }
2143
1462
  const data = await parseBody(output.body, context);
2144
1463
  let contents = {};
2145
- contents = de_ListStackInstanceResourceDriftsOutput(data.ListStackInstanceResourceDriftsResult, context);
1464
+ contents = de_ListResourceScanRelatedResourcesOutput(data.ListResourceScanRelatedResourcesResult, context);
2146
1465
  const response = {
2147
1466
  $metadata: deserializeMetadata(output),
2148
1467
  ...contents,
2149
1468
  };
2150
1469
  return response;
2151
1470
  };
2152
- const de_ListStackInstanceResourceDriftsCommandError = async (output, context) => {
2153
- const parsedOutput = {
2154
- ...output,
2155
- body: await parseErrorBody(output.body, context),
2156
- };
2157
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2158
- switch (errorCode) {
2159
- case "OperationNotFoundException":
2160
- case "com.amazonaws.cloudformation#OperationNotFoundException":
2161
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
2162
- case "StackInstanceNotFoundException":
2163
- case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
2164
- throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
2165
- case "StackSetNotFoundException":
2166
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2167
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2168
- default:
2169
- const parsedBody = parsedOutput.body;
2170
- return throwDefaultError({
2171
- output,
2172
- parsedBody: parsedBody.Error,
2173
- errorCode,
2174
- });
2175
- }
2176
- };
2177
- export const de_ListStackInstancesCommand = async (output, context) => {
1471
+ export const de_ListResourceScanResourcesCommand = async (output, context) => {
2178
1472
  if (output.statusCode >= 300) {
2179
- return de_ListStackInstancesCommandError(output, context);
1473
+ return de_CommandError(output, context);
2180
1474
  }
2181
1475
  const data = await parseBody(output.body, context);
2182
1476
  let contents = {};
2183
- contents = de_ListStackInstancesOutput(data.ListStackInstancesResult, context);
1477
+ contents = de_ListResourceScanResourcesOutput(data.ListResourceScanResourcesResult, context);
2184
1478
  const response = {
2185
1479
  $metadata: deserializeMetadata(output),
2186
1480
  ...contents,
2187
1481
  };
2188
1482
  return response;
2189
1483
  };
2190
- const de_ListStackInstancesCommandError = async (output, context) => {
2191
- const parsedOutput = {
2192
- ...output,
2193
- body: await parseErrorBody(output.body, context),
2194
- };
2195
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2196
- switch (errorCode) {
2197
- case "StackSetNotFoundException":
2198
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2199
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2200
- default:
2201
- const parsedBody = parsedOutput.body;
2202
- return throwDefaultError({
2203
- output,
2204
- parsedBody: parsedBody.Error,
2205
- errorCode,
2206
- });
2207
- }
2208
- };
2209
- export const de_ListStackResourcesCommand = async (output, context) => {
1484
+ export const de_ListResourceScansCommand = async (output, context) => {
2210
1485
  if (output.statusCode >= 300) {
2211
- return de_ListStackResourcesCommandError(output, context);
1486
+ return de_CommandError(output, context);
2212
1487
  }
2213
1488
  const data = await parseBody(output.body, context);
2214
1489
  let contents = {};
2215
- contents = de_ListStackResourcesOutput(data.ListStackResourcesResult, context);
1490
+ contents = de_ListResourceScansOutput(data.ListResourceScansResult, context);
2216
1491
  const response = {
2217
1492
  $metadata: deserializeMetadata(output),
2218
1493
  ...contents,
2219
1494
  };
2220
1495
  return response;
2221
1496
  };
2222
- const de_ListStackResourcesCommandError = async (output, context) => {
2223
- const parsedOutput = {
2224
- ...output,
2225
- body: await parseErrorBody(output.body, context),
2226
- };
2227
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2228
- const parsedBody = parsedOutput.body;
2229
- return throwDefaultError({
2230
- output,
2231
- parsedBody: parsedBody.Error,
2232
- errorCode,
2233
- });
2234
- };
2235
- export const de_ListStacksCommand = async (output, context) => {
1497
+ export const de_ListStackInstanceResourceDriftsCommand = async (output, context) => {
2236
1498
  if (output.statusCode >= 300) {
2237
- return de_ListStacksCommandError(output, context);
1499
+ return de_CommandError(output, context);
2238
1500
  }
2239
1501
  const data = await parseBody(output.body, context);
2240
1502
  let contents = {};
2241
- contents = de_ListStacksOutput(data.ListStacksResult, context);
1503
+ contents = de_ListStackInstanceResourceDriftsOutput(data.ListStackInstanceResourceDriftsResult, context);
2242
1504
  const response = {
2243
1505
  $metadata: deserializeMetadata(output),
2244
1506
  ...contents,
2245
1507
  };
2246
1508
  return response;
2247
1509
  };
2248
- const de_ListStacksCommandError = async (output, context) => {
2249
- const parsedOutput = {
2250
- ...output,
2251
- body: await parseErrorBody(output.body, context),
1510
+ export const de_ListStackInstancesCommand = async (output, context) => {
1511
+ if (output.statusCode >= 300) {
1512
+ return de_CommandError(output, context);
1513
+ }
1514
+ const data = await parseBody(output.body, context);
1515
+ let contents = {};
1516
+ contents = de_ListStackInstancesOutput(data.ListStackInstancesResult, context);
1517
+ const response = {
1518
+ $metadata: deserializeMetadata(output),
1519
+ ...contents,
2252
1520
  };
2253
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2254
- const parsedBody = parsedOutput.body;
2255
- return throwDefaultError({
2256
- output,
2257
- parsedBody: parsedBody.Error,
2258
- errorCode,
2259
- });
1521
+ return response;
2260
1522
  };
2261
- export const de_ListStackSetOperationResultsCommand = async (output, context) => {
1523
+ export const de_ListStackResourcesCommand = async (output, context) => {
2262
1524
  if (output.statusCode >= 300) {
2263
- return de_ListStackSetOperationResultsCommandError(output, context);
1525
+ return de_CommandError(output, context);
2264
1526
  }
2265
1527
  const data = await parseBody(output.body, context);
2266
1528
  let contents = {};
2267
- contents = de_ListStackSetOperationResultsOutput(data.ListStackSetOperationResultsResult, context);
1529
+ contents = de_ListStackResourcesOutput(data.ListStackResourcesResult, context);
2268
1530
  const response = {
2269
1531
  $metadata: deserializeMetadata(output),
2270
1532
  ...contents,
2271
1533
  };
2272
1534
  return response;
2273
1535
  };
2274
- const de_ListStackSetOperationResultsCommandError = async (output, context) => {
2275
- const parsedOutput = {
2276
- ...output,
2277
- body: await parseErrorBody(output.body, context),
2278
- };
2279
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2280
- switch (errorCode) {
2281
- case "OperationNotFoundException":
2282
- case "com.amazonaws.cloudformation#OperationNotFoundException":
2283
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
2284
- case "StackSetNotFoundException":
2285
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2286
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2287
- default:
2288
- const parsedBody = parsedOutput.body;
2289
- return throwDefaultError({
2290
- output,
2291
- parsedBody: parsedBody.Error,
2292
- errorCode,
2293
- });
1536
+ export const de_ListStacksCommand = async (output, context) => {
1537
+ if (output.statusCode >= 300) {
1538
+ return de_CommandError(output, context);
2294
1539
  }
1540
+ const data = await parseBody(output.body, context);
1541
+ let contents = {};
1542
+ contents = de_ListStacksOutput(data.ListStacksResult, context);
1543
+ const response = {
1544
+ $metadata: deserializeMetadata(output),
1545
+ ...contents,
1546
+ };
1547
+ return response;
2295
1548
  };
2296
- export const de_ListStackSetOperationsCommand = async (output, context) => {
1549
+ export const de_ListStackSetOperationResultsCommand = async (output, context) => {
2297
1550
  if (output.statusCode >= 300) {
2298
- return de_ListStackSetOperationsCommandError(output, context);
1551
+ return de_CommandError(output, context);
2299
1552
  }
2300
1553
  const data = await parseBody(output.body, context);
2301
1554
  let contents = {};
2302
- contents = de_ListStackSetOperationsOutput(data.ListStackSetOperationsResult, context);
1555
+ contents = de_ListStackSetOperationResultsOutput(data.ListStackSetOperationResultsResult, context);
2303
1556
  const response = {
2304
1557
  $metadata: deserializeMetadata(output),
2305
1558
  ...contents,
2306
1559
  };
2307
1560
  return response;
2308
1561
  };
2309
- const de_ListStackSetOperationsCommandError = async (output, context) => {
2310
- const parsedOutput = {
2311
- ...output,
2312
- body: await parseErrorBody(output.body, context),
2313
- };
2314
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2315
- switch (errorCode) {
2316
- case "StackSetNotFoundException":
2317
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2318
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2319
- default:
2320
- const parsedBody = parsedOutput.body;
2321
- return throwDefaultError({
2322
- output,
2323
- parsedBody: parsedBody.Error,
2324
- errorCode,
2325
- });
1562
+ export const de_ListStackSetOperationsCommand = async (output, context) => {
1563
+ if (output.statusCode >= 300) {
1564
+ return de_CommandError(output, context);
2326
1565
  }
1566
+ const data = await parseBody(output.body, context);
1567
+ let contents = {};
1568
+ contents = de_ListStackSetOperationsOutput(data.ListStackSetOperationsResult, context);
1569
+ const response = {
1570
+ $metadata: deserializeMetadata(output),
1571
+ ...contents,
1572
+ };
1573
+ return response;
2327
1574
  };
2328
1575
  export const de_ListStackSetsCommand = async (output, context) => {
2329
1576
  if (output.statusCode >= 300) {
2330
- return de_ListStackSetsCommandError(output, context);
1577
+ return de_CommandError(output, context);
2331
1578
  }
2332
1579
  const data = await parseBody(output.body, context);
2333
1580
  let contents = {};
@@ -2338,22 +1585,9 @@ export const de_ListStackSetsCommand = async (output, context) => {
2338
1585
  };
2339
1586
  return response;
2340
1587
  };
2341
- const de_ListStackSetsCommandError = async (output, context) => {
2342
- const parsedOutput = {
2343
- ...output,
2344
- body: await parseErrorBody(output.body, context),
2345
- };
2346
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2347
- const parsedBody = parsedOutput.body;
2348
- return throwDefaultError({
2349
- output,
2350
- parsedBody: parsedBody.Error,
2351
- errorCode,
2352
- });
2353
- };
2354
1588
  export const de_ListTypeRegistrationsCommand = async (output, context) => {
2355
1589
  if (output.statusCode >= 300) {
2356
- return de_ListTypeRegistrationsCommandError(output, context);
1590
+ return de_CommandError(output, context);
2357
1591
  }
2358
1592
  const data = await parseBody(output.body, context);
2359
1593
  let contents = {};
@@ -2364,28 +1598,9 @@ export const de_ListTypeRegistrationsCommand = async (output, context) => {
2364
1598
  };
2365
1599
  return response;
2366
1600
  };
2367
- const de_ListTypeRegistrationsCommandError = async (output, context) => {
2368
- const parsedOutput = {
2369
- ...output,
2370
- body: await parseErrorBody(output.body, context),
2371
- };
2372
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2373
- switch (errorCode) {
2374
- case "CFNRegistryException":
2375
- case "com.amazonaws.cloudformation#CFNRegistryException":
2376
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2377
- default:
2378
- const parsedBody = parsedOutput.body;
2379
- return throwDefaultError({
2380
- output,
2381
- parsedBody: parsedBody.Error,
2382
- errorCode,
2383
- });
2384
- }
2385
- };
2386
1601
  export const de_ListTypesCommand = async (output, context) => {
2387
1602
  if (output.statusCode >= 300) {
2388
- return de_ListTypesCommandError(output, context);
1603
+ return de_CommandError(output, context);
2389
1604
  }
2390
1605
  const data = await parseBody(output.body, context);
2391
1606
  let contents = {};
@@ -2396,28 +1611,9 @@ export const de_ListTypesCommand = async (output, context) => {
2396
1611
  };
2397
1612
  return response;
2398
1613
  };
2399
- const de_ListTypesCommandError = async (output, context) => {
2400
- const parsedOutput = {
2401
- ...output,
2402
- body: await parseErrorBody(output.body, context),
2403
- };
2404
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2405
- switch (errorCode) {
2406
- case "CFNRegistryException":
2407
- case "com.amazonaws.cloudformation#CFNRegistryException":
2408
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2409
- default:
2410
- const parsedBody = parsedOutput.body;
2411
- return throwDefaultError({
2412
- output,
2413
- parsedBody: parsedBody.Error,
2414
- errorCode,
2415
- });
2416
- }
2417
- };
2418
1614
  export const de_ListTypeVersionsCommand = async (output, context) => {
2419
1615
  if (output.statusCode >= 300) {
2420
- return de_ListTypeVersionsCommandError(output, context);
1616
+ return de_CommandError(output, context);
2421
1617
  }
2422
1618
  const data = await parseBody(output.body, context);
2423
1619
  let contents = {};
@@ -2428,28 +1624,9 @@ export const de_ListTypeVersionsCommand = async (output, context) => {
2428
1624
  };
2429
1625
  return response;
2430
1626
  };
2431
- const de_ListTypeVersionsCommandError = async (output, context) => {
2432
- const parsedOutput = {
2433
- ...output,
2434
- body: await parseErrorBody(output.body, context),
2435
- };
2436
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2437
- switch (errorCode) {
2438
- case "CFNRegistryException":
2439
- case "com.amazonaws.cloudformation#CFNRegistryException":
2440
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2441
- default:
2442
- const parsedBody = parsedOutput.body;
2443
- return throwDefaultError({
2444
- output,
2445
- parsedBody: parsedBody.Error,
2446
- errorCode,
2447
- });
2448
- }
2449
- };
2450
1627
  export const de_PublishTypeCommand = async (output, context) => {
2451
1628
  if (output.statusCode >= 300) {
2452
- return de_PublishTypeCommandError(output, context);
1629
+ return de_CommandError(output, context);
2453
1630
  }
2454
1631
  const data = await parseBody(output.body, context);
2455
1632
  let contents = {};
@@ -2460,31 +1637,9 @@ export const de_PublishTypeCommand = async (output, context) => {
2460
1637
  };
2461
1638
  return response;
2462
1639
  };
2463
- const de_PublishTypeCommandError = async (output, context) => {
2464
- const parsedOutput = {
2465
- ...output,
2466
- body: await parseErrorBody(output.body, context),
2467
- };
2468
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2469
- switch (errorCode) {
2470
- case "CFNRegistryException":
2471
- case "com.amazonaws.cloudformation#CFNRegistryException":
2472
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2473
- case "TypeNotFoundException":
2474
- case "com.amazonaws.cloudformation#TypeNotFoundException":
2475
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
2476
- default:
2477
- const parsedBody = parsedOutput.body;
2478
- return throwDefaultError({
2479
- output,
2480
- parsedBody: parsedBody.Error,
2481
- errorCode,
2482
- });
2483
- }
2484
- };
2485
1640
  export const de_RecordHandlerProgressCommand = async (output, context) => {
2486
1641
  if (output.statusCode >= 300) {
2487
- return de_RecordHandlerProgressCommandError(output, context);
1642
+ return de_CommandError(output, context);
2488
1643
  }
2489
1644
  const data = await parseBody(output.body, context);
2490
1645
  let contents = {};
@@ -2495,31 +1650,9 @@ export const de_RecordHandlerProgressCommand = async (output, context) => {
2495
1650
  };
2496
1651
  return response;
2497
1652
  };
2498
- const de_RecordHandlerProgressCommandError = async (output, context) => {
2499
- const parsedOutput = {
2500
- ...output,
2501
- body: await parseErrorBody(output.body, context),
2502
- };
2503
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2504
- switch (errorCode) {
2505
- case "ConditionalCheckFailed":
2506
- case "com.amazonaws.cloudformation#OperationStatusCheckFailedException":
2507
- throw await de_OperationStatusCheckFailedExceptionRes(parsedOutput, context);
2508
- case "InvalidStateTransition":
2509
- case "com.amazonaws.cloudformation#InvalidStateTransitionException":
2510
- throw await de_InvalidStateTransitionExceptionRes(parsedOutput, context);
2511
- default:
2512
- const parsedBody = parsedOutput.body;
2513
- return throwDefaultError({
2514
- output,
2515
- parsedBody: parsedBody.Error,
2516
- errorCode,
2517
- });
2518
- }
2519
- };
2520
1653
  export const de_RegisterPublisherCommand = async (output, context) => {
2521
1654
  if (output.statusCode >= 300) {
2522
- return de_RegisterPublisherCommandError(output, context);
1655
+ return de_CommandError(output, context);
2523
1656
  }
2524
1657
  const data = await parseBody(output.body, context);
2525
1658
  let contents = {};
@@ -2530,28 +1663,9 @@ export const de_RegisterPublisherCommand = async (output, context) => {
2530
1663
  };
2531
1664
  return response;
2532
1665
  };
2533
- const de_RegisterPublisherCommandError = async (output, context) => {
2534
- const parsedOutput = {
2535
- ...output,
2536
- body: await parseErrorBody(output.body, context),
2537
- };
2538
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2539
- switch (errorCode) {
2540
- case "CFNRegistryException":
2541
- case "com.amazonaws.cloudformation#CFNRegistryException":
2542
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2543
- default:
2544
- const parsedBody = parsedOutput.body;
2545
- return throwDefaultError({
2546
- output,
2547
- parsedBody: parsedBody.Error,
2548
- errorCode,
2549
- });
2550
- }
2551
- };
2552
1666
  export const de_RegisterTypeCommand = async (output, context) => {
2553
1667
  if (output.statusCode >= 300) {
2554
- return de_RegisterTypeCommandError(output, context);
1668
+ return de_CommandError(output, context);
2555
1669
  }
2556
1670
  const data = await parseBody(output.body, context);
2557
1671
  let contents = {};
@@ -2562,28 +1676,9 @@ export const de_RegisterTypeCommand = async (output, context) => {
2562
1676
  };
2563
1677
  return response;
2564
1678
  };
2565
- const de_RegisterTypeCommandError = async (output, context) => {
2566
- const parsedOutput = {
2567
- ...output,
2568
- body: await parseErrorBody(output.body, context),
2569
- };
2570
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2571
- switch (errorCode) {
2572
- case "CFNRegistryException":
2573
- case "com.amazonaws.cloudformation#CFNRegistryException":
2574
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2575
- default:
2576
- const parsedBody = parsedOutput.body;
2577
- return throwDefaultError({
2578
- output,
2579
- parsedBody: parsedBody.Error,
2580
- errorCode,
2581
- });
2582
- }
2583
- };
2584
1679
  export const de_RollbackStackCommand = async (output, context) => {
2585
1680
  if (output.statusCode >= 300) {
2586
- return de_RollbackStackCommandError(output, context);
1681
+ return de_CommandError(output, context);
2587
1682
  }
2588
1683
  const data = await parseBody(output.body, context);
2589
1684
  let contents = {};
@@ -2594,28 +1689,9 @@ export const de_RollbackStackCommand = async (output, context) => {
2594
1689
  };
2595
1690
  return response;
2596
1691
  };
2597
- const de_RollbackStackCommandError = async (output, context) => {
2598
- const parsedOutput = {
2599
- ...output,
2600
- body: await parseErrorBody(output.body, context),
2601
- };
2602
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2603
- switch (errorCode) {
2604
- case "TokenAlreadyExistsException":
2605
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
2606
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
2607
- default:
2608
- const parsedBody = parsedOutput.body;
2609
- return throwDefaultError({
2610
- output,
2611
- parsedBody: parsedBody.Error,
2612
- errorCode,
2613
- });
2614
- }
2615
- };
2616
1692
  export const de_SetStackPolicyCommand = async (output, context) => {
2617
1693
  if (output.statusCode >= 300) {
2618
- return de_SetStackPolicyCommandError(output, context);
1694
+ return de_CommandError(output, context);
2619
1695
  }
2620
1696
  await collectBody(output.body, context);
2621
1697
  const response = {
@@ -2623,22 +1699,9 @@ export const de_SetStackPolicyCommand = async (output, context) => {
2623
1699
  };
2624
1700
  return response;
2625
1701
  };
2626
- const de_SetStackPolicyCommandError = async (output, context) => {
2627
- const parsedOutput = {
2628
- ...output,
2629
- body: await parseErrorBody(output.body, context),
2630
- };
2631
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2632
- const parsedBody = parsedOutput.body;
2633
- return throwDefaultError({
2634
- output,
2635
- parsedBody: parsedBody.Error,
2636
- errorCode,
2637
- });
2638
- };
2639
1702
  export const de_SetTypeConfigurationCommand = async (output, context) => {
2640
1703
  if (output.statusCode >= 300) {
2641
- return de_SetTypeConfigurationCommandError(output, context);
1704
+ return de_CommandError(output, context);
2642
1705
  }
2643
1706
  const data = await parseBody(output.body, context);
2644
1707
  let contents = {};
@@ -2649,31 +1712,9 @@ export const de_SetTypeConfigurationCommand = async (output, context) => {
2649
1712
  };
2650
1713
  return response;
2651
1714
  };
2652
- const de_SetTypeConfigurationCommandError = async (output, context) => {
2653
- const parsedOutput = {
2654
- ...output,
2655
- body: await parseErrorBody(output.body, context),
2656
- };
2657
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2658
- switch (errorCode) {
2659
- case "CFNRegistryException":
2660
- case "com.amazonaws.cloudformation#CFNRegistryException":
2661
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2662
- case "TypeNotFoundException":
2663
- case "com.amazonaws.cloudformation#TypeNotFoundException":
2664
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
2665
- default:
2666
- const parsedBody = parsedOutput.body;
2667
- return throwDefaultError({
2668
- output,
2669
- parsedBody: parsedBody.Error,
2670
- errorCode,
2671
- });
2672
- }
2673
- };
2674
1715
  export const de_SetTypeDefaultVersionCommand = async (output, context) => {
2675
1716
  if (output.statusCode >= 300) {
2676
- return de_SetTypeDefaultVersionCommandError(output, context);
1717
+ return de_CommandError(output, context);
2677
1718
  }
2678
1719
  const data = await parseBody(output.body, context);
2679
1720
  let contents = {};
@@ -2684,31 +1725,9 @@ export const de_SetTypeDefaultVersionCommand = async (output, context) => {
2684
1725
  };
2685
1726
  return response;
2686
1727
  };
2687
- const de_SetTypeDefaultVersionCommandError = async (output, context) => {
2688
- const parsedOutput = {
2689
- ...output,
2690
- body: await parseErrorBody(output.body, context),
2691
- };
2692
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2693
- switch (errorCode) {
2694
- case "CFNRegistryException":
2695
- case "com.amazonaws.cloudformation#CFNRegistryException":
2696
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2697
- case "TypeNotFoundException":
2698
- case "com.amazonaws.cloudformation#TypeNotFoundException":
2699
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
2700
- default:
2701
- const parsedBody = parsedOutput.body;
2702
- return throwDefaultError({
2703
- output,
2704
- parsedBody: parsedBody.Error,
2705
- errorCode,
2706
- });
2707
- }
2708
- };
2709
1728
  export const de_SignalResourceCommand = async (output, context) => {
2710
1729
  if (output.statusCode >= 300) {
2711
- return de_SignalResourceCommandError(output, context);
1730
+ return de_CommandError(output, context);
2712
1731
  }
2713
1732
  await collectBody(output.body, context);
2714
1733
  const response = {
@@ -2716,22 +1735,22 @@ export const de_SignalResourceCommand = async (output, context) => {
2716
1735
  };
2717
1736
  return response;
2718
1737
  };
2719
- const de_SignalResourceCommandError = async (output, context) => {
2720
- const parsedOutput = {
2721
- ...output,
2722
- body: await parseErrorBody(output.body, context),
1738
+ export const de_StartResourceScanCommand = async (output, context) => {
1739
+ if (output.statusCode >= 300) {
1740
+ return de_CommandError(output, context);
1741
+ }
1742
+ const data = await parseBody(output.body, context);
1743
+ let contents = {};
1744
+ contents = de_StartResourceScanOutput(data.StartResourceScanResult, context);
1745
+ const response = {
1746
+ $metadata: deserializeMetadata(output),
1747
+ ...contents,
2723
1748
  };
2724
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2725
- const parsedBody = parsedOutput.body;
2726
- return throwDefaultError({
2727
- output,
2728
- parsedBody: parsedBody.Error,
2729
- errorCode,
2730
- });
1749
+ return response;
2731
1750
  };
2732
1751
  export const de_StopStackSetOperationCommand = async (output, context) => {
2733
1752
  if (output.statusCode >= 300) {
2734
- return de_StopStackSetOperationCommandError(output, context);
1753
+ return de_CommandError(output, context);
2735
1754
  }
2736
1755
  const data = await parseBody(output.body, context);
2737
1756
  let contents = {};
@@ -2742,34 +1761,9 @@ export const de_StopStackSetOperationCommand = async (output, context) => {
2742
1761
  };
2743
1762
  return response;
2744
1763
  };
2745
- const de_StopStackSetOperationCommandError = async (output, context) => {
2746
- const parsedOutput = {
2747
- ...output,
2748
- body: await parseErrorBody(output.body, context),
2749
- };
2750
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2751
- switch (errorCode) {
2752
- case "InvalidOperationException":
2753
- case "com.amazonaws.cloudformation#InvalidOperationException":
2754
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2755
- case "OperationNotFoundException":
2756
- case "com.amazonaws.cloudformation#OperationNotFoundException":
2757
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
2758
- case "StackSetNotFoundException":
2759
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2760
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2761
- default:
2762
- const parsedBody = parsedOutput.body;
2763
- return throwDefaultError({
2764
- output,
2765
- parsedBody: parsedBody.Error,
2766
- errorCode,
2767
- });
2768
- }
2769
- };
2770
1764
  export const de_TestTypeCommand = async (output, context) => {
2771
1765
  if (output.statusCode >= 300) {
2772
- return de_TestTypeCommandError(output, context);
1766
+ return de_CommandError(output, context);
2773
1767
  }
2774
1768
  const data = await parseBody(output.body, context);
2775
1769
  let contents = {};
@@ -2780,31 +1774,22 @@ export const de_TestTypeCommand = async (output, context) => {
2780
1774
  };
2781
1775
  return response;
2782
1776
  };
2783
- const de_TestTypeCommandError = async (output, context) => {
2784
- const parsedOutput = {
2785
- ...output,
2786
- body: await parseErrorBody(output.body, context),
2787
- };
2788
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2789
- switch (errorCode) {
2790
- case "CFNRegistryException":
2791
- case "com.amazonaws.cloudformation#CFNRegistryException":
2792
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2793
- case "TypeNotFoundException":
2794
- case "com.amazonaws.cloudformation#TypeNotFoundException":
2795
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
2796
- default:
2797
- const parsedBody = parsedOutput.body;
2798
- return throwDefaultError({
2799
- output,
2800
- parsedBody: parsedBody.Error,
2801
- errorCode,
2802
- });
1777
+ export const de_UpdateGeneratedTemplateCommand = async (output, context) => {
1778
+ if (output.statusCode >= 300) {
1779
+ return de_CommandError(output, context);
2803
1780
  }
1781
+ const data = await parseBody(output.body, context);
1782
+ let contents = {};
1783
+ contents = de_UpdateGeneratedTemplateOutput(data.UpdateGeneratedTemplateResult, context);
1784
+ const response = {
1785
+ $metadata: deserializeMetadata(output),
1786
+ ...contents,
1787
+ };
1788
+ return response;
2804
1789
  };
2805
1790
  export const de_UpdateStackCommand = async (output, context) => {
2806
1791
  if (output.statusCode >= 300) {
2807
- return de_UpdateStackCommandError(output, context);
1792
+ return de_CommandError(output, context);
2808
1793
  }
2809
1794
  const data = await parseBody(output.body, context);
2810
1795
  let contents = {};
@@ -2815,31 +1800,9 @@ export const de_UpdateStackCommand = async (output, context) => {
2815
1800
  };
2816
1801
  return response;
2817
1802
  };
2818
- const de_UpdateStackCommandError = async (output, context) => {
2819
- const parsedOutput = {
2820
- ...output,
2821
- body: await parseErrorBody(output.body, context),
2822
- };
2823
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2824
- switch (errorCode) {
2825
- case "InsufficientCapabilitiesException":
2826
- case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
2827
- throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
2828
- case "TokenAlreadyExistsException":
2829
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
2830
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
2831
- default:
2832
- const parsedBody = parsedOutput.body;
2833
- return throwDefaultError({
2834
- output,
2835
- parsedBody: parsedBody.Error,
2836
- errorCode,
2837
- });
2838
- }
2839
- };
2840
1803
  export const de_UpdateStackInstancesCommand = async (output, context) => {
2841
1804
  if (output.statusCode >= 300) {
2842
- return de_UpdateStackInstancesCommandError(output, context);
1805
+ return de_CommandError(output, context);
2843
1806
  }
2844
1807
  const data = await parseBody(output.body, context);
2845
1808
  let contents = {};
@@ -2850,54 +1813,46 @@ export const de_UpdateStackInstancesCommand = async (output, context) => {
2850
1813
  };
2851
1814
  return response;
2852
1815
  };
2853
- const de_UpdateStackInstancesCommandError = async (output, context) => {
2854
- const parsedOutput = {
2855
- ...output,
2856
- body: await parseErrorBody(output.body, context),
1816
+ export const de_UpdateStackSetCommand = async (output, context) => {
1817
+ if (output.statusCode >= 300) {
1818
+ return de_CommandError(output, context);
1819
+ }
1820
+ const data = await parseBody(output.body, context);
1821
+ let contents = {};
1822
+ contents = de_UpdateStackSetOutput(data.UpdateStackSetResult, context);
1823
+ const response = {
1824
+ $metadata: deserializeMetadata(output),
1825
+ ...contents,
2857
1826
  };
2858
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2859
- switch (errorCode) {
2860
- case "InvalidOperationException":
2861
- case "com.amazonaws.cloudformation#InvalidOperationException":
2862
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2863
- case "OperationIdAlreadyExistsException":
2864
- case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
2865
- throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
2866
- case "OperationInProgressException":
2867
- case "com.amazonaws.cloudformation#OperationInProgressException":
2868
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
2869
- case "StackInstanceNotFoundException":
2870
- case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
2871
- throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
2872
- case "StackSetNotFoundException":
2873
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2874
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2875
- case "StaleRequestException":
2876
- case "com.amazonaws.cloudformation#StaleRequestException":
2877
- throw await de_StaleRequestExceptionRes(parsedOutput, context);
2878
- default:
2879
- const parsedBody = parsedOutput.body;
2880
- return throwDefaultError({
2881
- output,
2882
- parsedBody: parsedBody.Error,
2883
- errorCode,
2884
- });
1827
+ return response;
1828
+ };
1829
+ export const de_UpdateTerminationProtectionCommand = async (output, context) => {
1830
+ if (output.statusCode >= 300) {
1831
+ return de_CommandError(output, context);
2885
1832
  }
1833
+ const data = await parseBody(output.body, context);
1834
+ let contents = {};
1835
+ contents = de_UpdateTerminationProtectionOutput(data.UpdateTerminationProtectionResult, context);
1836
+ const response = {
1837
+ $metadata: deserializeMetadata(output),
1838
+ ...contents,
1839
+ };
1840
+ return response;
2886
1841
  };
2887
- export const de_UpdateStackSetCommand = async (output, context) => {
1842
+ export const de_ValidateTemplateCommand = async (output, context) => {
2888
1843
  if (output.statusCode >= 300) {
2889
- return de_UpdateStackSetCommandError(output, context);
1844
+ return de_CommandError(output, context);
2890
1845
  }
2891
1846
  const data = await parseBody(output.body, context);
2892
1847
  let contents = {};
2893
- contents = de_UpdateStackSetOutput(data.UpdateStackSetResult, context);
1848
+ contents = de_ValidateTemplateOutput(data.ValidateTemplateResult, context);
2894
1849
  const response = {
2895
1850
  $metadata: deserializeMetadata(output),
2896
1851
  ...contents,
2897
1852
  };
2898
1853
  return response;
2899
1854
  };
2900
- const de_UpdateStackSetCommandError = async (output, context) => {
1855
+ const de_CommandError = async (output, context) => {
2901
1856
  const parsedOutput = {
2902
1857
  ...output,
2903
1858
  body: await parseErrorBody(output.body, context),
@@ -2907,21 +1862,84 @@ const de_UpdateStackSetCommandError = async (output, context) => {
2907
1862
  case "InvalidOperationException":
2908
1863
  case "com.amazonaws.cloudformation#InvalidOperationException":
2909
1864
  throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1865
+ case "OperationNotFoundException":
1866
+ case "com.amazonaws.cloudformation#OperationNotFoundException":
1867
+ throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
1868
+ case "CFNRegistryException":
1869
+ case "com.amazonaws.cloudformation#CFNRegistryException":
1870
+ throw await de_CFNRegistryExceptionRes(parsedOutput, context);
1871
+ case "TypeNotFoundException":
1872
+ case "com.amazonaws.cloudformation#TypeNotFoundException":
1873
+ throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
1874
+ case "TypeConfigurationNotFoundException":
1875
+ case "com.amazonaws.cloudformation#TypeConfigurationNotFoundException":
1876
+ throw await de_TypeConfigurationNotFoundExceptionRes(parsedOutput, context);
1877
+ case "TokenAlreadyExistsException":
1878
+ case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
1879
+ throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
1880
+ case "AlreadyExistsException":
1881
+ case "com.amazonaws.cloudformation#AlreadyExistsException":
1882
+ throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
1883
+ case "InsufficientCapabilitiesException":
1884
+ case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
1885
+ throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
1886
+ case "LimitExceededException":
1887
+ case "com.amazonaws.cloudformation#LimitExceededException":
1888
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1889
+ case "ConcurrentResourcesLimitExceeded":
1890
+ case "com.amazonaws.cloudformation#ConcurrentResourcesLimitExceededException":
1891
+ throw await de_ConcurrentResourcesLimitExceededExceptionRes(parsedOutput, context);
2910
1892
  case "OperationIdAlreadyExistsException":
2911
1893
  case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
2912
1894
  throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
2913
1895
  case "OperationInProgressException":
2914
1896
  case "com.amazonaws.cloudformation#OperationInProgressException":
2915
1897
  throw await de_OperationInProgressExceptionRes(parsedOutput, context);
2916
- case "StackInstanceNotFoundException":
2917
- case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
2918
- throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
2919
1898
  case "StackSetNotFoundException":
2920
1899
  case "com.amazonaws.cloudformation#StackSetNotFoundException":
2921
1900
  throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2922
1901
  case "StaleRequestException":
2923
1902
  case "com.amazonaws.cloudformation#StaleRequestException":
2924
1903
  throw await de_StaleRequestExceptionRes(parsedOutput, context);
1904
+ case "CreatedButModifiedException":
1905
+ case "com.amazonaws.cloudformation#CreatedButModifiedException":
1906
+ throw await de_CreatedButModifiedExceptionRes(parsedOutput, context);
1907
+ case "NameAlreadyExistsException":
1908
+ case "com.amazonaws.cloudformation#NameAlreadyExistsException":
1909
+ throw await de_NameAlreadyExistsExceptionRes(parsedOutput, context);
1910
+ case "InvalidChangeSetStatus":
1911
+ case "com.amazonaws.cloudformation#InvalidChangeSetStatusException":
1912
+ throw await de_InvalidChangeSetStatusExceptionRes(parsedOutput, context);
1913
+ case "GeneratedTemplateNotFound":
1914
+ case "com.amazonaws.cloudformation#GeneratedTemplateNotFoundException":
1915
+ throw await de_GeneratedTemplateNotFoundExceptionRes(parsedOutput, context);
1916
+ case "StackSetNotEmptyException":
1917
+ case "com.amazonaws.cloudformation#StackSetNotEmptyException":
1918
+ throw await de_StackSetNotEmptyExceptionRes(parsedOutput, context);
1919
+ case "ChangeSetNotFound":
1920
+ case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
1921
+ throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
1922
+ case "ResourceScanNotFound":
1923
+ case "com.amazonaws.cloudformation#ResourceScanNotFoundException":
1924
+ throw await de_ResourceScanNotFoundExceptionRes(parsedOutput, context);
1925
+ case "StackInstanceNotFoundException":
1926
+ case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
1927
+ throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
1928
+ case "StackNotFoundException":
1929
+ case "com.amazonaws.cloudformation#StackNotFoundException":
1930
+ throw await de_StackNotFoundExceptionRes(parsedOutput, context);
1931
+ case "ResourceScanInProgress":
1932
+ case "com.amazonaws.cloudformation#ResourceScanInProgressException":
1933
+ throw await de_ResourceScanInProgressExceptionRes(parsedOutput, context);
1934
+ case "ConditionalCheckFailed":
1935
+ case "com.amazonaws.cloudformation#OperationStatusCheckFailedException":
1936
+ throw await de_OperationStatusCheckFailedExceptionRes(parsedOutput, context);
1937
+ case "InvalidStateTransition":
1938
+ case "com.amazonaws.cloudformation#InvalidStateTransitionException":
1939
+ throw await de_InvalidStateTransitionExceptionRes(parsedOutput, context);
1940
+ case "ResourceScanLimitExceeded":
1941
+ case "com.amazonaws.cloudformation#ResourceScanLimitExceededException":
1942
+ throw await de_ResourceScanLimitExceededExceptionRes(parsedOutput, context);
2925
1943
  default:
2926
1944
  const parsedBody = parsedOutput.body;
2927
1945
  return throwDefaultError({
@@ -2931,58 +1949,6 @@ const de_UpdateStackSetCommandError = async (output, context) => {
2931
1949
  });
2932
1950
  }
2933
1951
  };
2934
- export const de_UpdateTerminationProtectionCommand = async (output, context) => {
2935
- if (output.statusCode >= 300) {
2936
- return de_UpdateTerminationProtectionCommandError(output, context);
2937
- }
2938
- const data = await parseBody(output.body, context);
2939
- let contents = {};
2940
- contents = de_UpdateTerminationProtectionOutput(data.UpdateTerminationProtectionResult, context);
2941
- const response = {
2942
- $metadata: deserializeMetadata(output),
2943
- ...contents,
2944
- };
2945
- return response;
2946
- };
2947
- const de_UpdateTerminationProtectionCommandError = async (output, context) => {
2948
- const parsedOutput = {
2949
- ...output,
2950
- body: await parseErrorBody(output.body, context),
2951
- };
2952
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2953
- const parsedBody = parsedOutput.body;
2954
- return throwDefaultError({
2955
- output,
2956
- parsedBody: parsedBody.Error,
2957
- errorCode,
2958
- });
2959
- };
2960
- export const de_ValidateTemplateCommand = async (output, context) => {
2961
- if (output.statusCode >= 300) {
2962
- return de_ValidateTemplateCommandError(output, context);
2963
- }
2964
- const data = await parseBody(output.body, context);
2965
- let contents = {};
2966
- contents = de_ValidateTemplateOutput(data.ValidateTemplateResult, context);
2967
- const response = {
2968
- $metadata: deserializeMetadata(output),
2969
- ...contents,
2970
- };
2971
- return response;
2972
- };
2973
- const de_ValidateTemplateCommandError = async (output, context) => {
2974
- const parsedOutput = {
2975
- ...output,
2976
- body: await parseErrorBody(output.body, context),
2977
- };
2978
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2979
- const parsedBody = parsedOutput.body;
2980
- return throwDefaultError({
2981
- output,
2982
- parsedBody: parsedBody.Error,
2983
- errorCode,
2984
- });
2985
- };
2986
1952
  const de_AlreadyExistsExceptionRes = async (parsedOutput, context) => {
2987
1953
  const body = parsedOutput.body;
2988
1954
  const deserialized = de_AlreadyExistsException(body.Error, context);
@@ -3010,6 +1976,15 @@ const de_ChangeSetNotFoundExceptionRes = async (parsedOutput, context) => {
3010
1976
  });
3011
1977
  return __decorateServiceException(exception, body);
3012
1978
  };
1979
+ const de_ConcurrentResourcesLimitExceededExceptionRes = async (parsedOutput, context) => {
1980
+ const body = parsedOutput.body;
1981
+ const deserialized = de_ConcurrentResourcesLimitExceededException(body.Error, context);
1982
+ const exception = new ConcurrentResourcesLimitExceededException({
1983
+ $metadata: deserializeMetadata(parsedOutput),
1984
+ ...deserialized,
1985
+ });
1986
+ return __decorateServiceException(exception, body);
1987
+ };
3013
1988
  const de_CreatedButModifiedExceptionRes = async (parsedOutput, context) => {
3014
1989
  const body = parsedOutput.body;
3015
1990
  const deserialized = de_CreatedButModifiedException(body.Error, context);
@@ -3019,6 +1994,15 @@ const de_CreatedButModifiedExceptionRes = async (parsedOutput, context) => {
3019
1994
  });
3020
1995
  return __decorateServiceException(exception, body);
3021
1996
  };
1997
+ const de_GeneratedTemplateNotFoundExceptionRes = async (parsedOutput, context) => {
1998
+ const body = parsedOutput.body;
1999
+ const deserialized = de_GeneratedTemplateNotFoundException(body.Error, context);
2000
+ const exception = new GeneratedTemplateNotFoundException({
2001
+ $metadata: deserializeMetadata(parsedOutput),
2002
+ ...deserialized,
2003
+ });
2004
+ return __decorateServiceException(exception, body);
2005
+ };
3022
2006
  const de_InsufficientCapabilitiesExceptionRes = async (parsedOutput, context) => {
3023
2007
  const body = parsedOutput.body;
3024
2008
  const deserialized = de_InsufficientCapabilitiesException(body.Error, context);
@@ -3082,28 +2066,55 @@ const de_OperationIdAlreadyExistsExceptionRes = async (parsedOutput, context) =>
3082
2066
  });
3083
2067
  return __decorateServiceException(exception, body);
3084
2068
  };
3085
- const de_OperationInProgressExceptionRes = async (parsedOutput, context) => {
2069
+ const de_OperationInProgressExceptionRes = async (parsedOutput, context) => {
2070
+ const body = parsedOutput.body;
2071
+ const deserialized = de_OperationInProgressException(body.Error, context);
2072
+ const exception = new OperationInProgressException({
2073
+ $metadata: deserializeMetadata(parsedOutput),
2074
+ ...deserialized,
2075
+ });
2076
+ return __decorateServiceException(exception, body);
2077
+ };
2078
+ const de_OperationNotFoundExceptionRes = async (parsedOutput, context) => {
2079
+ const body = parsedOutput.body;
2080
+ const deserialized = de_OperationNotFoundException(body.Error, context);
2081
+ const exception = new OperationNotFoundException({
2082
+ $metadata: deserializeMetadata(parsedOutput),
2083
+ ...deserialized,
2084
+ });
2085
+ return __decorateServiceException(exception, body);
2086
+ };
2087
+ const de_OperationStatusCheckFailedExceptionRes = async (parsedOutput, context) => {
2088
+ const body = parsedOutput.body;
2089
+ const deserialized = de_OperationStatusCheckFailedException(body.Error, context);
2090
+ const exception = new OperationStatusCheckFailedException({
2091
+ $metadata: deserializeMetadata(parsedOutput),
2092
+ ...deserialized,
2093
+ });
2094
+ return __decorateServiceException(exception, body);
2095
+ };
2096
+ const de_ResourceScanInProgressExceptionRes = async (parsedOutput, context) => {
3086
2097
  const body = parsedOutput.body;
3087
- const deserialized = de_OperationInProgressException(body.Error, context);
3088
- const exception = new OperationInProgressException({
2098
+ const deserialized = de_ResourceScanInProgressException(body.Error, context);
2099
+ const exception = new ResourceScanInProgressException({
3089
2100
  $metadata: deserializeMetadata(parsedOutput),
3090
2101
  ...deserialized,
3091
2102
  });
3092
2103
  return __decorateServiceException(exception, body);
3093
2104
  };
3094
- const de_OperationNotFoundExceptionRes = async (parsedOutput, context) => {
2105
+ const de_ResourceScanLimitExceededExceptionRes = async (parsedOutput, context) => {
3095
2106
  const body = parsedOutput.body;
3096
- const deserialized = de_OperationNotFoundException(body.Error, context);
3097
- const exception = new OperationNotFoundException({
2107
+ const deserialized = de_ResourceScanLimitExceededException(body.Error, context);
2108
+ const exception = new ResourceScanLimitExceededException({
3098
2109
  $metadata: deserializeMetadata(parsedOutput),
3099
2110
  ...deserialized,
3100
2111
  });
3101
2112
  return __decorateServiceException(exception, body);
3102
2113
  };
3103
- const de_OperationStatusCheckFailedExceptionRes = async (parsedOutput, context) => {
2114
+ const de_ResourceScanNotFoundExceptionRes = async (parsedOutput, context) => {
3104
2115
  const body = parsedOutput.body;
3105
- const deserialized = de_OperationStatusCheckFailedException(body.Error, context);
3106
- const exception = new OperationStatusCheckFailedException({
2116
+ const deserialized = de_ResourceScanNotFoundException(body.Error, context);
2117
+ const exception = new ResourceScanNotFoundException({
3107
2118
  $metadata: deserializeMetadata(parsedOutput),
3108
2119
  ...deserialized,
3109
2120
  });
@@ -3411,6 +2422,33 @@ const se_CreateChangeSetInput = (input, context) => {
3411
2422
  }
3412
2423
  return entries;
3413
2424
  };
2425
+ const se_CreateGeneratedTemplateInput = (input, context) => {
2426
+ const entries = {};
2427
+ if (input[_R] != null) {
2428
+ const memberEntries = se_ResourceDefinitions(input[_R], context);
2429
+ if (input[_R]?.length === 0) {
2430
+ entries.Resources = [];
2431
+ }
2432
+ Object.entries(memberEntries).forEach(([key, value]) => {
2433
+ const loc = `Resources.${key}`;
2434
+ entries[loc] = value;
2435
+ });
2436
+ }
2437
+ if (input[_GTN] != null) {
2438
+ entries[_GTN] = input[_GTN];
2439
+ }
2440
+ if (input[_SN] != null) {
2441
+ entries[_SN] = input[_SN];
2442
+ }
2443
+ if (input[_TC] != null) {
2444
+ const memberEntries = se_TemplateConfiguration(input[_TC], context);
2445
+ Object.entries(memberEntries).forEach(([key, value]) => {
2446
+ const loc = `TemplateConfiguration.${key}`;
2447
+ entries[loc] = value;
2448
+ });
2449
+ }
2450
+ return entries;
2451
+ };
3414
2452
  const se_CreateStackInput = (input, context) => {
3415
2453
  const entries = {};
3416
2454
  if (input[_SN] != null) {
@@ -3530,9 +2568,9 @@ const se_CreateStackInstancesInput = (input, context) => {
3530
2568
  entries[loc] = value;
3531
2569
  });
3532
2570
  }
3533
- if (input[_R] != null) {
3534
- const memberEntries = se_RegionList(input[_R], context);
3535
- if (input[_R]?.length === 0) {
2571
+ if (input[_Re] != null) {
2572
+ const memberEntries = se_RegionList(input[_Re], context);
2573
+ if (input[_Re]?.length === 0) {
3536
2574
  entries.Regions = [];
3537
2575
  }
3538
2576
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -3676,6 +2714,13 @@ const se_DeleteChangeSetInput = (input, context) => {
3676
2714
  }
3677
2715
  return entries;
3678
2716
  };
2717
+ const se_DeleteGeneratedTemplateInput = (input, context) => {
2718
+ const entries = {};
2719
+ if (input[_GTN] != null) {
2720
+ entries[_GTN] = input[_GTN];
2721
+ }
2722
+ return entries;
2723
+ };
3679
2724
  const se_DeleteStackInput = (input, context) => {
3680
2725
  const entries = {};
3681
2726
  if (input[_SN] != null) {
@@ -3721,9 +2766,9 @@ const se_DeleteStackInstancesInput = (input, context) => {
3721
2766
  entries[loc] = value;
3722
2767
  });
3723
2768
  }
3724
- if (input[_R] != null) {
3725
- const memberEntries = se_RegionList(input[_R], context);
3726
- if (input[_R]?.length === 0) {
2769
+ if (input[_Re] != null) {
2770
+ const memberEntries = se_RegionList(input[_Re], context);
2771
+ if (input[_Re]?.length === 0) {
3727
2772
  entries.Regions = [];
3728
2773
  }
3729
2774
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -3844,6 +2889,13 @@ const se_DescribeChangeSetInput = (input, context) => {
3844
2889
  }
3845
2890
  return entries;
3846
2891
  };
2892
+ const se_DescribeGeneratedTemplateInput = (input, context) => {
2893
+ const entries = {};
2894
+ if (input[_GTN] != null) {
2895
+ entries[_GTN] = input[_GTN];
2896
+ }
2897
+ return entries;
2898
+ };
3847
2899
  const se_DescribeOrganizationsAccessInput = (input, context) => {
3848
2900
  const entries = {};
3849
2901
  if (input[_CA] != null) {
@@ -3858,6 +2910,13 @@ const se_DescribePublisherInput = (input, context) => {
3858
2910
  }
3859
2911
  return entries;
3860
2912
  };
2913
+ const se_DescribeResourceScanInput = (input, context) => {
2914
+ const entries = {};
2915
+ if (input[_RSI] != null) {
2916
+ entries[_RSI] = input[_RSI];
2917
+ }
2918
+ return entries;
2919
+ };
3861
2920
  const se_DescribeStackDriftDetectionStatusInput = (input, context) => {
3862
2921
  const entries = {};
3863
2922
  if (input[_SDDI] != null) {
@@ -4088,6 +3147,16 @@ const se_ExecuteChangeSetInput = (input, context) => {
4088
3147
  }
4089
3148
  return entries;
4090
3149
  };
3150
+ const se_GetGeneratedTemplateInput = (input, context) => {
3151
+ const entries = {};
3152
+ if (input[_F] != null) {
3153
+ entries[_F] = input[_F];
3154
+ }
3155
+ if (input[_GTN] != null) {
3156
+ entries[_GTN] = input[_GTN];
3157
+ }
3158
+ return entries;
3159
+ };
4091
3160
  const se_GetStackPolicyInput = (input, context) => {
4092
3161
  const entries = {};
4093
3162
  if (input[_SN] != null) {
@@ -4180,6 +3249,30 @@ const se_ImportStacksToStackSetInput = (input, context) => {
4180
3249
  }
4181
3250
  return entries;
4182
3251
  };
3252
+ const se_JazzLogicalResourceIds = (input, context) => {
3253
+ const entries = {};
3254
+ let counter = 1;
3255
+ for (const entry of input) {
3256
+ if (entry === null) {
3257
+ continue;
3258
+ }
3259
+ entries[`member.${counter}`] = entry;
3260
+ counter++;
3261
+ }
3262
+ return entries;
3263
+ };
3264
+ const se_JazzResourceIdentifierProperties = (input, context) => {
3265
+ const entries = {};
3266
+ let counter = 1;
3267
+ Object.keys(input)
3268
+ .filter((key) => input[key] != null)
3269
+ .forEach((key) => {
3270
+ entries[`entry.${counter}.key`] = key;
3271
+ entries[`entry.${counter}.value`] = input[key];
3272
+ counter++;
3273
+ });
3274
+ return entries;
3275
+ };
4183
3276
  const se_ListChangeSetsInput = (input, context) => {
4184
3277
  const entries = {};
4185
3278
  if (input[_SN] != null) {
@@ -4197,6 +3290,16 @@ const se_ListExportsInput = (input, context) => {
4197
3290
  }
4198
3291
  return entries;
4199
3292
  };
3293
+ const se_ListGeneratedTemplatesInput = (input, context) => {
3294
+ const entries = {};
3295
+ if (input[_NT] != null) {
3296
+ entries[_NT] = input[_NT];
3297
+ }
3298
+ if (input[_MR] != null) {
3299
+ entries[_MR] = input[_MR];
3300
+ }
3301
+ return entries;
3302
+ };
4200
3303
  const se_ListImportsInput = (input, context) => {
4201
3304
  const entries = {};
4202
3305
  if (input[_EN] != null) {
@@ -4207,6 +3310,64 @@ const se_ListImportsInput = (input, context) => {
4207
3310
  }
4208
3311
  return entries;
4209
3312
  };
3313
+ const se_ListResourceScanRelatedResourcesInput = (input, context) => {
3314
+ const entries = {};
3315
+ if (input[_RSI] != null) {
3316
+ entries[_RSI] = input[_RSI];
3317
+ }
3318
+ if (input[_R] != null) {
3319
+ const memberEntries = se_ScannedResourceIdentifiers(input[_R], context);
3320
+ if (input[_R]?.length === 0) {
3321
+ entries.Resources = [];
3322
+ }
3323
+ Object.entries(memberEntries).forEach(([key, value]) => {
3324
+ const loc = `Resources.${key}`;
3325
+ entries[loc] = value;
3326
+ });
3327
+ }
3328
+ if (input[_NT] != null) {
3329
+ entries[_NT] = input[_NT];
3330
+ }
3331
+ if (input[_MR] != null) {
3332
+ entries[_MR] = input[_MR];
3333
+ }
3334
+ return entries;
3335
+ };
3336
+ const se_ListResourceScanResourcesInput = (input, context) => {
3337
+ const entries = {};
3338
+ if (input[_RSI] != null) {
3339
+ entries[_RSI] = input[_RSI];
3340
+ }
3341
+ if (input[_RI] != null) {
3342
+ entries[_RI] = input[_RI];
3343
+ }
3344
+ if (input[_RTP] != null) {
3345
+ entries[_RTP] = input[_RTP];
3346
+ }
3347
+ if (input[_TK] != null) {
3348
+ entries[_TK] = input[_TK];
3349
+ }
3350
+ if (input[_TV] != null) {
3351
+ entries[_TV] = input[_TV];
3352
+ }
3353
+ if (input[_NT] != null) {
3354
+ entries[_NT] = input[_NT];
3355
+ }
3356
+ if (input[_MR] != null) {
3357
+ entries[_MR] = input[_MR];
3358
+ }
3359
+ return entries;
3360
+ };
3361
+ const se_ListResourceScansInput = (input, context) => {
3362
+ const entries = {};
3363
+ if (input[_NT] != null) {
3364
+ entries[_NT] = input[_NT];
3365
+ }
3366
+ if (input[_MR] != null) {
3367
+ entries[_MR] = input[_MR];
3368
+ }
3369
+ return entries;
3370
+ };
4210
3371
  const se_ListStackInstanceResourceDriftsInput = (input, context) => {
4211
3372
  const entries = {};
4212
3373
  if (input[_SSN] != null) {
@@ -4253,9 +3414,9 @@ const se_ListStackInstancesInput = (input, context) => {
4253
3414
  if (input[_MR] != null) {
4254
3415
  entries[_MR] = input[_MR];
4255
3416
  }
4256
- if (input[_F] != null) {
4257
- const memberEntries = se_StackInstanceFilters(input[_F], context);
4258
- if (input[_F]?.length === 0) {
3417
+ if (input[_Fi] != null) {
3418
+ const memberEntries = se_StackInstanceFilters(input[_Fi], context);
3419
+ if (input[_Fi]?.length === 0) {
4259
3420
  entries.Filters = [];
4260
3421
  }
4261
3422
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -4301,9 +3462,9 @@ const se_ListStackSetOperationResultsInput = (input, context) => {
4301
3462
  if (input[_CA] != null) {
4302
3463
  entries[_CA] = input[_CA];
4303
3464
  }
4304
- if (input[_F] != null) {
4305
- const memberEntries = se_OperationResultFilters(input[_F], context);
4306
- if (input[_F]?.length === 0) {
3465
+ if (input[_Fi] != null) {
3466
+ const memberEntries = se_OperationResultFilters(input[_Fi], context);
3467
+ if (input[_Fi]?.length === 0) {
4307
3468
  entries.Filters = [];
4308
3469
  }
4309
3470
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -4398,8 +3559,8 @@ const se_ListTypesInput = (input, context) => {
4398
3559
  if (input[_T] != null) {
4399
3560
  entries[_T] = input[_T];
4400
3561
  }
4401
- if (input[_F] != null) {
4402
- const memberEntries = se_TypeFilters(input[_F], context);
3562
+ if (input[_Fi] != null) {
3563
+ const memberEntries = se_TypeFilters(input[_Fi], context);
4403
3564
  Object.entries(memberEntries).forEach(([key, value]) => {
4404
3565
  const loc = `Filters.${key}`;
4405
3566
  entries[loc] = value;
@@ -4636,6 +3797,38 @@ const se_RegisterTypeInput = (input, context) => {
4636
3797
  }
4637
3798
  return entries;
4638
3799
  };
3800
+ const se_ResourceDefinition = (input, context) => {
3801
+ const entries = {};
3802
+ if (input[_RTes] != null) {
3803
+ entries[_RTes] = input[_RTes];
3804
+ }
3805
+ if (input[_LRI] != null) {
3806
+ entries[_LRI] = input[_LRI];
3807
+ }
3808
+ if (input[_RI] != null) {
3809
+ const memberEntries = se_ResourceIdentifierProperties(input[_RI], context);
3810
+ Object.entries(memberEntries).forEach(([key, value]) => {
3811
+ const loc = `ResourceIdentifier.${key}`;
3812
+ entries[loc] = value;
3813
+ });
3814
+ }
3815
+ return entries;
3816
+ };
3817
+ const se_ResourceDefinitions = (input, context) => {
3818
+ const entries = {};
3819
+ let counter = 1;
3820
+ for (const entry of input) {
3821
+ if (entry === null) {
3822
+ continue;
3823
+ }
3824
+ const memberEntries = se_ResourceDefinition(entry, context);
3825
+ Object.entries(memberEntries).forEach(([key, value]) => {
3826
+ entries[`member.${counter}.${key}`] = value;
3827
+ });
3828
+ counter++;
3829
+ }
3830
+ return entries;
3831
+ };
4639
3832
  const se_ResourceIdentifierProperties = (input, context) => {
4640
3833
  const entries = {};
4641
3834
  let counter = 1;
@@ -4774,6 +3967,35 @@ const se_RollbackTriggers = (input, context) => {
4774
3967
  }
4775
3968
  return entries;
4776
3969
  };
3970
+ const se_ScannedResourceIdentifier = (input, context) => {
3971
+ const entries = {};
3972
+ if (input[_RTes] != null) {
3973
+ entries[_RTes] = input[_RTes];
3974
+ }
3975
+ if (input[_RI] != null) {
3976
+ const memberEntries = se_JazzResourceIdentifierProperties(input[_RI], context);
3977
+ Object.entries(memberEntries).forEach(([key, value]) => {
3978
+ const loc = `ResourceIdentifier.${key}`;
3979
+ entries[loc] = value;
3980
+ });
3981
+ }
3982
+ return entries;
3983
+ };
3984
+ const se_ScannedResourceIdentifiers = (input, context) => {
3985
+ const entries = {};
3986
+ let counter = 1;
3987
+ for (const entry of input) {
3988
+ if (entry === null) {
3989
+ continue;
3990
+ }
3991
+ const memberEntries = se_ScannedResourceIdentifier(entry, context);
3992
+ Object.entries(memberEntries).forEach(([key, value]) => {
3993
+ entries[`member.${counter}.${key}`] = value;
3994
+ });
3995
+ counter++;
3996
+ }
3997
+ return entries;
3998
+ };
4777
3999
  const se_SetStackPolicyInput = (input, context) => {
4778
4000
  const entries = {};
4779
4001
  if (input[_SN] != null) {
@@ -4931,6 +4153,13 @@ const se_StackStatusFilter = (input, context) => {
4931
4153
  }
4932
4154
  return entries;
4933
4155
  };
4156
+ const se_StartResourceScanInput = (input, context) => {
4157
+ const entries = {};
4158
+ if (input[_CRT] != null) {
4159
+ entries[_CRT] = input[_CRT];
4160
+ }
4161
+ return entries;
4162
+ };
4934
4163
  const se_StopStackSetOperationInput = (input, context) => {
4935
4164
  const entries = {};
4936
4165
  if (input[_SSN] != null) {
@@ -4969,6 +4198,16 @@ const se_Tags = (input, context) => {
4969
4198
  }
4970
4199
  return entries;
4971
4200
  };
4201
+ const se_TemplateConfiguration = (input, context) => {
4202
+ const entries = {};
4203
+ if (input[_DPe] != null) {
4204
+ entries[_DPe] = input[_DPe];
4205
+ }
4206
+ if (input[_URP] != null) {
4207
+ entries[_URP] = input[_URP];
4208
+ }
4209
+ return entries;
4210
+ };
4972
4211
  const se_TemplateSummaryConfig = (input, context) => {
4973
4212
  const entries = {};
4974
4213
  if (input[_TURTAW] != null) {
@@ -5042,6 +4281,46 @@ const se_TypeFilters = (input, context) => {
5042
4281
  }
5043
4282
  return entries;
5044
4283
  };
4284
+ const se_UpdateGeneratedTemplateInput = (input, context) => {
4285
+ const entries = {};
4286
+ if (input[_GTN] != null) {
4287
+ entries[_GTN] = input[_GTN];
4288
+ }
4289
+ if (input[_NGTN] != null) {
4290
+ entries[_NGTN] = input[_NGTN];
4291
+ }
4292
+ if (input[_AR] != null) {
4293
+ const memberEntries = se_ResourceDefinitions(input[_AR], context);
4294
+ if (input[_AR]?.length === 0) {
4295
+ entries.AddResources = [];
4296
+ }
4297
+ Object.entries(memberEntries).forEach(([key, value]) => {
4298
+ const loc = `AddResources.${key}`;
4299
+ entries[loc] = value;
4300
+ });
4301
+ }
4302
+ if (input[_RRe] != null) {
4303
+ const memberEntries = se_JazzLogicalResourceIds(input[_RRe], context);
4304
+ if (input[_RRe]?.length === 0) {
4305
+ entries.RemoveResources = [];
4306
+ }
4307
+ Object.entries(memberEntries).forEach(([key, value]) => {
4308
+ const loc = `RemoveResources.${key}`;
4309
+ entries[loc] = value;
4310
+ });
4311
+ }
4312
+ if (input[_RAR] != null) {
4313
+ entries[_RAR] = input[_RAR];
4314
+ }
4315
+ if (input[_TC] != null) {
4316
+ const memberEntries = se_TemplateConfiguration(input[_TC], context);
4317
+ Object.entries(memberEntries).forEach(([key, value]) => {
4318
+ const loc = `TemplateConfiguration.${key}`;
4319
+ entries[loc] = value;
4320
+ });
4321
+ }
4322
+ return entries;
4323
+ };
5045
4324
  const se_UpdateStackInput = (input, context) => {
5046
4325
  const entries = {};
5047
4326
  if (input[_SN] != null) {
@@ -5161,9 +4440,9 @@ const se_UpdateStackInstancesInput = (input, context) => {
5161
4440
  entries[loc] = value;
5162
4441
  });
5163
4442
  }
5164
- if (input[_R] != null) {
5165
- const memberEntries = se_RegionList(input[_R], context);
5166
- if (input[_R]?.length === 0) {
4443
+ if (input[_Re] != null) {
4444
+ const memberEntries = se_RegionList(input[_Re], context);
4445
+ if (input[_Re]?.length === 0) {
5167
4446
  entries.Regions = [];
5168
4447
  }
5169
4448
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -5292,9 +4571,9 @@ const se_UpdateStackSetInput = (input, context) => {
5292
4571
  entries[loc] = value;
5293
4572
  });
5294
4573
  }
5295
- if (input[_R] != null) {
5296
- const memberEntries = se_RegionList(input[_R], context);
5297
- if (input[_R]?.length === 0) {
4574
+ if (input[_Re] != null) {
4575
+ const memberEntries = se_RegionList(input[_Re], context);
4576
+ if (input[_Re]?.length === 0) {
5298
4577
  entries.Regions = [];
5299
4578
  }
5300
4579
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -5438,10 +4717,10 @@ const de_BatchDescribeTypeConfigurationsOutput = (output, context) => {
5438
4717
  contents[_UTC] = de_UnprocessedTypeConfigurations(__getArrayIfSingleItem(output[_UTC][_m]), context);
5439
4718
  }
5440
4719
  if (output.TypeConfigurations === "") {
5441
- contents[_TC] = [];
4720
+ contents[_TCy] = [];
5442
4721
  }
5443
- else if (output[_TC] != null && output[_TC][_m] != null) {
5444
- contents[_TC] = de_TypeConfigurationDetailsList(__getArrayIfSingleItem(output[_TC][_m]), context);
4722
+ else if (output[_TCy] != null && output[_TCy][_m] != null) {
4723
+ contents[_TCy] = de_TypeConfigurationDetailsList(__getArrayIfSingleItem(output[_TCy][_m]), context);
5445
4724
  }
5446
4725
  return contents;
5447
4726
  };
@@ -5588,6 +4867,13 @@ const de_ChangeSetSummary = (output, context) => {
5588
4867
  }
5589
4868
  return contents;
5590
4869
  };
4870
+ const de_ConcurrentResourcesLimitExceededException = (output, context) => {
4871
+ const contents = {};
4872
+ if (output[_M] != null) {
4873
+ contents[_M] = __expectString(output[_M]);
4874
+ }
4875
+ return contents;
4876
+ };
5591
4877
  const de_ContinueUpdateRollbackOutput = (output, context) => {
5592
4878
  const contents = {};
5593
4879
  return contents;
@@ -5609,6 +4895,13 @@ const de_CreatedButModifiedException = (output, context) => {
5609
4895
  }
5610
4896
  return contents;
5611
4897
  };
4898
+ const de_CreateGeneratedTemplateOutput = (output, context) => {
4899
+ const contents = {};
4900
+ if (output[_GTI] != null) {
4901
+ contents[_GTI] = __expectString(output[_GTI]);
4902
+ }
4903
+ return contents;
4904
+ };
5612
4905
  const de_CreateStackInstancesOutput = (output, context) => {
5613
4906
  const contents = {};
5614
4907
  if (output[_OI] != null) {
@@ -5788,17 +5081,57 @@ const de_DescribeChangeSetOutput = (output, context) => {
5788
5081
  if (output[_INS] != null) {
5789
5082
  contents[_INS] = __parseBoolean(output[_INS]);
5790
5083
  }
5791
- if (output[_PCSI] != null) {
5792
- contents[_PCSI] = __expectString(output[_PCSI]);
5084
+ if (output[_PCSI] != null) {
5085
+ contents[_PCSI] = __expectString(output[_PCSI]);
5086
+ }
5087
+ if (output[_RCSI] != null) {
5088
+ contents[_RCSI] = __expectString(output[_RCSI]);
5089
+ }
5090
+ if (output[_OSF] != null) {
5091
+ contents[_OSF] = __expectString(output[_OSF]);
5092
+ }
5093
+ if (output[_IER] != null) {
5094
+ contents[_IER] = __parseBoolean(output[_IER]);
5095
+ }
5096
+ return contents;
5097
+ };
5098
+ const de_DescribeGeneratedTemplateOutput = (output, context) => {
5099
+ const contents = {};
5100
+ if (output[_GTI] != null) {
5101
+ contents[_GTI] = __expectString(output[_GTI]);
5102
+ }
5103
+ if (output[_GTN] != null) {
5104
+ contents[_GTN] = __expectString(output[_GTN]);
5105
+ }
5106
+ if (output.Resources === "") {
5107
+ contents[_R] = [];
5108
+ }
5109
+ else if (output[_R] != null && output[_R][_m] != null) {
5110
+ contents[_R] = de_ResourceDetails(__getArrayIfSingleItem(output[_R][_m]), context);
5111
+ }
5112
+ if (output[_S] != null) {
5113
+ contents[_S] = __expectString(output[_S]);
5114
+ }
5115
+ if (output[_SRt] != null) {
5116
+ contents[_SRt] = __expectString(output[_SRt]);
5117
+ }
5118
+ if (output[_CTr] != null) {
5119
+ contents[_CTr] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_CTr]));
5120
+ }
5121
+ if (output[_LUT] != null) {
5122
+ contents[_LUT] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LUT]));
5793
5123
  }
5794
- if (output[_RCSI] != null) {
5795
- contents[_RCSI] = __expectString(output[_RCSI]);
5124
+ if (output[_Pr] != null) {
5125
+ contents[_Pr] = de_TemplateProgress(output[_Pr], context);
5796
5126
  }
5797
- if (output[_OSF] != null) {
5798
- contents[_OSF] = __expectString(output[_OSF]);
5127
+ if (output[_SI] != null) {
5128
+ contents[_SI] = __expectString(output[_SI]);
5799
5129
  }
5800
- if (output[_IER] != null) {
5801
- contents[_IER] = __parseBoolean(output[_IER]);
5130
+ if (output[_TC] != null) {
5131
+ contents[_TC] = de_TemplateConfiguration(output[_TC], context);
5132
+ }
5133
+ if (output[_TW] != null) {
5134
+ contents[_TW] = __strictParseInt32(output[_TW]);
5802
5135
  }
5803
5136
  return contents;
5804
5137
  };
@@ -5825,6 +5158,40 @@ const de_DescribePublisherOutput = (output, context) => {
5825
5158
  }
5826
5159
  return contents;
5827
5160
  };
5161
+ const de_DescribeResourceScanOutput = (output, context) => {
5162
+ const contents = {};
5163
+ if (output[_RSI] != null) {
5164
+ contents[_RSI] = __expectString(output[_RSI]);
5165
+ }
5166
+ if (output[_S] != null) {
5167
+ contents[_S] = __expectString(output[_S]);
5168
+ }
5169
+ if (output[_SRt] != null) {
5170
+ contents[_SRt] = __expectString(output[_SRt]);
5171
+ }
5172
+ if (output[_ST] != null) {
5173
+ contents[_ST] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_ST]));
5174
+ }
5175
+ if (output[_ET] != null) {
5176
+ contents[_ET] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_ET]));
5177
+ }
5178
+ if (output[_PC] != null) {
5179
+ contents[_PC] = __strictParseFloat(output[_PC]);
5180
+ }
5181
+ if (output.ResourceTypes === "") {
5182
+ contents[_RTe] = [];
5183
+ }
5184
+ else if (output[_RTe] != null && output[_RTe][_m] != null) {
5185
+ contents[_RTe] = de_ResourceTypes(__getArrayIfSingleItem(output[_RTe][_m]), context);
5186
+ }
5187
+ if (output[_RSes] != null) {
5188
+ contents[_RSes] = __strictParseInt32(output[_RSes]);
5189
+ }
5190
+ if (output[_RRes] != null) {
5191
+ contents[_RRes] = __strictParseInt32(output[_RRes]);
5192
+ }
5193
+ return contents;
5194
+ };
5828
5195
  const de_DescribeStackDriftDetectionStatusOutput = (output, context) => {
5829
5196
  const contents = {};
5830
5197
  if (output[_SI] != null) {
@@ -6083,6 +5450,23 @@ const de_Exports = (output, context) => {
6083
5450
  return de_Export(entry, context);
6084
5451
  });
6085
5452
  };
5453
+ const de_GeneratedTemplateNotFoundException = (output, context) => {
5454
+ const contents = {};
5455
+ if (output[_M] != null) {
5456
+ contents[_M] = __expectString(output[_M]);
5457
+ }
5458
+ return contents;
5459
+ };
5460
+ const de_GetGeneratedTemplateOutput = (output, context) => {
5461
+ const contents = {};
5462
+ if (output[_S] != null) {
5463
+ contents[_S] = __expectString(output[_S]);
5464
+ }
5465
+ if (output[_TB] != null) {
5466
+ contents[_TB] = __expectString(output[_TB]);
5467
+ }
5468
+ return contents;
5469
+ };
6086
5470
  const de_GetStackPolicyOutput = (output, context) => {
6087
5471
  const contents = {};
6088
5472
  if (output[_SPB] != null) {
@@ -6194,6 +5578,15 @@ const de_InvalidStateTransitionException = (output, context) => {
6194
5578
  }
6195
5579
  return contents;
6196
5580
  };
5581
+ const de_JazzResourceIdentifierProperties = (output, context) => {
5582
+ return output.reduce((acc, pair) => {
5583
+ if (pair["value"] === null) {
5584
+ return acc;
5585
+ }
5586
+ acc[pair["key"]] = __expectString(pair["value"]);
5587
+ return acc;
5588
+ }, {});
5589
+ };
6197
5590
  const de_LimitExceededException = (output, context) => {
6198
5591
  const contents = {};
6199
5592
  if (output[_M] != null) {
@@ -6227,6 +5620,19 @@ const de_ListExportsOutput = (output, context) => {
6227
5620
  }
6228
5621
  return contents;
6229
5622
  };
5623
+ const de_ListGeneratedTemplatesOutput = (output, context) => {
5624
+ const contents = {};
5625
+ if (output.Summaries === "") {
5626
+ contents[_Su] = [];
5627
+ }
5628
+ else if (output[_Su] != null && output[_Su][_m] != null) {
5629
+ contents[_Su] = de_TemplateSummaries(__getArrayIfSingleItem(output[_Su][_m]), context);
5630
+ }
5631
+ if (output[_NT] != null) {
5632
+ contents[_NT] = __expectString(output[_NT]);
5633
+ }
5634
+ return contents;
5635
+ };
6230
5636
  const de_ListImportsOutput = (output, context) => {
6231
5637
  const contents = {};
6232
5638
  if (output.Imports === "") {
@@ -6240,6 +5646,45 @@ const de_ListImportsOutput = (output, context) => {
6240
5646
  }
6241
5647
  return contents;
6242
5648
  };
5649
+ const de_ListResourceScanRelatedResourcesOutput = (output, context) => {
5650
+ const contents = {};
5651
+ if (output.RelatedResources === "") {
5652
+ contents[_RRel] = [];
5653
+ }
5654
+ else if (output[_RRel] != null && output[_RRel][_m] != null) {
5655
+ contents[_RRel] = de_RelatedResources(__getArrayIfSingleItem(output[_RRel][_m]), context);
5656
+ }
5657
+ if (output[_NT] != null) {
5658
+ contents[_NT] = __expectString(output[_NT]);
5659
+ }
5660
+ return contents;
5661
+ };
5662
+ const de_ListResourceScanResourcesOutput = (output, context) => {
5663
+ const contents = {};
5664
+ if (output.Resources === "") {
5665
+ contents[_R] = [];
5666
+ }
5667
+ else if (output[_R] != null && output[_R][_m] != null) {
5668
+ contents[_R] = de_ScannedResources(__getArrayIfSingleItem(output[_R][_m]), context);
5669
+ }
5670
+ if (output[_NT] != null) {
5671
+ contents[_NT] = __expectString(output[_NT]);
5672
+ }
5673
+ return contents;
5674
+ };
5675
+ const de_ListResourceScansOutput = (output, context) => {
5676
+ const contents = {};
5677
+ if (output.ResourceScanSummaries === "") {
5678
+ contents[_RSS] = [];
5679
+ }
5680
+ else if (output[_RSS] != null && output[_RSS][_m] != null) {
5681
+ contents[_RSS] = de_ResourceScanSummaries(__getArrayIfSingleItem(output[_RSS][_m]), context);
5682
+ }
5683
+ if (output[_NT] != null) {
5684
+ contents[_NT] = __expectString(output[_NT]);
5685
+ }
5686
+ return contents;
5687
+ };
6243
5688
  const de_ListStackInstanceResourceDriftsOutput = (output, context) => {
6244
5689
  const contents = {};
6245
5690
  if (output.Summaries === "") {
@@ -6269,10 +5714,10 @@ const de_ListStackInstancesOutput = (output, context) => {
6269
5714
  const de_ListStackResourcesOutput = (output, context) => {
6270
5715
  const contents = {};
6271
5716
  if (output.StackResourceSummaries === "") {
6272
- contents[_SRS] = [];
5717
+ contents[_SRSt] = [];
6273
5718
  }
6274
- else if (output[_SRS] != null && output[_SRS][_m] != null) {
6275
- contents[_SRS] = de_StackResourceSummaries(__getArrayIfSingleItem(output[_SRS][_m]), context);
5719
+ else if (output[_SRSt] != null && output[_SRSt][_m] != null) {
5720
+ contents[_SRSt] = de_StackResourceSummaries(__getArrayIfSingleItem(output[_SRSt][_m]), context);
6276
5721
  }
6277
5722
  if (output[_NT] != null) {
6278
5723
  contents[_NT] = __expectString(output[_NT]);
@@ -6519,8 +5964,8 @@ const de_ParameterDeclaration = (output, context) => {
6519
5964
  if (output[_D] != null) {
6520
5965
  contents[_D] = __expectString(output[_D]);
6521
5966
  }
6522
- if (output[_PC] != null) {
6523
- contents[_PC] = de_ParameterConstraints(output[_PC], context);
5967
+ if (output[_PCa] != null) {
5968
+ contents[_PCa] = de_ParameterConstraints(output[_PCa], context);
6524
5969
  }
6525
5970
  return contents;
6526
5971
  };
@@ -6617,6 +6062,13 @@ const de_RegistrationTokenList = (output, context) => {
6617
6062
  return __expectString(entry);
6618
6063
  });
6619
6064
  };
6065
+ const de_RelatedResources = (output, context) => {
6066
+ return (output || [])
6067
+ .filter((e) => e != null)
6068
+ .map((entry) => {
6069
+ return de_ScannedResource(entry, context);
6070
+ });
6071
+ };
6620
6072
  const de_RequiredActivatedType = (output, context) => {
6621
6073
  const contents = {};
6622
6074
  if (output[_TNA] != null) {
@@ -6657,8 +6109,8 @@ const de_ResourceChange = (output, context) => {
6657
6109
  if (output[_RTes] != null) {
6658
6110
  contents[_RTes] = __expectString(output[_RTes]);
6659
6111
  }
6660
- if (output[_Re] != null) {
6661
- contents[_Re] = __expectString(output[_Re]);
6112
+ if (output[_Rep] != null) {
6113
+ contents[_Rep] = __expectString(output[_Rep]);
6662
6114
  }
6663
6115
  if (output.Scope === "") {
6664
6116
  contents[_Sco] = [];
@@ -6703,6 +6155,50 @@ const de_ResourceChangeDetails = (output, context) => {
6703
6155
  return de_ResourceChangeDetail(entry, context);
6704
6156
  });
6705
6157
  };
6158
+ const de_ResourceDetail = (output, context) => {
6159
+ const contents = {};
6160
+ if (output[_RTes] != null) {
6161
+ contents[_RTes] = __expectString(output[_RTes]);
6162
+ }
6163
+ if (output[_LRI] != null) {
6164
+ contents[_LRI] = __expectString(output[_LRI]);
6165
+ }
6166
+ if (output.ResourceIdentifier === "") {
6167
+ contents[_RI] = {};
6168
+ }
6169
+ else if (output[_RI] != null && output[_RI][_e] != null) {
6170
+ contents[_RI] = de_ResourceIdentifierProperties(__getArrayIfSingleItem(output[_RI][_e]), context);
6171
+ }
6172
+ if (output[_RSeso] != null) {
6173
+ contents[_RSeso] = __expectString(output[_RSeso]);
6174
+ }
6175
+ if (output[_RSR] != null) {
6176
+ contents[_RSR] = __expectString(output[_RSR]);
6177
+ }
6178
+ if (output.Warnings === "") {
6179
+ contents[_W] = [];
6180
+ }
6181
+ else if (output[_W] != null && output[_W][_m] != null) {
6182
+ contents[_W] = de_WarningDetails(__getArrayIfSingleItem(output[_W][_m]), context);
6183
+ }
6184
+ return contents;
6185
+ };
6186
+ const de_ResourceDetails = (output, context) => {
6187
+ return (output || [])
6188
+ .filter((e) => e != null)
6189
+ .map((entry) => {
6190
+ return de_ResourceDetail(entry, context);
6191
+ });
6192
+ };
6193
+ const de_ResourceIdentifierProperties = (output, context) => {
6194
+ return output.reduce((acc, pair) => {
6195
+ if (pair["value"] === null) {
6196
+ return acc;
6197
+ }
6198
+ acc[pair["key"]] = __expectString(pair["value"]);
6199
+ return acc;
6200
+ }, {});
6201
+ };
6706
6202
  const de_ResourceIdentifiers = (output, context) => {
6707
6203
  return (output || [])
6708
6204
  .filter((e) => e != null)
@@ -6736,6 +6232,56 @@ const de_ResourceIdentifierSummary = (output, context) => {
6736
6232
  }
6737
6233
  return contents;
6738
6234
  };
6235
+ const de_ResourceScanInProgressException = (output, context) => {
6236
+ const contents = {};
6237
+ if (output[_M] != null) {
6238
+ contents[_M] = __expectString(output[_M]);
6239
+ }
6240
+ return contents;
6241
+ };
6242
+ const de_ResourceScanLimitExceededException = (output, context) => {
6243
+ const contents = {};
6244
+ if (output[_M] != null) {
6245
+ contents[_M] = __expectString(output[_M]);
6246
+ }
6247
+ return contents;
6248
+ };
6249
+ const de_ResourceScanNotFoundException = (output, context) => {
6250
+ const contents = {};
6251
+ if (output[_M] != null) {
6252
+ contents[_M] = __expectString(output[_M]);
6253
+ }
6254
+ return contents;
6255
+ };
6256
+ const de_ResourceScanSummaries = (output, context) => {
6257
+ return (output || [])
6258
+ .filter((e) => e != null)
6259
+ .map((entry) => {
6260
+ return de_ResourceScanSummary(entry, context);
6261
+ });
6262
+ };
6263
+ const de_ResourceScanSummary = (output, context) => {
6264
+ const contents = {};
6265
+ if (output[_RSI] != null) {
6266
+ contents[_RSI] = __expectString(output[_RSI]);
6267
+ }
6268
+ if (output[_S] != null) {
6269
+ contents[_S] = __expectString(output[_S]);
6270
+ }
6271
+ if (output[_SRt] != null) {
6272
+ contents[_SRt] = __expectString(output[_SRt]);
6273
+ }
6274
+ if (output[_ST] != null) {
6275
+ contents[_ST] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_ST]));
6276
+ }
6277
+ if (output[_ET] != null) {
6278
+ contents[_ET] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_ET]));
6279
+ }
6280
+ if (output[_PC] != null) {
6281
+ contents[_PC] = __strictParseFloat(output[_PC]);
6282
+ }
6283
+ return contents;
6284
+ };
6739
6285
  const de_ResourceTargetDefinition = (output, context) => {
6740
6286
  const contents = {};
6741
6287
  if (output[_At] != null) {
@@ -6744,8 +6290,8 @@ const de_ResourceTargetDefinition = (output, context) => {
6744
6290
  if (output[_N] != null) {
6745
6291
  contents[_N] = __expectString(output[_N]);
6746
6292
  }
6747
- if (output[_RRe] != null) {
6748
- contents[_RRe] = __expectString(output[_RRe]);
6293
+ if (output[_RReq] != null) {
6294
+ contents[_RReq] = __expectString(output[_RReq]);
6749
6295
  }
6750
6296
  return contents;
6751
6297
  };
@@ -6793,6 +6339,29 @@ const de_RollbackTriggers = (output, context) => {
6793
6339
  return de_RollbackTrigger(entry, context);
6794
6340
  });
6795
6341
  };
6342
+ const de_ScannedResource = (output, context) => {
6343
+ const contents = {};
6344
+ if (output[_RTes] != null) {
6345
+ contents[_RTes] = __expectString(output[_RTes]);
6346
+ }
6347
+ if (output.ResourceIdentifier === "") {
6348
+ contents[_RI] = {};
6349
+ }
6350
+ else if (output[_RI] != null && output[_RI][_e] != null) {
6351
+ contents[_RI] = de_JazzResourceIdentifierProperties(__getArrayIfSingleItem(output[_RI][_e]), context);
6352
+ }
6353
+ if (output[_MBS] != null) {
6354
+ contents[_MBS] = __parseBoolean(output[_MBS]);
6355
+ }
6356
+ return contents;
6357
+ };
6358
+ const de_ScannedResources = (output, context) => {
6359
+ return (output || [])
6360
+ .filter((e) => e != null)
6361
+ .map((entry) => {
6362
+ return de_ScannedResource(entry, context);
6363
+ });
6364
+ };
6796
6365
  const de_Scope = (output, context) => {
6797
6366
  return (output || [])
6798
6367
  .filter((e) => e != null)
@@ -6942,8 +6511,8 @@ const de_StackEvent = (output, context) => {
6942
6511
  if (output[_Ti] != null) {
6943
6512
  contents[_Ti] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_Ti]));
6944
6513
  }
6945
- if (output[_RSes] != null) {
6946
- contents[_RSes] = __expectString(output[_RSes]);
6514
+ if (output[_RSeso] != null) {
6515
+ contents[_RSeso] = __expectString(output[_RSeso]);
6947
6516
  }
6948
6517
  if (output[_RSR] != null) {
6949
6518
  contents[_RSR] = __expectString(output[_RSR]);
@@ -7147,8 +6716,8 @@ const de_StackResource = (output, context) => {
7147
6716
  if (output[_Ti] != null) {
7148
6717
  contents[_Ti] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_Ti]));
7149
6718
  }
7150
- if (output[_RSes] != null) {
7151
- contents[_RSes] = __expectString(output[_RSes]);
6719
+ if (output[_RSeso] != null) {
6720
+ contents[_RSeso] = __expectString(output[_RSeso]);
7152
6721
  }
7153
6722
  if (output[_RSR] != null) {
7154
6723
  contents[_RSR] = __expectString(output[_RSR]);
@@ -7184,8 +6753,8 @@ const de_StackResourceDetail = (output, context) => {
7184
6753
  if (output[_LUTa] != null) {
7185
6754
  contents[_LUTa] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LUTa]));
7186
6755
  }
7187
- if (output[_RSes] != null) {
7188
- contents[_RSes] = __expectString(output[_RSes]);
6756
+ if (output[_RSeso] != null) {
6757
+ contents[_RSeso] = __expectString(output[_RSeso]);
7189
6758
  }
7190
6759
  if (output[_RSR] != null) {
7191
6760
  contents[_RSR] = __expectString(output[_RSR]);
@@ -7302,8 +6871,8 @@ const de_StackResourceSummary = (output, context) => {
7302
6871
  if (output[_LUTa] != null) {
7303
6872
  contents[_LUTa] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LUTa]));
7304
6873
  }
7305
- if (output[_RSes] != null) {
7306
- contents[_RSes] = __expectString(output[_RSes]);
6874
+ if (output[_RSeso] != null) {
6875
+ contents[_RSeso] = __expectString(output[_RSeso]);
7307
6876
  }
7308
6877
  if (output[_RSR] != null) {
7309
6878
  contents[_RSR] = __expectString(output[_RSR]);
@@ -7386,10 +6955,10 @@ const de_StackSet = (output, context) => {
7386
6955
  contents[_ME] = de_ManagedExecution(output[_ME], context);
7387
6956
  }
7388
6957
  if (output.Regions === "") {
7389
- contents[_R] = [];
6958
+ contents[_Re] = [];
7390
6959
  }
7391
- else if (output[_R] != null && output[_R][_m] != null) {
7392
- contents[_R] = de_RegionList(__getArrayIfSingleItem(output[_R][_m]), context);
6960
+ else if (output[_Re] != null && output[_Re][_m] != null) {
6961
+ contents[_Re] = de_RegionList(__getArrayIfSingleItem(output[_Re][_m]), context);
7393
6962
  }
7394
6963
  return contents;
7395
6964
  };
@@ -7464,8 +7033,8 @@ const de_StackSetOperation = (output, context) => {
7464
7033
  if (output[_CTre] != null) {
7465
7034
  contents[_CTre] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_CTre]));
7466
7035
  }
7467
- if (output[_ET] != null) {
7468
- contents[_ET] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_ET]));
7036
+ if (output[_ETn] != null) {
7037
+ contents[_ETn] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_ETn]));
7469
7038
  }
7470
7039
  if (output[_DTep] != null) {
7471
7040
  contents[_DTep] = de_DeploymentTargets(output[_DTep], context);
@@ -7566,8 +7135,8 @@ const de_StackSetOperationSummary = (output, context) => {
7566
7135
  if (output[_CTre] != null) {
7567
7136
  contents[_CTre] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_CTre]));
7568
7137
  }
7569
- if (output[_ET] != null) {
7570
- contents[_ET] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_ET]));
7138
+ if (output[_ETn] != null) {
7139
+ contents[_ETn] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_ETn]));
7571
7140
  }
7572
7141
  if (output[_SRt] != null) {
7573
7142
  contents[_SRt] = __expectString(output[_SRt]);
@@ -7676,6 +7245,13 @@ const de_StaleRequestException = (output, context) => {
7676
7245
  }
7677
7246
  return contents;
7678
7247
  };
7248
+ const de_StartResourceScanOutput = (output, context) => {
7249
+ const contents = {};
7250
+ if (output[_RSI] != null) {
7251
+ contents[_RSI] = __expectString(output[_RSI]);
7252
+ }
7253
+ return contents;
7254
+ };
7679
7255
  const de_StopStackSetOperationOutput = (output, context) => {
7680
7256
  const contents = {};
7681
7257
  return contents;
@@ -7704,6 +7280,16 @@ const de_Tags = (output, context) => {
7704
7280
  return de_Tag(entry, context);
7705
7281
  });
7706
7282
  };
7283
+ const de_TemplateConfiguration = (output, context) => {
7284
+ const contents = {};
7285
+ if (output[_DPe] != null) {
7286
+ contents[_DPe] = __expectString(output[_DPe]);
7287
+ }
7288
+ if (output[_URP] != null) {
7289
+ contents[_URP] = __expectString(output[_URP]);
7290
+ }
7291
+ return contents;
7292
+ };
7707
7293
  const de_TemplateParameter = (output, context) => {
7708
7294
  const contents = {};
7709
7295
  if (output[_PK] != null) {
@@ -7727,6 +7313,54 @@ const de_TemplateParameters = (output, context) => {
7727
7313
  return de_TemplateParameter(entry, context);
7728
7314
  });
7729
7315
  };
7316
+ const de_TemplateProgress = (output, context) => {
7317
+ const contents = {};
7318
+ if (output[_RSesou] != null) {
7319
+ contents[_RSesou] = __strictParseInt32(output[_RSesou]);
7320
+ }
7321
+ if (output[_RF] != null) {
7322
+ contents[_RF] = __strictParseInt32(output[_RF]);
7323
+ }
7324
+ if (output[_RPes] != null) {
7325
+ contents[_RPes] = __strictParseInt32(output[_RPes]);
7326
+ }
7327
+ if (output[_RPeso] != null) {
7328
+ contents[_RPeso] = __strictParseInt32(output[_RPeso]);
7329
+ }
7330
+ return contents;
7331
+ };
7332
+ const de_TemplateSummaries = (output, context) => {
7333
+ return (output || [])
7334
+ .filter((e) => e != null)
7335
+ .map((entry) => {
7336
+ return de_TemplateSummary(entry, context);
7337
+ });
7338
+ };
7339
+ const de_TemplateSummary = (output, context) => {
7340
+ const contents = {};
7341
+ if (output[_GTI] != null) {
7342
+ contents[_GTI] = __expectString(output[_GTI]);
7343
+ }
7344
+ if (output[_GTN] != null) {
7345
+ contents[_GTN] = __expectString(output[_GTN]);
7346
+ }
7347
+ if (output[_S] != null) {
7348
+ contents[_S] = __expectString(output[_S]);
7349
+ }
7350
+ if (output[_SRt] != null) {
7351
+ contents[_SRt] = __expectString(output[_SRt]);
7352
+ }
7353
+ if (output[_CTr] != null) {
7354
+ contents[_CTr] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_CTr]));
7355
+ }
7356
+ if (output[_LUT] != null) {
7357
+ contents[_LUT] = __expectNonNull(__parseRfc3339DateTimeWithOffset(output[_LUT]));
7358
+ }
7359
+ if (output[_NOR] != null) {
7360
+ contents[_NOR] = __strictParseInt32(output[_NOR]);
7361
+ }
7362
+ return contents;
7363
+ };
7730
7364
  const de_TestTypeOutput = (output, context) => {
7731
7365
  const contents = {};
7732
7366
  if (output[_TVA] != null) {
@@ -7905,6 +7539,13 @@ const de_UnprocessedTypeConfigurations = (output, context) => {
7905
7539
  return de_TypeConfigurationIdentifier(entry, context);
7906
7540
  });
7907
7541
  };
7542
+ const de_UpdateGeneratedTemplateOutput = (output, context) => {
7543
+ const contents = {};
7544
+ if (output[_GTI] != null) {
7545
+ contents[_GTI] = __expectString(output[_GTI]);
7546
+ }
7547
+ return contents;
7548
+ };
7908
7549
  const de_UpdateStackInstancesOutput = (output, context) => {
7909
7550
  const contents = {};
7910
7551
  if (output[_OI] != null) {
@@ -7961,6 +7602,46 @@ const de_ValidateTemplateOutput = (output, context) => {
7961
7602
  }
7962
7603
  return contents;
7963
7604
  };
7605
+ const de_WarningDetail = (output, context) => {
7606
+ const contents = {};
7607
+ if (output[_T] != null) {
7608
+ contents[_T] = __expectString(output[_T]);
7609
+ }
7610
+ if (output.Properties === "") {
7611
+ contents[_Pro] = [];
7612
+ }
7613
+ else if (output[_Pro] != null && output[_Pro][_m] != null) {
7614
+ contents[_Pro] = de_WarningProperties(__getArrayIfSingleItem(output[_Pro][_m]), context);
7615
+ }
7616
+ return contents;
7617
+ };
7618
+ const de_WarningDetails = (output, context) => {
7619
+ return (output || [])
7620
+ .filter((e) => e != null)
7621
+ .map((entry) => {
7622
+ return de_WarningDetail(entry, context);
7623
+ });
7624
+ };
7625
+ const de_WarningProperties = (output, context) => {
7626
+ return (output || [])
7627
+ .filter((e) => e != null)
7628
+ .map((entry) => {
7629
+ return de_WarningProperty(entry, context);
7630
+ });
7631
+ };
7632
+ const de_WarningProperty = (output, context) => {
7633
+ const contents = {};
7634
+ if (output[_PPr] != null) {
7635
+ contents[_PPr] = __expectString(output[_PPr]);
7636
+ }
7637
+ if (output[_Req] != null) {
7638
+ contents[_Req] = __parseBoolean(output[_Req]);
7639
+ }
7640
+ if (output[_D] != null) {
7641
+ contents[_D] = __expectString(output[_D]);
7642
+ }
7643
+ return contents;
7644
+ };
7964
7645
  const de_Warnings = (output, context) => {
7965
7646
  const contents = {};
7966
7647
  if (output.UnrecognizedResourceTypes === "") {
@@ -8008,6 +7689,7 @@ const _AGR = "AccountGateResult";
8008
7689
  const _AL = "AccountLimits";
8009
7690
  const _AOA = "ActivateOrganizationsAccess";
8010
7691
  const _AP = "ActualProperties";
7692
+ const _AR = "AddResources";
8011
7693
  const _ARARN = "AdministrationRoleARN";
8012
7694
  const _AT = "ActivateType";
8013
7695
  const _ATAC = "AcceptTermsAndConditions";
@@ -8030,6 +7712,7 @@ const _CAon = "ConfigurationAlias";
8030
7712
  const _CAonf = "ConfigurationArn";
8031
7713
  const _CCS = "CreateChangeSet";
8032
7714
  const _CE = "CausingEntity";
7715
+ const _CGT = "CreateGeneratedTemplate";
8033
7716
  const _CM = "ConcurrencyMode";
8034
7717
  const _COS = "CurrentOperationStatus";
8035
7718
  const _CR = "CapabilitiesReason";
@@ -8056,11 +7739,15 @@ const _DCS = "DeleteChangeSet";
8056
7739
  const _DCSH = "DescribeChangeSetHooks";
8057
7740
  const _DCSe = "DescribeChangeSet";
8058
7741
  const _DDS = "DriftDetectionStatus";
7742
+ const _DGT = "DeleteGeneratedTemplate";
7743
+ const _DGTe = "DescribeGeneratedTemplate";
8059
7744
  const _DI = "DriftInformation";
8060
7745
  const _DOA = "DeactivateOrganizationsAccess";
8061
7746
  const _DOAe = "DescribeOrganizationsAccess";
8062
7747
  const _DP = "DescribePublisher";
7748
+ const _DPe = "DeletionPolicy";
8063
7749
  const _DR = "DisableRollback";
7750
+ const _DRS = "DescribeResourceScan";
8064
7751
  const _DS = "DeleteStack";
8065
7752
  const _DSD = "DetectStackDrift";
8066
7753
  const _DSDDS = "DescribeStackDriftDetectionStatus";
@@ -8106,20 +7793,25 @@ const _ERA = "ExecutionRoleArn";
8106
7793
  const _ERN = "ExecutionRoleName";
8107
7794
  const _ES = "ExecutionStatus";
8108
7795
  const _ESI = "ExportingStackId";
8109
- const _ET = "EndTimestamp";
7796
+ const _ET = "EndTime";
8110
7797
  const _ETC = "EstimateTemplateCost";
8111
7798
  const _ETP = "EnableTerminationProtection";
7799
+ const _ETn = "EndTimestamp";
8112
7800
  const _EV = "ExpectedValue";
8113
7801
  const _Er = "Errors";
8114
7802
  const _Ev = "Evaluation";
8115
7803
  const _Ex = "Exports";
8116
- const _F = "Filters";
7804
+ const _F = "Format";
8117
7805
  const _FM = "FailureMode";
8118
7806
  const _FSIC = "FailedStackInstancesCount";
8119
7807
  const _FTC = "FailureToleranceCount";
8120
7808
  const _FTP = "FailureTolerancePercentage";
7809
+ const _Fi = "Filters";
7810
+ const _GGT = "GetGeneratedTemplate";
8121
7811
  const _GSP = "GetStackPolicy";
8122
7812
  const _GT = "GetTemplate";
7813
+ const _GTI = "GeneratedTemplateId";
7814
+ const _GTN = "GeneratedTemplateName";
8123
7815
  const _GTS = "GetTemplateSummary";
8124
7816
  const _H = "Hooks";
8125
7817
  const _HFM = "HookFailureMode";
@@ -8148,6 +7840,7 @@ const _LDB = "LogDeliveryBucket";
8148
7840
  const _LDCT = "LastDriftCheckTimestamp";
8149
7841
  const _LE = "ListExports";
8150
7842
  const _LGN = "LogGroupName";
7843
+ const _LGT = "ListGeneratedTemplates";
8151
7844
  const _LI = "ListImports";
8152
7845
  const _LIH = "LogicalIdHierarchy";
8153
7846
  const _LOI = "LastOperationId";
@@ -8155,6 +7848,9 @@ const _LPV = "LatestPublicVersion";
8155
7848
  const _LRA = "LogRoleArn";
8156
7849
  const _LRI = "LogicalResourceId";
8157
7850
  const _LRIo = "LogicalResourceIds";
7851
+ const _LRS = "ListResourceScans";
7852
+ const _LRSR = "ListResourceScanResources";
7853
+ const _LRSRR = "ListResourceScanRelatedResources";
8158
7854
  const _LS = "ListStacks";
8159
7855
  const _LSI = "ListStackInstances";
8160
7856
  const _LSIRD = "ListStackInstanceResourceDrifts";
@@ -8169,6 +7865,7 @@ const _LU = "LastUpdated";
8169
7865
  const _LUT = "LastUpdatedTime";
8170
7866
  const _LUTa = "LastUpdatedTimestamp";
8171
7867
  const _M = "Message";
7868
+ const _MBS = "ManagedByStack";
8172
7869
  const _MCC = "MaxConcurrentCount";
8173
7870
  const _MCP = "MaxConcurrentPercentage";
8174
7871
  const _ME = "ManagedExecution";
@@ -8180,6 +7877,8 @@ const _Me = "Metadata";
8180
7877
  const _N = "Name";
8181
7878
  const _NARN = "NotificationARNs";
8182
7879
  const _NE = "NoEcho";
7880
+ const _NGTN = "NewGeneratedTemplateName";
7881
+ const _NOR = "NumberOfResources";
8183
7882
  const _NT = "NextToken";
8184
7883
  const _O = "Outputs";
8185
7884
  const _OF = "OnFailure";
@@ -8194,8 +7893,9 @@ const _OUI = "OrganizationalUnitIds";
8194
7893
  const _OUIr = "OrganizationalUnitId";
8195
7894
  const _OV = "OutputValue";
8196
7895
  const _P = "Parameters";
8197
- const _PC = "ParameterConstraints";
7896
+ const _PC = "PercentageCompleted";
8198
7897
  const _PCSI = "ParentChangeSetId";
7898
+ const _PCa = "ParameterConstraints";
8199
7899
  const _PD = "PropertyDifferences";
8200
7900
  const _PI = "PublisherId";
8201
7901
  const _PIa = "ParentId";
@@ -8216,8 +7916,11 @@ const _PTa = "ParameterType";
8216
7916
  const _PTr = "ProvisioningType";
8217
7917
  const _PV = "ParameterValue";
8218
7918
  const _PVN = "PublicVersionNumber";
8219
- const _R = "Regions";
7919
+ const _Pr = "Progress";
7920
+ const _Pro = "Properties";
7921
+ const _R = "Resources";
8220
7922
  const _RA = "ResourceAction";
7923
+ const _RAR = "RefreshAllResources";
8221
7924
  const _RARN = "RoleARN";
8222
7925
  const _RAT = "RequiredActivatedTypes";
8223
7926
  const _RC = "RollbackConfiguration";
@@ -8225,6 +7928,7 @@ const _RCSI = "RootChangeSetId";
8225
7928
  const _RCT = "RegionConcurrencyType";
8226
7929
  const _RCe = "ResourceChange";
8227
7930
  const _REOC = "RetainExceptOnCreate";
7931
+ const _RF = "ResourcesFailed";
8228
7932
  const _RHP = "RecordHandlerProgress";
8229
7933
  const _RI = "ResourceIdentifier";
8230
7934
  const _RIS = "ResourceIdentifierSummaries";
@@ -8234,26 +7938,38 @@ const _RM = "ResourceModel";
8234
7938
  const _RO = "RegionOrder";
8235
7939
  const _RP = "RegisterPublisher";
8236
7940
  const _RPe = "ResourceProperties";
7941
+ const _RPes = "ResourcesProcessing";
7942
+ const _RPeso = "ResourcesPending";
8237
7943
  const _RR = "RetainResources";
8238
- const _RRe = "RequiresRecreation";
7944
+ const _RRe = "RemoveResources";
7945
+ const _RRel = "RelatedResources";
7946
+ const _RReq = "RequiresRecreation";
7947
+ const _RRes = "ResourcesRead";
8239
7948
  const _RS = "RollbackStack";
8240
7949
  const _RSF = "RegistrationStatusFilter";
7950
+ const _RSI = "ResourceScanId";
8241
7951
  const _RSOAR = "RetainStacksOnAccountRemoval";
8242
7952
  const _RSR = "ResourceStatusReason";
7953
+ const _RSS = "ResourceScanSummaries";
8243
7954
  const _RSe = "RetainStacks";
8244
- const _RSes = "ResourceStatus";
7955
+ const _RSes = "ResourcesScanned";
7956
+ const _RSeso = "ResourceStatus";
7957
+ const _RSesou = "ResourcesSucceeded";
8245
7958
  const _RT = "RegisterType";
8246
7959
  const _RTD = "ResourceTargetDetails";
8247
7960
  const _RTI = "ResourcesToImport";
8248
7961
  const _RTL = "RegistrationTokenList";
7962
+ const _RTP = "ResourceTypePrefix";
8249
7963
  const _RTS = "ResourcesToSkip";
8250
7964
  const _RTe = "ResourceTypes";
8251
7965
  const _RTeg = "RegistrationToken";
8252
7966
  const _RTes = "ResourceType";
8253
7967
  const _RTo = "RollbackTriggers";
8254
7968
  const _RV = "ResolvedValue";
8255
- const _Re = "Replacement";
7969
+ const _Re = "Regions";
8256
7970
  const _Reg = "Region";
7971
+ const _Rep = "Replacement";
7972
+ const _Req = "Required";
8257
7973
  const _S = "Status";
8258
7974
  const _SA = "StagesAvailable";
8259
7975
  const _SD = "StatusDetails";
@@ -8282,7 +7998,8 @@ const _SRDS = "StackResourceDriftStatus";
8282
7998
  const _SRDSF = "StackResourceDriftStatusFilters";
8283
7999
  const _SRDt = "StackResourceDetail";
8284
8000
  const _SRDta = "StackResourceDrift";
8285
- const _SRS = "StackResourceSummaries";
8001
+ const _SRS = "StartResourceScan";
8002
+ const _SRSt = "StackResourceSummaries";
8286
8003
  const _SRt = "StatusReason";
8287
8004
  const _SRta = "StackResources";
8288
8005
  const _SS = "StackSet";
@@ -8297,6 +8014,7 @@ const _SSR = "StackStatusReason";
8297
8014
  const _SSSO = "StopStackSetOperation";
8298
8015
  const _SSt = "StackSummaries";
8299
8016
  const _SSta = "StackStatus";
8017
+ const _ST = "StartTime";
8300
8018
  const _STC = "SetTypeConfiguration";
8301
8019
  const _STDV = "SetTypeDefaultVersion";
8302
8020
  const _SU = "SourceUrl";
@@ -8307,17 +8025,19 @@ const _Su = "Summaries";
8307
8025
  const _T = "Type";
8308
8026
  const _TA = "TypeArn";
8309
8027
  const _TB = "TemplateBody";
8310
- const _TC = "TypeConfigurations";
8028
+ const _TC = "TemplateConfiguration";
8311
8029
  const _TCA = "TypeConfigurationAlias";
8312
8030
  const _TCAy = "TypeConfigurationArn";
8313
8031
  const _TCI = "TypeConfigurationIdentifiers";
8314
8032
  const _TCIy = "TypeConfigurationIdentifier";
8315
8033
  const _TCVI = "TypeConfigurationVersionId";
8316
8034
  const _TCi = "TimeCreated";
8035
+ const _TCy = "TypeConfigurations";
8317
8036
  const _TD = "TargetDetails";
8318
8037
  const _TDe = "TemplateDescription";
8319
8038
  const _TH = "TypeHierarchy";
8320
8039
  const _TIM = "TimeoutInMinutes";
8040
+ const _TK = "TagKey";
8321
8041
  const _TN = "TypeName";
8322
8042
  const _TNA = "TypeNameAlias";
8323
8043
  const _TNP = "TypeNamePrefix";
@@ -8331,16 +8051,20 @@ const _TTSD = "TypeTestsStatusDescription";
8331
8051
  const _TTa = "TargetType";
8332
8052
  const _TURL = "TemplateURL";
8333
8053
  const _TURTAW = "TreatUnrecognizedResourceTypesAsWarnings";
8054
+ const _TV = "TagValue";
8334
8055
  const _TVA = "TypeVersionArn";
8335
8056
  const _TVI = "TypeVersionId";
8336
8057
  const _TVS = "TypeVersionSummaries";
8058
+ const _TW = "TotalWarnings";
8337
8059
  const _Ta = "Tags";
8338
8060
  const _Tar = "Target";
8339
8061
  const _Ti = "Timestamp";
8340
8062
  const _U = "Url";
8063
+ const _UGT = "UpdateGeneratedTemplate";
8341
8064
  const _UI = "UniqueId";
8342
8065
  const _UPT = "UsePreviousTemplate";
8343
8066
  const _UPV = "UsePreviousValue";
8067
+ const _URP = "UpdateReplacePolicy";
8344
8068
  const _URT = "UnrecognizedResourceTypes";
8345
8069
  const _US = "UpdateStack";
8346
8070
  const _USI = "UpdateStackInstances";
@@ -8355,6 +8079,7 @@ const _Va = "Values";
8355
8079
  const _Val = "Value";
8356
8080
  const _Vi = "Visibility";
8357
8081
  const _W = "Warnings";
8082
+ const _e = "entry";
8358
8083
  const _m = "member";
8359
8084
  const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
8360
8085
  if (encoded.length) {