@cdk8s/awscdk-resolver 0.0.201 → 0.0.203

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 (31) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/README.md +8 -0
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +151 -0
  5. package/node_modules/@aws-sdk/client-cloudformation/dist-es/CloudFormation.js +2 -0
  6. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/ListHookResultsCommand.js +22 -0
  7. package/node_modules/@aws-sdk/client-cloudformation/dist-es/commands/index.js +1 -0
  8. package/node_modules/@aws-sdk/client-cloudformation/dist-es/models/models_0.js +19 -0
  9. package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +110 -1
  10. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormation.d.ts +7 -0
  11. package/node_modules/@aws-sdk/client-cloudformation/dist-types/CloudFormationClient.d.ts +3 -2
  12. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/ListHookResultsCommand.d.ts +89 -0
  13. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RegisterTypeCommand.d.ts +1 -1
  14. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/RollbackStackCommand.d.ts +1 -1
  15. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/SetStackPolicyCommand.d.ts +1 -1
  16. package/node_modules/@aws-sdk/client-cloudformation/dist-types/commands/index.d.ts +1 -0
  17. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_0.d.ts +131 -190
  18. package/node_modules/@aws-sdk/client-cloudformation/dist-types/models/models_1.d.ts +191 -1
  19. package/node_modules/@aws-sdk/client-cloudformation/dist-types/protocols/Aws_query.d.ts +9 -0
  20. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormation.d.ts +17 -0
  21. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/CloudFormationClient.d.ts +6 -0
  22. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/ListHookResultsCommand.d.ts +50 -0
  23. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RegisterTypeCommand.d.ts +1 -1
  24. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/RollbackStackCommand.d.ts +1 -1
  25. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/SetStackPolicyCommand.d.ts +1 -1
  26. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/commands/index.d.ts +1 -0
  27. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_0.d.ts +36 -25
  28. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/models/models_1.d.ts +26 -0
  29. package/node_modules/@aws-sdk/client-cloudformation/dist-types/ts3.4/protocols/Aws_query.d.ts +12 -0
  30. package/node_modules/@aws-sdk/client-cloudformation/package.json +1 -1
  31. package/package.json +6 -6
package/.jsii CHANGED
@@ -7,7 +7,7 @@
7
7
  "url": "https://aws.amazon.com"
8
8
  },
9
9
  "bundled": {
10
- "@aws-sdk/client-cloudformation": "^3.693.0"
10
+ "@aws-sdk/client-cloudformation": "^3.695.0"
11
11
  },
12
12
  "dependencies": {
13
13
  "aws-cdk-lib": "^2.106.1",
@@ -3674,6 +3674,6 @@
3674
3674
  "symbolId": "src/resolve:AwsCdkResolver"
3675
3675
  }
3676
3676
  },
3677
- "version": "0.0.201",
3678
- "fingerprint": "bB9FSxkO4QrE/VlTMex/c6xE0aaHyIHqk9O3tcthYas="
3677
+ "version": "0.0.203",
3678
+ "fingerprint": "hI4hPHbk9c0LYWdVi1Dx3wrOVP18SF8snDKAcOLyLRg="
3679
3679
  }
package/lib/resolve.js CHANGED
@@ -61,5 +61,5 @@ class AwsCdkResolver {
61
61
  }
62
62
  exports.AwsCdkResolver = AwsCdkResolver;
63
63
  _a = JSII_RTTI_SYMBOL_1;
64
- AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.201" };
64
+ AwsCdkResolver[_a] = { fqn: "@cdk8s/awscdk-resolver.AwsCdkResolver", version: "0.0.203" };
65
65
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzb2x2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9yZXNvbHZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsaURBQTZDO0FBQzdDLDZCQUE2QjtBQUM3Qiw2Q0FBK0U7QUFJL0UsTUFBYSxjQUFjO0lBRWxCLE9BQU8sQ0FBQyxPQUEwQjtRQUV2QyxJQUFJLENBQUMsbUJBQUssQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxFQUFFLENBQUM7WUFDdkMsT0FBTztRQUNULENBQUM7UUFFRCxJQUFJLE9BQU8sT0FBTyxDQUFDLEtBQUssS0FBSyxRQUFRLEVBQUUsQ0FBQztZQUN0QywrREFBK0Q7WUFDL0QsbUJBQW1CO1lBQ25CLE1BQU0sSUFBSSxLQUFLLENBQUMsdUJBQXVCLE9BQU0sQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLHNCQUFzQixDQUFDLENBQUM7UUFDdEYsQ0FBQztRQUVELE1BQU0sTUFBTSxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFDO1FBQzlDLElBQUksQ0FBQztZQUNILE1BQU0sV0FBVyxHQUFHLElBQUksQ0FBQyxnQkFBZ0IsQ0FBQyxNQUFNLENBQUMsQ0FBQztZQUNsRCxPQUFPLENBQUMsWUFBWSxDQUFDLFdBQVcsQ0FBQyxDQUFDO1FBQ3BDLENBQUM7UUFBQyxPQUFPLEdBQUcsRUFB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aW5nKCkudHJpbSgpKTtcblxuICB9XG5cbn1cbiJdfQ==
@@ -607,6 +607,14 @@ ListGeneratedTemplates
607
607
 
608
608
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudformation/command/ListGeneratedTemplatesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudformation/Interface/ListGeneratedTemplatesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudformation/Interface/ListGeneratedTemplatesCommandOutput/)
609
609
 
610
+ </details>
611
+ <details>
612
+ <summary>
613
+ ListHookResults
614
+ </summary>
615
+
616
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/cloudformation/command/ListHookResultsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudformation/Interface/ListHookResultsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-cloudformation/Interface/ListHookResultsCommandOutput/)
617
+
610
618
  </details>
611
619
  <details>
612
620
  <summary>
