@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
package/dist-cjs/index.js CHANGED
@@ -43,8 +43,10 @@ __export(src_exports, {
43
43
  CloudFormationClient: () => CloudFormationClient,
44
44
  CloudFormationServiceException: () => CloudFormationServiceException,
45
45
  ConcurrencyMode: () => ConcurrencyMode,
46
+ ConcurrentResourcesLimitExceededException: () => ConcurrentResourcesLimitExceededException,
46
47
  ContinueUpdateRollbackCommand: () => ContinueUpdateRollbackCommand,
47
48
  CreateChangeSetCommand: () => CreateChangeSetCommand,
49
+ CreateGeneratedTemplateCommand: () => CreateGeneratedTemplateCommand,
48
50
  CreateStackCommand: () => CreateStackCommand,
49
51
  CreateStackInstancesCommand: () => CreateStackInstancesCommand,
50
52
  CreateStackSetCommand: () => CreateStackSetCommand,
@@ -52,6 +54,7 @@ __export(src_exports, {
52
54
  DeactivateOrganizationsAccessCommand: () => DeactivateOrganizationsAccessCommand,
53
55
  DeactivateTypeCommand: () => DeactivateTypeCommand,
54
56
  DeleteChangeSetCommand: () => DeleteChangeSetCommand,
57
+ DeleteGeneratedTemplateCommand: () => DeleteGeneratedTemplateCommand,
55
58
  DeleteStackCommand: () => DeleteStackCommand,
56
59
  DeleteStackInstancesCommand: () => DeleteStackInstancesCommand,
57
60
  DeleteStackSetCommand: () => DeleteStackSetCommand,
@@ -60,8 +63,10 @@ __export(src_exports, {
60
63
  DescribeAccountLimitsCommand: () => DescribeAccountLimitsCommand,
61
64
  DescribeChangeSetCommand: () => DescribeChangeSetCommand,
62
65
  DescribeChangeSetHooksCommand: () => DescribeChangeSetHooksCommand,
66
+ DescribeGeneratedTemplateCommand: () => DescribeGeneratedTemplateCommand,
63
67
  DescribeOrganizationsAccessCommand: () => DescribeOrganizationsAccessCommand,
64
68
  DescribePublisherCommand: () => DescribePublisherCommand,
69
+ DescribeResourceScanCommand: () => DescribeResourceScanCommand,
65
70
  DescribeStackDriftDetectionStatusCommand: () => DescribeStackDriftDetectionStatusCommand,
66
71
  DescribeStackEventsCommand: () => DescribeStackEventsCommand,
67
72
  DescribeStackInstanceCommand: () => DescribeStackInstanceCommand,
@@ -81,6 +86,12 @@ __export(src_exports, {
81
86
  EvaluationType: () => EvaluationType,
82
87
  ExecuteChangeSetCommand: () => ExecuteChangeSetCommand,
83
88
  ExecutionStatus: () => ExecutionStatus,
89
+ GeneratedTemplateDeletionPolicy: () => GeneratedTemplateDeletionPolicy,
90
+ GeneratedTemplateNotFoundException: () => GeneratedTemplateNotFoundException,
91
+ GeneratedTemplateResourceStatus: () => GeneratedTemplateResourceStatus,
92
+ GeneratedTemplateStatus: () => GeneratedTemplateStatus,
93
+ GeneratedTemplateUpdateReplacePolicy: () => GeneratedTemplateUpdateReplacePolicy,
94
+ GetGeneratedTemplateCommand: () => GetGeneratedTemplateCommand,
84
95
  GetStackPolicyCommand: () => GetStackPolicyCommand,
85
96
  GetTemplateCommand: () => GetTemplateCommand,
86
97
  GetTemplateSummaryCommand: () => GetTemplateSummaryCommand,
@@ -98,7 +109,11 @@ __export(src_exports, {
98
109
  LimitExceededException: () => LimitExceededException,
99
110
  ListChangeSetsCommand: () => ListChangeSetsCommand,
100
111
  ListExportsCommand: () => ListExportsCommand,
112
+ ListGeneratedTemplatesCommand: () => ListGeneratedTemplatesCommand,
101
113
  ListImportsCommand: () => ListImportsCommand,
114
+ ListResourceScanRelatedResourcesCommand: () => ListResourceScanRelatedResourcesCommand,
115
+ ListResourceScanResourcesCommand: () => ListResourceScanResourcesCommand,
116
+ ListResourceScansCommand: () => ListResourceScansCommand,
102
117
  ListStackInstanceResourceDriftsCommand: () => ListStackInstanceResourceDriftsCommand,
103
118
  ListStackInstancesCommand: () => ListStackInstancesCommand,
104
119
  ListStackResourcesCommand: () => ListStackResourcesCommand,
@@ -132,6 +147,10 @@ __export(src_exports, {
132
147
  Replacement: () => Replacement,
133
148
  RequiresRecreation: () => RequiresRecreation,
134
149
  ResourceAttribute: () => ResourceAttribute,
150
+ ResourceScanInProgressException: () => ResourceScanInProgressException,
151
+ ResourceScanLimitExceededException: () => ResourceScanLimitExceededException,
152
+ ResourceScanNotFoundException: () => ResourceScanNotFoundException,
153
+ ResourceScanStatus: () => ResourceScanStatus,
135
154
  ResourceSignalStatus: () => ResourceSignalStatus,
136
155
  ResourceStatus: () => ResourceStatus,
137
156
  RollbackStackCommand: () => RollbackStackCommand,
@@ -157,7 +176,9 @@ __export(src_exports, {
157
176
  StackSetStatus: () => StackSetStatus,
158
177
  StackStatus: () => StackStatus,
159
178
  StaleRequestException: () => StaleRequestException,
179
+ StartResourceScanCommand: () => StartResourceScanCommand,
160
180
  StopStackSetOperationCommand: () => StopStackSetOperationCommand,
181
+ TemplateFormat: () => TemplateFormat,
161
182
  TemplateStage: () => TemplateStage,
162
183
  TestTypeCommand: () => TestTypeCommand,
163
184
  ThirdPartyType: () => ThirdPartyType,
@@ -165,6 +186,7 @@ __export(src_exports, {
165
186
  TypeConfigurationNotFoundException: () => TypeConfigurationNotFoundException,
166
187
  TypeNotFoundException: () => TypeNotFoundException,
167
188
  TypeTestsStatus: () => TypeTestsStatus,
189
+ UpdateGeneratedTemplateCommand: () => UpdateGeneratedTemplateCommand,
168
190
  UpdateStackCommand: () => UpdateStackCommand,
169
191
  UpdateStackInstancesCommand: () => UpdateStackInstancesCommand,
170
192
  UpdateStackSetCommand: () => UpdateStackSetCommand,
@@ -172,6 +194,7 @@ __export(src_exports, {
172
194
  ValidateTemplateCommand: () => ValidateTemplateCommand,
173
195
  VersionBump: () => VersionBump,
174
196
  Visibility: () => Visibility,
197
+ WarningType: () => WarningType,
175
198
  __Client: () => import_smithy_client.Client,
176
199
  paginateDescribeAccountLimits: () => paginateDescribeAccountLimits,
177
200
  paginateDescribeStackEvents: () => paginateDescribeStackEvents,
@@ -179,7 +202,11 @@ __export(src_exports, {
179
202
  paginateDescribeStacks: () => paginateDescribeStacks,
180
203
  paginateListChangeSets: () => paginateListChangeSets,
181
204
  paginateListExports: () => paginateListExports,
205
+ paginateListGeneratedTemplates: () => paginateListGeneratedTemplates,
182
206
  paginateListImports: () => paginateListImports,
207
+ paginateListResourceScanRelatedResources: () => paginateListResourceScanRelatedResources,
208
+ paginateListResourceScanResources: () => paginateListResourceScanResources,
209
+ paginateListResourceScans: () => paginateListResourceScans,
183
210
  paginateListStackInstances: () => paginateListStackInstances,
184
211
  paginateListStackResources: () => paginateListStackResources,
185
212
  paginateListStackSetOperationResults: () => paginateListStackSetOperationResults,
@@ -621,6 +648,32 @@ var _LimitExceededException = class _LimitExceededException extends CloudFormati
621
648
  };
622
649
  __name(_LimitExceededException, "LimitExceededException");
623
650
  var LimitExceededException = _LimitExceededException;
651
+ var _ConcurrentResourcesLimitExceededException = class _ConcurrentResourcesLimitExceededException extends CloudFormationServiceException {
652
+ /**
653
+ * @internal
654
+ */
655
+ constructor(opts) {
656
+ super({
657
+ name: "ConcurrentResourcesLimitExceededException",
658
+ $fault: "client",
659
+ ...opts
660
+ });
661
+ this.name = "ConcurrentResourcesLimitExceededException";
662
+ this.$fault = "client";
663
+ Object.setPrototypeOf(this, _ConcurrentResourcesLimitExceededException.prototype);
664
+ this.Message = opts.Message;
665
+ }
666
+ };
667
+ __name(_ConcurrentResourcesLimitExceededException, "ConcurrentResourcesLimitExceededException");
668
+ var ConcurrentResourcesLimitExceededException = _ConcurrentResourcesLimitExceededException;
669
+ var GeneratedTemplateDeletionPolicy = {
670
+ DELETE: "DELETE",
671
+ RETAIN: "RETAIN"
672
+ };
673
+ var GeneratedTemplateUpdateReplacePolicy = {
674
+ DELETE: "DELETE",
675
+ RETAIN: "RETAIN"
676
+ };
624
677
  var OnFailure = {
625
678
  DELETE: "DELETE",
626
679
  DO_NOTHING: "DO_NOTHING",
@@ -764,6 +817,24 @@ var _InvalidChangeSetStatusException = class _InvalidChangeSetStatusException ex
764
817
  };
765
818
  __name(_InvalidChangeSetStatusException, "InvalidChangeSetStatusException");
766
819
  var InvalidChangeSetStatusException = _InvalidChangeSetStatusException;
820
+ var _GeneratedTemplateNotFoundException = class _GeneratedTemplateNotFoundException extends CloudFormationServiceException {
821
+ /**
822
+ * @internal
823
+ */
824
+ constructor(opts) {
825
+ super({
826
+ name: "GeneratedTemplateNotFoundException",
827
+ $fault: "client",
828
+ ...opts
829
+ });
830
+ this.name = "GeneratedTemplateNotFoundException";
831
+ this.$fault = "client";
832
+ Object.setPrototypeOf(this, _GeneratedTemplateNotFoundException.prototype);
833
+ this.Message = opts.Message;
834
+ }
835
+ };
836
+ __name(_GeneratedTemplateNotFoundException, "GeneratedTemplateNotFoundException");
837
+ var GeneratedTemplateNotFoundException = _GeneratedTemplateNotFoundException;
767
838
  var _StackSetNotEmptyException = class _StackSetNotEmptyException extends CloudFormationServiceException {
768
839
  /**
769
840
  * @internal
@@ -787,6 +858,27 @@ var RegistryType = {
787
858
  MODULE: "MODULE",
788
859
  RESOURCE: "RESOURCE"
789
860
  };
861
+ var GeneratedTemplateResourceStatus = {
862
+ COMPLETE: "COMPLETE",
863
+ FAILED: "FAILED",
864
+ IN_PROGRESS: "IN_PROGRESS",
865
+ PENDING: "PENDING"
866
+ };
867
+ var WarningType = {
868
+ MUTUALLY_EXCLUSIVE_PROPERTIES: "MUTUALLY_EXCLUSIVE_PROPERTIES",
869
+ MUTUALLY_EXCLUSIVE_TYPES: "MUTUALLY_EXCLUSIVE_TYPES",
870
+ UNSUPPORTED_PROPERTIES: "UNSUPPORTED_PROPERTIES"
871
+ };
872
+ var GeneratedTemplateStatus = {
873
+ COMPLETE: "COMPLETE",
874
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
875
+ CREATE_PENDING: "CREATE_PENDING",
876
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
877
+ DELETE_PENDING: "DELETE_PENDING",
878
+ FAILED: "FAILED",
879
+ UPDATE_IN_PROGRESS: "UPDATE_IN_PROGRESS",
880
+ UPDATE_PENDING: "UPDATE_PENDING"
881
+ };
790
882
  var OrganizationStatus = {
791
883
  DISABLED: "DISABLED",
792
884
  DISABLED_PERMANENTLY: "DISABLED_PERMANENTLY",
@@ -801,6 +893,30 @@ var PublisherStatus = {
801
893
  UNVERIFIED: "UNVERIFIED",
802
894
  VERIFIED: "VERIFIED"
803
895
  };
896
+ var ResourceScanStatus = {
897
+ COMPLETE: "COMPLETE",
898
+ EXPIRED: "EXPIRED",
899
+ FAILED: "FAILED",
900
+ IN_PROGRESS: "IN_PROGRESS"
901
+ };
902
+ var _ResourceScanNotFoundException = class _ResourceScanNotFoundException extends CloudFormationServiceException {
903
+ /**
904
+ * @internal
905
+ */
906
+ constructor(opts) {
907
+ super({
908
+ name: "ResourceScanNotFoundException",
909
+ $fault: "client",
910
+ ...opts
911
+ });
912
+ this.name = "ResourceScanNotFoundException";
913
+ this.$fault = "client";
914
+ Object.setPrototypeOf(this, _ResourceScanNotFoundException.prototype);
915
+ this.Message = opts.Message;
916
+ }
917
+ };
918
+ __name(_ResourceScanNotFoundException, "ResourceScanNotFoundException");
919
+ var ResourceScanNotFoundException = _ResourceScanNotFoundException;
804
920
  var StackDriftDetectionStatus = {
805
921
  DETECTION_COMPLETE: "DETECTION_COMPLETE",
806
922
  DETECTION_FAILED: "DETECTION_FAILED",
@@ -964,6 +1080,10 @@ var RegistrationStatus = {
964
1080
  FAILED: "FAILED",
965
1081
  IN_PROGRESS: "IN_PROGRESS"
966
1082
  };
1083
+ var TemplateFormat = {
1084
+ JSON: "JSON",
1085
+ YAML: "YAML"
1086
+ };
967
1087
  var TemplateStage = {
968
1088
  Original: "Original",
969
1089
  Processed: "Processed"
@@ -986,6 +1106,24 @@ var _StackNotFoundException = class _StackNotFoundException extends CloudFormati
986
1106
  };
987
1107
  __name(_StackNotFoundException, "StackNotFoundException");
988
1108
  var StackNotFoundException = _StackNotFoundException;
1109
+ var _ResourceScanInProgressException = class _ResourceScanInProgressException extends CloudFormationServiceException {
1110
+ /**
1111
+ * @internal
1112
+ */
1113
+ constructor(opts) {
1114
+ super({
1115
+ name: "ResourceScanInProgressException",
1116
+ $fault: "client",
1117
+ ...opts
1118
+ });
1119
+ this.name = "ResourceScanInProgressException";
1120
+ this.$fault = "client";
1121
+ Object.setPrototypeOf(this, _ResourceScanInProgressException.prototype);
1122
+ this.Message = opts.Message;
1123
+ }
1124
+ };
1125
+ __name(_ResourceScanInProgressException, "ResourceScanInProgressException");
1126
+ var ResourceScanInProgressException = _ResourceScanInProgressException;
989
1127
  var StackInstanceFilterName = {
990
1128
  DETAILED_STATUS: "DETAILED_STATUS",
991
1129
  DRIFT_STATUS: "DRIFT_STATUS",
@@ -1068,6 +1206,24 @@ var ResourceSignalStatus = {
1068
1206
  FAILURE: "FAILURE",
1069
1207
  SUCCESS: "SUCCESS"
1070
1208
  };
1209
+ var _ResourceScanLimitExceededException = class _ResourceScanLimitExceededException extends CloudFormationServiceException {
1210
+ /**
1211
+ * @internal
1212
+ */
1213
+ constructor(opts) {
1214
+ super({
1215
+ name: "ResourceScanLimitExceededException",
1216
+ $fault: "client",
1217
+ ...opts
1218
+ });
1219
+ this.name = "ResourceScanLimitExceededException";
1220
+ this.$fault = "client";
1221
+ Object.setPrototypeOf(this, _ResourceScanLimitExceededException.prototype);
1222
+ this.Message = opts.Message;
1223
+ }
1224
+ };
1225
+ __name(_ResourceScanLimitExceededException, "ResourceScanLimitExceededException");
1226
+ var ResourceScanLimitExceededException = _ResourceScanLimitExceededException;
1071
1227
 
1072
1228
  // src/protocols/Aws_query.ts
1073
1229
  var se_ActivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
@@ -1130,6 +1286,16 @@ var se_CreateChangeSetCommand = /* @__PURE__ */ __name(async (input, context) =>
1130
1286
  });
1131
1287
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1132
1288
  }, "se_CreateChangeSetCommand");
1289
+ var se_CreateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
1290
+ const headers = SHARED_HEADERS;
1291
+ let body;
1292
+ body = buildFormUrlencodedString({
1293
+ ...se_CreateGeneratedTemplateInput(input, context),
1294
+ [_A]: _CGT,
1295
+ [_V]: _
1296
+ });
1297
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1298
+ }, "se_CreateGeneratedTemplateCommand");
1133
1299
  var se_CreateStackCommand = /* @__PURE__ */ __name(async (input, context) => {
1134
1300
  const headers = SHARED_HEADERS;
1135
1301
  let body;
@@ -1190,6 +1356,16 @@ var se_DeleteChangeSetCommand = /* @__PURE__ */ __name(async (input, context) =>
1190
1356
  });
1191
1357
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1192
1358
  }, "se_DeleteChangeSetCommand");
1359
+ var se_DeleteGeneratedTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
1360
+ const headers = SHARED_HEADERS;
1361
+ let body;
1362
+ body = buildFormUrlencodedString({
1363
+ ...se_DeleteGeneratedTemplateInput(input, context),
1364
+ [_A]: _DGT,
1365
+ [_V]: _
1366
+ });
1367
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1368
+ }, "se_DeleteGeneratedTemplateCommand");
1193
1369
  var se_DeleteStackCommand = /* @__PURE__ */ __name(async (input, context) => {
1194
1370
  const headers = SHARED_HEADERS;
1195
1371
  let body;
@@ -1260,6 +1436,16 @@ var se_DescribeChangeSetHooksCommand = /* @__PURE__ */ __name(async (input, cont
1260
1436
  });
1261
1437
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1262
1438
  }, "se_DescribeChangeSetHooksCommand");
1439
+ var se_DescribeGeneratedTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
1440
+ const headers = SHARED_HEADERS;
1441
+ let body;
1442
+ body = buildFormUrlencodedString({
1443
+ ...se_DescribeGeneratedTemplateInput(input, context),
1444
+ [_A]: _DGTe,
1445
+ [_V]: _
1446
+ });
1447
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1448
+ }, "se_DescribeGeneratedTemplateCommand");
1263
1449
  var se_DescribeOrganizationsAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
1264
1450
  const headers = SHARED_HEADERS;
1265
1451
  let body;
@@ -1280,6 +1466,16 @@ var se_DescribePublisherCommand = /* @__PURE__ */ __name(async (input, context)
1280
1466
  });
1281
1467
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1282
1468
  }, "se_DescribePublisherCommand");
1469
+ var se_DescribeResourceScanCommand = /* @__PURE__ */ __name(async (input, context) => {
1470
+ const headers = SHARED_HEADERS;
1471
+ let body;
1472
+ body = buildFormUrlencodedString({
1473
+ ...se_DescribeResourceScanInput(input, context),
1474
+ [_A]: _DRS,
1475
+ [_V]: _
1476
+ });
1477
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1478
+ }, "se_DescribeResourceScanCommand");
1283
1479
  var se_DescribeStackDriftDetectionStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
1284
1480
  const headers = SHARED_HEADERS;
1285
1481
  let body;
@@ -1440,6 +1636,16 @@ var se_ExecuteChangeSetCommand = /* @__PURE__ */ __name(async (input, context) =
1440
1636
  });
1441
1637
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1442
1638
  }, "se_ExecuteChangeSetCommand");
1639
+ var se_GetGeneratedTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
1640
+ const headers = SHARED_HEADERS;
1641
+ let body;
1642
+ body = buildFormUrlencodedString({
1643
+ ...se_GetGeneratedTemplateInput(input, context),
1644
+ [_A]: _GGT,
1645
+ [_V]: _
1646
+ });
1647
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1648
+ }, "se_GetGeneratedTemplateCommand");
1443
1649
  var se_GetStackPolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
1444
1650
  const headers = SHARED_HEADERS;
1445
1651
  let body;
@@ -1500,6 +1706,16 @@ var se_ListExportsCommand = /* @__PURE__ */ __name(async (input, context) => {
1500
1706
  });
1501
1707
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1502
1708
  }, "se_ListExportsCommand");
1709
+ var se_ListGeneratedTemplatesCommand = /* @__PURE__ */ __name(async (input, context) => {
1710
+ const headers = SHARED_HEADERS;
1711
+ let body;
1712
+ body = buildFormUrlencodedString({
1713
+ ...se_ListGeneratedTemplatesInput(input, context),
1714
+ [_A]: _LGT,
1715
+ [_V]: _
1716
+ });
1717
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1718
+ }, "se_ListGeneratedTemplatesCommand");
1503
1719
  var se_ListImportsCommand = /* @__PURE__ */ __name(async (input, context) => {
1504
1720
  const headers = SHARED_HEADERS;
1505
1721
  let body;
@@ -1510,6 +1726,36 @@ var se_ListImportsCommand = /* @__PURE__ */ __name(async (input, context) => {
1510
1726
  });
1511
1727
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1512
1728
  }, "se_ListImportsCommand");
1729
+ var se_ListResourceScanRelatedResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
1730
+ const headers = SHARED_HEADERS;
1731
+ let body;
1732
+ body = buildFormUrlencodedString({
1733
+ ...se_ListResourceScanRelatedResourcesInput(input, context),
1734
+ [_A]: _LRSRR,
1735
+ [_V]: _
1736
+ });
1737
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1738
+ }, "se_ListResourceScanRelatedResourcesCommand");
1739
+ var se_ListResourceScanResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
1740
+ const headers = SHARED_HEADERS;
1741
+ let body;
1742
+ body = buildFormUrlencodedString({
1743
+ ...se_ListResourceScanResourcesInput(input, context),
1744
+ [_A]: _LRSR,
1745
+ [_V]: _
1746
+ });
1747
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1748
+ }, "se_ListResourceScanResourcesCommand");
1749
+ var se_ListResourceScansCommand = /* @__PURE__ */ __name(async (input, context) => {
1750
+ const headers = SHARED_HEADERS;
1751
+ let body;
1752
+ body = buildFormUrlencodedString({
1753
+ ...se_ListResourceScansInput(input, context),
1754
+ [_A]: _LRS,
1755
+ [_V]: _
1756
+ });
1757
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1758
+ }, "se_ListResourceScansCommand");
1513
1759
  var se_ListStackInstanceResourceDriftsCommand = /* @__PURE__ */ __name(async (input, context) => {
1514
1760
  const headers = SHARED_HEADERS;
1515
1761
  let body;
@@ -1700,6 +1946,16 @@ var se_SignalResourceCommand = /* @__PURE__ */ __name(async (input, context) =>
1700
1946
  });
1701
1947
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1702
1948
  }, "se_SignalResourceCommand");
1949
+ var se_StartResourceScanCommand = /* @__PURE__ */ __name(async (input, context) => {
1950
+ const headers = SHARED_HEADERS;
1951
+ let body;
1952
+ body = buildFormUrlencodedString({
1953
+ ...se_StartResourceScanInput(input, context),
1954
+ [_A]: _SRS,
1955
+ [_V]: _
1956
+ });
1957
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1958
+ }, "se_StartResourceScanCommand");
1703
1959
  var se_StopStackSetOperationCommand = /* @__PURE__ */ __name(async (input, context) => {
1704
1960
  const headers = SHARED_HEADERS;
1705
1961
  let body;
@@ -1720,6 +1976,16 @@ var se_TestTypeCommand = /* @__PURE__ */ __name(async (input, context) => {
1720
1976
  });
1721
1977
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1722
1978
  }, "se_TestTypeCommand");
1979
+ var se_UpdateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
1980
+ const headers = SHARED_HEADERS;
1981
+ let body;
1982
+ body = buildFormUrlencodedString({
1983
+ ...se_UpdateGeneratedTemplateInput(input, context),
1984
+ [_A]: _UGT,
1985
+ [_V]: _
1986
+ });
1987
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1988
+ }, "se_UpdateGeneratedTemplateCommand");
1723
1989
  var se_UpdateStackCommand = /* @__PURE__ */ __name(async (input, context) => {
1724
1990
  const headers = SHARED_HEADERS;
1725
1991
  let body;
@@ -1772,7 +2038,7 @@ var se_ValidateTemplateCommand = /* @__PURE__ */ __name(async (input, context) =
1772
2038
  }, "se_ValidateTemplateCommand");
1773
2039
  var de_ActivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
1774
2040
  if (output.statusCode >= 300) {
1775
- return de_ActivateOrganizationsAccessCommandError(output, context);
2041
+ return de_CommandError(output, context);
1776
2042
  }
1777
2043
  const data = await parseBody(output.body, context);
1778
2044
  let contents = {};
@@ -1783,31 +2049,9 @@ var de_ActivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output
1783
2049
  };
1784
2050
  return response;
1785
2051
  }, "de_ActivateOrganizationsAccessCommand");
1786
- var de_ActivateOrganizationsAccessCommandError = /* @__PURE__ */ __name(async (output, context) => {
1787
- const parsedOutput = {
1788
- ...output,
1789
- body: await parseErrorBody(output.body, context)
1790
- };
1791
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1792
- switch (errorCode) {
1793
- case "InvalidOperationException":
1794
- case "com.amazonaws.cloudformation#InvalidOperationException":
1795
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
1796
- case "OperationNotFoundException":
1797
- case "com.amazonaws.cloudformation#OperationNotFoundException":
1798
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
1799
- default:
1800
- const parsedBody = parsedOutput.body;
1801
- return throwDefaultError({
1802
- output,
1803
- parsedBody: parsedBody.Error,
1804
- errorCode
1805
- });
1806
- }
1807
- }, "de_ActivateOrganizationsAccessCommandError");
1808
2052
  var de_ActivateTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
1809
2053
  if (output.statusCode >= 300) {
1810
- return de_ActivateTypeCommandError(output, context);
2054
+ return de_CommandError(output, context);
1811
2055
  }
1812
2056
  const data = await parseBody(output.body, context);
1813
2057
  let contents = {};
@@ -1818,31 +2062,9 @@ var de_ActivateTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
1818
2062
  };
1819
2063
  return response;
1820
2064
  }, "de_ActivateTypeCommand");
1821
- var de_ActivateTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
1822
- const parsedOutput = {
1823
- ...output,
1824
- body: await parseErrorBody(output.body, context)
1825
- };
1826
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1827
- switch (errorCode) {
1828
- case "CFNRegistryException":
1829
- case "com.amazonaws.cloudformation#CFNRegistryException":
1830
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
1831
- case "TypeNotFoundException":
1832
- case "com.amazonaws.cloudformation#TypeNotFoundException":
1833
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
1834
- default:
1835
- const parsedBody = parsedOutput.body;
1836
- return throwDefaultError({
1837
- output,
1838
- parsedBody: parsedBody.Error,
1839
- errorCode
1840
- });
1841
- }
1842
- }, "de_ActivateTypeCommandError");
1843
2065
  var de_BatchDescribeTypeConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1844
2066
  if (output.statusCode >= 300) {
1845
- return de_BatchDescribeTypeConfigurationsCommandError(output, context);
2067
+ return de_CommandError(output, context);
1846
2068
  }
1847
2069
  const data = await parseBody(output.body, context);
1848
2070
  let contents = {};
@@ -1853,31 +2075,9 @@ var de_BatchDescribeTypeConfigurationsCommand = /* @__PURE__ */ __name(async (ou
1853
2075
  };
1854
2076
  return response;
1855
2077
  }, "de_BatchDescribeTypeConfigurationsCommand");
1856
- var de_BatchDescribeTypeConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
1857
- const parsedOutput = {
1858
- ...output,
1859
- body: await parseErrorBody(output.body, context)
1860
- };
1861
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1862
- switch (errorCode) {
1863
- case "CFNRegistryException":
1864
- case "com.amazonaws.cloudformation#CFNRegistryException":
1865
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
1866
- case "TypeConfigurationNotFoundException":
1867
- case "com.amazonaws.cloudformation#TypeConfigurationNotFoundException":
1868
- throw await de_TypeConfigurationNotFoundExceptionRes(parsedOutput, context);
1869
- default:
1870
- const parsedBody = parsedOutput.body;
1871
- return throwDefaultError({
1872
- output,
1873
- parsedBody: parsedBody.Error,
1874
- errorCode
1875
- });
1876
- }
1877
- }, "de_BatchDescribeTypeConfigurationsCommandError");
1878
2078
  var de_CancelUpdateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
