@aws-sdk/client-iam 3.295.0 → 3.297.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (194) hide show
  1. package/dist-cjs/protocols/Aws_query.js +159 -783
  2. package/dist-es/protocols/Aws_query.js +159 -783
  3. package/dist-types/IAM.d.ts +162 -2
  4. package/dist-types/IAMClient.d.ts +24 -4
  5. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +16 -0
  6. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +20 -4
  7. package/dist-types/commands/AddUserToGroupCommand.d.ts +16 -0
  8. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +16 -0
  9. package/dist-types/commands/AttachRolePolicyCommand.d.ts +20 -4
  10. package/dist-types/commands/AttachUserPolicyCommand.d.ts +16 -0
  11. package/dist-types/commands/ChangePasswordCommand.d.ts +16 -0
  12. package/dist-types/commands/CreateAccessKeyCommand.d.ts +16 -0
  13. package/dist-types/commands/CreateAccountAliasCommand.d.ts +16 -0
  14. package/dist-types/commands/CreateGroupCommand.d.ts +16 -0
  15. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +16 -0
  16. package/dist-types/commands/CreateLoginProfileCommand.d.ts +16 -0
  17. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +16 -0
  18. package/dist-types/commands/CreatePolicyCommand.d.ts +16 -0
  19. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +16 -0
  20. package/dist-types/commands/CreateRoleCommand.d.ts +16 -0
  21. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +16 -0
  22. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +16 -0
  23. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +16 -0
  24. package/dist-types/commands/CreateUserCommand.d.ts +16 -0
  25. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +16 -0
  26. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +16 -0
  27. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +16 -0
  28. package/dist-types/commands/DeleteAccountAliasCommand.d.ts +16 -0
  29. package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +16 -0
  30. package/dist-types/commands/DeleteGroupCommand.d.ts +16 -0
  31. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +16 -0
  32. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +16 -0
  33. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +16 -0
  34. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +16 -0
  35. package/dist-types/commands/DeletePolicyCommand.d.ts +16 -0
  36. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +16 -0
  37. package/dist-types/commands/DeleteRoleCommand.d.ts +20 -4
  38. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +22 -5
  39. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +20 -4
  40. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +16 -0
  41. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +16 -0
  42. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +16 -0
  43. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +16 -0
  44. package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +16 -0
  45. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +16 -0
  46. package/dist-types/commands/DeleteUserCommand.d.ts +16 -0
  47. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +16 -0
  48. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +16 -0
  49. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +16 -0
  50. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +16 -0
  51. package/dist-types/commands/DetachRolePolicyCommand.d.ts +20 -4
  52. package/dist-types/commands/DetachUserPolicyCommand.d.ts +16 -0
  53. package/dist-types/commands/EnableMFADeviceCommand.d.ts +16 -0
  54. package/dist-types/commands/GenerateCredentialReportCommand.d.ts +16 -0
  55. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +16 -0
  56. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +16 -0
  57. package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +16 -0
  58. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +16 -0
  59. package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +16 -0
  60. package/dist-types/commands/GetAccountSummaryCommand.d.ts +16 -0
  61. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +16 -0
  62. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +16 -0
  63. package/dist-types/commands/GetCredentialReportCommand.d.ts +16 -0
  64. package/dist-types/commands/GetGroupCommand.d.ts +16 -0
  65. package/dist-types/commands/GetGroupPolicyCommand.d.ts +16 -0
  66. package/dist-types/commands/GetInstanceProfileCommand.d.ts +16 -0
  67. package/dist-types/commands/GetLoginProfileCommand.d.ts +16 -0
  68. package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +16 -0
  69. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +16 -0
  70. package/dist-types/commands/GetPolicyCommand.d.ts +16 -0
  71. package/dist-types/commands/GetPolicyVersionCommand.d.ts +16 -0
  72. package/dist-types/commands/GetRoleCommand.d.ts +16 -0
  73. package/dist-types/commands/GetRolePolicyCommand.d.ts +16 -0
  74. package/dist-types/commands/GetSAMLProviderCommand.d.ts +16 -0
  75. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +16 -0
  76. package/dist-types/commands/GetServerCertificateCommand.d.ts +16 -0
  77. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +16 -0
  78. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +16 -0
  79. package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +16 -0
  80. package/dist-types/commands/GetUserCommand.d.ts +16 -0
  81. package/dist-types/commands/GetUserPolicyCommand.d.ts +16 -0
  82. package/dist-types/commands/ListAccessKeysCommand.d.ts +16 -0
  83. package/dist-types/commands/ListAccountAliasesCommand.d.ts +16 -0
  84. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +16 -0
  85. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +16 -0
  86. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +16 -0
  87. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +16 -0
  88. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +16 -0
  89. package/dist-types/commands/ListGroupsCommand.d.ts +16 -0
  90. package/dist-types/commands/ListGroupsForUserCommand.d.ts +16 -0
  91. package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +16 -0
  92. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +16 -0
  93. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +16 -0
  94. package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +16 -0
  95. package/dist-types/commands/ListMFADevicesCommand.d.ts +16 -0
  96. package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +16 -0
  97. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +16 -0
  98. package/dist-types/commands/ListPoliciesCommand.d.ts +16 -0
  99. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +16 -0
  100. package/dist-types/commands/ListPolicyTagsCommand.d.ts +16 -0
  101. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +16 -0
  102. package/dist-types/commands/ListRolePoliciesCommand.d.ts +16 -0
  103. package/dist-types/commands/ListRoleTagsCommand.d.ts +16 -0
  104. package/dist-types/commands/ListRolesCommand.d.ts +16 -0
  105. package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +16 -0
  106. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +16 -0
  107. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +16 -0
  108. package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +16 -0
  109. package/dist-types/commands/ListServerCertificatesCommand.d.ts +16 -0
  110. package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +16 -0
  111. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +16 -0
  112. package/dist-types/commands/ListUserPoliciesCommand.d.ts +16 -0
  113. package/dist-types/commands/ListUserTagsCommand.d.ts +16 -0
  114. package/dist-types/commands/ListUsersCommand.d.ts +16 -0
  115. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +16 -0
  116. package/dist-types/commands/PutGroupPolicyCommand.d.ts +16 -0
  117. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +21 -5
  118. package/dist-types/commands/PutRolePolicyCommand.d.ts +20 -4
  119. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +16 -0
  120. package/dist-types/commands/PutUserPolicyCommand.d.ts +16 -0
  121. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +16 -0
  122. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +20 -4
  123. package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +16 -0
  124. package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +16 -0
  125. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +16 -0
  126. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +16 -0
  127. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +16 -0
  128. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +16 -0
  129. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +16 -0
  130. package/dist-types/commands/TagInstanceProfileCommand.d.ts +16 -0
  131. package/dist-types/commands/TagMFADeviceCommand.d.ts +16 -0
  132. package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +16 -0
  133. package/dist-types/commands/TagPolicyCommand.d.ts +16 -0
  134. package/dist-types/commands/TagRoleCommand.d.ts +16 -0
  135. package/dist-types/commands/TagSAMLProviderCommand.d.ts +16 -0
  136. package/dist-types/commands/TagServerCertificateCommand.d.ts +16 -0
  137. package/dist-types/commands/TagUserCommand.d.ts +16 -0
  138. package/dist-types/commands/UntagInstanceProfileCommand.d.ts +16 -0
  139. package/dist-types/commands/UntagMFADeviceCommand.d.ts +16 -0
  140. package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +16 -0
  141. package/dist-types/commands/UntagPolicyCommand.d.ts +16 -0
  142. package/dist-types/commands/UntagRoleCommand.d.ts +16 -0
  143. package/dist-types/commands/UntagSAMLProviderCommand.d.ts +16 -0
  144. package/dist-types/commands/UntagServerCertificateCommand.d.ts +16 -0
  145. package/dist-types/commands/UntagUserCommand.d.ts +16 -0
  146. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +16 -0
  147. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +16 -0
  148. package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +20 -4
  149. package/dist-types/commands/UpdateGroupCommand.d.ts +16 -0
  150. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +16 -0
  151. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +16 -0
  152. package/dist-types/commands/UpdateRoleCommand.d.ts +20 -4
  153. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +20 -4
  154. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +16 -0
  155. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +16 -0
  156. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +16 -0
  157. package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +16 -0
  158. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +16 -0
  159. package/dist-types/commands/UpdateUserCommand.d.ts +16 -0
  160. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +16 -0
  161. package/dist-types/commands/UploadServerCertificateCommand.d.ts +16 -0
  162. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +16 -0
  163. package/dist-types/models/IAMServiceException.d.ts +2 -0
  164. package/dist-types/models/models_0.d.ts +649 -7
  165. package/dist-types/models/models_1.d.ts +83 -1
  166. package/dist-types/pagination/GetAccountAuthorizationDetailsPaginator.d.ts +3 -0
  167. package/dist-types/pagination/GetGroupPaginator.d.ts +3 -0
  168. package/dist-types/pagination/Interfaces.d.ts +3 -0
  169. package/dist-types/pagination/ListAccessKeysPaginator.d.ts +3 -0
  170. package/dist-types/pagination/ListAccountAliasesPaginator.d.ts +3 -0
  171. package/dist-types/pagination/ListAttachedGroupPoliciesPaginator.d.ts +3 -0
  172. package/dist-types/pagination/ListAttachedRolePoliciesPaginator.d.ts +3 -0
  173. package/dist-types/pagination/ListAttachedUserPoliciesPaginator.d.ts +3 -0
  174. package/dist-types/pagination/ListEntitiesForPolicyPaginator.d.ts +3 -0
  175. package/dist-types/pagination/ListGroupPoliciesPaginator.d.ts +3 -0
  176. package/dist-types/pagination/ListGroupsForUserPaginator.d.ts +3 -0
  177. package/dist-types/pagination/ListGroupsPaginator.d.ts +3 -0
  178. package/dist-types/pagination/ListInstanceProfilesForRolePaginator.d.ts +3 -0
  179. package/dist-types/pagination/ListInstanceProfilesPaginator.d.ts +3 -0
  180. package/dist-types/pagination/ListMFADevicesPaginator.d.ts +3 -0
  181. package/dist-types/pagination/ListPoliciesPaginator.d.ts +3 -0
  182. package/dist-types/pagination/ListPolicyVersionsPaginator.d.ts +3 -0
  183. package/dist-types/pagination/ListRolePoliciesPaginator.d.ts +3 -0
  184. package/dist-types/pagination/ListRolesPaginator.d.ts +3 -0
  185. package/dist-types/pagination/ListSSHPublicKeysPaginator.d.ts +3 -0
  186. package/dist-types/pagination/ListServerCertificatesPaginator.d.ts +3 -0
  187. package/dist-types/pagination/ListSigningCertificatesPaginator.d.ts +3 -0
  188. package/dist-types/pagination/ListUserPoliciesPaginator.d.ts +3 -0
  189. package/dist-types/pagination/ListUserTagsPaginator.d.ts +3 -0
  190. package/dist-types/pagination/ListUsersPaginator.d.ts +3 -0
  191. package/dist-types/pagination/ListVirtualMFADevicesPaginator.d.ts +3 -0
  192. package/dist-types/pagination/SimulateCustomPolicyPaginator.d.ts +3 -0
  193. package/dist-types/pagination/SimulatePrincipalPolicyPaginator.d.ts +3 -0
  194. package/package.json +30 -30
@@ -10726,14 +10726,7 @@ const serializeAws_queryUploadSSHPublicKeyRequest = (input, context) => {
10726
10726
  return entries;
10727
10727
  };
10728
10728
  const deserializeAws_queryAccessDetail = (output, context) => {
10729
- const contents = {
10730
- ServiceName: undefined,
10731
- ServiceNamespace: undefined,
10732
- Region: undefined,
10733
- EntityPath: undefined,
10734
- LastAuthenticatedTime: undefined,
10735
- TotalAuthenticatedEntities: undefined,
10736
- };
10729
+ const contents = {};
10737
10730
  if (output["ServiceName"] !== undefined) {
10738
10731
  contents.ServiceName = (0, smithy_client_1.expectString)(output["ServiceName"]);
10739
10732
  }
@@ -10762,13 +10755,7 @@ const deserializeAws_queryAccessDetails = (output, context) => {
10762
10755
  });
10763
10756
  };
