@cdk8s/awscdk-resolver 0.0.242 → 0.0.244

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 (99) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/README.md +40 -0
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +782 -33
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +10 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/CreateStackRefactorCommand.js +22 -0
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/DescribeStackRefactorCommand.js +22 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ExecuteStackRefactorCommand.js +22 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorActionsCommand.js +22 -0
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListStackRefactorsCommand.js +22 -0
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +5 -0
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +51 -55
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_1.js +55 -0
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackRefactorActionsPaginator.js +4 -0
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/ListStackRefactorsPaginator.js +4 -0
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-es/pagination/index.js +2 -0
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +514 -24
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/index.js +2 -0
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRefactorCreateComplete.js +43 -0
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-es/waiters/waitForStackRefactorExecuteComplete.js +52 -0
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +36 -0
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +7 -2
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/CreateStackRefactorCommand.d.ts +91 -0
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackEventsCommand.d.ts +1 -1
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackRefactorCommand.d.ts +82 -0
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourceCommand.d.ts +1 -1
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DescribeStackResourcesCommand.d.ts +1 -1
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/DetectStackSetDriftCommand.d.ts +2 -4
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ExecuteStackRefactorCommand.d.ts +69 -0
  30. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackRefactorActionsCommand.d.ts +103 -0
  31. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackRefactorsCommand.d.ts +85 -0
  32. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackResourcesCommand.d.ts +1 -1
  33. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListStackSetsCommand.d.ts +2 -1
  34. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeRegistrationsCommand.d.ts +1 -1
  35. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypeVersionsCommand.d.ts +1 -1
  36. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListTypesCommand.d.ts +1 -1
  37. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/PublishTypeCommand.d.ts +1 -1
  38. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RecordHandlerProgressCommand.d.ts +1 -1
  39. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterPublisherCommand.d.ts +1 -1
  40. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/StopStackSetOperationCommand.d.ts +3 -2
  41. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +5 -0
  42. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +968 -1147
  43. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +770 -32
  44. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackRefactorActionsPaginator.d.ts +7 -0
  45. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/ListStackRefactorsPaginator.d.ts +7 -0
  46. package/node_modules/@aws-sdk/client-cloudformation/dist-types/pagination/index.d.ts +2 -0
  47. package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +45 -0
  48. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +86 -0
  49. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +30 -0
  50. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/CreateStackRefactorCommand.d.ts +51 -0
  51. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/DescribeStackRefactorCommand.d.ts +51 -0
  52. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ExecuteStackRefactorCommand.d.ts +46 -0
  53. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackRefactorActionsCommand.d.ts +51 -0
  54. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackRefactorsCommand.d.ts +51 -0
  55. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListStackSetsCommand.d.ts +2 -1
  56. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeRegistrationsCommand.d.ts +1 -1
  57. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypeVersionsCommand.d.ts +1 -1
  58. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListTypesCommand.d.ts +1 -1
  59. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/PublishTypeCommand.d.ts +1 -1
  60. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RecordHandlerProgressCommand.d.ts +1 -1
  61. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterPublisherCommand.d.ts +1 -1
  62. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +5 -0
  63. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +130 -151
  64. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +158 -0
  65. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackRefactorActionsPaginator.d.ts +11 -0
  66. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/ListStackRefactorsPaginator.d.ts +11 -0
  67. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/pagination/index.d.ts +2 -0
  68. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +60 -0
  69. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/index.d.ts +2 -0
  70. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRefactorCreateComplete.d.ts +11 -0
  71. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/waiters/waitForStackRefactorExecuteComplete.d.ts +11 -0
  72. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/index.d.ts +2 -0
  73. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackRefactorCreateComplete.d.ts +14 -0
  74. package/node_modules/@aws-sdk/client-cloudformation/dist-types/waiters/waitForStackRefactorExecuteComplete.d.ts +14 -0
  75. package/node_modules/@aws-sdk/client-cloudformation/package.json +13 -13
  76. package/node_modules/@aws-sdk/client-sso/package.json +12 -12
  77. package/node_modules/@aws-sdk/core/package.json +3 -3
  78. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  79. package/node_modules/@aws-sdk/credential-provider-http/package.json +3 -3
  80. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  81. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  82. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  83. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  84. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  85. package/node_modules/@aws-sdk/middleware-user-agent/package.json +4 -4
  86. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +38 -44
  87. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +12 -11
  88. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +12 -11
  89. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/commands/CreateTokenCommand.d.ts +1 -1
  90. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +12 -11
  91. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +61 -70
  92. package/node_modules/@aws-sdk/nested-clients/package.json +12 -12
  93. package/node_modules/@aws-sdk/token-providers/package.json +2 -2
  94. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +11 -1
  95. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +11 -1
  96. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +11 -1
  97. package/node_modules/@aws-sdk/util-endpoints/package.json +1 -1
  98. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  99. package/package.json +5 -5
