@cdk8s/awscdk-resolver 0.0.366 → 0.0.367

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 (34) hide show
  1. package/.jsii +3 -3
  2. package/lib/resolve.js +1 -1
  3. package/node_modules/@aws-sdk/client-cloudformation/dist-cjs/index.js +83 -83
  4. package/node_modules/@aws-sdk/client-cloudformation/dist-es/protocols/Aws_query.js +83 -83
  5. package/node_modules/@aws-sdk/client-cloudformation/package.json +5 -5
  6. package/node_modules/@aws-sdk/client-sso/package.json +4 -4
  7. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +15 -37
  8. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +2 -13
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +2 -13
  10. package/node_modules/@aws-sdk/core/package.json +2 -3
  11. package/node_modules/@aws-sdk/credential-provider-env/package.json +2 -2
  12. package/node_modules/@aws-sdk/credential-provider-http/package.json +2 -2
  13. package/node_modules/@aws-sdk/credential-provider-ini/package.json +8 -8
  14. package/node_modules/@aws-sdk/credential-provider-node/package.json +7 -7
  15. package/node_modules/@aws-sdk/credential-provider-process/package.json +2 -2
  16. package/node_modules/@aws-sdk/credential-provider-sso/package.json +4 -4
  17. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +3 -3
  18. package/node_modules/@aws-sdk/middleware-user-agent/package.json +2 -2
  19. package/node_modules/@aws-sdk/nested-clients/package.json +4 -4
  20. package/node_modules/@aws-sdk/token-providers/package.json +3 -3
  21. package/node_modules/@aws-sdk/util-user-agent-node/package.json +2 -2
  22. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +6 -1
  23. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +18 -0
  24. package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +1 -0
  25. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +54 -0
  26. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +15 -0
  27. package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +4 -0
  28. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +1 -0
  29. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts +1 -0
  30. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -0
  31. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.browser.d.ts +9 -0
  32. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +4 -0
  33. package/node_modules/@aws-sdk/xml-builder/package.json +9 -1
  34. package/package.json +4 -4
@@ -6612,17 +6612,17 @@ var de_BatchDescribeTypeConfigurationsErrors = /* @__PURE__ */ __name((output, c
6612
6612
  }, "de_BatchDescribeTypeConfigurationsErrors");