1879
2079
  if (output.statusCode >= 300) {
1880
- return de_CancelUpdateStackCommandError(output, context);
2080
+ return de_CommandError(output, context);
1881
2081
  }
1882
2082
  await (0, import_smithy_client.collectBody)(output.body, context);
1883
2083
  const response = {
@@ -1885,28 +2085,9 @@ var de_CancelUpdateStackCommand = /* @__PURE__ */ __name(async (output, context)
1885
2085
  };
1886
2086
  return response;
1887
2087
  }, "de_CancelUpdateStackCommand");
1888
- var de_CancelUpdateStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
1889
- const parsedOutput = {
1890
- ...output,
1891
- body: await parseErrorBody(output.body, context)
1892
- };
1893
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1894
- switch (errorCode) {
1895
- case "TokenAlreadyExistsException":
1896
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
1897
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
1898
- default:
1899
- const parsedBody = parsedOutput.body;
1900
- return throwDefaultError({
1901
- output,
1902
- parsedBody: parsedBody.Error,
1903
- errorCode
1904
- });
1905
- }
1906
- }, "de_CancelUpdateStackCommandError");
1907
2088
  var de_ContinueUpdateRollbackCommand = /* @__PURE__ */ __name(async (output, context) => {
1908
2089
  if (output.statusCode >= 300) {
1909
- return de_ContinueUpdateRollbackCommandError(output, context);
2090
+ return de_CommandError(output, context);
1910
2091
  }
1911
2092
  const data = await parseBody(output.body, context);
1912
2093
  let contents = {};
@@ -1917,28 +2098,9 @@ var de_ContinueUpdateRollbackCommand = /* @__PURE__ */ __name(async (output, con
1917
2098
  };
1918
2099
  return response;
1919
2100
  }, "de_ContinueUpdateRollbackCommand");
1920
- var de_ContinueUpdateRollbackCommandError = /* @__PURE__ */ __name(async (output, context) => {
1921
- const parsedOutput = {
1922
- ...output,
1923
- body: await parseErrorBody(output.body, context)
1924
- };
1925
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1926
- switch (errorCode) {
1927
- case "TokenAlreadyExistsException":
1928
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
1929
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
1930
- default:
1931
- const parsedBody = parsedOutput.body;
1932
- return throwDefaultError({
1933
- output,
1934
- parsedBody: parsedBody.Error,
1935
- errorCode
1936
- });
1937
- }
1938
- }, "de_ContinueUpdateRollbackCommandError");
1939
2101
  var de_CreateChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
1940
2102
  if (output.statusCode >= 300) {
1941
- return de_CreateChangeSetCommandError(output, context);
2103
+ return de_CommandError(output, context);
1942
2104
  }
1943
2105
  const data = await parseBody(output.body, context);
1944
2106
  let contents = {};
@@ -1949,34 +2111,22 @@ var de_CreateChangeSetCommand = /* @__PURE__ */ __name(async (output, context) =
1949
2111
  };
1950
2112
  return response;
1951
2113
  }, "de_CreateChangeSetCommand");
1952
- var de_CreateChangeSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
1953
- const parsedOutput = {
1954
- ...output,
1955
- body: await parseErrorBody(output.body, context)
2114
+ var de_CreateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
2115
+ if (output.statusCode >= 300) {
2116
+ return de_CommandError(output, context);
2117
+ }
2118
+ const data = await parseBody(output.body, context);
2119
+ let contents = {};
2120
+ contents = de_CreateGeneratedTemplateOutput(data.CreateGeneratedTemplateResult, context);
2121
+ const response = {
2122
+ $metadata: deserializeMetadata(output),
2123
+ ...contents
1956
2124
  };
1957
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1958
- switch (errorCode) {
1959
- case "AlreadyExistsException":
1960
- case "com.amazonaws.cloudformation#AlreadyExistsException":
1961
- throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
1962
- case "InsufficientCapabilitiesException":
1963
- case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
1964
- throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
1965
- case "LimitExceededException":
1966
- case "com.amazonaws.cloudformation#LimitExceededException":
1967
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
1968
- default:
1969
- const parsedBody = parsedOutput.body;
1970
- return throwDefaultError({
1971
- output,
1972
- parsedBody: parsedBody.Error,
1973
- errorCode
1974
- });
1975
- }
1976
- }, "de_CreateChangeSetCommandError");
2125
+ return response;
2126
+ }, "de_CreateGeneratedTemplateCommand");
1977
2127
  var de_CreateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
1978
2128
  if (output.statusCode >= 300) {
1979
- return de_CreateStackCommandError(output, context);
2129
+ return de_CommandError(output, context);
1980
2130
  }
1981
2131
  const data = await parseBody(output.body, context);
1982
2132
  let contents = {};
@@ -1987,37 +2137,9 @@ var de_CreateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
1987
2137
  };
1988
2138
  return response;
1989
2139
  }, "de_CreateStackCommand");
1990
- var de_CreateStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
1991
- const parsedOutput = {
1992
- ...output,
1993
- body: await parseErrorBody(output.body, context)
1994
- };
1995
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
1996
- switch (errorCode) {
1997
- case "AlreadyExistsException":
1998
- case "com.amazonaws.cloudformation#AlreadyExistsException":
1999
- throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
2000
- case "InsufficientCapabilitiesException":
2001
- case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
2002
- throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
2003
- case "LimitExceededException":
2004
- case "com.amazonaws.cloudformation#LimitExceededException":
2005
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
2006
- case "TokenAlreadyExistsException":
2007
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
2008
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
2009
- default:
2010
- const parsedBody = parsedOutput.body;
2011
- return throwDefaultError({
2012
- output,
2013
- parsedBody: parsedBody.Error,
2014
- errorCode
2015
- });
2016
- }
2017
- }, "de_CreateStackCommandError");
2018
2140
  var de_CreateStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
2019
2141
  if (output.statusCode >= 300) {
2020
- return de_CreateStackInstancesCommandError(output, context);
2142
+ return de_CommandError(output, context);
2021
2143
  }
2022
2144
  const data = await parseBody(output.body, context);
2023
2145
  let contents = {};
@@ -2028,43 +2150,9 @@ var de_CreateStackInstancesCommand = /* @__PURE__ */ __name(async (output, conte
2028
2150
  };
2029
2151
  return response;
2030
2152
  }, "de_CreateStackInstancesCommand");
2031
- var de_CreateStackInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2032
- const parsedOutput = {
2033
- ...output,
2034
- body: await parseErrorBody(output.body, context)
2035
- };
2036
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2037
- switch (errorCode) {
2038
- case "InvalidOperationException":
2039
- case "com.amazonaws.cloudformation#InvalidOperationException":
2040
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2041
- case "LimitExceededException":
2042
- case "com.amazonaws.cloudformation#LimitExceededException":
2043
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
2044
- case "OperationIdAlreadyExistsException":
2045
- case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
2046
- throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
2047
- case "OperationInProgressException":
2048
- case "com.amazonaws.cloudformation#OperationInProgressException":
2049
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
2050
- case "StackSetNotFoundException":
2051
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2052
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2053
- case "StaleRequestException":
2054
- case "com.amazonaws.cloudformation#StaleRequestException":
2055
- throw await de_StaleRequestExceptionRes(parsedOutput, context);
2056
- default:
2057
- const parsedBody = parsedOutput.body;
2058
- return throwDefaultError({
2059
- output,
2060
- parsedBody: parsedBody.Error,
2061
- errorCode
2062
- });
2063
- }
2064
- }, "de_CreateStackInstancesCommandError");
2065
2153
  var de_CreateStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2066
2154
  if (output.statusCode >= 300) {
2067
- return de_CreateStackSetCommandError(output, context);
2155
+ return de_CommandError(output, context);
2068
2156
  }
2069
2157
  const data = await parseBody(output.body, context);
2070
2158
  let contents = {};
@@ -2075,34 +2163,9 @@ var de_CreateStackSetCommand = /* @__PURE__ */ __name(async (output, context) =>
2075
2163
  };
2076
2164
  return response;
2077
2165
  }, "de_CreateStackSetCommand");
2078
- var de_CreateStackSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
2079
- const parsedOutput = {
2080
- ...output,
2081
- body: await parseErrorBody(output.body, context)
2082
- };
2083
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2084
- switch (errorCode) {
2085
- case "CreatedButModifiedException":
2086
- case "com.amazonaws.cloudformation#CreatedButModifiedException":
2087
- throw await de_CreatedButModifiedExceptionRes(parsedOutput, context);
2088
- case "LimitExceededException":
2089
- case "com.amazonaws.cloudformation#LimitExceededException":
2090
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
2091
- case "NameAlreadyExistsException":
2092
- case "com.amazonaws.cloudformation#NameAlreadyExistsException":
2093
- throw await de_NameAlreadyExistsExceptionRes(parsedOutput, context);
2094
- default:
2095
- const parsedBody = parsedOutput.body;
2096
- return throwDefaultError({
2097
- output,
2098
- parsedBody: parsedBody.Error,
2099
- errorCode
2100
- });
2101
- }
2102
- }, "de_CreateStackSetCommandError");
2103
2166
  var de_DeactivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
2104
2167
  if (output.statusCode >= 300) {
2105
- return de_DeactivateOrganizationsAccessCommandError(output, context);
2168
+ return de_CommandError(output, context);
2106
2169
  }
2107
2170
  const data = await parseBody(output.body, context);
2108
2171
  let contents = {};
@@ -2113,31 +2176,9 @@ var de_DeactivateOrganizationsAccessCommand = /* @__PURE__ */ __name(async (outp
2113
2176
  };
2114
2177
  return response;
2115
2178
  }, "de_DeactivateOrganizationsAccessCommand");
2116
- var de_DeactivateOrganizationsAccessCommandError = /* @__PURE__ */ __name(async (output, context) => {
2117
- const parsedOutput = {
2118
- ...output,
2119
- body: await parseErrorBody(output.body, context)
2120
- };
2121
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2122
- switch (errorCode) {
2123
- case "InvalidOperationException":
2124
- case "com.amazonaws.cloudformation#InvalidOperationException":
2125
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2126
- case "OperationNotFoundException":
2127
- case "com.amazonaws.cloudformation#OperationNotFoundException":
2128
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
2129
- default:
2130
- const parsedBody = parsedOutput.body;
2131
- return throwDefaultError({
2132
- output,
2133
- parsedBody: parsedBody.Error,
2134
- errorCode
2135
- });
2136
- }
2137
- }, "de_DeactivateOrganizationsAccessCommandError");
2138
2179
  var de_DeactivateTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
2139
2180
  if (output.statusCode >= 300) {
2140
- return de_DeactivateTypeCommandError(output, context);
2181
+ return de_CommandError(output, context);
2141
2182
  }
2142
2183
  const data = await parseBody(output.body, context);
2143
2184
  let contents = {};
@@ -2148,31 +2189,9 @@ var de_DeactivateTypeCommand = /* @__PURE__ */ __name(async (output, context) =>
2148
2189
  };
2149
2190
  return response;
2150
2191
  }, "de_DeactivateTypeCommand");
2151
- var de_DeactivateTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
2152
- const parsedOutput = {
2153
- ...output,
2154
- body: await parseErrorBody(output.body, context)
2155
- };
2156
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2157
- switch (errorCode) {
2158
- case "CFNRegistryException":
2159
- case "com.amazonaws.cloudformation#CFNRegistryException":
2160
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2161
- case "TypeNotFoundException":
2162
- case "com.amazonaws.cloudformation#TypeNotFoundException":
2163
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
2164
- default:
2165
- const parsedBody = parsedOutput.body;
2166
- return throwDefaultError({
2167
- output,
2168
- parsedBody: parsedBody.Error,
2169
- errorCode
2170
- });
2171
- }
2172
- }, "de_DeactivateTypeCommandError");
2173
2192
  var de_DeleteChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2174
2193
  if (output.statusCode >= 300) {
2175
- return de_DeleteChangeSetCommandError(output, context);
2194
+ return de_CommandError(output, context);
2176
2195
  }
2177
2196
  const data = await parseBody(output.body, context);
2178
2197
  let contents = {};
@@ -2183,28 +2202,19 @@ var de_DeleteChangeSetCommand = /* @__PURE__ */ __name(async (output, context) =
2183
2202
  };
2184
2203
  return response;
2185
2204
  }, "de_DeleteChangeSetCommand");
2186
- var de_DeleteChangeSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
2187
- const parsedOutput = {
2188
- ...output,
2189
- body: await parseErrorBody(output.body, context)
2190
- };
2191
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2192
- switch (errorCode) {
2193
- case "InvalidChangeSetStatus":
2194
- case "com.amazonaws.cloudformation#InvalidChangeSetStatusException":
2195
- throw await de_InvalidChangeSetStatusExceptionRes(parsedOutput, context);
2196
- default:
2197
- const parsedBody = parsedOutput.body;
2198
- return throwDefaultError({
2199
- output,
2200
- parsedBody: parsedBody.Error,
2201
- errorCode
2202
- });
2205
+ var de_DeleteGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
2206
+ if (output.statusCode >= 300) {
2207
+ return de_CommandError(output, context);
2203
2208
  }
2204
- }, "de_DeleteChangeSetCommandError");
2209
+ await (0, import_smithy_client.collectBody)(output.body, context);
2210
+ const response = {
2211
+ $metadata: deserializeMetadata(output)
2212
+ };
2213
+ return response;
2214
+ }, "de_DeleteGeneratedTemplateCommand");
2205
2215
  var de_DeleteStackCommand = /* @__PURE__ */ __name(async (output, context) => {
2206
2216
  if (output.statusCode >= 300) {
2207
- return de_DeleteStackCommandError(output, context);
2217
+ return de_CommandError(output, context);
2208
2218
  }
2209
2219
  await (0, import_smithy_client.collectBody)(output.body, context);
2210
2220
  const response = {
@@ -2212,28 +2222,9 @@ var de_DeleteStackCommand = /* @__PURE__ */ __name(async (output, context) => {
2212
2222
  };
2213
2223
  return response;
2214
2224
  }, "de_DeleteStackCommand");
2215
- var de_DeleteStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
2216
- const parsedOutput = {
2217
- ...output,
2218
- body: await parseErrorBody(output.body, context)
2219
- };
2220
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2221
- switch (errorCode) {
2222
- case "TokenAlreadyExistsException":
2223
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
2224
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
2225
- default:
2226
- const parsedBody = parsedOutput.body;
2227
- return throwDefaultError({
2228
- output,
2229
- parsedBody: parsedBody.Error,
2230
- errorCode
2231
- });
2232
- }
2233
- }, "de_DeleteStackCommandError");
2234
2225
  var de_DeleteStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
2235
2226
  if (output.statusCode >= 300) {
2236
- return de_DeleteStackInstancesCommandError(output, context);
2227
+ return de_CommandError(output, context);
2237
2228
  }
2238
2229
  const data = await parseBody(output.body, context);
2239
2230
  let contents = {};
@@ -2244,40 +2235,9 @@ var de_DeleteStackInstancesCommand = /* @__PURE__ */ __name(async (output, conte
2244
2235
  };
2245
2236
  return response;
2246
2237
  }, "de_DeleteStackInstancesCommand");
2247
- var de_DeleteStackInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2248
- const parsedOutput = {
2249
- ...output,
2250
- body: await parseErrorBody(output.body, context)
2251
- };
2252
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2253
- switch (errorCode) {
2254
- case "InvalidOperationException":
2255
- case "com.amazonaws.cloudformation#InvalidOperationException":
2256
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2257
- case "OperationIdAlreadyExistsException":
2258
- case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
2259
- throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
2260
- case "OperationInProgressException":
2261
- case "com.amazonaws.cloudformation#OperationInProgressException":
2262
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
2263
- case "StackSetNotFoundException":
2264
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2265
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2266
- case "StaleRequestException":
2267
- case "com.amazonaws.cloudformation#StaleRequestException":
2268
- throw await de_StaleRequestExceptionRes(parsedOutput, context);
2269
- default:
2270
- const parsedBody = parsedOutput.body;
2271
- return throwDefaultError({
2272
- output,
2273
- parsedBody: parsedBody.Error,
2274
- errorCode
2275
- });
2276
- }
2277
- }, "de_DeleteStackInstancesCommandError");
2278
2238
  var de_DeleteStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2279
2239
  if (output.statusCode >= 300) {
2280
- return de_DeleteStackSetCommandError(output, context);
2240
+ return de_CommandError(output, context);
2281
2241
  }
2282
2242
  const data = await parseBody(output.body, context);
2283
2243
  let contents = {};
@@ -2288,31 +2248,9 @@ var de_DeleteStackSetCommand = /* @__PURE__ */ __name(async (output, context) =>
2288
2248
  };
2289
2249
  return response;
2290
2250
  }, "de_DeleteStackSetCommand");
2291
- var de_DeleteStackSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
2292
- const parsedOutput = {
2293
- ...output,
2294
- body: await parseErrorBody(output.body, context)
2295
- };
2296
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2297
- switch (errorCode) {
2298
- case "OperationInProgressException":
2299
- case "com.amazonaws.cloudformation#OperationInProgressException":
2300
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
2301
- case "StackSetNotEmptyException":
2302
- case "com.amazonaws.cloudformation#StackSetNotEmptyException":
2303
- throw await de_StackSetNotEmptyExceptionRes(parsedOutput, context);
2304
- default:
2305
- const parsedBody = parsedOutput.body;
2306
- return throwDefaultError({
2307
- output,
2308
- parsedBody: parsedBody.Error,
2309
- errorCode
2310
- });
2311
- }
2312
- }, "de_DeleteStackSetCommandError");
2313
2251
  var de_DeregisterTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
2314
2252
  if (output.statusCode >= 300) {
2315
- return de_DeregisterTypeCommandError(output, context);
2253
+ return de_CommandError(output, context);
2316
2254
  }
2317
2255
  const data = await parseBody(output.body, context);
2318
2256
  let contents = {};
@@ -2323,31 +2261,9 @@ var de_DeregisterTypeCommand = /* @__PURE__ */ __name(async (output, context) =>
2323
2261
  };
2324
2262
  return response;
2325
2263
  }, "de_DeregisterTypeCommand");
2326
- var de_DeregisterTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
2327
- const parsedOutput = {
2328
- ...output,
2329
- body: await parseErrorBody(output.body, context)
2330
- };
2331
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2332
- switch (errorCode) {
2333
- case "CFNRegistryException":
2334
- case "com.amazonaws.cloudformation#CFNRegistryException":
2335
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2336
- case "TypeNotFoundException":
2337
- case "com.amazonaws.cloudformation#TypeNotFoundException":
2338
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
2339
- default:
2340
- const parsedBody = parsedOutput.body;
2341
- return throwDefaultError({
2342
- output,
2343
- parsedBody: parsedBody.Error,
2344
- errorCode
2345
- });
2346
- }
2347
- }, "de_DeregisterTypeCommandError");
2348
2264
  var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, context) => {
2349
2265
  if (output.statusCode >= 300) {
2350
- return de_DescribeAccountLimitsCommandError(output, context);
2266
+ return de_CommandError(output, context);
2351
2267
  }
2352
2268
  const data = await parseBody(output.body, context);
2353
2269
  let contents = {};
@@ -2358,22 +2274,9 @@ var de_DescribeAccountLimitsCommand = /* @__PURE__ */ __name(async (output, cont
2358
2274
  };
2359
2275
  return response;
2360
2276
  }, "de_DescribeAccountLimitsCommand");
2361
- var de_DescribeAccountLimitsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2362
- const parsedOutput = {
2363
- ...output,
2364
- body: await parseErrorBody(output.body, context)
2365
- };
2366
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2367
- const parsedBody = parsedOutput.body;
2368
- return throwDefaultError({
2369
- output,
2370
- parsedBody: parsedBody.Error,
2371
- errorCode
2372
- });
2373
- }, "de_DescribeAccountLimitsCommandError");
2374
2277
  var de_DescribeChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2375
2278
  if (output.statusCode >= 300) {
2376
- return de_DescribeChangeSetCommandError(output, context);
2279
+ return de_CommandError(output, context);
2377
2280
  }
2378
2281
  const data = await parseBody(output.body, context);
2379
2282
  let contents = {};
@@ -2384,28 +2287,9 @@ var de_DescribeChangeSetCommand = /* @__PURE__ */ __name(async (output, context)
2384
2287
  };
2385
2288
  return response;
2386
2289
  }, "de_DescribeChangeSetCommand");
2387
- var de_DescribeChangeSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
2388
- const parsedOutput = {
2389
- ...output,
2390
- body: await parseErrorBody(output.body, context)
2391
- };
2392
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2393
- switch (errorCode) {
2394
- case "ChangeSetNotFound":
2395
- case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
2396
- throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
2397
- default:
2398
- const parsedBody = parsedOutput.body;
2399
- return throwDefaultError({
2400
- output,
2401
- parsedBody: parsedBody.Error,
2402
- errorCode
2403
- });
2404
- }
2405
- }, "de_DescribeChangeSetCommandError");
2406
2290
  var de_DescribeChangeSetHooksCommand = /* @__PURE__ */ __name(async (output, context) => {
2407
2291
  if (output.statusCode >= 300) {
2408
- return de_DescribeChangeSetHooksCommandError(output, context);
2292
+ return de_CommandError(output, context);
2409
2293
  }
2410
2294
  const data = await parseBody(output.body, context);
2411
2295
  let contents = {};
@@ -2416,28 +2300,22 @@ var de_DescribeChangeSetHooksCommand = /* @__PURE__ */ __name(async (output, con
2416
2300
  };
2417
2301
  return response;
2418
2302
  }, "de_DescribeChangeSetHooksCommand");
2419
- var de_DescribeChangeSetHooksCommandError = /* @__PURE__ */ __name(async (output, context) => {
2420
- const parsedOutput = {
2421
- ...output,
2422
- body: await parseErrorBody(output.body, context)
2423
- };
2424
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2425
- switch (errorCode) {
2426
- case "ChangeSetNotFound":
2427
- case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
2428
- throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
2429
- default:
2430
- const parsedBody = parsedOutput.body;
2431
- return throwDefaultError({
2432
- output,
2433
- parsedBody: parsedBody.Error,
2434
- errorCode
2435
- });
2303
+ var de_DescribeGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
2304
+ if (output.statusCode >= 300) {
2305
+ return de_CommandError(output, context);
2436
2306
  }
2437
- }, "de_DescribeChangeSetHooksCommandError");
2307
+ const data = await parseBody(output.body, context);
2308
+ let contents = {};
2309
+ contents = de_DescribeGeneratedTemplateOutput(data.DescribeGeneratedTemplateResult, context);
2310
+ const response = {
2311
+ $metadata: deserializeMetadata(output),
2312
+ ...contents
2313
+ };
2314
+ return response;
2315
+ }, "de_DescribeGeneratedTemplateCommand");
2438
2316
  var de_DescribeOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
2439
2317
  if (output.statusCode >= 300) {
2440
- return de_DescribeOrganizationsAccessCommandError(output, context);
2318
+ return de_CommandError(output, context);
2441
2319
  }
2442
2320
  const data = await parseBody(output.body, context);
2443
2321
  let contents = {};
@@ -2448,31 +2326,9 @@ var de_DescribeOrganizationsAccessCommand = /* @__PURE__ */ __name(async (output
2448
2326
  };
2449
2327
  return response;
2450
2328
  }, "de_DescribeOrganizationsAccessCommand");
2451
- var de_DescribeOrganizationsAccessCommandError = /* @__PURE__ */ __name(async (output, context) => {
2452
- const parsedOutput = {
2453
- ...output,
2454
- body: await parseErrorBody(output.body, context)
2455
- };
2456
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2457
- switch (errorCode) {
2458
- case "InvalidOperationException":
2459
- case "com.amazonaws.cloudformation#InvalidOperationException":
2460
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2461
- case "OperationNotFoundException":
2462
- case "com.amazonaws.cloudformation#OperationNotFoundException":
2463
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
2464
- default:
2465
- const parsedBody = parsedOutput.body;
2466
- return throwDefaultError({
2467
- output,
2468
- parsedBody: parsedBody.Error,
2469
- errorCode
2470
- });
2471
- }
2472
- }, "de_DescribeOrganizationsAccessCommandError");
2473
2329
  var de_DescribePublisherCommand = /* @__PURE__ */ __name(async (output, context) => {
2474
2330
  if (output.statusCode >= 300) {
2475
- return de_DescribePublisherCommandError(output, context);
2331
+ return de_CommandError(output, context);
2476
2332
  }
2477
2333
  const data = await parseBody(output.body, context);
2478
2334
  let contents = {};
@@ -2483,28 +2339,22 @@ var de_DescribePublisherCommand = /* @__PURE__ */ __name(async (output, context)
2483
2339
  };
2484
2340
  return response;
2485
2341
  }, "de_DescribePublisherCommand");
2486
- var de_DescribePublisherCommandError = /* @__PURE__ */ __name(async (output, context) => {
2487
- const parsedOutput = {
2488
- ...output,
2489
- body: await parseErrorBody(output.body, context)
2490
- };
2491
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2492
- switch (errorCode) {
2493
- case "CFNRegistryException":
2494
- case "com.amazonaws.cloudformation#CFNRegistryException":
2495
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2496
- default:
2497
- const parsedBody = parsedOutput.body;
2498
- return throwDefaultError({
2499
- output,
2500
- parsedBody: parsedBody.Error,
2501
- errorCode
2502
- });
2342
+ var de_DescribeResourceScanCommand = /* @__PURE__ */ __name(async (output, context) => {
2343
+ if (output.statusCode >= 300) {
2344
+ return de_CommandError(output, context);
2503
2345
  }
2504
- }, "de_DescribePublisherCommandError");
2346
+ const data = await parseBody(output.body, context);
2347
+ let contents = {};
2348
+ contents = de_DescribeResourceScanOutput(data.DescribeResourceScanResult, context);
2349
+ const response = {
2350
+ $metadata: deserializeMetadata(output),
2351
+ ...contents
2352
+ };
2353
+ return response;
2354
+ }, "de_DescribeResourceScanCommand");
2505
2355
  var de_DescribeStackDriftDetectionStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
2506
2356
  if (output.statusCode >= 300) {
2507
- return de_DescribeStackDriftDetectionStatusCommandError(output, context);
2357
+ return de_CommandError(output, context);
2508
2358
  }
2509
2359
  const data = await parseBody(output.body, context);
2510
2360
  let contents = {};
@@ -2515,22 +2365,9 @@ var de_DescribeStackDriftDetectionStatusCommand = /* @__PURE__ */ __name(async (
2515
2365
  };
2516
2366
  return response;
2517
2367
  }, "de_DescribeStackDriftDetectionStatusCommand");
2518
- var de_DescribeStackDriftDetectionStatusCommandError = /* @__PURE__ */ __name(async (output, context) => {
2519
- const parsedOutput = {
2520
- ...output,
2521
- body: await parseErrorBody(output.body, context)
2522
- };
2523
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2524
- const parsedBody = parsedOutput.body;
2525
- return throwDefaultError({
2526
- output,
2527
- parsedBody: parsedBody.Error,
2528
- errorCode
2529
- });
2530
- }, "de_DescribeStackDriftDetectionStatusCommandError");
2531
2368
  var de_DescribeStackEventsCommand = /* @__PURE__ */ __name(async (output, context) => {
2532
2369
  if (output.statusCode >= 300) {
2533
- return de_DescribeStackEventsCommandError(output, context);
2370
+ return de_CommandError(output, context);
2534
2371
  }
2535
2372
  const data = await parseBody(output.body, context);
2536
2373
  let contents = {};
@@ -2541,22 +2378,9 @@ var de_DescribeStackEventsCommand = /* @__PURE__ */ __name(async (output, contex
2541
2378
  };
2542
2379
  return response;
2543
2380
  }, "de_DescribeStackEventsCommand");
2544
- var de_DescribeStackEventsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2545
- const parsedOutput = {
2546
- ...output,
2547
- body: await parseErrorBody(output.body, context)
2548
- };
2549
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2550
- const parsedBody = parsedOutput.body;
2551
- return throwDefaultError({
2552
- output,
2553
- parsedBody: parsedBody.Error,
2554
- errorCode
2555
- });
2556
- }, "de_DescribeStackEventsCommandError");
2557
2381
  var de_DescribeStackInstanceCommand = /* @__PURE__ */ __name(async (output, context) => {
2558
2382
  if (output.statusCode >= 300) {
2559
- return de_DescribeStackInstanceCommandError(output, context);
2383
+ return de_CommandError(output, context);
2560
2384
  }
2561
2385
  const data = await parseBody(output.body, context);
2562
2386
  let contents = {};
@@ -2567,31 +2391,9 @@ var de_DescribeStackInstanceCommand = /* @__PURE__ */ __name(async (output, cont
2567
2391
  };
2568
2392
  return response;
2569
2393
  }, "de_DescribeStackInstanceCommand");
2570
- var de_DescribeStackInstanceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2571
- const parsedOutput = {
2572
- ...output,
2573
- body: await parseErrorBody(output.body, context)
2574
- };
2575
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2576
- switch (errorCode) {
2577
- case "StackInstanceNotFoundException":
2578
- case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
2579
- throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
2580
- case "StackSetNotFoundException":
2581
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2582
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2583
- default:
2584
- const parsedBody = parsedOutput.body;
2585
- return throwDefaultError({
2586
- output,
2587
- parsedBody: parsedBody.Error,
2588
- errorCode
2589
- });
2590
- }
2591
- }, "de_DescribeStackInstanceCommandError");
2592
2394
  var de_DescribeStackResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2593