@@ -101,6 +101,7 @@ __export(src_exports, {
101
101
  HandlerErrorCode: () => HandlerErrorCode,
102
102
  HookFailureMode: () => HookFailureMode,
103
103
  HookInvocationPoint: () => HookInvocationPoint,
104
+ HookResultNotFoundException: () => HookResultNotFoundException,
104
105
  HookStatus: () => HookStatus,
105
106
  HookTargetType: () => HookTargetType,
106
107
  IdentityProvider: () => IdentityProvider,
@@ -113,6 +114,8 @@ __export(src_exports, {
113
114
  ListChangeSetsCommand: () => ListChangeSetsCommand,
114
115
  ListExportsCommand: () => ListExportsCommand,
115
116
  ListGeneratedTemplatesCommand: () => ListGeneratedTemplatesCommand,
117
+ ListHookResultsCommand: () => ListHookResultsCommand,
118
+ ListHookResultsTargetType: () => ListHookResultsTargetType,
116
119
  ListImportsCommand: () => ListImportsCommand,
117
120
  ListResourceScanRelatedResourcesCommand: () => ListResourceScanRelatedResourcesCommand,
118
121
  ListResourceScanResourcesCommand: () => ListResourceScanResourcesCommand,
@@ -1184,6 +1187,30 @@ var _StackNotFoundException = class _StackNotFoundException extends CloudFormati
1184
1187
  };
1185
1188
  __name(_StackNotFoundException, "StackNotFoundException");
1186
1189
  var StackNotFoundException = _StackNotFoundException;
1190
+ var _HookResultNotFoundException = class _HookResultNotFoundException extends CloudFormationServiceException {
1191
+ /**
1192
+ * @internal
1193
+ */
1194
+ constructor(opts) {
1195
+ super({
1196
+ name: "HookResultNotFoundException",
1197
+ $fault: "client",
1198
+ ...opts
1199
+ });
1200
+ this.name = "HookResultNotFoundException";
1201
+ this.$fault = "client";
1202
+ Object.setPrototypeOf(this, _HookResultNotFoundException.prototype);
1203
+ this.Message = opts.Message;
1204
+ }
1205
+ };
1206
+ __name(_HookResultNotFoundException, "HookResultNotFoundException");
1207
+ var HookResultNotFoundException = _HookResultNotFoundException;
1208
+ var ListHookResultsTargetType = {
1209
+ CHANGE_SET: "CHANGE_SET",
1210
+ CLOUD_CONTROL: "CLOUD_CONTROL",
1211
+ RESOURCE: "RESOURCE",
1212
+ STACK: "STACK"
1213
+ };
1187
1214
  var _ResourceScanInProgressException = class _ResourceScanInProgressException extends CloudFormationServiceException {
1188
1215
  /**
1189
1216
  * @internal
@@ -1796,6 +1823,16 @@ var se_ListGeneratedTemplatesCommand = /* @__PURE__ */ __name(async (input, cont
1796
1823
  });
1797
1824
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
1798
1825
  }, "se_ListGeneratedTemplatesCommand");
1826
+ var se_ListHookResultsCommand = /* @__PURE__ */ __name(async (input, context) => {
1827
+ const headers = SHARED_HEADERS;
1828
+ let body;
1829
+ body = buildFormUrlencodedString({
1830
+ ...se_ListHookResultsInput(input, context),
1831
+ [_A]: _LHR,
1832
+ [_V]: _
1833
+ });
1834
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
1835
+ }, "se_ListHookResultsCommand");
1799
1836
  var se_ListImportsCommand = /* @__PURE__ */ __name(async (input, context) => {
1800
1837
  const headers = SHARED_HEADERS;
1801
1838
  let body;
@@ -2754,6 +2791,19 @@ var de_ListGeneratedTemplatesCommand = /* @__PURE__ */ __name(async (output, con
2754
2791
  };
2755
2792
  return response;
2756
2793
  }, "de_ListGeneratedTemplatesCommand");
2794
+ var de_ListHookResultsCommand = /* @__PURE__ */ __name(async (output, context) => {
2795
+ if (output.statusCode >= 300) {
2796
+ return de_CommandError(output, context);
2797
+ }
2798
+ const data = await (0, import_core2.parseXmlBody)(output.body, context);
2799
+ let contents = {};
2800
+ contents = de_ListHookResultsOutput(data.ListHookResultsResult, context);
2801
+ const response = {
2802
+ $metadata: deserializeMetadata(output),
2803
+ ...contents
2804
+ };
2805
+ return response;
2806
+ }, "de_ListHookResultsCommand");
2757
2807
  var de_ListImportsCommand = /* @__PURE__ */ __name(async (output, context) => {
2758
2808
  if (output.statusCode >= 300) {
2759
2809
  return de_CommandError(output, context);
@@ -3253,6 +3303,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
3253
3303
  case "StackNotFoundException":
3254
3304
  case "com.amazonaws.cloudformation#StackNotFoundException":
3255
3305
  throw await de_StackNotFoundExceptionRes(parsedOutput, context);
3306
+ case "HookResultNotFound":
3307
+ case "com.amazonaws.cloudformation#HookResultNotFoundException":
3308
+ throw await de_HookResultNotFoundExceptionRes(parsedOutput, context);
3256
3309
  case "ResourceScanInProgress":
3257
3310
  case "com.amazonaws.cloudformation#ResourceScanInProgressException":
3258
3311
  throw await de_ResourceScanInProgressExceptionRes(parsedOutput, context);
@@ -3328,6 +3381,15 @@ var de_GeneratedTemplateNotFoundExceptionRes = /* @__PURE__ */ __name(async (par
3328
3381
  });
3329
3382
  return (0, import_smithy_client.decorateServiceException)(exception, body);
3330
3383
  }, "de_GeneratedTemplateNotFoundExceptionRes");
3384
+ var de_HookResultNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3385
+ const body = parsedOutput.body;
3386
+ const deserialized = de_HookResultNotFoundException(body.Error, context);
3387
+ const exception = new HookResultNotFoundException({
3388
+ $metadata: deserializeMetadata(parsedOutput),
3389
+ ...deserialized
3390
+ });
3391
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
3392
+ }, "de_HookResultNotFoundExceptionRes");
3331
3393
  var de_InsufficientCapabilitiesExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
3332
3394
  const body = parsedOutput.body;
3333
3395
  const deserialized = de_InsufficientCapabilitiesException(body.Error, context);
@@ -4643,6 +4705,19 @@ var se_ListGeneratedTemplatesInput = /* @__PURE__ */ __name((input, context) =>
4643
4705
  }
4644
4706
  return entries;
4645
4707
  }, "se_ListGeneratedTemplatesInput");