6613
6613
  var de_BatchDescribeTypeConfigurationsOutput = /* @__PURE__ */ __name((output, context) => {
6614
6614
  const contents = {};
6615
- if (output.Errors === "") {
6615
+ if (String(output.Errors).trim() === "") {
6616
6616
  contents[_Er] = [];
6617
6617
  } else if (output[_Er] != null && output[_Er][_m] != null) {
6618
6618
  contents[_Er] = de_BatchDescribeTypeConfigurationsErrors((0, import_smithy_client.getArrayIfSingleItem)(output[_Er][_m]), context);
6619
6619
  }
6620
- if (output.UnprocessedTypeConfigurations === "") {
6620
+ if (String(output.UnprocessedTypeConfigurations).trim() === "") {
6621
6621
  contents[_UTC] = [];
6622
6622
  } else if (output[_UTC] != null && output[_UTC][_m] != null) {
6623
6623
  contents[_UTC] = de_UnprocessedTypeConfigurations((0, import_smithy_client.getArrayIfSingleItem)(output[_UTC][_m]), context);
6624
6624
  }
6625
- if (output.TypeConfigurations === "") {
6625
+ if (String(output.TypeConfigurations).trim() === "") {
6626
6626
  contents[_TCy] = [];
6627
6627
  } else if (output[_TCy] != null && output[_TCy][_m] != null) {
6628
6628
  contents[_TCy] = de_TypeConfigurationDetailsList((0, import_smithy_client.getArrayIfSingleItem)(output[_TCy][_m]), context);
@@ -6852,7 +6852,7 @@ var de_DeleteStackSetOutput = /* @__PURE__ */ __name((output, context) => {
6852
6852
  }, "de_DeleteStackSetOutput");
6853
6853
  var de_DeploymentTargets = /* @__PURE__ */ __name((output, context) => {
6854
6854
  const contents = {};
6855
- if (output.Accounts === "") {
6855
+ if (String(output.Accounts).trim() === "") {
6856
6856
  contents[_Ac] = [];
6857
6857
  } else if (output[_Ac] != null && output[_Ac][_m] != null) {
6858
6858
  contents[_Ac] = de_AccountList((0, import_smithy_client.getArrayIfSingleItem)(output[_Ac][_m]), context);
@@ -6860,7 +6860,7 @@ var de_DeploymentTargets = /* @__PURE__ */ __name((output, context) => {
6860
6860
  if (output[_AUc] != null) {
6861
6861
  contents[_AUc] = (0, import_smithy_client.expectString)(output[_AUc]);
6862
6862
  }
6863
- if (output.OrganizationalUnitIds === "") {
6863
+ if (String(output.OrganizationalUnitIds).trim() === "") {
6864
6864
  contents[_OUI] = [];
6865
6865
  } else if (output[_OUI] != null && output[_OUI][_m] != null) {
6866
6866
  contents[_OUI] = de_OrganizationalUnitIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_OUI][_m]), context);
@@ -6876,7 +6876,7 @@ var de_DeregisterTypeOutput = /* @__PURE__ */ __name((output, context) => {
6876
6876
  }, "de_DeregisterTypeOutput");
6877
6877
  var de_DescribeAccountLimitsOutput = /* @__PURE__ */ __name((output, context) => {
6878
6878
  const contents = {};
6879
- if (output.AccountLimits === "") {
6879
+ if (String(output.AccountLimits).trim() === "") {
6880
6880
  contents[_AL] = [];
6881
6881
  } else if (output[_AL] != null && output[_AL][_m] != null) {
6882
6882
  contents[_AL] = de_AccountLimitList((0, import_smithy_client.getArrayIfSingleItem)(output[_AL][_m]), context);
@@ -6894,7 +6894,7 @@ var de_DescribeChangeSetHooksOutput = /* @__PURE__ */ __name((output, context) =
6894
6894
  if (output[_CSN] != null) {
6895
6895
  contents[_CSN] = (0, import_smithy_client.expectString)(output[_CSN]);
6896
6896
  }
6897
- if (output.Hooks === "") {
6897
+ if (String(output.Hooks).trim() === "") {
6898
6898
  contents[_H] = [];
6899
6899
  } else if (output[_H] != null && output[_H][_m] != null) {
6900
6900
  contents[_H] = de_ChangeSetHooks((0, import_smithy_client.getArrayIfSingleItem)(output[_H][_m]), context);
@@ -6930,7 +6930,7 @@ var de_DescribeChangeSetOutput = /* @__PURE__ */ __name((output, context) => {
6930
6930
  if (output[_D] != null) {
6931
6931
  contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
6932
6932
  }
6933
- if (output.Parameters === "") {
6933
+ if (String(output.Parameters).trim() === "") {
6934
6934
  contents[_P] = [];
6935
6935
  } else if (output[_P] != null && output[_P][_m] != null) {
6936
6936
  contents[_P] = de_Parameters((0, import_smithy_client.getArrayIfSingleItem)(output[_P][_m]), context);
@@ -6947,7 +6947,7 @@ var de_DescribeChangeSetOutput = /* @__PURE__ */ __name((output, context) => {
6947
6947
  if (output[_SRt] != null) {
6948
6948
  contents[_SRt] = (0, import_smithy_client.expectString)(output[_SRt]);
6949
6949
  }
6950
- if (output.NotificationARNs === "") {
6950
+ if (String(output.NotificationARNs).trim() === "") {
6951
6951
  contents[_NARN] = [];
6952
6952
  } else if (output[_NARN] != null && output[_NARN][_m] != null) {
6953
6953
  contents[_NARN] = de_NotificationARNs((0, import_smithy_client.getArrayIfSingleItem)(output[_NARN][_m]), context);
@@ -6955,17 +6955,17 @@ var de_DescribeChangeSetOutput = /* @__PURE__ */ __name((output, context) => {
6955
6955
  if (output[_RC] != null) {
6956
6956
  contents[_RC] = de_RollbackConfiguration(output[_RC], context);
6957
6957
  }
6958
- if (output.Capabilities === "") {
6958
+ if (String(output.Capabilities).trim() === "") {
6959
6959
  contents[_C] = [];
6960
6960
  } else if (output[_C] != null && output[_C][_m] != null) {
6961
6961
  contents[_C] = de_Capabilities((0, import_smithy_client.getArrayIfSingleItem)(output[_C][_m]), context);
6962
6962
  }
6963
- if (output.Tags === "") {
6963
+ if (String(output.Tags).trim() === "") {
6964
6964
  contents[_Ta] = [];
6965
6965
  } else if (output[_Ta] != null && output[_Ta][_m] != null) {
6966
6966
  contents[_Ta] = de_Tags((0, import_smithy_client.getArrayIfSingleItem)(output[_Ta][_m]), context);
6967
6967
  }
6968
- if (output.Changes === "") {
6968
+ if (String(output.Changes).trim() === "") {
6969
6969
  contents[_Ch] = [];
6970
6970
  } else if (output[_Ch] != null && output[_Ch][_m] != null) {
6971
6971
  contents[_Ch] = de_Changes((0, import_smithy_client.getArrayIfSingleItem)(output[_Ch][_m]), context);
@@ -6998,7 +6998,7 @@ var de_DescribeGeneratedTemplateOutput = /* @__PURE__ */ __name((output, context
6998
6998
  if (output[_GTN] != null) {
6999
6999
  contents[_GTN] = (0, import_smithy_client.expectString)(output[_GTN]);
7000
7000
  }
7001
- if (output.Resources === "") {
7001
+ if (String(output.Resources).trim() === "") {
7002
7002
  contents[_R] = [];
7003
7003
  } else if (output[_R] != null && output[_R][_m] != null) {
7004
7004
  contents[_R] = de_ResourceDetails((0, import_smithy_client.getArrayIfSingleItem)(output[_R][_m]), context);
@@ -7072,7 +7072,7 @@ var de_DescribeResourceScanOutput = /* @__PURE__ */ __name((output, context) =>
7072
7072
  if (output[_PC] != null) {
7073
7073
  contents[_PC] = (0, import_smithy_client.strictParseFloat)(output[_PC]);
7074
7074
  }
7075
- if (output.ResourceTypes === "") {
7075
+ if (String(output.ResourceTypes).trim() === "") {
7076
7076
  contents[_RTe] = [];
7077
7077
  } else if (output[_RTe] != null && output[_RTe][_m] != null) {
7078
7078
  contents[_RTe] = de_ResourceTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_RTe][_m]), context);
@@ -7083,7 +7083,7 @@ var de_DescribeResourceScanOutput = /* @__PURE__ */ __name((output, context) =>
7083
7083
  if (output[_RRes] != null) {
7084
7084
  contents[_RRes] = (0, import_smithy_client.strictParseInt32)(output[_RRes]);
7085
7085
  }
7086
- if (output.ScanFilters === "") {
7086
+ if (String(output.ScanFilters).trim() === "") {
7087
7087
  contents[_SF] = [];
7088
7088
  } else if (output[_SF] != null && output[_SF][_m] != null) {
7089
7089
  contents[_SF] = de_ScanFilters((0, import_smithy_client.getArrayIfSingleItem)(output[_SF][_m]), context);
@@ -7117,7 +7117,7 @@ var de_DescribeStackDriftDetectionStatusOutput = /* @__PURE__ */ __name((output,
7117
7117
  }, "de_DescribeStackDriftDetectionStatusOutput");
7118
7118
  var de_DescribeStackEventsOutput = /* @__PURE__ */ __name((output, context) => {
7119
7119
  const contents = {};
7120
- if (output.StackEvents === "") {
7120
+ if (String(output.StackEvents).trim() === "") {
7121
7121
  contents[_SE] = [];
7122
7122
  } else if (output[_SE] != null && output[_SE][_m] != null) {
7123
7123
  contents[_SE] = de_StackEvents((0, import_smithy_client.getArrayIfSingleItem)(output[_SE][_m]), context);
@@ -7142,7 +7142,7 @@ var de_DescribeStackRefactorOutput = /* @__PURE__ */ __name((output, context) =>
7142
7142
  if (output[_SRI] != null) {
7143
7143
  contents[_SRI] = (0, import_smithy_client.expectString)(output[_SRI]);
7144
7144
  }
7145
- if (output.StackIds === "") {
7145
+ if (String(output.StackIds).trim() === "") {
7146
7146
  contents[_SIt] = [];
7147
7147
  } else if (output[_SIt] != null && output[_SIt][_m] != null) {
7148
7148
  contents[_SIt] = de_StackIds((0, import_smithy_client.getArrayIfSingleItem)(output[_SIt][_m]), context);
@@ -7163,7 +7163,7 @@ var de_DescribeStackRefactorOutput = /* @__PURE__ */ __name((output, context) =>
7163
7163
  }, "de_DescribeStackRefactorOutput");
7164
7164
  var de_DescribeStackResourceDriftsOutput = /* @__PURE__ */ __name((output, context) => {
7165
7165
  const contents = {};
7166
- if (output.StackResourceDrifts === "") {
7166
+ if (String(output.StackResourceDrifts).trim() === "") {
7167
7167
  contents[_SRD] = [];
7168
7168
  } else if (output[_SRD] != null && output[_SRD][_m] != null) {
7169
7169
  contents[_SRD] = de_StackResourceDrifts((0, import_smithy_client.getArrayIfSingleItem)(output[_SRD][_m]), context);
@@ -7182,7 +7182,7 @@ var de_DescribeStackResourceOutput = /* @__PURE__ */ __name((output, context) =>
7182
7182
  }, "de_DescribeStackResourceOutput");
7183
7183
  var de_DescribeStackResourcesOutput = /* @__PURE__ */ __name((output, context) => {
7184
7184
  const contents = {};
7185
- if (output.StackResources === "") {
7185
+ if (String(output.StackResources).trim() === "") {
7186
7186
  contents[_SRta] = [];
7187
7187
  } else if (output[_SRta] != null && output[_SRta][_m] != null) {
7188
7188
  contents[_SRta] = de_StackResources((0, import_smithy_client.getArrayIfSingleItem)(output[_SRta][_m]), context);
@@ -7205,7 +7205,7 @@ var de_DescribeStackSetOutput = /* @__PURE__ */ __name((output, context) => {
7205
7205
  }, "de_DescribeStackSetOutput");
7206
7206
  var de_DescribeStacksOutput = /* @__PURE__ */ __name((output, context) => {
7207
7207
  const contents = {};
7208
- if (output.Stacks === "") {
7208
+ if (String(output.Stacks).trim() === "") {
7209
7209
  contents[_St] = [];
7210
7210
  } else if (output[_St] != null && output[_St][_m] != null) {
7211
7211
  contents[_St] = de_Stacks((0, import_smithy_client.getArrayIfSingleItem)(output[_St][_m]), context);
@@ -7253,7 +7253,7 @@ var de_DescribeTypeOutput = /* @__PURE__ */ __name((output, context) => {
7253
7253
  if (output[_LC] != null) {
7254
7254
  contents[_LC] = de_LoggingConfig(output[_LC], context);
7255
7255
  }
7256
- if (output.RequiredActivatedTypes === "") {
7256
+ if (String(output.RequiredActivatedTypes).trim() === "") {
7257
7257
  contents[_RAT] = [];
7258
7258
  } else if (output[_RAT] != null && output[_RAT][_m] != null) {
7259
7259
  contents[_RAT] = de_RequiredActivatedTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_RAT][_m]), context);
@@ -7397,7 +7397,7 @@ var de_GetTemplateOutput = /* @__PURE__ */ __name((output, context) => {
7397
7397
  if (output[_TB] != null) {
7398
7398
  contents[_TB] = (0, import_smithy_client.expectString)(output[_TB]);
7399
7399
  }
7400
- if (output.StagesAvailable === "") {
7400
+ if (String(output.StagesAvailable).trim() === "") {
7401
7401
  contents[_SA] = [];
7402
7402
  } else if (output[_SA] != null && output[_SA][_m] != null) {
7403
7403
  contents[_SA] = de_StageList((0, import_smithy_client.getArrayIfSingleItem)(output[_SA][_m]), context);
@@ -7406,7 +7406,7 @@ var de_GetTemplateOutput = /* @__PURE__ */ __name((output, context) => {
7406
7406
  }, "de_GetTemplateOutput");
7407
7407
  var de_GetTemplateSummaryOutput = /* @__PURE__ */ __name((output, context) => {
7408
7408
  const contents = {};
7409
- if (output.Parameters === "") {
7409
+ if (String(output.Parameters).trim() === "") {
7410
7410
  contents[_P] = [];
7411
7411
  } else if (output[_P] != null && output[_P][_m] != null) {
7412
7412
  contents[_P] = de_ParameterDeclarations((0, import_smithy_client.getArrayIfSingleItem)(output[_P][_m]), context);
@@ -7414,7 +7414,7 @@ var de_GetTemplateSummaryOutput = /* @__PURE__ */ __name((output, context) => {
7414
7414
  if (output[_D] != null) {
7415
7415
  contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
7416
7416
  }
7417
- if (output.Capabilities === "") {
7417
+ if (String(output.Capabilities).trim() === "") {
7418
7418
  contents[_C] = [];
7419
7419
  } else if (output[_C] != null && output[_C][_m] != null) {
7420
7420
  contents[_C] = de_Capabilities((0, import_smithy_client.getArrayIfSingleItem)(output[_C][_m]), context);
@@ -7422,7 +7422,7 @@ var de_GetTemplateSummaryOutput = /* @__PURE__ */ __name((output, context) => {
7422
7422
  if (output[_CR] != null) {
7423
7423
  contents[_CR] = (0, import_smithy_client.expectString)(output[_CR]);
7424
7424
  }
7425
- if (output.ResourceTypes === "") {
7425
+ if (String(output.ResourceTypes).trim() === "") {
7426
7426
  contents[_RTe] = [];
7427
7427
  } else if (output[_RTe] != null && output[_RTe][_m] != null) {
7428
7428
  contents[_RTe] = de_ResourceTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_RTe][_m]), context);
@@ -7433,12 +7433,12 @@ var de_GetTemplateSummaryOutput = /* @__PURE__ */ __name((output, context) => {
7433
7433
  if (output[_Me] != null) {
7434
7434
  contents[_Me] = (0, import_smithy_client.expectString)(output[_Me]);
7435
7435
  }
7436
- if (output.DeclaredTransforms === "") {
7436
+ if (String(output.DeclaredTransforms).trim() === "") {
7437
7437
  contents[_DTec] = [];
7438
7438
  } else if (output[_DTec] != null && output[_DTec][_m] != null) {
7439
7439
  contents[_DTec] = de_TransformsList((0, import_smithy_client.getArrayIfSingleItem)(output[_DTec][_m]), context);
7440
7440
  }
7441
- if (output.ResourceIdentifierSummaries === "") {
7441
+ if (String(output.ResourceIdentifierSummaries).trim() === "") {
7442
7442
  contents[_RIS] = [];
7443
7443
  } else if (output[_RIS] != null && output[_RIS][_m] != null) {
7444
7444
  contents[_RIS] = de_ResourceIdentifierSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_RIS][_m]), context);
@@ -7561,7 +7561,7 @@ var de_LimitExceededException = /* @__PURE__ */ __name((output, context) => {
7561
7561
  }, "de_LimitExceededException");
7562
7562
  var de_ListChangeSetsOutput = /* @__PURE__ */ __name((output, context) => {
7563
7563
  const contents = {};
7564
- if (output.Summaries === "") {
7564
+ if (String(output.Summaries).trim() === "") {
7565
7565
  contents[_Su] = [];
7566
7566
  } else if (output[_Su] != null && output[_Su][_m] != null) {
7567
7567
  contents[_Su] = de_ChangeSetSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_Su][_m]), context);
@@ -7573,7 +7573,7 @@ var de_ListChangeSetsOutput = /* @__PURE__ */ __name((output, context) => {
7573
7573
  }, "de_ListChangeSetsOutput");
7574
7574
  var de_ListExportsOutput = /* @__PURE__ */ __name((output, context) => {
7575
7575
  const contents = {};
7576
- if (output.Exports === "") {
7576
+ if (String(output.Exports).trim() === "") {
7577
7577
  contents[_Ex] = [];
7578
7578
  } else if (output[_Ex] != null && output[_Ex][_m] != null) {
7579
7579
  contents[_Ex] = de_Exports((0, import_smithy_client.getArrayIfSingleItem)(output[_Ex][_m]), context);
@@ -7585,7 +7585,7 @@ var de_ListExportsOutput = /* @__PURE__ */ __name((output, context) => {
7585
7585
  }, "de_ListExportsOutput");
7586
7586
  var de_ListGeneratedTemplatesOutput = /* @__PURE__ */ __name((output, context) => {
7587
7587
  const contents = {};
7588
- if (output.Summaries === "") {
7588
+ if (String(output.Summaries).trim() === "") {
7589
7589
  contents[_Su] = [];
7590
7590
  } else if (output[_Su] != null && output[_Su][_m] != null) {
7591
7591
  contents[_Su] = de_TemplateSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_Su][_m]), context);
@@ -7603,7 +7603,7 @@ var de_ListHookResultsOutput = /* @__PURE__ */ __name((output, context) => {
7603
7603
  if (output[_TI] != null) {
7604
7604
  contents[_TI] = (0, import_smithy_client.expectString)(output[_TI]);
7605
7605
  }
7606
- if (output.HookResults === "") {
7606
+ if (String(output.HookResults).trim() === "") {
7607
7607
  contents[_HR] = [];
7608
7608
  } else if (output[_HR] != null && output[_HR][_m] != null) {
7609
7609
  contents[_HR] = de_HookResultSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_HR][_m]), context);
@@ -7615,7 +7615,7 @@ var de_ListHookResultsOutput = /* @__PURE__ */ __name((output, context) => {
7615
7615
  }, "de_ListHookResultsOutput");
7616
7616
  var de_ListImportsOutput = /* @__PURE__ */ __name((output, context) => {
7617
7617
  const contents = {};
7618
- if (output.Imports === "") {
7618
+ if (String(output.Imports).trim() === "") {
7619
7619
  contents[_Im] = [];
7620
7620
  } else if (output[_Im] != null && output[_Im][_m] != null) {
7621
7621
  contents[_Im] = de_Imports((0, import_smithy_client.getArrayIfSingleItem)(output[_Im][_m]), context);
@@ -7627,7 +7627,7 @@ var de_ListImportsOutput = /* @__PURE__ */ __name((output, context) => {
7627
7627
  }, "de_ListImportsOutput");
7628
7628
  var de_ListResourceScanRelatedResourcesOutput = /* @__PURE__ */ __name((output, context) => {
7629
7629
  const contents = {};
7630
- if (output.RelatedResources === "") {
7630
+ if (String(output.RelatedResources).trim() === "") {
7631
7631
  contents[_RRel] = [];
7632
7632
  } else if (output[_RRel] != null && output[_RRel][_m] != null) {
7633
7633
  contents[_RRel] = de_RelatedResources((0, import_smithy_client.getArrayIfSingleItem)(output[_RRel][_m]), context);
@@ -7639,7 +7639,7 @@ var de_ListResourceScanRelatedResourcesOutput = /* @__PURE__ */ __name((output,
7639
7639
  }, "de_ListResourceScanRelatedResourcesOutput");
7640
7640
  var de_ListResourceScanResourcesOutput = /* @__PURE__ */ __name((output, context) => {
7641
7641
  const contents = {};
7642
- if (output.Resources === "") {
7642
+ if (String(output.Resources).trim() === "") {
7643
7643
  contents[_R] = [];
7644
7644
  } else if (output[_R] != null && output[_R][_m] != null) {
7645
7645
  contents[_R] = de_ScannedResources((0, import_smithy_client.getArrayIfSingleItem)(output[_R][_m]), context);
@@ -7651,7 +7651,7 @@ var de_ListResourceScanResourcesOutput = /* @__PURE__ */ __name((output, context
7651
7651
  }, "de_ListResourceScanResourcesOutput");
7652
7652
  var de_ListResourceScansOutput = /* @__PURE__ */ __name((output, context) => {
7653
7653
  const contents = {};
7654
- if (output.ResourceScanSummaries === "") {
7654
+ if (String(output.ResourceScanSummaries).trim() === "") {
7655
7655
  contents[_RSS] = [];
7656
7656
  } else if (output[_RSS] != null && output[_RSS][_m] != null) {
7657
7657
  contents[_RSS] = de_ResourceScanSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_RSS][_m]), context);
@@ -7663,7 +7663,7 @@ var de_ListResourceScansOutput = /* @__PURE__ */ __name((output, context) => {
7663
7663
  }, "de_ListResourceScansOutput");
7664
7664
  var de_ListStackInstanceResourceDriftsOutput = /* @__PURE__ */ __name((output, context) => {
7665
7665
  const contents = {};
7666
- if (output.Summaries === "") {
7666
+ if (String(output.Summaries).trim() === "") {
7667
7667
  contents[_Su] = [];
7668
7668
  } else if (output[_Su] != null && output[_Su][_m] != null) {
7669
7669
  contents[_Su] = de_StackInstanceResourceDriftsSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_Su][_m]), context);
@@ -7675,7 +7675,7 @@ var de_ListStackInstanceResourceDriftsOutput = /* @__PURE__ */ __name((output, c
7675
7675
  }, "de_ListStackInstanceResourceDriftsOutput");
7676
7676
  var de_ListStackInstancesOutput = /* @__PURE__ */ __name((output, context) => {
7677
7677
  const contents = {};
7678
- if (output.Summaries === "") {
7678
+ if (String(output.Summaries).trim() === "") {
7679
7679
  contents[_Su] = [];
7680
7680
  } else if (output[_Su] != null && output[_Su][_m] != null) {
7681
7681
  contents[_Su] = de_StackInstanceSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_Su][_m]), context);
@@ -7687,7 +7687,7 @@ var de_ListStackInstancesOutput = /* @__PURE__ */ __name((output, context) => {
7687
7687
  }, "de_ListStackInstancesOutput");
7688
7688
  var de_ListStackRefactorActionsOutput = /* @__PURE__ */ __name((output, context) => {
7689
7689
  const contents = {};
7690
- if (output.StackRefactorActions === "") {
7690
+ if (String(output.StackRefactorActions).trim() === "") {
7691
7691
  contents[_SRA] = [];
7692
7692
  } else if (output[_SRA] != null && output[_SRA][_m] != null) {
7693
7693
  contents[_SRA] = de_StackRefactorActions((0, import_smithy_client.getArrayIfSingleItem)(output[_SRA][_m]), context);
@@ -7699,7 +7699,7 @@ var de_ListStackRefactorActionsOutput = /* @__PURE__ */ __name((output, context)
7699
7699
  }, "de_ListStackRefactorActionsOutput");
7700
7700
  var de_ListStackRefactorsOutput = /* @__PURE__ */ __name((output, context) => {
7701
7701
  const contents = {};
7702
- if (output.StackRefactorSummaries === "") {
7702
+ if (String(output.StackRefactorSummaries).trim() === "") {
7703
7703
  contents[_SRSt] = [];
7704
7704
  } else if (output[_SRSt] != null && output[_SRSt][_m] != null) {
7705
7705
  contents[_SRSt] = de_StackRefactorSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_SRSt][_m]), context);
@@ -7711,7 +7711,7 @@ var de_ListStackRefactorsOutput = /* @__PURE__ */ __name((output, context) => {
7711
7711
  }, "de_ListStackRefactorsOutput");
7712
7712
  var de_ListStackResourcesOutput = /* @__PURE__ */ __name((output, context) => {
7713
7713
  const contents = {};
7714
- if (output.StackResourceSummaries === "") {
7714
+ if (String(output.StackResourceSummaries).trim() === "") {
7715
7715
  contents[_SRSta] = [];
7716
7716
  } else if (output[_SRSta] != null && output[_SRSta][_m] != null) {
7717
7717
  contents[_SRSta] = de_StackResourceSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_SRSta][_m]), context);
@@ -7723,7 +7723,7 @@ var de_ListStackResourcesOutput = /* @__PURE__ */ __name((output, context) => {
7723
7723
  }, "de_ListStackResourcesOutput");
7724
7724
  var de_ListStackSetAutoDeploymentTargetsOutput = /* @__PURE__ */ __name((output, context) => {
7725
7725
  const contents = {};
7726
- if (output.Summaries === "") {
7726
+ if (String(output.Summaries).trim() === "") {
7727
7727
  contents[_Su] = [];
7728
7728
  } else if (output[_Su] != null && output[_Su][_m] != null) {
7729
7729
  contents[_Su] = de_StackSetAutoDeploymentTargetSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_Su][_m]), context);
@@ -7735,7 +7735,7 @@ var de_ListStackSetAutoDeploymentTargetsOutput = /* @__PURE__ */ __name((output,
7735
7735
  }, "de_ListStackSetAutoDeploymentTargetsOutput");
7736
7736
  var de_ListStackSetOperationResultsOutput = /* @__PURE__ */ __name((output, context) => {
7737
7737
  const contents = {};
7738
- if (output.Summaries === "") {
7738
+ if (String(output.Summaries).trim() === "") {
7739
7739
  contents[_Su] = [];
7740
7740
  } else if (output[_Su] != null && output[_Su][_m] != null) {
7741
7741
  contents[_Su] = de_StackSetOperationResultSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_Su][_m]), context);
@@ -7747,7 +7747,7 @@ var de_ListStackSetOperationResultsOutput = /* @__PURE__ */ __name((output, cont
7747
7747
  }, "de_ListStackSetOperationResultsOutput");
7748
7748
  var de_ListStackSetOperationsOutput = /* @__PURE__ */ __name((output, context) => {
7749
7749
  const contents = {};
7750
- if (output.Summaries === "") {
7750
+ if (String(output.Summaries).trim() === "") {
7751
7751
  contents[_Su] = [];
7752
7752
  } else if (output[_Su] != null && output[_Su][_m] != null) {
7753
7753
  contents[_Su] = de_StackSetOperationSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_Su][_m]), context);
@@ -7759,7 +7759,7 @@ var de_ListStackSetOperationsOutput = /* @__PURE__ */ __name((output, context) =
7759
7759
  }, "de_ListStackSetOperationsOutput");
7760
7760
  var de_ListStackSetsOutput = /* @__PURE__ */ __name((output, context) => {
7761
7761
  const contents = {};
7762
- if (output.Summaries === "") {
7762
+ if (String(output.Summaries).trim() === "") {
7763
7763
  contents[_Su] = [];
7764
7764
  } else if (output[_Su] != null && output[_Su][_m] != null) {
7765
7765
  contents[_Su] = de_StackSetSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_Su][_m]), context);
@@ -7771,7 +7771,7 @@ var de_ListStackSetsOutput = /* @__PURE__ */ __name((output, context) => {
7771
7771
  }, "de_ListStackSetsOutput");
7772
7772
  var de_ListStacksOutput = /* @__PURE__ */ __name((output, context) => {
7773
7773
  const contents = {};
7774
- if (output.StackSummaries === "") {
7774
+ if (String(output.StackSummaries).trim() === "") {
7775
7775
  contents[_SSt] = [];
7776
7776
  } else if (output[_SSt] != null && output[_SSt][_m] != null) {
7777
7777
  contents[_SSt] = de_StackSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_SSt][_m]), context);
@@ -7783,7 +7783,7 @@ var de_ListStacksOutput = /* @__PURE__ */ __name((output, context) => {
7783
7783
  }, "de_ListStacksOutput");
7784
7784
  var de_ListTypeRegistrationsOutput = /* @__PURE__ */ __name((output, context) => {
7785
7785
  const contents = {};
7786
- if (output.RegistrationTokenList === "") {
7786
+ if (String(output.RegistrationTokenList).trim() === "") {
7787
7787
  contents[_RTL] = [];
7788
7788
  } else if (output[_RTL] != null && output[_RTL][_m] != null) {
7789
7789
  contents[_RTL] = de_RegistrationTokenList((0, import_smithy_client.getArrayIfSingleItem)(output[_RTL][_m]), context);
@@ -7795,7 +7795,7 @@ var de_ListTypeRegistrationsOutput = /* @__PURE__ */ __name((output, context) =>
7795
7795
  }, "de_ListTypeRegistrationsOutput");
7796
7796
  var de_ListTypesOutput = /* @__PURE__ */ __name((output, context) => {
7797
7797
  const contents = {};
7798
- if (output.TypeSummaries === "") {
7798
+ if (String(output.TypeSummaries).trim() === "") {
7799
7799
  contents[_TSy] = [];
7800
7800
  } else if (output[_TSy] != null && output[_TSy][_m] != null) {
7801
7801
  contents[_TSy] = de_TypeSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_TSy][_m]), context);
@@ -7807,7 +7807,7 @@ var de_ListTypesOutput = /* @__PURE__ */ __name((output, context) => {
7807
7807
  }, "de_ListTypesOutput");
7808
7808
  var de_ListTypeVersionsOutput = /* @__PURE__ */ __name((output, context) => {
7809
7809
  const contents = {};
7810
- if (output.TypeVersionSummaries === "") {
7810
+ if (String(output.TypeVersionSummaries).trim() === "") {
7811
7811
  contents[_TVS] = [];
7812
7812
  } else if (output[_TVS] != null && output[_TVS][_m] != null) {
7813
7813
  contents[_TVS] = de_TypeVersionSummaries((0, import_smithy_client.getArrayIfSingleItem)(output[_TVS][_m]), context);
@@ -7933,7 +7933,7 @@ var de_Parameter = /* @__PURE__ */ __name((output, context) => {
7933
7933
  }, "de_Parameter");
7934
7934
  var de_ParameterConstraints = /* @__PURE__ */ __name((output, context) => {
7935
7935
  const contents = {};
7936
- if (output.AllowedValues === "") {
7936
+ if (String(output.AllowedValues).trim() === "") {
7937
7937
  contents[_AV] = [];
7938
7938
  } else if (output[_AV] != null && output[_AV][_m] != null) {
7939
7939
  contents[_AV] = de_AllowedValues((0, import_smithy_client.getArrayIfSingleItem)(output[_AV][_m]), context);
@@ -8059,7 +8059,7 @@ var de_RequiredActivatedType = /* @__PURE__ */ __name((output, context) => {
8059
8059
  if (output[_PI] != null) {
8060
8060
  contents[_PI] = (0, import_smithy_client.expectString)(output[_PI]);
8061
8061
  }
8062
- if (output.SupportedMajorVersions === "") {
8062
+ if (String(output.SupportedMajorVersions).trim() === "") {
8063
8063
  contents[_SMV] = [];
8064
8064
  } else if (output[_SMV] != null && output[_SMV][_m] != null) {
8065
8065
  contents[_SMV] = de_SupportedMajorVersions((0, import_smithy_client.getArrayIfSingleItem)(output[_SMV][_m]), context);
@@ -8091,12 +8091,12 @@ var de_ResourceChange = /* @__PURE__ */ __name((output, context) => {
8091
8091
  if (output[_Rep] != null) {
8092
8092
  contents[_Rep] = (0, import_smithy_client.expectString)(output[_Rep]);
8093
8093
  }
8094
- if (output.Scope === "") {
8094
+ if (String(output.Scope).trim() === "") {
8095
8095
  contents[_Sco] = [];
8096
8096
  } else if (output[_Sco] != null && output[_Sco][_m] != null) {
8097
8097
  contents[_Sco] = de_Scope((0, import_smithy_client.getArrayIfSingleItem)(output[_Sco][_m]), context);
8098
8098
  }
8099
- if (output.Details === "") {
8099
+ if (String(output.Details).trim() === "") {
8100
8100
  contents[_Det] = [];
8101
8101
  } else if (output[_Det] != null && output[_Det][_m] != null) {
8102
8102
  contents[_Det] = de_ResourceChangeDetails((0, import_smithy_client.getArrayIfSingleItem)(output[_Det][_m]), context);
@@ -8144,7 +8144,7 @@ var de_ResourceDetail = /* @__PURE__ */ __name((output, context) => {
8144
8144
  if (output[_LRI] != null) {
8145
8145
  contents[_LRI] = (0, import_smithy_client.expectString)(output[_LRI]);
8146
8146
  }
8147
- if (output.ResourceIdentifier === "") {
8147
+ if (String(output.ResourceIdentifier).trim() === "") {
8148
8148
  contents[_RI] = {};
8149
8149
  } else if (output[_RI] != null && output[_RI][_e] != null) {
8150
8150
  contents[_RI] = de_ResourceIdentifierProperties((0, import_smithy_client.getArrayIfSingleItem)(output[_RI][_e]), context);
@@ -8155,7 +8155,7 @@ var de_ResourceDetail = /* @__PURE__ */ __name((output, context) => {
8155
8155
  if (output[_RSR] != null) {
8156
8156
  contents[_RSR] = (0, import_smithy_client.expectString)(output[_RSR]);
8157
8157
  }
8158
- if (output.Warnings === "") {
8158
+ if (String(output.Warnings).trim() === "") {
8159
8159
  contents[_W] = [];
8160
8160
  } else if (output[_W] != null && output[_W][_m] != null) {
8161
8161
  contents[_W] = de_WarningDetails((0, import_smithy_client.getArrayIfSingleItem)(output[_W][_m]), context);
@@ -8191,12 +8191,12 @@ var de_ResourceIdentifierSummary = /* @__PURE__ */ __name((output, context) => {
8191
8191
  if (output[_RTes] != null) {
8192
8192
  contents[_RTes] = (0, import_smithy_client.expectString)(output[_RTes]);
8193
8193
  }
8194
- if (output.LogicalResourceIds === "") {
8194
+ if (String(output.LogicalResourceIds).trim() === "") {
8195
8195
  contents[_LRIo] = [];
8196
8196
  } else if (output[_LRIo] != null && output[_LRIo][_m] != null) {
8197
8197
  contents[_LRIo] = de_LogicalResourceIds((0, import_smithy_client.getArrayIfSingleItem)(output[_LRIo][_m]), context);
8198
8198
  }
8199
- if (output.ResourceIdentifiers === "") {
8199
+ if (String(output.ResourceIdentifiers).trim() === "") {
8200
8200
  contents[_RIe] = [];
8201
8201
  } else if (output[_RIe] != null && output[_RIe][_m] != null) {
8202
8202
  contents[_RIe] = de_ResourceIdentifiers((0, import_smithy_client.getArrayIfSingleItem)(output[_RIe][_m]), context);
@@ -8311,7 +8311,7 @@ var de_ResourceTypes = /* @__PURE__ */ __name((output, context) => {
8311
8311
  }, "de_ResourceTypes");
8312
8312
  var de_RollbackConfiguration = /* @__PURE__ */ __name((output, context) => {
8313
8313
  const contents = {};
8314
- if (output.RollbackTriggers === "") {
8314
+ if (String(output.RollbackTriggers).trim() === "") {
8315
8315
  contents[_RTo] = [];
8316
8316
  } else if (output[_RTo] != null && output[_RTo][_m] != null) {
8317
8317
  contents[_RTo] = de_RollbackTriggers((0, import_smithy_client.getArrayIfSingleItem)(output[_RTo][_m]), context);
@@ -8345,7 +8345,7 @@ var de_RollbackTriggers = /* @__PURE__ */ __name((output, context) => {
8345
8345
  }, "de_RollbackTriggers");
8346
8346
  var de_ScanFilter = /* @__PURE__ */ __name((output, context) => {
8347
8347
  const contents = {};
8348
- if (output.Types === "") {
8348
+ if (String(output.Types).trim() === "") {
8349
8349
  contents[_Ty] = [];
8350
8350
  } else if (output[_Ty] != null && output[_Ty][_m] != null) {
8351
8351
  contents[_Ty] = de_ResourceTypeFilters((0, import_smithy_client.getArrayIfSingleItem)(output[_Ty][_m]), context);
@@ -8362,7 +8362,7 @@ var de_ScannedResource = /* @__PURE__ */ __name((output, context) => {
8362
8362
  if (output[_RTes] != null) {
8363
8363
  contents[_RTes] = (0, import_smithy_client.expectString)(output[_RTes]);
8364
8364
  }
8365
- if (output.ResourceIdentifier === "") {
8365
+ if (String(output.ResourceIdentifier).trim() === "") {
8366
8366
  contents[_RI] = {};
8367
8367
  } else if (output[_RI] != null && output[_RI][_e] != null) {
8368
8368
  contents[_RI] = de_JazzResourceIdentifierProperties((0, import_smithy_client.getArrayIfSingleItem)(output[_RI][_e]), context);
@@ -8407,7 +8407,7 @@ var de_Stack = /* @__PURE__ */ __name((output, context) => {
8407
8407
  if (output[_D] != null) {
8408
8408
  contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
8409
8409
  }
8410
- if (output.Parameters === "") {
8410
+ if (String(output.Parameters).trim() === "") {
8411
8411
  contents[_P] = [];
8412
8412
  } else if (output[_P] != null && output[_P][_m] != null) {
8413
8413
  contents[_P] = de_Parameters((0, import_smithy_client.getArrayIfSingleItem)(output[_P][_m]), context);
@@ -8433,7 +8433,7 @@ var de_Stack = /* @__PURE__ */ __name((output, context) => {
8433
8433
  if (output[_DR] != null) {
8434
8434
  contents[_DR] = (0, import_smithy_client.parseBoolean)(output[_DR]);
8435
8435
  }
8436
- if (output.NotificationARNs === "") {
8436
+ if (String(output.NotificationARNs).trim() === "") {
8437
8437
  contents[_NARN] = [];
8438
8438
  } else if (output[_NARN] != null && output[_NARN][_m] != null) {
8439
8439
  contents[_NARN] = de_NotificationARNs((0, import_smithy_client.getArrayIfSingleItem)(output[_NARN][_m]), context);
@@ -8441,12 +8441,12 @@ var de_Stack = /* @__PURE__ */ __name((output, context) => {
8441
8441
  if (output[_TIM] != null) {
8442
8442
  contents[_TIM] = (0, import_smithy_client.strictParseInt32)(output[_TIM]);
8443
8443
  }
8444
- if (output.Capabilities === "") {
8444
+ if (String(output.Capabilities).trim() === "") {
8445
8445
  contents[_C] = [];
8446
8446
  } else if (output[_C] != null && output[_C][_m] != null) {
8447
8447
  contents[_C] = de_Capabilities((0, import_smithy_client.getArrayIfSingleItem)(output[_C][_m]), context);
8448
8448
  }
8449
- if (output.Outputs === "") {
8449
+ if (String(output.Outputs).trim() === "") {
8450
8450
  contents[_O] = [];
8451
8451
  } else if (output[_O] != null && output[_O][_m] != null) {
8452
8452
  contents[_O] = de_Outputs((0, import_smithy_client.getArrayIfSingleItem)(output[_O][_m]), context);
@@ -8454,7 +8454,7 @@ var de_Stack = /* @__PURE__ */ __name((output, context) => {
8454
8454
  if (output[_RARN] != null) {
8455
8455
  contents[_RARN] = (0, import_smithy_client.expectString)(output[_RARN]);
8456
8456
  }
8457
- if (output.Tags === "") {
8457
+ if (String(output.Tags).trim() === "") {
8458
8458
  contents[_Ta] = [];
8459
8459
  } else if (output[_Ta] != null && output[_Ta][_m] != null) {
8460
8460
  contents[_Ta] = de_Tags((0, import_smithy_client.getArrayIfSingleItem)(output[_Ta][_m]), context);
@@ -8584,7 +8584,7 @@ var de_StackInstance = /* @__PURE__ */ __name((output, context) => {
8584
8584
  if (output[_SI] != null) {
8585
8585
  contents[_SI] = (0, import_smithy_client.expectString)(output[_SI]);
8586
8586
  }
8587
- if (output.ParameterOverrides === "") {
8587
+ if (String(output.ParameterOverrides).trim() === "") {
8588
8588
  contents[_PO] = [];
8589
8589
  } else if (output[_PO] != null && output[_PO][_m] != null) {
8590
8590
  contents[_PO] = de_Parameters((0, import_smithy_client.getArrayIfSingleItem)(output[_PO][_m]), context);
@@ -8642,7 +8642,7 @@ var de_StackInstanceResourceDriftsSummary = /* @__PURE__ */ __name((output, cont
8642
8642
  if (output[_PRI] != null) {
8643
8643
  contents[_PRI] = (0, import_smithy_client.expectString)(output[_PRI]);
8644
8644
  }
8645
- if (output.PhysicalResourceIdContext === "") {
8645
+ if (String(output.PhysicalResourceIdContext).trim() === "") {
8646
8646
  contents[_PRIC] = [];
8647
8647
  } else if (output[_PRIC] != null && output[_PRIC][_m] != null) {
8648
8648
  contents[_PRIC] = de_PhysicalResourceIdContext((0, import_smithy_client.getArrayIfSingleItem)(output[_PRIC][_m]), context);
@@ -8650,7 +8650,7 @@ var de_StackInstanceResourceDriftsSummary = /* @__PURE__ */ __name((output, cont
8650
8650
  if (output[_RTes] != null) {
8651
8651
  contents[_RTes] = (0, import_smithy_client.expectString)(output[_RTes]);
8652
8652
  }
8653
- if (output.PropertyDifferences === "") {
8653
+ if (String(output.PropertyDifferences).trim() === "") {
8654
8654
  contents[_PD] = [];
8655
8655
  } else if (output[_PD] != null && output[_PD][_m] != null) {
8656
8656
  contents[_PD] = de_PropertyDifferences((0, import_smithy_client.getArrayIfSingleItem)(output[_PD][_m]), context);
@@ -8735,12 +8735,12 @@ var de_StackRefactorAction = /* @__PURE__ */ __name((output, context) => {
8735
8735
  if (output[_DRe] != null) {
8736
8736
  contents[_DRe] = (0, import_smithy_client.expectString)(output[_DRe]);
8737
8737
  }
8738
- if (output.TagResources === "") {
8738
+ if (String(output.TagResources).trim() === "") {
8739
8739
  contents[_TR] = [];
8740
8740
  } else if (output[_TR] != null && output[_TR][_m] != null) {
8741
8741
  contents[_TR] = de_StackRefactorTagResources((0, import_smithy_client.getArrayIfSingleItem)(output[_TR][_m]), context);
8742
8742
  }
8743
- if (output.UntagResources === "") {
8743
+ if (String(output.UntagResources).trim() === "") {
8744
8744
  contents[_UR] = [];
8745
8745
  } else if (output[_UR] != null && output[_UR][_m] != null) {
8746
8746
  contents[_UR] = de_StackRefactorUntagResources((0, import_smithy_client.getArrayIfSingleItem)(output[_UR][_m]), context);
@@ -8887,7 +8887,7 @@ var de_StackResourceDrift = /* @__PURE__ */ __name((output, context) => {
8887
8887
  if (output[_PRI] != null) {
8888
8888
  contents[_PRI] = (0, import_smithy_client.expectString)(output[_PRI]);
8889
8889
  }
8890
- if (output.PhysicalResourceIdContext === "") {
8890
+ if (String(output.PhysicalResourceIdContext).trim() === "") {
8891
8891
  contents[_PRIC] = [];
8892
8892
  } else if (output[_PRIC] != null && output[_PRIC][_m] != null) {
8893
8893
  contents[_PRIC] = de_PhysicalResourceIdContext((0, import_smithy_client.getArrayIfSingleItem)(output[_PRIC][_m]), context);
@@ -8901,7 +8901,7 @@ var de_StackResourceDrift = /* @__PURE__ */ __name((output, context) => {
8901
8901
  if (output[_AP] != null) {
8902
8902
  contents[_AP] = (0, import_smithy_client.expectString)(output[_AP]);
8903
8903
  }
8904
- if (output.PropertyDifferences === "") {
8904
+ if (String(output.PropertyDifferences).trim() === "") {
8905
8905
  contents[_PD] = [];
8906
8906
  } else if (output[_PD] != null && output[_PD][_m] != null) {
8907
8907
  contents[_PD] = de_PropertyDifferences((0, import_smithy_client.getArrayIfSingleItem)(output[_PD][_m]), context);
@@ -9005,17 +9005,17 @@ var de_StackSet = /* @__PURE__ */ __name((output, context) => {
9005
9005
  if (output[_TB] != null) {
9006
9006
  contents[_TB] = (0, import_smithy_client.expectString)(output[_TB]);
9007
9007
  }
9008
- if (output.Parameters === "") {
9008
+ if (String(output.Parameters).trim() === "") {
9009
9009
  contents[_P] = [];
9010
9010
  } else if (output[_P] != null && output[_P][_m] != null) {
9011
9011
  contents[_P] = de_Parameters((0, import_smithy_client.getArrayIfSingleItem)(output[_P][_m]), context);
9012
9012
  }
9013
- if (output.Capabilities === "") {
9013
+ if (String(output.Capabilities).trim() === "") {
9014
9014
  contents[_C] = [];
9015
9015
  } else if (output[_C] != null && output[_C][_m] != null) {
9016
9016
  contents[_C] = de_Capabilities((0, import_smithy_client.getArrayIfSingleItem)(output[_C][_m]), context);
9017
9017
  }
9018
- if (output.Tags === "") {
9018
+ if (String(output.Tags).trim() === "") {
9019
9019
  contents[_Ta] = [];
9020
9020
  } else if (output[_Ta] != null && output[_Ta][_m] != null) {
9021
9021
  contents[_Ta] = de_Tags((0, import_smithy_client.getArrayIfSingleItem)(output[_Ta][_m]), context);
@@ -9038,7 +9038,7 @@ var de_StackSet = /* @__PURE__ */ __name((output, context) => {
9038
9038
  if (output[_PM] != null) {
9039
9039
  contents[_PM] = (0, import_smithy_client.expectString)(output[_PM]);
9040
9040
  }
9041
- if (output.OrganizationalUnitIds === "") {
9041
+ if (String(output.OrganizationalUnitIds).trim() === "") {
9042
9042
  contents[_OUI] = [];
9043
9043
  } else if (output[_OUI] != null && output[_OUI][_m] != null) {
9044
9044
  contents[_OUI] = de_OrganizationalUnitIdList((0, import_smithy_client.getArrayIfSingleItem)(output[_OUI][_m]), context);
@@ -9046,7 +9046,7 @@ var de_StackSet = /* @__PURE__ */ __name((output, context) => {
9046
9046
  if (output[_ME] != null) {
9047
9047
  contents[_ME] = de_ManagedExecution(output[_ME], context);
9048
9048
  }
9049
- if (output.Regions === "") {
9049
+ if (String(output.Regions).trim() === "") {
9050
9050
  contents[_Re] = [];
9051
9051
  } else if (output[_Re] != null && output[_Re][_m] != null) {
9052
9052
  contents[_Re] = de_RegionList((0, import_smithy_client.getArrayIfSingleItem)(output[_Re][_m]), context);
@@ -9063,7 +9063,7 @@ var de_StackSetAutoDeploymentTargetSummary = /* @__PURE__ */ __name((output, con
9063
9063
  if (output[_OUIr] != null) {
9064
9064
  contents[_OUIr] = (0, import_smithy_client.expectString)(output[_OUIr]);
9065
9065
  }
9066
- if (output.Regions === "") {
9066
+ if (String(output.Regions).trim() === "") {
9067
9067
  contents[_Re] = [];
9068
9068
  } else if (output[_Re] != null && output[_Re][_m] != null) {
9069
9069
  contents[_Re] = de_RegionList((0, import_smithy_client.getArrayIfSingleItem)(output[_Re][_m]), context);
@@ -9163,7 +9163,7 @@ var de_StackSetOperationPreferences = /* @__PURE__ */ __name((output, context) =
9163
9163
  if (output[_RCT] != null) {
9164
9164
  contents[_RCT] = (0, import_smithy_client.expectString)(output[_RCT]);
9165
9165
  }
9166
- if (output.RegionOrder === "") {
9166
+ if (String(output.RegionOrder).trim() === "") {
9167
9167
  contents[_RO] = [];
9168
9168
  } else if (output[_RO] != null && output[_RO][_m] != null) {
9169
9169
  contents[_RO] = de_RegionList((0, import_smithy_client.getArrayIfSingleItem)(output[_RO][_m]), context);
@@ -9655,7 +9655,7 @@ var de_UpdateTerminationProtectionOutput = /* @__PURE__ */ __name((output, conte
9655
9655
  }, "de_UpdateTerminationProtectionOutput");
9656
9656
  var de_ValidateTemplateOutput = /* @__PURE__ */ __name((output, context) => {
9657
9657
  const contents = {};
9658
- if (output.Parameters === "") {
9658
+ if (String(output.Parameters).trim() === "") {
9659
9659
  contents[_P] = [];
9660
9660
  } else if (output[_P] != null && output[_P][_m] != null) {
9661
9661
  contents[_P] = de_TemplateParameters((0, import_smithy_client.getArrayIfSingleItem)(output[_P][_m]), context);
@@ -9663,7 +9663,7 @@ var de_ValidateTemplateOutput = /* @__PURE__ */ __name((output, context) => {
9663
9663
  if (output[_D] != null) {
9664
9664
  contents[_D] = (0, import_smithy_client.expectString)(output[_D]);
9665
9665
  }
9666
- if (output.Capabilities === "") {
9666
+ if (String(output.Capabilities).trim() === "") {
9667
9667
  contents[_C] = [];
9668
9668
  } else if (output[_C] != null && output[_C][_m] != null) {
9669
9669
  contents[_C] = de_Capabilities((0, import_smithy_client.getArrayIfSingleItem)(output[_C][_m]), context);
@@ -9671,7 +9671,7 @@ var de_ValidateTemplateOutput = /* @__PURE__ */ __name((output, context) => {
9671
9671
  if (output[_CR] != null) {
9672
9672
  contents[_CR] = (0, import_smithy_client.expectString)(output[_CR]);
9673
9673
  }
9674
- if (output.DeclaredTransforms === "") {
9674
+ if (String(output.DeclaredTransforms).trim() === "") {
9675
9675
  contents[_DTec] = [];
9676
9676
  } else if (output[_DTec] != null && output[_DTec][_m] != null) {
9677
9677
  contents[_DTec] = de_TransformsList((0, import_smithy_client.getArrayIfSingleItem)(output[_DTec][_m]), context);
@@ -9683,7 +9683,7 @@ var de_WarningDetail = /* @__PURE__ */ __name((output, context) => {
9683
9683
  if (output[_T] != null) {
9684
9684
  contents[_T] = (0, import_smithy_client.expectString)(output[_T]);
9685
9685
  }
9686
- if (output.Properties === "") {
9686
+ if (String(output.Properties).trim() === "") {
9687
9687
  contents[_Pro] = [];
9688
9688
  } else if (output[_Pro] != null && output[_Pro][_m] != null) {
9689
9689
  contents[_Pro] = de_WarningProperties((0, import_smithy_client.getArrayIfSingleItem)(output[_Pro][_m]), context);
@@ -9715,7 +9715,7 @@ var de_WarningProperty = /* @__PURE__ */ __name((output, context) => {
9715
9715
  }, "de_WarningProperty");
9716
9716
  var de_Warnings = /* @__PURE__ */ __name((output, context) => {
9717
9717
  const contents = {};
9718
- if (output.UnrecognizedResourceTypes === "") {
9718
+ if (String(output.UnrecognizedResourceTypes).trim() === "") {
9719
9719
  contents[_URT] = [];
9720
9720
  } else if (output[_URT] != null && output[_URT][_m] != null) {
9721
9721
  contents[_URT] = de_ResourceTypes((0, import_smithy_client.getArrayIfSingleItem)(output[_URT][_m]), context);