2395
  if (output.statusCode >= 300) {
2594
- return de_DescribeStackResourceCommandError(output, context);
2396
+ return de_CommandError(output, context);
2595
2397
  }
2596
2398
  const data = await parseBody(output.body, context);
2597
2399
  let contents = {};
@@ -2602,22 +2404,9 @@ var de_DescribeStackResourceCommand = /* @__PURE__ */ __name(async (output, cont
2602
2404
  };
2603
2405
  return response;
2604
2406
  }, "de_DescribeStackResourceCommand");
2605
- var de_DescribeStackResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
2606
- const parsedOutput = {
2607
- ...output,
2608
- body: await parseErrorBody(output.body, context)
2609
- };
2610
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2611
- const parsedBody = parsedOutput.body;
2612
- return throwDefaultError({
2613
- output,
2614
- parsedBody: parsedBody.Error,
2615
- errorCode
2616
- });
2617
- }, "de_DescribeStackResourceCommandError");
2618
2407
  var de_DescribeStackResourceDriftsCommand = /* @__PURE__ */ __name(async (output, context) => {
2619
2408
  if (output.statusCode >= 300) {
2620
- return de_DescribeStackResourceDriftsCommandError(output, context);
2409
+ return de_CommandError(output, context);
2621
2410
  }
2622
2411
  const data = await parseBody(output.body, context);
2623
2412
  let contents = {};
@@ -2628,22 +2417,9 @@ var de_DescribeStackResourceDriftsCommand = /* @__PURE__ */ __name(async (output
2628
2417
  };
2629
2418
  return response;
2630
2419
  }, "de_DescribeStackResourceDriftsCommand");
2631
- var de_DescribeStackResourceDriftsCommandError = /* @__PURE__ */ __name(async (output, context) => {
2632
- const parsedOutput = {
2633
- ...output,
2634
- body: await parseErrorBody(output.body, context)
2635
- };
2636
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2637
- const parsedBody = parsedOutput.body;
2638
- return throwDefaultError({
2639
- output,
2640
- parsedBody: parsedBody.Error,
2641
- errorCode
2642
- });
2643
- }, "de_DescribeStackResourceDriftsCommandError");
2644
2420
  var de_DescribeStackResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
2645
2421
  if (output.statusCode >= 300) {
2646
- return de_DescribeStackResourcesCommandError(output, context);
2422
+ return de_CommandError(output, context);
2647
2423
  }
2648
2424
  const data = await parseBody(output.body, context);
2649
2425
  let contents = {};
@@ -2654,22 +2430,9 @@ var de_DescribeStackResourcesCommand = /* @__PURE__ */ __name(async (output, con
2654
2430
  };
2655
2431
  return response;
2656
2432
  }, "de_DescribeStackResourcesCommand");
2657
- var de_DescribeStackResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
2658
- const parsedOutput = {
2659
- ...output,
2660
- body: await parseErrorBody(output.body, context)
2661
- };
2662
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2663
- const parsedBody = parsedOutput.body;
2664
- return throwDefaultError({
2665
- output,
2666
- parsedBody: parsedBody.Error,
2667
- errorCode
2668
- });
2669
- }, "de_DescribeStackResourcesCommandError");
2670
2433
  var de_DescribeStacksCommand = /* @__PURE__ */ __name(async (output, context) => {
2671
2434
  if (output.statusCode >= 300) {
2672
- return de_DescribeStacksCommandError(output, context);
2435
+ return de_CommandError(output, context);
2673
2436
  }
2674
2437
  const data = await parseBody(output.body, context);
2675
2438
  let contents = {};
@@ -2680,22 +2443,9 @@ var de_DescribeStacksCommand = /* @__PURE__ */ __name(async (output, context) =>
2680
2443
  };
2681
2444
  return response;
2682
2445
  }, "de_DescribeStacksCommand");
2683
- var de_DescribeStacksCommandError = /* @__PURE__ */ __name(async (output, context) => {
2684
- const parsedOutput = {
2685
- ...output,
2686
- body: await parseErrorBody(output.body, context)
2687
- };
2688
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2689
- const parsedBody = parsedOutput.body;
2690
- return throwDefaultError({
2691
- output,
2692
- parsedBody: parsedBody.Error,
2693
- errorCode
2694
- });
2695
- }, "de_DescribeStacksCommandError");
2696
2446
  var de_DescribeStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2697
2447
  if (output.statusCode >= 300) {
2698
- return de_DescribeStackSetCommandError(output, context);
2448
+ return de_CommandError(output, context);
2699
2449
  }
2700
2450
  const data = await parseBody(output.body, context);
2701
2451
  let contents = {};
@@ -2706,28 +2456,9 @@ var de_DescribeStackSetCommand = /* @__PURE__ */ __name(async (output, context)
2706
2456
  };
2707
2457
  return response;
2708
2458
  }, "de_DescribeStackSetCommand");
2709
- var de_DescribeStackSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
2710
- const parsedOutput = {
2711
- ...output,
2712
- body: await parseErrorBody(output.body, context)
2713
- };
2714
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2715
- switch (errorCode) {
2716
- case "StackSetNotFoundException":
2717
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2718
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2719
- default:
2720
- const parsedBody = parsedOutput.body;
2721
- return throwDefaultError({
2722
- output,
2723
- parsedBody: parsedBody.Error,
2724
- errorCode
2725
- });
2726
- }
2727
- }, "de_DescribeStackSetCommandError");
2728
2459
  var de_DescribeStackSetOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
2729
2460
  if (output.statusCode >= 300) {
2730
- return de_DescribeStackSetOperationCommandError(output, context);
2461
+ return de_CommandError(output, context);
2731
2462
  }
2732
2463
  const data = await parseBody(output.body, context);
2733
2464
  let contents = {};
@@ -2738,31 +2469,9 @@ var de_DescribeStackSetOperationCommand = /* @__PURE__ */ __name(async (output,
2738
2469
  };
2739
2470
  return response;
2740
2471
  }, "de_DescribeStackSetOperationCommand");
2741
- var de_DescribeStackSetOperationCommandError = /* @__PURE__ */ __name(async (output, context) => {
2742
- const parsedOutput = {
2743
- ...output,
2744
- body: await parseErrorBody(output.body, context)
2745
- };
2746
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2747
- switch (errorCode) {
2748
- case "OperationNotFoundException":
2749
- case "com.amazonaws.cloudformation#OperationNotFoundException":
2750
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
2751
- case "StackSetNotFoundException":
2752
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2753
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2754
- default:
2755
- const parsedBody = parsedOutput.body;
2756
- return throwDefaultError({
2757
- output,
2758
- parsedBody: parsedBody.Error,
2759
- errorCode
2760
- });
2761
- }
2762
- }, "de_DescribeStackSetOperationCommandError");
2763
2472
  var de_DescribeTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
2764
2473
  if (output.statusCode >= 300) {
2765
- return de_DescribeTypeCommandError(output, context);
2474
+ return de_CommandError(output, context);
2766
2475
  }
2767
2476
  const data = await parseBody(output.body, context);
2768
2477
  let contents = {};
@@ -2773,31 +2482,9 @@ var de_DescribeTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
2773
2482
  };
2774
2483
  return response;
2775
2484
  }, "de_DescribeTypeCommand");
2776
- var de_DescribeTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
2777
- const parsedOutput = {
2778
- ...output,
2779
- body: await parseErrorBody(output.body, context)
2780
- };
2781
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2782
- switch (errorCode) {
2783
- case "CFNRegistryException":
2784
- case "com.amazonaws.cloudformation#CFNRegistryException":
2785
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2786
- case "TypeNotFoundException":
2787
- case "com.amazonaws.cloudformation#TypeNotFoundException":
2788
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
2789
- default:
2790
- const parsedBody = parsedOutput.body;
2791
- return throwDefaultError({
2792
- output,
2793
- parsedBody: parsedBody.Error,
2794
- errorCode
2795
- });
2796
- }
2797
- }, "de_DescribeTypeCommandError");
2798
2485
  var de_DescribeTypeRegistrationCommand = /* @__PURE__ */ __name(async (output, context) => {
2799
2486
  if (output.statusCode >= 300) {
2800
- return de_DescribeTypeRegistrationCommandError(output, context);
2487
+ return de_CommandError(output, context);
2801
2488
  }
2802
2489
  const data = await parseBody(output.body, context);
2803
2490
  let contents = {};
@@ -2808,28 +2495,9 @@ var de_DescribeTypeRegistrationCommand = /* @__PURE__ */ __name(async (output, c
2808
2495
  };
2809
2496
  return response;
2810
2497
  }, "de_DescribeTypeRegistrationCommand");
2811
- var de_DescribeTypeRegistrationCommandError = /* @__PURE__ */ __name(async (output, context) => {
2812
- const parsedOutput = {
2813
- ...output,
2814
- body: await parseErrorBody(output.body, context)
2815
- };
2816
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2817
- switch (errorCode) {
2818
- case "CFNRegistryException":
2819
- case "com.amazonaws.cloudformation#CFNRegistryException":
2820
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
2821
- default:
2822
- const parsedBody = parsedOutput.body;
2823
- return throwDefaultError({
2824
- output,
2825
- parsedBody: parsedBody.Error,
2826
- errorCode
2827
- });
2828
- }
2829
- }, "de_DescribeTypeRegistrationCommandError");
2830
2498
  var de_DetectStackDriftCommand = /* @__PURE__ */ __name(async (output, context) => {
2831
2499
  if (output.statusCode >= 300) {
2832
- return de_DetectStackDriftCommandError(output, context);
2500
+ return de_CommandError(output, context);
2833
2501
  }
2834
2502
  const data = await parseBody(output.body, context);
2835
2503
  let contents = {};
@@ -2840,22 +2508,9 @@ var de_DetectStackDriftCommand = /* @__PURE__ */ __name(async (output, context)
2840
2508
  };
2841
2509
  return response;
2842
2510
  }, "de_DetectStackDriftCommand");
2843
- var de_DetectStackDriftCommandError = /* @__PURE__ */ __name(async (output, context) => {
2844
- const parsedOutput = {
2845
- ...output,
2846
- body: await parseErrorBody(output.body, context)
2847
- };
2848
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2849
- const parsedBody = parsedOutput.body;
2850
- return throwDefaultError({
2851
- output,
2852
- parsedBody: parsedBody.Error,
2853
- errorCode
2854
- });
2855
- }, "de_DetectStackDriftCommandError");
2856
2511
  var de_DetectStackResourceDriftCommand = /* @__PURE__ */ __name(async (output, context) => {
2857
2512
  if (output.statusCode >= 300) {
2858
- return de_DetectStackResourceDriftCommandError(output, context);
2513
+ return de_CommandError(output, context);
2859
2514
  }
2860
2515
  const data = await parseBody(output.body, context);
2861
2516
  let contents = {};
@@ -2866,22 +2521,9 @@ var de_DetectStackResourceDriftCommand = /* @__PURE__ */ __name(async (output, c
2866
2521
  };
2867
2522
  return response;
2868
2523
  }, "de_DetectStackResourceDriftCommand");
2869
- var de_DetectStackResourceDriftCommandError = /* @__PURE__ */ __name(async (output, context) => {
2870
- const parsedOutput = {
2871
- ...output,
2872
- body: await parseErrorBody(output.body, context)
2873
- };
2874
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2875
- const parsedBody = parsedOutput.body;
2876
- return throwDefaultError({
2877
- output,
2878
- parsedBody: parsedBody.Error,
2879
- errorCode
2880
- });
2881
- }, "de_DetectStackResourceDriftCommandError");
2882
2524
  var de_DetectStackSetDriftCommand = /* @__PURE__ */ __name(async (output, context) => {
2883
2525
  if (output.statusCode >= 300) {
2884
- return de_DetectStackSetDriftCommandError(output, context);
2526
+ return de_CommandError(output, context);
2885
2527
  }
2886
2528
  const data = await parseBody(output.body, context);
2887
2529
  let contents = {};
@@ -2890,36 +2532,11 @@ var de_DetectStackSetDriftCommand = /* @__PURE__ */ __name(async (output, contex
2890
2532
  $metadata: deserializeMetadata(output),
2891
2533
  ...contents
2892
2534
  };
2893
- return response;
2894
- }, "de_DetectStackSetDriftCommand");
2895
- var de_DetectStackSetDriftCommandError = /* @__PURE__ */ __name(async (output, context) => {
2896
- const parsedOutput = {
2897
- ...output,
2898
- body: await parseErrorBody(output.body, context)
2899
- };
2900
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2901
- switch (errorCode) {
2902
- case "InvalidOperationException":
2903
- case "com.amazonaws.cloudformation#InvalidOperationException":
2904
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
2905
- case "OperationInProgressException":
2906
- case "com.amazonaws.cloudformation#OperationInProgressException":
2907
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
2908
- case "StackSetNotFoundException":
2909
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
2910
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
2911
- default:
2912
- const parsedBody = parsedOutput.body;
2913
- return throwDefaultError({
2914
- output,
2915
- parsedBody: parsedBody.Error,
2916
- errorCode
2917
- });
2918
- }
2919
- }, "de_DetectStackSetDriftCommandError");
2535
+ return response;
2536
+ }, "de_DetectStackSetDriftCommand");
2920
2537
  var de_EstimateTemplateCostCommand = /* @__PURE__ */ __name(async (output, context) => {
2921
2538
  if (output.statusCode >= 300) {
2922
- return de_EstimateTemplateCostCommandError(output, context);
2539
+ return de_CommandError(output, context);
2923
2540
  }
2924
2541
  const data = await parseBody(output.body, context);
2925
2542
  let contents = {};
@@ -2930,22 +2547,9 @@ var de_EstimateTemplateCostCommand = /* @__PURE__ */ __name(async (output, conte
2930
2547
  };
2931
2548
  return response;
2932
2549
  }, "de_EstimateTemplateCostCommand");
2933
- var de_EstimateTemplateCostCommandError = /* @__PURE__ */ __name(async (output, context) => {
2934
- const parsedOutput = {
2935
- ...output,
2936
- body: await parseErrorBody(output.body, context)
2937
- };
2938
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2939
- const parsedBody = parsedOutput.body;
2940
- return throwDefaultError({
2941
- output,
2942
- parsedBody: parsedBody.Error,
2943
- errorCode
2944
- });
2945
- }, "de_EstimateTemplateCostCommandError");
2946
2550
  var de_ExecuteChangeSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2947
2551
  if (output.statusCode >= 300) {
2948
- return de_ExecuteChangeSetCommandError(output, context);
2552
+ return de_CommandError(output, context);
2949
2553
  }
2950
2554
  const data = await parseBody(output.body, context);
2951
2555
  let contents = {};
@@ -2956,37 +2560,22 @@ var de_ExecuteChangeSetCommand = /* @__PURE__ */ __name(async (output, context)
2956
2560
  };
2957
2561
  return response;
2958
2562
  }, "de_ExecuteChangeSetCommand");
2959
- var de_ExecuteChangeSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
2960
- const parsedOutput = {
2961
- ...output,
2962
- body: await parseErrorBody(output.body, context)
2963
- };
2964
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
2965
- switch (errorCode) {
2966
- case "ChangeSetNotFound":
2967
- case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
2968
- throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
2969
- case "InsufficientCapabilitiesException":
2970
- case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
2971
- throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
2972
- case "InvalidChangeSetStatus":
2973
- case "com.amazonaws.cloudformation#InvalidChangeSetStatusException":
2974
- throw await de_InvalidChangeSetStatusExceptionRes(parsedOutput, context);
2975
- case "TokenAlreadyExistsException":
2976
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
2977
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
2978
- default:
2979
- const parsedBody = parsedOutput.body;
2980
- return throwDefaultError({
2981
- output,
2982
- parsedBody: parsedBody.Error,
2983
- errorCode
2984
- });
2563
+ var de_GetGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
2564
+ if (output.statusCode >= 300) {
2565
+ return de_CommandError(output, context);
2985
2566
  }
2986
- }, "de_ExecuteChangeSetCommandError");
2567
+ const data = await parseBody(output.body, context);
2568
+ let contents = {};
2569
+ contents = de_GetGeneratedTemplateOutput(data.GetGeneratedTemplateResult, context);
2570
+ const response = {
2571
+ $metadata: deserializeMetadata(output),
2572
+ ...contents
2573
+ };
2574
+ return response;
2575
+ }, "de_GetGeneratedTemplateCommand");
2987
2576
  var de_GetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
2988
2577
  if (output.statusCode >= 300) {
2989
- return de_GetStackPolicyCommandError(output, context);
2578
+ return de_CommandError(output, context);
2990
2579
  }
2991
2580
  const data = await parseBody(output.body, context);
2992
2581
  let contents = {};
@@ -2997,22 +2586,9 @@ var de_GetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
2997
2586
  };
2998
2587
  return response;
2999
2588
  }, "de_GetStackPolicyCommand");
3000
- var de_GetStackPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
3001
- const parsedOutput = {
3002
- ...output,
3003
- body: await parseErrorBody(output.body, context)
3004
- };
3005
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3006
- const parsedBody = parsedOutput.body;
3007
- return throwDefaultError({
3008
- output,
3009
- parsedBody: parsedBody.Error,
3010
- errorCode
3011
- });
3012
- }, "de_GetStackPolicyCommandError");
3013
2589
  var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
3014
2590
  if (output.statusCode >= 300) {
3015
- return de_GetTemplateCommandError(output, context);
2591
+ return de_CommandError(output, context);
3016
2592
  }
3017
2593
  const data = await parseBody(output.body, context);
3018
2594
  let contents = {};
@@ -3023,28 +2599,9 @@ var de_GetTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
3023
2599
  };
3024
2600
  return response;
3025
2601
  }, "de_GetTemplateCommand");
3026
- var de_GetTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
3027
- const parsedOutput = {
3028
- ...output,
3029
- body: await parseErrorBody(output.body, context)
3030
- };
3031
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3032
- switch (errorCode) {
3033
- case "ChangeSetNotFound":
3034
- case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
3035
- throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
3036
- default:
3037
- const parsedBody = parsedOutput.body;
3038
- return throwDefaultError({
3039
- output,
3040
- parsedBody: parsedBody.Error,
3041
- errorCode
3042
- });
3043
- }
3044
- }, "de_GetTemplateCommandError");
3045
2602
  var de_GetTemplateSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
3046
2603
  if (output.statusCode >= 300) {
3047
- return de_GetTemplateSummaryCommandError(output, context);
2604
+ return de_CommandError(output, context);
3048
2605
  }
3049
2606
  const data = await parseBody(output.body, context);
3050
2607
  let contents = {};
@@ -3055,28 +2612,9 @@ var de_GetTemplateSummaryCommand = /* @__PURE__ */ __name(async (output, context
3055
2612
  };
3056
2613
  return response;
3057
2614
  }, "de_GetTemplateSummaryCommand");
3058
- var de_GetTemplateSummaryCommandError = /* @__PURE__ */ __name(async (output, context) => {
3059
- const parsedOutput = {
3060
- ...output,
3061
- body: await parseErrorBody(output.body, context)
3062
- };
3063
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3064
- switch (errorCode) {
3065
- case "StackSetNotFoundException":
3066
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
3067
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
3068
- default:
3069
- const parsedBody = parsedOutput.body;
3070
- return throwDefaultError({
3071
- output,
3072
- parsedBody: parsedBody.Error,
3073
- errorCode
3074
- });
3075
- }
3076
- }, "de_GetTemplateSummaryCommandError");
3077
2615
  var de_ImportStacksToStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
3078
2616
  if (output.statusCode >= 300) {
3079
- return de_ImportStacksToStackSetCommandError(output, context);
2617
+ return de_CommandError(output, context);
3080
2618
  }
3081
2619
  const data = await parseBody(output.body, context);
3082
2620
  let contents = {};
@@ -3087,46 +2625,9 @@ var de_ImportStacksToStackSetCommand = /* @__PURE__ */ __name(async (output, con
3087
2625
  };
3088
2626
  return response;
3089
2627
  }, "de_ImportStacksToStackSetCommand");
3090
- var de_ImportStacksToStackSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
3091
- const parsedOutput = {
3092
- ...output,
3093
- body: await parseErrorBody(output.body, context)
3094
- };
3095
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3096
- switch (errorCode) {
3097
- case "InvalidOperationException":
3098
- case "com.amazonaws.cloudformation#InvalidOperationException":
3099
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
3100
- case "LimitExceededException":
3101
- case "com.amazonaws.cloudformation#LimitExceededException":
3102
- throw await de_LimitExceededExceptionRes(parsedOutput, context);
3103
- case "OperationIdAlreadyExistsException":
3104
- case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
3105
- throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
3106
- case "OperationInProgressException":
3107
- case "com.amazonaws.cloudformation#OperationInProgressException":
3108
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
3109
- case "StackNotFoundException":
3110
- case "com.amazonaws.cloudformation#StackNotFoundException":
3111
- throw await de_StackNotFoundExceptionRes(parsedOutput, context);
3112
- case "StackSetNotFoundException":
3113
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
3114
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
3115
- case "StaleRequestException":
3116
- case "com.amazonaws.cloudformation#StaleRequestException":
3117
- throw await de_StaleRequestExceptionRes(parsedOutput, context);
3118
- default:
3119
- const parsedBody = parsedOutput.body;
3120
- return throwDefaultError({
3121
- output,
3122
- parsedBody: parsedBody.Error,
3123
- errorCode
3124
- });
3125
- }
3126
- }, "de_ImportStacksToStackSetCommandError");
3127
2628
  var de_ListChangeSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
3128
2629
  if (output.statusCode >= 300) {
3129
- return de_ListChangeSetsCommandError(output, context);
2630
+ return de_CommandError(output, context);
3130
2631
  }
3131
2632
  const data = await parseBody(output.body, context);
3132
2633
  let contents = {};
@@ -3137,22 +2638,9 @@ var de_ListChangeSetsCommand = /* @__PURE__ */ __name(async (output, context) =>
3137
2638
  };
3138
2639
  return response;
3139
2640
  }, "de_ListChangeSetsCommand");
3140
- var de_ListChangeSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
3141
- const parsedOutput = {
3142
- ...output,
3143
- body: await parseErrorBody(output.body, context)
3144
- };
3145
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3146
- const parsedBody = parsedOutput.body;
3147
- return throwDefaultError({
3148
- output,
3149
- parsedBody: parsedBody.Error,
3150
- errorCode
3151
- });
3152
- }, "de_ListChangeSetsCommandError");
3153
2641
  var de_ListExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
3154
2642
  if (output.statusCode >= 300) {
3155
- return de_ListExportsCommandError(output, context);
2643
+ return de_CommandError(output, context);
3156
2644
  }
3157
2645
  const data = await parseBody(output.body, context);
3158
2646
  let contents = {};
@@ -3163,22 +2651,22 @@ var de_ListExportsCommand = /* @__PURE__ */ __name(async (output, context) => {
3163
2651
  };
3164
2652
  return response;
3165
2653
  }, "de_ListExportsCommand");
3166
- var de_ListExportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
3167
- const parsedOutput = {
3168
- ...output,
3169
- body: await parseErrorBody(output.body, context)
2654
+ var de_ListGeneratedTemplatesCommand = /* @__PURE__ */ __name(async (output, context) => {
2655
+ if (output.statusCode >= 300) {
2656
+ return de_CommandError(output, context);
2657
+ }
2658
+ const data = await parseBody(output.body, context);
2659
+ let contents = {};
2660
+ contents = de_ListGeneratedTemplatesOutput(data.ListGeneratedTemplatesResult, context);
2661
+ const response = {
2662
+ $metadata: deserializeMetadata(output),
2663
+ ...contents
3170
2664
  };
3171
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3172
- const parsedBody = parsedOutput.body;
3173
- return throwDefaultError({
3174
- output,
3175
- parsedBody: parsedBody.Error,
3176
- errorCode
3177
- });
3178
- }, "de_ListExportsCommandError");
2665
+ return response;
2666
+ }, "de_ListGeneratedTemplatesCommand");
3179
2667
  var de_ListImportsCommand = /* @__PURE__ */ __name(async (output, context) => {
3180
2668
  if (output.statusCode >= 300) {
3181
- return de_ListImportsCommandError(output, context);
2669
+ return de_CommandError(output, context);
3182
2670
  }
3183
2671
  const data = await parseBody(output.body, context);
3184
2672
  let contents = {};
@@ -3189,22 +2677,48 @@ var de_ListImportsCommand = /* @__PURE__ */ __name(async (output, context) => {
3189
2677
  };
3190
2678
  return response;
3191
2679
  }, "de_ListImportsCommand");
3192
- var de_ListImportsCommandError = /* @__PURE__ */ __name(async (output, context) => {
3193
- const parsedOutput = {
3194
- ...output,
3195
- body: await parseErrorBody(output.body, context)
2680
+ var de_ListResourceScanRelatedResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
2681
+ if (output.statusCode >= 300) {
2682
+ return de_CommandError(output, context);
2683
+ }
2684
+ const data = await parseBody(output.body, context);
2685
+ let contents = {};
2686
+ contents = de_ListResourceScanRelatedResourcesOutput(data.ListResourceScanRelatedResourcesResult, context);
2687
+ const response = {
2688
+ $metadata: deserializeMetadata(output),
2689
+ ...contents
3196
2690
  };
3197
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3198
- const parsedBody = parsedOutput.body;
3199
- return throwDefaultError({
3200
- output,
3201
- parsedBody: parsedBody.Error,
3202
- errorCode
3203
- });
3204
- }, "de_ListImportsCommandError");
2691
+ return response;
2692
+ }, "de_ListResourceScanRelatedResourcesCommand");
2693
+ var de_ListResourceScanResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
2694
+ if (output.statusCode >= 300) {
2695
+ return de_CommandError(output, context);
2696
+ }
2697
+ const data = await parseBody(output.body, context);
2698
+ let contents = {};
2699
+ contents = de_ListResourceScanResourcesOutput(data.ListResourceScanResourcesResult, context);
2700
+ const response = {
2701
+ $metadata: deserializeMetadata(output),
2702
+ ...contents
2703
+ };
2704
+ return response;
2705
+ }, "de_ListResourceScanResourcesCommand");
2706
+ var de_ListResourceScansCommand = /* @__PURE__ */ __name(async (output, context) => {
2707
+ if (output.statusCode >= 300) {
2708
+ return de_CommandError(output, context);
2709
+ }
2710
+ const data = await parseBody(output.body, context);
2711
+ let contents = {};
2712
+ contents = de_ListResourceScansOutput(data.ListResourceScansResult, context);
2713
+ const response = {
2714
+ $metadata: deserializeMetadata(output),
2715
+ ...contents
2716
+ };
2717
+ return response;
2718
+ }, "de_ListResourceScansCommand");
3205
2719
  var de_ListStackInstanceResourceDriftsCommand = /* @__PURE__ */ __name(async (output, context) => {
3206
2720
  if (output.statusCode >= 300) {
3207
- return de_ListStackInstanceResourceDriftsCommandError(output, context);
2721
+ return de_CommandError(output, context);
3208
2722
  }
3209
2723
  const data = await parseBody(output.body, context);
3210
2724
  let contents = {};
@@ -3215,34 +2729,9 @@ var de_ListStackInstanceResourceDriftsCommand = /* @__PURE__ */ __name(async (ou
3215
2729
  };
3216
2730
  return response;
3217
2731
  }, "de_ListStackInstanceResourceDriftsCommand");
3218
- var de_ListStackInstanceResourceDriftsCommandError = /* @__PURE__ */ __name(async (output, context) => {
3219
- const parsedOutput = {
3220
- ...output,
3221
- body: await parseErrorBody(output.body, context)
3222
- };
3223
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3224
- switch (errorCode) {
3225
- case "OperationNotFoundException":
3226
- case "com.amazonaws.cloudformation#OperationNotFoundException":
3227
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
3228
- case "StackInstanceNotFoundException":
3229
- case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
3230
- throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
3231
- case "StackSetNotFoundException":
3232
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
3233
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
3234
- default:
3235
- const parsedBody = parsedOutput.body;
3236
- return throwDefaultError({
3237
- output,
3238
- parsedBody: parsedBody.Error,
3239
- errorCode
3240
- });
3241
- }
3242
- }, "de_ListStackInstanceResourceDriftsCommandError");
3243
2732
  var de_ListStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
3244
2733
  if (output.statusCode >= 300) {
3245
- return de_ListStackInstancesCommandError(output, context);
2734
+ return de_CommandError(output, context);
3246
2735
  }
3247
2736
  const data = await parseBody(output.body, context);
3248
2737
  let contents = {};
@@ -3253,28 +2742,9 @@ var de_ListStackInstancesCommand = /* @__PURE__ */ __name(async (output, context
3253
2742
  };
3254
2743
  return response;
3255
2744
  }, "de_ListStackInstancesCommand");