10764
10757
  const deserializeAws_queryAccessKey = (output, context) => {
10765
- const contents = {
10766
- UserName: undefined,
10767
- AccessKeyId: undefined,
10768
- Status: undefined,
10769
- SecretAccessKey: undefined,
10770
- CreateDate: undefined,
10771
- };
10758
+ const contents = {};
10772
10759
  if (output["UserName"] !== undefined) {
10773
10760
  contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
10774
10761
  }
@@ -10787,11 +10774,7 @@ const deserializeAws_queryAccessKey = (output, context) => {
10787
10774
  return contents;
10788
10775
  };
10789
10776
  const deserializeAws_queryAccessKeyLastUsed = (output, context) => {
10790
- const contents = {
10791
- LastUsedDate: undefined,
10792
- ServiceName: undefined,
10793
- Region: undefined,
10794
- };
10777
+ const contents = {};
10795
10778
  if (output["LastUsedDate"] !== undefined) {
10796
10779
  contents.LastUsedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastUsedDate"]));
10797
10780
  }
@@ -10804,12 +10787,7 @@ const deserializeAws_queryAccessKeyLastUsed = (output, context) => {
10804
10787
  return contents;
10805
10788
  };
10806
10789
  const deserializeAws_queryAccessKeyMetadata = (output, context) => {
10807
- const contents = {
10808
- UserName: undefined,
10809
- AccessKeyId: undefined,
10810
- Status: undefined,
10811
- CreateDate: undefined,
10812
- };
10790
+ const contents = {};
10813
10791
  if (output["UserName"] !== undefined) {
10814
10792
  contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
10815
10793
  }
@@ -10846,10 +10824,7 @@ const deserializeAws_queryArnListType = (output, context) => {
10846
10824
  });
10847
10825
  };
10848
10826
  const deserializeAws_queryAttachedPermissionsBoundary = (output, context) => {
10849
- const contents = {
10850
- PermissionsBoundaryType: undefined,
10851
- PermissionsBoundaryArn: undefined,
10852
- };
10827
+ const contents = {};
10853
10828
  if (output["PermissionsBoundaryType"] !== undefined) {
10854
10829
  contents.PermissionsBoundaryType = (0, smithy_client_1.expectString)(output["PermissionsBoundaryType"]);
10855
10830
  }
@@ -10866,10 +10841,7 @@ const deserializeAws_queryattachedPoliciesListType = (output, context) => {
10866
10841
  });
10867
10842
  };
10868
10843
  const deserializeAws_queryAttachedPolicy = (output, context) => {
10869
- const contents = {
10870
- PolicyName: undefined,
10871
- PolicyArn: undefined,
10872
- };
10844
+ const contents = {};
10873
10845
  if (output["PolicyName"] !== undefined) {
10874
10846
  contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
10875
10847
  }
@@ -10893,9 +10865,7 @@ const deserializeAws_queryclientIDListType = (output, context) => {
10893
10865
  });
10894
10866
  };
10895
10867
  const deserializeAws_queryConcurrentModificationException = (output, context) => {
10896
- const contents = {
10897
- message: undefined,
10898
- };
10868
+ const contents = {};
10899
10869
  if (output["message"] !== undefined) {
10900
10870
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
10901
10871
  }
@@ -10909,46 +10879,35 @@ const deserializeAws_queryContextKeyNamesResultListType = (output, context) => {
10909
10879
  });
10910
10880
  };
10911
10881
  const deserializeAws_queryCreateAccessKeyResponse = (output, context) => {
10912
- const contents = {
10913
- AccessKey: undefined,
10914
- };
10882
+ const contents = {};
10915
10883
  if (output["AccessKey"] !== undefined) {
10916
10884
  contents.AccessKey = deserializeAws_queryAccessKey(output["AccessKey"], context);
10917
10885
  }
10918
10886
  return contents;
10919
10887
  };
10920
10888
  const deserializeAws_queryCreateGroupResponse = (output, context) => {
10921
- const contents = {
10922
- Group: undefined,
10923
- };
10889
+ const contents = {};
10924
10890
  if (output["Group"] !== undefined) {
10925
10891
  contents.Group = deserializeAws_queryGroup(output["Group"], context);
10926
10892
  }
10927
10893
  return contents;
10928
10894
  };
10929
10895
  const deserializeAws_queryCreateInstanceProfileResponse = (output, context) => {
10930
- const contents = {
10931
- InstanceProfile: undefined,
10932
- };
10896
+ const contents = {};
10933
10897
  if (output["InstanceProfile"] !== undefined) {
10934
10898
  contents.InstanceProfile = deserializeAws_queryInstanceProfile(output["InstanceProfile"], context);
10935
10899
  }
10936
10900
  return contents;
10937
10901
  };
10938
10902
  const deserializeAws_queryCreateLoginProfileResponse = (output, context) => {
10939
- const contents = {
10940
- LoginProfile: undefined,
10941
- };
10903
+ const contents = {};
10942
10904
  if (output["LoginProfile"] !== undefined) {
10943
10905
  contents.LoginProfile = deserializeAws_queryLoginProfile(output["LoginProfile"], context);
10944
10906
  }
10945
10907
  return contents;
10946
10908
  };