@@ -50,6 +50,7 @@ __export(src_exports, {
50
50
  CreateGeneratedTemplateCommand: () => CreateGeneratedTemplateCommand,
51
51
  CreateStackCommand: () => CreateStackCommand,
52
52
  CreateStackInstancesCommand: () => CreateStackInstancesCommand,
53
+ CreateStackRefactorCommand: () => CreateStackRefactorCommand,
53
54
  CreateStackSetCommand: () => CreateStackSetCommand,
54
55
  CreatedButModifiedException: () => CreatedButModifiedException,
55
56
  DeactivateOrganizationsAccessCommand: () => DeactivateOrganizationsAccessCommand,
@@ -72,6 +73,7 @@ __export(src_exports, {
72
73
  DescribeStackDriftDetectionStatusCommand: () => DescribeStackDriftDetectionStatusCommand,
73
74
  DescribeStackEventsCommand: () => DescribeStackEventsCommand,
74
75
  DescribeStackInstanceCommand: () => DescribeStackInstanceCommand,
76
+ DescribeStackRefactorCommand: () => DescribeStackRefactorCommand,
75
77
  DescribeStackResourceCommand: () => DescribeStackResourceCommand,
76
78
  DescribeStackResourceDriftsCommand: () => DescribeStackResourceDriftsCommand,
77
79
  DescribeStackResourcesCommand: () => DescribeStackResourcesCommand,
@@ -88,6 +90,7 @@ __export(src_exports, {
88
90
  EstimateTemplateCostCommand: () => EstimateTemplateCostCommand,
89
91
  EvaluationType: () => EvaluationType,
90
92
  ExecuteChangeSetCommand: () => ExecuteChangeSetCommand,
93
+ ExecuteStackRefactorCommand: () => ExecuteStackRefactorCommand,
91
94
  ExecutionStatus: () => ExecutionStatus,
92
95
  GeneratedTemplateDeletionPolicy: () => GeneratedTemplateDeletionPolicy,
93
96
  GeneratedTemplateNotFoundException: () => GeneratedTemplateNotFoundException,
@@ -122,6 +125,8 @@ __export(src_exports, {
122
125
  ListResourceScansCommand: () => ListResourceScansCommand,
123
126
  ListStackInstanceResourceDriftsCommand: () => ListStackInstanceResourceDriftsCommand,
124
127
  ListStackInstancesCommand: () => ListStackInstancesCommand,
128
+ ListStackRefactorActionsCommand: () => ListStackRefactorActionsCommand,
129
+ ListStackRefactorsCommand: () => ListStackRefactorsCommand,
125
130
  ListStackResourcesCommand: () => ListStackResourcesCommand,
126
131
  ListStackSetAutoDeploymentTargetsCommand: () => ListStackSetAutoDeploymentTargetsCommand,
127
132
  ListStackSetOperationResultsCommand: () => ListStackSetOperationResultsCommand,
@@ -173,6 +178,12 @@ __export(src_exports, {
173
178
  StackInstanceNotFoundException: () => StackInstanceNotFoundException,
174
179
  StackInstanceStatus: () => StackInstanceStatus,
175
180
  StackNotFoundException: () => StackNotFoundException,
181
+ StackRefactorActionEntity: () => StackRefactorActionEntity,
182
+ StackRefactorActionType: () => StackRefactorActionType,
183
+ StackRefactorDetection: () => StackRefactorDetection,
184
+ StackRefactorExecutionStatus: () => StackRefactorExecutionStatus,
185
+ StackRefactorNotFoundException: () => StackRefactorNotFoundException,
186
+ StackRefactorStatus: () => StackRefactorStatus,
176
187
  StackResourceDriftStatus: () => StackResourceDriftStatus,
177
188
  StackSetDriftDetectionStatus: () => StackSetDriftDetectionStatus,
178
189
  StackSetDriftStatus: () => StackSetDriftStatus,
@@ -216,6 +227,8 @@ __export(src_exports, {
216
227
  paginateListResourceScanResources: () => paginateListResourceScanResources,
217
228
  paginateListResourceScans: () => paginateListResourceScans,
218
229
  paginateListStackInstances: () => paginateListStackInstances,
230
+ paginateListStackRefactorActions: () => paginateListStackRefactorActions,
231
+ paginateListStackRefactors: () => paginateListStackRefactors,
219
232
  paginateListStackResources: () => paginateListStackResources,
220
233
  paginateListStackSetOperationResults: () => paginateListStackSetOperationResults,
221
234
  paginateListStackSetOperations: () => paginateListStackSetOperations,
@@ -229,6 +242,8 @@ __export(src_exports, {
229
242
  waitForStackDeleteComplete: () => waitForStackDeleteComplete,
230
243
  waitForStackExists: () => waitForStackExists,
231
244
  waitForStackImportComplete: () => waitForStackImportComplete,
245
+ waitForStackRefactorCreateComplete: () => waitForStackRefactorCreateComplete,
246
+ waitForStackRefactorExecuteComplete: () => waitForStackRefactorExecuteComplete,
232
247
  waitForStackRollbackComplete: () => waitForStackRollbackComplete,
233
248
  waitForStackUpdateComplete: () => waitForStackUpdateComplete,
234
249
  waitForTypeRegistrationComplete: () => waitForTypeRegistrationComplete,
@@ -237,6 +252,8 @@ __export(src_exports, {
237
252
  waitUntilStackDeleteComplete: () => waitUntilStackDeleteComplete,
238
253
  waitUntilStackExists: () => waitUntilStackExists,
239
254
  waitUntilStackImportComplete: () => waitUntilStackImportComplete,
255
+ waitUntilStackRefactorCreateComplete: () => waitUntilStackRefactorCreateComplete,
256
+ waitUntilStackRefactorExecuteComplete: () => waitUntilStackRefactorExecuteComplete,
240
257
  waitUntilStackRollbackComplete: () => waitUntilStackRollbackComplete,
241
258
  waitUntilStackUpdateComplete: () => waitUntilStackUpdateComplete,
242
259
  waitUntilTypeRegistrationComplete: () => waitUntilTypeRegistrationComplete
@@ -1082,6 +1099,12 @@ var ResourceStatus = {
1082
1099
  DELETE_FAILED: "DELETE_FAILED",
1083
1100
  DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS",
1084
1101
  DELETE_SKIPPED: "DELETE_SKIPPED",
1102
+ EXPORT_COMPLETE: "EXPORT_COMPLETE",
1103
+ EXPORT_FAILED: "EXPORT_FAILED",
1104
+ EXPORT_IN_PROGRESS: "EXPORT_IN_PROGRESS",
1105
+ EXPORT_ROLLBACK_COMPLETE: "EXPORT_ROLLBACK_COMPLETE",
1106
+ EXPORT_ROLLBACK_FAILED: "EXPORT_ROLLBACK_FAILED",
1107
+ EXPORT_ROLLBACK_IN_PROGRESS: "EXPORT_ROLLBACK_IN_PROGRESS",
1085
1108
  IMPORT_COMPLETE: "IMPORT_COMPLETE",
1086
1109
  IMPORT_FAILED: "IMPORT_FAILED",
1087
1110
  IMPORT_IN_PROGRESS: "IMPORT_IN_PROGRESS",
@@ -1133,6 +1156,45 @@ var StackInstanceNotFoundException = class _StackInstanceNotFoundException exten
1133
1156
  this.Message = opts.Message;
1134
1157
  }
1135
1158
  };
1159
+ var StackRefactorExecutionStatus = {
1160
+ AVAILABLE: "AVAILABLE",
1161
+ EXECUTE_COMPLETE: "EXECUTE_COMPLETE",
1162
+ EXECUTE_FAILED: "EXECUTE_FAILED",
1163
+ EXECUTE_IN_PROGRESS: "EXECUTE_IN_PROGRESS",
1164
+ OBSOLETE: "OBSOLETE",
1165
+ ROLLBACK_COMPLETE: "ROLLBACK_COMPLETE",
1166
+ ROLLBACK_FAILED: "ROLLBACK_FAILED",
1167
+ ROLLBACK_IN_PROGRESS: "ROLLBACK_IN_PROGRESS",
1168
+ UNAVAILABLE: "UNAVAILABLE"
1169
+ };
1170
+ var StackRefactorStatus = {
1171
+ CREATE_COMPLETE: "CREATE_COMPLETE",
1172
+ CREATE_FAILED: "CREATE_FAILED",
1173
+ CREATE_IN_PROGRESS: "CREATE_IN_PROGRESS",
1174
+ DELETE_COMPLETE: "DELETE_COMPLETE",
1175
+ DELETE_FAILED: "DELETE_FAILED",
1176
+ DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS"
1177
+ };
1178
+ var StackRefactorNotFoundException = class _StackRefactorNotFoundException extends CloudFormationServiceException {
1179
+ static {
1180
+ __name(this, "StackRefactorNotFoundException");
1181
+ }
1182
+ name = "StackRefactorNotFoundException";
1183
+ $fault = "client";
1184
+ Message;
1185
+ /**
1186
+ * @internal
1187
+ */
1188
+ constructor(opts) {
1189
+ super({
1190
+ name: "StackRefactorNotFoundException",
1191
+ $fault: "client",
1192
+ ...opts
1193
+ });
1194
+ Object.setPrototypeOf(this, _StackRefactorNotFoundException.prototype);
1195
+ this.Message = opts.Message;
1196
+ }
1197
+ };
1136
1198
  var StackResourceDriftStatus = {
1137
1199
  DELETED: "DELETED",
1138
1200
  IN_SYNC: "IN_SYNC",
@@ -1302,6 +1364,18 @@ var StackInstanceFilterName = {
1302
1364
  DRIFT_STATUS: "DRIFT_STATUS",
1303
1365
  LAST_OPERATION_ID: "LAST_OPERATION_ID"
1304
1366
  };
1367
+ var StackRefactorActionType = {
1368
+ CREATE: "CREATE",
1369
+ MOVE: "MOVE"
1370
+ };
1371
+ var StackRefactorDetection = {
1372
+ AUTO: "AUTO",
1373
+ MANUAL: "MANUAL"
1374
+ };
1375
+ var StackRefactorActionEntity = {
1376
+ RESOURCE: "RESOURCE",
1377
+ STACK: "STACK"
1378
+ };
1305
1379
  var OperationResultFilterName = {
1306
1380
  OPERATION_RESULT_STATUS: "OPERATION_RESULT_STATUS"
1307
1381
  };
@@ -1312,6 +1386,8 @@ var StackSetOperationResultStatus = {
1312
1386
  RUNNING: "RUNNING",
1313
1387
  SUCCEEDED: "SUCCEEDED"
1314
1388
  };
1389
+
1390
+ // src/models/models_1.ts
1315
1391
  var InvalidStateTransitionException = class _InvalidStateTransitionException extends CloudFormationServiceException {
1316
1392
  static {
1317
1393
  __name(this, "InvalidStateTransitionException");
@@ -1379,8 +1455,6 @@ var HandlerErrorCode = {
1379
1455
  Unknown: "Unknown",
1380
1456
  UnsupportedTarget: "UnsupportedTarget"
1381
1457
  };
1382
-
1383
- // src/models/models_1.ts
1384
1458
  var ResourceSignalStatus = {
1385
1459
  FAILURE: "FAILURE",
1386
1460
  SUCCESS: "SUCCESS"
@@ -1497,6 +1571,16 @@ var se_CreateStackInstancesCommand = /* @__PURE__ */ __name(async (input, contex
1497
1571
  });
1498
1572
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1499
1573
  }, "se_CreateStackInstancesCommand");
1574
+ var se_CreateStackRefactorCommand = /* @__PURE__ */ __name(async (input, context) => {
1575
+ const headers = SHARED_HEADERS;
1576
+ let body;
1577
+ body = buildFormUrlencodedString({
1578
+ ...se_CreateStackRefactorInput(input, context),
1579
+ [_A]: _CSR,
1580
+ [_V]: _
1581
+ });
1582
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1583
+ }, "se_CreateStackRefactorCommand");
1500
1584
  var se_CreateStackSetCommand = /* @__PURE__ */ __name(async (input, context) => {
1501
1585
  const headers = SHARED_HEADERS;
1502
1586
  let body;
@@ -1687,12 +1771,22 @@ var se_DescribeStackInstanceCommand = /* @__PURE__ */ __name(async (input, conte
1687
1771
  });
1688
1772
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1689
1773
  }, "se_DescribeStackInstanceCommand");
1774
+ var se_DescribeStackRefactorCommand = /* @__PURE__ */ __name(async (input, context) => {
1775
+ const headers = SHARED_HEADERS;
1776
+ let body;
1777
+ body = buildFormUrlencodedString({
1778
+ ...se_DescribeStackRefactorInput(input, context),
1779
+ [_A]: _DSR,
1780
+ [_V]: _
1781
+ });
1782
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1783
+ }, "se_DescribeStackRefactorCommand");
1690
1784
  var se_DescribeStackResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1691
1785
  const headers = SHARED_HEADERS;
1692
1786
  let body;
1693
1787
  body = buildFormUrlencodedString({
1694
1788
  ...se_DescribeStackResourceInput(input, context),
1695
- [_A]: _DSR,
1789
+ [_A]: _DSRe,
1696
1790
  [_V]: _
1697
1791
  });
1698
1792
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
@@ -1712,7 +1806,7 @@ var se_DescribeStackResourcesCommand = /* @__PURE__ */ __name(async (input, cont
1712
1806
  let body;
1713
1807
  body = buildFormUrlencodedString({
1714
1808
  ...se_DescribeStackResourcesInput(input, context),
1715
- [_A]: _DSRe,
1809
+ [_A]: _DSRes,
1716
1810
  [_V]: _
1717
1811
  });
1718
1812
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
@@ -1817,6 +1911,16 @@ var se_ExecuteChangeSetCommand = /* @__PURE__ */ __name(async (input, context) =
1817
1911
  });
1818
1912
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1819
1913
  }, "se_ExecuteChangeSetCommand");
1914
+ var se_ExecuteStackRefactorCommand = /* @__PURE__ */ __name(async (input, context) => {
1915
+ const headers = SHARED_HEADERS;
1916
+ let body;
1917
+ body = buildFormUrlencodedString({
1918
+ ...se_ExecuteStackRefactorInput(input, context),
1919
+ [_A]: _ESR,
1920
+ [_V]: _
1921
+ });
1922
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1923
+ }, "se_ExecuteStackRefactorCommand");
1820
1924
  var se_GetGeneratedTemplateCommand = /* @__PURE__ */ __name(async (input, context) => {
1821
1925
  const headers = SHARED_HEADERS;
1822
1926
  let body;
@@ -1967,12 +2071,32 @@ var se_ListStackInstancesCommand = /* @__PURE__ */ __name(async (input, context)
1967
2071
  });
1968
2072
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1969
2073
  }, "se_ListStackInstancesCommand");
2074
+ var se_ListStackRefactorActionsCommand = /* @__PURE__ */ __name(async (input, context) => {
2075
+ const headers = SHARED_HEADERS;
2076
+ let body;
2077
+ body = buildFormUrlencodedString({
2078
+ ...se_ListStackRefactorActionsInput(input, context),
2079
+ [_A]: _LSRA,
2080
+ [_V]: _
2081
+ });
2082
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2083
+ }, "se_ListStackRefactorActionsCommand");
2084
+ var se_ListStackRefactorsCommand = /* @__PURE__ */ __name(async (input, context) => {
2085
+ const headers = SHARED_HEADERS;
2086
+ let body;
2087
+ body = buildFormUrlencodedString({
2088
+ ...se_ListStackRefactorsInput(input, context),
2089
+ [_A]: _LSR,
2090
+ [_V]: _
2091
+ });
2092
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
2093
+ }, "se_ListStackRefactorsCommand");
1970
2094
  var se_ListStackResourcesCommand = /* @__PURE__ */ __name(async (input, context) => {
1971
2095
  const headers = SHARED_HEADERS;
1972
2096
  let body;
1973
2097
  body = buildFormUrlencodedString({
1974
2098
  ...se_ListStackResourcesInput(input, context),
1975
- [_A]: _LSR,
2099
+ [_A]: _LSRi,
1976
2100
  [_V]: _
1977
2101
  });
1978
2102
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
@@ -2351,6 +2475,19 @@ var de_CreateStackInstancesCommand = /* @__PURE__ */ __name(async (output, conte
2351
2475
  };
2352
2476
  return response;
2353
2477
  }, "de_CreateStackInstancesCommand");
2478
+ var de_CreateStackRefactorCommand = /* @__PURE__ */ __name(async (output, context) => {
2479
+ if (output.statusCode >= 300) {
2480
+ return de_CommandError(output, context);
2481
+ }
2482
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
2483
+ let contents = {};
2484
+ contents = de_CreateStackRefactorOutput(data.CreateStackRefactorResult, context);
2485
+ const response = {
2486
+ $metadata: deserializeMetadata(output),
2487
+ ...contents
2488
+ };
2489
+ return response;
2490
+ }, "de_CreateStackRefactorCommand");
2354
2491
  var de_CreateStackSetCommand = /* @__PURE__ */ __name(async (output, context) => {
2355
2492
  if (output.statusCode >= 300) {
2356
2493
  return de_CommandError(output, context);
@@ -2592,6 +2729,19 @@ var de_DescribeStackInstanceCommand = /* @__PURE__ */ __name(async (output, cont
2592
2729
  };
2593
2730
  return response;
2594
2731
  }, "de_DescribeStackInstanceCommand");
2732
+ var de_DescribeStackRefactorCommand = /* @__PURE__ */ __name(async (output, context) => {
2733
+ if (output.statusCode >= 300) {
2734
+ return de_CommandError(output, context);
2735
+ }
2736
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
2737
+ let contents = {};
2738
+ contents = de_DescribeStackRefactorOutput(data.DescribeStackRefactorResult, context);
2739
+ const response = {
2740
+ $metadata: deserializeMetadata(output),
2741
+ ...contents
2742
+ };
2743
+ return response;
2744
+ }, "de_DescribeStackRefactorCommand");
2595
2745
  var de_DescribeStackResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
2596
2746
  if (output.statusCode >= 300) {
2597
2747
  return de_CommandError(output, context);
@@ -2761,6 +2911,16 @@ var de_ExecuteChangeSetCommand = /* @__PURE__ */ __name(async (output, context)
2761
2911
  };
2762
2912
  return response;
2763
2913
  }, "de_ExecuteChangeSetCommand");
2914
+ var de_ExecuteStackRefactorCommand = /* @__PURE__ */ __name(async (output, context) => {
2915
+ if (output.statusCode >= 300) {
2916
+ return de_CommandError(output, context);
2917
+ }
2918
+ await (0, import_smithy_client.collectBody)(output.body, context);
2919
+ const response = {
2920
+ $metadata: deserializeMetadata(output)
2921
+ };
2922
+ return response;
2923
+ }, "de_ExecuteStackRefactorCommand");
2764
2924
  var de_GetGeneratedTemplateCommand = /* @__PURE__ */ __name(async (output, context) => {
2765
2925
  if (output.statusCode >= 300) {
2766
2926
  return de_CommandError(output, context);
@@ -2956,6 +3116,32 @@ var de_ListStackInstancesCommand = /* @__PURE__ */ __name(async (output, context
2956
3116
  };
2957
3117
  return response;
2958
3118
  }, "de_ListStackInstancesCommand");
3119
+ var de_ListStackRefactorActionsCommand = /* @__PURE__ */ __name(async (output, context) => {
3120
+ if (output.statusCode >= 300) {
3121
+ return de_CommandError(output, context);
3122
+ }
3123
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
3124
+ let contents = {};
3125
+ contents = de_ListStackRefactorActionsOutput(data.ListStackRefactorActionsResult, context);
3126
+ const response = {
3127
+ $metadata: deserializeMetadata(output),
3128
+ ...contents
3129
+ };
3130
+ return response;
3131
+ }, "de_ListStackRefactorActionsCommand");
3132
+ var de_ListStackRefactorsCommand = /* @__PURE__ */ __name(async (output, context) => {
3133
+ if (output.statusCode >= 300) {
3134
+ return de_CommandError(output, context);
3135
+ }
3136
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
3137
+ let contents = {};
3138
+ contents = de_ListStackRefactorsOutput(data.ListStackRefactorsResult, context);
3139
+ const response = {
3140
+ $metadata: deserializeMetadata(output),
3141
+ ...contents
3142
+ };
3143
+ return response;
3144
+ }, "de_ListStackRefactorsCommand");
2959
3145
  var de_ListStackResourcesCommand = /* @__PURE__ */ __name(async (output, context) => {
2960
3146
  if (output.statusCode >= 300) {
2961
3147
  return de_CommandError(output, context);
@@ -3374,6 +3560,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
3374
3560
  case "StackInstanceNotFoundException":
3375
3561
  case "com.amazonaws.cloudformation#StackInstanceNotFoundException":
3376
3562
  throw await de_StackInstanceNotFoundExceptionRes(parsedOutput, context);
3563
+ case "StackRefactorNotFoundException":
3564
+ case "com.amazonaws.cloudformation#StackRefactorNotFoundException":
3565
+ throw await de_StackRefactorNotFoundExceptionRes(parsedOutput, context);
3377
3566
  case "StackNotFoundException":
3378
3567
  case "com.amazonaws.cloudformation#StackNotFoundException":
3379
3568
  throw await de_StackNotFoundExceptionRes(parsedOutput, context);
@@ -3599,6 +3788,15 @@ var de_StackNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, c
3599
3788
  });
3600
3789
  return (0, import_smithy_client.decorateServiceException)(exception, body);
3601
3790
  }, "de_StackNotFoundExceptionRes");
3791
+ var de_StackRefactorNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3792
+ const body = parsedOutput.body;
3793
+ const deserialized = de_StackRefactorNotFoundException(body.Error, context);
3794
+ const exception = new StackRefactorNotFoundException({
3795
+ $metadata: deserializeMetadata(parsedOutput),
3796
+ ...deserialized
3797
+ });
3798
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3799
+ }, "de_StackRefactorNotFoundExceptionRes");
3602
3800
  var de_StackSetNotEmptyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3603
3801
  const body = parsedOutput.body;
3604
3802
  const deserialized = de_StackSetNotEmptyException(body.Error, context);
@@ -4067,6 +4265,36 @@ var se_CreateStackInstancesInput = /* @__PURE__ */ __name((input, context) => {
4067
4265
  }
4068
4266
  return entries;
4069
4267
  }, "se_CreateStackInstancesInput");
4268
+ var se_CreateStackRefactorInput = /* @__PURE__ */ __name((input, context) => {
4269
+ const entries = {};
4270
+ if (input[_D] != null) {
4271
+ entries[_D] = input[_D];
4272
+ }
4273
+ if (input[_ESC] != null) {
4274
+ entries[_ESC] = input[_ESC];
4275
+ }
4276
+ if (input[_RM] != null) {
4277
+ const memberEntries = se_ResourceMappings(input[_RM], context);
4278
+ if (input[_RM]?.length === 0) {
4279
+ entries.ResourceMappings = [];
4280
+ }
4281
+ Object.entries(memberEntries).forEach(([key, value]) => {
4282
+ const loc = `ResourceMappings.${key}`;
4283
+ entries[loc] = value;
4284
+ });
4285
+ }
4286
+ if (input[_SD] != null) {
4287
+ const memberEntries = se_StackDefinitions(input[_SD], context);
4288
+ if (input[_SD]?.length === 0) {
4289
+ entries.StackDefinitions = [];
4290
+ }
4291
+ Object.entries(memberEntries).forEach(([key, value]) => {
4292
+ const loc = `StackDefinitions.${key}`;
4293
+ entries[loc] = value;
4294
+ });
4295
+ }
4296
+ return entries;
4297
+ }, "se_CreateStackRefactorInput");
4070
4298
  var se_CreateStackSetInput = /* @__PURE__ */ __name((input, context) => {
4071
4299
  const entries = {};
4072
4300
  if (input[_SSN] != null) {
@@ -4417,6 +4645,13 @@ var se_DescribeStackInstanceInput = /* @__PURE__ */ __name((input, context) => {
4417
4645
  }
4418
4646
  return entries;
4419
4647
  }, "se_DescribeStackInstanceInput");
4648
+ var se_DescribeStackRefactorInput = /* @__PURE__ */ __name((input, context) => {
4649
+ const entries = {};
4650
+ if (input[_SRI] != null) {
4651
+ entries[_SRI] = input[_SRI];
4652
+ }
4653
+ return entries;
4654
+ }, "se_DescribeStackRefactorInput");
4420
4655
  var se_DescribeStackResourceDriftsInput = /* @__PURE__ */ __name((input, context) => {
4421
4656
  const entries = {};
4422
4657
  if (input[_SN] != null) {
@@ -4614,6 +4849,13 @@ var se_ExecuteChangeSetInput = /* @__PURE__ */ __name((input, context) => {
4614
4849
  }
4615
4850
  return entries;
4616
4851
  }, "se_ExecuteChangeSetInput");
4852
+ var se_ExecuteStackRefactorInput = /* @__PURE__ */ __name((input, context) => {
4853
+ const entries = {};
4854
+ if (input[_SRI] != null) {
4855
+ entries[_SRI] = input[_SRI];
4856
+ }
4857
+ return entries;
4858
+ }, "se_ExecuteStackRefactorInput");
4617
4859
  var se_GetGeneratedTemplateInput = /* @__PURE__ */ __name((input, context) => {
4618
4860
  const entries = {};
4619
4861
  if (input[_F] != null) {
@@ -4913,6 +5155,39 @@ var se_ListStackInstancesInput = /* @__PURE__ */ __name((input, context) => {
4913
5155
  }
4914
5156
  return entries;
4915
5157
  }, "se_ListStackInstancesInput");
5158
+ var se_ListStackRefactorActionsInput = /* @__PURE__ */ __name((input, context) => {
5159
+ const entries = {};
5160
+ if (input[_SRI] != null) {
5161
+ entries[_SRI] = input[_SRI];
5162
+ }
5163
+ if (input[_NT] != null) {
5164
+ entries[_NT] = input[_NT];
5165
+ }
5166
+ if (input[_MR] != null) {
5167
+ entries[_MR] = input[_MR];
5168
+ }
5169
+ return entries;
5170
+ }, "se_ListStackRefactorActionsInput");
5171
+ var se_ListStackRefactorsInput = /* @__PURE__ */ __name((input, context) => {
5172
+ const entries = {};
5173
+ if (input[_ESF] != null) {
5174
+ const memberEntries = se_StackRefactorExecutionStatusFilter(input[_ESF], context);
5175
+ if (input[_ESF]?.length === 0) {
5176
+ entries.ExecutionStatusFilter = [];
5177
+ }
5178
+ Object.entries(memberEntries).forEach(([key, value]) => {
5179
+ const loc = `ExecutionStatusFilter.${key}`;
5180
+ entries[loc] = value;
5181
+ });
5182
+ }
5183
+ if (input[_NT] != null) {
5184
+ entries[_NT] = input[_NT];
5185
+ }
5186
+ if (input[_MR] != null) {
5187
+ entries[_MR] = input[_MR];
5188
+ }
5189
+ return entries;
5190
+ }, "se_ListStackRefactorsInput");
4916
5191
  var se_ListStackResourcesInput = /* @__PURE__ */ __name((input, context) => {
4917
5192
  const entries = {};
4918
5193
  if (input[_SN] != null) {
@@ -5235,8 +5510,8 @@ var se_RecordHandlerProgressInput = /* @__PURE__ */ __name((input, context) => {
5235
5510
  if (input[_EC] != null) {
5236
5511
  entries[_EC] = input[_EC];
5237
5512
  }
5238
- if (input[_RM] != null) {
5239
- entries[_RM] = input[_RM];
5513
+ if (input[_RMe] != null) {
5514
+ entries[_RMe] = input[_RMe];
5240
5515
  }
5241
5516
  if (input[_CRT] != null) {
5242
5517
  entries[_CRT] = input[_CRT];
@@ -5333,6 +5608,49 @@ var se_ResourceIdentifierProperties = /* @__PURE__ */ __name((input, context) =>
5333
5608
  });
5334
5609
  return entries;
5335
5610
  }, "se_ResourceIdentifierProperties");
5611
+ var se_ResourceLocation = /* @__PURE__ */ __name((input, context) => {
5612
+ const entries = {};
5613
+ if (input[_SN] != null) {
5614
+ entries[_SN] = input[_SN];
5615
+ }
5616
+ if (input[_LRI] != null) {
5617
+ entries[_LRI] = input[_LRI];
5618
+ }
5619
+ return entries;
5620
+ }, "se_ResourceLocation");
5621
+ var se_ResourceMapping = /* @__PURE__ */ __name((input, context) => {
5622
+ const entries = {};
5623
+ if (input[_So] != null) {
5624
+ const memberEntries = se_ResourceLocation(input[_So], context);
5625
+ Object.entries(memberEntries).forEach(([key, value]) => {
5626
+ const loc = `Source.${key}`;
5627
+ entries[loc] = value;
5628
+ });
5629
+ }
5630
+ if (input[_De] != null) {
5631
+ const memberEntries = se_ResourceLocation(input[_De], context);
5632
+ Object.entries(memberEntries).forEach(([key, value]) => {
5633
+ const loc = `Destination.${key}`;
5634
+ entries[loc] = value;
5635
+ });
5636
+ }
5637
+ return entries;
5638
+ }, "se_ResourceMapping");
5639
+ var se_ResourceMappings = /* @__PURE__ */ __name((input, context) => {
5640
+ const entries = {};
5641
+ let counter = 1;
5642
+ for (const entry of input) {
5643
+ if (entry === null) {
5644
+ continue;
5645
+ }
5646
+ const memberEntries = se_ResourceMapping(entry, context);
5647
+ Object.entries(memberEntries).forEach(([key, value]) => {
5648
+ entries[`member.${counter}.${key}`] = value;
5649
+ });
5650
+ counter++;
5651
+ }
5652
+ return entries;
5653
+ }, "se_ResourceMappings");
5336
5654
  var se_ResourcesToImport = /* @__PURE__ */ __name((input, context) => {
5337
5655
  const entries = {};
5338
5656
  let counter = 1;
@@ -5552,6 +5870,34 @@ var se_SignalResourceInput = /* @__PURE__ */ __name((input, context) => {
5552
5870
  }
5553
5871
  return entries;
5554
5872
  }, "se_SignalResourceInput");
5873
+ var se_StackDefinition = /* @__PURE__ */ __name((input, context) => {
5874
+ const entries = {};
5875
+ if (input[_SN] != null) {
5876
+ entries[_SN] = input[_SN];
5877
+ }
5878
+ if (input[_TB] != null) {
5879
+ entries[_TB] = input[_TB];
5880
+ }
5881
+ if (input[_TURL] != null) {
5882
+ entries[_TURL] = input[_TURL];
5883
+ }
5884
+ return entries;
5885
+ }, "se_StackDefinition");
5886
+ var se_StackDefinitions = /* @__PURE__ */ __name((input, context) => {
5887
+ const entries = {};
5888
+ let counter = 1;
5889
+ for (const entry of input) {
5890
+ if (entry === null) {
5891
+ continue;
5892
+ }
5893
+ const memberEntries = se_StackDefinition(entry, context);
5894
+ Object.entries(memberEntries).forEach(([key, value]) => {
5895
+ entries[`member.${counter}.${key}`] = value;
5896
+ });
5897
+ counter++;
5898
+ }
5899
+ return entries;
5900
+ }, "se_StackDefinitions");
5555
5901
  var se_StackIdList = /* @__PURE__ */ __name((input, context) => {
5556
5902
  const entries = {};
5557
5903
  let counter = 1;
@@ -5589,6 +5935,18 @@ var se_StackInstanceFilters = /* @__PURE__ */ __name((input, context) => {
5589
5935
  }
5590
5936
  return entries;
5591
5937
  }, "se_StackInstanceFilters");
5938
+ var se_StackRefactorExecutionStatusFilter = /* @__PURE__ */ __name((input, context) => {
5939
+ const entries = {};
5940
+ let counter = 1;
5941
+ for (const entry of input) {
5942
+ if (entry === null) {
5943
+ continue;
5944
+ }
5945
+ entries[`member.${counter}`] = entry;
5946
+ counter++;
5947
+ }
5948
+ return entries;
5949
+ }, "se_StackRefactorExecutionStatusFilter");
5592
5950
  var se_StackResourceDriftStatusFilters = /* @__PURE__ */ __name((input, context) => {
5593
5951
  const entries = {};
5594
5952
  let counter = 1;
@@ -6389,6 +6747,13 @@ var de_CreateStackOutput = /* @__PURE__ */ __name((output, context) => {
6389
6747
  }
6390
6748
  return contents;
6391
6749
  }, "de_CreateStackOutput");
6750
+ var de_CreateStackRefactorOutput = /* @__PURE__ */ __name((output, context) => {
6751
+ const contents = {};
6752
+ if (output[_SRI] != null) {
6753
+ contents[_SRI] = (0, import_smithy_client.expectString)(output[_SRI]);
6754
+ }
6755
+ return contents;
6756
+ }, "de_CreateStackRefactorOutput");
6392
6757
  var de_CreateStackSetOutput = /* @__PURE__ */ __name((output, context) => {
6393
6758
  const contents = {};
6394
6759
  if (output[_SSI] != null) {
@@ -6698,6 +7063,33 @@ var de_DescribeStackInstanceOutput = /* @__PURE__ */ __name((output, context) =>
6698
7063
  }
6699
7064
  return contents;
6700
7065
  }, "de_DescribeStackInstanceOutput");
7066
+ var de_DescribeStackRefactorOutput = /* @__PURE__ */ __name((output, context) => {
7067
+ const contents = {};
7068
+ if (output[_D] != null) {
7069
+ contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
7070
+ }
7071
+ if (output[_SRI] != null) {
7072
+ contents[_SRI] = (0, import_smithy_client.expectString)(output[_SRI]);
7073
+ }
7074
+ if (output.StackIds === "") {
7075
+ contents[_SIt] = [];
7076
+ } else if (output[_SIt] != null && output[_SIt][_m] != null) {
7077
+ contents[_SIt] = de_StackIds((0, import_smithy_client.getArrayIfSingleItem)(output[_SIt][_m]), context);
7078
+ }
7079
+ if (output[_ES] != null) {
7080
+ contents[_ES] = (0, import_smithy_client.expectString)(output[_ES]);
7081
+ }
7082
+ if (output[_ESRx] != null) {
7083
+ contents[_ESRx] = (0, import_smithy_client.expectString)(output[_ESRx]);
7084
+ }
7085
+ if (output[_S] != null) {
7086
+ contents[_S] = (0, import_smithy_client.expectString)(output[_S]);
7087
+ }
7088
+ if (output[_SRt] != null) {
7089
+ contents[_SRt] = (0, import_smithy_client.expectString)(output[_SRt]);
7090
+ }
7091
+ return contents;
7092
+ }, "de_DescribeStackRefactorOutput");
6701
7093
  var de_DescribeStackResourceDriftsOutput = /* @__PURE__ */ __name((output, context) => {
6702
7094
  const contents = {};
6703
7095
  if (output.StackResourceDrifts === "") {
@@ -7204,12 +7596,36 @@ var de_ListStackInstancesOutput = /* @__PURE__ */ __name((output, context) => {
7204
7596
  }
7205
7597
  return contents;
7206
7598
  }, "de_ListStackInstancesOutput");
7207
- var de_ListStackResourcesOutput = /* @__PURE__ */ __name((output, context) => {
7599
+ var de_ListStackRefactorActionsOutput = /* @__PURE__ */ __name((output, context) => {
7208
7600
  const contents = {};
7209
- if (output.StackResourceSummaries === "") {
7601
+ if (output.StackRefactorActions === "") {
7602
+ contents[_SRA] = [];
7603
+ } else if (output[_SRA] != null && output[_SRA][_m] != null) {
7604
+ contents[_SRA] = de_StackRefactorActions((0, import_smithy_client.getArrayIfSingleItem)(output[_SRA][_m]), context);
7605
+ }
7606
+ if (output[_NT] != null) {
7607
+ contents[_NT] = (0, import_smithy_client.expectString)(output[_NT]);
7608
+ }
7609
+ return contents;
7610
+ }, "de_ListStackRefactorActionsOutput");
7611
+ var de_ListStackRefactorsOutput = /* @__PURE__ */ __name((output, context) => {
7612
+ const contents = {};
7613
+ if (output.StackRefactorSummaries === "") {
7210
7614
  contents[_SRSt] = [];
7211
7615
  } else if (output[_SRSt] != null && output[_SRSt][_m] != null) {
7212
- contents[_SRSt] = de_StackResourceSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_SRSt][_m]), context);
7616
+ contents[_SRSt] = de_StackRefactorSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_SRSt][_m]), context);
7617
+ }
7618
+ if (output[_NT] != null) {
7619
+ contents[_NT] = (0, import_smithy_client.expectString)(output[_NT]);
7620
+ }
7621
+ return contents;
7622
+ }, "de_ListStackRefactorsOutput");
7623
+ var de_ListStackResourcesOutput = /* @__PURE__ */ __name((output, context) => {
7624
+ const contents = {};
7625
+ if (output.StackResourceSummaries === "") {
7626
+ contents[_SRSta] = [];
7627
+ } else if (output[_SRSta] != null && output[_SRSta][_m] != null) {
7628
+ contents[_SRSta] = de_StackResourceSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_SRSta][_m]), context);
7213
7629
  }
7214
7630
  if (output[_NT] != null) {
7215
7631
  contents[_NT] = (0, import_smithy_client.expectString)(output[_NT]);
@@ -7592,9 +8008,9 @@ var de_ResourceChange = /* @__PURE__ */ __name((output, context) => {
7592
8008
  contents[_Sco] = de_Scope((0, import_smithy_client.getArrayIfSingleItem)(output[_Sco][_m]), context);
7593
8009
  }
7594
8010
  if (output.Details === "") {
7595
- contents[_De] = [];
7596
- } else if (output[_De] != null && output[_De][_m] != null) {
7597
- contents[_De] = de_ResourceChangeDetails((0, import_smithy_client.getArrayIfSingleItem)(output[_De][_m]), context);
8011
+ contents[_Det] = [];
8012
+ } else if (output[_Det] != null && output[_Det][_m] != null) {
8013
+ contents[_Det] = de_ResourceChangeDetails((0, import_smithy_client.getArrayIfSingleItem)(output[_Det][_m]), context);
7598
8014
  }
7599
8015
  if (output[_CSIh] != null) {
7600
8016
  contents[_CSIh] = (0, import_smithy_client.expectString)(output[_CSIh]);
@@ -7698,6 +8114,26 @@ var de_ResourceIdentifierSummary = /* @__PURE__ */ __name((output, context) => {
7698
8114
  }
7699
8115
  return contents;
7700
8116
  }, "de_ResourceIdentifierSummary");
8117
+ var de_ResourceLocation = /* @__PURE__ */ __name((output, context) => {
8118
+ const contents = {};
8119
+ if (output[_SN] != null) {
8120
+ contents[_SN] = (0, import_smithy_client.expectString)(output[_SN]);
8121
+ }
8122
+ if (output[_LRI] != null) {
8123
+ contents[_LRI] = (0, import_smithy_client.expectString)(output[_LRI]);
8124
+ }
8125
+ return contents;
8126
+ }, "de_ResourceLocation");
8127
+ var de_ResourceMapping = /* @__PURE__ */ __name((output, context) => {
8128
+ const contents = {};
8129
+ if (output[_So] != null) {
8130
+ contents[_So] = de_ResourceLocation(output[_So], context);
8131
+ }
8132
+ if (output[_De] != null) {
8133
+ contents[_De] = de_ResourceLocation(output[_De], context);
8134
+ }
8135
+ return contents;
8136
+ }, "de_ResourceMapping");
7701
8137
  var de_ResourceScanInProgressException = /* @__PURE__ */ __name((output, context) => {
7702
8138
  const contents = {};
7703
8139
  if (output[_M] != null) {
@@ -8015,6 +8451,11 @@ var de_StackEvents = /* @__PURE__ */ __name((output, context) => {
8015
8451
  return de_StackEvent(entry, context);
8016
8452
  });
8017
8453
  }, "de_StackEvents");
8454
+ var de_StackIds = /* @__PURE__ */ __name((output, context) => {
8455
+ return (output || []).filter((e) => e != null).map((entry) => {
8456
+ return (0, import_smithy_client.expectString)(entry);
8457
+ });
8458
+ }, "de_StackIds");
8018
8459
  var de_StackInstance = /* @__PURE__ */ __name((output, context) => {
8019
8460
  const contents = {};
8020
8461
  if (output[_SSI] != null) {
@@ -8157,6 +8598,93 @@ var de_StackNotFoundException = /* @__PURE__ */ __name((output, context) => {
8157
8598
  }
8158
8599
  return contents;
8159
8600
  }, "de_StackNotFoundException");
8601
+ var de_StackRefactorAction = /* @__PURE__ */ __name((output, context) => {
8602
+ const contents = {};
8603
+ if (output[_A] != null) {
8604
+ contents[_A] = (0, import_smithy_client.expectString)(output[_A]);
8605
+ }
8606
+ if (output[_En] != null) {
8607
+ contents[_En] = (0, import_smithy_client.expectString)(output[_En]);
8608
+ }
8609
+ if (output[_PRI] != null) {
8610
+ contents[_PRI] = (0, import_smithy_client.expectString)(output[_PRI]);
8611
+ }
8612
+ if (output[_RI] != null) {
8613
+ contents[_RI] = (0, import_smithy_client.expectString)(output[_RI]);
8614
+ }
8615
+ if (output[_D] != null) {
8616
+ contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
8617
+ }
8618
+ if (output[_Dete] != null) {
8619
+ contents[_Dete] = (0, import_smithy_client.expectString)(output[_Dete]);
8620
+ }
8621
+ if (output[_DRe] != null) {
8622
+ contents[_DRe] = (0, import_smithy_client.expectString)(output[_DRe]);
8623
+ }
8624
+ if (output.TagResources === "") {
8625
+ contents[_TR] = [];
8626
+ } else if (output[_TR] != null && output[_TR][_m] != null) {
8627
+ contents[_TR] = de_StackRefactorTagResources((0, import_smithy_client.getArrayIfSingleItem)(output[_TR][_m]), context);
8628
+ }
8629
+ if (output.UntagResources === "") {
8630
+ contents[_UR] = [];
8631
+ } else if (output[_UR] != null && output[_UR][_m] != null) {
8632
+ contents[_UR] = de_StackRefactorUntagResources((0, import_smithy_client.getArrayIfSingleItem)(output[_UR][_m]), context);
8633
+ }
8634
+ if (output[_RMes] != null) {
8635
+ contents[_RMes] = de_ResourceMapping(output[_RMes], context);
8636
+ }
8637
+ return contents;
8638
+ }, "de_StackRefactorAction");
8639
+ var de_StackRefactorActions = /* @__PURE__ */ __name((output, context) => {
8640
+ return (output || []).filter((e) => e != null).map((entry) => {
8641
+ return de_StackRefactorAction(entry, context);
8642
+ });
8643
+ }, "de_StackRefactorActions");
8644
+ var de_StackRefactorNotFoundException = /* @__PURE__ */ __name((output, context) => {
8645
+ const contents = {};
8646
+ if (output[_M] != null) {
8647
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
8648
+ }
8649
+ return contents;
8650
+ }, "de_StackRefactorNotFoundException");
8651
+ var de_StackRefactorSummaries = /* @__PURE__ */ __name((output, context) => {
8652
+ return (output || []).filter((e) => e != null).map((entry) => {
8653
+ return de_StackRefactorSummary(entry, context);
8654
+ });
8655
+ }, "de_StackRefactorSummaries");
8656
+ var de_StackRefactorSummary = /* @__PURE__ */ __name((output, context) => {
8657
+ const contents = {};
8658
+ if (output[_SRI] != null) {
8659
+ contents[_SRI] = (0, import_smithy_client.expectString)(output[_SRI]);
8660
+ }
8661
+ if (output[_D] != null) {
8662
+ contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
8663
+ }
8664
+ if (output[_ES] != null) {
8665
+ contents[_ES] = (0, import_smithy_client.expectString)(output[_ES]);
8666
+ }
8667
+ if (output[_ESRx] != null) {
8668
+ contents[_ESRx] = (0, import_smithy_client.expectString)(output[_ESRx]);
8669
+ }
8670
+ if (output[_S] != null) {
8671
+ contents[_S] = (0, import_smithy_client.expectString)(output[_S]);
8672
+ }
8673
+ if (output[_SRt] != null) {
8674
+ contents[_SRt] = (0, import_smithy_client.expectString)(output[_SRt]);
8675
+ }
8676
+ return contents;
8677
+ }, "de_StackRefactorSummary");
8678
+ var de_StackRefactorTagResources = /* @__PURE__ */ __name((output, context) => {
8679
+ return (output || []).filter((e) => e != null).map((entry) => {
8680
+ return de_Tag(entry, context);
8681
+ });
8682
+ }, "de_StackRefactorTagResources");
8683
+ var de_StackRefactorUntagResources = /* @__PURE__ */ __name((output, context) => {
8684
+ return (output || []).filter((e) => e != null).map((entry) => {
8685
+ return (0, import_smithy_client.expectString)(entry);
8686
+ });
8687
+ }, "de_StackRefactorUntagResources");
8160
8688
  var de_StackResource = /* @__PURE__ */ __name((output, context) => {
8161
8689
  const contents = {};
8162
8690
  if (output[_SN] != null) {
@@ -8508,8 +9036,8 @@ var de_StackSetOperation = /* @__PURE__ */ __name((output, context) => {
8508
9036
  if (output[_SRt] != null) {
8509
9037
  contents[_SRt] = (0, import_smithy_client.expectString)(output[_SRt]);
8510
9038
  }
8511
- if (output[_SD] != null) {
8512
- contents[_SD] = de_StackSetOperationStatusDetails(output[_SD], context);
9039
+ if (output[_SDt] != null) {
9040
+ contents[_SDt] = de_StackSetOperationStatusDetails(output[_SDt], context);
8513
9041
  }
8514
9042
  return contents;
8515
9043
  }, "de_StackSetOperation");
@@ -8599,8 +9127,8 @@ var de_StackSetOperationSummary = /* @__PURE__ */ __name((output, context) => {
8599
9127
  if (output[_SRt] != null) {
8600
9128
  contents[_SRt] = (0, import_smithy_client.expectString)(output[_SRt]);
8601
9129
  }
8602
- if (output[_SD] != null) {
8603
- contents[_SD] = de_StackSetOperationStatusDetails(output[_SD], context);
9130
+ if (output[_SDt] != null) {
9131
+ contents[_SDt] = de_StackSetOperationStatusDetails(output[_SDt], context);
8604
9132
  }
8605
9133
  if (output[_OP] != null) {
8606
9134
  contents[_OP] = de_StackSetOperationPreferences(output[_OP], context);
@@ -9150,6 +9678,7 @@ var _CS = "CreateStack";
9150
9678
  var _CSI = "CreateStackInstances";
9151
9679
  var _CSIh = "ChangeSetId";
9152
9680
  var _CSN = "ChangeSetName";
9681
+ var _CSR = "CreateStackRefactor";
9153
9682
  var _CSS = "CreateStackSet";
9154
9683
  var _CST = "ChangeSetType";
9155
9684
  var _CSh = "ChangeSource";
@@ -9178,6 +9707,7 @@ var _DP = "DescribePublisher";
9178
9707
  var _DPe = "DeletionPolicy";
9179
9708
  var _DR = "DisableRollback";
9180
9709
  var _DRS = "DescribeResourceScan";
9710
+ var _DRe = "DetectionReason";
9181
9711
  var _DS = "DeleteStack";
9182
9712
  var _DSD = "DetectStackDrift";
9183
9713
  var _DSDDS = "DescribeStackDriftDetectionStatus";
@@ -9185,11 +9715,12 @@ var _DSE = "DescribeStackEvents";
9185
9715
  var _DSI = "DeleteStackInstances";
9186
9716
  var _DSIC = "DriftedStackInstancesCount";
9187
9717
  var _DSIe = "DescribeStackInstance";
9188
- var _DSR = "DescribeStackResource";
9718
+ var _DSR = "DescribeStackRefactor";
9189
9719
  var _DSRC = "DriftedStackResourceCount";
9190
9720
  var _DSRD = "DescribeStackResourceDrifts";
9191
9721
  var _DSRDe = "DetectStackResourceDrift";
9192
- var _DSRe = "DescribeStackResources";
9722
+ var _DSRe = "DescribeStackResource";
9723
+ var _DSRes = "DescribeStackResources";
9193
9724
  var _DSRet = "DetectionStatusReason";
9194
9725
  var _DSS = "DeleteStackSet";
9195
9726
  var _DSSD = "DetectStackSetDrift";
@@ -9211,7 +9742,9 @@ var _DTi = "DifferenceType";
9211
9742
  var _DU = "DocumentationUrl";
9212
9743
  var _DV = "DefaultValue";
9213
9744
  var _DVI = "DefaultVersionId";
9214
- var _De = "Details";
9745
+ var _De = "Destination";
9746
+ var _Det = "Details";
9747
+ var _Dete = "Detection";
9215
9748
  var _E = "Enabled";
9216
9749
  var _EC = "ErrorCode";
9217
9750
  var _ECS = "ExecuteChangeSet";
@@ -9222,12 +9755,17 @@ var _EP = "ExpectedProperties";
9222
9755
  var _ERA = "ExecutionRoleArn";
9223
9756
  var _ERN = "ExecutionRoleName";
9224
9757
  var _ES = "ExecutionStatus";
9758
+ var _ESC = "EnableStackCreation";
9759
+ var _ESF = "ExecutionStatusFilter";
9225
9760
  var _ESI = "ExportingStackId";
9761
+ var _ESR = "ExecuteStackRefactor";
9762
+ var _ESRx = "ExecutionStatusReason";
9226
9763
  var _ET = "EndTime";
9227
9764
  var _ETC = "EstimateTemplateCost";
9228
9765
  var _ETP = "EnableTerminationProtection";
9229
9766
  var _ETn = "EndTimestamp";
9230
9767
  var _EV = "ExpectedValue";
9768
+ var _En = "Entity";
9231
9769
  var _Er = "Errors";
9232
9770
  var _Ev = "Evaluation";
9233
9771
  var _Ex = "Exports";
@@ -9287,7 +9825,9 @@ var _LRSRR = "ListResourceScanRelatedResources";
9287
9825
  var _LS = "ListStacks";
9288
9826
  var _LSI = "ListStackInstances";
9289
9827
  var _LSIRD = "ListStackInstanceResourceDrifts";
9290
- var _LSR = "ListStackResources";
9828
+ var _LSR = "ListStackRefactors";
9829
+ var _LSRA = "ListStackRefactorActions";
9830
+ var _LSRi = "ListStackResources";
9291
9831
  var _LSS = "ListStackSets";
9292
9832
  var _LSSADT = "ListStackSetAutoDeploymentTargets";
9293
9833
  var _LSSO = "ListStackSetOperations";
@@ -9370,7 +9910,9 @@ var _RI = "ResourceIdentifier";
9370
9910
  var _RIS = "ResourceIdentifierSummaries";
9371
9911
  var _RIe = "ResourceIdentifiers";
9372
9912
  var _RIo = "RootId";
9373
- var _RM = "ResourceModel";
9913
+ var _RM = "ResourceMappings";
9914
+ var _RMe = "ResourceModel";
9915
+ var _RMes = "ResourceMapping";
9374
9916
  var _RO = "RegionOrder";
9375
9917
  var _RP = "RegisterPublisher";
9376
9918
  var _RPe = "ResourceProperties";
@@ -9408,9 +9950,10 @@ var _Rep = "Replacement";
9408
9950
  var _Req = "Required";
9409
9951
  var _S = "Status";
9410
9952
  var _SA = "StagesAvailable";
9411
- var _SD = "StatusDetails";
9953
+ var _SD = "StackDefinitions";
9412
9954
  var _SDDI = "StackDriftDetectionId";
9413
9955
  var _SDS = "StackDriftStatus";
9956
+ var _SDt = "StatusDetails";
9414
9957
  var _SE = "StackEvents";
9415
9958
  var _SHP = "SchemaHandlerPackage";
9416
9959
  var _SI = "StackId";
@@ -9429,13 +9972,16 @@ var _SPDUB = "StackPolicyDuringUpdateBody";
9429
9972
  var _SPDUURL = "StackPolicyDuringUpdateURL";
9430
9973
  var _SPURL = "StackPolicyURL";
9431
9974
  var _SR = "SignalResource";
9975
+ var _SRA = "StackRefactorActions";
9432
9976
  var _SRD = "StackResourceDrifts";
9433
9977
  var _SRDS = "StackResourceDriftStatus";
9434
9978
  var _SRDSF = "StackResourceDriftStatusFilters";
9435
9979
  var _SRDt = "StackResourceDetail";
9436
9980
  var _SRDta = "StackResourceDrift";
9981
+ var _SRI = "StackRefactorId";
9437
9982
  var _SRS = "StartResourceScan";
9438
- var _SRSt = "StackResourceSummaries";
9983
+ var _SRSt = "StackRefactorSummaries";
9984
+ var _SRSta = "StackResourceSummaries";
9439
9985
  var _SRt = "StatusReason";
9440
9986
  var _SRta = "StackResources";
9441
9987
  var _SS = "StackSet";
@@ -9456,6 +10002,7 @@ var _STDV = "SetTypeDefaultVersion";
9456
10002
  var _SU = "SourceUrl";
9457
10003
  var _Sc = "Schema";
9458
10004
  var _Sco = "Scope";
10005
+ var _So = "Source";
9459
10006
  var _St = "Stacks";
9460
10007
  var _Su = "Summaries";
9461
10008
  var _T = "Type";
@@ -9478,6 +10025,7 @@ var _TK = "TagKey";
9478
10025
  var _TN = "TypeName";
9479
10026
  var _TNA = "TypeNameAlias";
9480
10027
  var _TNP = "TypeNamePrefix";
10028
+ var _TR = "TagResources";
9481
10029
  var _TS = "TemplateStage";
9482
10030
  var _TSC = "TemplateSummaryConfig";
9483
10031
  var _TSIC = "TotalStackInstancesCount";
@@ -9501,6 +10049,7 @@ var _UGT = "UpdateGeneratedTemplate";
9501
10049
  var _UI = "UniqueId";
9502
10050
  var _UPT = "UsePreviousTemplate";
9503
10051
  var _UPV = "UsePreviousValue";
10052
+ var _UR = "UntagResources";
9504
10053
  var _URP = "UpdateReplacePolicy";
9505
10054
  var _URT = "UnrecognizedResourceTypes";
9506
10055
  var _US = "UpdateStack";
@@ -9660,6 +10209,21 @@ var CreateStackInstancesCommand = class extends import_smithy_client.Command.cla
9660
10209
  }
9661
10210
  };
9662
10211
 
10212
+ // src/commands/CreateStackRefactorCommand.ts
10213
+
10214
+
10215
+
10216
+ var CreateStackRefactorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
10217
+ return [
10218
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10219
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10220
+ ];
10221
+ }).s("CloudFormation", "CreateStackRefactor", {}).n("CloudFormationClient", "CreateStackRefactorCommand").f(void 0, void 0).ser(se_CreateStackRefactorCommand).de(de_CreateStackRefactorCommand).build() {
10222
+ static {
10223
+ __name(this, "CreateStackRefactorCommand");
10224
+ }
10225
+ };
10226
+
9663
10227
  // src/commands/CreateStackSetCommand.ts
9664
10228
 
9665
10229
 
@@ -9945,6 +10509,21 @@ var DescribeStackInstanceCommand = class extends import_smithy_client.Command.cl
9945
10509
  }
9946
10510
  };
9947
10511
 
10512
+ // src/commands/DescribeStackRefactorCommand.ts
10513
+
10514
+
10515
+
10516
+ var DescribeStackRefactorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
10517
+ return [
10518
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10519
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10520
+ ];
10521
+ }).s("CloudFormation", "DescribeStackRefactor", {}).n("CloudFormationClient", "DescribeStackRefactorCommand").f(void 0, void 0).ser(se_DescribeStackRefactorCommand).de(de_DescribeStackRefactorCommand).build() {
10522
+ static {
10523
+ __name(this, "DescribeStackRefactorCommand");
10524
+ }
10525
+ };
10526
+
9948
10527
  // src/commands/DescribeStackResourceCommand.ts
9949
10528
 
9950
10529
 
@@ -10140,6 +10719,21 @@ var ExecuteChangeSetCommand = class extends import_smithy_client.Command.classBu
10140
10719
  }
10141
10720
  };
10142
10721
 
10722
+ // src/commands/ExecuteStackRefactorCommand.ts
10723
+
10724
+
10725
+
10726
+ var ExecuteStackRefactorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
10727
+ return [
10728
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10729
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10730
+ ];
10731
+ }).s("CloudFormation", "ExecuteStackRefactor", {}).n("CloudFormationClient", "ExecuteStackRefactorCommand").f(void 0, void 0).ser(se_ExecuteStackRefactorCommand).de(de_ExecuteStackRefactorCommand).build() {
10732
+ static {
10733
+ __name(this, "ExecuteStackRefactorCommand");
10734
+ }
10735
+ };
10736
+
10143
10737
  // src/commands/GetGeneratedTemplateCommand.ts
10144
10738
 
10145
10739
 
@@ -10365,6 +10959,36 @@ var ListStackInstancesCommand = class extends import_smithy_client.Command.class
10365
10959
  }
10366
10960
  };
10367
10961
 
10962
+ // src/commands/ListStackRefactorActionsCommand.ts
10963
+
10964
+
10965
+
10966
+ var ListStackRefactorActionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
10967
+ return [
10968
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10969
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10970
+ ];
10971
+ }).s("CloudFormation", "ListStackRefactorActions", {}).n("CloudFormationClient", "ListStackRefactorActionsCommand").f(void 0, void 0).ser(se_ListStackRefactorActionsCommand).de(de_ListStackRefactorActionsCommand).build() {
10972
+ static {
10973
+ __name(this, "ListStackRefactorActionsCommand");
10974
+ }
10975
+ };
10976
+
10977
+ // src/commands/ListStackRefactorsCommand.ts
10978
+
10979
+
10980
+
10981
+ var ListStackRefactorsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
10982
+ return [
10983
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10984
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10985
+ ];
10986
+ }).s("CloudFormation", "ListStackRefactors", {}).n("CloudFormationClient", "ListStackRefactorsCommand").f(void 0, void 0).ser(se_ListStackRefactorsCommand).de(de_ListStackRefactorsCommand).build() {
10987
+ static {
10988
+ __name(this, "ListStackRefactorsCommand");
10989
+ }
10990
+ };
10991
+
10368
10992
  // src/commands/ListStackResourcesCommand.ts
10369
10993
 
10370
10994
 
@@ -10781,6 +11405,7 @@ var commands = {
10781
11405
  CreateGeneratedTemplateCommand,
10782
11406
  CreateStackCommand,
10783
11407
  CreateStackInstancesCommand,
11408
+ CreateStackRefactorCommand,
10784
11409
  CreateStackSetCommand,
10785
11410
  DeactivateOrganizationsAccessCommand,
10786
11411
  DeactivateTypeCommand,
@@ -10800,6 +11425,7 @@ var commands = {
10800
11425
  DescribeStackDriftDetectionStatusCommand,
10801
11426
  DescribeStackEventsCommand,
10802
11427
  DescribeStackInstanceCommand,
11428
+ DescribeStackRefactorCommand,
10803
11429
  DescribeStackResourceCommand,
10804
11430
  DescribeStackResourceDriftsCommand,
10805
11431
  DescribeStackResourcesCommand,
@@ -10813,6 +11439,7 @@ var commands = {
10813
11439
  DetectStackSetDriftCommand,
10814
11440
  EstimateTemplateCostCommand,
10815
11441
  ExecuteChangeSetCommand,
11442
+ ExecuteStackRefactorCommand,
10816
11443
  GetGeneratedTemplateCommand,
10817
11444
  GetStackPolicyCommand,
10818
11445
  GetTemplateCommand,
@@ -10828,6 +11455,8 @@ var commands = {
10828
11455
  ListResourceScansCommand,
10829
11456
  ListStackInstanceResourceDriftsCommand,
10830
11457
  ListStackInstancesCommand,
11458
+ ListStackRefactorActionsCommand,
11459
+ ListStackRefactorsCommand,
10831
11460
  ListStackResourcesCommand,
10832
11461
  ListStacksCommand,
10833
11462
  ListStackSetAutoDeploymentTargetsCommand,
@@ -10911,6 +11540,14 @@ var paginateListResourceScans = (0, import_core.createPaginator)(CloudFormationC
10911
11540
 
10912
11541
  var paginateListStackInstances = (0, import_core.createPaginator)(CloudFormationClient, ListStackInstancesCommand, "NextToken", "NextToken", "MaxResults");
10913
11542
 
11543
+ // src/pagination/ListStackRefactorActionsPaginator.ts
11544
+
11545
+ var paginateListStackRefactorActions = (0, import_core.createPaginator)(CloudFormationClient, ListStackRefactorActionsCommand, "NextToken", "NextToken", "MaxResults");
11546
+
11547
+ // src/pagination/ListStackRefactorsPaginator.ts
11548
+
11549
+ var paginateListStackRefactors = (0, import_core.createPaginator)(CloudFormationClient, ListStackRefactorsCommand, "NextToken", "NextToken", "MaxResults");
11550
+
10914
11551
  // src/pagination/ListStackResourcesPaginator.ts
10915
11552
 
10916
11553
  var paginateListStackResources = (0, import_core.createPaginator)(CloudFormationClient, ListStackResourcesCommand, "NextToken", "NextToken", "");
@@ -11529,9 +12166,104 @@ var waitUntilStackImportComplete = /* @__PURE__ */ __name(async (params, input)
11529
12166
  return (0, import_util_waiter.checkExceptions)(result);
11530
12167
  }, "waitUntilStackImportComplete");
11531
12168
 
11532
- // src/waiters/waitForStackRollbackComplete.ts
12169
+ // src/waiters/waitForStackRefactorCreateComplete.ts
11533
12170
 
11534
12171
  var checkState6 = /* @__PURE__ */ __name(async (client, input) => {
12172
+ let reason;
12173
+ try {
12174
+ const result = await client.send(new DescribeStackRefactorCommand(input));
12175
+ reason = result;
12176
+ try {
12177
+ const returnComparator = /* @__PURE__ */ __name(() => {
12178
+ return result.Status;
12179
+ }, "returnComparator");
12180
+ if (returnComparator() === "CREATE_COMPLETE") {
12181
+ return { state: import_util_waiter.WaiterState.SUCCESS, reason };
12182
+ }
12183
+ } catch (e) {
12184
+ }
12185
+ try {
12186
+ const returnComparator = /* @__PURE__ */ __name(() => {
12187
+ return result.Status;
12188
+ }, "returnComparator");
12189
+ if (returnComparator() === "CREATE_FAILED") {
12190
+ return { state: import_util_waiter.WaiterState.FAILURE, reason };
12191
+ }
12192
+ } catch (e) {
12193
+ }
12194
+ } catch (exception) {
12195
+ reason = exception;
12196
+ if (exception.name && exception.name == "ValidationError") {
12197
+ return { state: import_util_waiter.WaiterState.FAILURE, reason };
12198
+ }
12199
+ }
12200
+ return { state: import_util_waiter.WaiterState.RETRY, reason };
12201
+ }, "checkState");
12202
+ var waitForStackRefactorCreateComplete = /* @__PURE__ */ __name(async (params, input) => {
12203
+ const serviceDefaults = { minDelay: 5, maxDelay: 120 };
12204
+ return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6);
12205
+ }, "waitForStackRefactorCreateComplete");
12206
+ var waitUntilStackRefactorCreateComplete = /* @__PURE__ */ __name(async (params, input) => {
12207
+ const serviceDefaults = { minDelay: 5, maxDelay: 120 };
12208
+ const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6);
12209
+ return (0, import_util_waiter.checkExceptions)(result);
12210
+ }, "waitUntilStackRefactorCreateComplete");
12211
+
12212
+ // src/waiters/waitForStackRefactorExecuteComplete.ts
12213
+
12214
+ var checkState7 = /* @__PURE__ */ __name(async (client, input) => {
12215
+ let reason;
12216
+ try {
12217
+ const result = await client.send(new DescribeStackRefactorCommand(input));
12218
+ reason = result;
12219
+ try {
12220
+ const returnComparator = /* @__PURE__ */ __name(() => {
12221
+ return result.ExecutionStatus;
12222
+ }, "returnComparator");
12223
+ if (returnComparator() === "EXECUTE_COMPLETE") {
12224
+ return { state: import_util_waiter.WaiterState.SUCCESS, reason };
12225
+ }
12226
+ } catch (e) {
12227
+ }
12228
+ try {
12229
+ const returnComparator = /* @__PURE__ */ __name(() => {
12230
+ return result.ExecutionStatus;
12231
+ }, "returnComparator");
12232
+ if (returnComparator() === "EXECUTE_FAILED") {
12233
+ return { state: import_util_waiter.WaiterState.FAILURE, reason };
12234
+ }
12235
+ } catch (e) {
12236
+ }
12237
+ try {
12238
+ const returnComparator = /* @__PURE__ */ __name(() => {
12239
+ return result.ExecutionStatus;
12240
+ }, "returnComparator");
12241
+ if (returnComparator() === "ROLLBACK_COMPLETE") {
12242
+ return { state: import_util_waiter.WaiterState.FAILURE, reason };
12243
+ }
12244
+ } catch (e) {
12245
+ }
12246
+ } catch (exception) {
12247
+ reason = exception;
12248
+ if (exception.name && exception.name == "ValidationError") {
12249
+ return { state: import_util_waiter.WaiterState.FAILURE, reason };
12250
+ }
12251
+ }
12252
+ return { state: import_util_waiter.WaiterState.RETRY, reason };
12253
+ }, "checkState");
12254
+ var waitForStackRefactorExecuteComplete = /* @__PURE__ */ __name(async (params, input) => {
12255
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
12256
+ return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState7);
12257
+ }, "waitForStackRefactorExecuteComplete");
12258
+ var waitUntilStackRefactorExecuteComplete = /* @__PURE__ */ __name(async (params, input) => {
12259
+ const serviceDefaults = { minDelay: 15, maxDelay: 120 };
12260
+ const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState7);
12261
+ return (0, import_util_waiter.checkExceptions)(result);
12262
+ }, "waitUntilStackRefactorExecuteComplete");
12263
+
12264
+ // src/waiters/waitForStackRollbackComplete.ts
12265
+
12266
+ var checkState8 = /* @__PURE__ */ __name(async (client, input) => {
11535
12267
  let reason;
11536
12268
  try {
11537
12269
  const result = await client.send(new DescribeStacksCommand(input));
@@ -11608,17 +12340,17 @@ var checkState6 = /* @__PURE__ */ __name(async (client, input) => {
11608
12340
  }, "checkState");
11609
12341
  var waitForStackRollbackComplete = /* @__PURE__ */ __name(async (params, input) => {
11610
12342
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
11611
- return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6);
12343
+ return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState8);
11612
12344
  }, "waitForStackRollbackComplete");
11613
12345
  var waitUntilStackRollbackComplete = /* @__PURE__ */ __name(async (params, input) => {
11614
12346
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
11615
- const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState6);
12347
+ const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState8);
11616
12348
  return (0, import_util_waiter.checkExceptions)(result);
11617
12349
  }, "waitUntilStackRollbackComplete");
11618
12350
 
11619
12351
  // src/waiters/waitForStackUpdateComplete.ts
11620
12352
 
11621
- var checkState7 = /* @__PURE__ */ __name(async (client, input) => {
12353
+ var checkState9 = /* @__PURE__ */ __name(async (client, input) => {
11622
12354
  let reason;
11623
12355
  try {
11624
12356
  const result = await client.send(new DescribeStacksCommand(input));
@@ -11695,17 +12427,17 @@ var checkState7 = /* @__PURE__ */ __name(async (client, input) => {
11695
12427
  }, "checkState");
11696
12428
  var waitForStackUpdateComplete = /* @__PURE__ */ __name(async (params, input) => {
11697
12429
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
11698
- return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState7);
12430
+ return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState9);
11699
12431
  }, "waitForStackUpdateComplete");
11700
12432
  var waitUntilStackUpdateComplete = /* @__PURE__ */ __name(async (params, input) => {
11701
12433
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
11702
- const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState7);
12434
+ const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState9);
11703
12435
  return (0, import_util_waiter.checkExceptions)(result);
11704
12436
  }, "waitUntilStackUpdateComplete");
11705
12437
 
11706
12438
  // src/waiters/waitForTypeRegistrationComplete.ts
11707
12439
 
11708
- var checkState8 = /* @__PURE__ */ __name(async (client, input) => {
12440
+ var checkState10 = /* @__PURE__ */ __name(async (client, input) => {
11709
12441
  let reason;
11710
12442
  try {
11711
12443
  const result = await client.send(new DescribeTypeRegistrationCommand(input));
@@ -11735,11 +12467,11 @@ var checkState8 = /* @__PURE__ */ __name(async (client, input) => {
11735
12467
  }, "checkState");
11736
12468
  var waitForTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, input) => {
11737
12469
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
11738
- return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState8);
12470
+ return (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState10);
11739
12471
  }, "waitForTypeRegistrationComplete");
11740
12472
  var waitUntilTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, input) => {
11741
12473
  const serviceDefaults = { minDelay: 30, maxDelay: 120 };
11742
- const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState8);
12474
+ const result = await (0, import_util_waiter.createWaiter)({ ...serviceDefaults, ...params }, input, checkState10);
11743
12475
  return (0, import_util_waiter.checkExceptions)(result);
11744
12476
  }, "waitUntilTypeRegistrationComplete");
11745
12477
  // Annotate the CommonJS export names for ESM import in node:
@@ -11759,6 +12491,7 @@ var waitUntilTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, in
11759
12491
  CreateGeneratedTemplateCommand,
11760
12492
  CreateStackCommand,
11761
12493
  CreateStackInstancesCommand,
12494
+ CreateStackRefactorCommand,
11762
12495
  CreateStackSetCommand,
11763
12496
  DeactivateOrganizationsAccessCommand,
11764
12497
  DeactivateTypeCommand,
@@ -11778,6 +12511,7 @@ var waitUntilTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, in
11778
12511
  DescribeStackDriftDetectionStatusCommand,
11779
12512
  DescribeStackEventsCommand,
11780
12513
  DescribeStackInstanceCommand,
12514
+ DescribeStackRefactorCommand,
11781
12515
  DescribeStackResourceCommand,
11782
12516
  DescribeStackResourceDriftsCommand,
11783
12517
  DescribeStackResourcesCommand,
@@ -11791,6 +12525,7 @@ var waitUntilTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, in
11791
12525
  DetectStackSetDriftCommand,
11792
12526
  EstimateTemplateCostCommand,
11793
12527
  ExecuteChangeSetCommand,
12528
+ ExecuteStackRefactorCommand,
11794
12529
  GetGeneratedTemplateCommand,
11795
12530
  GetStackPolicyCommand,
11796
12531
  GetTemplateCommand,
@@ -11806,6 +12541,8 @@ var waitUntilTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, in
11806
12541
  ListResourceScansCommand,
11807
12542
  ListStackInstanceResourceDriftsCommand,
11808
12543
  ListStackInstancesCommand,
12544
+ ListStackRefactorActionsCommand,
12545
+ ListStackRefactorsCommand,
11809
12546
  ListStackResourcesCommand,
11810
12547
  ListStackSetAutoDeploymentTargetsCommand,
11811
12548
  ListStackSetOperationResultsCommand,
@@ -11845,6 +12582,8 @@ var waitUntilTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, in
11845
12582
  paginateListResourceScanResources,
11846
12583
  paginateListResourceScans,
11847
12584
  paginateListStackInstances,
12585
+ paginateListStackRefactorActions,
12586
+ paginateListStackRefactors,
11848
12587
  paginateListStackResources,
11849
12588
  paginateListStackSetOperationResults,
11850
12589
  paginateListStackSetOperations,
@@ -11863,6 +12602,10 @@ var waitUntilTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, in
11863
12602
  waitUntilStackExists,
11864
12603
  waitForStackImportComplete,
11865
12604
  waitUntilStackImportComplete,
12605
+ waitForStackRefactorCreateComplete,
12606
+ waitUntilStackRefactorCreateComplete,
12607
+ waitForStackRefactorExecuteComplete,
12608
+ waitUntilStackRefactorExecuteComplete,
11866
12609
  waitForStackRollbackComplete,
11867
12610
  waitUntilStackRollbackComplete,
11868
12611
  waitForStackUpdateComplete,
@@ -11937,6 +12680,9 @@ var waitUntilTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, in
11937
12680
  StackInstanceDetailedStatus,
11938
12681
  StackInstanceStatus,
11939
12682
  StackInstanceNotFoundException,
12683
+ StackRefactorExecutionStatus,
12684
+ StackRefactorStatus,
12685
+ StackRefactorNotFoundException,
11940
12686
  StackResourceDriftStatus,
11941
12687
  DifferenceType,
11942
12688
  StackStatus,
@@ -11957,6 +12703,9 @@ var waitUntilTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, in
11957
12703
  ListHookResultsTargetType,
11958
12704
  ResourceScanInProgressException,
11959
12705
  StackInstanceFilterName,
12706
+ StackRefactorActionType,
12707
+ StackRefactorDetection,
12708
+ StackRefactorActionEntity,
11960
12709
  OperationResultFilterName,
11961
12710
  StackSetOperationResultStatus,
11962
12711
  InvalidStateTransitionException,