3256
- var de_ListStackInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
3257
- const parsedOutput = {
3258
- ...output,
3259
- body: await parseErrorBody(output.body, context)
3260
- };
3261
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3262
- switch (errorCode) {
3263
- case "StackSetNotFoundException":
3264
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
3265
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
3266
- default:
3267
- const parsedBody = parsedOutput.body;
3268
- return throwDefaultError({
3269
- output,
3270
- parsedBody: parsedBody.Error,
3271
- errorCode
3272
- });
3273
- }
3274
- }, "de_ListStackInstancesCommandError");
3275
2745
  var de_ListStackResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
3276
2746
  if (output.statusCode >= 300) {
3277
- return de_ListStackResourcesCommandError(output, context);
2747
+ return de_CommandError(output, context);
3278
2748
  }
3279
2749
  const data = await parseBody(output.body, context);
3280
2750
  let contents = {};
@@ -3285,22 +2755,9 @@ var de_ListStackResourcesCommand = /* @__PURE__ */ __name(async (output, context
3285
2755
  };
3286
2756
  return response;
3287
2757
  }, "de_ListStackResourcesCommand");
3288
- var de_ListStackResourcesCommandError = /* @__PURE__ */ __name(async (output, context) => {
3289
- const parsedOutput = {
3290
- ...output,
3291
- body: await parseErrorBody(output.body, context)
3292
- };
3293
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3294
- const parsedBody = parsedOutput.body;
3295
- return throwDefaultError({
3296
- output,
3297
- parsedBody: parsedBody.Error,
3298
- errorCode
3299
- });
3300
- }, "de_ListStackResourcesCommandError");
3301
2758
  var de_ListStacksCommand = /* @__PURE__ */ __name(async (output, context) => {
3302
2759
  if (output.statusCode >= 300) {
3303
- return de_ListStacksCommandError(output, context);
2760
+ return de_CommandError(output, context);
3304
2761
  }
3305
2762
  const data = await parseBody(output.body, context);
3306
2763
  let contents = {};
@@ -3311,22 +2768,9 @@ var de_ListStacksCommand = /* @__PURE__ */ __name(async (output, context) => {
3311
2768
  };
3312
2769
  return response;
3313
2770
  }, "de_ListStacksCommand");
3314
- var de_ListStacksCommandError = /* @__PURE__ */ __name(async (output, context) => {
3315
- const parsedOutput = {
3316
- ...output,
3317
- body: await parseErrorBody(output.body, context)
3318
- };
3319
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3320
- const parsedBody = parsedOutput.body;
3321
- return throwDefaultError({
3322
- output,
3323
- parsedBody: parsedBody.Error,
3324
- errorCode
3325
- });
3326
- }, "de_ListStacksCommandError");
3327
2771
  var de_ListStackSetOperationResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
3328
2772
  if (output.statusCode >= 300) {
3329
- return de_ListStackSetOperationResultsCommandError(output, context);
2773
+ return de_CommandError(output, context);
3330
2774
  }
3331
2775
  const data = await parseBody(output.body, context);
3332
2776
  let contents = {};
@@ -3337,31 +2781,9 @@ var de_ListStackSetOperationResultsCommand = /* @__PURE__ */ __name(async (outpu
3337
2781
  };
3338
2782
  return response;
3339
2783
  }, "de_ListStackSetOperationResultsCommand");
3340
- var de_ListStackSetOperationResultsCommandError = /* @__PURE__ */ __name(async (output, context) => {
3341
- const parsedOutput = {
3342
- ...output,
3343
- body: await parseErrorBody(output.body, context)
3344
- };
3345
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3346
- switch (errorCode) {
3347
- case "OperationNotFoundException":
3348
- case "com.amazonaws.cloudformation#OperationNotFoundException":
3349
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
3350
- case "StackSetNotFoundException":
3351
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
3352
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
3353
- default:
3354
- const parsedBody = parsedOutput.body;
3355
- return throwDefaultError({
3356
- output,
3357
- parsedBody: parsedBody.Error,
3358
- errorCode
3359
- });
3360
- }
3361
- }, "de_ListStackSetOperationResultsCommandError");
3362
2784
  var de_ListStackSetOperationsCommand = /* @__PURE__ */ __name(async (output, context) => {
3363
2785
  if (output.statusCode >= 300) {
3364
- return de_ListStackSetOperationsCommandError(output, context);
2786
+ return de_CommandError(output, context);
3365
2787
  }
3366
2788
  const data = await parseBody(output.body, context);
3367
2789
  let contents = {};
@@ -3371,29 +2793,10 @@ var de_ListStackSetOperationsCommand = /* @__PURE__ */ __name(async (output, con
3371
2793
  ...contents
3372
2794
  };
3373
2795
  return response;
3374
- }, "de_ListStackSetOperationsCommand");
3375
- var de_ListStackSetOperationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
3376
- const parsedOutput = {
3377
- ...output,
3378
- body: await parseErrorBody(output.body, context)
3379
- };
3380
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3381
- switch (errorCode) {
3382
- case "StackSetNotFoundException":
3383
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
3384
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
3385
- default:
3386
- const parsedBody = parsedOutput.body;
3387
- return throwDefaultError({
3388
- output,
3389
- parsedBody: parsedBody.Error,
3390
- errorCode
3391
- });
3392
- }
3393
- }, "de_ListStackSetOperationsCommandError");
2796
+ }, "de_ListStackSetOperationsCommand");
3394
2797
  var de_ListStackSetsCommand = /* @__PURE__ */ __name(async (output, context) => {
3395
2798
  if (output.statusCode >= 300) {
3396
- return de_ListStackSetsCommandError(output, context);
2799
+ return de_CommandError(output, context);
3397
2800
  }
3398
2801
  const data = await parseBody(output.body, context);
3399
2802
  let contents = {};
@@ -3404,22 +2807,9 @@ var de_ListStackSetsCommand = /* @__PURE__ */ __name(async (output, context) =>
3404
2807
  };
3405
2808
  return response;
3406
2809
  }, "de_ListStackSetsCommand");
3407
- var de_ListStackSetsCommandError = /* @__PURE__ */ __name(async (output, context) => {
3408
- const parsedOutput = {
3409
- ...output,
3410
- body: await parseErrorBody(output.body, context)
3411
- };
3412
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3413
- const parsedBody = parsedOutput.body;
3414
- return throwDefaultError({
3415
- output,
3416
- parsedBody: parsedBody.Error,
3417
- errorCode
3418
- });
3419
- }, "de_ListStackSetsCommandError");
3420
2810
  var de_ListTypeRegistrationsCommand = /* @__PURE__ */ __name(async (output, context) => {
3421
2811
  if (output.statusCode >= 300) {
3422
- return de_ListTypeRegistrationsCommandError(output, context);
2812
+ return de_CommandError(output, context);
3423
2813
  }
3424
2814
  const data = await parseBody(output.body, context);
3425
2815
  let contents = {};
@@ -3430,28 +2820,9 @@ var de_ListTypeRegistrationsCommand = /* @__PURE__ */ __name(async (output, cont
3430
2820
  };
3431
2821
  return response;
3432
2822
  }, "de_ListTypeRegistrationsCommand");
3433
- var de_ListTypeRegistrationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
3434
- const parsedOutput = {
3435
- ...output,
3436
- body: await parseErrorBody(output.body, context)
3437
- };
3438
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3439
- switch (errorCode) {
3440
- case "CFNRegistryException":
3441
- case "com.amazonaws.cloudformation#CFNRegistryException":
3442
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
3443
- default:
3444
- const parsedBody = parsedOutput.body;
3445
- return throwDefaultError({
3446
- output,
3447
- parsedBody: parsedBody.Error,
3448
- errorCode
3449
- });
3450
- }
3451
- }, "de_ListTypeRegistrationsCommandError");
3452
2823
  var de_ListTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
3453
2824
  if (output.statusCode >= 300) {
3454
- return de_ListTypesCommandError(output, context);
2825
+ return de_CommandError(output, context);
3455
2826
  }
3456
2827
  const data = await parseBody(output.body, context);
3457
2828
  let contents = {};
@@ -3462,28 +2833,9 @@ var de_ListTypesCommand = /* @__PURE__ */ __name(async (output, context) => {
3462
2833
  };
3463
2834
  return response;
3464
2835
  }, "de_ListTypesCommand");
3465
- var de_ListTypesCommandError = /* @__PURE__ */ __name(async (output, context) => {
3466
- const parsedOutput = {
3467
- ...output,
3468
- body: await parseErrorBody(output.body, context)
3469
- };
3470
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3471
- switch (errorCode) {
3472
- case "CFNRegistryException":
3473
- case "com.amazonaws.cloudformation#CFNRegistryException":
3474
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
3475
- default:
3476
- const parsedBody = parsedOutput.body;
3477
- return throwDefaultError({
3478
- output,
3479
- parsedBody: parsedBody.Error,
3480
- errorCode
3481
- });
3482
- }
3483
- }, "de_ListTypesCommandError");
3484
2836
  var de_ListTypeVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
3485
2837
  if (output.statusCode >= 300) {
3486
- return de_ListTypeVersionsCommandError(output, context);
2838
+ return de_CommandError(output, context);
3487
2839
  }
3488
2840
  const data = await parseBody(output.body, context);
3489
2841
  let contents = {};
@@ -3494,28 +2846,9 @@ var de_ListTypeVersionsCommand = /* @__PURE__ */ __name(async (output, context)
3494
2846
  };
3495
2847
  return response;
3496
2848
  }, "de_ListTypeVersionsCommand");
3497
- var de_ListTypeVersionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
3498
- const parsedOutput = {
3499
- ...output,
3500
- body: await parseErrorBody(output.body, context)
3501
- };
3502
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3503
- switch (errorCode) {
3504
- case "CFNRegistryException":
3505
- case "com.amazonaws.cloudformation#CFNRegistryException":
3506
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
3507
- default:
3508
- const parsedBody = parsedOutput.body;
3509
- return throwDefaultError({
3510
- output,
3511
- parsedBody: parsedBody.Error,
3512
- errorCode
3513
- });
3514
- }
3515
- }, "de_ListTypeVersionsCommandError");
3516
2849
  var de_PublishTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
3517
2850
  if (output.statusCode >= 300) {
3518
- return de_PublishTypeCommandError(output, context);
2851
+ return de_CommandError(output, context);
3519
2852
  }
3520
2853
  const data = await parseBody(output.body, context);
3521
2854
  let contents = {};
@@ -3526,31 +2859,9 @@ var de_PublishTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
3526
2859
  };
3527
2860
  return response;
3528
2861
  }, "de_PublishTypeCommand");
3529
- var de_PublishTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
3530
- const parsedOutput = {
3531
- ...output,
3532
- body: await parseErrorBody(output.body, context)
3533
- };
3534
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3535
- switch (errorCode) {
3536
- case "CFNRegistryException":
3537
- case "com.amazonaws.cloudformation#CFNRegistryException":
3538
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
3539
- case "TypeNotFoundException":
3540
- case "com.amazonaws.cloudformation#TypeNotFoundException":
3541
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
3542
- default:
3543
- const parsedBody = parsedOutput.body;
3544
- return throwDefaultError({
3545
- output,
3546
- parsedBody: parsedBody.Error,
3547
- errorCode
3548
- });
3549
- }
3550
- }, "de_PublishTypeCommandError");
3551
2862
  var de_RecordHandlerProgressCommand = /* @__PURE__ */ __name(async (output, context) => {
3552
2863
  if (output.statusCode >= 300) {
3553
- return de_RecordHandlerProgressCommandError(output, context);
2864
+ return de_CommandError(output, context);
3554
2865
  }
3555
2866
  const data = await parseBody(output.body, context);
3556
2867
  let contents = {};
@@ -3561,31 +2872,9 @@ var de_RecordHandlerProgressCommand = /* @__PURE__ */ __name(async (output, cont
3561
2872
  };
3562
2873
  return response;
3563
2874
  }, "de_RecordHandlerProgressCommand");
3564
- var de_RecordHandlerProgressCommandError = /* @__PURE__ */ __name(async (output, context) => {
3565
- const parsedOutput = {
3566
- ...output,
3567
- body: await parseErrorBody(output.body, context)
3568
- };
3569
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3570
- switch (errorCode) {
3571
- case "ConditionalCheckFailed":
3572
- case "com.amazonaws.cloudformation#OperationStatusCheckFailedException":
3573
- throw await de_OperationStatusCheckFailedExceptionRes(parsedOutput, context);
3574
- case "InvalidStateTransition":
3575
- case "com.amazonaws.cloudformation#InvalidStateTransitionException":
3576
- throw await de_InvalidStateTransitionExceptionRes(parsedOutput, context);
3577
- default:
3578
- const parsedBody = parsedOutput.body;
3579
- return throwDefaultError({
3580
- output,
3581
- parsedBody: parsedBody.Error,
3582
- errorCode
3583
- });
3584
- }
3585
- }, "de_RecordHandlerProgressCommandError");
3586
2875
  var de_RegisterPublisherCommand = /* @__PURE__ */ __name(async (output, context) => {
3587
2876
  if (output.statusCode >= 300) {
3588
- return de_RegisterPublisherCommandError(output, context);
2877
+ return de_CommandError(output, context);
3589
2878
  }
3590
2879
  const data = await parseBody(output.body, context);
3591
2880
  let contents = {};
@@ -3596,28 +2885,9 @@ var de_RegisterPublisherCommand = /* @__PURE__ */ __name(async (output, context)
3596
2885
  };
3597
2886
  return response;
3598
2887
  }, "de_RegisterPublisherCommand");
3599
- var de_RegisterPublisherCommandError = /* @__PURE__ */ __name(async (output, context) => {
3600
- const parsedOutput = {
3601
- ...output,
3602
- body: await parseErrorBody(output.body, context)
3603
- };
3604
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3605
- switch (errorCode) {
3606
- case "CFNRegistryException":
3607
- case "com.amazonaws.cloudformation#CFNRegistryException":
3608
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
3609
- default:
3610
- const parsedBody = parsedOutput.body;
3611
- return throwDefaultError({
3612
- output,
3613
- parsedBody: parsedBody.Error,
3614
- errorCode
3615
- });
3616
- }
3617
- }, "de_RegisterPublisherCommandError");
3618
2888
  var de_RegisterTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
3619
2889
  if (output.statusCode >= 300) {
3620
- return de_RegisterTypeCommandError(output, context);
2890
+ return de_CommandError(output, context);
3621
2891
  }
3622
2892
  const data = await parseBody(output.body, context);
3623
2893
  let contents = {};
@@ -3628,28 +2898,9 @@ var de_RegisterTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
3628
2898
  };
3629
2899
  return response;
3630
2900
  }, "de_RegisterTypeCommand");
3631
- var de_RegisterTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
3632
- const parsedOutput = {
3633
- ...output,
3634
- body: await parseErrorBody(output.body, context)
3635
- };
3636
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3637
- switch (errorCode) {
3638
- case "CFNRegistryException":
3639
- case "com.amazonaws.cloudformation#CFNRegistryException":
3640
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
3641
- default:
3642
- const parsedBody = parsedOutput.body;
3643
- return throwDefaultError({
3644
- output,
3645
- parsedBody: parsedBody.Error,
3646
- errorCode
3647
- });
3648
- }
3649
- }, "de_RegisterTypeCommandError");
3650
2901
  var de_RollbackStackCommand = /* @__PURE__ */ __name(async (output, context) => {
3651
2902
  if (output.statusCode >= 300) {
3652
- return de_RollbackStackCommandError(output, context);
2903
+ return de_CommandError(output, context);
3653
2904
  }
3654
2905
  const data = await parseBody(output.body, context);
3655
2906
  let contents = {};
@@ -3660,28 +2911,9 @@ var de_RollbackStackCommand = /* @__PURE__ */ __name(async (output, context) =>
3660
2911
  };
3661
2912
  return response;
3662
2913
  }, "de_RollbackStackCommand");
3663
- var de_RollbackStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
3664
- const parsedOutput = {
3665
- ...output,
3666
- body: await parseErrorBody(output.body, context)
3667
- };
3668
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3669
- switch (errorCode) {
3670
- case "TokenAlreadyExistsException":
3671
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
3672
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
3673
- default:
3674
- const parsedBody = parsedOutput.body;
3675
- return throwDefaultError({
3676
- output,
3677
- parsedBody: parsedBody.Error,
3678
- errorCode
3679
- });
3680
- }
3681
- }, "de_RollbackStackCommandError");
3682
2914
  var de_SetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
3683
2915
  if (output.statusCode >= 300) {
3684
- return de_SetStackPolicyCommandError(output, context);
2916
+ return de_CommandError(output, context);
3685
2917
  }
3686
2918
  await (0, import_smithy_client.collectBody)(output.body, context);
3687
2919
  const response = {
@@ -3689,22 +2921,9 @@ var de_SetStackPolicyCommand = /* @__PURE__ */ __name(async (output, context) =>
3689
2921
  };
3690
2922
  return response;
3691
2923
  }, "de_SetStackPolicyCommand");
3692
- var de_SetStackPolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
3693
- const parsedOutput = {
3694
- ...output,
3695
- body: await parseErrorBody(output.body, context)
3696
- };
3697
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3698
- const parsedBody = parsedOutput.body;
3699
- return throwDefaultError({
3700
- output,
3701
- parsedBody: parsedBody.Error,
3702
- errorCode
3703
- });
3704
- }, "de_SetStackPolicyCommandError");
3705
2924
  var de_SetTypeConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
3706
2925
  if (output.statusCode >= 300) {
3707
- return de_SetTypeConfigurationCommandError(output, context);
2926
+ return de_CommandError(output, context);
3708
2927
  }
3709
2928
  const data = await parseBody(output.body, context);
3710
2929
  let contents = {};
@@ -3715,31 +2934,9 @@ var de_SetTypeConfigurationCommand = /* @__PURE__ */ __name(async (output, conte
3715
2934
  };
3716
2935
  return response;
3717
2936
  }, "de_SetTypeConfigurationCommand");
3718
- var de_SetTypeConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
3719
- const parsedOutput = {
3720
- ...output,
3721
- body: await parseErrorBody(output.body, context)
3722
- };
3723
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3724
- switch (errorCode) {
3725
- case "CFNRegistryException":
3726
- case "com.amazonaws.cloudformation#CFNRegistryException":
3727
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
3728
- case "TypeNotFoundException":
3729
- case "com.amazonaws.cloudformation#TypeNotFoundException":
3730
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
3731
- default:
3732
- const parsedBody = parsedOutput.body;
3733
- return throwDefaultError({
3734
- output,
3735
- parsedBody: parsedBody.Error,
3736
- errorCode
3737
- });
3738
- }
3739
- }, "de_SetTypeConfigurationCommandError");
3740
2937
  var de_SetTypeDefaultVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
3741
2938
  if (output.statusCode >= 300) {
3742
- return de_SetTypeDefaultVersionCommandError(output, context);
2939
+ return de_CommandError(output, context);
3743
2940
  }
3744
2941
  const data = await parseBody(output.body, context);
3745
2942
  let contents = {};
@@ -3750,31 +2947,9 @@ var de_SetTypeDefaultVersionCommand = /* @__PURE__ */ __name(async (output, cont
3750
2947
  };
3751
2948
  return response;
3752
2949
  }, "de_SetTypeDefaultVersionCommand");
3753
- var de_SetTypeDefaultVersionCommandError = /* @__PURE__ */ __name(async (output, context) => {
3754
- const parsedOutput = {
3755
- ...output,
3756
- body: await parseErrorBody(output.body, context)
3757
- };
3758
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3759
- switch (errorCode) {
3760
- case "CFNRegistryException":
3761
- case "com.amazonaws.cloudformation#CFNRegistryException":
3762
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
3763
- case "TypeNotFoundException":
3764
- case "com.amazonaws.cloudformation#TypeNotFoundException":
3765
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
3766
- default:
3767
- const parsedBody = parsedOutput.body;
3768
- return throwDefaultError({
3769
- output,
3770
- parsedBody: parsedBody.Error,
3771
- errorCode
3772
- });
3773
- }
3774
- }, "de_SetTypeDefaultVersionCommandError");
3775
2950
  var de_SignalResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
3776
2951
  if (output.statusCode >= 300) {
3777
- return de_SignalResourceCommandError(output, context);
2952
+ return de_CommandError(output, context);
3778
2953
  }
3779
2954
  await (0, import_smithy_client.collectBody)(output.body, context);
3780
2955
  const response = {
@@ -3782,22 +2957,22 @@ var de_SignalResourceCommand = /* @__PURE__ */ __name(async (output, context) =>
3782
2957
  };
3783
2958
  return response;
3784
2959
  }, "de_SignalResourceCommand");
3785
- var de_SignalResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
3786
- const parsedOutput = {
3787
- ...output,
3788
- body: await parseErrorBody(output.body, context)
2960
+ var de_StartResourceScanCommand = /* @__PURE__ */ __name(async (output, context) => {
2961
+ if (output.statusCode >= 300) {
2962
+ return de_CommandError(output, context);
2963
+ }
2964
+ const data = await parseBody(output.body, context);
2965
+ let contents = {};
2966
+ contents = de_StartResourceScanOutput(data.StartResourceScanResult, context);
2967
+ const response = {
2968
+ $metadata: deserializeMetadata(output),
2969
+ ...contents
3789
2970
  };
3790
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3791
- const parsedBody = parsedOutput.body;
3792
- return throwDefaultError({
3793
- output,
3794
- parsedBody: parsedBody.Error,
3795
- errorCode
3796
- });
3797
- }, "de_SignalResourceCommandError");
2971
+ return response;
2972
+ }, "de_StartResourceScanCommand");
3798
2973
  var de_StopStackSetOperationCommand = /* @__PURE__ */ __name(async (output, context) => {
3799
2974
  if (output.statusCode >= 300) {
3800
- return de_StopStackSetOperationCommandError(output, context);
2975
+ return de_CommandError(output, context);
3801
2976
  }
3802
2977
  const data = await parseBody(output.body, context);
3803
2978
  let contents = {};
@@ -3808,69 +2983,35 @@ var de_StopStackSetOperationCommand = /* @__PURE__ */ __name(async (output, cont
3808
2983
  };
3809
2984
  return response;
3810
2985
  }, "de_StopStackSetOperationCommand");
3811
- var de_StopStackSetOperationCommandError = /* @__PURE__ */ __name(async (output, context) => {
3812
- const parsedOutput = {
3813
- ...output,
3814
- body: await parseErrorBody(output.body, context)
3815
- };
3816
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3817
- switch (errorCode) {
3818
- case "InvalidOperationException":
3819
- case "com.amazonaws.cloudformation#InvalidOperationException":
3820
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
3821
- case "OperationNotFoundException":
3822
- case "com.amazonaws.cloudformation#OperationNotFoundException":
3823
- throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
3824
- case "StackSetNotFoundException":
3825
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
3826
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
3827
- default:
3828
- const parsedBody = parsedOutput.body;
3829
- return throwDefaultError({
3830
- output,
3831
- parsedBody: parsedBody.Error,
3832
- errorCode
3833
- });
3834
- }
3835
- }, "de_StopStackSetOperationCommandError");
3836
2986
  var de_TestTypeCommand = /* @__PURE__ */ __name(async (output, context) => {
3837
2987
  if (output.statusCode >= 300) {
3838
- return de_TestTypeCommandError(output, context);
2988
+ return de_CommandError(output, context);
3839
2989
  }
3840
2990
  const data = await parseBody(output.body, context);
3841
2991
  let contents = {};
3842
2992
  contents = de_TestTypeOutput(data.TestTypeResult, context);
3843
- const response = {
3844
- $metadata: deserializeMetadata(output),
3845
- ...contents
3846
- };
3847
- return response;
3848
- }, "de_TestTypeCommand");
3849
- var de_TestTypeCommandError = /* @__PURE__ */ __name(async (output, context) => {
3850
- const parsedOutput = {
3851
- ...output,
3852
- body: await parseErrorBody(output.body, context)
3853
- };
3854
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3855
- switch (errorCode) {
3856
- case "CFNRegistryException":
3857
- case "com.amazonaws.cloudformation#CFNRegistryException":
3858
- throw await de_CFNRegistryExceptionRes(parsedOutput, context);
3859
- case "TypeNotFoundException":
3860
- case "com.amazonaws.cloudformation#TypeNotFoundException":
3861
- throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
3862
- default:
3863
- const parsedBody = parsedOutput.body;
3864
- return throwDefaultError({
3865
- output,
3866
- parsedBody: parsedBody.Error,
3867
- errorCode
3868
- });
2993
+ const response = {
2994
+ $metadata: deserializeMetadata(output),
2995
+ ...contents
2996
+ };
2997
+ return response;
2998
+ }, "de_TestTypeCommand");
2999
+ var de_UpdateGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
3000
+ if (output.statusCode >= 300) {
3001
+ return de_CommandError(output, context);
3869
3002
  }
3870
- }, "de_TestTypeCommandError");
3003
+ const data = await parseBody(output.body, context);
3004
+ let contents = {};
3005
+ contents = de_UpdateGeneratedTemplateOutput(data.UpdateGeneratedTemplateResult, context);
3006
+ const response = {
3007
+ $metadata: deserializeMetadata(output),
3008
+ ...contents
3009
+ };
3010
+ return response;
3011
+ }, "de_UpdateGeneratedTemplateCommand");
3871
3012
  var de_UpdateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
3872
3013
  if (output.statusCode >= 300) {
3873
- return de_UpdateStackCommandError(output, context);
3014
+ return de_CommandError(output, context);
3874
3015
  }
3875
3016
  const data = await parseBody(output.body, context);
3876
3017
  let contents = {};
@@ -3881,31 +3022,9 @@ var de_UpdateStackCommand = /* @__PURE__ */ __name(async (output, context) => {
3881
3022
  };
3882
3023
  return response;
3883
3024
  }, "de_UpdateStackCommand");
3884
- var de_UpdateStackCommandError = /* @__PURE__ */ __name(async (output, context) => {
3885
- const parsedOutput = {
3886
- ...output,
3887
- body: await parseErrorBody(output.body, context)
3888
- };
3889
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3890
- switch (errorCode) {
3891
- case "InsufficientCapabilitiesException":
3892
- case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
3893
- throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
3894
- case "TokenAlreadyExistsException":
3895
- case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
3896
- throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
3897
- default:
3898
- const parsedBody = parsedOutput.body;
3899
- return throwDefaultError({
3900
- output,
3901
- parsedBody: parsedBody.Error,
3902
- errorCode
3903
- });
3904
- }
3905
- }, "de_UpdateStackCommandError");
3906
3025
  var de_UpdateStackInstancesCommand = /* @__PURE__ */ __name(async (output, context) => {
3907
3026
  if (output.statusCode >= 300) {
3908
- return de_UpdateStackInstancesCommandError(output, context);
3027
+ return de_CommandError(output, context);
3909
3028
  }
3910
3029
  const data = await parseBody(output.body, context);
3911
3030
  let contents = {};
@@ -3916,43 +3035,9 @@ var de_UpdateStackInstancesCommand = /* @__PURE__ */ __name(async (output, conte
3916
3035
  };
3917
3036
  return response;
3918
3037
  }, "de_UpdateStackInstancesCommand");
3919
- var de_UpdateStackInstancesCommandError = /* @__PURE__ */ __name(async (output, context) => {
3920
- const parsedOutput = {
3921
- ...output,
3922
- body: await parseErrorBody(output.body, context)
3923
- };
3924
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3925
- switch (errorCode) {
3926
- case "InvalidOperationException":
3927
- case "com.amazonaws.cloudformation#InvalidOperationException":
3928
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
3929
- case "OperationIdAlreadyExistsException":
3930
- case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
3931
- throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
3932
- case "OperationInProgressException":
3933
- case "com.amazonaws.cloudformation#OperationInProgressException":
3934
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
3935
- case "StackInstanceNotFoundException":
3936
- case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
3937
- throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
3938
- case "StackSetNotFoundException":
3939
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
3940
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
3941
- case "StaleRequestException":
3942
- case "com.amazonaws.cloudformation#StaleRequestException":
3943
- throw await de_StaleRequestExceptionRes(parsedOutput, context);
3944
- default:
3945
- const parsedBody = parsedOutput.body;
3946
- return throwDefaultError({
3947
- output,
3948
- parsedBody: parsedBody.Error,
3949
- errorCode
3950
- });
3951
- }
3952
- }, "de_UpdateStackInstancesCommandError");
3953
3038
  var de_UpdateStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
3954
3039
  if (output.statusCode >= 300) {
3955
- return de_UpdateStackSetCommandError(output, context);
3040
+ return de_CommandError(output, context);
3956
3041
  }
3957
3042
  const data = await parseBody(output.body, context);
3958
3043
  let contents = {};
@@ -3963,43 +3048,9 @@ var de_UpdateStackSetCommand = /* @__PURE__ */ __name(async (output, context) =>
3963
3048
  };
3964
3049
  return response;
3965
3050
  }, "de_UpdateStackSetCommand");