10947
10909
  const deserializeAws_queryCreateOpenIDConnectProviderResponse = (output, context) => {
10948
- const contents = {
10949
- OpenIDConnectProviderArn: undefined,
10950
- Tags: undefined,
10951
- };
10910
+ const contents = {};
10952
10911
  if (output["OpenIDConnectProviderArn"] !== undefined) {
10953
10912
  contents.OpenIDConnectProviderArn = (0, smithy_client_1.expectString)(output["OpenIDConnectProviderArn"]);
10954
10913
  }
@@ -10961,37 +10920,28 @@ const deserializeAws_queryCreateOpenIDConnectProviderResponse = (output, context
10961
10920
  return contents;
10962
10921
  };
10963
10922
  const deserializeAws_queryCreatePolicyResponse = (output, context) => {
10964
- const contents = {
10965
- Policy: undefined,
10966
- };
10923
+ const contents = {};
10967
10924
  if (output["Policy"] !== undefined) {
10968
10925
  contents.Policy = deserializeAws_queryPolicy(output["Policy"], context);
10969
10926
  }
10970
10927
  return contents;
10971
10928
  };
10972
10929
  const deserializeAws_queryCreatePolicyVersionResponse = (output, context) => {
10973
- const contents = {
10974
- PolicyVersion: undefined,
10975
- };
10930
+ const contents = {};
10976
10931
  if (output["PolicyVersion"] !== undefined) {
10977
10932
  contents.PolicyVersion = deserializeAws_queryPolicyVersion(output["PolicyVersion"], context);
10978
10933
  }
10979
10934
  return contents;
10980
10935
  };
10981
10936
  const deserializeAws_queryCreateRoleResponse = (output, context) => {
10982
- const contents = {
10983
- Role: undefined,
10984
- };
10937
+ const contents = {};
10985
10938
  if (output["Role"] !== undefined) {
10986
10939
  contents.Role = deserializeAws_queryRole(output["Role"], context);
10987
10940
  }
10988
10941
  return contents;
10989
10942
  };
10990
10943
  const deserializeAws_queryCreateSAMLProviderResponse = (output, context) => {
10991
- const contents = {
10992
- SAMLProviderArn: undefined,
10993
- Tags: undefined,
10994
- };
10944
+ const contents = {};
10995
10945
  if (output["SAMLProviderArn"] !== undefined) {
10996
10946
  contents.SAMLProviderArn = (0, smithy_client_1.expectString)(output["SAMLProviderArn"]);
10997
10947
  }
@@ -11004,91 +10954,70 @@ const deserializeAws_queryCreateSAMLProviderResponse = (output, context) => {
11004
10954
  return contents;
11005
10955
  };
11006
10956
  const deserializeAws_queryCreateServiceLinkedRoleResponse = (output, context) => {
11007
- const contents = {
11008
- Role: undefined,
11009
- };
10957
+ const contents = {};
11010
10958
  if (output["Role"] !== undefined) {
11011
10959
  contents.Role = deserializeAws_queryRole(output["Role"], context);
11012
10960
  }
11013
10961
  return contents;
11014
10962
  };
11015
10963
  const deserializeAws_queryCreateServiceSpecificCredentialResponse = (output, context) => {
11016
- const contents = {
11017
- ServiceSpecificCredential: undefined,
11018
- };
10964
+ const contents = {};
11019
10965
  if (output["ServiceSpecificCredential"] !== undefined) {
11020
10966
  contents.ServiceSpecificCredential = deserializeAws_queryServiceSpecificCredential(output["ServiceSpecificCredential"], context);
11021
10967
  }
11022
10968
  return contents;
11023
10969
  };
11024
10970
  const deserializeAws_queryCreateUserResponse = (output, context) => {
11025
- const contents = {
11026
- User: undefined,
11027
- };
10971
+ const contents = {};
11028
10972
  if (output["User"] !== undefined) {
11029
10973
  contents.User = deserializeAws_queryUser(output["User"], context);
11030
10974
  }
11031
10975
  return contents;
11032
10976
  };
11033
10977
  const deserializeAws_queryCreateVirtualMFADeviceResponse = (output, context) => {
11034
- const contents = {
11035
- VirtualMFADevice: undefined,
11036
- };
10978
+ const contents = {};
11037
10979
  if (output["VirtualMFADevice"] !== undefined) {
11038
10980
  contents.VirtualMFADevice = deserializeAws_queryVirtualMFADevice(output["VirtualMFADevice"], context);
11039
10981
  }
11040
10982
  return contents;
11041
10983
  };
11042
10984
  const deserializeAws_queryCredentialReportExpiredException = (output, context) => {
11043
- const contents = {
11044
- message: undefined,
11045
- };
10985
+ const contents = {};
11046
10986
  if (output["message"] !== undefined) {
11047
10987
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11048
10988
  }
11049
10989
  return contents;
11050
10990
  };
11051
10991
  const deserializeAws_queryCredentialReportNotPresentException = (output, context) => {
11052
- const contents = {
11053
- message: undefined,
11054
- };
10992
+ const contents = {};
11055
10993
  if (output["message"] !== undefined) {
11056
10994
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11057
10995
  }
11058
10996
  return contents;
11059
10997
  };
11060
10998
  const deserializeAws_queryCredentialReportNotReadyException = (output, context) => {
11061
- const contents = {
11062
- message: undefined,
11063
- };
10999
+ const contents = {};
11064
11000
  if (output["message"] !== undefined) {
11065
11001
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11066
11002
  }
11067
11003
  return contents;
11068
11004
  };
11069
11005
  const deserializeAws_queryDeleteConflictException = (output, context) => {
11070
- const contents = {
11071
- message: undefined,
11072
- };
11006
+ const contents = {};
11073
11007
  if (output["message"] !== undefined) {
11074
11008
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11075
11009
  }
11076
11010
  return contents;
11077
11011
  };
11078
11012
  const deserializeAws_queryDeleteServiceLinkedRoleResponse = (output, context) => {
11079
- const contents = {
11080
- DeletionTaskId: undefined,
11081
- };
11013
+ const contents = {};
11082
11014
  if (output["DeletionTaskId"] !== undefined) {
11083
11015
  contents.DeletionTaskId = (0, smithy_client_1.expectString)(output["DeletionTaskId"]);
11084
11016
  }
11085
11017
  return contents;
11086
11018
  };
11087
11019
  const deserializeAws_queryDeletionTaskFailureReasonType = (output, context) => {
11088
- const contents = {
11089
- Reason: undefined,
11090
- RoleUsageList: undefined,
11091
- };
11020
+ const contents = {};
11092
11021
  if (output["Reason"] !== undefined) {
11093
11022
  contents.Reason = (0, smithy_client_1.expectString)(output["Reason"]);
11094
11023
  }
@@ -11101,37 +11030,28 @@ const deserializeAws_queryDeletionTaskFailureReasonType = (output, context) => {
11101
11030
  return contents;
11102
11031
  };
11103
11032
  const deserializeAws_queryDuplicateCertificateException = (output, context) => {
11104
- const contents = {
11105
- message: undefined,
11106
- };
11033
+ const contents = {};
11107
11034
  if (output["message"] !== undefined) {
11108
11035
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11109
11036
  }
11110
11037
  return contents;
11111
11038
  };
11112
11039
  const deserializeAws_queryDuplicateSSHPublicKeyException = (output, context) => {
11113
- const contents = {
11114
- message: undefined,
11115
- };
11040
+ const contents = {};
11116
11041
  if (output["message"] !== undefined) {
11117
11042
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11118
11043
  }
11119
11044
  return contents;
11120
11045
  };
11121
11046
  const deserializeAws_queryEntityAlreadyExistsException = (output, context) => {
11122
- const contents = {
11123
- message: undefined,
11124
- };
11047
+ const contents = {};
11125
11048
  if (output["message"] !== undefined) {
11126
11049
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11127
11050
  }
11128
11051
  return contents;
11129
11052
  };
11130
11053
  const deserializeAws_queryEntityDetails = (output, context) => {
11131
- const contents = {
11132
- EntityInfo: undefined,
11133
- LastAuthenticated: undefined,
11134
- };
11054
+ const contents = {};
11135
11055
  if (output["EntityInfo"] !== undefined) {
11136
11056
  contents.EntityInfo = deserializeAws_queryEntityInfo(output["EntityInfo"], context);
11137
11057
  }
@@ -11148,13 +11068,7 @@ const deserializeAws_queryentityDetailsListType = (output, context) => {
11148
11068
  });
11149
11069
  };
11150
11070
  const deserializeAws_queryEntityInfo = (output, context) => {
11151
- const contents = {
11152
- Arn: undefined,
11153
- Name: undefined,
11154
- Type: undefined,
11155
- Id: undefined,
11156
- Path: undefined,
11157
- };
11071
+ const contents = {};
11158
11072
  if (output["Arn"] !== undefined) {
11159
11073
  contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
11160
11074
  }
@@ -11173,19 +11087,14 @@ const deserializeAws_queryEntityInfo = (output, context) => {
11173
11087
  return contents;
11174
11088
  };
11175
11089
  const deserializeAws_queryEntityTemporarilyUnmodifiableException = (output, context) => {
11176
- const contents = {
11177
- message: undefined,
11178
- };
11090
+ const contents = {};
11179
11091
  if (output["message"] !== undefined) {
11180
11092
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11181
11093
  }
11182
11094
  return contents;
11183
11095
  };
11184
11096
  const deserializeAws_queryErrorDetails = (output, context) => {
11185
- const contents = {
11186
- Message: undefined,
11187
- Code: undefined,
11188
- };
11097
+ const contents = {};
11189
11098
  if (output["Message"] !== undefined) {
11190
11099
  contents.Message = (0, smithy_client_1.expectString)(output["Message"]);
11191
11100
  }
@@ -11204,17 +11113,7 @@ const deserializeAws_queryEvalDecisionDetailsType = (output, context) => {
11204
11113
  }, {});
11205
11114
  };
11206
11115
  const deserializeAws_queryEvaluationResult = (output, context) => {
11207
- const contents = {
11208
- EvalActionName: undefined,
11209
- EvalResourceName: undefined,
11210
- EvalDecision: undefined,
11211
- MatchedStatements: undefined,
11212
- MissingContextValues: undefined,
11213
- OrganizationsDecisionDetail: undefined,
11214
- PermissionsBoundaryDecisionDetail: undefined,
11215
- EvalDecisionDetails: undefined,
11216
- ResourceSpecificResults: undefined,
11217
- };
11116
+ const contents = {};
11218
11117
  if (output["EvalActionName"] !== undefined) {
11219
11118
  contents.EvalActionName = (0, smithy_client_1.expectString)(output["EvalActionName"]);
11220
11119
  }
@@ -11265,10 +11164,7 @@ const deserializeAws_queryEvaluationResultsListType = (output, context) => {
11265
11164
  });
11266
11165
  };
11267
11166
  const deserializeAws_queryGenerateCredentialReportResponse = (output, context) => {
11268
- const contents = {
11269
- State: undefined,
11270
- Description: undefined,
11271
- };
11167
+ const contents = {};
11272
11168
  if (output["State"] !== undefined) {
11273
11169
  contents.State = (0, smithy_client_1.expectString)(output["State"]);
11274
11170
  }
@@ -11278,28 +11174,21 @@ const deserializeAws_queryGenerateCredentialReportResponse = (output, context) =
11278
11174
  return contents;
11279
11175
  };
11280
11176
  const deserializeAws_queryGenerateOrganizationsAccessReportResponse = (output, context) => {
11281
- const contents = {
11282
- JobId: undefined,
11283
- };
11177
+ const contents = {};
11284
11178
  if (output["JobId"] !== undefined) {
11285
11179
  contents.JobId = (0, smithy_client_1.expectString)(output["JobId"]);
11286
11180
  }
11287
11181
  return contents;
11288
11182
  };
11289
11183
  const deserializeAws_queryGenerateServiceLastAccessedDetailsResponse = (output, context) => {
11290
- const contents = {
11291
- JobId: undefined,
11292
- };
11184
+ const contents = {};
11293
11185
  if (output["JobId"] !== undefined) {
11294
11186
  contents.JobId = (0, smithy_client_1.expectString)(output["JobId"]);
11295
11187
  }
11296
11188
  return contents;
11297
11189
  };
11298
11190
  const deserializeAws_queryGetAccessKeyLastUsedResponse = (output, context) => {
11299
- const contents = {
11300
- UserName: undefined,
11301
- AccessKeyLastUsed: undefined,
11302
- };
11191
+ const contents = {};
11303
11192
  if (output["UserName"] !== undefined) {
11304
11193
  contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
11305
11194
  }
@@ -11309,14 +11198,7 @@ const deserializeAws_queryGetAccessKeyLastUsedResponse = (output, context) => {
11309
11198
  return contents;
11310
11199
  };
11311
11200
  const deserializeAws_queryGetAccountAuthorizationDetailsResponse = (output, context) => {
11312
- const contents = {
11313
- UserDetailList: undefined,
11314
- GroupDetailList: undefined,
11315
- RoleDetailList: undefined,
11316
- Policies: undefined,
11317
- IsTruncated: undefined,
11318
- Marker: undefined,
11319
- };
11201
+ const contents = {};
11320
11202
  if (output.UserDetailList === "") {
11321
11203
  contents.UserDetailList = [];
11322
11204
  }
@@ -11350,18 +11232,14 @@ const deserializeAws_queryGetAccountAuthorizationDetailsResponse = (output, cont
11350
11232
  return contents;
11351
11233
  };
11352
11234
  const deserializeAws_queryGetAccountPasswordPolicyResponse = (output, context) => {
11353
- const contents = {
11354
- PasswordPolicy: undefined,
11355
- };
11235
+ const contents = {};
11356
11236
  if (output["PasswordPolicy"] !== undefined) {
11357
11237
  contents.PasswordPolicy = deserializeAws_queryPasswordPolicy(output["PasswordPolicy"], context);
11358
11238
  }
11359
11239
  return contents;
11360
11240
  };
11361
11241
  const deserializeAws_queryGetAccountSummaryResponse = (output, context) => {
11362
- const contents = {
11363
- SummaryMap: undefined,
11364
- };
11242
+ const contents = {};
11365
11243
  if (output.SummaryMap === "") {
11366
11244
  contents.SummaryMap = {};
11367
11245
  }
@@ -11371,9 +11249,7 @@ const deserializeAws_queryGetAccountSummaryResponse = (output, context) => {
11371
11249
  return contents;
11372
11250
  };
11373
11251
  const deserializeAws_queryGetContextKeysForPolicyResponse = (output, context) => {
11374
- const contents = {
11375
- ContextKeyNames: undefined,
11376
- };
11252
+ const contents = {};
11377
11253
  if (output.ContextKeyNames === "") {
11378
11254
  contents.ContextKeyNames = [];
11379
11255
  }
@@ -11383,11 +11259,7 @@ const deserializeAws_queryGetContextKeysForPolicyResponse = (output, context) =>
11383
11259
  return contents;
11384
11260
  };
11385
11261
  const deserializeAws_queryGetCredentialReportResponse = (output, context) => {
11386
- const contents = {
11387
- Content: undefined,
11388
- ReportFormat: undefined,
11389
- GeneratedTime: undefined,
11390
- };
11262
+ const contents = {};
11391
11263
  if (output["Content"] !== undefined) {
11392
11264
  contents.Content = context.base64Decoder(output["Content"]);
11393
11265
  }
@@ -11400,11 +11272,7 @@ const deserializeAws_queryGetCredentialReportResponse = (output, context) => {
11400
11272
  return contents;
11401
11273
  };
11402
11274
  const deserializeAws_queryGetGroupPolicyResponse = (output, context) => {
11403
- const contents = {
11404
- GroupName: undefined,
11405
- PolicyName: undefined,
11406
- PolicyDocument: undefined,
11407
- };
11275
+ const contents = {};
11408
11276
  if (output["GroupName"] !== undefined) {
11409
11277
  contents.GroupName = (0, smithy_client_1.expectString)(output["GroupName"]);
11410
11278
  }
@@ -11417,12 +11285,7 @@ const deserializeAws_queryGetGroupPolicyResponse = (output, context) => {
11417
11285
  return contents;
11418
11286
  };
11419
11287
  const deserializeAws_queryGetGroupResponse = (output, context) => {
11420
- const contents = {
11421
- Group: undefined,
11422
- Users: undefined,
11423
- IsTruncated: undefined,
11424
- Marker: undefined,
11425
- };
11288
+ const contents = {};
11426
11289
  if (output["Group"] !== undefined) {
11427
11290
  contents.Group = deserializeAws_queryGroup(output["Group"], context);
11428
11291
  }
@@ -11441,31 +11304,21 @@ const deserializeAws_queryGetGroupResponse = (output, context) => {
11441
11304
  return contents;
11442
11305
  };
11443
11306
  const deserializeAws_queryGetInstanceProfileResponse = (output, context) => {
11444
- const contents = {
11445
- InstanceProfile: undefined,
11446
- };
11307
+ const contents = {};
11447
11308
  if (output["InstanceProfile"] !== undefined) {
11448
11309
  contents.InstanceProfile = deserializeAws_queryInstanceProfile(output["InstanceProfile"], context);
11449
11310
  }
11450
11311
  return contents;
11451
11312
  };
11452
11313
  const deserializeAws_queryGetLoginProfileResponse = (output, context) => {
11453
- const contents = {
11454
- LoginProfile: undefined,
11455
- };
11314
+ const contents = {};
11456
11315
  if (output["LoginProfile"] !== undefined) {
11457
11316
  contents.LoginProfile = deserializeAws_queryLoginProfile(output["LoginProfile"], context);
11458
11317
  }
11459
11318
  return contents;
11460
11319
  };
11461
11320
  const deserializeAws_queryGetOpenIDConnectProviderResponse = (output, context) => {
11462
- const contents = {
11463
- Url: undefined,
11464
- ClientIDList: undefined,
11465
- ThumbprintList: undefined,
11466
- CreateDate: undefined,
11467
- Tags: undefined,
11468
- };
11321
+ const contents = {};
11469
11322
  if (output["Url"] !== undefined) {
11470
11323
  contents.Url = (0, smithy_client_1.expectString)(output["Url"]);
11471
11324
  }
@@ -11493,17 +11346,7 @@ const deserializeAws_queryGetOpenIDConnectProviderResponse = (output, context) =
11493
11346
  return contents;
11494
11347
  };
11495
11348
  const deserializeAws_queryGetOrganizationsAccessReportResponse = (output, context) => {
11496
- const contents = {
11497
- JobStatus: undefined,
11498
- JobCreationDate: undefined,
11499
- JobCompletionDate: undefined,
11500
- NumberOfServicesAccessible: undefined,
11501
- NumberOfServicesNotAccessed: undefined,
11502
- AccessDetails: undefined,
11503
- IsTruncated: undefined,
11504
- Marker: undefined,
11505
- ErrorDetails: undefined,
11506
- };
11349
+ const contents = {};
11507
11350
  if (output["JobStatus"] !== undefined) {
11508
11351
  contents.JobStatus = (0, smithy_client_1.expectString)(output["JobStatus"]);
11509
11352
  }
@@ -11537,29 +11380,21 @@ const deserializeAws_queryGetOrganizationsAccessReportResponse = (output, contex
11537
11380
  return contents;
11538
11381
  };
11539
11382
  const deserializeAws_queryGetPolicyResponse = (output, context) => {
11540
- const contents = {
11541
- Policy: undefined,
11542
- };
11383
+ const contents = {};
11543
11384
  if (output["Policy"] !== undefined) {
11544
11385
  contents.Policy = deserializeAws_queryPolicy(output["Policy"], context);
11545
11386
  }
11546
11387
  return contents;
11547
11388
  };
11548
11389
  const deserializeAws_queryGetPolicyVersionResponse = (output, context) => {
11549
- const contents = {
11550
- PolicyVersion: undefined,
11551
- };
11390
+ const contents = {};
11552
11391
  if (output["PolicyVersion"] !== undefined) {
11553
11392
  contents.PolicyVersion = deserializeAws_queryPolicyVersion(output["PolicyVersion"], context);
11554
11393
  }
11555
11394
  return contents;
11556
11395
  };
11557
11396
  const deserializeAws_queryGetRolePolicyResponse = (output, context) => {
11558
- const contents = {
11559
- RoleName: undefined,
11560
- PolicyName: undefined,
11561
- PolicyDocument: undefined,
11562
- };
11397
+ const contents = {};
11563
11398
  if (output["RoleName"] !== undefined) {
11564
11399
  contents.RoleName = (0, smithy_client_1.expectString)(output["RoleName"]);
11565
11400
  }
@@ -11572,21 +11407,14 @@ const deserializeAws_queryGetRolePolicyResponse = (output, context) => {
11572
11407
  return contents;
11573
11408
  };
11574
11409
  const deserializeAws_queryGetRoleResponse = (output, context) => {
11575
- const contents = {
11576
- Role: undefined,
11577
- };
11410
+ const contents = {};
11578
11411
  if (output["Role"] !== undefined) {
11579
11412
  contents.Role = deserializeAws_queryRole(output["Role"], context);
11580
11413
  }
11581
11414
  return contents;
11582
11415
  };
11583
11416
  const deserializeAws_queryGetSAMLProviderResponse = (output, context) => {
11584
- const contents = {
11585
- SAMLMetadataDocument: undefined,
11586
- CreateDate: undefined,
11587
- ValidUntil: undefined,
11588
- Tags: undefined,
11589
- };
11417
+ const contents = {};
11590
11418
  if (output["SAMLMetadataDocument"] !== undefined) {
11591
11419
  contents.SAMLMetadataDocument = (0, smithy_client_1.expectString)(output["SAMLMetadataDocument"]);
11592
11420
  }
@@ -11605,25 +11433,14 @@ const deserializeAws_queryGetSAMLProviderResponse = (output, context) => {
11605
11433
  return contents;
11606
11434
  };
11607
11435
  const deserializeAws_queryGetServerCertificateResponse = (output, context) => {
11608
- const contents = {
11609
- ServerCertificate: undefined,
11610
- };
11436
+ const contents = {};
11611
11437
  if (output["ServerCertificate"] !== undefined) {
11612
11438
  contents.ServerCertificate = deserializeAws_queryServerCertificate(output["ServerCertificate"], context);
11613
11439
  }
11614
11440
  return contents;
11615
11441
  };
11616
11442
  const deserializeAws_queryGetServiceLastAccessedDetailsResponse = (output, context) => {
11617
- const contents = {
11618
- JobStatus: undefined,
11619
- JobType: undefined,
11620
- JobCreationDate: undefined,
11621
- ServicesLastAccessed: undefined,
11622
- JobCompletionDate: undefined,
11623
- IsTruncated: undefined,
11624
- Marker: undefined,
11625
- Error: undefined,
11626
- };
11443
+ const contents = {};
11627
11444
  if (output["JobStatus"] !== undefined) {
11628
11445
  contents.JobStatus = (0, smithy_client_1.expectString)(output["JobStatus"]);
11629
11446
  }
@@ -11654,15 +11471,7 @@ const deserializeAws_queryGetServiceLastAccessedDetailsResponse = (output, conte
11654
11471
  return contents;
11655
11472
  };
11656
11473
  const deserializeAws_queryGetServiceLastAccessedDetailsWithEntitiesResponse = (output, context) => {
11657
- const contents = {
11658
- JobStatus: undefined,
11659
- JobCreationDate: undefined,
11660
- JobCompletionDate: undefined,
11661
- EntityDetailsList: undefined,
11662
- IsTruncated: undefined,
11663
- Marker: undefined,
11664
- Error: undefined,
11665
- };
11474
+ const contents = {};
11666
11475
  if (output["JobStatus"] !== undefined) {
11667
11476
  contents.JobStatus = (0, smithy_client_1.expectString)(output["JobStatus"]);
11668
11477
  }
@@ -11690,10 +11499,7 @@ const deserializeAws_queryGetServiceLastAccessedDetailsWithEntitiesResponse = (o
11690
11499
  return contents;
11691
11500
  };
11692
11501
  const deserializeAws_queryGetServiceLinkedRoleDeletionStatusResponse = (output, context) => {
11693
- const contents = {
11694
- Status: undefined,
11695
- Reason: undefined,
11696
- };
11502
+ const contents = {};
11697
11503
  if (output["Status"] !== undefined) {
11698
11504
  contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
11699
11505
  }
@@ -11703,20 +11509,14 @@ const deserializeAws_queryGetServiceLinkedRoleDeletionStatusResponse = (output,
11703
11509
  return contents;
11704
11510
  };
11705
11511
  const deserializeAws_queryGetSSHPublicKeyResponse = (output, context) => {
11706
- const contents = {
11707
- SSHPublicKey: undefined,
11708
- };
11512
+ const contents = {};
11709
11513
  if (output["SSHPublicKey"] !== undefined) {
11710
11514
  contents.SSHPublicKey = deserializeAws_querySSHPublicKey(output["SSHPublicKey"], context);
11711
11515
  }
11712
11516
  return contents;
11713
11517
  };
11714
11518
  const deserializeAws_queryGetUserPolicyResponse = (output, context) => {
11715
- const contents = {
11716
- UserName: undefined,
11717
- PolicyName: undefined,
11718
- PolicyDocument: undefined,
11719
- };
11519
+ const contents = {};
11720
11520
  if (output["UserName"] !== undefined) {
11721
11521
  contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
11722
11522
  }
@@ -11729,22 +11529,14 @@ const deserializeAws_queryGetUserPolicyResponse = (output, context) => {
11729
11529
  return contents;
11730
11530
  };
11731
11531
  const deserializeAws_queryGetUserResponse = (output, context) => {
11732
- const contents = {
11733
- User: undefined,
11734
- };
11532
+ const contents = {};
11735
11533
  if (output["User"] !== undefined) {
11736
11534
  contents.User = deserializeAws_queryUser(output["User"], context);
11737
11535
  }
11738
11536
  return contents;
11739
11537
  };
11740
11538
  const deserializeAws_queryGroup = (output, context) => {
11741
- const contents = {
11742
- Path: undefined,
11743
- GroupName: undefined,
11744
- GroupId: undefined,
11745
- Arn: undefined,
11746
- CreateDate: undefined,
11747
- };
11539
+ const contents = {};
11748
11540
  if (output["Path"] !== undefined) {
11749
11541
  contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
11750
11542
  }
@@ -11763,15 +11555,7 @@ const deserializeAws_queryGroup = (output, context) => {
11763
11555
  return contents;
11764
11556
  };
11765
11557
  const deserializeAws_queryGroupDetail = (output, context) => {
11766
- const contents = {
11767
- Path: undefined,
11768
- GroupName: undefined,
11769
- GroupId: undefined,
11770
- Arn: undefined,
11771
- CreateDate: undefined,
11772
- GroupPolicyList: undefined,
11773
- AttachedManagedPolicies: undefined,
11774
- };
11558
+ const contents = {};
11775
11559
  if (output["Path"] !== undefined) {
11776
11560
  contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
11777
11561
  }
@@ -11824,15 +11608,7 @@ const deserializeAws_querygroupNameListType = (output, context) => {
11824
11608
  });
11825
11609
  };
11826
11610
  const deserializeAws_queryInstanceProfile = (output, context) => {
11827
- const contents = {
11828
- Path: undefined,
11829
- InstanceProfileName: undefined,
11830
- InstanceProfileId: undefined,
11831
- Arn: undefined,
11832
- CreateDate: undefined,
11833
- Roles: undefined,
11834
- Tags: undefined,
11835
- };
11611
+ const contents = {};
11836
11612
  if (output["Path"] !== undefined) {
11837
11613
  contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
11838
11614
  }
@@ -11870,74 +11646,56 @@ const deserializeAws_queryinstanceProfileListType = (output, context) => {
11870
11646
  });
11871
11647
  };
11872
11648
  const deserializeAws_queryInvalidAuthenticationCodeException = (output, context) => {
11873
- const contents = {
11874
- message: undefined,
11875
- };
11649
+ const contents = {};
11876
11650
  if (output["message"] !== undefined) {
11877
11651
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11878
11652
  }
11879
11653
  return contents;
11880
11654
  };
11881
11655
  const deserializeAws_queryInvalidCertificateException = (output, context) => {
11882
- const contents = {
11883
- message: undefined,
11884
- };
11656
+ const contents = {};
11885
11657
  if (output["message"] !== undefined) {
11886
11658
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11887
11659
  }
11888
11660
  return contents;
11889
11661
  };
11890
11662
  const deserializeAws_queryInvalidInputException = (output, context) => {
11891
- const contents = {
11892
- message: undefined,
11893
- };
11663
+ const contents = {};
11894
11664
  if (output["message"] !== undefined) {
11895
11665
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11896
11666
  }
11897
11667
  return contents;
11898
11668
  };
11899
11669
  const deserializeAws_queryInvalidPublicKeyException = (output, context) => {
11900
- const contents = {
11901
- message: undefined,
11902
- };
11670
+ const contents = {};
11903
11671
  if (output["message"] !== undefined) {
11904
11672
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11905
11673
  }
11906
11674
  return contents;
11907
11675
  };
11908
11676
  const deserializeAws_queryInvalidUserTypeException = (output, context) => {
11909
- const contents = {
11910
- message: undefined,
11911
- };
11677
+ const contents = {};
11912
11678
  if (output["message"] !== undefined) {
11913
11679
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11914
11680
  }
11915
11681
  return contents;
11916
11682
  };
11917
11683
  const deserializeAws_queryKeyPairMismatchException = (output, context) => {
11918
- const contents = {
11919
- message: undefined,
11920
- };
11684
+ const contents = {};
11921
11685
  if (output["message"] !== undefined) {
11922
11686
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11923
11687
  }
11924
11688
  return contents;
11925
11689
  };
11926
11690
  const deserializeAws_queryLimitExceededException = (output, context) => {
11927
- const contents = {
11928
- message: undefined,
11929
- };
11691
+ const contents = {};
11930
11692
  if (output["message"] !== undefined) {
11931
11693
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
11932
11694
  }
11933
11695
  return contents;
11934
11696
  };
11935
11697
  const deserializeAws_queryListAccessKeysResponse = (output, context) => {
11936
- const contents = {
11937
- AccessKeyMetadata: undefined,
11938
- IsTruncated: undefined,
11939
- Marker: undefined,
11940
- };
11698
+ const contents = {};
11941
11699
  if (output.AccessKeyMetadata === "") {
11942
11700
  contents.AccessKeyMetadata = [];
11943
11701
  }
@@ -11953,11 +11711,7 @@ const deserializeAws_queryListAccessKeysResponse = (output, context) => {
11953
11711
  return contents;
11954
11712
  };
11955
11713
  const deserializeAws_queryListAccountAliasesResponse = (output, context) => {
11956
- const contents = {
11957
- AccountAliases: undefined,
11958
- IsTruncated: undefined,
11959
- Marker: undefined,
11960
- };
11714
+ const contents = {};
11961
11715
  if (output.AccountAliases === "") {
11962
11716
  contents.AccountAliases = [];
11963
11717
  }
@@ -11973,11 +11727,7 @@ const deserializeAws_queryListAccountAliasesResponse = (output, context) => {
11973
11727
  return contents;
11974
11728
  };
11975
11729
  const deserializeAws_queryListAttachedGroupPoliciesResponse = (output, context) => {
11976
- const contents = {
11977
- AttachedPolicies: undefined,
11978
- IsTruncated: undefined,
11979
- Marker: undefined,
11980
- };
11730
+ const contents = {};
11981
11731
  if (output.AttachedPolicies === "") {
11982
11732
  contents.AttachedPolicies = [];
11983
11733
  }
@@ -11993,11 +11743,7 @@ const deserializeAws_queryListAttachedGroupPoliciesResponse = (output, context)
11993
11743
  return contents;
11994
11744
  };
11995
11745
  const deserializeAws_queryListAttachedRolePoliciesResponse = (output, context) => {
11996
- const contents = {
11997
- AttachedPolicies: undefined,
11998
- IsTruncated: undefined,
11999
- Marker: undefined,
12000
- };
11746
+ const contents = {};
12001
11747
  if (output.AttachedPolicies === "") {
12002
11748
  contents.AttachedPolicies = [];
12003
11749
  }
@@ -12013,11 +11759,7 @@ const deserializeAws_queryListAttachedRolePoliciesResponse = (output, context) =
12013
11759
  return contents;
12014
11760
  };
12015
11761
  const deserializeAws_queryListAttachedUserPoliciesResponse = (output, context) => {
12016
- const contents = {
12017
- AttachedPolicies: undefined,
12018
- IsTruncated: undefined,
12019
- Marker: undefined,
12020
- };
11762
+ const contents = {};
12021
11763
  if (output.AttachedPolicies === "") {
12022
11764
  contents.AttachedPolicies = [];
12023
11765
  }
@@ -12033,13 +11775,7 @@ const deserializeAws_queryListAttachedUserPoliciesResponse = (output, context) =
12033
11775
  return contents;
12034
11776
  };
12035
11777
  const deserializeAws_queryListEntitiesForPolicyResponse = (output, context) => {
12036
- const contents = {
12037
- PolicyGroups: undefined,
12038
- PolicyUsers: undefined,
12039
- PolicyRoles: undefined,
12040
- IsTruncated: undefined,
12041
- Marker: undefined,
12042
- };
11778
+ const contents = {};
12043
11779
  if (output.PolicyGroups === "") {
12044
11780
  contents.PolicyGroups = [];
12045
11781
  }
@@ -12067,11 +11803,7 @@ const deserializeAws_queryListEntitiesForPolicyResponse = (output, context) => {
12067
11803
  return contents;
12068
11804
  };
12069
11805
  const deserializeAws_queryListGroupPoliciesResponse = (output, context) => {
12070
- const contents = {
12071
- PolicyNames: undefined,
12072
- IsTruncated: undefined,
12073
- Marker: undefined,
12074
- };
11806
+ const contents = {};
12075
11807
  if (output.PolicyNames === "") {
12076
11808
  contents.PolicyNames = [];
12077
11809
  }
@@ -12087,11 +11819,7 @@ const deserializeAws_queryListGroupPoliciesResponse = (output, context) => {
12087
11819
  return contents;
12088
11820
  };
12089
11821
  const deserializeAws_queryListGroupsForUserResponse = (output, context) => {
12090
- const contents = {
12091
- Groups: undefined,
12092
- IsTruncated: undefined,
12093
- Marker: undefined,
12094
- };
11822
+ const contents = {};
12095
11823
  if (output.Groups === "") {
12096
11824
  contents.Groups = [];
12097
11825
  }
@@ -12107,11 +11835,7 @@ const deserializeAws_queryListGroupsForUserResponse = (output, context) => {
12107
11835
  return contents;
12108
11836
  };
12109
11837
  const deserializeAws_queryListGroupsResponse = (output, context) => {
12110
- const contents = {
12111
- Groups: undefined,
12112
- IsTruncated: undefined,
12113
- Marker: undefined,
12114
- };
11838
+ const contents = {};
12115
11839
  if (output.Groups === "") {
12116
11840
  contents.Groups = [];
12117
11841
  }
@@ -12127,11 +11851,7 @@ const deserializeAws_queryListGroupsResponse = (output, context) => {
12127
11851
  return contents;
12128
11852
  };
12129
11853
  const deserializeAws_queryListInstanceProfilesForRoleResponse = (output, context) => {
12130
- const contents = {
12131
- InstanceProfiles: undefined,
12132
- IsTruncated: undefined,
12133
- Marker: undefined,
12134
- };
11854
+ const contents = {};
12135
11855
  if (output.InstanceProfiles === "") {
12136
11856
  contents.InstanceProfiles = [];
12137
11857
  }
@@ -12147,11 +11867,7 @@ const deserializeAws_queryListInstanceProfilesForRoleResponse = (output, context
12147
11867
  return contents;
12148
11868
  };
12149
11869
  const deserializeAws_queryListInstanceProfilesResponse = (output, context) => {
12150
- const contents = {
12151
- InstanceProfiles: undefined,
12152
- IsTruncated: undefined,
12153
- Marker: undefined,
12154
- };
11870
+ const contents = {};
12155
11871
  if (output.InstanceProfiles === "") {
12156
11872
  contents.InstanceProfiles = [];
12157
11873
  }
@@ -12167,11 +11883,7 @@ const deserializeAws_queryListInstanceProfilesResponse = (output, context) => {
12167
11883
  return contents;
12168
11884
  };
12169
11885
  const deserializeAws_queryListInstanceProfileTagsResponse = (output, context) => {
12170
- const contents = {
12171
- Tags: undefined,
12172
- IsTruncated: undefined,
12173
- Marker: undefined,
12174
- };
11886
+ const contents = {};
12175
11887
  if (output.Tags === "") {
12176
11888
  contents.Tags = [];
12177
11889
  }
@@ -12187,11 +11899,7 @@ const deserializeAws_queryListInstanceProfileTagsResponse = (output, context) =>
12187
11899
  return contents;
12188
11900
  };
12189
11901
  const deserializeAws_queryListMFADevicesResponse = (output, context) => {
12190
- const contents = {
12191
- MFADevices: undefined,
12192
- IsTruncated: undefined,
12193
- Marker: undefined,
12194
- };
11902
+ const contents = {};
12195
11903
  if (output.MFADevices === "") {
12196
11904
  contents.MFADevices = [];
12197
11905
  }
@@ -12207,11 +11915,7 @@ const deserializeAws_queryListMFADevicesResponse = (output, context) => {
12207
11915
  return contents;
12208
11916
  };
12209
11917
  const deserializeAws_queryListMFADeviceTagsResponse = (output, context) => {
12210
- const contents = {
12211
- Tags: undefined,
12212
- IsTruncated: undefined,
12213
- Marker: undefined,
12214
- };
11918
+ const contents = {};
12215
11919
  if (output.Tags === "") {
12216
11920
  contents.Tags = [];
12217
11921
  }
@@ -12227,9 +11931,7 @@ const deserializeAws_queryListMFADeviceTagsResponse = (output, context) => {
12227
11931
  return contents;
12228
11932
  };
12229
11933
  const deserializeAws_queryListOpenIDConnectProvidersResponse = (output, context) => {
12230
- const contents = {
12231
- OpenIDConnectProviderList: undefined,
12232
- };
11934
+ const contents = {};
12233
11935
  if (output.OpenIDConnectProviderList === "") {
12234
11936
  contents.OpenIDConnectProviderList = [];
12235
11937
  }
@@ -12240,11 +11942,7 @@ const deserializeAws_queryListOpenIDConnectProvidersResponse = (output, context)
12240
11942
  return contents;
12241
11943
  };
12242
11944
  const deserializeAws_queryListOpenIDConnectProviderTagsResponse = (output, context) => {
12243
- const contents = {
12244
- Tags: undefined,
12245
- IsTruncated: undefined,
12246
- Marker: undefined,
12247
- };
11945
+ const contents = {};
12248
11946
  if (output.Tags === "") {
12249
11947
  contents.Tags = [];
12250
11948
  }
@@ -12260,10 +11958,7 @@ const deserializeAws_queryListOpenIDConnectProviderTagsResponse = (output, conte
12260
11958
  return contents;
12261
11959
  };
12262
11960
  const deserializeAws_queryListPoliciesGrantingServiceAccessEntry = (output, context) => {
12263
- const contents = {
12264
- ServiceNamespace: undefined,
12265
- Policies: undefined,
12266
- };
11961
+ const contents = {};
12267
11962
  if (output["ServiceNamespace"] !== undefined) {
12268
11963
  contents.ServiceNamespace = (0, smithy_client_1.expectString)(output["ServiceNamespace"]);
12269
11964
  }
@@ -12276,11 +11971,7 @@ const deserializeAws_queryListPoliciesGrantingServiceAccessEntry = (output, cont
12276
11971
  return contents;
12277
11972
  };
12278
11973
  const deserializeAws_queryListPoliciesGrantingServiceAccessResponse = (output, context) => {
12279
- const contents = {
12280
- PoliciesGrantingServiceAccess: undefined,
12281
- IsTruncated: undefined,
12282
- Marker: undefined,
12283
- };
11974
+ const contents = {};
12284
11975
  if (output.PoliciesGrantingServiceAccess === "") {
12285
11976
  contents.PoliciesGrantingServiceAccess = [];
12286
11977
  }
@@ -12297,11 +11988,7 @@ const deserializeAws_queryListPoliciesGrantingServiceAccessResponse = (output, c
12297
11988
  return contents;
12298
11989
  };
12299
11990
  const deserializeAws_queryListPoliciesResponse = (output, context) => {
12300
- const contents = {
12301
- Policies: undefined,
12302
- IsTruncated: undefined,
12303
- Marker: undefined,
12304
- };
11991
+ const contents = {};
12305
11992
  if (output.Policies === "") {
12306
11993
  contents.Policies = [];
12307
11994
  }
@@ -12324,11 +12011,7 @@ const deserializeAws_querylistPolicyGrantingServiceAccessResponseListType = (out
12324
12011
  });
12325
12012
  };
12326
12013
  const deserializeAws_queryListPolicyTagsResponse = (output, context) => {
12327
- const contents = {
12328
- Tags: undefined,
12329
- IsTruncated: undefined,
12330
- Marker: undefined,
12331
- };
12014
+ const contents = {};
12332
12015
  if (output.Tags === "") {
12333
12016
  contents.Tags = [];
12334
12017
  }
@@ -12344,11 +12027,7 @@ const deserializeAws_queryListPolicyTagsResponse = (output, context) => {
12344
12027
  return contents;
12345
12028
  };
12346
12029
  const deserializeAws_queryListPolicyVersionsResponse = (output, context) => {
12347
- const contents = {
12348
- Versions: undefined,
12349
- IsTruncated: undefined,
12350
- Marker: undefined,
12351
- };
12030
+ const contents = {};
12352
12031
  if (output.Versions === "") {
12353
12032
  contents.Versions = [];
12354
12033
  }
@@ -12364,11 +12043,7 @@ const deserializeAws_queryListPolicyVersionsResponse = (output, context) => {
12364
12043
  return contents;
12365
12044
  };
12366
12045
  const deserializeAws_queryListRolePoliciesResponse = (output, context) => {
12367
- const contents = {
12368
- PolicyNames: undefined,
12369
- IsTruncated: undefined,
12370
- Marker: undefined,
12371
- };
12046
+ const contents = {};
12372
12047
  if (output.PolicyNames === "") {
12373
12048
  contents.PolicyNames = [];
12374
12049
  }
@@ -12384,11 +12059,7 @@ const deserializeAws_queryListRolePoliciesResponse = (output, context) => {
12384
12059
  return contents;
12385
12060
  };
12386
12061
  const deserializeAws_queryListRolesResponse = (output, context) => {
12387
- const contents = {
12388
- Roles: undefined,
12389
- IsTruncated: undefined,
12390
- Marker: undefined,
12391
- };
12062
+ const contents = {};
12392
12063
  if (output.Roles === "") {
12393
12064
  contents.Roles = [];
12394
12065
  }
@@ -12404,11 +12075,7 @@ const deserializeAws_queryListRolesResponse = (output, context) => {
12404
12075
  return contents;
12405
12076
  };
12406
12077
  const deserializeAws_queryListRoleTagsResponse = (output, context) => {
12407
- const contents = {
12408
- Tags: undefined,
12409
- IsTruncated: undefined,
12410
- Marker: undefined,
12411
- };
12078
+ const contents = {};
12412
12079
  if (output.Tags === "") {
12413
12080
  contents.Tags = [];
12414
12081
  }
@@ -12424,9 +12091,7 @@ const deserializeAws_queryListRoleTagsResponse = (output, context) => {
12424
12091
  return contents;
12425
12092
  };
12426
12093
  const deserializeAws_queryListSAMLProvidersResponse = (output, context) => {
12427
- const contents = {
12428
- SAMLProviderList: undefined,
12429
- };
12094
+ const contents = {};
12430
12095
  if (output.SAMLProviderList === "") {
12431
12096
  contents.SAMLProviderList = [];
12432
12097
  }
@@ -12436,11 +12101,7 @@ const deserializeAws_queryListSAMLProvidersResponse = (output, context) => {
12436
12101
  return contents;
12437
12102
  };
12438
12103
  const deserializeAws_queryListSAMLProviderTagsResponse = (output, context) => {
12439
- const contents = {
12440
- Tags: undefined,
12441
- IsTruncated: undefined,
12442
- Marker: undefined,
12443
- };
12104
+ const contents = {};
12444
12105
  if (output.Tags === "") {
12445
12106
  contents.Tags = [];
12446
12107
  }
@@ -12456,11 +12117,7 @@ const deserializeAws_queryListSAMLProviderTagsResponse = (output, context) => {
12456
12117
  return contents;
12457
12118
  };
12458
12119
  const deserializeAws_queryListServerCertificatesResponse = (output, context) => {
12459
- const contents = {
12460
- ServerCertificateMetadataList: undefined,
12461
- IsTruncated: undefined,
12462
- Marker: undefined,
12463
- };
12120
+ const contents = {};
12464
12121
  if (output.ServerCertificateMetadataList === "") {
12465
12122
  contents.ServerCertificateMetadataList = [];
12466
12123
  }
@@ -12477,11 +12134,7 @@ const deserializeAws_queryListServerCertificatesResponse = (output, context) =>
12477
12134
  return contents;
12478
12135
  };
12479
12136
  const deserializeAws_queryListServerCertificateTagsResponse = (output, context) => {
12480
- const contents = {
12481
- Tags: undefined,
12482
- IsTruncated: undefined,
12483
- Marker: undefined,
12484
- };
12137
+ const contents = {};
12485
12138
  if (output.Tags === "") {
12486
12139
  contents.Tags = [];
12487
12140
  }
@@ -12497,9 +12150,7 @@ const deserializeAws_queryListServerCertificateTagsResponse = (output, context)
12497
12150
  return contents;
12498
12151
  };
12499
12152
  const deserializeAws_queryListServiceSpecificCredentialsResponse = (output, context) => {
12500
- const contents = {
12501
- ServiceSpecificCredentials: undefined,
12502
- };
12153
+ const contents = {};
12503
12154
  if (output.ServiceSpecificCredentials === "") {
12504
12155
  contents.ServiceSpecificCredentials = [];
12505
12156
  }
@@ -12510,11 +12161,7 @@ const deserializeAws_queryListServiceSpecificCredentialsResponse = (output, cont
12510
12161
  return contents;
12511
12162
  };
12512
12163
  const deserializeAws_queryListSigningCertificatesResponse = (output, context) => {
12513
- const contents = {
12514
- Certificates: undefined,
12515
- IsTruncated: undefined,
12516
- Marker: undefined,
12517
- };
12164
+ const contents = {};
12518
12165
  if (output.Certificates === "") {
12519
12166
  contents.Certificates = [];
12520
12167
  }
@@ -12530,11 +12177,7 @@ const deserializeAws_queryListSigningCertificatesResponse = (output, context) =>
12530
12177
  return contents;
12531
12178
  };
12532
12179
  const deserializeAws_queryListSSHPublicKeysResponse = (output, context) => {
12533
- const contents = {
12534
- SSHPublicKeys: undefined,
12535
- IsTruncated: undefined,
12536
- Marker: undefined,
12537
- };
12180
+ const contents = {};
12538
12181
  if (output.SSHPublicKeys === "") {
12539
12182
  contents.SSHPublicKeys = [];
12540
12183
  }
@@ -12550,11 +12193,7 @@ const deserializeAws_queryListSSHPublicKeysResponse = (output, context) => {
12550
12193
  return contents;
12551
12194
  };
12552
12195
  const deserializeAws_queryListUserPoliciesResponse = (output, context) => {
12553
- const contents = {
12554
- PolicyNames: undefined,
12555
- IsTruncated: undefined,
12556
- Marker: undefined,
12557
- };
12196
+ const contents = {};
12558
12197
  if (output.PolicyNames === "") {
12559
12198
  contents.PolicyNames = [];
12560
12199
  }
@@ -12570,11 +12209,7 @@ const deserializeAws_queryListUserPoliciesResponse = (output, context) => {
12570
12209
  return contents;
12571
12210
  };
12572
12211
  const deserializeAws_queryListUsersResponse = (output, context) => {
12573
- const contents = {
12574
- Users: undefined,
12575
- IsTruncated: undefined,
12576
- Marker: undefined,
12577
- };
12212
+ const contents = {};
12578
12213
  if (output.Users === "") {
12579
12214
  contents.Users = [];
12580
12215
  }
@@ -12590,11 +12225,7 @@ const deserializeAws_queryListUsersResponse = (output, context) => {
12590
12225
  return contents;
12591
12226
  };
12592
12227
  const deserializeAws_queryListUserTagsResponse = (output, context) => {
12593
- const contents = {
12594
- Tags: undefined,
12595
- IsTruncated: undefined,
12596
- Marker: undefined,
12597
- };
12228
+ const contents = {};
12598
12229
  if (output.Tags === "") {
12599
12230
  contents.Tags = [];
12600
12231
  }
@@ -12610,11 +12241,7 @@ const deserializeAws_queryListUserTagsResponse = (output, context) => {
12610
12241
  return contents;
12611
12242
  };
12612
12243
  const deserializeAws_queryListVirtualMFADevicesResponse = (output, context) => {
12613
- const contents = {
12614
- VirtualMFADevices: undefined,
12615
- IsTruncated: undefined,
12616
- Marker: undefined,
12617
- };
12244
+ const contents = {};
12618
12245
  if (output.VirtualMFADevices === "") {
12619
12246
  contents.VirtualMFADevices = [];
12620
12247
  }
@@ -12630,11 +12257,7 @@ const deserializeAws_queryListVirtualMFADevicesResponse = (output, context) => {
12630
12257
  return contents;
12631
12258
  };
12632
12259
  const deserializeAws_queryLoginProfile = (output, context) => {
12633
- const contents = {
12634
- UserName: undefined,
12635
- CreateDate: undefined,
12636
- PasswordResetRequired: undefined,
12637
- };
12260
+ const contents = {};
12638
12261
  if (output["UserName"] !== undefined) {
12639
12262
  contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
12640
12263
  }
@@ -12647,38 +12270,21 @@ const deserializeAws_queryLoginProfile = (output, context) => {
12647
12270
  return contents;
12648
12271
  };
12649
12272
  const deserializeAws_queryMalformedCertificateException = (output, context) => {
12650
- const contents = {
12651
- message: undefined,
12652
- };
12273
+ const contents = {};
12653
12274
  if (output["message"] !== undefined) {
12654
12275
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12655
12276
  }
12656
12277
  return contents;
12657
12278
  };
12658
12279
  const deserializeAws_queryMalformedPolicyDocumentException = (output, context) => {
12659
- const contents = {
12660
- message: undefined,
12661
- };
12280
+ const contents = {};
12662
12281
  if (output["message"] !== undefined) {
12663
12282
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12664
12283
  }
12665
12284
  return contents;
12666
12285
  };
12667
12286
  const deserializeAws_queryManagedPolicyDetail = (output, context) => {
12668
- const contents = {
12669
- PolicyName: undefined,
12670
- PolicyId: undefined,
12671
- Arn: undefined,
12672
- Path: undefined,
12673
- DefaultVersionId: undefined,
12674
- AttachmentCount: undefined,
12675
- PermissionsBoundaryUsageCount: undefined,
12676
- IsAttachable: undefined,
12677
- Description: undefined,
12678
- CreateDate: undefined,
12679
- UpdateDate: undefined,
12680
- PolicyVersionList: undefined,
12681
- };
12287
+ const contents = {};
12682
12288
  if (output["PolicyName"] !== undefined) {
12683
12289
  contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
12684
12290
  }
@@ -12728,11 +12334,7 @@ const deserializeAws_queryManagedPolicyDetailListType = (output, context) => {
12728
12334
  });
12729
12335
  };
12730
12336
  const deserializeAws_queryMFADevice = (output, context) => {
12731
- const contents = {
12732
- UserName: undefined,
12733
- SerialNumber: undefined,
12734
- EnableDate: undefined,
12735
- };
12337
+ const contents = {};
12736
12338
  if (output["UserName"] !== undefined) {
12737
12339
  contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
12738
12340
  }
@@ -12752,18 +12354,14 @@ const deserializeAws_querymfaDeviceListType = (output, context) => {
12752
12354
  });
12753
12355
  };
12754
12356
  const deserializeAws_queryNoSuchEntityException = (output, context) => {
12755
- const contents = {
12756
- message: undefined,
12757
- };
12357
+ const contents = {};
12758
12358
  if (output["message"] !== undefined) {
12759
12359
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12760
12360
  }
12761
12361
  return contents;
12762
12362
  };
12763
12363
  const deserializeAws_queryOpenIDConnectProviderListEntry = (output, context) => {
12764
- const contents = {
12765
- Arn: undefined,
12766
- };
12364
+ const contents = {};
12767
12365
  if (output["Arn"] !== undefined) {
12768
12366
  contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
12769
12367
  }
@@ -12777,27 +12375,14 @@ const deserializeAws_queryOpenIDConnectProviderListType = (output, context) => {
12777
12375
  });
12778
12376
  };
12779
12377
  const deserializeAws_queryOrganizationsDecisionDetail = (output, context) => {
12780
- const contents = {
12781
- AllowedByOrganizations: undefined,
12782
- };
12378
+ const contents = {};
12783
12379
  if (output["AllowedByOrganizations"] !== undefined) {
12784
12380
  contents.AllowedByOrganizations = (0, smithy_client_1.parseBoolean)(output["AllowedByOrganizations"]);
12785
12381
  }
12786
12382
  return contents;
12787
12383
  };
12788
12384
  const deserializeAws_queryPasswordPolicy = (output, context) => {
12789
- const contents = {
12790
- MinimumPasswordLength: undefined,
12791
- RequireSymbols: undefined,
12792
- RequireNumbers: undefined,
12793
- RequireUppercaseCharacters: undefined,
12794
- RequireLowercaseCharacters: undefined,
12795
- AllowUsersToChangePassword: undefined,
12796
- ExpirePasswords: undefined,
12797
- MaxPasswordAge: undefined,
12798
- PasswordReusePrevention: undefined,
12799
- HardExpiry: undefined,
12800
- };
12385
+ const contents = {};
12801
12386
  if (output["MinimumPasswordLength"] !== undefined) {
12802
12387
  contents.MinimumPasswordLength = (0, smithy_client_1.strictParseInt32)(output["MinimumPasswordLength"]);
12803
12388
  }
@@ -12831,38 +12416,21 @@ const deserializeAws_queryPasswordPolicy = (output, context) => {
12831
12416
  return contents;
12832
12417
  };
12833
12418
  const deserializeAws_queryPasswordPolicyViolationException = (output, context) => {
12834
- const contents = {
12835
- message: undefined,
12836
- };
12419
+ const contents = {};
12837
12420
  if (output["message"] !== undefined) {
12838
12421
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12839
12422
  }
12840
12423
  return contents;
12841
12424
  };
12842
12425
  const deserializeAws_queryPermissionsBoundaryDecisionDetail = (output, context) => {
12843
- const contents = {
12844
- AllowedByPermissionsBoundary: undefined,
12845
- };
12426
+ const contents = {};
12846
12427
  if (output["AllowedByPermissionsBoundary"] !== undefined) {
12847
12428
  contents.AllowedByPermissionsBoundary = (0, smithy_client_1.parseBoolean)(output["AllowedByPermissionsBoundary"]);
12848
12429
  }
12849
12430
  return contents;
12850
12431
  };
12851
12432
  const deserializeAws_queryPolicy = (output, context) => {
12852
- const contents = {
12853
- PolicyName: undefined,
12854
- PolicyId: undefined,
12855
- Arn: undefined,
12856
- Path: undefined,
12857
- DefaultVersionId: undefined,
12858
- AttachmentCount: undefined,
12859
- PermissionsBoundaryUsageCount: undefined,
12860
- IsAttachable: undefined,
12861
- Description: undefined,
12862
- CreateDate: undefined,
12863
- UpdateDate: undefined,
12864
- Tags: undefined,
12865
- };
12433
+ const contents = {};
12866
12434
  if (output["PolicyName"] !== undefined) {
12867
12435
  contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
12868
12436
  }
@@ -12905,10 +12473,7 @@ const deserializeAws_queryPolicy = (output, context) => {
12905
12473
  return contents;
12906
12474
  };
12907
12475
  const deserializeAws_queryPolicyDetail = (output, context) => {
12908
- const contents = {
12909
- PolicyName: undefined,
12910
- PolicyDocument: undefined,
12911
- };
12476
+ const contents = {};
12912
12477
  if (output["PolicyName"] !== undefined) {
12913
12478
  contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
12914
12479
  }
@@ -12932,22 +12497,14 @@ const deserializeAws_querypolicyDocumentVersionListType = (output, context) => {
12932
12497
  });
12933
12498
  };
12934
12499
  const deserializeAws_queryPolicyEvaluationException = (output, context) => {
12935
- const contents = {
12936
- message: undefined,
12937
- };
12500
+ const contents = {};
12938
12501
  if (output["message"] !== undefined) {
12939
12502
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
12940
12503
  }
12941
12504
  return contents;
12942
12505
  };
12943
12506
  const deserializeAws_queryPolicyGrantingServiceAccess = (output, context) => {
12944
- const contents = {
12945
- PolicyName: undefined,
12946
- PolicyType: undefined,
12947
- PolicyArn: undefined,
12948
- EntityType: undefined,
12949
- EntityName: undefined,
12950
- };
12507
+ const contents = {};
12951
12508
  if (output["PolicyName"] !== undefined) {
12952
12509
  contents.PolicyName = (0, smithy_client_1.expectString)(output["PolicyName"]);
12953
12510
  }
@@ -12973,10 +12530,7 @@ const deserializeAws_querypolicyGrantingServiceAccessListType = (output, context
12973
12530
  });
12974
12531
  };
12975
12532
  const deserializeAws_queryPolicyGroup = (output, context) => {
12976
- const contents = {
12977
- GroupName: undefined,
12978
- GroupId: undefined,
12979
- };
12533
+ const contents = {};
12980
12534
  if (output["GroupName"] !== undefined) {
12981
12535
  contents.GroupName = (0, smithy_client_1.expectString)(output["GroupName"]);
12982
12536
  }
@@ -13007,19 +12561,14 @@ const deserializeAws_querypolicyNameListType = (output, context) => {
13007
12561
  });
13008
12562
  };
13009
12563
  const deserializeAws_queryPolicyNotAttachableException = (output, context) => {
13010
- const contents = {
13011
- message: undefined,
13012
- };
12564
+ const contents = {};
13013
12565
  if (output["message"] !== undefined) {
13014
12566
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13015
12567
  }
13016
12568
  return contents;
13017
12569
  };
13018
12570
  const deserializeAws_queryPolicyRole = (output, context) => {
13019
- const contents = {
13020
- RoleName: undefined,
13021
- RoleId: undefined,
13022
- };
12571
+ const contents = {};
13023
12572
  if (output["RoleName"] !== undefined) {
13024
12573
  contents.RoleName = (0, smithy_client_1.expectString)(output["RoleName"]);
13025
12574
  }
@@ -13036,10 +12585,7 @@ const deserializeAws_queryPolicyRoleListType = (output, context) => {
13036
12585
  });
13037
12586
  };
13038
12587
  const deserializeAws_queryPolicyUser = (output, context) => {
13039
- const contents = {
13040
- UserName: undefined,
13041
- UserId: undefined,
13042
- };
12588
+ const contents = {};
13043
12589
  if (output["UserName"] !== undefined) {
13044
12590
  contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
13045
12591
  }
@@ -13056,12 +12602,7 @@ const deserializeAws_queryPolicyUserListType = (output, context) => {
13056
12602
  });
13057
12603
  };
13058
12604
  const deserializeAws_queryPolicyVersion = (output, context) => {
13059
- const contents = {
13060
- Document: undefined,
13061
- VersionId: undefined,
13062
- IsDefaultVersion: undefined,
13063
- CreateDate: undefined,
13064
- };
12605
+ const contents = {};
13065
12606
  if (output["Document"] !== undefined) {
13066
12607
  contents.Document = (0, smithy_client_1.expectString)(output["Document"]);
13067
12608
  }
@@ -13077,10 +12618,7 @@ const deserializeAws_queryPolicyVersion = (output, context) => {
13077
12618
  return contents;
13078
12619
  };
13079
12620
  const deserializeAws_queryPosition = (output, context) => {
13080
- const contents = {
13081
- Line: undefined,
13082
- Column: undefined,
13083
- };
12621
+ const contents = {};
13084
12622
  if (output["Line"] !== undefined) {
13085
12623
  contents.Line = (0, smithy_client_1.strictParseInt32)(output["Line"]);
13086
12624
  }
@@ -13090,32 +12628,21 @@ const deserializeAws_queryPosition = (output, context) => {
13090
12628
  return contents;
13091
12629
  };
13092
12630
  const deserializeAws_queryReportGenerationLimitExceededException = (output, context) => {
13093
- const contents = {
13094
- message: undefined,
13095
- };
12631
+ const contents = {};
13096
12632
  if (output["message"] !== undefined) {
13097
12633
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13098
12634
  }
13099
12635
  return contents;
13100
12636
  };
13101
12637
  const deserializeAws_queryResetServiceSpecificCredentialResponse = (output, context) => {
13102
- const contents = {
13103
- ServiceSpecificCredential: undefined,
13104
- };
12638
+ const contents = {};
13105
12639
  if (output["ServiceSpecificCredential"] !== undefined) {
13106
12640
  contents.ServiceSpecificCredential = deserializeAws_queryServiceSpecificCredential(output["ServiceSpecificCredential"], context);
13107
12641
  }
13108
12642
  return contents;
13109
12643
  };
13110
12644
  const deserializeAws_queryResourceSpecificResult = (output, context) => {
13111
- const contents = {
13112
- EvalResourceName: undefined,
13113
- EvalResourceDecision: undefined,
13114
- MatchedStatements: undefined,
13115
- MissingContextValues: undefined,
13116
- EvalDecisionDetails: undefined,
13117
- PermissionsBoundaryDecisionDetail: undefined,
13118
- };
12645
+ const contents = {};
13119
12646
  if (output["EvalResourceName"] !== undefined) {
13120
12647
  contents.EvalResourceName = (0, smithy_client_1.expectString)(output["EvalResourceName"]);
13121
12648
  }
@@ -13153,19 +12680,7 @@ const deserializeAws_queryResourceSpecificResultListType = (output, context) =>
13153
12680
  });
13154
12681
  };
13155
12682
  const deserializeAws_queryRole = (output, context) => {
13156
- const contents = {
13157
- Path: undefined,
13158
- RoleName: undefined,
13159
- RoleId: undefined,
13160
- Arn: undefined,
13161
- CreateDate: undefined,
13162
- AssumeRolePolicyDocument: undefined,
13163
- Description: undefined,
13164
- MaxSessionDuration: undefined,
13165
- PermissionsBoundary: undefined,
13166
- Tags: undefined,
13167
- RoleLastUsed: undefined,
13168
- };
12683
+ const contents = {};
13169
12684
  if (output["Path"] !== undefined) {
13170
12685
  contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
13171
12686
  }
@@ -13205,20 +12720,7 @@ const deserializeAws_queryRole = (output, context) => {
13205
12720
  return contents;
13206
12721
  };
13207
12722
  const deserializeAws_queryRoleDetail = (output, context) => {
13208
- const contents = {
13209
- Path: undefined,
13210
- RoleName: undefined,
13211
- RoleId: undefined,
13212
- Arn: undefined,
13213
- CreateDate: undefined,
13214
- AssumeRolePolicyDocument: undefined,
13215
- InstanceProfileList: undefined,
13216
- RolePolicyList: undefined,
13217
- AttachedManagedPolicies: undefined,
13218
- PermissionsBoundary: undefined,
13219
- Tags: undefined,
13220
- RoleLastUsed: undefined,
13221
- };
12723
+ const contents = {};
13222
12724
  if (output["Path"] !== undefined) {
13223
12725
  contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
13224
12726
  }
@@ -13278,10 +12780,7 @@ const deserializeAws_queryroleDetailListType = (output, context) => {
13278
12780
  });
13279
12781
  };
13280
12782
  const deserializeAws_queryRoleLastUsed = (output, context) => {
13281
- const contents = {
13282
- LastUsedDate: undefined,
13283
- Region: undefined,
13284
- };
12783
+ const contents = {};
13285
12784
  if (output["LastUsedDate"] !== undefined) {
13286
12785
  contents.LastUsedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastUsedDate"]));
13287
12786
  }
@@ -13305,10 +12804,7 @@ const deserializeAws_queryRoleUsageListType = (output, context) => {
13305
12804
  });
13306
12805
  };
13307
12806
  const deserializeAws_queryRoleUsageType = (output, context) => {
13308
- const contents = {
13309
- Region: undefined,
13310
- Resources: undefined,
13311
- };
12807
+ const contents = {};
13312
12808
  if (output["Region"] !== undefined) {
13313
12809
  contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
13314
12810
  }
@@ -13321,11 +12817,7 @@ const deserializeAws_queryRoleUsageType = (output, context) => {
13321
12817
  return contents;
13322
12818
  };
13323
12819
  const deserializeAws_querySAMLProviderListEntry = (output, context) => {
13324
- const contents = {
13325
- Arn: undefined,
13326
- ValidUntil: undefined,
13327
- CreateDate: undefined,
13328
- };
12820
+ const contents = {};
13329
12821
  if (output["Arn"] !== undefined) {
13330
12822
  contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
13331
12823
  }
@@ -13345,12 +12837,7 @@ const deserializeAws_querySAMLProviderListType = (output, context) => {
13345
12837
  });
13346
12838
  };
13347
12839
  const deserializeAws_queryServerCertificate = (output, context) => {
13348
- const contents = {
13349
- ServerCertificateMetadata: undefined,
13350
- CertificateBody: undefined,
13351
- CertificateChain: undefined,
13352
- Tags: undefined,
13353
- };
12840
+ const contents = {};
13354
12841
  if (output["ServerCertificateMetadata"] !== undefined) {
13355
12842
  contents.ServerCertificateMetadata = deserializeAws_queryServerCertificateMetadata(output["ServerCertificateMetadata"], context);
13356
12843
  }
@@ -13369,14 +12856,7 @@ const deserializeAws_queryServerCertificate = (output, context) => {
13369
12856
  return contents;
13370
12857
  };
13371
12858
  const deserializeAws_queryServerCertificateMetadata = (output, context) => {
13372
- const contents = {
13373
- Path: undefined,
13374
- ServerCertificateName: undefined,
13375
- ServerCertificateId: undefined,
13376
- Arn: undefined,
13377
- UploadDate: undefined,
13378
- Expiration: undefined,
13379
- };
12859
+ const contents = {};
13380
12860
  if (output["Path"] !== undefined) {
13381
12861
  contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
13382
12862
  }
@@ -13405,24 +12885,14 @@ const deserializeAws_queryserverCertificateMetadataListType = (output, context)
13405
12885
  });
13406
12886
  };
13407
12887
  const deserializeAws_queryServiceFailureException = (output, context) => {
13408
- const contents = {
13409
- message: undefined,
13410
- };
12888
+ const contents = {};
13411
12889
  if (output["message"] !== undefined) {
13412
12890
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13413
12891
  }
13414
12892
  return contents;
13415
12893
  };
13416
12894
  const deserializeAws_queryServiceLastAccessed = (output, context) => {
13417
- const contents = {
13418
- ServiceName: undefined,
13419
- LastAuthenticated: undefined,
13420
- ServiceNamespace: undefined,
13421
- LastAuthenticatedEntity: undefined,
13422
- LastAuthenticatedRegion: undefined,
13423
- TotalAuthenticatedEntities: undefined,
13424
- TrackedActionsLastAccessed: undefined,
13425
- };
12895
+ const contents = {};
13426
12896
  if (output["ServiceName"] !== undefined) {
13427
12897
  contents.ServiceName = (0, smithy_client_1.expectString)(output["ServiceName"]);
13428
12898
  }
@@ -13451,9 +12921,7 @@ const deserializeAws_queryServiceLastAccessed = (output, context) => {
13451
12921
  return contents;
13452
12922
  };
13453
12923
  const deserializeAws_queryServiceNotSupportedException = (output, context) => {
13454
- const contents = {
13455
- message: undefined,
13456
- };
12924
+ const contents = {};
13457
12925
  if (output["message"] !== undefined) {
13458
12926
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13459
12927
  }
@@ -13467,15 +12935,7 @@ const deserializeAws_queryServicesLastAccessed = (output, context) => {
13467
12935
  });
13468
12936
  };
13469
12937
  const deserializeAws_queryServiceSpecificCredential = (output, context) => {
13470
- const contents = {
13471
- CreateDate: undefined,
13472
- ServiceName: undefined,
13473
- ServiceUserName: undefined,
13474
- ServicePassword: undefined,
13475
- ServiceSpecificCredentialId: undefined,
13476
- UserName: undefined,
13477
- Status: undefined,
13478
- };
12938
+ const contents = {};
13479
12939
  if (output["CreateDate"] !== undefined) {
13480
12940
  contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
13481
12941
  }
@@ -13500,14 +12960,7 @@ const deserializeAws_queryServiceSpecificCredential = (output, context) => {
13500
12960
  return contents;
13501
12961
  };
13502
12962
  const deserializeAws_queryServiceSpecificCredentialMetadata = (output, context) => {
13503
- const contents = {
13504
- UserName: undefined,
13505
- Status: undefined,
13506
- ServiceUserName: undefined,
13507
- CreateDate: undefined,
13508
- ServiceSpecificCredentialId: undefined,
13509
- ServiceName: undefined,
13510
- };
12963
+ const contents = {};
13511
12964
  if (output["UserName"] !== undefined) {
13512
12965
  contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
13513
12966
  }
@@ -13536,13 +12989,7 @@ const deserializeAws_queryServiceSpecificCredentialsListType = (output, context)
13536
12989
  });
13537
12990
  };
13538
12991
  const deserializeAws_querySigningCertificate = (output, context) => {
13539
- const contents = {
13540
- UserName: undefined,
13541
- CertificateId: undefined,
13542
- CertificateBody: undefined,
13543
- Status: undefined,
13544
- UploadDate: undefined,
13545
- };
12992
+ const contents = {};
13546
12993
  if (output["UserName"] !== undefined) {
13547
12994
  contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
13548
12995
  }
@@ -13561,11 +13008,7 @@ const deserializeAws_querySigningCertificate = (output, context) => {
13561
13008
  return contents;
13562
13009
  };
13563
13010
  const deserializeAws_querySimulatePolicyResponse = (output, context) => {
13564
- const contents = {
13565
- EvaluationResults: undefined,
13566
- IsTruncated: undefined,
13567
- Marker: undefined,
13568
- };
13011
+ const contents = {};
13569
13012
  if (output.EvaluationResults === "") {
13570
13013
  contents.EvaluationResults = [];
13571
13014
  }
@@ -13581,14 +13024,7 @@ const deserializeAws_querySimulatePolicyResponse = (output, context) => {
13581
13024
  return contents;
13582
13025
  };
13583
13026
  const deserializeAws_querySSHPublicKey = (output, context) => {
13584
- const contents = {
13585
- UserName: undefined,
13586
- SSHPublicKeyId: undefined,
13587
- Fingerprint: undefined,
13588
- SSHPublicKeyBody: undefined,
13589
- Status: undefined,
13590
- UploadDate: undefined,
13591
- };
13027
+ const contents = {};
13592
13028
  if (output["UserName"] !== undefined) {
13593
13029
  contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
13594
13030
  }
@@ -13617,12 +13053,7 @@ const deserializeAws_querySSHPublicKeyListType = (output, context) => {
13617
13053
  });
13618
13054
  };
13619
13055
  const deserializeAws_querySSHPublicKeyMetadata = (output, context) => {
13620
- const contents = {
13621
- UserName: undefined,
13622
- SSHPublicKeyId: undefined,
13623
- Status: undefined,
13624
- UploadDate: undefined,
13625
- };
13056
+ const contents = {};
13626
13057
  if (output["UserName"] !== undefined) {
13627
13058
  contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
13628
13059
  }
@@ -13638,12 +13069,7 @@ const deserializeAws_querySSHPublicKeyMetadata = (output, context) => {
13638
13069
  return contents;
13639
13070
  };
13640
13071
  const deserializeAws_queryStatement = (output, context) => {
13641
- const contents = {
13642
- SourcePolicyId: undefined,
13643
- SourcePolicyType: undefined,
13644
- StartPosition: undefined,
13645
- EndPosition: undefined,
13646
- };
13072
+ const contents = {};
13647
13073
  if (output["SourcePolicyId"] !== undefined) {
13648
13074
  contents.SourcePolicyId = (0, smithy_client_1.expectString)(output["SourcePolicyId"]);
13649
13075
  }
@@ -13675,10 +13101,7 @@ const deserializeAws_querysummaryMapType = (output, context) => {
13675
13101
  }, {});
13676
13102
  };
13677
13103
  const deserializeAws_queryTag = (output, context) => {
13678
- const contents = {
13679
- Key: undefined,
13680
- Value: undefined,
13681
- };
13104
+ const contents = {};
13682
13105
  if (output["Key"] !== undefined) {
13683
13106
  contents.Key = (0, smithy_client_1.expectString)(output["Key"]);
13684
13107
  }
@@ -13702,12 +13125,7 @@ const deserializeAws_querythumbprintListType = (output, context) => {
13702
13125
  });
13703
13126
  };
13704
13127
  const deserializeAws_queryTrackedActionLastAccessed = (output, context) => {
13705
- const contents = {
13706
- ActionName: undefined,
13707
- LastAccessedEntity: undefined,
13708
- LastAccessedTime: undefined,
13709
- LastAccessedRegion: undefined,
13710
- };
13128
+ const contents = {};
13711
13129
  if (output["ActionName"] !== undefined) {
13712
13130
  contents.ActionName = (0, smithy_client_1.expectString)(output["ActionName"]);
13713
13131
  }
@@ -13730,27 +13148,21 @@ const deserializeAws_queryTrackedActionsLastAccessed = (output, context) => {
13730
13148
  });
13731
13149
  };
13732
13150
  const deserializeAws_queryUnmodifiableEntityException = (output, context) => {
13733
- const contents = {
13734
- message: undefined,
13735
- };
13151
+ const contents = {};
13736
13152
  if (output["message"] !== undefined) {
13737
13153
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13738
13154
  }
13739
13155
  return contents;
13740
13156
  };
13741
13157
  const deserializeAws_queryUnrecognizedPublicKeyEncodingException = (output, context) => {
13742
- const contents = {
13743
- message: undefined,
13744
- };
13158
+ const contents = {};
13745
13159
  if (output["message"] !== undefined) {
13746
13160
  contents.message = (0, smithy_client_1.expectString)(output["message"]);
13747
13161
  }
13748
13162
  return contents;
13749
13163
  };
13750
13164
  const deserializeAws_queryUpdateRoleDescriptionResponse = (output, context) => {
13751
- const contents = {
13752
- Role: undefined,
13753
- };
13165
+ const contents = {};
13754
13166
  if (output["Role"] !== undefined) {
13755
13167
  contents.Role = deserializeAws_queryRole(output["Role"], context);
13756
13168
  }
@@ -13761,19 +13173,14 @@ const deserializeAws_queryUpdateRoleResponse = (output, context) => {
13761
13173
  return contents;
13762
13174
  };
13763
13175
  const deserializeAws_queryUpdateSAMLProviderResponse = (output, context) => {
13764
- const contents = {
13765
- SAMLProviderArn: undefined,
13766
- };
13176
+ const contents = {};
13767
13177
  if (output["SAMLProviderArn"] !== undefined) {
13768
13178
  contents.SAMLProviderArn = (0, smithy_client_1.expectString)(output["SAMLProviderArn"]);
13769
13179
  }
13770
13180
  return contents;
13771
13181
  };
13772
13182
  const deserializeAws_queryUploadServerCertificateResponse = (output, context) => {
13773
- const contents = {
13774
- ServerCertificateMetadata: undefined,
13775
- Tags: undefined,
13776
- };
13183
+ const contents = {};
13777
13184
  if (output["ServerCertificateMetadata"] !== undefined) {
13778
13185
  contents.ServerCertificateMetadata = deserializeAws_queryServerCertificateMetadata(output["ServerCertificateMetadata"], context);
13779
13186
  }
@@ -13786,34 +13193,21 @@ const deserializeAws_queryUploadServerCertificateResponse = (output, context) =>
13786
13193
  return contents;
13787
13194
  };
13788
13195
  const deserializeAws_queryUploadSigningCertificateResponse = (output, context) => {
13789
- const contents = {
13790
- Certificate: undefined,
13791
- };
13196
+ const contents = {};
13792
13197
  if (output["Certificate"] !== undefined) {
13793
13198
  contents.Certificate = deserializeAws_querySigningCertificate(output["Certificate"], context);
13794
13199
  }
13795
13200
  return contents;
13796
13201
  };
13797
13202
  const deserializeAws_queryUploadSSHPublicKeyResponse = (output, context) => {
13798
- const contents = {
13799
- SSHPublicKey: undefined,
13800
- };
13203
+ const contents = {};
13801
13204
  if (output["SSHPublicKey"] !== undefined) {
13802
13205
  contents.SSHPublicKey = deserializeAws_querySSHPublicKey(output["SSHPublicKey"], context);
13803
13206
  }
13804
13207
  return contents;
13805
13208
  };
13806
13209
  const deserializeAws_queryUser = (output, context) => {
13807
- const contents = {
13808
- Path: undefined,
13809
- UserName: undefined,
13810
- UserId: undefined,
13811
- Arn: undefined,
13812
- CreateDate: undefined,
13813
- PasswordLastUsed: undefined,
13814
- PermissionsBoundary: undefined,
13815
- Tags: undefined,
13816
- };
13210
+ const contents = {};
13817
13211
  if (output["Path"] !== undefined) {
13818
13212
  contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
13819
13213
  }
@@ -13844,18 +13238,7 @@ const deserializeAws_queryUser = (output, context) => {
13844
13238
  return contents;
13845
13239
  };
13846
13240
  const deserializeAws_queryUserDetail = (output, context) => {
13847
- const contents = {
13848
- Path: undefined,
13849
- UserName: undefined,
13850
- UserId: undefined,
13851
- Arn: undefined,
13852
- CreateDate: undefined,
13853
- UserPolicyList: undefined,
13854
- GroupList: undefined,
13855
- AttachedManagedPolicies: undefined,
13856
- PermissionsBoundary: undefined,
13857
- Tags: undefined,
13858
- };
13241
+ const contents = {};
13859
13242
  if (output["Path"] !== undefined) {
13860
13243
  contents.Path = (0, smithy_client_1.expectString)(output["Path"]);
13861
13244
  }
@@ -13916,14 +13299,7 @@ const deserializeAws_queryuserListType = (output, context) => {
13916
13299
  });
13917
13300
  };
13918
13301
  const deserializeAws_queryVirtualMFADevice = (output, context) => {
13919
- const contents = {
13920
- SerialNumber: undefined,
13921
- Base32StringSeed: undefined,
13922
- QRCodePNG: undefined,
13923
- User: undefined,
13924
- EnableDate: undefined,
13925
- Tags: undefined,
13926
- };
13302
+ const contents = {};
13927
13303
  if (output["SerialNumber"] !== undefined) {
13928
13304
  contents.SerialNumber = (0, smithy_client_1.expectString)(output["SerialNumber"]);
13929
13305
  }