4708
+ var se_ListHookResultsInput = /* @__PURE__ */ __name((input, context) => {
4709
+ const entries = {};
4710
+ if (input[_TTa] != null) {
4711
+ entries[_TTa] = input[_TTa];
4712
+ }
4713
+ if (input[_TI] != null) {
4714
+ entries[_TI] = input[_TI];
4715
+ }
4716
+ if (input[_NT] != null) {
4717
+ entries[_NT] = input[_NT];
4718
+ }
4719
+ return entries;
4720
+ }, "se_ListHookResultsInput");
4646
4721
  var se_ListImportsInput = /* @__PURE__ */ __name((input, context) => {
4647
4722
  const entries = {};
4648
4723
  if (input[_EN] != null) {
@@ -6861,6 +6936,43 @@ var de_GetTemplateSummaryOutput = /* @__PURE__ */ __name((output, context) => {
6861
6936
  }
6862
6937
  return contents;
6863
6938
  }, "de_GetTemplateSummaryOutput");
6939
+ var de_HookResultNotFoundException = /* @__PURE__ */ __name((output, context) => {
6940
+ const contents = {};
6941
+ if (output[_M] != null) {
6942
+ contents[_M] = (0, import_smithy_client.expectString)(output[_M]);
6943
+ }
6944
+ return contents;
6945
+ }, "de_HookResultNotFoundException");
6946
+ var de_HookResultSummaries = /* @__PURE__ */ __name((output, context) => {
6947
+ return (output || []).filter((e) => e != null).map((entry) => {
6948
+ return de_HookResultSummary(entry, context);
6949
+ });
6950
+ }, "de_HookResultSummaries");
6951
+ var de_HookResultSummary = /* @__PURE__ */ __name((output, context) => {
6952
+ const contents = {};
6953
+ if (output[_IP] != null) {
6954
+ contents[_IP] = (0, import_smithy_client.expectString)(output[_IP]);
6955
+ }
6956
+ if (output[_FM] != null) {
6957
+ contents[_FM] = (0, import_smithy_client.expectString)(output[_FM]);
6958
+ }
6959
+ if (output[_TN] != null) {
6960
+ contents[_TN] = (0, import_smithy_client.expectString)(output[_TN]);
6961
+ }
6962
+ if (output[_TVI] != null) {
6963
+ contents[_TVI] = (0, import_smithy_client.expectString)(output[_TVI]);
6964
+ }
6965
+ if (output[_TCVI] != null) {
6966
+ contents[_TCVI] = (0, import_smithy_client.expectString)(output[_TCVI]);
6967
+ }
6968
+ if (output[_S] != null) {
6969
+ contents[_S] = (0, import_smithy_client.expectString)(output[_S]);
6970
+ }
6971
+ if (output[_HSR] != null) {
6972
+ contents[_HSR] = (0, import_smithy_client.expectString)(output[_HSR]);
6973
+ }
6974
+ return contents;
6975
+ }, "de_HookResultSummary");
6864
6976
  var de_Imports = /* @__PURE__ */ __name((output, context) => {
6865
6977
  return (output || []).filter((e) => e != null).map((entry) => {
6866
6978
  return (0, import_smithy_client.expectString)(entry);
@@ -6953,6 +7065,24 @@ var de_ListGeneratedTemplatesOutput = /* @__PURE__ */ __name((output, context) =
6953
7065
  }
6954
7066
  return contents;
6955
7067
  }, "de_ListGeneratedTemplatesOutput");
7068
+ var de_ListHookResultsOutput = /* @__PURE__ */ __name((output, context) => {
7069
+ const contents = {};
7070
+ if (output[_TTa] != null) {
7071
+ contents[_TTa] = (0, import_smithy_client.expectString)(output[_TTa]);
7072
+ }
7073
+ if (output[_TI] != null) {
7074
+ contents[_TI] = (0, import_smithy_client.expectString)(output[_TI]);
7075
+ }
7076
+ if (output.HookResults === "") {
7077
+ contents[_HR] = [];
7078
+ } else if (output[_HR] != null && output[_HR][_m] != null) {
7079
+ contents[_HR] = de_HookResultSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_HR][_m]), context);
7080
+ }
7081
+ if (output[_NT] != null) {
7082
+ contents[_NT] = (0, import_smithy_client.expectString)(output[_NT]);
7083
+ }
7084
+ return contents;
7085
+ }, "de_ListHookResultsOutput");
6956
7086
  var de_ListImportsOutput = /* @__PURE__ */ __name((output, context) => {
6957
7087
  const contents = {};
6958
7088
  if (output.Imports === "") {
@@ -9068,6 +9198,7 @@ var _H = "Hooks";
9068
9198
  var _HFM = "HookFailureMode";
9069
9199
  var _HIC = "HookInvocationCount";
9070
9200
  var _HIP = "HookInvocationPoint";
9201
+ var _HR = "HookResults";
9071
9202
  var _HS = "HookStatus";
9072
9203
  var _HSR = "HookStatusReason";
9073
9204
  var _HT = "HookType";
@@ -9093,6 +9224,7 @@ var _LDCT = "LastDriftCheckTimestamp";
9093
9224
  var _LE = "ListExports";
9094
9225
  var _LGN = "LogGroupName";
9095
9226
  var _LGT = "ListGeneratedTemplates";
9227
+ var _LHR = "ListHookResults";
9096
9228
  var _LI = "ListImports";
9097
9229
  var _LIH = "LogicalIdHierarchy";
9098
9230
  var _LOI = "LastOperationId";
@@ -9291,6 +9423,7 @@ var _TCy = "TypeConfigurations";
9291
9423
  var _TD = "TargetDetails";
9292
9424
  var _TDe = "TemplateDescription";
9293
9425
  var _TH = "TypeHierarchy";
9426
+ var _TI = "TargetId";
9294
9427
  var _TIM = "TimeoutInMinutes";
9295
9428
  var _TK = "TagKey";
9296
9429
  var _TN = "TypeName";
@@ -10030,6 +10163,20 @@ var _ListGeneratedTemplatesCommand = class _ListGeneratedTemplatesCommand extend
10030
10163
  __name(_ListGeneratedTemplatesCommand, "ListGeneratedTemplatesCommand");
10031
10164
  var ListGeneratedTemplatesCommand = _ListGeneratedTemplatesCommand;
10032
10165
 
10166
+ // src/commands/ListHookResultsCommand.ts
10167
+
10168
+
10169
+
10170
+ var _ListHookResultsCommand = class _ListHookResultsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
10171
+ return [
10172
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
10173
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
10174
+ ];
10175
+ }).s("CloudFormation", "ListHookResults", {}).n("CloudFormationClient", "ListHookResultsCommand").f(void 0, void 0).ser(se_ListHookResultsCommand).de(de_ListHookResultsCommand).build() {
10176
+ };
10177
+ __name(_ListHookResultsCommand, "ListHookResultsCommand");
10178
+ var ListHookResultsCommand = _ListHookResultsCommand;
10179
+
10033
10180
  // src/commands/ListImportsCommand.ts
10034
10181
 
10035
10182
 
@@ -10543,6 +10690,7 @@ var commands = {
10543
10690
  ListChangeSetsCommand,
10544
10691
  ListExportsCommand,
10545
10692
  ListGeneratedTemplatesCommand,
10693
+ ListHookResultsCommand,
10546
10694
  ListImportsCommand,
10547
10695
  ListResourceScanRelatedResourcesCommand,
10548
10696
  ListResourceScanResourcesCommand,
@@ -11519,6 +11667,7 @@ var waitUntilTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, in
11519
11667
  ListChangeSetsCommand,
11520
11668
  ListExportsCommand,
11521
11669
  ListGeneratedTemplatesCommand,
11670
+ ListHookResultsCommand,
11522
11671
  ListImportsCommand,
11523
11672
  ListResourceScanRelatedResourcesCommand,
11524
11673
  ListResourceScanResourcesCommand,
@@ -11672,6 +11821,8 @@ var waitUntilTypeRegistrationComplete = /* @__PURE__ */ __name(async (params, in
11672
11821
  TemplateFormat,
11673
11822
  TemplateStage,
11674
11823
  StackNotFoundException,
11824
+ HookResultNotFoundException,
11825
+ ListHookResultsTargetType,
11675
11826
  ResourceScanInProgressException,
11676
11827
  StackInstanceFilterName,
11677
11828
  OperationResultFilterName,
@@ -49,6 +49,7 @@ import { ImportStacksToStackSetCommand, } from "./commands/ImportStacksToStackSe
49
49
  import { ListChangeSetsCommand, } from "./commands/ListChangeSetsCommand";
50
50
  import { ListExportsCommand } from "./commands/ListExportsCommand";
51
51
  import { ListGeneratedTemplatesCommand, } from "./commands/ListGeneratedTemplatesCommand";
52
+ import { ListHookResultsCommand, } from "./commands/ListHookResultsCommand";
52
53
  import { ListImportsCommand } from "./commands/ListImportsCommand";
53
54
  import { ListResourceScanRelatedResourcesCommand, } from "./commands/ListResourceScanRelatedResourcesCommand";
54
55
  import { ListResourceScanResourcesCommand, } from "./commands/ListResourceScanResourcesCommand";
@@ -132,6 +133,7 @@ const commands = {
132
133
  ListChangeSetsCommand,
133
134
  ListExportsCommand,
134
135
  ListGeneratedTemplatesCommand,
136
+ ListHookResultsCommand,
135
137
  ListImportsCommand,
136
138
  ListResourceScanRelatedResourcesCommand,
137
139
  ListResourceScanResourcesCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListHookResultsCommand, se_ListHookResultsCommand } from "../protocols/Aws_query";
6
+ export { $Command };
7
+ export class ListHookResultsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("CloudFormation", "ListHookResults", {})
17
+ .n("CloudFormationClient", "ListHookResultsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListHookResultsCommand)
20
+ .de(de_ListHookResultsCommand)
21
+ .build() {
22
+ }
@@ -47,6 +47,7 @@ export * from "./ImportStacksToStackSetCommand";
47
47
  export * from "./ListChangeSetsCommand";
48
48
  export * from "./ListExportsCommand";
49
49
  export * from "./ListGeneratedTemplatesCommand";
50
+ export * from "./ListHookResultsCommand";
50
51
  export * from "./ListImportsCommand";
51
52
  export * from "./ListResourceScanRelatedResourcesCommand";
52
53
  export * from "./ListResourceScanResourcesCommand";
@@ -662,6 +662,25 @@ export class StackNotFoundException extends __BaseException {
662
662
  this.Message = opts.Message;
663
663
  }
664
664
  }
665
+ export class HookResultNotFoundException extends __BaseException {
666
+ constructor(opts) {
667
+ super({
668
+ name: "HookResultNotFoundException",
669
+ $fault: "client",
670
+ ...opts,
671
+ });
672
+ this.name = "HookResultNotFoundException";
673
+ this.$fault = "client";
674
+ Object.setPrototypeOf(this, HookResultNotFoundException.prototype);
675
+ this.Message = opts.Message;
676
+ }
677
+ }
678
+ export const ListHookResultsTargetType = {
679
+ CHANGE_SET: "CHANGE_SET",
680
+ CLOUD_CONTROL: "CLOUD_CONTROL",
681
+ RESOURCE: "RESOURCE",
682
+ STACK: "STACK",
683
+ };
665
684
  export class ResourceScanInProgressException extends __BaseException {
666
685
  constructor(opts) {
667
686
  super({
@@ -3,7 +3,7 @@ import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
3
3
  import { collectBody, decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseFloat as __strictParseFloat, strictParseInt32 as __strictParseInt32, withBaseException, } from "@smithy/smithy-client";
4
4
  import { v4 as generateIdempotencyToken } from "uuid";
5
5
  import { CloudFormationServiceException as __BaseException } from "../models/CloudFormationServiceException";
6
- import { AlreadyExistsException, CFNRegistryException, ChangeSetNotFoundException, ConcurrentResourcesLimitExceededException, CreatedButModifiedException, GeneratedTemplateNotFoundException, InsufficientCapabilitiesException, InvalidChangeSetStatusException, InvalidOperationException, InvalidStateTransitionException, LimitExceededException, NameAlreadyExistsException, OperationIdAlreadyExistsException, OperationInProgressException, OperationNotFoundException, OperationStatusCheckFailedException, ResourceScanInProgressException, ResourceScanNotFoundException, StackInstanceNotFoundException, StackNotFoundException, StackSetNotEmptyException, StackSetNotFoundException, StaleRequestException, TokenAlreadyExistsException, TypeConfigurationNotFoundException, TypeNotFoundException, } from "../models/models_0";
6
+ import { AlreadyExistsException, CFNRegistryException, ChangeSetNotFoundException, ConcurrentResourcesLimitExceededException, CreatedButModifiedException, GeneratedTemplateNotFoundException, HookResultNotFoundException, InsufficientCapabilitiesException, InvalidChangeSetStatusException, InvalidOperationException, InvalidStateTransitionException, LimitExceededException, NameAlreadyExistsException, OperationIdAlreadyExistsException, OperationInProgressException, OperationNotFoundException, OperationStatusCheckFailedException, ResourceScanInProgressException, ResourceScanNotFoundException, StackInstanceNotFoundException, StackNotFoundException, StackSetNotEmptyException, StackSetNotFoundException, StaleRequestException, TokenAlreadyExistsException, TypeConfigurationNotFoundException, TypeNotFoundException, } from "../models/models_0";
7
7
  import { ResourceScanLimitExceededException, } from "../models/models_1";
8
8
  export const se_ActivateOrganizationsAccessCommand = async (input, context) => {
9
9
  const headers = SHARED_HEADERS;
@@ -495,6 +495,16 @@ export const se_ListGeneratedTemplatesCommand = async (input, context) => {
495
495
  });
496
496
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
497
497
  };
498
+ export const se_ListHookResultsCommand = async (input, context) => {
499
+ const headers = SHARED_HEADERS;
500
+ let body;
501
+ body = buildFormUrlencodedString({
502
+ ...se_ListHookResultsInput(input, context),
503
+ [_A]: _LHR,
504
+ [_V]: _,
505
+ });
506
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
507
+ };
498
508
  export const se_ListImportsCommand = async (input, context) => {
499
509
  const headers = SHARED_HEADERS;
500
510
  let body;
@@ -1453,6 +1463,19 @@ export const de_ListGeneratedTemplatesCommand = async (output, context) => {
1453
1463
  };
1454
1464
  return response;
1455
1465
  };
1466
+ export const de_ListHookResultsCommand = async (output, context) => {
1467
+ if (output.statusCode >= 300) {
1468
+ return de_CommandError(output, context);
1469
+ }
1470
+ const data = await parseBody(output.body, context);
1471
+ let contents = {};
1472
+ contents = de_ListHookResultsOutput(data.ListHookResultsResult, context);
1473
+ const response = {
1474
+ $metadata: deserializeMetadata(output),
1475
+ ...contents,
1476
+ };
1477
+ return response;
1478
+ };
1456
1479
  export const de_ListImportsCommand = async (output, context) => {
1457
1480
  if (output.statusCode >= 300) {
1458
1481
  return de_CommandError(output, context);
@@ -1952,6 +1975,9 @@ const de_CommandError = async (output, context) => {
1952
1975
  case "StackNotFoundException":
1953
1976
  case "com.amazonaws.cloudformation#StackNotFoundException":
1954
1977
  throw await de_StackNotFoundExceptionRes(parsedOutput, context);
1978
+ case "HookResultNotFound":
1979
+ case "com.amazonaws.cloudformation#HookResultNotFoundException":
1980
+ throw await de_HookResultNotFoundExceptionRes(parsedOutput, context);
1955
1981
  case "ResourceScanInProgress":
1956
1982
  case "com.amazonaws.cloudformation#ResourceScanInProgressException":
1957
1983
  throw await de_ResourceScanInProgressExceptionRes(parsedOutput, context);
@@ -2027,6 +2053,15 @@ const de_GeneratedTemplateNotFoundExceptionRes = async (parsedOutput, context) =
2027
2053
  });
2028
2054
  return __decorateServiceException(exception, body);
2029
2055
  };
2056
+ const de_HookResultNotFoundExceptionRes = async (parsedOutput, context) => {
2057
+ const body = parsedOutput.body;
2058
+ const deserialized = de_HookResultNotFoundException(body.Error, context);
2059
+ const exception = new HookResultNotFoundException({
2060
+ $metadata: deserializeMetadata(parsedOutput),
2061
+ ...deserialized,
2062
+ });
2063
+ return __decorateServiceException(exception, body);
2064
+ };
2030
2065
  const de_InsufficientCapabilitiesExceptionRes = async (parsedOutput, context) => {
2031
2066
  const body = parsedOutput.body;
2032
2067
  const deserialized = de_InsufficientCapabilitiesException(body.Error, context);
@@ -3330,6 +3365,19 @@ const se_ListGeneratedTemplatesInput = (input, context) => {
3330
3365
  }
3331
3366
  return entries;
3332
3367
  };
3368
+ const se_ListHookResultsInput = (input, context) => {
3369
+ const entries = {};
3370
+ if (input[_TTa] != null) {
3371
+ entries[_TTa] = input[_TTa];
3372
+ }
3373
+ if (input[_TI] != null) {
3374
+ entries[_TI] = input[_TI];
3375
+ }
3376
+ if (input[_NT] != null) {
3377
+ entries[_NT] = input[_NT];
3378
+ }
3379
+ return entries;
3380
+ };
3333
3381
  const se_ListImportsInput = (input, context) => {
3334
3382
  const entries = {};
3335
3383
  if (input[_EN] != null) {
@@ -5582,6 +5630,45 @@ const de_GetTemplateSummaryOutput = (output, context) => {
5582
5630
  }
5583
5631
  return contents;
5584
5632
  };
5633
+ const de_HookResultNotFoundException = (output, context) => {
5634
+ const contents = {};
5635
+ if (output[_M] != null) {
5636
+ contents[_M] = __expectString(output[_M]);
5637
+ }
5638
+ return contents;
5639
+ };
5640
+ const de_HookResultSummaries = (output, context) => {
5641
+ return (output || [])
5642
+ .filter((e) => e != null)
5643
+ .map((entry) => {
5644
+ return de_HookResultSummary(entry, context);
5645
+ });
5646
+ };
5647
+ const de_HookResultSummary = (output, context) => {
5648
+ const contents = {};
5649
+ if (output[_IP] != null) {
5650
+ contents[_IP] = __expectString(output[_IP]);
5651
+ }
5652
+ if (output[_FM] != null) {
5653
+ contents[_FM] = __expectString(output[_FM]);
5654
+ }
5655
+ if (output[_TN] != null) {
5656
+ contents[_TN] = __expectString(output[_TN]);
5657
+ }
5658
+ if (output[_TVI] != null) {
5659
+ contents[_TVI] = __expectString(output[_TVI]);
5660
+ }
5661
+ if (output[_TCVI] != null) {
5662
+ contents[_TCVI] = __expectString(output[_TCVI]);
5663
+ }
5664
+ if (output[_S] != null) {
5665
+ contents[_S] = __expectString(output[_S]);
5666
+ }
5667
+ if (output[_HSR] != null) {
5668
+ contents[_HSR] = __expectString(output[_HSR]);
5669
+ }
5670
+ return contents;
5671
+ };
5585
5672
  const de_Imports = (output, context) => {
5586
5673
  return (output || [])
5587
5674
  .filter((e) => e != null)
@@ -5679,6 +5766,25 @@ const de_ListGeneratedTemplatesOutput = (output, context) => {
5679
5766
  }
5680
5767
  return contents;
5681
5768
  };
5769
+ const de_ListHookResultsOutput = (output, context) => {
5770
+ const contents = {};
5771
+ if (output[_TTa] != null) {
5772
+ contents[_TTa] = __expectString(output[_TTa]);
5773
+ }
5774
+ if (output[_TI] != null) {
5775
+ contents[_TI] = __expectString(output[_TI]);
5776
+ }
5777
+ if (output.HookResults === "") {
5778
+ contents[_HR] = [];
5779
+ }
5780
+ else if (output[_HR] != null && output[_HR][_m] != null) {
5781
+ contents[_HR] = de_HookResultSummaries(__getArrayIfSingleItem(output[_HR][_m]), context);
5782
+ }
5783
+ if (output[_NT] != null) {
5784
+ contents[_NT] = __expectString(output[_NT]);
5785
+ }
5786
+ return contents;
5787
+ };
5682
5788
  const de_ListImportsOutput = (output, context) => {
5683
5789
  const contents = {};
5684
5790
  if (output.Imports === "") {
@@ -7932,6 +8038,7 @@ const _H = "Hooks";
7932
8038
  const _HFM = "HookFailureMode";
7933
8039
  const _HIC = "HookInvocationCount";
7934
8040
  const _HIP = "HookInvocationPoint";
8041
+ const _HR = "HookResults";
7935
8042
  const _HS = "HookStatus";
7936
8043
  const _HSR = "HookStatusReason";
7937
8044
  const _HT = "HookType";
@@ -7957,6 +8064,7 @@ const _LDCT = "LastDriftCheckTimestamp";
7957
8064
  const _LE = "ListExports";
7958
8065
  const _LGN = "LogGroupName";
7959
8066
  const _LGT = "ListGeneratedTemplates";
8067
+ const _LHR = "ListHookResults";
7960
8068
  const _LI = "ListImports";
7961
8069
  const _LIH = "LogicalIdHierarchy";
7962
8070
  const _LOI = "LastOperationId";
@@ -8155,6 +8263,7 @@ const _TCy = "TypeConfigurations";
8155
8263
  const _TD = "TargetDetails";
8156
8264
  const _TDe = "TemplateDescription";
8157
8265
  const _TH = "TypeHierarchy";
8266
+ const _TI = "TargetId";
8158
8267
  const _TIM = "TimeoutInMinutes";
8159
8268
  const _TK = "TagKey";
8160
8269
  const _TN = "TypeName";
@@ -49,6 +49,7 @@ import { ImportStacksToStackSetCommandInput, ImportStacksToStackSetCommandOutput
49
49
  import { ListChangeSetsCommandInput, ListChangeSetsCommandOutput } from "./commands/ListChangeSetsCommand";
50
50
  import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
51
51
  import { ListGeneratedTemplatesCommandInput, ListGeneratedTemplatesCommandOutput } from "./commands/ListGeneratedTemplatesCommand";
52
+ import { ListHookResultsCommandInput, ListHookResultsCommandOutput } from "./commands/ListHookResultsCommand";
52
53
  import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
53
54
  import { ListResourceScanRelatedResourcesCommandInput, ListResourceScanRelatedResourcesCommandOutput } from "./commands/ListResourceScanRelatedResourcesCommand";
54
55
  import { ListResourceScanResourcesCommandInput, ListResourceScanResourcesCommandOutput } from "./commands/ListResourceScanResourcesCommand";
@@ -394,6 +395,12 @@ export interface CloudFormation {
394
395
  listGeneratedTemplates(args: ListGeneratedTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListGeneratedTemplatesCommandOutput>;
395
396
  listGeneratedTemplates(args: ListGeneratedTemplatesCommandInput, cb: (err: any, data?: ListGeneratedTemplatesCommandOutput) => void): void;
396
397
  listGeneratedTemplates(args: ListGeneratedTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListGeneratedTemplatesCommandOutput) => void): void;
398
+ /**
399
+ * @see {@link ListHookResultsCommand}
400
+ */
401
+ listHookResults(args: ListHookResultsCommandInput, options?: __HttpHandlerOptions): Promise<ListHookResultsCommandOutput>;
402
+ listHookResults(args: ListHookResultsCommandInput, cb: (err: any, data?: ListHookResultsCommandOutput) => void): void;
403
+ listHookResults(args: ListHookResultsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHookResultsCommandOutput) => void): void;
397
404
  /**
398
405
  * @see {@link ListImportsCommand}
399
406
  */
@@ -56,6 +56,7 @@ import { ImportStacksToStackSetCommandInput, ImportStacksToStackSetCommandOutput
56
56
  import { ListChangeSetsCommandInput, ListChangeSetsCommandOutput } from "./commands/ListChangeSetsCommand";
57
57
  import { ListExportsCommandInput, ListExportsCommandOutput } from "./commands/ListExportsCommand";
58
58
  import { ListGeneratedTemplatesCommandInput, ListGeneratedTemplatesCommandOutput } from "./commands/ListGeneratedTemplatesCommand";
59
+ import { ListHookResultsCommandInput, ListHookResultsCommandOutput } from "./commands/ListHookResultsCommand";
59
60
  import { ListImportsCommandInput, ListImportsCommandOutput } from "./commands/ListImportsCommand";
60
61
  import { ListResourceScanRelatedResourcesCommandInput, ListResourceScanRelatedResourcesCommandOutput } from "./commands/ListResourceScanRelatedResourcesCommand";
61
62
  import { ListResourceScanResourcesCommandInput, ListResourceScanResourcesCommandOutput } from "./commands/ListResourceScanResourcesCommand";
@@ -95,11 +96,11 @@ export { __Client };
95
96
  /**
96
97
  * @public
97
98
  */
98
- export type ServiceInputTypes = ActivateOrganizationsAccessCommandInput | ActivateTypeCommandInput | BatchDescribeTypeConfigurationsCommandInput | CancelUpdateStackCommandInput | ContinueUpdateRollbackCommandInput | CreateChangeSetCommandInput | CreateGeneratedTemplateCommandInput | CreateStackCommandInput | CreateStackInstancesCommandInput | CreateStackSetCommandInput | DeactivateOrganizationsAccessCommandInput | DeactivateTypeCommandInput | DeleteChangeSetCommandInput | DeleteGeneratedTemplateCommandInput | DeleteStackCommandInput | DeleteStackInstancesCommandInput | DeleteStackSetCommandInput | DeregisterTypeCommandInput | DescribeAccountLimitsCommandInput | DescribeChangeSetCommandInput | DescribeChangeSetHooksCommandInput | DescribeGeneratedTemplateCommandInput | DescribeOrganizationsAccessCommandInput | DescribePublisherCommandInput | DescribeResourceScanCommandInput | DescribeStackDriftDetectionStatusCommandInput | DescribeStackEventsCommandInput | DescribeStackInstanceCommandInput | DescribeStackResourceCommandInput | DescribeStackResourceDriftsCommandInput | DescribeStackResourcesCommandInput | DescribeStackSetCommandInput | DescribeStackSetOperationCommandInput | DescribeStacksCommandInput | DescribeTypeCommandInput | DescribeTypeRegistrationCommandInput | DetectStackDriftCommandInput | DetectStackResourceDriftCommandInput | DetectStackSetDriftCommandInput | EstimateTemplateCostCommandInput | ExecuteChangeSetCommandInput | GetGeneratedTemplateCommandInput | GetStackPolicyCommandInput | GetTemplateCommandInput | GetTemplateSummaryCommandInput | ImportStacksToStackSetCommandInput | ListChangeSetsCommandInput | ListExportsCommandInput | ListGeneratedTemplatesCommandInput | ListImportsCommandInput | ListResourceScanRelatedResourcesCommandInput | ListResourceScanResourcesCommandInput | ListResourceScansCommandInput | ListStackInstanceResourceDriftsCommandInput | ListStackInstancesCommandInput | ListStackResourcesCommandInput | ListStackSetAutoDeploymentTargetsCommandInput | ListStackSetOperationResultsCommandInput | ListStackSetOperationsCommandInput | ListStackSetsCommandInput | ListStacksCommandInput | ListTypeRegistrationsCommandInput | ListTypeVersionsCommandInput | ListTypesCommandInput | PublishTypeCommandInput | RecordHandlerProgressCommandInput | RegisterPublisherCommandInput | RegisterTypeCommandInput | RollbackStackCommandInput | SetStackPolicyCommandInput | SetTypeConfigurationCommandInput | SetTypeDefaultVersionCommandInput | SignalResourceCommandInput | StartResourceScanCommandInput | StopStackSetOperationCommandInput | TestTypeCommandInput | UpdateGeneratedTemplateCommandInput | UpdateStackCommandInput | UpdateStackInstancesCommandInput | UpdateStackSetCommandInput | UpdateTerminationProtectionCommandInput | ValidateTemplateCommandInput;
99
+ export type ServiceInputTypes = ActivateOrganizationsAccessCommandInput | ActivateTypeCommandInput | BatchDescribeTypeConfigurationsCommandInput | CancelUpdateStackCommandInput | ContinueUpdateRollbackCommandInput | CreateChangeSetCommandInput | CreateGeneratedTemplateCommandInput | CreateStackCommandInput | CreateStackInstancesCommandInput | CreateStackSetCommandInput | DeactivateOrganizationsAccessCommandInput | DeactivateTypeCommandInput | DeleteChangeSetCommandInput | DeleteGeneratedTemplateCommandInput | DeleteStackCommandInput | DeleteStackInstancesCommandInput | DeleteStackSetCommandInput | DeregisterTypeCommandInput | DescribeAccountLimitsCommandInput | DescribeChangeSetCommandInput | DescribeChangeSetHooksCommandInput | DescribeGeneratedTemplateCommandInput | DescribeOrganizationsAccessCommandInput | DescribePublisherCommandInput | DescribeResourceScanCommandInput | DescribeStackDriftDetectionStatusCommandInput | DescribeStackEventsCommandInput | DescribeStackInstanceCommandInput | DescribeStackResourceCommandInput | DescribeStackResourceDriftsCommandInput | DescribeStackResourcesCommandInput | DescribeStackSetCommandInput | DescribeStackSetOperationCommandInput | DescribeStacksCommandInput | DescribeTypeCommandInput | DescribeTypeRegistrationCommandInput | DetectStackDriftCommandInput | DetectStackResourceDriftCommandInput | DetectStackSetDriftCommandInput | EstimateTemplateCostCommandInput | ExecuteChangeSetCommandInput | GetGeneratedTemplateCommandInput | GetStackPolicyCommandInput | GetTemplateCommandInput | GetTemplateSummaryCommandInput | ImportStacksToStackSetCommandInput | ListChangeSetsCommandInput | ListExportsCommandInput | ListGeneratedTemplatesCommandInput | ListHookResultsCommandInput | ListImportsCommandInput | ListResourceScanRelatedResourcesCommandInput | ListResourceScanResourcesCommandInput | ListResourceScansCommandInput | ListStackInstanceResourceDriftsCommandInput | ListStackInstancesCommandInput | ListStackResourcesCommandInput | ListStackSetAutoDeploymentTargetsCommandInput | ListStackSetOperationResultsCommandInput | ListStackSetOperationsCommandInput | ListStackSetsCommandInput | ListStacksCommandInput | ListTypeRegistrationsCommandInput | ListTypeVersionsCommandInput | ListTypesCommandInput | PublishTypeCommandInput | RecordHandlerProgressCommandInput | RegisterPublisherCommandInput | RegisterTypeCommandInput | RollbackStackCommandInput | SetStackPolicyCommandInput | SetTypeConfigurationCommandInput | SetTypeDefaultVersionCommandInput | SignalResourceCommandInput | StartResourceScanCommandInput | StopStackSetOperationCommandInput | TestTypeCommandInput | UpdateGeneratedTemplateCommandInput | UpdateStackCommandInput | UpdateStackInstancesCommandInput | UpdateStackSetCommandInput | UpdateTerminationProtectionCommandInput | ValidateTemplateCommandInput;
99
100
  /**
100
101
  * @public
101
102
  */
102
- export type ServiceOutputTypes = ActivateOrganizationsAccessCommandOutput | ActivateTypeCommandOutput | BatchDescribeTypeConfigurationsCommandOutput | CancelUpdateStackCommandOutput | ContinueUpdateRollbackCommandOutput | CreateChangeSetCommandOutput | CreateGeneratedTemplateCommandOutput | CreateStackCommandOutput | CreateStackInstancesCommandOutput | CreateStackSetCommandOutput | DeactivateOrganizationsAccessCommandOutput | DeactivateTypeCommandOutput | DeleteChangeSetCommandOutput | DeleteGeneratedTemplateCommandOutput | DeleteStackCommandOutput | DeleteStackInstancesCommandOutput | DeleteStackSetCommandOutput | DeregisterTypeCommandOutput | DescribeAccountLimitsCommandOutput | DescribeChangeSetCommandOutput | DescribeChangeSetHooksCommandOutput | DescribeGeneratedTemplateCommandOutput | DescribeOrganizationsAccessCommandOutput | DescribePublisherCommandOutput | DescribeResourceScanCommandOutput | DescribeStackDriftDetectionStatusCommandOutput | DescribeStackEventsCommandOutput | DescribeStackInstanceCommandOutput | DescribeStackResourceCommandOutput | DescribeStackResourceDriftsCommandOutput | DescribeStackResourcesCommandOutput | DescribeStackSetCommandOutput | DescribeStackSetOperationCommandOutput | DescribeStacksCommandOutput | DescribeTypeCommandOutput | DescribeTypeRegistrationCommandOutput | DetectStackDriftCommandOutput | DetectStackResourceDriftCommandOutput | DetectStackSetDriftCommandOutput | EstimateTemplateCostCommandOutput | ExecuteChangeSetCommandOutput | GetGeneratedTemplateCommandOutput | GetStackPolicyCommandOutput | GetTemplateCommandOutput | GetTemplateSummaryCommandOutput | ImportStacksToStackSetCommandOutput | ListChangeSetsCommandOutput | ListExportsCommandOutput | ListGeneratedTemplatesCommandOutput | ListImportsCommandOutput | ListResourceScanRelatedResourcesCommandOutput | ListResourceScanResourcesCommandOutput | ListResourceScansCommandOutput | ListStackInstanceResourceDriftsCommandOutput | ListStackInstancesCommandOutput | ListStackResourcesCommandOutput | ListStackSetAutoDeploymentTargetsCommandOutput | ListStackSetOperationResultsCommandOutput | ListStackSetOperationsCommandOutput | ListStackSetsCommandOutput | ListStacksCommandOutput | ListTypeRegistrationsCommandOutput | ListTypeVersionsCommandOutput | ListTypesCommandOutput | PublishTypeCommandOutput | RecordHandlerProgressCommandOutput | RegisterPublisherCommandOutput | RegisterTypeCommandOutput | RollbackStackCommandOutput | SetStackPolicyCommandOutput | SetTypeConfigurationCommandOutput | SetTypeDefaultVersionCommandOutput | SignalResourceCommandOutput | StartResourceScanCommandOutput | StopStackSetOperationCommandOutput | TestTypeCommandOutput | UpdateGeneratedTemplateCommandOutput | UpdateStackCommandOutput | UpdateStackInstancesCommandOutput | UpdateStackSetCommandOutput | UpdateTerminationProtectionCommandOutput | ValidateTemplateCommandOutput;
103
+ export type ServiceOutputTypes = ActivateOrganizationsAccessCommandOutput | ActivateTypeCommandOutput | BatchDescribeTypeConfigurationsCommandOutput | CancelUpdateStackCommandOutput | ContinueUpdateRollbackCommandOutput | CreateChangeSetCommandOutput | CreateGeneratedTemplateCommandOutput | CreateStackCommandOutput | CreateStackInstancesCommandOutput | CreateStackSetCommandOutput | DeactivateOrganizationsAccessCommandOutput | DeactivateTypeCommandOutput | DeleteChangeSetCommandOutput | DeleteGeneratedTemplateCommandOutput | DeleteStackCommandOutput | DeleteStackInstancesCommandOutput | DeleteStackSetCommandOutput | DeregisterTypeCommandOutput | DescribeAccountLimitsCommandOutput | DescribeChangeSetCommandOutput | DescribeChangeSetHooksCommandOutput | DescribeGeneratedTemplateCommandOutput | DescribeOrganizationsAccessCommandOutput | DescribePublisherCommandOutput | DescribeResourceScanCommandOutput | DescribeStackDriftDetectionStatusCommandOutput | DescribeStackEventsCommandOutput | DescribeStackInstanceCommandOutput | DescribeStackResourceCommandOutput | DescribeStackResourceDriftsCommandOutput | DescribeStackResourcesCommandOutput | DescribeStackSetCommandOutput | DescribeStackSetOperationCommandOutput | DescribeStacksCommandOutput | DescribeTypeCommandOutput | DescribeTypeRegistrationCommandOutput | DetectStackDriftCommandOutput | DetectStackResourceDriftCommandOutput | DetectStackSetDriftCommandOutput | EstimateTemplateCostCommandOutput | ExecuteChangeSetCommandOutput | GetGeneratedTemplateCommandOutput | GetStackPolicyCommandOutput | GetTemplateCommandOutput | GetTemplateSummaryCommandOutput | ImportStacksToStackSetCommandOutput | ListChangeSetsCommandOutput | ListExportsCommandOutput | ListGeneratedTemplatesCommandOutput | ListHookResultsCommandOutput | ListImportsCommandOutput | ListResourceScanRelatedResourcesCommandOutput | ListResourceScanResourcesCommandOutput | ListResourceScansCommandOutput | ListStackInstanceResourceDriftsCommandOutput | ListStackInstancesCommandOutput | ListStackResourcesCommandOutput | ListStackSetAutoDeploymentTargetsCommandOutput | ListStackSetOperationResultsCommandOutput | ListStackSetOperationsCommandOutput | ListStackSetsCommandOutput | ListStacksCommandOutput | ListTypeRegistrationsCommandOutput | ListTypeVersionsCommandOutput | ListTypesCommandOutput | PublishTypeCommandOutput | RecordHandlerProgressCommandOutput | RegisterPublisherCommandOutput | RegisterTypeCommandOutput | RollbackStackCommandOutput | SetStackPolicyCommandOutput | SetTypeConfigurationCommandOutput | SetTypeDefaultVersionCommandOutput | SignalResourceCommandOutput | StartResourceScanCommandOutput | StopStackSetOperationCommandOutput | TestTypeCommandOutput | UpdateGeneratedTemplateCommandOutput | UpdateStackCommandOutput | UpdateStackInstancesCommandOutput | UpdateStackSetCommandOutput | UpdateTerminationProtectionCommandOutput | ValidateTemplateCommandOutput;
103
104
  /**
104
105
  * @public
105
106
  */