3966
- var de_UpdateStackSetCommandError = /* @__PURE__ */ __name(async (output, context) => {
3967
- const parsedOutput = {
3968
- ...output,
3969
- body: await parseErrorBody(output.body, context)
3970
- };
3971
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
3972
- switch (errorCode) {
3973
- case "InvalidOperationException":
3974
- case "com.amazonaws.cloudformation#InvalidOperationException":
3975
- throw await de_InvalidOperationExceptionRes(parsedOutput, context);
3976
- case "OperationIdAlreadyExistsException":
3977
- case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
3978
- throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
3979
- case "OperationInProgressException":
3980
- case "com.amazonaws.cloudformation#OperationInProgressException":
3981
- throw await de_OperationInProgressExceptionRes(parsedOutput, context);
3982
- case "StackInstanceNotFoundException":
3983
- case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
3984
- throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
3985
- case "StackSetNotFoundException":
3986
- case "com.amazonaws.cloudformation#StackSetNotFoundException":
3987
- throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
3988
- case "StaleRequestException":
3989
- case "com.amazonaws.cloudformation#StaleRequestException":
3990
- throw await de_StaleRequestExceptionRes(parsedOutput, context);
3991
- default:
3992
- const parsedBody = parsedOutput.body;
3993
- return throwDefaultError({
3994
- output,
3995
- parsedBody: parsedBody.Error,
3996
- errorCode
3997
- });
3998
- }
3999
- }, "de_UpdateStackSetCommandError");
4000
3051
  var de_UpdateTerminationProtectionCommand = /* @__PURE__ */ __name(async (output, context) => {
4001
3052
  if (output.statusCode >= 300) {
4002
- return de_UpdateTerminationProtectionCommandError(output, context);
3053
+ return de_CommandError(output, context);
4003
3054
  }
4004
3055
  const data = await parseBody(output.body, context);
4005
3056
  let contents = {};
@@ -4010,22 +3061,9 @@ var de_UpdateTerminationProtectionCommand = /* @__PURE__ */ __name(async (output
4010
3061
  };
4011
3062
  return response;
4012
3063
  }, "de_UpdateTerminationProtectionCommand");
4013
- var de_UpdateTerminationProtectionCommandError = /* @__PURE__ */ __name(async (output, context) => {
4014
- const parsedOutput = {
4015
- ...output,
4016
- body: await parseErrorBody(output.body, context)
4017
- };
4018
- const errorCode = loadQueryErrorCode(output, parsedOutput.body);
4019
- const parsedBody = parsedOutput.body;
4020
- return throwDefaultError({
4021
- output,
4022
- parsedBody: parsedBody.Error,
4023
- errorCode
4024
- });
4025
- }, "de_UpdateTerminationProtectionCommandError");
4026
3064
  var de_ValidateTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
4027
3065
  if (output.statusCode >= 300) {
4028
- return de_ValidateTemplateCommandError(output, context);
3066
+ return de_CommandError(output, context);
4029
3067
  }
4030
3068
  const data = await parseBody(output.body, context);
4031
3069
  let contents = {};
@@ -4036,19 +3074,103 @@ var de_ValidateTemplateCommand = /* @__PURE__ */ __name(async (output, context)
4036
3074
  };
4037
3075
  return response;
4038
3076
  }, "de_ValidateTemplateCommand");
4039
- var de_ValidateTemplateCommandError = /* @__PURE__ */ __name(async (output, context) => {
3077
+ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
4040
3078
  const parsedOutput = {
4041
3079
  ...output,
4042
3080
  body: await parseErrorBody(output.body, context)
4043
3081
  };
4044
3082
  const errorCode = loadQueryErrorCode(output, parsedOutput.body);
4045
- const parsedBody = parsedOutput.body;
4046
- return throwDefaultError({
4047
- output,
4048
- parsedBody: parsedBody.Error,
4049
- errorCode
4050
- });
4051
- }, "de_ValidateTemplateCommandError");
3083
+ switch (errorCode) {
3084
+ case "InvalidOperationException":
3085
+ case "com.amazonaws.cloudformation#InvalidOperationException":
3086
+ throw await de_InvalidOperationExceptionRes(parsedOutput, context);
3087
+ case "OperationNotFoundException":
3088
+ case "com.amazonaws.cloudformation#OperationNotFoundException":
3089
+ throw await de_OperationNotFoundExceptionRes(parsedOutput, context);
3090
+ case "CFNRegistryException":
3091
+ case "com.amazonaws.cloudformation#CFNRegistryException":
3092
+ throw await de_CFNRegistryExceptionRes(parsedOutput, context);
3093
+ case "TypeNotFoundException":
3094
+ case "com.amazonaws.cloudformation#TypeNotFoundException":
3095
+ throw await de_TypeNotFoundExceptionRes(parsedOutput, context);
3096
+ case "TypeConfigurationNotFoundException":
3097
+ case "com.amazonaws.cloudformation#TypeConfigurationNotFoundException":
3098
+ throw await de_TypeConfigurationNotFoundExceptionRes(parsedOutput, context);
3099
+ case "TokenAlreadyExistsException":
3100
+ case "com.amazonaws.cloudformation#TokenAlreadyExistsException":
3101
+ throw await de_TokenAlreadyExistsExceptionRes(parsedOutput, context);
3102
+ case "AlreadyExistsException":
3103
+ case "com.amazonaws.cloudformation#AlreadyExistsException":
3104
+ throw await de_AlreadyExistsExceptionRes(parsedOutput, context);
3105
+ case "InsufficientCapabilitiesException":
3106
+ case "com.amazonaws.cloudformation#InsufficientCapabilitiesException":
3107
+ throw await de_InsufficientCapabilitiesExceptionRes(parsedOutput, context);
3108
+ case "LimitExceededException":
3109
+ case "com.amazonaws.cloudformation#LimitExceededException":
3110
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
3111
+ case "ConcurrentResourcesLimitExceeded":
3112
+ case "com.amazonaws.cloudformation#ConcurrentResourcesLimitExceededException":
3113
+ throw await de_ConcurrentResourcesLimitExceededExceptionRes(parsedOutput, context);
3114
+ case "OperationIdAlreadyExistsException":
3115
+ case "com.amazonaws.cloudformation#OperationIdAlreadyExistsException":
3116
+ throw await de_OperationIdAlreadyExistsExceptionRes(parsedOutput, context);
3117
+ case "OperationInProgressException":
3118
+ case "com.amazonaws.cloudformation#OperationInProgressException":
3119
+ throw await de_OperationInProgressExceptionRes(parsedOutput, context);
3120
+ case "StackSetNotFoundException":
3121
+ case "com.amazonaws.cloudformation#StackSetNotFoundException":
3122
+ throw await de_StackSetNotFoundExceptionRes(parsedOutput, context);
3123
+ case "StaleRequestException":
3124
+ case "com.amazonaws.cloudformation#StaleRequestException":
3125
+ throw await de_StaleRequestExceptionRes(parsedOutput, context);
3126
+ case "CreatedButModifiedException":
3127
+ case "com.amazonaws.cloudformation#CreatedButModifiedException":
3128
+ throw await de_CreatedButModifiedExceptionRes(parsedOutput, context);
3129
+ case "NameAlreadyExistsException":
3130
+ case "com.amazonaws.cloudformation#NameAlreadyExistsException":
3131
+ throw await de_NameAlreadyExistsExceptionRes(parsedOutput, context);
3132
+ case "InvalidChangeSetStatus":
3133
+ case "com.amazonaws.cloudformation#InvalidChangeSetStatusException":
3134
+ throw await de_InvalidChangeSetStatusExceptionRes(parsedOutput, context);
3135
+ case "GeneratedTemplateNotFound":
3136
+ case "com.amazonaws.cloudformation#GeneratedTemplateNotFoundException":
3137
+ throw await de_GeneratedTemplateNotFoundExceptionRes(parsedOutput, context);
3138
+ case "StackSetNotEmptyException":
3139
+ case "com.amazonaws.cloudformation#StackSetNotEmptyException":
3140
+ throw await de_StackSetNotEmptyExceptionRes(parsedOutput, context);
3141
+ case "ChangeSetNotFound":
3142
+ case "com.amazonaws.cloudformation#ChangeSetNotFoundException":
3143
+ throw await de_ChangeSetNotFoundExceptionRes(parsedOutput, context);
3144
+ case "ResourceScanNotFound":
3145
+ case "com.amazonaws.cloudformation#ResourceScanNotFoundException":
3146
+ throw await de_ResourceScanNotFoundExceptionRes(parsedOutput, context);
3147
+ case "StackInstanceNotFoundException":
3148
+ case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
3149
+ throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
3150
+ case "StackNotFoundException":
3151
+ case "com.amazonaws.cloudformation#StackNotFoundException":
3152
+ throw await de_StackNotFoundExceptionRes(parsedOutput, context);
3153
+ case "ResourceScanInProgress":
3154
+ case "com.amazonaws.cloudformation#ResourceScanInProgressException":
3155
+ throw await de_ResourceScanInProgressExceptionRes(parsedOutput, context);
3156
+ case "ConditionalCheckFailed":
3157
+ case "com.amazonaws.cloudformation#OperationStatusCheckFailedException":
3158
+ throw await de_OperationStatusCheckFailedExceptionRes(parsedOutput, context);
3159
+ case "InvalidStateTransition":
3160
+ case "com.amazonaws.cloudformation#InvalidStateTransitionException":
3161
+ throw await de_InvalidStateTransitionExceptionRes(parsedOutput, context);
3162
+ case "ResourceScanLimitExceeded":
3163
+ case "com.amazonaws.cloudformation#ResourceScanLimitExceededException":
3164
+ throw await de_ResourceScanLimitExceededExceptionRes(parsedOutput, context);
3165
+ default:
3166
+ const parsedBody = parsedOutput.body;
3167
+ return throwDefaultError({
3168
+ output,
3169
+ parsedBody: parsedBody.Error,
3170
+ errorCode
3171
+ });
3172
+ }
3173
+ }, "de_CommandError");
4052
3174
  var de_AlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4053
3175
  const body = parsedOutput.body;
4054
3176
  const deserialized = de_AlreadyExistsException(body.Error, context);
@@ -4076,6 +3198,15 @@ var de_ChangeSetNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutpu
4076
3198
  });
4077
3199
  return (0, import_smithy_client.decorateServiceException)(exception, body);
4078
3200
  }, "de_ChangeSetNotFoundExceptionRes");
3201
+ var de_ConcurrentResourcesLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3202
+ const body = parsedOutput.body;
3203
+ const deserialized = de_ConcurrentResourcesLimitExceededException(body.Error, context);
3204
+ const exception = new ConcurrentResourcesLimitExceededException({
3205
+ $metadata: deserializeMetadata(parsedOutput),
3206
+ ...deserialized
3207
+ });
3208
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3209
+ }, "de_ConcurrentResourcesLimitExceededExceptionRes");
4079
3210
  var de_CreatedButModifiedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4080
3211
  const body = parsedOutput.body;
4081
3212
  const deserialized = de_CreatedButModifiedException(body.Error, context);
@@ -4085,6 +3216,15 @@ var de_CreatedButModifiedExceptionRes = /* @__PURE__ */ __name(async (parsedOutp
4085
3216
  });
4086
3217
  return (0, import_smithy_client.decorateServiceException)(exception, body);
4087
3218
  }, "de_CreatedButModifiedExceptionRes");
3219
+ var de_GeneratedTemplateNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3220
+ const body = parsedOutput.body;
3221
+ const deserialized = de_GeneratedTemplateNotFoundException(body.Error, context);
3222
+ const exception = new GeneratedTemplateNotFoundException({
3223
+ $metadata: deserializeMetadata(parsedOutput),
3224
+ ...deserialized
3225
+ });
3226
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3227
+ }, "de_GeneratedTemplateNotFoundExceptionRes");
4088
3228
  var de_InsufficientCapabilitiesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4089
3229
  const body = parsedOutput.body;
4090
3230
  const deserialized = de_InsufficientCapabilitiesException(body.Error, context);
@@ -4175,6 +3315,33 @@ var de_OperationStatusCheckFailedExceptionRes = /* @__PURE__ */ __name(async (pa
4175
3315
  });
4176
3316
  return (0, import_smithy_client.decorateServiceException)(exception, body);
4177
3317
  }, "de_OperationStatusCheckFailedExceptionRes");
3318
+ var de_ResourceScanInProgressExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3319
+ const body = parsedOutput.body;
3320
+ const deserialized = de_ResourceScanInProgressException(body.Error, context);
3321
+ const exception = new ResourceScanInProgressException({
3322
+ $metadata: deserializeMetadata(parsedOutput),
3323
+ ...deserialized
3324
+ });
3325
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3326
+ }, "de_ResourceScanInProgressExceptionRes");
3327
+ var de_ResourceScanLimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3328
+ const body = parsedOutput.body;
3329
+ const deserialized = de_ResourceScanLimitExceededException(body.Error, context);
3330
+ const exception = new ResourceScanLimitExceededException({
3331
+ $metadata: deserializeMetadata(parsedOutput),
3332
+ ...deserialized
3333
+ });
3334
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3335
+ }, "de_ResourceScanLimitExceededExceptionRes");
3336
+ var de_ResourceScanNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3337
+ const body = parsedOutput.body;
3338
+ const deserialized = de_ResourceScanNotFoundException(body.Error, context);
3339
+ const exception = new ResourceScanNotFoundException({
3340
+ $metadata: deserializeMetadata(parsedOutput),
3341
+ ...deserialized
3342
+ });
3343
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3344
+ }, "de_ResourceScanNotFoundExceptionRes");
4178
3345
  var de_StackInstanceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
4179
3346
  const body = parsedOutput.body;
4180
3347
  const deserialized = de_StackInstanceNotFoundException(body.Error, context);
@@ -4373,7 +3540,7 @@ var se_ContinueUpdateRollbackInput = /* @__PURE__ */ __name((input, context) =>
4373
3540
  return entries;
4374
3541
  }, "se_ContinueUpdateRollbackInput");
