@jjrawlins/cdk-iam-policy-builder-helper 0.0.36 → 0.0.38

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 (181) hide show
  1. package/.jsii +4 -4
  2. package/cdk-iam-policy-builder-helper/jsii/jsii.go +2 -2
  3. package/cdk-iam-policy-builder-helper/version +1 -1
  4. package/node_modules/@aws-sdk/client-iam/dist-cjs/index.js +90 -90
  5. package/node_modules/@aws-sdk/client-iam/dist-es/protocols/Aws_query.js +90 -90
  6. package/node_modules/@aws-sdk/client-iam/package.json +18 -18
  7. package/node_modules/@aws-sdk/client-sso/package.json +17 -17
  8. package/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js +30 -75
  9. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/ProtocolLib.js +1 -8
  10. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsJsonRpcProtocol.js +0 -4
  11. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/AwsRestJsonProtocol.js +0 -6
  12. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/json/JsonShapeSerializer.js +1 -1
  13. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/query/AwsQueryProtocol.js +10 -6
  14. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js +0 -6
  15. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/XmlShapeDeserializer.js +5 -13
  16. package/node_modules/@aws-sdk/core/dist-es/submodules/protocols/xml/parseXmlBody.js +2 -13
  17. package/node_modules/@aws-sdk/core/dist-types/submodules/protocols/ProtocolLib.d.ts +1 -9
  18. package/node_modules/@aws-sdk/core/dist-types/ts3.4/submodules/protocols/ProtocolLib.d.ts +0 -2
  19. package/node_modules/@aws-sdk/core/package.json +5 -7
  20. package/node_modules/@aws-sdk/credential-provider-env/package.json +4 -3
  21. package/node_modules/@aws-sdk/credential-provider-http/package.json +6 -5
  22. package/node_modules/@aws-sdk/credential-provider-ini/package.json +10 -9
  23. package/node_modules/@aws-sdk/credential-provider-node/package.json +9 -8
  24. package/node_modules/@aws-sdk/credential-provider-process/package.json +4 -3
  25. package/node_modules/@aws-sdk/credential-provider-sso/package.json +6 -5
  26. package/node_modules/@aws-sdk/credential-provider-web-identity/package.json +5 -4
  27. package/node_modules/@aws-sdk/middleware-host-header/package.json +3 -2
  28. package/node_modules/@aws-sdk/middleware-logger/package.json +3 -2
  29. package/node_modules/@aws-sdk/middleware-recursion-detection/package.json +3 -2
  30. package/node_modules/@aws-sdk/middleware-user-agent/package.json +6 -5
  31. package/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js +29 -2
  32. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/models/models_0.js +13 -0
  33. package/node_modules/@aws-sdk/nested-clients/dist-es/submodules/sso-oidc/protocols/Aws_restJson1.js +2 -0
  34. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDC.d.ts +1 -1
  35. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/SSOOIDCClient.d.ts +1 -1
  36. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/index.d.ts +1 -1
  37. package/node_modules/@aws-sdk/nested-clients/dist-types/submodules/sso-oidc/models/models_0.d.ts +36 -3
  38. package/node_modules/@aws-sdk/nested-clients/dist-types/ts3.4/submodules/sso-oidc/models/models_0.d.ts +15 -0
  39. package/node_modules/@aws-sdk/nested-clients/package.json +18 -17
  40. package/node_modules/@aws-sdk/region-config-resolver/package.json +3 -2
  41. package/node_modules/@aws-sdk/token-providers/package.json +5 -5
  42. package/node_modules/@aws-sdk/types/package.json +2 -1
  43. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js +4 -4
  44. package/node_modules/@aws-sdk/util-endpoints/dist-cjs/lib/aws/partitions.json +4 -4
  45. package/node_modules/@aws-sdk/util-endpoints/dist-es/lib/aws/partitions.json +4 -4
  46. package/node_modules/@aws-sdk/util-endpoints/package.json +3 -3
  47. package/node_modules/@aws-sdk/util-locate-window/package.json +2 -1
  48. package/node_modules/@aws-sdk/util-user-agent-browser/package.json +3 -2
  49. package/node_modules/@aws-sdk/util-user-agent-node/package.json +4 -3
  50. package/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js +6 -1
  51. package/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js +18 -0
  52. package/node_modules/@aws-sdk/xml-builder/dist-es/index.js +1 -0
  53. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.browser.js +54 -0
  54. package/node_modules/@aws-sdk/xml-builder/dist-es/xml-parser.js +15 -0
  55. package/node_modules/@aws-sdk/xml-builder/dist-types/index.d.ts +4 -0
  56. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/index.d.ts +1 -0
  57. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.browser.d.ts +1 -0
  58. package/node_modules/@aws-sdk/xml-builder/dist-types/ts3.4/xml-parser.d.ts +1 -0
  59. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.browser.d.ts +9 -0
  60. package/node_modules/@aws-sdk/xml-builder/dist-types/xml-parser.d.ts +4 -0
  61. package/node_modules/@aws-sdk/xml-builder/package.json +10 -1
  62. package/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js +15 -5
  63. package/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js +1 -1
  64. package/node_modules/@smithy/core/dist-es/submodules/schema/schemas/NormalizedSchema.js +15 -5
  65. package/node_modules/@smithy/core/dist-es/submodules/serde/generateIdempotencyToken.js +1 -1
  66. package/node_modules/@smithy/core/dist-types/submodules/serde/generateIdempotencyToken.d.ts +1 -1
  67. package/node_modules/@smithy/core/dist-types/ts3.4/submodules/serde/generateIdempotencyToken.d.ts +1 -1
  68. package/node_modules/@smithy/core/package.json +3 -4
  69. package/node_modules/@smithy/middleware-endpoint/package.json +2 -2
  70. package/node_modules/@smithy/middleware-retry/dist-cjs/index.js +1 -1
  71. package/node_modules/@smithy/middleware-retry/dist-es/StandardRetryStrategy.js +1 -1
  72. package/node_modules/@smithy/middleware-retry/dist-es/retryMiddleware.js +1 -1
  73. package/node_modules/@smithy/middleware-retry/package.json +4 -5
  74. package/node_modules/@smithy/smithy-client/package.json +3 -3
  75. package/node_modules/@smithy/util-defaults-mode-browser/package.json +2 -2
  76. package/node_modules/@smithy/util-defaults-mode-node/package.json +2 -2
  77. package/node_modules/@smithy/uuid/LICENSE +201 -0
  78. package/node_modules/@smithy/uuid/README.md +10 -0
  79. package/node_modules/@smithy/uuid/dist-cjs/index.js +45 -0
  80. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.browser.js +1 -0
  81. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.js +6 -0
  82. package/node_modules/@smithy/uuid/dist-cjs/randomUUID.native.js +4 -0
  83. package/node_modules/@smithy/uuid/dist-cjs/v4.js +1 -0
  84. package/node_modules/@smithy/uuid/dist-es/index.js +1 -0
  85. package/node_modules/@smithy/uuid/dist-es/randomUUID.browser.js +1 -0
  86. package/node_modules/@smithy/uuid/dist-es/randomUUID.js +2 -0
  87. package/node_modules/@smithy/uuid/dist-es/randomUUID.native.js +1 -0
  88. package/node_modules/@smithy/uuid/dist-es/v4.js +31 -0
  89. package/node_modules/@smithy/uuid/dist-types/index.d.ts +1 -0
  90. package/node_modules/@smithy/uuid/dist-types/randomUUID.browser.d.ts +1 -0
  91. package/node_modules/@smithy/uuid/dist-types/randomUUID.d.ts +2 -0
  92. package/node_modules/@smithy/uuid/dist-types/randomUUID.native.d.ts +1 -0
  93. package/node_modules/@smithy/uuid/dist-types/ts3.4/index.d.ts +1 -0
  94. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.browser.d.ts +1 -0
  95. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.d.ts +2 -0
  96. package/node_modules/@smithy/uuid/dist-types/ts3.4/randomUUID.native.d.ts +1 -0
  97. package/node_modules/@smithy/uuid/dist-types/ts3.4/v4.d.ts +19 -0
  98. package/node_modules/@smithy/uuid/dist-types/v4.d.ts +19 -0
  99. package/node_modules/@smithy/uuid/package.json +66 -0
  100. package/package.json +4 -4
  101. package/node_modules/@types/uuid/LICENSE +0 -21
  102. package/node_modules/@types/uuid/README.md +0 -15
  103. package/node_modules/@types/uuid/index.d.mts +0 -12
  104. package/node_modules/@types/uuid/index.d.ts +0 -86
  105. package/node_modules/@types/uuid/package.json +0 -54
  106. package/node_modules/uuid/CHANGELOG.md +0 -274
  107. package/node_modules/uuid/CONTRIBUTING.md +0 -18
  108. package/node_modules/uuid/LICENSE.md +0 -9
  109. package/node_modules/uuid/README.md +0 -466
  110. package/node_modules/uuid/dist/bin/uuid +0 -2
  111. package/node_modules/uuid/dist/commonjs-browser/index.js +0 -79
  112. package/node_modules/uuid/dist/commonjs-browser/md5.js +0 -223
  113. package/node_modules/uuid/dist/commonjs-browser/native.js +0 -11
  114. package/node_modules/uuid/dist/commonjs-browser/nil.js +0 -8
  115. package/node_modules/uuid/dist/commonjs-browser/parse.js +0 -45
  116. package/node_modules/uuid/dist/commonjs-browser/regex.js +0 -8
  117. package/node_modules/uuid/dist/commonjs-browser/rng.js +0 -25
  118. package/node_modules/uuid/dist/commonjs-browser/sha1.js +0 -104
  119. package/node_modules/uuid/dist/commonjs-browser/stringify.js +0 -44
  120. package/node_modules/uuid/dist/commonjs-browser/v1.js +0 -107
  121. package/node_modules/uuid/dist/commonjs-browser/v3.js +0 -16
  122. package/node_modules/uuid/dist/commonjs-browser/v35.js +0 -80
  123. package/node_modules/uuid/dist/commonjs-browser/v4.js +0 -43
  124. package/node_modules/uuid/dist/commonjs-browser/v5.js +0 -16
  125. package/node_modules/uuid/dist/commonjs-browser/validate.js +0 -17
  126. package/node_modules/uuid/dist/commonjs-browser/version.js +0 -21
  127. package/node_modules/uuid/dist/esm-browser/index.js +0 -9
  128. package/node_modules/uuid/dist/esm-browser/md5.js +0 -215
  129. package/node_modules/uuid/dist/esm-browser/native.js +0 -4
  130. package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
  131. package/node_modules/uuid/dist/esm-browser/parse.js +0 -35
  132. package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
  133. package/node_modules/uuid/dist/esm-browser/rng.js +0 -18
  134. package/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
  135. package/node_modules/uuid/dist/esm-browser/stringify.js +0 -33
  136. package/node_modules/uuid/dist/esm-browser/v1.js +0 -95
  137. package/node_modules/uuid/dist/esm-browser/v3.js +0 -4
  138. package/node_modules/uuid/dist/esm-browser/v35.js +0 -66
  139. package/node_modules/uuid/dist/esm-browser/v4.js +0 -29
  140. package/node_modules/uuid/dist/esm-browser/v5.js +0 -4
  141. package/node_modules/uuid/dist/esm-browser/validate.js +0 -7
  142. package/node_modules/uuid/dist/esm-browser/version.js +0 -11
  143. package/node_modules/uuid/dist/esm-node/index.js +0 -9
  144. package/node_modules/uuid/dist/esm-node/md5.js +0 -13
  145. package/node_modules/uuid/dist/esm-node/native.js +0 -4
  146. package/node_modules/uuid/dist/esm-node/nil.js +0 -1
  147. package/node_modules/uuid/dist/esm-node/parse.js +0 -35
  148. package/node_modules/uuid/dist/esm-node/regex.js +0 -1
  149. package/node_modules/uuid/dist/esm-node/rng.js +0 -12
  150. package/node_modules/uuid/dist/esm-node/sha1.js +0 -13
  151. package/node_modules/uuid/dist/esm-node/stringify.js +0 -33
  152. package/node_modules/uuid/dist/esm-node/v1.js +0 -95
  153. package/node_modules/uuid/dist/esm-node/v3.js +0 -4
  154. package/node_modules/uuid/dist/esm-node/v35.js +0 -66
  155. package/node_modules/uuid/dist/esm-node/v4.js +0 -29
  156. package/node_modules/uuid/dist/esm-node/v5.js +0 -4
  157. package/node_modules/uuid/dist/esm-node/validate.js +0 -7
  158. package/node_modules/uuid/dist/esm-node/version.js +0 -11
  159. package/node_modules/uuid/dist/index.js +0 -79
  160. package/node_modules/uuid/dist/md5-browser.js +0 -223
  161. package/node_modules/uuid/dist/md5.js +0 -23
  162. package/node_modules/uuid/dist/native-browser.js +0 -11
  163. package/node_modules/uuid/dist/native.js +0 -15
  164. package/node_modules/uuid/dist/nil.js +0 -8
  165. package/node_modules/uuid/dist/parse.js +0 -45
  166. package/node_modules/uuid/dist/regex.js +0 -8
  167. package/node_modules/uuid/dist/rng-browser.js +0 -25
  168. package/node_modules/uuid/dist/rng.js +0 -24
  169. package/node_modules/uuid/dist/sha1-browser.js +0 -104
  170. package/node_modules/uuid/dist/sha1.js +0 -23
  171. package/node_modules/uuid/dist/stringify.js +0 -44
  172. package/node_modules/uuid/dist/uuid-bin.js +0 -85
  173. package/node_modules/uuid/dist/v1.js +0 -107
  174. package/node_modules/uuid/dist/v3.js +0 -16
  175. package/node_modules/uuid/dist/v35.js +0 -80
  176. package/node_modules/uuid/dist/v4.js +0 -43
  177. package/node_modules/uuid/dist/v5.js +0 -16
  178. package/node_modules/uuid/dist/validate.js +0 -17
  179. package/node_modules/uuid/dist/version.js +0 -21
  180. package/node_modules/uuid/package.json +0 -135
  181. package/node_modules/uuid/wrapper.mjs +0 -10