4375
3542
  var se_CreateChangeSetInput = /* @__PURE__ */ __name((input, context) => {
4376
- var _a, _b, _c, _d, _e, _f;
3543
+ var _a, _b, _c, _d, _e2, _f;
4377
3544
  const entries = {};
4378
3545
  if (input[_SN] != null) {
4379
3546
  entries[_SN] = input[_SN];
@@ -4439,7 +3606,7 @@ var se_CreateChangeSetInput = /* @__PURE__ */ __name((input, context) => {
4439
3606
  }
4440
3607
  if (input[_Ta] != null) {
4441
3608
  const memberEntries = se_Tags(input[_Ta], context);
4442
- if (((_e = input[_Ta]) == null ? void 0 : _e.length) === 0) {
3609
+ if (((_e2 = input[_Ta]) == null ? void 0 : _e2.length) === 0) {
4443
3610
  entries.Tags = [];
4444
3611
  }
4445
3612
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -4480,8 +3647,36 @@ var se_CreateChangeSetInput = /* @__PURE__ */ __name((input, context) => {
4480
3647
  }
4481
3648
  return entries;
4482
3649
  }, "se_CreateChangeSetInput");
3650
+ var se_CreateGeneratedTemplateInput = /* @__PURE__ */ __name((input, context) => {
3651
+ var _a;
3652
+ const entries = {};
3653
+ if (input[_R] != null) {
3654
+ const memberEntries = se_ResourceDefinitions(input[_R], context);
3655
+ if (((_a = input[_R]) == null ? void 0 : _a.length) === 0) {
3656
+ entries.Resources = [];
3657
+ }
3658
+ Object.entries(memberEntries).forEach(([key, value]) => {
3659
+ const loc = `Resources.${key}`;
3660
+ entries[loc] = value;
3661
+ });
3662
+ }
3663
+ if (input[_GTN] != null) {
3664
+ entries[_GTN] = input[_GTN];
3665
+ }
3666
+ if (input[_SN] != null) {
3667
+ entries[_SN] = input[_SN];
3668
+ }
3669
+ if (input[_TC] != null) {
3670
+ const memberEntries = se_TemplateConfiguration(input[_TC], context);
3671
+ Object.entries(memberEntries).forEach(([key, value]) => {
3672
+ const loc = `TemplateConfiguration.${key}`;
3673
+ entries[loc] = value;
3674
+ });
3675
+ }
3676
+ return entries;
3677
+ }, "se_CreateGeneratedTemplateInput");
4483
3678
  var se_CreateStackInput = /* @__PURE__ */ __name((input, context) => {
4484
- var _a, _b, _c, _d, _e;
3679
+ var _a, _b, _c, _d, _e2;
4485
3680
  const entries = {};
4486
3681
  if (input[_SN] != null) {
4487
3682
  entries[_SN] = input[_SN];
@@ -4559,7 +3754,7 @@ var se_CreateStackInput = /* @__PURE__ */ __name((input, context) => {
4559
3754
  }
4560
3755
  if (input[_Ta] != null) {
4561
3756
  const memberEntries = se_Tags(input[_Ta], context);
4562
- if (((_e = input[_Ta]) == null ? void 0 : _e.length) === 0) {
3757
+ if (((_e2 = input[_Ta]) == null ? void 0 : _e2.length) === 0) {
4563
3758
  entries.Tags = [];
4564
3759
  }
4565
3760
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -4601,9 +3796,9 @@ var se_CreateStackInstancesInput = /* @__PURE__ */ __name((input, context) => {
4601
3796
  entries[loc] = value;
4602
3797
  });
4603
3798
  }
4604
- if (input[_R] != null) {
4605
- const memberEntries = se_RegionList(input[_R], context);
4606
- if (((_b = input[_R]) == null ? void 0 : _b.length) === 0) {
3799
+ if (input[_Re] != null) {
3800
+ const memberEntries = se_RegionList(input[_Re], context);
3801
+ if (((_b = input[_Re]) == null ? void 0 : _b.length) === 0) {
4607
3802
  entries.Regions = [];
4608
3803
  }
4609
3804
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -4748,6 +3943,13 @@ var se_DeleteChangeSetInput = /* @__PURE__ */ __name((input, context) => {
4748
3943
  }
4749
3944
  return entries;
4750
3945
  }, "se_DeleteChangeSetInput");
3946
+ var se_DeleteGeneratedTemplateInput = /* @__PURE__ */ __name((input, context) => {
3947
+ const entries = {};
3948
+ if (input[_GTN] != null) {
3949
+ entries[_GTN] = input[_GTN];
3950
+ }
3951
+ return entries;
3952
+ }, "se_DeleteGeneratedTemplateInput");
4751
3953
  var se_DeleteStackInput = /* @__PURE__ */ __name((input, context) => {
4752
3954
  var _a;
4753
3955
  const entries = {};
@@ -4795,9 +3997,9 @@ var se_DeleteStackInstancesInput = /* @__PURE__ */ __name((input, context) => {
4795
3997
  entries[loc] = value;
4796
3998
  });
4797
3999
  }
4798
- if (input[_R] != null) {
4799
- const memberEntries = se_RegionList(input[_R], context);
4800
- if (((_b = input[_R]) == null ? void 0 : _b.length) === 0) {
4000
+ if (input[_Re] != null) {
4001
+ const memberEntries = se_RegionList(input[_Re], context);
4002
+ if (((_b = input[_Re]) == null ? void 0 : _b.length) === 0) {
4801
4003
  entries.Regions = [];
4802
4004
  }
4803
4005
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -4919,6 +4121,13 @@ var se_DescribeChangeSetInput = /* @__PURE__ */ __name((input, context) => {
4919
4121
  }
4920
4122
  return entries;
4921
4123
  }, "se_DescribeChangeSetInput");
4124
+ var se_DescribeGeneratedTemplateInput = /* @__PURE__ */ __name((input, context) => {
4125
+ const entries = {};
4126
+ if (input[_GTN] != null) {
4127
+ entries[_GTN] = input[_GTN];
4128
+ }
4129
+ return entries;
4130
+ }, "se_DescribeGeneratedTemplateInput");
4922
4131
  var se_DescribeOrganizationsAccessInput = /* @__PURE__ */ __name((input, context) => {
4923
4132
  const entries = {};
4924
4133
  if (input[_CA] != null) {
@@ -4933,6 +4142,13 @@ var se_DescribePublisherInput = /* @__PURE__ */ __name((input, context) => {
4933
4142
  }
4934
4143
  return entries;
4935
4144
  }, "se_DescribePublisherInput");
4145
+ var se_DescribeResourceScanInput = /* @__PURE__ */ __name((input, context) => {
4146
+ const entries = {};
4147
+ if (input[_RSI] != null) {
4148
+ entries[_RSI] = input[_RSI];
4149
+ }
4150
+ return entries;
4151
+ }, "se_DescribeResourceScanInput");
4936
4152
  var se_DescribeStackDriftDetectionStatusInput = /* @__PURE__ */ __name((input, context) => {
4937
4153
  const entries = {};
4938
4154
  if (input[_SDDI] != null) {
@@ -5166,6 +4382,16 @@ var se_ExecuteChangeSetInput = /* @__PURE__ */ __name((input, context) => {
5166
4382
  }
5167
4383
  return entries;
5168
4384
  }, "se_ExecuteChangeSetInput");
4385
+ var se_GetGeneratedTemplateInput = /* @__PURE__ */ __name((input, context) => {
4386
+ const entries = {};
4387
+ if (input[_F] != null) {
4388
+ entries[_F] = input[_F];
4389
+ }
4390
+ if (input[_GTN] != null) {
4391
+ entries[_GTN] = input[_GTN];
4392
+ }
4393
+ return entries;
4394
+ }, "se_GetGeneratedTemplateInput");
5169
4395
  var se_GetStackPolicyInput = /* @__PURE__ */ __name((input, context) => {
5170
4396
  const entries = {};
5171
4397
  if (input[_SN] != null) {
@@ -5258,7 +4484,29 @@ var se_ImportStacksToStackSetInput = /* @__PURE__ */ __name((input, context) =>
5258
4484
  entries[_CA] = input[_CA];
5259
4485
  }
5260
4486
  return entries;
5261
- }, "se_ImportStacksToStackSetInput");
4487
+ }, "se_ImportStacksToStackSetInput");
4488
+ var se_JazzLogicalResourceIds = /* @__PURE__ */ __name((input, context) => {
4489
+ const entries = {};
4490
+ let counter = 1;
4491
+ for (const entry of input) {
4492
+ if (entry === null) {
4493
+ continue;
4494
+ }
4495
+ entries[`member.${counter}`] = entry;
4496
+ counter++;
4497
+ }
4498
+ return entries;
4499
+ }, "se_JazzLogicalResourceIds");
4500
+ var se_JazzResourceIdentifierProperties = /* @__PURE__ */ __name((input, context) => {
4501
+ const entries = {};
4502
+ let counter = 1;
4503
+ Object.keys(input).filter((key) => input[key] != null).forEach((key) => {
4504
+ entries[`entry.${counter}.key`] = key;
4505
+ entries[`entry.${counter}.value`] = input[key];
4506
+ counter++;
4507
+ });
4508
+ return entries;
4509
+ }, "se_JazzResourceIdentifierProperties");
5262
4510
  var se_ListChangeSetsInput = /* @__PURE__ */ __name((input, context) => {
5263
4511
  const entries = {};
5264
4512
  if (input[_SN] != null) {
@@ -5276,6 +4524,16 @@ var se_ListExportsInput = /* @__PURE__ */ __name((input, context) => {
5276
4524
  }
5277
4525
  return entries;
5278
4526
  }, "se_ListExportsInput");
4527
+ var se_ListGeneratedTemplatesInput = /* @__PURE__ */ __name((input, context) => {
4528
+ const entries = {};
4529
+ if (input[_NT] != null) {
4530
+ entries[_NT] = input[_NT];
4531
+ }
4532
+ if (input[_MR] != null) {
4533
+ entries[_MR] = input[_MR];
4534
+ }
4535
+ return entries;
4536
+ }, "se_ListGeneratedTemplatesInput");
5279
4537
  var se_ListImportsInput = /* @__PURE__ */ __name((input, context) => {
5280
4538
  const entries = {};
5281
4539
  if (input[_EN] != null) {
@@ -5286,6 +4544,65 @@ var se_ListImportsInput = /* @__PURE__ */ __name((input, context) => {
5286
4544
  }
5287
4545
  return entries;
5288
4546
  }, "se_ListImportsInput");
4547
+ var se_ListResourceScanRelatedResourcesInput = /* @__PURE__ */ __name((input, context) => {
4548
+ var _a;
4549
+ const entries = {};
4550
+ if (input[_RSI] != null) {
4551
+ entries[_RSI] = input[_RSI];
4552
+ }
4553
+ if (input[_R] != null) {
4554
+ const memberEntries = se_ScannedResourceIdentifiers(input[_R], context);
4555
+ if (((_a = input[_R]) == null ? void 0 : _a.length) === 0) {
4556
+ entries.Resources = [];
4557
+ }
4558
+ Object.entries(memberEntries).forEach(([key, value]) => {
4559
+ const loc = `Resources.${key}`;
4560
+ entries[loc] = value;
4561
+ });
4562
+ }
4563
+ if (input[_NT] != null) {
4564
+ entries[_NT] = input[_NT];
4565
+ }
4566
+ if (input[_MR] != null) {
4567
+ entries[_MR] = input[_MR];
4568
+ }
4569
+ return entries;
4570
+ }, "se_ListResourceScanRelatedResourcesInput");
4571
+ var se_ListResourceScanResourcesInput = /* @__PURE__ */ __name((input, context) => {
4572
+ const entries = {};
4573
+ if (input[_RSI] != null) {
4574
+ entries[_RSI] = input[_RSI];
4575
+ }
4576
+ if (input[_RI] != null) {
4577
+ entries[_RI] = input[_RI];
4578
+ }
4579
+ if (input[_RTP] != null) {
4580
+ entries[_RTP] = input[_RTP];
4581
+ }
4582
+ if (input[_TK] != null) {
4583
+ entries[_TK] = input[_TK];
4584
+ }
4585
+ if (input[_TV] != null) {
4586
+ entries[_TV] = input[_TV];
4587
+ }
4588
+ if (input[_NT] != null) {
4589
+ entries[_NT] = input[_NT];
4590
+ }
4591
+ if (input[_MR] != null) {
4592
+ entries[_MR] = input[_MR];
4593
+ }
4594
+ return entries;
4595
+ }, "se_ListResourceScanResourcesInput");
4596
+ var se_ListResourceScansInput = /* @__PURE__ */ __name((input, context) => {
4597
+ const entries = {};
4598
+ if (input[_NT] != null) {
4599
+ entries[_NT] = input[_NT];
4600
+ }
4601
+ if (input[_MR] != null) {
4602
+ entries[_MR] = input[_MR];
4603
+ }
4604
+ return entries;
4605
+ }, "se_ListResourceScansInput");
5289
4606
  var se_ListStackInstanceResourceDriftsInput = /* @__PURE__ */ __name((input, context) => {
5290
4607
  var _a;
5291
4608
  const entries = {};
@@ -5334,9 +4651,9 @@ var se_ListStackInstancesInput = /* @__PURE__ */ __name((input, context) => {
5334
4651
  if (input[_MR] != null) {
5335
4652
  entries[_MR] = input[_MR];
5336
4653
  }
5337
- if (input[_F] != null) {
5338
- const memberEntries = se_StackInstanceFilters(input[_F], context);
5339
- if (((_a = input[_F]) == null ? void 0 : _a.length) === 0) {
4654
+ if (input[_Fi] != null) {
4655
+ const memberEntries = se_StackInstanceFilters(input[_Fi], context);
4656
+ if (((_a = input[_Fi]) == null ? void 0 : _a.length) === 0) {
5340
4657
  entries.Filters = [];
5341
4658
  }
5342
4659
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -5383,9 +4700,9 @@ var se_ListStackSetOperationResultsInput = /* @__PURE__ */ __name((input, contex
5383
4700
  if (input[_CA] != null) {
5384
4701
  entries[_CA] = input[_CA];
5385
4702
  }
5386
- if (input[_F] != null) {
5387
- const memberEntries = se_OperationResultFilters(input[_F], context);
5388
- if (((_a = input[_F]) == null ? void 0 : _a.length) === 0) {
4703
+ if (input[_Fi] != null) {
4704
+ const memberEntries = se_OperationResultFilters(input[_Fi], context);
4705
+ if (((_a = input[_Fi]) == null ? void 0 : _a.length) === 0) {
5389
4706
  entries.Filters = [];
5390
4707
  }
5391
4708
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -5481,8 +4798,8 @@ var se_ListTypesInput = /* @__PURE__ */ __name((input, context) => {
5481
4798
  if (input[_T] != null) {
5482
4799
  entries[_T] = input[_T];
5483
4800
  }
5484
- if (input[_F] != null) {
5485
- const memberEntries = se_TypeFilters(input[_F], context);
4801
+ if (input[_Fi] != null) {
4802
+ const memberEntries = se_TypeFilters(input[_Fi], context);
5486
4803
  Object.entries(memberEntries).forEach(([key, value]) => {
5487
4804
  const loc = `Filters.${key}`;
5488
4805
  entries[loc] = value;
@@ -5719,6 +5036,38 @@ var se_RegisterTypeInput = /* @__PURE__ */ __name((input, context) => {
5719
5036
  }
5720
5037
  return entries;
5721
5038
  }, "se_RegisterTypeInput");
5039
+ var se_ResourceDefinition = /* @__PURE__ */ __name((input, context) => {
5040
+ const entries = {};
5041
+ if (input[_RTes] != null) {
5042
+ entries[_RTes] = input[_RTes];
5043
+ }
5044
+ if (input[_LRI] != null) {
5045
+ entries[_LRI] = input[_LRI];
5046
+ }
5047
+ if (input[_RI] != null) {
5048
+ const memberEntries = se_ResourceIdentifierProperties(input[_RI], context);
5049
+ Object.entries(memberEntries).forEach(([key, value]) => {
5050
+ const loc = `ResourceIdentifier.${key}`;
5051
+ entries[loc] = value;
5052
+ });
5053
+ }
5054
+ return entries;
5055
+ }, "se_ResourceDefinition");
5056
+ var se_ResourceDefinitions = /* @__PURE__ */ __name((input, context) => {
5057
+ const entries = {};
5058
+ let counter = 1;
5059
+ for (const entry of input) {
5060
+ if (entry === null) {
5061
+ continue;
5062
+ }
5063
+ const memberEntries = se_ResourceDefinition(entry, context);
5064
+ Object.entries(memberEntries).forEach(([key, value]) => {
5065
+ entries[`member.${counter}.${key}`] = value;
5066
+ });
5067
+ counter++;
5068
+ }
5069
+ return entries;
5070
+ }, "se_ResourceDefinitions");
5722
5071
  var se_ResourceIdentifierProperties = /* @__PURE__ */ __name((input, context) => {
5723
5072
  const entries = {};
5724
5073
  let counter = 1;
@@ -5856,6 +5205,35 @@ var se_RollbackTriggers = /* @__PURE__ */ __name((input, context) => {
5856
5205
  }
5857
5206
  return entries;
5858
5207
  }, "se_RollbackTriggers");
5208
+ var se_ScannedResourceIdentifier = /* @__PURE__ */ __name((input, context) => {
5209
+ const entries = {};
5210
+ if (input[_RTes] != null) {
5211
+ entries[_RTes] = input[_RTes];
5212
+ }
5213
+ if (input[_RI] != null) {
5214
+ const memberEntries = se_JazzResourceIdentifierProperties(input[_RI], context);
5215
+ Object.entries(memberEntries).forEach(([key, value]) => {
5216
+ const loc = `ResourceIdentifier.${key}`;
5217
+ entries[loc] = value;
5218
+ });
5219
+ }
5220
+ return entries;
5221
+ }, "se_ScannedResourceIdentifier");
5222
+ var se_ScannedResourceIdentifiers = /* @__PURE__ */ __name((input, context) => {
5223
+ const entries = {};
5224
+ let counter = 1;
5225
+ for (const entry of input) {
5226
+ if (entry === null) {
5227
+ continue;
5228
+ }
5229
+ const memberEntries = se_ScannedResourceIdentifier(entry, context);
5230
+ Object.entries(memberEntries).forEach(([key, value]) => {
5231
+ entries[`member.${counter}.${key}`] = value;
5232
+ });
5233
+ counter++;
5234
+ }
5235
+ return entries;
5236
+ }, "se_ScannedResourceIdentifiers");
5859
5237
  var se_SetStackPolicyInput = /* @__PURE__ */ __name((input, context) => {
5860
5238
  const entries = {};
5861
5239
  if (input[_SN] != null) {
@@ -6014,6 +5392,13 @@ var se_StackStatusFilter = /* @__PURE__ */ __name((input, context) => {
6014
5392
  }
6015
5393
  return entries;
6016
5394
  }, "se_StackStatusFilter");
5395
+ var se_StartResourceScanInput = /* @__PURE__ */ __name((input, context) => {
5396
+ const entries = {};
5397
+ if (input[_CRT] != null) {
5398
+ entries[_CRT] = input[_CRT];
5399
+ }
5400
+ return entries;
5401
+ }, "se_StartResourceScanInput");
6017
5402
  var se_StopStackSetOperationInput = /* @__PURE__ */ __name((input, context) => {
6018
5403
  const entries = {};
6019
5404
  if (input[_SSN] != null) {
@@ -6052,6 +5437,16 @@ var se_Tags = /* @__PURE__ */ __name((input, context) => {
6052
5437
  }
6053
5438
  return entries;
6054
5439
  }, "se_Tags");
5440
+ var se_TemplateConfiguration = /* @__PURE__ */ __name((input, context) => {
5441
+ const entries = {};
5442
+ if (input[_DPe] != null) {
5443
+ entries[_DPe] = input[_DPe];
5444
+ }
5445
+ if (input[_URP] != null) {
5446
+ entries[_URP] = input[_URP];
5447
+ }
5448
+ return entries;
5449
+ }, "se_TemplateConfiguration");
6055
5450
  var se_TemplateSummaryConfig = /* @__PURE__ */ __name((input, context) => {
6056
5451
  const entries = {};
6057
5452
  if (input[_TURTAW] != null) {
@@ -6125,8 +5520,49 @@ var se_TypeFilters = /* @__PURE__ */ __name((input, context) => {
6125
5520
  }
6126
5521
  return entries;
6127
5522
  }, "se_TypeFilters");
5523
+ var se_UpdateGeneratedTemplateInput = /* @__PURE__ */ __name((input, context) => {
5524
+ var _a, _b;
5525
+ const entries = {};
5526
+ if (input[_GTN] != null) {
5527
+ entries[_GTN] = input[_GTN];
5528
+ }
5529
+ if (input[_NGTN] != null) {
5530
+ entries[_NGTN] = input[_NGTN];
5531
+ }
5532
+ if (input[_AR] != null) {
5533
+ const memberEntries = se_ResourceDefinitions(input[_AR], context);
5534
+ if (((_a = input[_AR]) == null ? void 0 : _a.length) === 0) {
5535
+ entries.AddResources = [];
5536
+ }
5537
+ Object.entries(memberEntries).forEach(([key, value]) => {
5538
+ const loc = `AddResources.${key}`;
5539
+ entries[loc] = value;
5540
+ });
5541
+ }
5542
+ if (input[_RRe] != null) {
5543
+ const memberEntries = se_JazzLogicalResourceIds(input[_RRe], context);
5544
+ if (((_b = input[_RRe]) == null ? void 0 : _b.length) === 0) {
5545
+ entries.RemoveResources = [];
5546
+ }
5547
+ Object.entries(memberEntries).forEach(([key, value]) => {
5548
+ const loc = `RemoveResources.${key}`;
5549
+ entries[loc] = value;
5550
+ });
5551
+ }
5552
+ if (input[_RAR] != null) {
5553
+ entries[_RAR] = input[_RAR];
5554
+ }
5555
+ if (input[_TC] != null) {
5556
+ const memberEntries = se_TemplateConfiguration(input[_TC], context);
5557
+ Object.entries(memberEntries).forEach(([key, value]) => {
5558
+ const loc = `TemplateConfiguration.${key}`;
5559
+ entries[loc] = value;
5560
+ });
5561
+ }
5562
+ return entries;
5563
+ }, "se_UpdateGeneratedTemplateInput");
6128
5564
  var se_UpdateStackInput = /* @__PURE__ */ __name((input, context) => {
6129
- var _a, _b, _c, _d, _e;
5565
+ var _a, _b, _c, _d, _e2;
6130
5566
  const entries = {};
6131
5567
  if (input[_SN] != null) {
6132
5568
  entries[_SN] = input[_SN];
@@ -6204,7 +5640,7 @@ var se_UpdateStackInput = /* @__PURE__ */ __name((input, context) => {
6204
5640
  }
6205
5641
  if (input[_Ta] != null) {
6206
5642
  const memberEntries = se_Tags(input[_Ta], context);
6207
- if (((_e = input[_Ta]) == null ? void 0 : _e.length) === 0) {
5643
+ if (((_e2 = input[_Ta]) == null ? void 0 : _e2.length) === 0) {
6208
5644
  entries.Tags = [];
6209
5645
  }
6210
5646
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -6246,9 +5682,9 @@ var se_UpdateStackInstancesInput = /* @__PURE__ */ __name((input, context) => {
6246
5682
  entries[loc] = value;
6247
5683
  });
6248
5684
  }
6249
- if (input[_R] != null) {
6250
- const memberEntries = se_RegionList(input[_R], context);
6251
- if (((_b = input[_R]) == null ? void 0 : _b.length) === 0) {
5685
+ if (input[_Re] != null) {
5686
+ const memberEntries = se_RegionList(input[_Re], context);
5687
+ if (((_b = input[_Re]) == null ? void 0 : _b.length) === 0) {
6252
5688
  entries.Regions = [];
6253
5689
  }
6254
5690
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -6285,7 +5721,7 @@ var se_UpdateStackInstancesInput = /* @__PURE__ */ __name((input, context) => {
6285
5721
  return entries;
6286
5722
  }, "se_UpdateStackInstancesInput");
6287
5723
  var se_UpdateStackSetInput = /* @__PURE__ */ __name((input, context) => {
6288
- var _a, _b, _c, _d, _e;
5724
+ var _a, _b, _c, _d, _e2;
6289
5725
  const entries = {};
6290
5726
  if (input[_SSN] != null) {
6291
5727
  entries[_SSN] = input[_SSN];
@@ -6378,9 +5814,9 @@ var se_UpdateStackSetInput = /* @__PURE__ */ __name((input, context) => {
6378
5814
  entries[loc] = value;
6379
5815
  });
6380
5816
  }
6381
- if (input[_R] != null) {
6382
- const memberEntries = se_RegionList(input[_R], context);
6383
- if (((_e = input[_R]) == null ? void 0 : _e.length) === 0) {
5817
+ if (input[_Re] != null) {
5818
+ const memberEntries = se_RegionList(input[_Re], context);
5819
+ if (((_e2 = input[_Re]) == null ? void 0 : _e2.length) === 0) {
6384
5820
  entries.Regions = [];
6385
5821
  }
6386
5822
  Object.entries(memberEntries).forEach(([key, value]) => {
@@ -6514,9 +5950,9 @@ var de_BatchDescribeTypeConfigurationsOutput = /* @__PURE__ */ __name((output, c
6514
5950
  contents[_UTC] = de_UnprocessedTypeConfigurations((0, import_smithy_client.getArrayIfSingleItem)(output[_UTC][_m]), context);
6515
5951
  }
6516
5952
  if (output.TypeConfigurations === "") {
6517
- contents[_TC] = [];
6518
- } else if (output[_TC] != null && output[_TC][_m] != null) {
6519
- contents[_TC] = de_TypeConfigurationDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_TC][_m]), context);
5953
+ contents[_TCy] = [];
5954
+ } else if (output[_TCy] != null && output[_TCy][_m] != null) {
5955
+ contents[_TCy] = de_TypeConfigurationDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_TCy][_m]), context);
6520
5956
  }
6521
5957
  return contents;
6522
5958
  }, "de_BatchDescribeTypeConfigurationsOutput");
@@ -6655,6 +6091,13 @@ var de_ChangeSetSummary = /* @__PURE__ */ __name((output, context) => {
6655
6091
  }
6656
6092
  return contents;
6657
6093
  }, "de_ChangeSetSummary");
6094
+ var de_ConcurrentResourcesLimitExceededException = /* @__PURE__ */ __name((output, context) => {
6095
+ const contents = {};
6096
+ if (output[_M] != null) {
6097
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
6098
+ }
6099
+ return contents;
6100
+ }, "de_ConcurrentResourcesLimitExceededException");
6658
6101
  var de_ContinueUpdateRollbackOutput = /* @__PURE__ */ __name((output, context) => {
6659
6102
  const contents = {};
6660
6103
  return contents;
@@ -6676,6 +6119,13 @@ var de_CreatedButModifiedException = /* @__PURE__ */ __name((output, context) =>
6676
6119
  }
6677
6120
  return contents;
6678
6121
  }, "de_CreatedButModifiedException");
6122
+ var de_CreateGeneratedTemplateOutput = /* @__PURE__ */ __name((output, context) => {
6123
+ const contents = {};
6124
+ if (output[_GTI] != null) {
6125
+ contents[_GTI] = (0, import_smithy_client.expectString)(output[_GTI]);
6126
+ }
6127
+ return contents;
6128
+ }, "de_CreateGeneratedTemplateOutput");
6679
6129
  var de_CreateStackInstancesOutput = /* @__PURE__ */ __name((output, context) => {
6680
6130
  const contents = {};
6681
6131
  if (output[_OI] != null) {
@@ -6860,6 +6310,45 @@ var de_DescribeChangeSetOutput = /* @__PURE__ */ __name((output, context) => {
6860
6310
  }
6861
6311
  return contents;
6862
6312
  }, "de_DescribeChangeSetOutput");
6313
+ var de_DescribeGeneratedTemplateOutput = /* @__PURE__ */ __name((output, context) => {
6314
+ const contents = {};
6315
+ if (output[_GTI] != null) {
6316
+ contents[_GTI] = (0, import_smithy_client.expectString)(output[_GTI]);
6317
+ }
6318
+ if (output[_GTN] != null) {
6319
+ contents[_GTN] = (0, import_smithy_client.expectString)(output[_GTN]);
6320
+ }
6321
+ if (output.Resources === "") {
6322
+ contents[_R] = [];
6323
+ } else if (output[_R] != null && output[_R][_m] != null) {
6324
+ contents[_R] = de_ResourceDetails((0, import_smithy_client.getArrayIfSingleItem)(output[_R][_m]), context);
6325
+ }
6326
+ if (output[_S] != null) {
6327
+ contents[_S] = (0, import_smithy_client.expectString)(output[_S]);
6328
+ }
6329
+ if (output[_SRt] != null) {
6330
+ contents[_SRt] = (0, import_smithy_client.expectString)(output[_SRt]);
6331
+ }
6332
+ if (output[_CTr] != null) {
6333
+ contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CTr]));
6334
+ }
6335
+ if (output[_LUT] != null) {
6336
+ contents[_LUT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_LUT]));
6337
+ }
6338
+ if (output[_Pr] != null) {
6339
+ contents[_Pr] = de_TemplateProgress(output[_Pr], context);
6340
+ }
6341
+ if (output[_SI] != null) {
6342
+ contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]);
6343
+ }
6344
+ if (output[_TC] != null) {
6345
+ contents[_TC] = de_TemplateConfiguration(output[_TC], context);
6346
+ }
6347
+ if (output[_TW] != null) {
6348
+ contents[_TW] = (0, import_smithy_client.strictParseInt32)(output[_TW]);
6349
+ }
6350
+ return contents;
6351
+ }, "de_DescribeGeneratedTemplateOutput");
6863
6352
  var de_DescribeOrganizationsAccessOutput = /* @__PURE__ */ __name((output, context) => {
6864
6353
  const contents = {};
6865
6354
  if (output[_S] != null) {
@@ -6883,6 +6372,39 @@ var de_DescribePublisherOutput = /* @__PURE__ */ __name((output, context) => {
6883
6372
  }
6884
6373
  return contents;
6885
6374
  }, "de_DescribePublisherOutput");
6375
+ var de_DescribeResourceScanOutput = /* @__PURE__ */ __name((output, context) => {
6376
+ const contents = {};
6377
+ if (output[_RSI] != null) {
6378
+ contents[_RSI] = (0, import_smithy_client.expectString)(output[_RSI]);
6379
+ }
6380
+ if (output[_S] != null) {
6381
+ contents[_S] = (0, import_smithy_client.expectString)(output[_S]);
6382
+ }
6383
+ if (output[_SRt] != null) {
6384
+ contents[_SRt] = (0, import_smithy_client.expectString)(output[_SRt]);
6385
+ }
6386
+ if (output[_ST] != null) {
6387
+ contents[_ST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ST]));
6388
+ }
6389
+ if (output[_ET] != null) {
6390
+ contents[_ET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ET]));
6391
+ }
6392
+ if (output[_PC] != null) {
6393
+ contents[_PC] = (0, import_smithy_client.strictParseFloat)(output[_PC]);
6394
+ }
6395
+ if (output.ResourceTypes === "") {
6396
+ contents[_RTe] = [];
6397
+ } else if (output[_RTe] != null && output[_RTe][_m] != null) {
6398
+ contents[_RTe] = de_ResourceTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_RTe][_m]), context);
6399
+ }
6400
+ if (output[_RSes] != null) {
6401
+ contents[_RSes] = (0, import_smithy_client.strictParseInt32)(output[_RSes]);
6402
+ }
6403
+ if (output[_RRes] != null) {
6404
+ contents[_RRes] = (0, import_smithy_client.strictParseInt32)(output[_RRes]);
6405
+ }
6406
+ return contents;
6407
+ }, "de_DescribeResourceScanOutput");
6886
6408
  var de_DescribeStackDriftDetectionStatusOutput = /* @__PURE__ */ __name((output, context) => {
6887
6409
  const contents = {};
6888
6410
  if (output[_SI] != null) {
@@ -7134,6 +6656,23 @@ var de_Exports = /* @__PURE__ */ __name((output, context) => {
7134
6656
  return de_Export(entry, context);
7135
6657
  });
7136
6658
  }, "de_Exports");
6659
+ var de_GeneratedTemplateNotFoundException = /* @__PURE__ */ __name((output, context) => {
6660
+ const contents = {};
6661
+ if (output[_M] != null) {
6662
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
6663
+ }
6664
+ return contents;
6665
+ }, "de_GeneratedTemplateNotFoundException");
6666
+ var de_GetGeneratedTemplateOutput = /* @__PURE__ */ __name((output, context) => {
6667
+ const contents = {};
6668
+ if (output[_S] != null) {
6669
+ contents[_S] = (0, import_smithy_client.expectString)(output[_S]);
6670
+ }
6671
+ if (output[_TB] != null) {
6672
+ contents[_TB] = (0, import_smithy_client.expectString)(output[_TB]);
6673
+ }
6674
+ return contents;
6675
+ }, "de_GetGeneratedTemplateOutput");
7137
6676
  var de_GetStackPolicyOutput = /* @__PURE__ */ __name((output, context) => {
7138
6677
  const contents = {};
7139
6678
  if (output[_SPB] != null) {
@@ -7237,6 +6776,15 @@ var de_InvalidStateTransitionException = /* @__PURE__ */ __name((output, context
7237
6776
  }
7238
6777
  return contents;
7239
6778
  }, "de_InvalidStateTransitionException");
6779
+ var de_JazzResourceIdentifierProperties = /* @__PURE__ */ __name((output, context) => {
6780
+ return output.reduce((acc, pair) => {
6781
+ if (pair["value"] === null) {
6782
+ return acc;
6783
+ }
6784
+ acc[pair["key"]] = (0, import_smithy_client.expectString)(pair["value"]);
6785
+ return acc;
6786
+ }, {});
6787
+ }, "de_JazzResourceIdentifierProperties");
7240
6788
  var de_LimitExceededException = /* @__PURE__ */ __name((output, context) => {
7241
6789
  const contents = {};
7242
6790
  if (output[_M] != null) {
@@ -7268,6 +6816,18 @@ var de_ListExportsOutput = /* @__PURE__ */ __name((output, context) => {
7268
6816
  }
7269
6817
  return contents;
7270
6818
  }, "de_ListExportsOutput");
6819
+ var de_ListGeneratedTemplatesOutput = /* @__PURE__ */ __name((output, context) => {
6820
+ const contents = {};
6821
+ if (output.Summaries === "") {
6822
+ contents[_Su] = [];
6823
+ } else if (output[_Su] != null && output[_Su][_m] != null) {
6824
+ contents[_Su] = de_TemplateSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_Su][_m]), context);
6825
+ }
6826
+ if (output[_NT] != null) {
6827
+ contents[_NT] = (0, import_smithy_client.expectString)(output[_NT]);
6828
+ }
6829
+ return contents;
6830
+ }, "de_ListGeneratedTemplatesOutput");
7271
6831
  var de_ListImportsOutput = /* @__PURE__ */ __name((output, context) => {
7272
6832
  const contents = {};
7273
6833
  if (output.Imports === "") {
@@ -7280,6 +6840,42 @@ var de_ListImportsOutput = /* @__PURE__ */ __name((output, context) => {
7280
6840
  }
7281
6841
  return contents;
7282
6842
  }, "de_ListImportsOutput");
6843
+ var de_ListResourceScanRelatedResourcesOutput = /* @__PURE__ */ __name((output, context) => {
6844
+ const contents = {};
6845
+ if (output.RelatedResources === "") {
6846
+ contents[_RRel] = [];
6847
+ } else if (output[_RRel] != null && output[_RRel][_m] != null) {
6848
+ contents[_RRel] = de_RelatedResources((0, import_smithy_client.getArrayIfSingleItem)(output[_RRel][_m]), context);
6849
+ }
6850
+ if (output[_NT] != null) {
6851
+ contents[_NT] = (0, import_smithy_client.expectString)(output[_NT]);
6852
+ }
6853
+ return contents;
6854
+ }, "de_ListResourceScanRelatedResourcesOutput");
6855
+ var de_ListResourceScanResourcesOutput = /* @__PURE__ */ __name((output, context) => {
6856
+ const contents = {};
6857
+ if (output.Resources === "") {
6858
+ contents[_R] = [];
6859
+ } else if (output[_R] != null && output[_R][_m] != null) {
6860
+ contents[_R] = de_ScannedResources((0, import_smithy_client.getArrayIfSingleItem)(output[_R][_m]), context);
6861
+ }
6862
+ if (output[_NT] != null) {
6863
+ contents[_NT] = (0, import_smithy_client.expectString)(output[_NT]);
6864
+ }
6865
+ return contents;
6866
+ }, "de_ListResourceScanResourcesOutput");
6867
+ var de_ListResourceScansOutput = /* @__PURE__ */ __name((output, context) => {
6868
+ const contents = {};
6869
+ if (output.ResourceScanSummaries === "") {
6870
+ contents[_RSS] = [];
6871
+ } else if (output[_RSS] != null && output[_RSS][_m] != null) {
6872
+ contents[_RSS] = de_ResourceScanSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_RSS][_m]), context);
6873
+ }
6874
+ if (output[_NT] != null) {
6875
+ contents[_NT] = (0, import_smithy_client.expectString)(output[_NT]);
6876
+ }
6877
+ return contents;
6878
+ }, "de_ListResourceScansOutput");
7283
6879
  var de_ListStackInstanceResourceDriftsOutput = /* @__PURE__ */ __name((output, context) => {
7284
6880
  const contents = {};
7285
6881
  if (output.Summaries === "") {
@@ -7307,9 +6903,9 @@ var de_ListStackInstancesOutput = /* @__PURE__ */ __name((output, context) => {
7307
6903
  var de_ListStackResourcesOutput = /* @__PURE__ */ __name((output, context) => {
7308
6904
  const contents = {};
7309
6905
  if (output.StackResourceSummaries === "") {
7310
- contents[_SRS] = [];
7311
- } else if (output[_SRS] != null && output[_SRS][_m] != null) {
7312
- contents[_SRS] = de_StackResourceSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_SRS][_m]), context);
6906
+ contents[_SRSt] = [];
6907
+ } else if (output[_SRSt] != null && output[_SRSt][_m] != null) {
6908
+ contents[_SRSt] = de_StackResourceSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_SRSt][_m]), context);
7313
6909
  }
7314
6910
  if (output[_NT] != null) {
7315
6911
  contents[_NT] = (0, import_smithy_client.expectString)(output[_NT]);
@@ -7540,8 +7136,8 @@ var de_ParameterDeclaration = /* @__PURE__ */ __name((output, context) => {
7540
7136
  if (output[_D] != null) {
7541
7137
  contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
7542
7138
  }
7543
- if (output[_PC] != null) {
7544
- contents[_PC] = de_ParameterConstraints(output[_PC], context);
7139
+ if (output[_PCa] != null) {
7140
+ contents[_PCa] = de_ParameterConstraints(output[_PCa], context);
7545
7141
  }
7546
7142
  return contents;
7547
7143
  }, "de_ParameterDeclaration");
@@ -7626,6 +7222,11 @@ var de_RegistrationTokenList = /* @__PURE__ */ __name((output, context) => {
7626
7222
  return (0, import_smithy_client.expectString)(entry);
7627
7223
  });
7628
7224
  }, "de_RegistrationTokenList");
7225
+ var de_RelatedResources = /* @__PURE__ */ __name((output, context) => {
7226
+ return (output || []).filter((e) => e != null).map((entry) => {
7227
+ return de_ScannedResource(entry, context);
7228
+ });
7229
+ }, "de_RelatedResources");
7629
7230
  var de_RequiredActivatedType = /* @__PURE__ */ __name((output, context) => {
7630
7231
  const contents = {};
7631
7232
  if (output[_TNA] != null) {
@@ -7663,8 +7264,8 @@ var de_ResourceChange = /* @__PURE__ */ __name((output, context) => {
7663
7264
  if (output[_RTes] != null) {
7664
7265
  contents[_RTes] = (0, import_smithy_client.expectString)(output[_RTes]);
7665
7266
  }
7666
- if (output[_Re] != null) {
7667
- contents[_Re] = (0, import_smithy_client.expectString)(output[_Re]);
7267
+ if (output[_Rep] != null) {
7268
+ contents[_Rep] = (0, import_smithy_client.expectString)(output[_Rep]);
7668
7269
  }
7669
7270
  if (output.Scope === "") {
7670
7271
  contents[_Sco] = [];
@@ -7692,19 +7293,59 @@ var de_ResourceChangeDetail = /* @__PURE__ */ __name((output, context) => {
7692
7293
  if (output[_Ev] != null) {
7693
7294
  contents[_Ev] = (0, import_smithy_client.expectString)(output[_Ev]);
7694
7295
  }
7695
- if (output[_CSh] != null) {
7696
- contents[_CSh] = (0, import_smithy_client.expectString)(output[_CSh]);
7296
+ if (output[_CSh] != null) {
7297
+ contents[_CSh] = (0, import_smithy_client.expectString)(output[_CSh]);
7298
+ }
7299
+ if (output[_CE] != null) {
7300
+ contents[_CE] = (0, import_smithy_client.expectString)(output[_CE]);
7301
+ }
7302
+ return contents;
7303
+ }, "de_ResourceChangeDetail");
7304
+ var de_ResourceChangeDetails = /* @__PURE__ */ __name((output, context) => {
7305
+ return (output || []).filter((e) => e != null).map((entry) => {
7306
+ return de_ResourceChangeDetail(entry, context);
7307
+ });
7308
+ }, "de_ResourceChangeDetails");
7309
+ var de_ResourceDetail = /* @__PURE__ */ __name((output, context) => {
7310
+ const contents = {};
7311
+ if (output[_RTes] != null) {
7312
+ contents[_RTes] = (0, import_smithy_client.expectString)(output[_RTes]);
7313
+ }
7314
+ if (output[_LRI] != null) {
7315
+ contents[_LRI] = (0, import_smithy_client.expectString)(output[_LRI]);
7316
+ }
7317
+ if (output.ResourceIdentifier === "") {
7318
+ contents[_RI] = {};
7319
+ } else if (output[_RI] != null && output[_RI][_e] != null) {
7320
+ contents[_RI] = de_ResourceIdentifierProperties((0, import_smithy_client.getArrayIfSingleItem)(output[_RI][_e]), context);
7321
+ }
7322
+ if (output[_RSeso] != null) {
7323
+ contents[_RSeso] = (0, import_smithy_client.expectString)(output[_RSeso]);
7324
+ }
7325
+ if (output[_RSR] != null) {
7326
+ contents[_RSR] = (0, import_smithy_client.expectString)(output[_RSR]);
7697
7327
  }
7698
- if (output[_CE] != null) {
7699
- contents[_CE] = (0, import_smithy_client.expectString)(output[_CE]);
7328
+ if (output.Warnings === "") {
7329
+ contents[_W] = [];
7330
+ } else if (output[_W] != null && output[_W][_m] != null) {
7331
+ contents[_W] = de_WarningDetails((0, import_smithy_client.getArrayIfSingleItem)(output[_W][_m]), context);
7700
7332
  }
7701
7333
  return contents;
7702
- }, "de_ResourceChangeDetail");
7703
- var de_ResourceChangeDetails = /* @__PURE__ */ __name((output, context) => {
7334
+ }, "de_ResourceDetail");
7335
+ var de_ResourceDetails = /* @__PURE__ */ __name((output, context) => {
7704
7336
  return (output || []).filter((e) => e != null).map((entry) => {
7705
- return de_ResourceChangeDetail(entry, context);
7337
+ return de_ResourceDetail(entry, context);
7706
7338
  });
7707
- }, "de_ResourceChangeDetails");
7339
+ }, "de_ResourceDetails");
7340
+ var de_ResourceIdentifierProperties = /* @__PURE__ */ __name((output, context) => {
7341
+ return output.reduce((acc, pair) => {
7342
+ if (pair["value"] === null) {
7343
+ return acc;
7344
+ }
7345
+ acc[pair["key"]] = (0, import_smithy_client.expectString)(pair["value"]);
7346
+ return acc;
7347
+ }, {});
7348
+ }, "de_ResourceIdentifierProperties");
7708
7349
  var de_ResourceIdentifiers = /* @__PURE__ */ __name((output, context) => {
7709
7350
  return (output || []).filter((e) => e != null).map((entry) => {
7710
7351
  return (0, import_smithy_client.expectString)(entry);
@@ -7732,6 +7373,54 @@ var de_ResourceIdentifierSummary = /* @__PURE__ */ __name((output, context) => {
7732
7373
  }
7733
7374
  return contents;
7734
7375
  }, "de_ResourceIdentifierSummary");
7376
+ var de_ResourceScanInProgressException = /* @__PURE__ */ __name((output, context) => {
7377
+ const contents = {};
7378
+ if (output[_M] != null) {
7379
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
7380
+ }
7381
+ return contents;
7382
+ }, "de_ResourceScanInProgressException");
7383
+ var de_ResourceScanLimitExceededException = /* @__PURE__ */ __name((output, context) => {
7384
+ const contents = {};
7385
+ if (output[_M] != null) {
7386
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
7387
+ }
7388
+ return contents;
7389
+ }, "de_ResourceScanLimitExceededException");
7390
+ var de_ResourceScanNotFoundException = /* @__PURE__ */ __name((output, context) => {
7391
+ const contents = {};
7392
+ if (output[_M] != null) {
7393
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
7394
+ }
7395
+ return contents;
7396
+ }, "de_ResourceScanNotFoundException");
7397
+ var de_ResourceScanSummaries = /* @__PURE__ */ __name((output, context) => {
7398
+ return (output || []).filter((e) => e != null).map((entry) => {
7399
+ return de_ResourceScanSummary(entry, context);
7400
+ });
7401
+ }, "de_ResourceScanSummaries");
7402
+ var de_ResourceScanSummary = /* @__PURE__ */ __name((output, context) => {
7403
+ const contents = {};
7404
+ if (output[_RSI] != null) {
7405
+ contents[_RSI] = (0, import_smithy_client.expectString)(output[_RSI]);
7406
+ }
7407
+ if (output[_S] != null) {
7408
+ contents[_S] = (0, import_smithy_client.expectString)(output[_S]);
7409
+ }
7410
+ if (output[_SRt] != null) {
7411
+ contents[_SRt] = (0, import_smithy_client.expectString)(output[_SRt]);
7412
+ }
7413
+ if (output[_ST] != null) {
7414
+ contents[_ST] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ST]));
7415
+ }
7416
+ if (output[_ET] != null) {
7417
+ contents[_ET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ET]));
7418
+ }
7419
+ if (output[_PC] != null) {
7420
+ contents[_PC] = (0, import_smithy_client.strictParseFloat)(output[_PC]);
7421
+ }
7422
+ return contents;
7423
+ }, "de_ResourceScanSummary");
7735
7424
  var de_ResourceTargetDefinition = /* @__PURE__ */ __name((output, context) => {
7736
7425
  const contents = {};
7737
7426
  if (output[_At] != null) {
@@ -7740,8 +7429,8 @@ var de_ResourceTargetDefinition = /* @__PURE__ */ __name((output, context) => {
7740
7429
  if (output[_N] != null) {
7741
7430
  contents[_N] = (0, import_smithy_client.expectString)(output[_N]);
7742
7431
  }
7743
- if (output[_RRe] != null) {
7744
- contents[_RRe] = (0, import_smithy_client.expectString)(output[_RRe]);
7432
+ if (output[_RReq] != null) {
7433
+ contents[_RReq] = (0, import_smithy_client.expectString)(output[_RReq]);
7745
7434
  }
7746
7435
  return contents;
7747
7436
  }, "de_ResourceTargetDefinition");
@@ -7784,6 +7473,26 @@ var de_RollbackTriggers = /* @__PURE__ */ __name((output, context) => {
7784
7473
  return de_RollbackTrigger(entry, context);
7785
7474
  });
7786
7475
  }, "de_RollbackTriggers");
7476
+ var de_ScannedResource = /* @__PURE__ */ __name((output, context) => {
7477
+ const contents = {};
7478
+ if (output[_RTes] != null) {
7479
+ contents[_RTes] = (0, import_smithy_client.expectString)(output[_RTes]);
7480
+ }
7481
+ if (output.ResourceIdentifier === "") {
7482
+ contents[_RI] = {};
7483
+ } else if (output[_RI] != null && output[_RI][_e] != null) {
7484
+ contents[_RI] = de_JazzResourceIdentifierProperties((0, import_smithy_client.getArrayIfSingleItem)(output[_RI][_e]), context);
7485
+ }
7486
+ if (output[_MBS] != null) {
7487
+ contents[_MBS] = (0, import_smithy_client.parseBoolean)(output[_MBS]);
7488
+ }
7489
+ return contents;
7490
+ }, "de_ScannedResource");
7491
+ var de_ScannedResources = /* @__PURE__ */ __name((output, context) => {
7492
+ return (output || []).filter((e) => e != null).map((entry) => {
7493
+ return de_ScannedResource(entry, context);
7494
+ });
7495
+ }, "de_ScannedResources");
7787
7496
  var de_Scope = /* @__PURE__ */ __name((output, context) => {
7788
7497
  return (output || []).filter((e) => e != null).map((entry) => {
7789
7498
  return (0, import_smithy_client.expectString)(entry);
@@ -7926,8 +7635,8 @@ var de_StackEvent = /* @__PURE__ */ __name((output, context) => {
7926
7635
  if (output[_Ti] != null) {
7927
7636
  contents[_Ti] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_Ti]));
7928
7637
  }
7929
- if (output[_RSes] != null) {
7930
- contents[_RSes] = (0, import_smithy_client.expectString)(output[_RSes]);
7638
+ if (output[_RSeso] != null) {
7639
+ contents[_RSeso] = (0, import_smithy_client.expectString)(output[_RSeso]);
7931
7640
  }
7932
7641
  if (output[_RSR] != null) {
7933
7642
  contents[_RSR] = (0, import_smithy_client.expectString)(output[_RSR]);
@@ -8122,8 +7831,8 @@ var de_StackResource = /* @__PURE__ */ __name((output, context) => {
8122
7831
  if (output[_Ti] != null) {
8123
7832
  contents[_Ti] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_Ti]));
8124
7833
  }
8125
- if (output[_RSes] != null) {
8126
- contents[_RSes] = (0, import_smithy_client.expectString)(output[_RSes]);
7834
+ if (output[_RSeso] != null) {
7835
+ contents[_RSeso] = (0, import_smithy_client.expectString)(output[_RSeso]);
8127
7836
  }
8128
7837
  if (output[_RSR] != null) {
8129
7838
  contents[_RSR] = (0, import_smithy_client.expectString)(output[_RSR]);
@@ -8159,8 +7868,8 @@ var de_StackResourceDetail = /* @__PURE__ */ __name((output, context) => {
8159
7868
  if (output[_LUTa] != null) {
8160
7869
  contents[_LUTa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_LUTa]));
8161
7870
  }
8162
- if (output[_RSes] != null) {
8163
- contents[_RSes] = (0, import_smithy_client.expectString)(output[_RSes]);
7871
+ if (output[_RSeso] != null) {
7872
+ contents[_RSeso] = (0, import_smithy_client.expectString)(output[_RSeso]);
8164
7873
  }
8165
7874
  if (output[_RSR] != null) {
8166
7875
  contents[_RSR] = (0, import_smithy_client.expectString)(output[_RSR]);
@@ -8269,8 +7978,8 @@ var de_StackResourceSummary = /* @__PURE__ */ __name((output, context) => {
8269
7978
  if (output[_LUTa] != null) {
8270
7979
  contents[_LUTa] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_LUTa]));
8271
7980
  }
8272
- if (output[_RSes] != null) {
8273
- contents[_RSes] = (0, import_smithy_client.expectString)(output[_RSes]);
7981
+ if (output[_RSeso] != null) {
7982
+ contents[_RSeso] = (0, import_smithy_client.expectString)(output[_RSeso]);
8274
7983
  }
8275
7984
  if (output[_RSR] != null) {
8276
7985
  contents[_RSR] = (0, import_smithy_client.expectString)(output[_RSR]);
@@ -8347,9 +8056,9 @@ var de_StackSet = /* @__PURE__ */ __name((output, context) => {
8347
8056
  contents[_ME] = de_ManagedExecution(output[_ME], context);
8348
8057
  }
8349
8058
  if (output.Regions === "") {
8350
- contents[_R] = [];
8351
- } else if (output[_R] != null && output[_R][_m] != null) {
8352
- contents[_R] = de_RegionList((0, import_smithy_client.getArrayIfSingleItem)(output[_R][_m]), context);
8059
+ contents[_Re] = [];
8060
+ } else if (output[_Re] != null && output[_Re][_m] != null) {
8061
+ contents[_Re] = de_RegionList((0, import_smithy_client.getArrayIfSingleItem)(output[_Re][_m]), context);
8353
8062
  }
8354
8063
  return contents;
8355
8064
  }, "de_StackSet");
@@ -8424,8 +8133,8 @@ var de_StackSetOperation = /* @__PURE__ */ __name((output, context) => {
8424
8133
  if (output[_CTre] != null) {
8425
8134
  contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CTre]));
8426
8135
  }
8427
- if (output[_ET] != null) {
8428
- contents[_ET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ET]));
8136
+ if (output[_ETn] != null) {
8137
+ contents[_ETn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ETn]));
8429
8138
  }
8430
8139
  if (output[_DTep] != null) {
8431
8140
  contents[_DTep] = de_DeploymentTargets(output[_DTep], context);
@@ -8521,8 +8230,8 @@ var de_StackSetOperationSummary = /* @__PURE__ */ __name((output, context) => {
8521
8230
  if (output[_CTre] != null) {
8522
8231
  contents[_CTre] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CTre]));
8523
8232
  }
8524
- if (output[_ET] != null) {
8525
- contents[_ET] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ET]));
8233
+ if (output[_ETn] != null) {
8234
+ contents[_ETn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_ETn]));
8526
8235
  }
8527
8236
  if (output[_SRt] != null) {
8528
8237
  contents[_SRt] = (0, import_smithy_client.expectString)(output[_SRt]);
@@ -8625,6 +8334,13 @@ var de_StaleRequestException = /* @__PURE__ */ __name((output, context) => {
8625
8334
  }
8626
8335
  return contents;
8627
8336
  }, "de_StaleRequestException");
8337
+ var de_StartResourceScanOutput = /* @__PURE__ */ __name((output, context) => {
8338
+ const contents = {};
8339
+ if (output[_RSI] != null) {
8340
+ contents[_RSI] = (0, import_smithy_client.expectString)(output[_RSI]);
8341
+ }
8342
+ return contents;
8343
+ }, "de_StartResourceScanOutput");
8628
8344
  var de_StopStackSetOperationOutput = /* @__PURE__ */ __name((output, context) => {
8629
8345
  const contents = {};
8630
8346
  return contents;
@@ -8649,6 +8365,16 @@ var de_Tags = /* @__PURE__ */ __name((output, context) => {
8649
8365
  return de_Tag(entry, context);
8650
8366
  });
8651
8367
  }, "de_Tags");
8368
+ var de_TemplateConfiguration = /* @__PURE__ */ __name((output, context) => {
8369
+ const contents = {};
8370
+ if (output[_DPe] != null) {
8371
+ contents[_DPe] = (0, import_smithy_client.expectString)(output[_DPe]);
8372
+ }
8373
+ if (output[_URP] != null) {
8374
+ contents[_URP] = (0, import_smithy_client.expectString)(output[_URP]);
8375
+ }
8376
+ return contents;
8377
+ }, "de_TemplateConfiguration");
8652
8378
  var de_TemplateParameter = /* @__PURE__ */ __name((output, context) => {
8653
8379
  const contents = {};
8654
8380
  if (output[_PK] != null) {
@@ -8670,6 +8396,52 @@ var de_TemplateParameters = /* @__PURE__ */ __name((output, context) => {
8670
8396
  return de_TemplateParameter(entry, context);
8671
8397
  });
8672
8398
  }, "de_TemplateParameters");
8399
+ var de_TemplateProgress = /* @__PURE__ */ __name((output, context) => {
8400
+ const contents = {};
8401
+ if (output[_RSesou] != null) {
8402
+ contents[_RSesou] = (0, import_smithy_client.strictParseInt32)(output[_RSesou]);
8403
+ }
8404
+ if (output[_RF] != null) {
8405
+ contents[_RF] = (0, import_smithy_client.strictParseInt32)(output[_RF]);
8406
+ }
8407
+ if (output[_RPes] != null) {
8408
+ contents[_RPes] = (0, import_smithy_client.strictParseInt32)(output[_RPes]);
8409
+ }
8410
+ if (output[_RPeso] != null) {
8411
+ contents[_RPeso] = (0, import_smithy_client.strictParseInt32)(output[_RPeso]);
8412
+ }
8413
+ return contents;
8414
+ }, "de_TemplateProgress");
8415
+ var de_TemplateSummaries = /* @__PURE__ */ __name((output, context) => {
8416
+ return (output || []).filter((e) => e != null).map((entry) => {
8417
+ return de_TemplateSummary(entry, context);
8418
+ });
8419
+ }, "de_TemplateSummaries");
8420
+ var de_TemplateSummary = /* @__PURE__ */ __name((output, context) => {
8421
+ const contents = {};
8422
+ if (output[_GTI] != null) {
8423
+ contents[_GTI] = (0, import_smithy_client.expectString)(output[_GTI]);
8424
+ }
8425
+ if (output[_GTN] != null) {
8426
+ contents[_GTN] = (0, import_smithy_client.expectString)(output[_GTN]);
8427
+ }
8428
+ if (output[_S] != null) {
8429
+ contents[_S] = (0, import_smithy_client.expectString)(output[_S]);
8430
+ }
8431
+ if (output[_SRt] != null) {
8432
+ contents[_SRt] = (0, import_smithy_client.expectString)(output[_SRt]);
8433
+ }
8434
+ if (output[_CTr] != null) {
8435
+ contents[_CTr] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CTr]));
8436
+ }
8437
+ if (output[_LUT] != null) {
8438
+ contents[_LUT] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_LUT]));
8439
+ }
8440
+ if (output[_NOR] != null) {
8441
+ contents[_NOR] = (0, import_smithy_client.strictParseInt32)(output[_NOR]);
8442
+ }
8443
+ return contents;
8444
+ }, "de_TemplateSummary");
8673
8445
  var de_TestTypeOutput = /* @__PURE__ */ __name((output, context) => {
8674
8446
  const contents = {};
8675
8447
  if (output[_TVA] != null) {
@@ -8838,6 +8610,13 @@ var de_UnprocessedTypeConfigurations = /* @__PURE__ */ __name((output, context)
8838
8610
  return de_TypeConfigurationIdentifier(entry, context);
8839
8611
  });
8840
8612
  }, "de_UnprocessedTypeConfigurations");
8613
+ var de_UpdateGeneratedTemplateOutput = /* @__PURE__ */ __name((output, context) => {
8614
+ const contents = {};
8615
+ if (output[_GTI] != null) {
8616
+ contents[_GTI] = (0, import_smithy_client.expectString)(output[_GTI]);
8617
+ }
8618
+ return contents;
8619
+ }, "de_UpdateGeneratedTemplateOutput");
8841
8620
  var de_UpdateStackInstancesOutput = /* @__PURE__ */ __name((output, context) => {
8842
8621
  const contents = {};
8843
8622
  if (output[_OI] != null) {
@@ -8891,6 +8670,41 @@ var de_ValidateTemplateOutput = /* @__PURE__ */ __name((output, context) => {
8891
8670
  }
8892
8671
  return contents;
8893
8672
  }, "de_ValidateTemplateOutput");
8673
+ var de_WarningDetail = /* @__PURE__ */ __name((output, context) => {
8674
+ const contents = {};
8675
+ if (output[_T] != null) {
8676
+ contents[_T] = (0, import_smithy_client.expectString)(output[_T]);
8677
+ }
8678
+ if (output.Properties === "") {
8679
+ contents[_Pro] = [];
8680
+ } else if (output[_Pro] != null && output[_Pro][_m] != null) {
8681
+ contents[_Pro] = de_WarningProperties((0, import_smithy_client.getArrayIfSingleItem)(output[_Pro][_m]), context);
8682
+ }
8683
+ return contents;
8684
+ }, "de_WarningDetail");
8685
+ var de_WarningDetails = /* @__PURE__ */ __name((output, context) => {
8686
+ return (output || []).filter((e) => e != null).map((entry) => {
8687
+ return de_WarningDetail(entry, context);
8688
+ });
8689
+ }, "de_WarningDetails");
8690
+ var de_WarningProperties = /* @__PURE__ */ __name((output, context) => {
8691
+ return (output || []).filter((e) => e != null).map((entry) => {
8692
+ return de_WarningProperty(entry, context);
8693
+ });
8694
+ }, "de_WarningProperties");
8695
+ var de_WarningProperty = /* @__PURE__ */ __name((output, context) => {
8696
+ const contents = {};
8697
+ if (output[_PPr] != null) {
8698
+ contents[_PPr] = (0, import_smithy_client.expectString)(output[_PPr]);
8699
+ }
8700
+ if (output[_Req] != null) {
8701
+ contents[_Req] = (0, import_smithy_client.parseBoolean)(output[_Req]);
8702
+ }
8703
+ if (output[_D] != null) {
8704
+ contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
8705
+ }
8706
+ return contents;
8707
+ }, "de_WarningProperty");
8894
8708
  var de_Warnings = /* @__PURE__ */ __name((output, context) => {
8895
8709
  const contents = {};
8896
8710
  if (output.UnrecognizedResourceTypes === "") {
@@ -8937,6 +8751,7 @@ var _AGR = "AccountGateResult";
8937
8751
  var _AL = "AccountLimits";
8938
8752
  var _AOA = "ActivateOrganizationsAccess";
8939
8753
  var _AP = "ActualProperties";
8754
+ var _AR = "AddResources";
8940
8755
  var _ARARN = "AdministrationRoleARN";
8941
8756
  var _AT = "ActivateType";
8942
8757
  var _ATAC = "AcceptTermsAndConditions";
@@ -8959,6 +8774,7 @@ var _CAon = "ConfigurationAlias";
8959
8774
  var _CAonf = "ConfigurationArn";
8960
8775
  var _CCS = "CreateChangeSet";
8961
8776
  var _CE = "CausingEntity";
8777
+ var _CGT = "CreateGeneratedTemplate";
8962
8778
  var _CM = "ConcurrencyMode";
8963
8779
  var _COS = "CurrentOperationStatus";
8964
8780
  var _CR = "CapabilitiesReason";
@@ -8985,11 +8801,15 @@ var _DCS = "DeleteChangeSet";
8985
8801
  var _DCSH = "DescribeChangeSetHooks";
8986
8802
  var _DCSe = "DescribeChangeSet";
8987
8803
  var _DDS = "DriftDetectionStatus";
8804
+ var _DGT = "DeleteGeneratedTemplate";
8805
+ var _DGTe = "DescribeGeneratedTemplate";
8988
8806
  var _DI = "DriftInformation";
8989
8807
  var _DOA = "DeactivateOrganizationsAccess";
8990
8808
  var _DOAe = "DescribeOrganizationsAccess";
8991
8809
  var _DP = "DescribePublisher";
8810
+ var _DPe = "DeletionPolicy";
8992
8811
  var _DR = "DisableRollback";
8812
+ var _DRS = "DescribeResourceScan";
8993
8813
  var _DS = "DeleteStack";
8994
8814
  var _DSD = "DetectStackDrift";
8995
8815
  var _DSDDS = "DescribeStackDriftDetectionStatus";
@@ -9035,20 +8855,25 @@ var _ERA = "ExecutionRoleArn";
9035
8855
  var _ERN = "ExecutionRoleName";
9036
8856
  var _ES = "ExecutionStatus";
9037
8857
  var _ESI = "ExportingStackId";
9038
- var _ET = "EndTimestamp";
8858
+ var _ET = "EndTime";
9039
8859
  var _ETC = "EstimateTemplateCost";
9040
8860
  var _ETP = "EnableTerminationProtection";
8861
+ var _ETn = "EndTimestamp";
9041
8862
  var _EV = "ExpectedValue";
9042
8863
  var _Er = "Errors";
9043
8864
  var _Ev = "Evaluation";
9044
8865
  var _Ex = "Exports";
9045
- var _F = "Filters";
8866
+ var _F = "Format";
9046
8867
  var _FM = "FailureMode";
9047
8868
  var _FSIC = "FailedStackInstancesCount";
9048
8869
  var _FTC = "FailureToleranceCount";
9049
8870
  var _FTP = "FailureTolerancePercentage";
8871
+ var _Fi = "Filters";
8872
+ var _GGT = "GetGeneratedTemplate";
9050
8873
  var _GSP = "GetStackPolicy";
9051
8874
  var _GT = "GetTemplate";
8875
+ var _GTI = "GeneratedTemplateId";
8876
+ var _GTN = "GeneratedTemplateName";
9052
8877
  var _GTS = "GetTemplateSummary";
9053
8878
  var _H = "Hooks";
9054
8879
  var _HFM = "HookFailureMode";
@@ -9077,6 +8902,7 @@ var _LDB = "LogDeliveryBucket";
9077
8902
  var _LDCT = "LastDriftCheckTimestamp";
9078
8903
  var _LE = "ListExports";
9079
8904
  var _LGN = "LogGroupName";
8905
+ var _LGT = "ListGeneratedTemplates";
9080
8906
  var _LI = "ListImports";
9081
8907
  var _LIH = "LogicalIdHierarchy";
9082
8908
  var _LOI = "LastOperationId";
@@ -9084,6 +8910,9 @@ var _LPV = "LatestPublicVersion";
9084
8910
  var _LRA = "LogRoleArn";
9085
8911
  var _LRI = "LogicalResourceId";
9086
8912
  var _LRIo = "LogicalResourceIds";
8913
+ var _LRS = "ListResourceScans";
8914
+ var _LRSR = "ListResourceScanResources";
8915
+ var _LRSRR = "ListResourceScanRelatedResources";
9087
8916
  var _LS = "ListStacks";
9088
8917
  var _LSI = "ListStackInstances";
9089
8918
  var _LSIRD = "ListStackInstanceResourceDrifts";
@@ -9098,6 +8927,7 @@ var _LU = "LastUpdated";
9098
8927
  var _LUT = "LastUpdatedTime";
9099
8928
  var _LUTa = "LastUpdatedTimestamp";
9100
8929
  var _M = "Message";
8930
+ var _MBS = "ManagedByStack";
9101
8931
  var _MCC = "MaxConcurrentCount";
9102
8932
  var _MCP = "MaxConcurrentPercentage";
9103
8933
  var _ME = "ManagedExecution";
@@ -9109,6 +8939,8 @@ var _Me = "Metadata";
9109
8939
  var _N = "Name";
9110
8940
  var _NARN = "NotificationARNs";
9111
8941
  var _NE = "NoEcho";
8942
+ var _NGTN = "NewGeneratedTemplateName";
8943
+ var _NOR = "NumberOfResources";
9112
8944
  var _NT = "NextToken";
9113
8945
  var _O = "Outputs";
9114
8946
  var _OF = "OnFailure";
@@ -9123,8 +8955,9 @@ var _OUI = "OrganizationalUnitIds";
9123
8955
  var _OUIr = "OrganizationalUnitId";
9124
8956
  var _OV = "OutputValue";
9125
8957
  var _P = "Parameters";
9126
- var _PC = "ParameterConstraints";
8958
+ var _PC = "PercentageCompleted";
9127
8959
  var _PCSI = "ParentChangeSetId";
8960
+ var _PCa = "ParameterConstraints";
9128
8961
  var _PD = "PropertyDifferences";
9129
8962
  var _PI = "PublisherId";
9130
8963
  var _PIa = "ParentId";
@@ -9145,8 +8978,11 @@ var _PTa = "ParameterType";
9145
8978
  var _PTr = "ProvisioningType";
9146
8979
  var _PV = "ParameterValue";
9147
8980
  var _PVN = "PublicVersionNumber";
9148
- var _R = "Regions";
8981
+ var _Pr = "Progress";
8982
+ var _Pro = "Properties";
8983
+ var _R = "Resources";
9149
8984
  var _RA = "ResourceAction";
8985
+ var _RAR = "RefreshAllResources";
9150
8986
  var _RARN = "RoleARN";
9151
8987
  var _RAT = "RequiredActivatedTypes";
9152
8988
  var _RC = "RollbackConfiguration";
@@ -9154,6 +8990,7 @@ var _RCSI = "RootChangeSetId";
9154
8990
  var _RCT = "RegionConcurrencyType";
9155
8991
  var _RCe = "ResourceChange";
9156
8992
  var _REOC = "RetainExceptOnCreate";
8993
+ var _RF = "ResourcesFailed";
9157
8994
  var _RHP = "RecordHandlerProgress";
9158
8995
  var _RI = "ResourceIdentifier";
9159
8996
  var _RIS = "ResourceIdentifierSummaries";
@@ -9163,26 +9000,38 @@ var _RM = "ResourceModel";
9163
9000
  var _RO = "RegionOrder";
9164
9001
  var _RP = "RegisterPublisher";
9165
9002
  var _RPe = "ResourceProperties";
9003
+ var _RPes = "ResourcesProcessing";
9004
+ var _RPeso = "ResourcesPending";
9166
9005
  var _RR = "RetainResources";
9167
- var _RRe = "RequiresRecreation";
9006
+ var _RRe = "RemoveResources";
9007
+ var _RRel = "RelatedResources";
9008
+ var _RReq = "RequiresRecreation";
9009
+ var _RRes = "ResourcesRead";
9168
9010
  var _RS = "RollbackStack";
9169
9011
  var _RSF = "RegistrationStatusFilter";
9012
+ var _RSI = "ResourceScanId";
9170
9013
  var _RSOAR = "RetainStacksOnAccountRemoval";
9171
9014
  var _RSR = "ResourceStatusReason";
9015
+ var _RSS = "ResourceScanSummaries";
9172
9016
  var _RSe = "RetainStacks";
9173
- var _RSes = "ResourceStatus";
9017
+ var _RSes = "ResourcesScanned";
9018
+ var _RSeso = "ResourceStatus";
9019
+ var _RSesou = "ResourcesSucceeded";
9174
9020
  var _RT = "RegisterType";
9175
9021
  var _RTD = "ResourceTargetDetails";
9176
9022
  var _RTI = "ResourcesToImport";
9177
9023
  var _RTL = "RegistrationTokenList";
9024
+ var _RTP = "ResourceTypePrefix";
9178
9025
  var _RTS = "ResourcesToSkip";
9179
9026
  var _RTe = "ResourceTypes";
9180
9027
  var _RTeg = "RegistrationToken";
9181
9028
  var _RTes = "ResourceType";
9182
9029
  var _RTo = "RollbackTriggers";
9183
9030
  var _RV = "ResolvedValue";
9184
- var _Re = "Replacement";
9031
+ var _Re = "Regions";
9185
9032
  var _Reg = "Region";
9033
+ var _Rep = "Replacement";
9034
+ var _Req = "Required";
9186
9035
  var _S = "Status";
9187
9036
  var _SA = "StagesAvailable";
9188
9037
  var _SD = "StatusDetails";
@@ -9211,7 +9060,8 @@ var _SRDS = "StackResourceDriftStatus";
9211
9060
  var _SRDSF = "StackResourceDriftStatusFilters";
9212
9061
  var _SRDt = "StackResourceDetail";
9213
9062
  var _SRDta = "StackResourceDrift";
9214
- var _SRS = "StackResourceSummaries";
9063
+ var _SRS = "StartResourceScan";
9064
+ var _SRSt = "StackResourceSummaries";
9215
9065
  var _SRt = "StatusReason";
9216
9066
  var _SRta = "StackResources";
9217
9067
  var _SS = "StackSet";
@@ -9226,6 +9076,7 @@ var _SSR = "StackStatusReason";
9226
9076
  var _SSSO = "StopStackSetOperation";
9227
9077
  var _SSt = "StackSummaries";
9228
9078
  var _SSta = "StackStatus";
9079
+ var _ST = "StartTime";
9229
9080
  var _STC = "SetTypeConfiguration";
9230
9081
  var _STDV = "SetTypeDefaultVersion";
9231
9082
  var _SU = "SourceUrl";
@@ -9236,17 +9087,19 @@ var _Su = "Summaries";
9236
9087
  var _T = "Type";
9237
9088
  var _TA = "TypeArn";
9238
9089
  var _TB = "TemplateBody";
9239
- var _TC = "TypeConfigurations";
9090
+ var _TC = "TemplateConfiguration";
9240
9091
  var _TCA = "TypeConfigurationAlias";
9241
9092
  var _TCAy = "TypeConfigurationArn";
9242
9093
  var _TCI = "TypeConfigurationIdentifiers";
9243
9094
  var _TCIy = "TypeConfigurationIdentifier";
9244
9095
  var _TCVI = "TypeConfigurationVersionId";
9245
9096
  var _TCi = "TimeCreated";
9097
+ var _TCy = "TypeConfigurations";
9246
9098
  var _TD = "TargetDetails";
9247
9099
  var _TDe = "TemplateDescription";
9248
9100
  var _TH = "TypeHierarchy";
9249
9101
  var _TIM = "TimeoutInMinutes";
9102
+ var _TK = "TagKey";
9250
9103
  var _TN = "TypeName";
9251
9104
  var _TNA = "TypeNameAlias";
9252
9105
  var _TNP = "TypeNamePrefix";
@@ -9260,16 +9113,20 @@ var _TTSD = "TypeTestsStatusDescription";
9260
9113
  var _TTa = "TargetType";
9261
9114
  var _TURL = "TemplateURL";
9262
9115
  var _TURTAW = "TreatUnrecognizedResourceTypesAsWarnings";
9116
+ var _TV = "TagValue";
9263
9117
  var _TVA = "TypeVersionArn";
9264
9118
  var _TVI = "TypeVersionId";
9265
9119
  var _TVS = "TypeVersionSummaries";
9120
+ var _TW = "TotalWarnings";
9266
9121
  var _Ta = "Tags";
9267
9122
  var _Tar = "Target";
9268
9123
  var _Ti = "Timestamp";
9269
9124
  var _U = "Url";
9125
+ var _UGT = "UpdateGeneratedTemplate";
9270
9126
  var _UI = "UniqueId";
9271
9127
  var _UPT = "UsePreviousTemplate";
9272
9128
  var _UPV = "UsePreviousValue";
9129
+ var _URP = "UpdateReplacePolicy";
9273
9130
  var _URT = "UnrecognizedResourceTypes";
9274
9131
  var _US = "UpdateStack";
9275
9132
  var _USI = "UpdateStackInstances";
@@ -9284,6 +9141,7 @@ var _Va = "Values";
9284
9141
  var _Val = "Value";
9285
9142
  var _Vi = "Visibility";
9286
9143
  var _W = "Warnings";
9144
+ var _e = "entry";
9287
9145
  var _m = "member";
9288
9146
  var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
9289
9147
  if (encoded.length) {
@@ -9426,6 +9284,23 @@ var _CreateChangeSetCommand = class _CreateChangeSetCommand extends import_smith
9426
9284
  __name(_CreateChangeSetCommand, "CreateChangeSetCommand");
9427
9285
  var CreateChangeSetCommand = _CreateChangeSetCommand;
9428
9286
 
9287
+ // src/commands/CreateGeneratedTemplateCommand.ts
9288
+
9289
+
9290
+
9291
+
9292
+ var _CreateGeneratedTemplateCommand = class _CreateGeneratedTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
9293
+ ...commonParams
9294
+ }).m(function(Command, cs, config, o) {
9295
+ return [
9296
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
9297
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
9298
+ ];
9299
+ }).s("CloudFormation", "CreateGeneratedTemplate", {}).n("CloudFormationClient", "CreateGeneratedTemplateCommand").f(void 0, void 0).ser(se_CreateGeneratedTemplateCommand).de(de_CreateGeneratedTemplateCommand).build() {
9300
+ };
9301
+ __name(_CreateGeneratedTemplateCommand, "CreateGeneratedTemplateCommand");
9302
+ var CreateGeneratedTemplateCommand = _CreateGeneratedTemplateCommand;
9303
+
9429
9304
  // src/commands/CreateStackCommand.ts
9430
9305
 
9431
9306
 
@@ -9528,6 +9403,23 @@ var _DeleteChangeSetCommand = class _DeleteChangeSetCommand extends import_smith
9528
9403
  __name(_DeleteChangeSetCommand, "DeleteChangeSetCommand");
9529
9404
  var DeleteChangeSetCommand = _DeleteChangeSetCommand;
9530
9405
 
9406
+ // src/commands/DeleteGeneratedTemplateCommand.ts
9407
+
9408
+
9409
+
9410
+
9411
+ var _DeleteGeneratedTemplateCommand = class _DeleteGeneratedTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
9412
+ ...commonParams
9413
+ }).m(function(Command, cs, config, o) {
9414
+ return [
9415
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
9416
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
9417
+ ];
9418
+ }).s("CloudFormation", "DeleteGeneratedTemplate", {}).n("CloudFormationClient", "DeleteGeneratedTemplateCommand").f(void 0, void 0).ser(se_DeleteGeneratedTemplateCommand).de(de_DeleteGeneratedTemplateCommand).build() {
9419
+ };
9420
+ __name(_DeleteGeneratedTemplateCommand, "DeleteGeneratedTemplateCommand");
9421
+ var DeleteGeneratedTemplateCommand = _DeleteGeneratedTemplateCommand;
9422
+
9531
9423
  // src/commands/DeleteStackCommand.ts
9532
9424
 
9533
9425
 
@@ -9647,6 +9539,23 @@ var _DescribeChangeSetHooksCommand = class _DescribeChangeSetHooksCommand extend
9647
9539
  __name(_DescribeChangeSetHooksCommand, "DescribeChangeSetHooksCommand");
9648
9540
  var DescribeChangeSetHooksCommand = _DescribeChangeSetHooksCommand;
9649
9541
 
9542
+ // src/commands/DescribeGeneratedTemplateCommand.ts
9543
+
9544
+
9545
+
9546
+
9547
+ var _DescribeGeneratedTemplateCommand = class _DescribeGeneratedTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
9548
+ ...commonParams
9549
+ }).m(function(Command, cs, config, o) {
9550
+ return [
9551
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
9552
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
9553
+ ];
9554
+ }).s("CloudFormation", "DescribeGeneratedTemplate", {}).n("CloudFormationClient", "DescribeGeneratedTemplateCommand").f(void 0, void 0).ser(se_DescribeGeneratedTemplateCommand).de(de_DescribeGeneratedTemplateCommand).build() {
9555
+ };
9556
+ __name(_DescribeGeneratedTemplateCommand, "DescribeGeneratedTemplateCommand");
9557
+ var DescribeGeneratedTemplateCommand = _DescribeGeneratedTemplateCommand;
9558
+
9650
9559
  // src/commands/DescribeOrganizationsAccessCommand.ts
9651
9560
 
9652
9561
 
@@ -9681,6 +9590,23 @@ var _DescribePublisherCommand = class _DescribePublisherCommand extends import_s
9681
9590
  __name(_DescribePublisherCommand, "DescribePublisherCommand");
9682
9591
  var DescribePublisherCommand = _DescribePublisherCommand;
9683
9592
 
9593
+ // src/commands/DescribeResourceScanCommand.ts
9594
+
9595
+
9596
+
9597
+
9598
+ var _DescribeResourceScanCommand = class _DescribeResourceScanCommand extends import_smithy_client.Command.classBuilder().ep({
9599
+ ...commonParams
9600
+ }).m(function(Command, cs, config, o) {
9601
+ return [
9602
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
9603
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
9604
+ ];
9605
+ }).s("CloudFormation", "DescribeResourceScan", {}).n("CloudFormationClient", "DescribeResourceScanCommand").f(void 0, void 0).ser(se_DescribeResourceScanCommand).de(de_DescribeResourceScanCommand).build() {
9606
+ };
9607
+ __name(_DescribeResourceScanCommand, "DescribeResourceScanCommand");
9608
+ var DescribeResourceScanCommand = _DescribeResourceScanCommand;
9609
+
9684
9610
  // src/commands/DescribeStackDriftDetectionStatusCommand.ts
9685
9611
 
9686
9612
 
@@ -9953,6 +9879,23 @@ var _ExecuteChangeSetCommand = class _ExecuteChangeSetCommand extends import_smi
9953
9879
  __name(_ExecuteChangeSetCommand, "ExecuteChangeSetCommand");
9954
9880
  var ExecuteChangeSetCommand = _ExecuteChangeSetCommand;
9955
9881
 
9882
+ // src/commands/GetGeneratedTemplateCommand.ts
9883
+
9884
+
9885
+
9886
+
9887
+ var _GetGeneratedTemplateCommand = class _GetGeneratedTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
9888
+ ...commonParams
9889
+ }).m(function(Command, cs, config, o) {
9890
+ return [
9891
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
9892
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
9893
+ ];
9894
+ }).s("CloudFormation", "GetGeneratedTemplate", {}).n("CloudFormationClient", "GetGeneratedTemplateCommand").f(void 0, void 0).ser(se_GetGeneratedTemplateCommand).de(de_GetGeneratedTemplateCommand).build() {
9895
+ };
9896
+ __name(_GetGeneratedTemplateCommand, "GetGeneratedTemplateCommand");
9897
+ var GetGeneratedTemplateCommand = _GetGeneratedTemplateCommand;
9898
+
9956
9899
  // src/commands/GetStackPolicyCommand.ts
9957
9900
 
9958
9901
 
@@ -10055,6 +9998,23 @@ var _ListExportsCommand = class _ListExportsCommand extends import_smithy_client
10055
9998
  __name(_ListExportsCommand, "ListExportsCommand");
10056
9999
  var ListExportsCommand = _ListExportsCommand;
10057
10000
 
10001
+ // src/commands/ListGeneratedTemplatesCommand.ts
10002
+
10003
+
10004
+
10005
+
10006
+ var _ListGeneratedTemplatesCommand = class _ListGeneratedTemplatesCommand extends import_smithy_client.Command.classBuilder().ep({
10007
+ ...commonParams
10008
+ }).m(function(Command, cs, config, o) {
10009
+ return [
10010
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10011
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10012
+ ];
10013
+ }).s("CloudFormation", "ListGeneratedTemplates", {}).n("CloudFormationClient", "ListGeneratedTemplatesCommand").f(void 0, void 0).ser(se_ListGeneratedTemplatesCommand).de(de_ListGeneratedTemplatesCommand).build() {
10014
+ };
10015
+ __name(_ListGeneratedTemplatesCommand, "ListGeneratedTemplatesCommand");
10016
+ var ListGeneratedTemplatesCommand = _ListGeneratedTemplatesCommand;
10017
+
10058
10018
  // src/commands/ListImportsCommand.ts
10059
10019
 
10060
10020
 
@@ -10072,6 +10032,57 @@ var _ListImportsCommand = class _ListImportsCommand extends import_smithy_client
10072
10032
  __name(_ListImportsCommand, "ListImportsCommand");
10073
10033
  var ListImportsCommand = _ListImportsCommand;
10074
10034
 
10035
+ // src/commands/ListResourceScanRelatedResourcesCommand.ts
10036
+
10037
+
10038
+
10039
+
10040
+ var _ListResourceScanRelatedResourcesCommand = class _ListResourceScanRelatedResourcesCommand extends import_smithy_client.Command.classBuilder().ep({
10041
+ ...commonParams
10042
+ }).m(function(Command, cs, config, o) {
10043
+ return [
10044
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10045
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10046
+ ];
10047
+ }).s("CloudFormation", "ListResourceScanRelatedResources", {}).n("CloudFormationClient", "ListResourceScanRelatedResourcesCommand").f(void 0, void 0).ser(se_ListResourceScanRelatedResourcesCommand).de(de_ListResourceScanRelatedResourcesCommand).build() {
10048
+ };
10049
+ __name(_ListResourceScanRelatedResourcesCommand, "ListResourceScanRelatedResourcesCommand");
10050
+ var ListResourceScanRelatedResourcesCommand = _ListResourceScanRelatedResourcesCommand;
10051
+
10052
+ // src/commands/ListResourceScanResourcesCommand.ts
10053
+
10054
+
10055
+
10056
+
10057
+ var _ListResourceScanResourcesCommand = class _ListResourceScanResourcesCommand extends import_smithy_client.Command.classBuilder().ep({
10058
+ ...commonParams
10059
+ }).m(function(Command, cs, config, o) {
10060
+ return [
10061
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10062
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10063
+ ];
10064
+ }).s("CloudFormation", "ListResourceScanResources", {}).n("CloudFormationClient", "ListResourceScanResourcesCommand").f(void 0, void 0).ser(se_ListResourceScanResourcesCommand).de(de_ListResourceScanResourcesCommand).build() {
10065
+ };
10066
+ __name(_ListResourceScanResourcesCommand, "ListResourceScanResourcesCommand");
10067
+ var ListResourceScanResourcesCommand = _ListResourceScanResourcesCommand;
10068
+
10069
+ // src/commands/ListResourceScansCommand.ts
10070
+
10071
+
10072
+
10073
+
10074
+ var _ListResourceScansCommand = class _ListResourceScansCommand extends import_smithy_client.Command.classBuilder().ep({
10075
+ ...commonParams
10076
+ }).m(function(Command, cs, config, o) {
10077
+ return [
10078
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10079
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10080
+ ];
10081
+ }).s("CloudFormation", "ListResourceScans", {}).n("CloudFormationClient", "ListResourceScansCommand").f(void 0, void 0).ser(se_ListResourceScansCommand).de(de_ListResourceScansCommand).build() {
10082
+ };
10083
+ __name(_ListResourceScansCommand, "ListResourceScansCommand");
10084
+ var ListResourceScansCommand = _ListResourceScansCommand;
10085
+
10075
10086
  // src/commands/ListStackInstanceResourceDriftsCommand.ts
10076
10087
 
10077
10088
 
@@ -10395,6 +10406,23 @@ var _SignalResourceCommand = class _SignalResourceCommand extends import_smithy_
10395
10406
  __name(_SignalResourceCommand, "SignalResourceCommand");
10396
10407
  var SignalResourceCommand = _SignalResourceCommand;
10397
10408
 
10409
+ // src/commands/StartResourceScanCommand.ts
10410
+
10411
+
10412
+
10413
+
10414
+ var _StartResourceScanCommand = class _StartResourceScanCommand extends import_smithy_client.Command.classBuilder().ep({
10415
+ ...commonParams
10416
+ }).m(function(Command, cs, config, o) {
10417
+ return [
10418
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10419
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10420
+ ];
10421
+ }).s("CloudFormation", "StartResourceScan", {}).n("CloudFormationClient", "StartResourceScanCommand").f(void 0, void 0).ser(se_StartResourceScanCommand).de(de_StartResourceScanCommand).build() {
10422
+ };
10423
+ __name(_StartResourceScanCommand, "StartResourceScanCommand");
10424
+ var StartResourceScanCommand = _StartResourceScanCommand;
10425
+
10398
10426
  // src/commands/StopStackSetOperationCommand.ts
10399
10427
 
10400
10428
 
@@ -10429,6 +10457,23 @@ var _TestTypeCommand = class _TestTypeCommand extends import_smithy_client.Comma
10429
10457
  __name(_TestTypeCommand, "TestTypeCommand");
10430
10458
  var TestTypeCommand = _TestTypeCommand;
10431
10459
 
10460
+ // src/commands/UpdateGeneratedTemplateCommand.ts
10461
+
10462
+
10463
+
10464
+
10465
+ var _UpdateGeneratedTemplateCommand = class _UpdateGeneratedTemplateCommand extends import_smithy_client.Command.classBuilder().ep({
10466
+ ...commonParams
10467
+ }).m(function(Command, cs, config, o) {
10468
+ return [
10469
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10470
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10471
+ ];
10472
+ }).s("CloudFormation", "UpdateGeneratedTemplate", {}).n("CloudFormationClient", "UpdateGeneratedTemplateCommand").f(void 0, void 0).ser(se_UpdateGeneratedTemplateCommand).de(de_UpdateGeneratedTemplateCommand).build() {
10473
+ };
10474
+ __name(_UpdateGeneratedTemplateCommand, "UpdateGeneratedTemplateCommand");
10475
+ var UpdateGeneratedTemplateCommand = _UpdateGeneratedTemplateCommand;
10476
+
10432
10477
  // src/commands/UpdateStackCommand.ts
10433
10478
 
10434
10479
 
@@ -10522,12 +10567,14 @@ var commands = {
10522
10567
  CancelUpdateStackCommand,
10523
10568
  ContinueUpdateRollbackCommand,
10524
10569
  CreateChangeSetCommand,
10570
+ CreateGeneratedTemplateCommand,
10525
10571
  CreateStackCommand,
10526
10572
  CreateStackInstancesCommand,
10527
10573
  CreateStackSetCommand,
10528
10574
  DeactivateOrganizationsAccessCommand,
10529
10575
  DeactivateTypeCommand,
10530
10576
  DeleteChangeSetCommand,
10577
+ DeleteGeneratedTemplateCommand,
10531
10578
  DeleteStackCommand,
10532
10579
  DeleteStackInstancesCommand,
10533
10580
  DeleteStackSetCommand,
@@ -10535,8 +10582,10 @@ var commands = {
10535
10582
  DescribeAccountLimitsCommand,
10536
10583
  DescribeChangeSetCommand,
10537
10584
  DescribeChangeSetHooksCommand,
10585
+ DescribeGeneratedTemplateCommand,
10538
10586
  DescribeOrganizationsAccessCommand,
10539
10587
  DescribePublisherCommand,
10588
+ DescribeResourceScanCommand,
10540
10589
  DescribeStackDriftDetectionStatusCommand,
10541
10590
  DescribeStackEventsCommand,
10542
10591
  DescribeStackInstanceCommand,
@@ -10553,13 +10602,18 @@ var commands = {
10553
10602
  DetectStackSetDriftCommand,
10554
10603
  EstimateTemplateCostCommand,
10555
10604
  ExecuteChangeSetCommand,
10605
+ GetGeneratedTemplateCommand,
10556
10606
  GetStackPolicyCommand,
10557
10607
  GetTemplateCommand,
10558
10608
  GetTemplateSummaryCommand,
10559
10609
  ImportStacksToStackSetCommand,
10560
10610
  ListChangeSetsCommand,
10561
10611
  ListExportsCommand,
10612
+ ListGeneratedTemplatesCommand,
10562
10613
  ListImportsCommand,
10614
+ ListResourceScanRelatedResourcesCommand,
10615
+ ListResourceScanResourcesCommand,
10616
+ ListResourceScansCommand,
10563
10617
  ListStackInstanceResourceDriftsCommand,
10564
10618
  ListStackInstancesCommand,
10565
10619
  ListStackResourcesCommand,
@@ -10579,8 +10633,10 @@ var commands = {
10579
10633
  SetTypeConfigurationCommand,
10580
10634
  SetTypeDefaultVersionCommand,
10581
10635
  SignalResourceCommand,
10636
+ StartResourceScanCommand,
10582
10637
  StopStackSetOperationCommand,
10583
10638
  TestTypeCommand,
10639
+ UpdateGeneratedTemplateCommand,
10584
10640
  UpdateStackCommand,
10585
10641
  UpdateStackInstancesCommand,
10586
10642
  UpdateStackSetCommand,
@@ -10617,10 +10673,26 @@ var paginateListChangeSets = (0, import_core.createPaginator)(CloudFormationClie
10617
10673
 
10618
10674
  var paginateListExports = (0, import_core.createPaginator)(CloudFormationClient, ListExportsCommand, "NextToken", "NextToken", "");
10619
10675
 
10676
+ // src/pagination/ListGeneratedTemplatesPaginator.ts
10677
+
10678
+ var paginateListGeneratedTemplates = (0, import_core.createPaginator)(CloudFormationClient, ListGeneratedTemplatesCommand, "NextToken", "NextToken", "MaxResults");
10679
+
10620
10680
  // src/pagination/ListImportsPaginator.ts
10621
10681
 
10622
10682
  var paginateListImports = (0, import_core.createPaginator)(CloudFormationClient, ListImportsCommand, "NextToken", "NextToken", "");
10623
10683
 
10684
+ // src/pagination/ListResourceScanRelatedResourcesPaginator.ts
10685
+
10686
+ var paginateListResourceScanRelatedResources = (0, import_core.createPaginator)(CloudFormationClient, ListResourceScanRelatedResourcesCommand, "NextToken", "NextToken", "MaxResults");
10687
+
10688
+ // src/pagination/ListResourceScanResourcesPaginator.ts
10689
+
10690
+ var paginateListResourceScanResources = (0, import_core.createPaginator)(CloudFormationClient, ListResourceScanResourcesCommand, "NextToken", "NextToken", "MaxResults");
10691
+
10692
+ // src/pagination/ListResourceScansPaginator.ts
10693
+
10694
+ var paginateListResourceScans = (0, import_core.createPaginator)(CloudFormationClient, ListResourceScansCommand, "NextToken", "NextToken", "MaxResults");
10695
+
10624
10696
  // src/pagination/ListStackInstancesPaginator.ts
10625
10697
 
10626
10698
  var paginateListStackInstances = (0, import_core.createPaginator)(CloudFormationClient, ListStackInstancesCommand, "NextToken", "NextToken", "MaxResults");
@@ -11473,12 +11545,14 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11473
11545
  CancelUpdateStackCommand,
11474
11546
  ContinueUpdateRollbackCommand,
11475
11547
  CreateChangeSetCommand,
11548
+ CreateGeneratedTemplateCommand,
11476
11549
  CreateStackCommand,
11477
11550
  CreateStackInstancesCommand,
11478
11551
  CreateStackSetCommand,
11479
11552
  DeactivateOrganizationsAccessCommand,
11480
11553
  DeactivateTypeCommand,
11481
11554
  DeleteChangeSetCommand,
11555
+ DeleteGeneratedTemplateCommand,
11482
11556
  DeleteStackCommand,
11483
11557
  DeleteStackInstancesCommand,
11484
11558
  DeleteStackSetCommand,
@@ -11486,8 +11560,10 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11486
11560
  DescribeAccountLimitsCommand,
11487
11561
  DescribeChangeSetCommand,
11488
11562
  DescribeChangeSetHooksCommand,
11563
+ DescribeGeneratedTemplateCommand,
11489
11564
  DescribeOrganizationsAccessCommand,
11490
11565
  DescribePublisherCommand,
11566
+ DescribeResourceScanCommand,
11491
11567
  DescribeStackDriftDetectionStatusCommand,
11492
11568
  DescribeStackEventsCommand,
11493
11569
  DescribeStackInstanceCommand,
@@ -11504,13 +11580,18 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11504
11580
  DetectStackSetDriftCommand,
11505
11581
  EstimateTemplateCostCommand,
11506
11582
  ExecuteChangeSetCommand,
11583
+ GetGeneratedTemplateCommand,
11507
11584
  GetStackPolicyCommand,
11508
11585
  GetTemplateCommand,
11509
11586
  GetTemplateSummaryCommand,
11510
11587
  ImportStacksToStackSetCommand,
11511
11588
  ListChangeSetsCommand,
11512
11589
  ListExportsCommand,
11590
+ ListGeneratedTemplatesCommand,
11513
11591
  ListImportsCommand,
11592
+ ListResourceScanRelatedResourcesCommand,
11593
+ ListResourceScanResourcesCommand,
11594
+ ListResourceScansCommand,
11514
11595
  ListStackInstanceResourceDriftsCommand,
11515
11596
  ListStackInstancesCommand,
11516
11597
  ListStackResourcesCommand,
@@ -11530,8 +11611,10 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11530
11611
  SetTypeConfigurationCommand,
11531
11612
  SetTypeDefaultVersionCommand,
11532
11613
  SignalResourceCommand,
11614
+ StartResourceScanCommand,
11533
11615
  StopStackSetOperationCommand,
11534
11616
  TestTypeCommand,
11617
+ UpdateGeneratedTemplateCommand,
11535
11618
  UpdateStackCommand,
11536
11619
  UpdateStackInstancesCommand,
11537
11620
  UpdateStackSetCommand,
@@ -11543,7 +11626,11 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11543
11626
  paginateDescribeStacks,
11544
11627
  paginateListChangeSets,
11545
11628
  paginateListExports,
11629
+ paginateListGeneratedTemplates,
11546
11630
  paginateListImports,
11631
+ paginateListResourceScanRelatedResources,
11632
+ paginateListResourceScanResources,
11633
+ paginateListResourceScans,
11547
11634
  paginateListStackInstances,
11548
11635
  paginateListStackResources,
11549
11636
  paginateListStackSetOperationResults,
@@ -11601,6 +11688,9 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11601
11688
  OnStackFailure,
11602
11689
  InsufficientCapabilitiesException,
11603
11690
  LimitExceededException,
11691
+ ConcurrentResourcesLimitExceededException,
11692
+ GeneratedTemplateDeletionPolicy,
11693
+ GeneratedTemplateUpdateReplacePolicy,
11604
11694
  OnFailure,
11605
11695
  ConcurrencyMode,
11606
11696
  RegionConcurrencyType,
@@ -11612,11 +11702,17 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11612
11702
  PermissionModels,
11613
11703
  NameAlreadyExistsException,
11614
11704
  InvalidChangeSetStatusException,
11705
+ GeneratedTemplateNotFoundException,
11615
11706
  StackSetNotEmptyException,
11616
11707
  RegistryType,
11708
+ GeneratedTemplateResourceStatus,
11709
+ WarningType,
11710
+ GeneratedTemplateStatus,
11617
11711
  OrganizationStatus,
11618
11712
  IdentityProvider,
11619
11713
  PublisherStatus,
11714
+ ResourceScanStatus,
11715
+ ResourceScanNotFoundException,
11620
11716
  StackDriftDetectionStatus,
11621
11717
  StackDriftStatus,
11622
11718
  HookStatus,
@@ -11637,8 +11733,10 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11637
11733
  TypeTestsStatus,
11638
11734
  Visibility,
11639
11735
  RegistrationStatus,
11736
+ TemplateFormat,
11640
11737
  TemplateStage,
11641
11738
  StackNotFoundException,
11739
+ ResourceScanInProgressException,
11642
11740
  StackInstanceFilterName,
11643
11741
  OperationResultFilterName,
11644
11742
  StackSetOperationResultStatus,
@@ -11646,6 +11744,7 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
11646
11744
  OperationStatusCheckFailedException,
11647
11745
  OperationStatus,
11648
11746
  HandlerErrorCode,
11649
- ResourceSignalStatus
11747
+ ResourceSignalStatus,
11748
+ ResourceScanLimitExceededException
11650
11749
  });
11651
11750