@@ -7724,7 +7724,7 @@ var de_CreateOpenIDConnectProviderResponse = /* @__PURE__ */ __name((output, con
7724
7724
  if (output[_OIDCPA] != null) {
7725
7725
  contents[_OIDCPA] = (0, import_smithy_client.expectString)(output[_OIDCPA]);
7726
7726
  }
7727
- if (output.Tags === "") {
7727
+ if (String(output.Tags).trim() === "") {
7728
7728
  contents[_T] = [];
7729
7729
  } else if (output[_T] != null && output[_T][_me] != null) {
7730
7730
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -7757,7 +7757,7 @@ var de_CreateSAMLProviderResponse = /* @__PURE__ */ __name((output, context) =>
7757
7757
  if (output[_SAMLPA] != null) {
7758
7758
  contents[_SAMLPA] = (0, import_smithy_client.expectString)(output[_SAMLPA]);
7759
7759
  }
7760
- if (output.Tags === "") {
7760
+ if (String(output.Tags).trim() === "") {
7761
7761
  contents[_T] = [];
7762
7762
  } else if (output[_T] != null && output[_T][_me] != null) {
7763
7763
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -7832,7 +7832,7 @@ var de_DeletionTaskFailureReasonType = /* @__PURE__ */ __name((output, context)
7832
7832
  if (output[_Re] != null) {
7833
7833
  contents[_Re] = (0, import_smithy_client.expectString)(output[_Re]);
7834
7834
  }
7835
- if (output.RoleUsageList === "") {
7835
+ if (String(output.RoleUsageList).trim() === "") {
7836
7836
  contents[_RUL] = [];
7837
7837
  } else if (output[_RUL] != null && output[_RUL][_me] != null) {
7838
7838
  contents[_RUL] = de_RoleUsageListType((0, import_smithy_client.getArrayIfSingleItem)(output[_RUL][_me]), context);
@@ -7844,7 +7844,7 @@ var de_DisableOrganizationsRootCredentialsManagementResponse = /* @__PURE__ */ _
7844
7844
  if (output[_OI] != null) {
7845
7845
  contents[_OI] = (0, import_smithy_client.expectString)(output[_OI]);
7846
7846
  }
7847
- if (output.EnabledFeatures === "") {
7847
+ if (String(output.EnabledFeatures).trim() === "") {
7848
7848
  contents[_EFn] = [];
7849
7849
  } else if (output[_EFn] != null && output[_EFn][_me] != null) {
7850
7850
  contents[_EFn] = de_FeaturesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_EFn][_me]), context);
@@ -7856,7 +7856,7 @@ var de_DisableOrganizationsRootSessionsResponse = /* @__PURE__ */ __name((output
7856
7856
  if (output[_OI] != null) {
7857
7857
  contents[_OI] = (0, import_smithy_client.expectString)(output[_OI]);
7858
7858
  }
7859
- if (output.EnabledFeatures === "") {
7859
+ if (String(output.EnabledFeatures).trim() === "") {
7860
7860
  contents[_EFn] = [];
7861
7861
  } else if (output[_EFn] != null && output[_EFn][_me] != null) {
7862
7862
  contents[_EFn] = de_FeaturesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_EFn][_me]), context);
@@ -7882,7 +7882,7 @@ var de_EnableOrganizationsRootCredentialsManagementResponse = /* @__PURE__ */ __
7882
7882
  if (output[_OI] != null) {
7883
7883
  contents[_OI] = (0, import_smithy_client.expectString)(output[_OI]);
7884
7884
  }
7885
- if (output.EnabledFeatures === "") {
7885
+ if (String(output.EnabledFeatures).trim() === "") {
7886
7886
  contents[_EFn] = [];
7887
7887
  } else if (output[_EFn] != null && output[_EFn][_me] != null) {
7888
7888
  contents[_EFn] = de_FeaturesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_EFn][_me]), context);
@@ -7894,7 +7894,7 @@ var de_EnableOrganizationsRootSessionsResponse = /* @__PURE__ */ __name((output,
7894
7894
  if (output[_OI] != null) {
7895
7895
  contents[_OI] = (0, import_smithy_client.expectString)(output[_OI]);
7896
7896
  }
7897
- if (output.EnabledFeatures === "") {
7897
+ if (String(output.EnabledFeatures).trim() === "") {
7898
7898
  contents[_EFn] = [];
7899
7899
  } else if (output[_EFn] != null && output[_EFn][_me] != null) {
7900
7900
  contents[_EFn] = de_FeaturesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_EFn][_me]), context);
@@ -7979,12 +7979,12 @@ var de_EvaluationResult = /* @__PURE__ */ __name((output, context) => {
7979
7979
  if (output[_ED] != null) {
7980
7980
  contents[_ED] = (0, import_smithy_client.expectString)(output[_ED]);
7981
7981
  }
7982
- if (output.MatchedStatements === "") {
7982
+ if (String(output.MatchedStatements).trim() === "") {
7983
7983
  contents[_MS] = [];
7984
7984
  } else if (output[_MS] != null && output[_MS][_me] != null) {
7985
7985
  contents[_MS] = de_StatementListType((0, import_smithy_client.getArrayIfSingleItem)(output[_MS][_me]), context);
7986
7986
  }
7987
- if (output.MissingContextValues === "") {
7987
+ if (String(output.MissingContextValues).trim() === "") {
7988
7988
  contents[_MCV] = [];
7989
7989
  } else if (output[_MCV] != null && output[_MCV][_me] != null) {
7990
7990
  contents[_MCV] = de_ContextKeyNamesResultListType((0, import_smithy_client.getArrayIfSingleItem)(output[_MCV][_me]), context);
@@ -7995,12 +7995,12 @@ var de_EvaluationResult = /* @__PURE__ */ __name((output, context) => {
7995
7995
  if (output[_PBDD] != null) {
7996
7996
  contents[_PBDD] = de_PermissionsBoundaryDecisionDetail(output[_PBDD], context);
7997
7997
  }
7998
- if (output.EvalDecisionDetails === "") {
7998
+ if (String(output.EvalDecisionDetails).trim() === "") {
7999
7999
  contents[_EDD] = {};
8000
8000
  } else if (output[_EDD] != null && output[_EDD][_e] != null) {
8001
8001
  contents[_EDD] = de_EvalDecisionDetailsType((0, import_smithy_client.getArrayIfSingleItem)(output[_EDD][_e]), context);
8002
8002
  }
8003
- if (output.ResourceSpecificResults === "") {
8003
+ if (String(output.ResourceSpecificResults).trim() === "") {
8004
8004
  contents[_RSR] = [];
8005
8005
  } else if (output[_RSR] != null && output[_RSR][_me] != null) {
8006
8006
  contents[_RSR] = de_ResourceSpecificResultListType((0, import_smithy_client.getArrayIfSingleItem)(output[_RSR][_me]), context);
@@ -8053,22 +8053,22 @@ var de_GetAccessKeyLastUsedResponse = /* @__PURE__ */ __name((output, context) =
8053
8053
  }, "de_GetAccessKeyLastUsedResponse");
8054
8054
  var de_GetAccountAuthorizationDetailsResponse = /* @__PURE__ */ __name((output, context) => {
8055
8055
  const contents = {};
8056
- if (output.UserDetailList === "") {
8056
+ if (String(output.UserDetailList).trim() === "") {
8057
8057
  contents[_UDL] = [];
8058
8058
  } else if (output[_UDL] != null && output[_UDL][_me] != null) {
8059
8059
  contents[_UDL] = de_userDetailListType((0, import_smithy_client.getArrayIfSingleItem)(output[_UDL][_me]), context);
8060
8060
  }
8061
- if (output.GroupDetailList === "") {
8061
+ if (String(output.GroupDetailList).trim() === "") {
8062
8062
  contents[_GDL] = [];
8063
8063
  } else if (output[_GDL] != null && output[_GDL][_me] != null) {
8064
8064
  contents[_GDL] = de_groupDetailListType((0, import_smithy_client.getArrayIfSingleItem)(output[_GDL][_me]), context);
8065
8065
  }
8066
- if (output.RoleDetailList === "") {
8066
+ if (String(output.RoleDetailList).trim() === "") {
8067
8067
  contents[_RDL] = [];
8068
8068
  } else if (output[_RDL] != null && output[_RDL][_me] != null) {
8069
8069
  contents[_RDL] = de_roleDetailListType((0, import_smithy_client.getArrayIfSingleItem)(output[_RDL][_me]), context);
8070
8070
  }
8071
- if (output.Policies === "") {
8071
+ if (String(output.Policies).trim() === "") {
8072
8072
  contents[_Pol] = [];
8073
8073
  } else if (output[_Pol] != null && output[_Pol][_me] != null) {
8074
8074
  contents[_Pol] = de_ManagedPolicyDetailListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Pol][_me]), context);
@@ -8090,7 +8090,7 @@ var de_GetAccountPasswordPolicyResponse = /* @__PURE__ */ __name((output, contex
8090
8090
  }, "de_GetAccountPasswordPolicyResponse");
8091
8091
  var de_GetAccountSummaryResponse = /* @__PURE__ */ __name((output, context) => {
8092
8092
  const contents = {};
8093
- if (output.SummaryMap === "") {
8093
+ if (String(output.SummaryMap).trim() === "") {
8094
8094
  contents[_SM] = {};
8095
8095
  } else if (output[_SM] != null && output[_SM][_e] != null) {
8096
8096
  contents[_SM] = de_summaryMapType((0, import_smithy_client.getArrayIfSingleItem)(output[_SM][_e]), context);
@@ -8099,7 +8099,7 @@ var de_GetAccountSummaryResponse = /* @__PURE__ */ __name((output, context) => {
8099
8099
  }, "de_GetAccountSummaryResponse");
8100
8100
  var de_GetContextKeysForPolicyResponse = /* @__PURE__ */ __name((output, context) => {
8101
8101
  const contents = {};
8102
- if (output.ContextKeyNames === "") {
8102
+ if (String(output.ContextKeyNames).trim() === "") {
8103
8103
  contents[_CKNo] = [];
8104
8104
  } else if (output[_CKNo] != null && output[_CKNo][_me] != null) {
8105
8105
  contents[_CKNo] = de_ContextKeyNamesResultListType((0, import_smithy_client.getArrayIfSingleItem)(output[_CKNo][_me]), context);
@@ -8137,7 +8137,7 @@ var de_GetGroupResponse = /* @__PURE__ */ __name((output, context) => {
8137
8137
  if (output[_Gr] != null) {
8138
8138
  contents[_Gr] = de_Group(output[_Gr], context);
8139
8139
  }
8140
- if (output.Users === "") {
8140
+ if (String(output.Users).trim() === "") {
8141
8141
  contents[_Use] = [];
8142
8142
  } else if (output[_Use] != null && output[_Use][_me] != null) {
8143
8143
  contents[_Use] = de_userListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Use][_me]), context);
@@ -8175,7 +8175,7 @@ var de_GetMFADeviceResponse = /* @__PURE__ */ __name((output, context) => {
8175
8175
  if (output[_EDn] != null) {
8176
8176
  contents[_EDn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_EDn]));
8177
8177
  }
8178
- if (output.Certifications === "") {
8178
+ if (String(output.Certifications).trim() === "") {
8179
8179
  contents[_Ce] = {};
8180
8180
  } else if (output[_Ce] != null && output[_Ce][_e] != null) {
8181
8181
  contents[_Ce] = de_CertificationMapType((0, import_smithy_client.getArrayIfSingleItem)(output[_Ce][_e]), context);
@@ -8187,12 +8187,12 @@ var de_GetOpenIDConnectProviderResponse = /* @__PURE__ */ __name((output, contex
8187
8187
  if (output[_U] != null) {
8188
8188
  contents[_U] = (0, import_smithy_client.expectString)(output[_U]);
8189
8189
  }
8190
- if (output.ClientIDList === "") {
8190
+ if (String(output.ClientIDList).trim() === "") {
8191
8191
  contents[_CIDL] = [];
8192
8192
  } else if (output[_CIDL] != null && output[_CIDL][_me] != null) {
8193
8193
  contents[_CIDL] = de_clientIDListType((0, import_smithy_client.getArrayIfSingleItem)(output[_CIDL][_me]), context);
8194
8194
  }
8195
- if (output.ThumbprintList === "") {
8195
+ if (String(output.ThumbprintList).trim() === "") {
8196
8196
  contents[_TL] = [];
8197
8197
  } else if (output[_TL] != null && output[_TL][_me] != null) {
8198
8198
  contents[_TL] = de_thumbprintListType((0, import_smithy_client.getArrayIfSingleItem)(output[_TL][_me]), context);
@@ -8200,7 +8200,7 @@ var de_GetOpenIDConnectProviderResponse = /* @__PURE__ */ __name((output, contex
8200
8200
  if (output[_CD] != null) {
8201
8201
  contents[_CD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CD]));
8202
8202
  }
8203
- if (output.Tags === "") {
8203
+ if (String(output.Tags).trim() === "") {
8204
8204
  contents[_T] = [];
8205
8205
  } else if (output[_T] != null && output[_T][_me] != null) {
8206
8206
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -8224,7 +8224,7 @@ var de_GetOrganizationsAccessReportResponse = /* @__PURE__ */ __name((output, co
8224
8224
  if (output[_NOSNA] != null) {
8225
8225
  contents[_NOSNA] = (0, import_smithy_client.strictParseInt32)(output[_NOSNA]);
8226
8226
  }
8227
- if (output.AccessDetails === "") {
8227
+ if (String(output.AccessDetails).trim() === "") {
8228
8228
  contents[_AD] = [];
8229
8229
  } else if (output[_AD] != null && output[_AD][_me] != null) {
8230
8230
  contents[_AD] = de_AccessDetails((0, import_smithy_client.getArrayIfSingleItem)(output[_AD][_me]), context);
@@ -8288,7 +8288,7 @@ var de_GetSAMLProviderResponse = /* @__PURE__ */ __name((output, context) => {
8288
8288
  if (output[_VU] != null) {
8289
8289
  contents[_VU] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_VU]));
8290
8290
  }
8291
- if (output.Tags === "") {
8291
+ if (String(output.Tags).trim() === "") {
8292
8292
  contents[_T] = [];
8293
8293
  } else if (output[_T] != null && output[_T][_me] != null) {
8294
8294
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -8296,7 +8296,7 @@ var de_GetSAMLProviderResponse = /* @__PURE__ */ __name((output, context) => {
8296
8296
  if (output[_AEM] != null) {
8297
8297
  contents[_AEM] = (0, import_smithy_client.expectString)(output[_AEM]);
8298
8298
  }
8299
- if (output.PrivateKeyList === "") {
8299
+ if (String(output.PrivateKeyList).trim() === "") {
8300
8300
  contents[_PKL] = [];
8301
8301
  } else if (output[_PKL] != null && output[_PKL][_me] != null) {
8302
8302
  contents[_PKL] = de_privateKeyList((0, import_smithy_client.getArrayIfSingleItem)(output[_PKL][_me]), context);
@@ -8321,7 +8321,7 @@ var de_GetServiceLastAccessedDetailsResponse = /* @__PURE__ */ __name((output, c
8321
8321
  if (output[_JCD] != null) {
8322
8322
  contents[_JCD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_JCD]));
8323
8323
  }
8324
- if (output.ServicesLastAccessed === "") {
8324
+ if (String(output.ServicesLastAccessed).trim() === "") {
8325
8325
  contents[_SLA] = [];
8326
8326
  } else if (output[_SLA] != null && output[_SLA][_me] != null) {
8327
8327
  contents[_SLA] = de_ServicesLastAccessed((0, import_smithy_client.getArrayIfSingleItem)(output[_SLA][_me]), context);
@@ -8351,7 +8351,7 @@ var de_GetServiceLastAccessedDetailsWithEntitiesResponse = /* @__PURE__ */ __nam
8351
8351
  if (output[_JCDo] != null) {
8352
8352
  contents[_JCDo] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_JCDo]));
8353
8353
  }
8354
- if (output.EntityDetailsList === "") {
8354
+ if (String(output.EntityDetailsList).trim() === "") {
8355
8355
  contents[_EDL] = [];
8356
8356
  } else if (output[_EDL] != null && output[_EDL][_me] != null) {
8357
8357
  contents[_EDL] = de_entityDetailsListType((0, import_smithy_client.getArrayIfSingleItem)(output[_EDL][_me]), context);
@@ -8440,12 +8440,12 @@ var de_GroupDetail = /* @__PURE__ */ __name((output, context) => {
8440
8440
  if (output[_CD] != null) {
8441
8441
  contents[_CD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CD]));
8442
8442
  }
8443
- if (output.GroupPolicyList === "") {
8443
+ if (String(output.GroupPolicyList).trim() === "") {
8444
8444
  contents[_GPL] = [];
8445
8445
  } else if (output[_GPL] != null && output[_GPL][_me] != null) {
8446
8446
  contents[_GPL] = de_policyDetailListType((0, import_smithy_client.getArrayIfSingleItem)(output[_GPL][_me]), context);
8447
8447
  }
8448
- if (output.AttachedManagedPolicies === "") {
8448
+ if (String(output.AttachedManagedPolicies).trim() === "") {
8449
8449
  contents[_AMP] = [];
8450
8450
  } else if (output[_AMP] != null && output[_AMP][_me] != null) {
8451
8451
  contents[_AMP] = de_attachedPoliciesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_AMP][_me]), context);
@@ -8484,12 +8484,12 @@ var de_InstanceProfile = /* @__PURE__ */ __name((output, context) => {
8484
8484
  if (output[_CD] != null) {
8485
8485
  contents[_CD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CD]));
8486
8486
  }
8487
- if (output.Roles === "") {
8487
+ if (String(output.Roles).trim() === "") {
8488
8488
  contents[_Rol] = [];
8489
8489
  } else if (output[_Rol] != null && output[_Rol][_me] != null) {
8490
8490
  contents[_Rol] = de_roleListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Rol][_me]), context);
8491
8491
  }
8492
- if (output.Tags === "") {
8492
+ if (String(output.Tags).trim() === "") {
8493
8493
  contents[_T] = [];
8494
8494
  } else if (output[_T] != null && output[_T][_me] != null) {
8495
8495
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -8552,7 +8552,7 @@ var de_LimitExceededException = /* @__PURE__ */ __name((output, context) => {
8552
8552
  }, "de_LimitExceededException");
8553
8553
  var de_ListAccessKeysResponse = /* @__PURE__ */ __name((output, context) => {
8554
8554
  const contents = {};
8555
- if (output.AccessKeyMetadata === "") {
8555
+ if (String(output.AccessKeyMetadata).trim() === "") {
8556
8556
  contents[_AKM] = [];
8557
8557
  } else if (output[_AKM] != null && output[_AKM][_me] != null) {
8558
8558
  contents[_AKM] = de_accessKeyMetadataListType((0, import_smithy_client.getArrayIfSingleItem)(output[_AKM][_me]), context);
@@ -8567,7 +8567,7 @@ var de_ListAccessKeysResponse = /* @__PURE__ */ __name((output, context) => {
8567
8567
  }, "de_ListAccessKeysResponse");
8568
8568
  var de_ListAccountAliasesResponse = /* @__PURE__ */ __name((output, context) => {
8569
8569
  const contents = {};
8570
- if (output.AccountAliases === "") {
8570
+ if (String(output.AccountAliases).trim() === "") {
8571
8571
  contents[_AAc] = [];
8572
8572
  } else if (output[_AAc] != null && output[_AAc][_me] != null) {
8573
8573
  contents[_AAc] = de_accountAliasListType((0, import_smithy_client.getArrayIfSingleItem)(output[_AAc][_me]), context);
@@ -8582,7 +8582,7 @@ var de_ListAccountAliasesResponse = /* @__PURE__ */ __name((output, context) =>
8582
8582
  }, "de_ListAccountAliasesResponse");
8583
8583
  var de_ListAttachedGroupPoliciesResponse = /* @__PURE__ */ __name((output, context) => {
8584
8584
  const contents = {};
8585
- if (output.AttachedPolicies === "") {
8585
+ if (String(output.AttachedPolicies).trim() === "") {
8586
8586
  contents[_AP] = [];
8587
8587
  } else if (output[_AP] != null && output[_AP][_me] != null) {
8588
8588
  contents[_AP] = de_attachedPoliciesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_AP][_me]), context);
@@ -8597,7 +8597,7 @@ var de_ListAttachedGroupPoliciesResponse = /* @__PURE__ */ __name((output, conte
8597
8597
  }, "de_ListAttachedGroupPoliciesResponse");
8598
8598
  var de_ListAttachedRolePoliciesResponse = /* @__PURE__ */ __name((output, context) => {
8599
8599
  const contents = {};
8600
- if (output.AttachedPolicies === "") {
8600
+ if (String(output.AttachedPolicies).trim() === "") {
8601
8601
  contents[_AP] = [];
8602
8602
  } else if (output[_AP] != null && output[_AP][_me] != null) {
8603
8603
  contents[_AP] = de_attachedPoliciesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_AP][_me]), context);
@@ -8612,7 +8612,7 @@ var de_ListAttachedRolePoliciesResponse = /* @__PURE__ */ __name((output, contex
8612
8612
  }, "de_ListAttachedRolePoliciesResponse");
8613
8613
  var de_ListAttachedUserPoliciesResponse = /* @__PURE__ */ __name((output, context) => {
8614
8614
  const contents = {};
8615
- if (output.AttachedPolicies === "") {
8615
+ if (String(output.AttachedPolicies).trim() === "") {
8616
8616
  contents[_AP] = [];
8617
8617
  } else if (output[_AP] != null && output[_AP][_me] != null) {
8618
8618
  contents[_AP] = de_attachedPoliciesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_AP][_me]), context);
@@ -8627,17 +8627,17 @@ var de_ListAttachedUserPoliciesResponse = /* @__PURE__ */ __name((output, contex
8627
8627
  }, "de_ListAttachedUserPoliciesResponse");
8628
8628
  var de_ListEntitiesForPolicyResponse = /* @__PURE__ */ __name((output, context) => {
8629
8629
  const contents = {};
8630
- if (output.PolicyGroups === "") {
8630
+ if (String(output.PolicyGroups).trim() === "") {
8631
8631
  contents[_PG] = [];
8632
8632
  } else if (output[_PG] != null && output[_PG][_me] != null) {
8633
8633
  contents[_PG] = de_PolicyGroupListType((0, import_smithy_client.getArrayIfSingleItem)(output[_PG][_me]), context);
8634
8634
  }
8635
- if (output.PolicyUsers === "") {
8635
+ if (String(output.PolicyUsers).trim() === "") {
8636
8636
  contents[_PU] = [];
8637
8637
  } else if (output[_PU] != null && output[_PU][_me] != null) {
8638
8638
  contents[_PU] = de_PolicyUserListType((0, import_smithy_client.getArrayIfSingleItem)(output[_PU][_me]), context);
8639
8639
  }
8640
- if (output.PolicyRoles === "") {
8640
+ if (String(output.PolicyRoles).trim() === "") {
8641
8641
  contents[_PR] = [];
8642
8642
  } else if (output[_PR] != null && output[_PR][_me] != null) {
8643
8643
  contents[_PR] = de_PolicyRoleListType((0, import_smithy_client.getArrayIfSingleItem)(output[_PR][_me]), context);
@@ -8652,7 +8652,7 @@ var de_ListEntitiesForPolicyResponse = /* @__PURE__ */ __name((output, context)
8652
8652
  }, "de_ListEntitiesForPolicyResponse");
8653
8653
  var de_ListGroupPoliciesResponse = /* @__PURE__ */ __name((output, context) => {
8654
8654
  const contents = {};
8655
- if (output.PolicyNames === "") {
8655
+ if (String(output.PolicyNames).trim() === "") {
8656
8656
  contents[_PNo] = [];
8657
8657
  } else if (output[_PNo] != null && output[_PNo][_me] != null) {
8658
8658
  contents[_PNo] = de_policyNameListType((0, import_smithy_client.getArrayIfSingleItem)(output[_PNo][_me]), context);
@@ -8667,7 +8667,7 @@ var de_ListGroupPoliciesResponse = /* @__PURE__ */ __name((output, context) => {
8667
8667
  }, "de_ListGroupPoliciesResponse");
8668
8668
  var de_ListGroupsForUserResponse = /* @__PURE__ */ __name((output, context) => {
8669
8669
  const contents = {};
8670
- if (output.Groups === "") {
8670
+ if (String(output.Groups).trim() === "") {
8671
8671
  contents[_Gro] = [];
8672
8672
  } else if (output[_Gro] != null && output[_Gro][_me] != null) {
8673
8673
  contents[_Gro] = de_groupListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Gro][_me]), context);
@@ -8682,7 +8682,7 @@ var de_ListGroupsForUserResponse = /* @__PURE__ */ __name((output, context) => {
8682
8682
  }, "de_ListGroupsForUserResponse");
8683
8683
  var de_ListGroupsResponse = /* @__PURE__ */ __name((output, context) => {
8684
8684
  const contents = {};
8685
- if (output.Groups === "") {
8685
+ if (String(output.Groups).trim() === "") {
8686
8686
  contents[_Gro] = [];
8687
8687
  } else if (output[_Gro] != null && output[_Gro][_me] != null) {
8688
8688
  contents[_Gro] = de_groupListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Gro][_me]), context);
@@ -8697,7 +8697,7 @@ var de_ListGroupsResponse = /* @__PURE__ */ __name((output, context) => {
8697
8697
  }, "de_ListGroupsResponse");
8698
8698
  var de_ListInstanceProfilesForRoleResponse = /* @__PURE__ */ __name((output, context) => {
8699
8699
  const contents = {};
8700
- if (output.InstanceProfiles === "") {
8700
+ if (String(output.InstanceProfiles).trim() === "") {
8701
8701
  contents[_IPn] = [];
8702
8702
  } else if (output[_IPn] != null && output[_IPn][_me] != null) {
8703
8703
  contents[_IPn] = de_instanceProfileListType((0, import_smithy_client.getArrayIfSingleItem)(output[_IPn][_me]), context);
@@ -8712,7 +8712,7 @@ var de_ListInstanceProfilesForRoleResponse = /* @__PURE__ */ __name((output, con
8712
8712
  }, "de_ListInstanceProfilesForRoleResponse");
8713
8713
  var de_ListInstanceProfilesResponse = /* @__PURE__ */ __name((output, context) => {
8714
8714
  const contents = {};
8715
- if (output.InstanceProfiles === "") {
8715
+ if (String(output.InstanceProfiles).trim() === "") {
8716
8716
  contents[_IPn] = [];
8717
8717
  } else if (output[_IPn] != null && output[_IPn][_me] != null) {
8718
8718
  contents[_IPn] = de_instanceProfileListType((0, import_smithy_client.getArrayIfSingleItem)(output[_IPn][_me]), context);
@@ -8727,7 +8727,7 @@ var de_ListInstanceProfilesResponse = /* @__PURE__ */ __name((output, context) =
8727
8727
  }, "de_ListInstanceProfilesResponse");
8728
8728
  var de_ListInstanceProfileTagsResponse = /* @__PURE__ */ __name((output, context) => {
8729
8729
  const contents = {};
8730
- if (output.Tags === "") {
8730
+ if (String(output.Tags).trim() === "") {
8731
8731
  contents[_T] = [];
8732
8732
  } else if (output[_T] != null && output[_T][_me] != null) {
8733
8733
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -8742,7 +8742,7 @@ var de_ListInstanceProfileTagsResponse = /* @__PURE__ */ __name((output, context
8742
8742
  }, "de_ListInstanceProfileTagsResponse");
8743
8743
  var de_ListMFADevicesResponse = /* @__PURE__ */ __name((output, context) => {
8744
8744
  const contents = {};
8745
- if (output.MFADevices === "") {
8745
+ if (String(output.MFADevices).trim() === "") {
8746
8746
  contents[_MFAD] = [];
8747
8747
  } else if (output[_MFAD] != null && output[_MFAD][_me] != null) {
8748
8748
  contents[_MFAD] = de_mfaDeviceListType((0, import_smithy_client.getArrayIfSingleItem)(output[_MFAD][_me]), context);
@@ -8757,7 +8757,7 @@ var de_ListMFADevicesResponse = /* @__PURE__ */ __name((output, context) => {
8757
8757
  }, "de_ListMFADevicesResponse");
8758
8758
  var de_ListMFADeviceTagsResponse = /* @__PURE__ */ __name((output, context) => {
8759
8759
  const contents = {};
8760
- if (output.Tags === "") {
8760
+ if (String(output.Tags).trim() === "") {
8761
8761
  contents[_T] = [];
8762
8762
  } else if (output[_T] != null && output[_T][_me] != null) {
8763
8763
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -8772,7 +8772,7 @@ var de_ListMFADeviceTagsResponse = /* @__PURE__ */ __name((output, context) => {
8772
8772
  }, "de_ListMFADeviceTagsResponse");
8773
8773
  var de_ListOpenIDConnectProvidersResponse = /* @__PURE__ */ __name((output, context) => {
8774
8774
  const contents = {};
8775
- if (output.OpenIDConnectProviderList === "") {
8775
+ if (String(output.OpenIDConnectProviderList).trim() === "") {
8776
8776
  contents[_OIDCPL] = [];
8777
8777
  } else if (output[_OIDCPL] != null && output[_OIDCPL][_me] != null) {
8778
8778
  contents[_OIDCPL] = de_OpenIDConnectProviderListType((0, import_smithy_client.getArrayIfSingleItem)(output[_OIDCPL][_me]), context);
@@ -8781,7 +8781,7 @@ var de_ListOpenIDConnectProvidersResponse = /* @__PURE__ */ __name((output, cont
8781
8781
  }, "de_ListOpenIDConnectProvidersResponse");
8782
8782
  var de_ListOpenIDConnectProviderTagsResponse = /* @__PURE__ */ __name((output, context) => {
8783
8783
  const contents = {};
8784
- if (output.Tags === "") {
8784
+ if (String(output.Tags).trim() === "") {
8785
8785
  contents[_T] = [];
8786
8786
  } else if (output[_T] != null && output[_T][_me] != null) {
8787
8787
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -8799,7 +8799,7 @@ var de_ListOrganizationsFeaturesResponse = /* @__PURE__ */ __name((output, conte
8799
8799
  if (output[_OI] != null) {
8800
8800
  contents[_OI] = (0, import_smithy_client.expectString)(output[_OI]);
8801
8801
  }
8802
- if (output.EnabledFeatures === "") {
8802
+ if (String(output.EnabledFeatures).trim() === "") {
8803
8803
  contents[_EFn] = [];
8804
8804
  } else if (output[_EFn] != null && output[_EFn][_me] != null) {
8805
8805
  contents[_EFn] = de_FeaturesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_EFn][_me]), context);
@@ -8811,7 +8811,7 @@ var de_ListPoliciesGrantingServiceAccessEntry = /* @__PURE__ */ __name((output,
8811
8811
  if (output[_SNer] != null) {
8812
8812
  contents[_SNer] = (0, import_smithy_client.expectString)(output[_SNer]);
8813
8813
  }
8814
- if (output.Policies === "") {
8814
+ if (String(output.Policies).trim() === "") {
8815
8815
  contents[_Pol] = [];
8816
8816
  } else if (output[_Pol] != null && output[_Pol][_me] != null) {
8817
8817
  contents[_Pol] = de_policyGrantingServiceAccessListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Pol][_me]), context);
@@ -8820,7 +8820,7 @@ var de_ListPoliciesGrantingServiceAccessEntry = /* @__PURE__ */ __name((output,
8820
8820
  }, "de_ListPoliciesGrantingServiceAccessEntry");
8821
8821
  var de_ListPoliciesGrantingServiceAccessResponse = /* @__PURE__ */ __name((output, context) => {
8822
8822
  const contents = {};
8823
- if (output.PoliciesGrantingServiceAccess === "") {
8823
+ if (String(output.PoliciesGrantingServiceAccess).trim() === "") {
8824
8824
  contents[_PGSA] = [];
8825
8825
  } else if (output[_PGSA] != null && output[_PGSA][_me] != null) {
8826
8826
  contents[_PGSA] = de_listPolicyGrantingServiceAccessResponseListType(
@@ -8838,7 +8838,7 @@ var de_ListPoliciesGrantingServiceAccessResponse = /* @__PURE__ */ __name((outpu
8838
8838
  }, "de_ListPoliciesGrantingServiceAccessResponse");
8839
8839
  var de_ListPoliciesResponse = /* @__PURE__ */ __name((output, context) => {
8840
8840
  const contents = {};
8841
- if (output.Policies === "") {
8841
+ if (String(output.Policies).trim() === "") {
8842
8842
  contents[_Pol] = [];
8843
8843
  } else if (output[_Pol] != null && output[_Pol][_me] != null) {
8844
8844
  contents[_Pol] = de_policyListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Pol][_me]), context);
@@ -8858,7 +8858,7 @@ var de_listPolicyGrantingServiceAccessResponseListType = /* @__PURE__ */ __name(
8858
8858
  }, "de_listPolicyGrantingServiceAccessResponseListType");
8859
8859
  var de_ListPolicyTagsResponse = /* @__PURE__ */ __name((output, context) => {
8860
8860
  const contents = {};
8861
- if (output.Tags === "") {
8861
+ if (String(output.Tags).trim() === "") {
8862
8862
  contents[_T] = [];
8863
8863
  } else if (output[_T] != null && output[_T][_me] != null) {
8864
8864
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -8873,7 +8873,7 @@ var de_ListPolicyTagsResponse = /* @__PURE__ */ __name((output, context) => {
8873
8873
  }, "de_ListPolicyTagsResponse");
8874
8874
  var de_ListPolicyVersionsResponse = /* @__PURE__ */ __name((output, context) => {
8875
8875
  const contents = {};
8876
- if (output.Versions === "") {
8876
+ if (String(output.Versions).trim() === "") {
8877
8877
  contents[_Ve] = [];
8878
8878
  } else if (output[_Ve] != null && output[_Ve][_me] != null) {
8879
8879
  contents[_Ve] = de_policyDocumentVersionListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Ve][_me]), context);
@@ -8888,7 +8888,7 @@ var de_ListPolicyVersionsResponse = /* @__PURE__ */ __name((output, context) =>
8888
8888
  }, "de_ListPolicyVersionsResponse");
8889
8889
  var de_ListRolePoliciesResponse = /* @__PURE__ */ __name((output, context) => {
8890
8890
  const contents = {};
8891
- if (output.PolicyNames === "") {
8891
+ if (String(output.PolicyNames).trim() === "") {
8892
8892
  contents[_PNo] = [];
8893
8893
  } else if (output[_PNo] != null && output[_PNo][_me] != null) {
8894
8894
  contents[_PNo] = de_policyNameListType((0, import_smithy_client.getArrayIfSingleItem)(output[_PNo][_me]), context);
@@ -8903,7 +8903,7 @@ var de_ListRolePoliciesResponse = /* @__PURE__ */ __name((output, context) => {
8903
8903
  }, "de_ListRolePoliciesResponse");
8904
8904
  var de_ListRolesResponse = /* @__PURE__ */ __name((output, context) => {
8905
8905
  const contents = {};
8906
- if (output.Roles === "") {
8906
+ if (String(output.Roles).trim() === "") {
8907
8907
  contents[_Rol] = [];
8908
8908
  } else if (output[_Rol] != null && output[_Rol][_me] != null) {
8909
8909
  contents[_Rol] = de_roleListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Rol][_me]), context);
@@ -8918,7 +8918,7 @@ var de_ListRolesResponse = /* @__PURE__ */ __name((output, context) => {
8918
8918
  }, "de_ListRolesResponse");
8919
8919
  var de_ListRoleTagsResponse = /* @__PURE__ */ __name((output, context) => {
8920
8920
  const contents = {};
8921
- if (output.Tags === "") {
8921
+ if (String(output.Tags).trim() === "") {
8922
8922
  contents[_T] = [];
8923
8923
  } else if (output[_T] != null && output[_T][_me] != null) {
8924
8924
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -8933,7 +8933,7 @@ var de_ListRoleTagsResponse = /* @__PURE__ */ __name((output, context) => {
8933
8933
  }, "de_ListRoleTagsResponse");
8934
8934
  var de_ListSAMLProvidersResponse = /* @__PURE__ */ __name((output, context) => {
8935
8935
  const contents = {};
8936
- if (output.SAMLProviderList === "") {
8936
+ if (String(output.SAMLProviderList).trim() === "") {
8937
8937
  contents[_SAMLPL] = [];
8938
8938
  } else if (output[_SAMLPL] != null && output[_SAMLPL][_me] != null) {
8939
8939
  contents[_SAMLPL] = de_SAMLProviderListType((0, import_smithy_client.getArrayIfSingleItem)(output[_SAMLPL][_me]), context);
@@ -8942,7 +8942,7 @@ var de_ListSAMLProvidersResponse = /* @__PURE__ */ __name((output, context) => {
8942
8942
  }, "de_ListSAMLProvidersResponse");
8943
8943
  var de_ListSAMLProviderTagsResponse = /* @__PURE__ */ __name((output, context) => {
8944
8944
  const contents = {};
8945
- if (output.Tags === "") {
8945
+ if (String(output.Tags).trim() === "") {
8946
8946
  contents[_T] = [];
8947
8947
  } else if (output[_T] != null && output[_T][_me] != null) {
8948
8948
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -8957,7 +8957,7 @@ var de_ListSAMLProviderTagsResponse = /* @__PURE__ */ __name((output, context) =
8957
8957
  }, "de_ListSAMLProviderTagsResponse");
8958
8958
  var de_ListServerCertificatesResponse = /* @__PURE__ */ __name((output, context) => {
8959
8959
  const contents = {};
8960
- if (output.ServerCertificateMetadataList === "") {
8960
+ if (String(output.ServerCertificateMetadataList).trim() === "") {
8961
8961
  contents[_SCML] = [];
8962
8962
  } else if (output[_SCML] != null && output[_SCML][_me] != null) {
8963
8963
  contents[_SCML] = de_serverCertificateMetadataListType((0, import_smithy_client.getArrayIfSingleItem)(output[_SCML][_me]), context);
@@ -8972,7 +8972,7 @@ var de_ListServerCertificatesResponse = /* @__PURE__ */ __name((output, context)
8972
8972
  }, "de_ListServerCertificatesResponse");
8973
8973
  var de_ListServerCertificateTagsResponse = /* @__PURE__ */ __name((output, context) => {
8974
8974
  const contents = {};
8975
- if (output.Tags === "") {
8975
+ if (String(output.Tags).trim() === "") {
8976
8976
  contents[_T] = [];
8977
8977
  } else if (output[_T] != null && output[_T][_me] != null) {
8978
8978
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -8987,7 +8987,7 @@ var de_ListServerCertificateTagsResponse = /* @__PURE__ */ __name((output, conte
8987
8987
  }, "de_ListServerCertificateTagsResponse");
8988
8988
  var de_ListServiceSpecificCredentialsResponse = /* @__PURE__ */ __name((output, context) => {
8989
8989
  const contents = {};
8990
- if (output.ServiceSpecificCredentials === "") {
8990
+ if (String(output.ServiceSpecificCredentials).trim() === "") {
8991
8991
  contents[_SSCe] = [];
8992
8992
  } else if (output[_SSCe] != null && output[_SSCe][_me] != null) {
8993
8993
  contents[_SSCe] = de_ServiceSpecificCredentialsListType((0, import_smithy_client.getArrayIfSingleItem)(output[_SSCe][_me]), context);
@@ -9002,7 +9002,7 @@ var de_ListServiceSpecificCredentialsResponse = /* @__PURE__ */ __name((output,
9002
9002
  }, "de_ListServiceSpecificCredentialsResponse");
9003
9003
  var de_ListSigningCertificatesResponse = /* @__PURE__ */ __name((output, context) => {
9004
9004
  const contents = {};
9005
- if (output.Certificates === "") {
9005
+ if (String(output.Certificates).trim() === "") {
9006
9006
  contents[_Cer] = [];
9007
9007
  } else if (output[_Cer] != null && output[_Cer][_me] != null) {
9008
9008
  contents[_Cer] = de_certificateListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Cer][_me]), context);
@@ -9017,7 +9017,7 @@ var de_ListSigningCertificatesResponse = /* @__PURE__ */ __name((output, context
9017
9017
  }, "de_ListSigningCertificatesResponse");
9018
9018
  var de_ListSSHPublicKeysResponse = /* @__PURE__ */ __name((output, context) => {
9019
9019
  const contents = {};
9020
- if (output.SSHPublicKeys === "") {
9020
+ if (String(output.SSHPublicKeys).trim() === "") {
9021
9021
  contents[_SSHPKu] = [];
9022
9022
  } else if (output[_SSHPKu] != null && output[_SSHPKu][_me] != null) {
9023
9023
  contents[_SSHPKu] = de_SSHPublicKeyListType((0, import_smithy_client.getArrayIfSingleItem)(output[_SSHPKu][_me]), context);
@@ -9032,7 +9032,7 @@ var de_ListSSHPublicKeysResponse = /* @__PURE__ */ __name((output, context) => {
9032
9032
  }, "de_ListSSHPublicKeysResponse");
9033
9033
  var de_ListUserPoliciesResponse = /* @__PURE__ */ __name((output, context) => {
9034
9034
  const contents = {};
9035
- if (output.PolicyNames === "") {
9035
+ if (String(output.PolicyNames).trim() === "") {
9036
9036
  contents[_PNo] = [];
9037
9037
  } else if (output[_PNo] != null && output[_PNo][_me] != null) {
9038
9038
  contents[_PNo] = de_policyNameListType((0, import_smithy_client.getArrayIfSingleItem)(output[_PNo][_me]), context);
@@ -9047,7 +9047,7 @@ var de_ListUserPoliciesResponse = /* @__PURE__ */ __name((output, context) => {
9047
9047
  }, "de_ListUserPoliciesResponse");
9048
9048
  var de_ListUsersResponse = /* @__PURE__ */ __name((output, context) => {
9049
9049
  const contents = {};
9050
- if (output.Users === "") {
9050
+ if (String(output.Users).trim() === "") {
9051
9051
  contents[_Use] = [];
9052
9052
  } else if (output[_Use] != null && output[_Use][_me] != null) {
9053
9053
  contents[_Use] = de_userListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Use][_me]), context);
@@ -9062,7 +9062,7 @@ var de_ListUsersResponse = /* @__PURE__ */ __name((output, context) => {
9062
9062
  }, "de_ListUsersResponse");
9063
9063
  var de_ListUserTagsResponse = /* @__PURE__ */ __name((output, context) => {
9064
9064
  const contents = {};
9065
- if (output.Tags === "") {
9065
+ if (String(output.Tags).trim() === "") {
9066
9066
  contents[_T] = [];
9067
9067
  } else if (output[_T] != null && output[_T][_me] != null) {
9068
9068
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -9077,7 +9077,7 @@ var de_ListUserTagsResponse = /* @__PURE__ */ __name((output, context) => {
9077
9077
  }, "de_ListUserTagsResponse");
9078
9078
  var de_ListVirtualMFADevicesResponse = /* @__PURE__ */ __name((output, context) => {
9079
9079
  const contents = {};
9080
- if (output.VirtualMFADevices === "") {
9080
+ if (String(output.VirtualMFADevices).trim() === "") {
9081
9081
  contents[_VMFADi] = [];
9082
9082
  } else if (output[_VMFADi] != null && output[_VMFADi][_me] != null) {
9083
9083
  contents[_VMFADi] = de_virtualMFADeviceListType((0, import_smithy_client.getArrayIfSingleItem)(output[_VMFADi][_me]), context);
@@ -9152,7 +9152,7 @@ var de_ManagedPolicyDetail = /* @__PURE__ */ __name((output, context) => {
9152
9152
  if (output[_UD] != null) {
9153
9153
  contents[_UD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_UD]));
9154
9154
  }
9155
- if (output.PolicyVersionList === "") {
9155
+ if (String(output.PolicyVersionList).trim() === "") {
9156
9156
  contents[_PVL] = [];
9157
9157
  } else if (output[_PVL] != null && output[_PVL][_me] != null) {
9158
9158
  contents[_PVL] = de_policyDocumentVersionListType((0, import_smithy_client.getArrayIfSingleItem)(output[_PVL][_me]), context);
@@ -9312,7 +9312,7 @@ var de_Policy = /* @__PURE__ */ __name((output, context) => {
9312
9312
  if (output[_UD] != null) {
9313
9313
  contents[_UD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_UD]));
9314
9314
  }
9315
- if (output.Tags === "") {
9315
+ if (String(output.Tags).trim() === "") {
9316
9316
  contents[_T] = [];
9317
9317
  } else if (output[_T] != null && output[_T][_me] != null) {
9318
9318
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -9485,17 +9485,17 @@ var de_ResourceSpecificResult = /* @__PURE__ */ __name((output, context) => {
9485
9485
  if (output[_ERD] != null) {
9486
9486
  contents[_ERD] = (0, import_smithy_client.expectString)(output[_ERD]);
9487
9487
  }
9488
- if (output.MatchedStatements === "") {
9488
+ if (String(output.MatchedStatements).trim() === "") {
9489
9489
  contents[_MS] = [];
9490
9490
  } else if (output[_MS] != null && output[_MS][_me] != null) {
9491
9491
  contents[_MS] = de_StatementListType((0, import_smithy_client.getArrayIfSingleItem)(output[_MS][_me]), context);
9492
9492
  }
9493
- if (output.MissingContextValues === "") {
9493
+ if (String(output.MissingContextValues).trim() === "") {
9494
9494
  contents[_MCV] = [];
9495
9495
  } else if (output[_MCV] != null && output[_MCV][_me] != null) {
9496
9496
  contents[_MCV] = de_ContextKeyNamesResultListType((0, import_smithy_client.getArrayIfSingleItem)(output[_MCV][_me]), context);
9497
9497
  }
9498
- if (output.EvalDecisionDetails === "") {
9498
+ if (String(output.EvalDecisionDetails).trim() === "") {
9499
9499
  contents[_EDD] = {};
9500
9500
  } else if (output[_EDD] != null && output[_EDD][_e] != null) {
9501
9501
  contents[_EDD] = de_EvalDecisionDetailsType((0, import_smithy_client.getArrayIfSingleItem)(output[_EDD][_e]), context);
@@ -9539,7 +9539,7 @@ var de_Role = /* @__PURE__ */ __name((output, context) => {
9539
9539
  if (output[_PB] != null) {
9540
9540
  contents[_PB] = de_AttachedPermissionsBoundary(output[_PB], context);
9541
9541
  }
9542
- if (output.Tags === "") {
9542
+ if (String(output.Tags).trim() === "") {
9543
9543
  contents[_T] = [];
9544
9544
  } else if (output[_T] != null && output[_T][_me] != null) {
9545
9545
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -9569,17 +9569,17 @@ var de_RoleDetail = /* @__PURE__ */ __name((output, context) => {
9569
9569
  if (output[_ARPD] != null) {
9570
9570
  contents[_ARPD] = (0, import_smithy_client.expectString)(output[_ARPD]);
9571
9571
  }
9572
- if (output.InstanceProfileList === "") {
9572
+ if (String(output.InstanceProfileList).trim() === "") {
9573
9573
  contents[_IPL] = [];
9574
9574
  } else if (output[_IPL] != null && output[_IPL][_me] != null) {
9575
9575
  contents[_IPL] = de_instanceProfileListType((0, import_smithy_client.getArrayIfSingleItem)(output[_IPL][_me]), context);
9576
9576
  }
9577
- if (output.RolePolicyList === "") {
9577
+ if (String(output.RolePolicyList).trim() === "") {
9578
9578
  contents[_RPL] = [];
9579
9579
  } else if (output[_RPL] != null && output[_RPL][_me] != null) {
9580
9580
  contents[_RPL] = de_policyDetailListType((0, import_smithy_client.getArrayIfSingleItem)(output[_RPL][_me]), context);
9581
9581
  }
9582
- if (output.AttachedManagedPolicies === "") {
9582
+ if (String(output.AttachedManagedPolicies).trim() === "") {
9583
9583
  contents[_AMP] = [];
9584
9584
  } else if (output[_AMP] != null && output[_AMP][_me] != null) {
9585
9585
  contents[_AMP] = de_attachedPoliciesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_AMP][_me]), context);
@@ -9587,7 +9587,7 @@ var de_RoleDetail = /* @__PURE__ */ __name((output, context) => {
9587
9587
  if (output[_PB] != null) {
9588
9588
  contents[_PB] = de_AttachedPermissionsBoundary(output[_PB], context);
9589
9589
  }
9590
- if (output.Tags === "") {
9590
+ if (String(output.Tags).trim() === "") {
9591
9591
  contents[_T] = [];
9592
9592
  } else if (output[_T] != null && output[_T][_me] != null) {
9593
9593
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -9627,7 +9627,7 @@ var de_RoleUsageType = /* @__PURE__ */ __name((output, context) => {
9627
9627
  if (output[_R] != null) {
9628
9628
  contents[_R] = (0, import_smithy_client.expectString)(output[_R]);
9629
9629
  }
9630
- if (output.Resources === "") {
9630
+ if (String(output.Resources).trim() === "") {
9631
9631
  contents[_Res] = [];
9632
9632
  } else if (output[_Res] != null && output[_Res][_me] != null) {
9633
9633
  contents[_Res] = de_ArnListType((0, import_smithy_client.getArrayIfSingleItem)(output[_Res][_me]), context);
@@ -9673,7 +9673,7 @@ var de_ServerCertificate = /* @__PURE__ */ __name((output, context) => {
9673
9673
  if (output[_CC] != null) {
9674
9674
  contents[_CC] = (0, import_smithy_client.expectString)(output[_CC]);
9675
9675
  }
9676
- if (output.Tags === "") {
9676
+ if (String(output.Tags).trim() === "") {
9677
9677
  contents[_T] = [];
9678
9678
  } else if (output[_T] != null && output[_T][_me] != null) {
9679
9679
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -9741,7 +9741,7 @@ var de_ServiceLastAccessed = /* @__PURE__ */ __name((output, context) => {
9741
9741
  if (output[_TAE] != null) {
9742
9742
  contents[_TAE] = (0, import_smithy_client.strictParseInt32)(output[_TAE]);
9743
9743
  }
9744
- if (output.TrackedActionsLastAccessed === "") {
9744
+ if (String(output.TrackedActionsLastAccessed).trim() === "") {
9745
9745
  contents[_TALA] = [];
9746
9746
  } else if (output[_TALA] != null && output[_TALA][_me] != null) {
9747
9747
  contents[_TALA] = de_TrackedActionsLastAccessed((0, import_smithy_client.getArrayIfSingleItem)(output[_TALA][_me]), context);
@@ -9848,7 +9848,7 @@ var de_SigningCertificate = /* @__PURE__ */ __name((output, context) => {
9848
9848
  }, "de_SigningCertificate");
9849
9849
  var de_SimulatePolicyResponse = /* @__PURE__ */ __name((output, context) => {
9850
9850
  const contents = {};
9851
- if (output.EvaluationResults === "") {
9851
+ if (String(output.EvaluationResults).trim() === "") {
9852
9852
  contents[_ER] = [];
9853
9853
  } else if (output[_ER] != null && output[_ER][_me] != null) {
9854
9854
  contents[_ER] = de_EvaluationResultsListType((0, import_smithy_client.getArrayIfSingleItem)(output[_ER][_me]), context);
@@ -10012,7 +10012,7 @@ var de_UploadServerCertificateResponse = /* @__PURE__ */ __name((output, context
10012
10012
  if (output[_SCM] != null) {
10013
10013
  contents[_SCM] = de_ServerCertificateMetadata(output[_SCM], context);
10014
10014
  }
10015
- if (output.Tags === "") {
10015
+ if (String(output.Tags).trim() === "") {
10016
10016
  contents[_T] = [];
10017
10017
  } else if (output[_T] != null && output[_T][_me] != null) {
10018
10018
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -10056,7 +10056,7 @@ var de_User = /* @__PURE__ */ __name((output, context) => {
10056
10056
  if (output[_PB] != null) {
10057
10057
  contents[_PB] = de_AttachedPermissionsBoundary(output[_PB], context);
10058
10058
  }
10059
- if (output.Tags === "") {
10059
+ if (String(output.Tags).trim() === "") {
10060
10060
  contents[_T] = [];
10061
10061
  } else if (output[_T] != null && output[_T][_me] != null) {
10062
10062
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -10080,17 +10080,17 @@ var de_UserDetail = /* @__PURE__ */ __name((output, context) => {
10080
10080
  if (output[_CD] != null) {
10081
10081
  contents[_CD] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_CD]));
10082
10082
  }
10083
- if (output.UserPolicyList === "") {
10083
+ if (String(output.UserPolicyList).trim() === "") {
10084
10084
  contents[_UPL] = [];
10085
10085
  } else if (output[_UPL] != null && output[_UPL][_me] != null) {
10086
10086
  contents[_UPL] = de_policyDetailListType((0, import_smithy_client.getArrayIfSingleItem)(output[_UPL][_me]), context);
10087
10087
  }
10088
- if (output.GroupList === "") {
10088
+ if (String(output.GroupList).trim() === "") {
10089
10089
  contents[_GL] = [];
10090
10090
  } else if (output[_GL] != null && output[_GL][_me] != null) {
10091
10091
  contents[_GL] = de_groupNameListType((0, import_smithy_client.getArrayIfSingleItem)(output[_GL][_me]), context);
10092
10092
  }
10093
- if (output.AttachedManagedPolicies === "") {
10093
+ if (String(output.AttachedManagedPolicies).trim() === "") {
10094
10094
  contents[_AMP] = [];
10095
10095
  } else if (output[_AMP] != null && output[_AMP][_me] != null) {
10096
10096
  contents[_AMP] = de_attachedPoliciesListType((0, import_smithy_client.getArrayIfSingleItem)(output[_AMP][_me]), context);
@@ -10098,7 +10098,7 @@ var de_UserDetail = /* @__PURE__ */ __name((output, context) => {
10098
10098
  if (output[_PB] != null) {
10099
10099
  contents[_PB] = de_AttachedPermissionsBoundary(output[_PB], context);
10100
10100
  }
10101
- if (output.Tags === "") {
10101
+ if (String(output.Tags).trim() === "") {
10102
10102
  contents[_T] = [];
10103
10103
  } else if (output[_T] != null && output[_T][_me] != null) {
10104
10104
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);
@@ -10132,7 +10132,7 @@ var de_VirtualMFADevice = /* @__PURE__ */ __name((output, context) => {
10132
10132
  if (output[_EDn] != null) {
10133
10133
  contents[_EDn] = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(output[_EDn]));
10134
10134
  }
10135
- if (output.Tags === "") {
10135
+ if (String(output.Tags).trim() === "") {
10136
10136
  contents[_T] = [];
10137
10137
  } else if (output[_T] != null && output[_T][_me] != null) {
10138
10138
  contents[_T] = de_tagListType((0, import_smithy_client.getArrayIfSingleItem)(output[_T][_me]), context);