@aws-sdk/client-iam 3.296.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 +3 -3
@@ -10401,14 +10401,7 @@ const serializeAws_queryUploadSSHPublicKeyRequest = (input, context) => {
10401
10401
  return entries;
10402
10402
  };
10403
10403
  const deserializeAws_queryAccessDetail = (output, context) => {
10404
- const contents = {
10405
- ServiceName: undefined,
10406
- ServiceNamespace: undefined,
10407
- Region: undefined,
10408
- EntityPath: undefined,
10409
- LastAuthenticatedTime: undefined,
10410
- TotalAuthenticatedEntities: undefined,
10411
- };
10404
+ const contents = {};
10412
10405
  if (output["ServiceName"] !== undefined) {
10413
10406
  contents.ServiceName = __expectString(output["ServiceName"]);
10414
10407
  }
@@ -10437,13 +10430,7 @@ const deserializeAws_queryAccessDetails = (output, context) => {
10437
10430
  });
10438
10431
  };
10439
10432
  const deserializeAws_queryAccessKey = (output, context) => {
10440
- const contents = {
10441
- UserName: undefined,
10442
- AccessKeyId: undefined,
10443
- Status: undefined,
10444
- SecretAccessKey: undefined,
10445
- CreateDate: undefined,
10446
- };
10433
+ const contents = {};
10447
10434
  if (output["UserName"] !== undefined) {
10448
10435
  contents.UserName = __expectString(output["UserName"]);
10449
10436
  }
@@ -10462,11 +10449,7 @@ const deserializeAws_queryAccessKey = (output, context) => {
10462
10449
  return contents;
10463
10450
  };
10464
10451
  const deserializeAws_queryAccessKeyLastUsed = (output, context) => {
10465
- const contents = {
10466
- LastUsedDate: undefined,
10467
- ServiceName: undefined,
10468
- Region: undefined,
10469
- };
10452
+ const contents = {};
10470
10453
  if (output["LastUsedDate"] !== undefined) {
10471
10454
  contents.LastUsedDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastUsedDate"]));
10472
10455
  }
@@ -10479,12 +10462,7 @@ const deserializeAws_queryAccessKeyLastUsed = (output, context) => {
10479
10462
  return contents;
10480
10463
  };
10481
10464
  const deserializeAws_queryAccessKeyMetadata = (output, context) => {
10482
- const contents = {
10483
- UserName: undefined,
10484
- AccessKeyId: undefined,
10485
- Status: undefined,
10486
- CreateDate: undefined,
10487
- };
10465
+ const contents = {};
10488
10466
  if (output["UserName"] !== undefined) {
10489
10467
  contents.UserName = __expectString(output["UserName"]);
10490
10468
  }
@@ -10521,10 +10499,7 @@ const deserializeAws_queryArnListType = (output, context) => {
10521
10499
  });
10522
10500
  };
10523
10501
  const deserializeAws_queryAttachedPermissionsBoundary = (output, context) => {
10524
- const contents = {
10525
- PermissionsBoundaryType: undefined,
10526
- PermissionsBoundaryArn: undefined,
10527
- };
10502
+ const contents = {};
10528
10503
  if (output["PermissionsBoundaryType"] !== undefined) {
10529
10504
  contents.PermissionsBoundaryType = __expectString(output["PermissionsBoundaryType"]);
10530
10505
  }
@@ -10541,10 +10516,7 @@ const deserializeAws_queryattachedPoliciesListType = (output, context) => {
10541
10516
  });
10542
10517
  };
10543
10518
  const deserializeAws_queryAttachedPolicy = (output, context) => {
10544
- const contents = {
10545
- PolicyName: undefined,
10546
- PolicyArn: undefined,
10547
- };
10519
+ const contents = {};
10548
10520
  if (output["PolicyName"] !== undefined) {
10549
10521
  contents.PolicyName = __expectString(output["PolicyName"]);
10550
10522
  }
@@ -10568,9 +10540,7 @@ const deserializeAws_queryclientIDListType = (output, context) => {
10568
10540
  });
10569
10541
  };
10570
10542
  const deserializeAws_queryConcurrentModificationException = (output, context) => {
10571
- const contents = {
10572
- message: undefined,
10573
- };
10543
+ const contents = {};
10574
10544
  if (output["message"] !== undefined) {
10575
10545
  contents.message = __expectString(output["message"]);
10576
10546
  }
@@ -10584,46 +10554,35 @@ const deserializeAws_queryContextKeyNamesResultListType = (output, context) => {
10584
10554
  });
10585
10555
  };
10586
10556
  const deserializeAws_queryCreateAccessKeyResponse = (output, context) => {
10587
- const contents = {
10588
- AccessKey: undefined,
10589
- };
10557
+ const contents = {};
10590
10558
  if (output["AccessKey"] !== undefined) {
10591
10559
  contents.AccessKey = deserializeAws_queryAccessKey(output["AccessKey"], context);
10592
10560
  }
10593
10561
  return contents;
10594
10562
  };
10595
10563
  const deserializeAws_queryCreateGroupResponse = (output, context) => {
10596
- const contents = {
10597
- Group: undefined,
10598
- };
10564
+ const contents = {};
10599
10565
  if (output["Group"] !== undefined) {
10600
10566
  contents.Group = deserializeAws_queryGroup(output["Group"], context);
10601
10567
  }
10602
10568
  return contents;
10603
10569
  };
10604
10570
  const deserializeAws_queryCreateInstanceProfileResponse = (output, context) => {
10605
- const contents = {
10606
- InstanceProfile: undefined,
10607
- };
10571
+ const contents = {};
10608
10572
  if (output["InstanceProfile"] !== undefined) {
10609
10573
  contents.InstanceProfile = deserializeAws_queryInstanceProfile(output["InstanceProfile"], context);
10610
10574
  }
10611
10575
  return contents;
10612
10576
  };
10613
10577
  const deserializeAws_queryCreateLoginProfileResponse = (output, context) => {
10614
- const contents = {
10615
- LoginProfile: undefined,
10616
- };
10578
+ const contents = {};
10617
10579
  if (output["LoginProfile"] !== undefined) {
10618
10580
  contents.LoginProfile = deserializeAws_queryLoginProfile(output["LoginProfile"], context);
10619
10581
  }
10620
10582
  return contents;
10621
10583
  };
10622
10584
  const deserializeAws_queryCreateOpenIDConnectProviderResponse = (output, context) => {
10623
- const contents = {
10624
- OpenIDConnectProviderArn: undefined,
10625
- Tags: undefined,
10626
- };
10585
+ const contents = {};
10627
10586
  if (output["OpenIDConnectProviderArn"] !== undefined) {
10628
10587
  contents.OpenIDConnectProviderArn = __expectString(output["OpenIDConnectProviderArn"]);
10629
10588
  }
@@ -10636,37 +10595,28 @@ const deserializeAws_queryCreateOpenIDConnectProviderResponse = (output, context
10636
10595
  return contents;
10637
10596
  };
10638
10597
  const deserializeAws_queryCreatePolicyResponse = (output, context) => {
10639
- const contents = {
10640
- Policy: undefined,
10641
- };
10598
+ const contents = {};
10642
10599
  if (output["Policy"] !== undefined) {
10643
10600
  contents.Policy = deserializeAws_queryPolicy(output["Policy"], context);
10644
10601
  }
10645
10602
  return contents;
10646
10603
  };
10647
10604
  const deserializeAws_queryCreatePolicyVersionResponse = (output, context) => {
10648
- const contents = {
10649
- PolicyVersion: undefined,
10650
- };
10605
+ const contents = {};
10651
10606
  if (output["PolicyVersion"] !== undefined) {
10652
10607
  contents.PolicyVersion = deserializeAws_queryPolicyVersion(output["PolicyVersion"], context);
10653
10608
  }
10654
10609
  return contents;
10655
10610
  };
10656
10611
  const deserializeAws_queryCreateRoleResponse = (output, context) => {
10657
- const contents = {
10658
- Role: undefined,
10659
- };
10612
+ const contents = {};
10660
10613
  if (output["Role"] !== undefined) {
10661
10614
  contents.Role = deserializeAws_queryRole(output["Role"], context);
10662
10615
  }
10663
10616
  return contents;
10664
10617
  };
10665
10618
  const deserializeAws_queryCreateSAMLProviderResponse = (output, context) => {
10666
- const contents = {
10667
- SAMLProviderArn: undefined,
10668
- Tags: undefined,
10669
- };
10619
+ const contents = {};
10670
10620
  if (output["SAMLProviderArn"] !== undefined) {
10671
10621
  contents.SAMLProviderArn = __expectString(output["SAMLProviderArn"]);
10672
10622
  }
@@ -10679,91 +10629,70 @@ const deserializeAws_queryCreateSAMLProviderResponse = (output, context) => {
10679
10629
  return contents;
10680
10630
  };
10681
10631
  const deserializeAws_queryCreateServiceLinkedRoleResponse = (output, context) => {
10682
- const contents = {
10683
- Role: undefined,
10684
- };
10632
+ const contents = {};
10685
10633
  if (output["Role"] !== undefined) {
10686
10634
  contents.Role = deserializeAws_queryRole(output["Role"], context);
10687
10635
  }
10688
10636
  return contents;
10689
10637
  };
10690
10638
  const deserializeAws_queryCreateServiceSpecificCredentialResponse = (output, context) => {
10691
- const contents = {
10692
- ServiceSpecificCredential: undefined,
10693
- };
10639
+ const contents = {};
10694
10640
  if (output["ServiceSpecificCredential"] !== undefined) {
10695
10641
  contents.ServiceSpecificCredential = deserializeAws_queryServiceSpecificCredential(output["ServiceSpecificCredential"], context);
10696
10642
  }
10697
10643
  return contents;
10698
10644
  };
10699
10645
  const deserializeAws_queryCreateUserResponse = (output, context) => {
10700
- const contents = {
10701
- User: undefined,
10702
- };
10646
+ const contents = {};
10703
10647
  if (output["User"] !== undefined) {
10704
10648
  contents.User = deserializeAws_queryUser(output["User"], context);
10705
10649
  }
10706
10650
  return contents;
10707
10651
  };
10708
10652
  const deserializeAws_queryCreateVirtualMFADeviceResponse = (output, context) => {
10709
- const contents = {
10710
- VirtualMFADevice: undefined,
10711
- };
10653
+ const contents = {};
10712
10654
  if (output["VirtualMFADevice"] !== undefined) {
10713
10655
  contents.VirtualMFADevice = deserializeAws_queryVirtualMFADevice(output["VirtualMFADevice"], context);
10714
10656
  }
10715
10657
  return contents;
10716
10658
  };
10717
10659
  const deserializeAws_queryCredentialReportExpiredException = (output, context) => {
10718
- const contents = {
10719
- message: undefined,
10720
- };
10660
+ const contents = {};
10721
10661
  if (output["message"] !== undefined) {
10722
10662
  contents.message = __expectString(output["message"]);
10723
10663
  }
10724
10664
  return contents;
10725
10665
  };
10726
10666
  const deserializeAws_queryCredentialReportNotPresentException = (output, context) => {
10727
- const contents = {
10728
- message: undefined,
10729
- };
10667
+ const contents = {};
10730
10668
  if (output["message"] !== undefined) {
10731
10669
  contents.message = __expectString(output["message"]);
10732
10670
  }
10733
10671
  return contents;
10734
10672
  };
10735
10673
  const deserializeAws_queryCredentialReportNotReadyException = (output, context) => {
10736
- const contents = {
10737
- message: undefined,
10738
- };
10674
+ const contents = {};
10739
10675
  if (output["message"] !== undefined) {
10740
10676
  contents.message = __expectString(output["message"]);
10741
10677
  }
10742
10678
  return contents;
10743
10679
  };
10744
10680
  const deserializeAws_queryDeleteConflictException = (output, context) => {
10745
- const contents = {
10746
- message: undefined,
10747
- };
10681
+ const contents = {};
10748
10682
  if (output["message"] !== undefined) {
10749
10683
  contents.message = __expectString(output["message"]);
10750
10684
  }
10751
10685
  return contents;
10752
10686
  };
10753
10687
  const deserializeAws_queryDeleteServiceLinkedRoleResponse = (output, context) => {
10754
- const contents = {
10755
- DeletionTaskId: undefined,
10756
- };
10688
+ const contents = {};
10757
10689
  if (output["DeletionTaskId"] !== undefined) {
10758
10690
  contents.DeletionTaskId = __expectString(output["DeletionTaskId"]);
10759
10691
  }
10760
10692
  return contents;
10761
10693
  };
10762
10694
  const deserializeAws_queryDeletionTaskFailureReasonType = (output, context) => {
10763
- const contents = {
10764
- Reason: undefined,
10765
- RoleUsageList: undefined,
10766
- };
10695
+ const contents = {};
10767
10696
  if (output["Reason"] !== undefined) {
10768
10697
  contents.Reason = __expectString(output["Reason"]);
10769
10698
  }
@@ -10776,37 +10705,28 @@ const deserializeAws_queryDeletionTaskFailureReasonType = (output, context) => {
10776
10705
  return contents;
10777
10706
  };
10778
10707
  const deserializeAws_queryDuplicateCertificateException = (output, context) => {
10779
- const contents = {
10780
- message: undefined,
10781
- };
10708
+ const contents = {};
10782
10709
  if (output["message"] !== undefined) {
10783
10710
  contents.message = __expectString(output["message"]);
10784
10711
  }
10785
10712
  return contents;
10786
10713
  };
10787
10714
  const deserializeAws_queryDuplicateSSHPublicKeyException = (output, context) => {
10788
- const contents = {
10789
- message: undefined,
10790
- };
10715
+ const contents = {};
10791
10716
  if (output["message"] !== undefined) {
10792
10717
  contents.message = __expectString(output["message"]);
10793
10718
  }
10794
10719
  return contents;
10795
10720
  };
10796
10721
  const deserializeAws_queryEntityAlreadyExistsException = (output, context) => {
10797
- const contents = {
10798
- message: undefined,
10799
- };
10722
+ const contents = {};
10800
10723
  if (output["message"] !== undefined) {
10801
10724
  contents.message = __expectString(output["message"]);
10802
10725
  }
10803
10726
  return contents;
10804
10727
  };
10805
10728
  const deserializeAws_queryEntityDetails = (output, context) => {
10806
- const contents = {
10807
- EntityInfo: undefined,
10808
- LastAuthenticated: undefined,
10809
- };
10729
+ const contents = {};
10810
10730
  if (output["EntityInfo"] !== undefined) {
10811
10731
  contents.EntityInfo = deserializeAws_queryEntityInfo(output["EntityInfo"], context);
10812
10732
  }
@@ -10823,13 +10743,7 @@ const deserializeAws_queryentityDetailsListType = (output, context) => {
10823
10743
  });
10824
10744
  };
10825
10745
  const deserializeAws_queryEntityInfo = (output, context) => {
10826
- const contents = {
10827
- Arn: undefined,
10828
- Name: undefined,
10829
- Type: undefined,
10830
- Id: undefined,
10831
- Path: undefined,
10832
- };
10746
+ const contents = {};
10833
10747
  if (output["Arn"] !== undefined) {
10834
10748
  contents.Arn = __expectString(output["Arn"]);
10835
10749
  }
@@ -10848,19 +10762,14 @@ const deserializeAws_queryEntityInfo = (output, context) => {
10848
10762
  return contents;
10849
10763
  };
10850
10764
  const deserializeAws_queryEntityTemporarilyUnmodifiableException = (output, context) => {
10851
- const contents = {
10852
- message: undefined,
10853
- };
10765
+ const contents = {};
10854
10766
  if (output["message"] !== undefined) {
10855
10767
  contents.message = __expectString(output["message"]);
10856
10768
  }
10857
10769
  return contents;
10858
10770
  };
10859
10771
  const deserializeAws_queryErrorDetails = (output, context) => {
10860
- const contents = {
10861
- Message: undefined,
10862
- Code: undefined,
10863
- };
10772
+ const contents = {};
10864
10773
  if (output["Message"] !== undefined) {
10865
10774
  contents.Message = __expectString(output["Message"]);
10866
10775
  }
@@ -10879,17 +10788,7 @@ const deserializeAws_queryEvalDecisionDetailsType = (output, context) => {
10879
10788
  }, {});
10880
10789
  };
10881
10790
  const deserializeAws_queryEvaluationResult = (output, context) => {
10882
- const contents = {
10883
- EvalActionName: undefined,
10884
- EvalResourceName: undefined,
10885
- EvalDecision: undefined,
10886
- MatchedStatements: undefined,
10887
- MissingContextValues: undefined,
10888
- OrganizationsDecisionDetail: undefined,
10889
- PermissionsBoundaryDecisionDetail: undefined,
10890
- EvalDecisionDetails: undefined,
10891
- ResourceSpecificResults: undefined,
10892
- };
10791
+ const contents = {};
10893
10792
  if (output["EvalActionName"] !== undefined) {
10894
10793
  contents.EvalActionName = __expectString(output["EvalActionName"]);
10895
10794
  }
@@ -10940,10 +10839,7 @@ const deserializeAws_queryEvaluationResultsListType = (output, context) => {
10940
10839
  });
10941
10840
  };
10942
10841
  const deserializeAws_queryGenerateCredentialReportResponse = (output, context) => {
10943
- const contents = {
10944
- State: undefined,
10945
- Description: undefined,
10946
- };
10842
+ const contents = {};
10947
10843
  if (output["State"] !== undefined) {
10948
10844
  contents.State = __expectString(output["State"]);
10949
10845
  }
@@ -10953,28 +10849,21 @@ const deserializeAws_queryGenerateCredentialReportResponse = (output, context) =
10953
10849
  return contents;
10954
10850
  };
10955
10851
  const deserializeAws_queryGenerateOrganizationsAccessReportResponse = (output, context) => {
10956
- const contents = {
10957
- JobId: undefined,
10958
- };
10852
+ const contents = {};
10959
10853
  if (output["JobId"] !== undefined) {
10960
10854
  contents.JobId = __expectString(output["JobId"]);
10961
10855
  }
10962
10856
  return contents;
10963
10857
  };
10964
10858
  const deserializeAws_queryGenerateServiceLastAccessedDetailsResponse = (output, context) => {
10965
- const contents = {
10966
- JobId: undefined,
10967
- };
10859
+ const contents = {};
10968
10860
  if (output["JobId"] !== undefined) {
10969
10861
  contents.JobId = __expectString(output["JobId"]);
10970
10862
  }
10971
10863
  return contents;
10972
10864
  };
10973
10865
  const deserializeAws_queryGetAccessKeyLastUsedResponse = (output, context) => {
10974
- const contents = {
10975
- UserName: undefined,
10976
- AccessKeyLastUsed: undefined,
10977
- };
10866
+ const contents = {};
10978
10867
  if (output["UserName"] !== undefined) {
10979
10868
  contents.UserName = __expectString(output["UserName"]);
10980
10869
  }
@@ -10984,14 +10873,7 @@ const deserializeAws_queryGetAccessKeyLastUsedResponse = (output, context) => {
10984
10873
  return contents;
10985
10874
  };
10986
10875
  const deserializeAws_queryGetAccountAuthorizationDetailsResponse = (output, context) => {
10987
- const contents = {
10988
- UserDetailList: undefined,
10989
- GroupDetailList: undefined,
10990
- RoleDetailList: undefined,
10991
- Policies: undefined,
10992
- IsTruncated: undefined,
10993
- Marker: undefined,
10994
- };
10876
+ const contents = {};
10995
10877
  if (output.UserDetailList === "") {
10996
10878
  contents.UserDetailList = [];
10997
10879
  }
@@ -11025,18 +10907,14 @@ const deserializeAws_queryGetAccountAuthorizationDetailsResponse = (output, cont
11025
10907
  return contents;
11026
10908
  };
11027
10909
  const deserializeAws_queryGetAccountPasswordPolicyResponse = (output, context) => {
11028
- const contents = {
11029
- PasswordPolicy: undefined,
11030
- };
10910
+ const contents = {};
11031
10911
  if (output["PasswordPolicy"] !== undefined) {
11032
10912
  contents.PasswordPolicy = deserializeAws_queryPasswordPolicy(output["PasswordPolicy"], context);
11033
10913
  }
11034
10914
  return contents;
11035
10915
  };
11036
10916
  const deserializeAws_queryGetAccountSummaryResponse = (output, context) => {
11037
- const contents = {
11038
- SummaryMap: undefined,
11039
- };
10917
+ const contents = {};
11040
10918
  if (output.SummaryMap === "") {
11041
10919
  contents.SummaryMap = {};
11042
10920
  }
@@ -11046,9 +10924,7 @@ const deserializeAws_queryGetAccountSummaryResponse = (output, context) => {
11046
10924
  return contents;
11047
10925
  };
11048
10926
  const deserializeAws_queryGetContextKeysForPolicyResponse = (output, context) => {
11049
- const contents = {
11050
- ContextKeyNames: undefined,
11051
- };
10927
+ const contents = {};
11052
10928
  if (output.ContextKeyNames === "") {
11053
10929
  contents.ContextKeyNames = [];
11054
10930
  }
@@ -11058,11 +10934,7 @@ const deserializeAws_queryGetContextKeysForPolicyResponse = (output, context) =>
11058
10934
  return contents;
11059
10935
  };
11060
10936
  const deserializeAws_queryGetCredentialReportResponse = (output, context) => {
11061
- const contents = {
11062
- Content: undefined,
11063
- ReportFormat: undefined,
11064
- GeneratedTime: undefined,
11065
- };
10937
+ const contents = {};
11066
10938
  if (output["Content"] !== undefined) {
11067
10939
  contents.Content = context.base64Decoder(output["Content"]);
11068
10940
  }
@@ -11075,11 +10947,7 @@ const deserializeAws_queryGetCredentialReportResponse = (output, context) => {
11075
10947
  return contents;
11076
10948
  };
11077
10949
  const deserializeAws_queryGetGroupPolicyResponse = (output, context) => {
11078
- const contents = {
11079
- GroupName: undefined,
11080
- PolicyName: undefined,
11081
- PolicyDocument: undefined,
11082
- };
10950
+ const contents = {};
11083
10951
  if (output["GroupName"] !== undefined) {
11084
10952
  contents.GroupName = __expectString(output["GroupName"]);
11085
10953
  }
@@ -11092,12 +10960,7 @@ const deserializeAws_queryGetGroupPolicyResponse = (output, context) => {
11092
10960
  return contents;
11093
10961
  };
11094
10962
  const deserializeAws_queryGetGroupResponse = (output, context) => {
11095
- const contents = {
11096
- Group: undefined,
11097
- Users: undefined,
11098
- IsTruncated: undefined,
11099
- Marker: undefined,
11100
- };
10963
+ const contents = {};
11101
10964
  if (output["Group"] !== undefined) {
11102
10965
  contents.Group = deserializeAws_queryGroup(output["Group"], context);
11103
10966
  }
@@ -11116,31 +10979,21 @@ const deserializeAws_queryGetGroupResponse = (output, context) => {
11116
10979
  return contents;
11117
10980
  };
11118
10981
  const deserializeAws_queryGetInstanceProfileResponse = (output, context) => {
11119
- const contents = {
11120
- InstanceProfile: undefined,
11121
- };
10982
+ const contents = {};
11122
10983
  if (output["InstanceProfile"] !== undefined) {
11123
10984
  contents.InstanceProfile = deserializeAws_queryInstanceProfile(output["InstanceProfile"], context);
11124
10985
  }
11125
10986
  return contents;
11126
10987
  };
11127
10988
  const deserializeAws_queryGetLoginProfileResponse = (output, context) => {
11128
- const contents = {
11129
- LoginProfile: undefined,
11130
- };
10989
+ const contents = {};
11131
10990
  if (output["LoginProfile"] !== undefined) {
11132
10991
  contents.LoginProfile = deserializeAws_queryLoginProfile(output["LoginProfile"], context);
11133
10992
  }
11134
10993
  return contents;
11135
10994
  };
11136
10995
  const deserializeAws_queryGetOpenIDConnectProviderResponse = (output, context) => {
11137
- const contents = {
11138
- Url: undefined,
11139
- ClientIDList: undefined,
11140
- ThumbprintList: undefined,
11141
- CreateDate: undefined,
11142
- Tags: undefined,
11143
- };
10996
+ const contents = {};
11144
10997
  if (output["Url"] !== undefined) {
11145
10998
  contents.Url = __expectString(output["Url"]);
11146
10999
  }
@@ -11168,17 +11021,7 @@ const deserializeAws_queryGetOpenIDConnectProviderResponse = (output, context) =
11168
11021
  return contents;
11169
11022
  };
11170
11023
  const deserializeAws_queryGetOrganizationsAccessReportResponse = (output, context) => {
11171
- const contents = {
11172
- JobStatus: undefined,
11173
- JobCreationDate: undefined,
11174
- JobCompletionDate: undefined,
11175
- NumberOfServicesAccessible: undefined,
11176
- NumberOfServicesNotAccessed: undefined,
11177
- AccessDetails: undefined,
11178
- IsTruncated: undefined,
11179
- Marker: undefined,
11180
- ErrorDetails: undefined,
11181
- };
11024
+ const contents = {};
11182
11025
  if (output["JobStatus"] !== undefined) {
11183
11026
  contents.JobStatus = __expectString(output["JobStatus"]);
11184
11027
  }
@@ -11212,29 +11055,21 @@ const deserializeAws_queryGetOrganizationsAccessReportResponse = (output, contex
11212
11055
  return contents;
11213
11056
  };
11214
11057
  const deserializeAws_queryGetPolicyResponse = (output, context) => {
11215
- const contents = {
11216
- Policy: undefined,
11217
- };
11058
+ const contents = {};
11218
11059
  if (output["Policy"] !== undefined) {
11219
11060
  contents.Policy = deserializeAws_queryPolicy(output["Policy"], context);
11220
11061
  }
11221
11062
  return contents;
11222
11063
  };
11223
11064
  const deserializeAws_queryGetPolicyVersionResponse = (output, context) => {
11224
- const contents = {
11225
- PolicyVersion: undefined,
11226
- };
11065
+ const contents = {};
11227
11066
  if (output["PolicyVersion"] !== undefined) {
11228
11067
  contents.PolicyVersion = deserializeAws_queryPolicyVersion(output["PolicyVersion"], context);
11229
11068
  }
11230
11069
  return contents;
11231
11070
  };
11232
11071
  const deserializeAws_queryGetRolePolicyResponse = (output, context) => {
11233
- const contents = {
11234
- RoleName: undefined,
11235
- PolicyName: undefined,
11236
- PolicyDocument: undefined,
11237
- };
11072
+ const contents = {};
11238
11073
  if (output["RoleName"] !== undefined) {
11239
11074
  contents.RoleName = __expectString(output["RoleName"]);
11240
11075
  }
@@ -11247,21 +11082,14 @@ const deserializeAws_queryGetRolePolicyResponse = (output, context) => {
11247
11082
  return contents;
11248
11083
  };
11249
11084
  const deserializeAws_queryGetRoleResponse = (output, context) => {
11250
- const contents = {
11251
- Role: undefined,
11252
- };
11085
+ const contents = {};
11253
11086
  if (output["Role"] !== undefined) {
11254
11087
  contents.Role = deserializeAws_queryRole(output["Role"], context);
11255
11088
  }
11256
11089
  return contents;
11257
11090
  };
11258
11091
  const deserializeAws_queryGetSAMLProviderResponse = (output, context) => {
11259
- const contents = {
11260
- SAMLMetadataDocument: undefined,
11261
- CreateDate: undefined,
11262
- ValidUntil: undefined,
11263
- Tags: undefined,
11264
- };
11092
+ const contents = {};
11265
11093
  if (output["SAMLMetadataDocument"] !== undefined) {
11266
11094
  contents.SAMLMetadataDocument = __expectString(output["SAMLMetadataDocument"]);
11267
11095
  }
@@ -11280,25 +11108,14 @@ const deserializeAws_queryGetSAMLProviderResponse = (output, context) => {
11280
11108
  return contents;
11281
11109
  };
11282
11110
  const deserializeAws_queryGetServerCertificateResponse = (output, context) => {
11283
- const contents = {
11284
- ServerCertificate: undefined,
11285
- };
11111
+ const contents = {};
11286
11112
  if (output["ServerCertificate"] !== undefined) {
11287
11113
  contents.ServerCertificate = deserializeAws_queryServerCertificate(output["ServerCertificate"], context);
11288
11114
  }
11289
11115
  return contents;
11290
11116
  };
11291
11117
  const deserializeAws_queryGetServiceLastAccessedDetailsResponse = (output, context) => {
11292
- const contents = {
11293
- JobStatus: undefined,
11294
- JobType: undefined,
11295
- JobCreationDate: undefined,
11296
- ServicesLastAccessed: undefined,
11297
- JobCompletionDate: undefined,
11298
- IsTruncated: undefined,
11299
- Marker: undefined,
11300
- Error: undefined,
11301
- };
11118
+ const contents = {};
11302
11119
  if (output["JobStatus"] !== undefined) {
11303
11120
  contents.JobStatus = __expectString(output["JobStatus"]);
11304
11121
  }
@@ -11329,15 +11146,7 @@ const deserializeAws_queryGetServiceLastAccessedDetailsResponse = (output, conte
11329
11146
  return contents;
11330
11147
  };
11331
11148
  const deserializeAws_queryGetServiceLastAccessedDetailsWithEntitiesResponse = (output, context) => {
11332
- const contents = {
11333
- JobStatus: undefined,
11334
- JobCreationDate: undefined,
11335
- JobCompletionDate: undefined,
11336
- EntityDetailsList: undefined,
11337
- IsTruncated: undefined,
11338
- Marker: undefined,
11339
- Error: undefined,
11340
- };
11149
+ const contents = {};
11341
11150
  if (output["JobStatus"] !== undefined) {
11342
11151
  contents.JobStatus = __expectString(output["JobStatus"]);
11343
11152
  }
@@ -11365,10 +11174,7 @@ const deserializeAws_queryGetServiceLastAccessedDetailsWithEntitiesResponse = (o
11365
11174
  return contents;
11366
11175
  };
11367
11176
  const deserializeAws_queryGetServiceLinkedRoleDeletionStatusResponse = (output, context) => {
11368
- const contents = {
11369
- Status: undefined,
11370
- Reason: undefined,
11371
- };
11177
+ const contents = {};
11372
11178
  if (output["Status"] !== undefined) {
11373
11179
  contents.Status = __expectString(output["Status"]);
11374
11180
  }
@@ -11378,20 +11184,14 @@ const deserializeAws_queryGetServiceLinkedRoleDeletionStatusResponse = (output,
11378
11184
  return contents;
11379
11185
  };
11380
11186
  const deserializeAws_queryGetSSHPublicKeyResponse = (output, context) => {
11381
- const contents = {
11382
- SSHPublicKey: undefined,
11383
- };
11187
+ const contents = {};
11384
11188
  if (output["SSHPublicKey"] !== undefined) {
11385
11189
  contents.SSHPublicKey = deserializeAws_querySSHPublicKey(output["SSHPublicKey"], context);
11386
11190
  }
11387
11191
  return contents;
11388
11192
  };
11389
11193
  const deserializeAws_queryGetUserPolicyResponse = (output, context) => {
11390
- const contents = {
11391
- UserName: undefined,
11392
- PolicyName: undefined,
11393
- PolicyDocument: undefined,
11394
- };
11194
+ const contents = {};
11395
11195
  if (output["UserName"] !== undefined) {
11396
11196
  contents.UserName = __expectString(output["UserName"]);
11397
11197
  }
@@ -11404,22 +11204,14 @@ const deserializeAws_queryGetUserPolicyResponse = (output, context) => {
11404
11204
  return contents;
11405
11205
  };
11406
11206
  const deserializeAws_queryGetUserResponse = (output, context) => {
11407
- const contents = {
11408
- User: undefined,
11409
- };
11207
+ const contents = {};
11410
11208
  if (output["User"] !== undefined) {
11411
11209
  contents.User = deserializeAws_queryUser(output["User"], context);
11412
11210
  }
11413
11211
  return contents;
11414
11212
  };
11415
11213
  const deserializeAws_queryGroup = (output, context) => {
11416
- const contents = {
11417
- Path: undefined,
11418
- GroupName: undefined,
11419
- GroupId: undefined,
11420
- Arn: undefined,
11421
- CreateDate: undefined,
11422
- };
11214
+ const contents = {};
11423
11215
  if (output["Path"] !== undefined) {
11424
11216
  contents.Path = __expectString(output["Path"]);
11425
11217
  }
@@ -11438,15 +11230,7 @@ const deserializeAws_queryGroup = (output, context) => {
11438
11230
  return contents;
11439
11231
  };
11440
11232
  const deserializeAws_queryGroupDetail = (output, context) => {
11441
- const contents = {
11442
- Path: undefined,
11443
- GroupName: undefined,
11444
- GroupId: undefined,
11445
- Arn: undefined,
11446
- CreateDate: undefined,
11447
- GroupPolicyList: undefined,
11448
- AttachedManagedPolicies: undefined,
11449
- };
11233
+ const contents = {};
11450
11234
  if (output["Path"] !== undefined) {
11451
11235
  contents.Path = __expectString(output["Path"]);
11452
11236
  }
@@ -11499,15 +11283,7 @@ const deserializeAws_querygroupNameListType = (output, context) => {
11499
11283
  });
11500
11284
  };
11501
11285
  const deserializeAws_queryInstanceProfile = (output, context) => {
11502
- const contents = {
11503
- Path: undefined,
11504
- InstanceProfileName: undefined,
11505
- InstanceProfileId: undefined,
11506
- Arn: undefined,
11507
- CreateDate: undefined,
11508
- Roles: undefined,
11509
- Tags: undefined,
11510
- };
11286
+ const contents = {};
11511
11287
  if (output["Path"] !== undefined) {
11512
11288
  contents.Path = __expectString(output["Path"]);
11513
11289
  }
@@ -11545,74 +11321,56 @@ const deserializeAws_queryinstanceProfileListType = (output, context) => {
11545
11321
  });
11546
11322
  };
11547
11323
  const deserializeAws_queryInvalidAuthenticationCodeException = (output, context) => {
11548
- const contents = {
11549
- message: undefined,
11550
- };
11324
+ const contents = {};
11551
11325
  if (output["message"] !== undefined) {
11552
11326
  contents.message = __expectString(output["message"]);
11553
11327
  }
11554
11328
  return contents;
11555
11329
  };
11556
11330
  const deserializeAws_queryInvalidCertificateException = (output, context) => {
11557
- const contents = {
11558
- message: undefined,
11559
- };
11331
+ const contents = {};
11560
11332
  if (output["message"] !== undefined) {
11561
11333
  contents.message = __expectString(output["message"]);
11562
11334
  }
11563
11335
  return contents;
11564
11336
  };
11565
11337
  const deserializeAws_queryInvalidInputException = (output, context) => {
11566
- const contents = {
11567
- message: undefined,
11568
- };
11338
+ const contents = {};
11569
11339
  if (output["message"] !== undefined) {
11570
11340
  contents.message = __expectString(output["message"]);
11571
11341
  }
11572
11342
  return contents;
11573
11343
  };
11574
11344
  const deserializeAws_queryInvalidPublicKeyException = (output, context) => {
11575
- const contents = {
11576
- message: undefined,
11577
- };
11345
+ const contents = {};
11578
11346
  if (output["message"] !== undefined) {
11579
11347
  contents.message = __expectString(output["message"]);
11580
11348
  }
11581
11349
  return contents;
11582
11350
  };
11583
11351
  const deserializeAws_queryInvalidUserTypeException = (output, context) => {
11584
- const contents = {
11585
- message: undefined,
11586
- };
11352
+ const contents = {};
11587
11353
  if (output["message"] !== undefined) {
11588
11354
  contents.message = __expectString(output["message"]);
11589
11355
  }
11590
11356
  return contents;
11591
11357
  };
11592
11358
  const deserializeAws_queryKeyPairMismatchException = (output, context) => {
11593
- const contents = {
11594
- message: undefined,
11595
- };
11359
+ const contents = {};
11596
11360
  if (output["message"] !== undefined) {
11597
11361
  contents.message = __expectString(output["message"]);
11598
11362
  }
11599
11363
  return contents;
11600
11364
  };
11601
11365
  const deserializeAws_queryLimitExceededException = (output, context) => {
11602
- const contents = {
11603
- message: undefined,
11604
- };
11366
+ const contents = {};
11605
11367
  if (output["message"] !== undefined) {
11606
11368
  contents.message = __expectString(output["message"]);
11607
11369
  }
11608
11370
  return contents;
11609
11371
  };
11610
11372
  const deserializeAws_queryListAccessKeysResponse = (output, context) => {
11611
- const contents = {
11612
- AccessKeyMetadata: undefined,
11613
- IsTruncated: undefined,
11614
- Marker: undefined,
11615
- };
11373
+ const contents = {};
11616
11374
  if (output.AccessKeyMetadata === "") {
11617
11375
  contents.AccessKeyMetadata = [];
11618
11376
  }
@@ -11628,11 +11386,7 @@ const deserializeAws_queryListAccessKeysResponse = (output, context) => {
11628
11386
  return contents;
11629
11387
  };
11630
11388
  const deserializeAws_queryListAccountAliasesResponse = (output, context) => {
11631
- const contents = {
11632
- AccountAliases: undefined,
11633
- IsTruncated: undefined,
11634
- Marker: undefined,
11635
- };
11389
+ const contents = {};
11636
11390
  if (output.AccountAliases === "") {
11637
11391
  contents.AccountAliases = [];
11638
11392
  }
@@ -11648,11 +11402,7 @@ const deserializeAws_queryListAccountAliasesResponse = (output, context) => {
11648
11402
  return contents;
11649
11403
  };
11650
11404
  const deserializeAws_queryListAttachedGroupPoliciesResponse = (output, context) => {
11651
- const contents = {
11652
- AttachedPolicies: undefined,
11653
- IsTruncated: undefined,
11654
- Marker: undefined,
11655
- };
11405
+ const contents = {};
11656
11406
  if (output.AttachedPolicies === "") {
11657
11407
  contents.AttachedPolicies = [];
11658
11408
  }
@@ -11668,11 +11418,7 @@ const deserializeAws_queryListAttachedGroupPoliciesResponse = (output, context)
11668
11418
  return contents;
11669
11419
  };
11670
11420
  const deserializeAws_queryListAttachedRolePoliciesResponse = (output, context) => {
11671
- const contents = {
11672
- AttachedPolicies: undefined,
11673
- IsTruncated: undefined,
11674
- Marker: undefined,
11675
- };
11421
+ const contents = {};
11676
11422
  if (output.AttachedPolicies === "") {
11677
11423
  contents.AttachedPolicies = [];
11678
11424
  }
@@ -11688,11 +11434,7 @@ const deserializeAws_queryListAttachedRolePoliciesResponse = (output, context) =
11688
11434
  return contents;
11689
11435
  };
11690
11436
  const deserializeAws_queryListAttachedUserPoliciesResponse = (output, context) => {
11691
- const contents = {
11692
- AttachedPolicies: undefined,
11693
- IsTruncated: undefined,
11694
- Marker: undefined,
11695
- };
11437
+ const contents = {};
11696
11438
  if (output.AttachedPolicies === "") {
11697
11439
  contents.AttachedPolicies = [];
11698
11440
  }
@@ -11708,13 +11450,7 @@ const deserializeAws_queryListAttachedUserPoliciesResponse = (output, context) =
11708
11450
  return contents;
11709
11451
  };
11710
11452
  const deserializeAws_queryListEntitiesForPolicyResponse = (output, context) => {
11711
- const contents = {
11712
- PolicyGroups: undefined,
11713
- PolicyUsers: undefined,
11714
- PolicyRoles: undefined,
11715
- IsTruncated: undefined,
11716
- Marker: undefined,
11717
- };
11453
+ const contents = {};
11718
11454
  if (output.PolicyGroups === "") {
11719
11455
  contents.PolicyGroups = [];
11720
11456
  }
@@ -11742,11 +11478,7 @@ const deserializeAws_queryListEntitiesForPolicyResponse = (output, context) => {
11742
11478
  return contents;
11743
11479
  };
11744
11480
  const deserializeAws_queryListGroupPoliciesResponse = (output, context) => {
11745
- const contents = {
11746
- PolicyNames: undefined,
11747
- IsTruncated: undefined,
11748
- Marker: undefined,
11749
- };
11481
+ const contents = {};
11750
11482
  if (output.PolicyNames === "") {
11751
11483
  contents.PolicyNames = [];
11752
11484
  }
@@ -11762,11 +11494,7 @@ const deserializeAws_queryListGroupPoliciesResponse = (output, context) => {
11762
11494
  return contents;
11763
11495
  };
11764
11496
  const deserializeAws_queryListGroupsForUserResponse = (output, context) => {
11765
- const contents = {
11766
- Groups: undefined,
11767
- IsTruncated: undefined,
11768
- Marker: undefined,
11769
- };
11497
+ const contents = {};
11770
11498
  if (output.Groups === "") {
11771
11499
  contents.Groups = [];
11772
11500
  }
@@ -11782,11 +11510,7 @@ const deserializeAws_queryListGroupsForUserResponse = (output, context) => {
11782
11510
  return contents;
11783
11511
  };
11784
11512
  const deserializeAws_queryListGroupsResponse = (output, context) => {
11785
- const contents = {
11786
- Groups: undefined,
11787
- IsTruncated: undefined,
11788
- Marker: undefined,
11789
- };
11513
+ const contents = {};
11790
11514
  if (output.Groups === "") {
11791
11515
  contents.Groups = [];
11792
11516
  }
@@ -11802,11 +11526,7 @@ const deserializeAws_queryListGroupsResponse = (output, context) => {
11802
11526
  return contents;
11803
11527
  };
11804
11528
  const deserializeAws_queryListInstanceProfilesForRoleResponse = (output, context) => {
11805
- const contents = {
11806
- InstanceProfiles: undefined,
11807
- IsTruncated: undefined,
11808
- Marker: undefined,
11809
- };
11529
+ const contents = {};
11810
11530
  if (output.InstanceProfiles === "") {
11811
11531
  contents.InstanceProfiles = [];
11812
11532
  }
@@ -11822,11 +11542,7 @@ const deserializeAws_queryListInstanceProfilesForRoleResponse = (output, context
11822
11542
  return contents;
11823
11543
  };
11824
11544
  const deserializeAws_queryListInstanceProfilesResponse = (output, context) => {
11825
- const contents = {
11826
- InstanceProfiles: undefined,
11827
- IsTruncated: undefined,
11828
- Marker: undefined,
11829
- };
11545
+ const contents = {};
11830
11546
  if (output.InstanceProfiles === "") {
11831
11547
  contents.InstanceProfiles = [];
11832
11548
  }
@@ -11842,11 +11558,7 @@ const deserializeAws_queryListInstanceProfilesResponse = (output, context) => {
11842
11558
  return contents;
11843
11559
  };
11844
11560
  const deserializeAws_queryListInstanceProfileTagsResponse = (output, context) => {
11845
- const contents = {
11846
- Tags: undefined,
11847
- IsTruncated: undefined,
11848
- Marker: undefined,
11849
- };
11561
+ const contents = {};
11850
11562
  if (output.Tags === "") {
11851
11563
  contents.Tags = [];
11852
11564
  }
@@ -11862,11 +11574,7 @@ const deserializeAws_queryListInstanceProfileTagsResponse = (output, context) =>
11862
11574
  return contents;
11863
11575
  };
11864
11576
  const deserializeAws_queryListMFADevicesResponse = (output, context) => {
11865
- const contents = {
11866
- MFADevices: undefined,
11867
- IsTruncated: undefined,
11868
- Marker: undefined,
11869
- };
11577
+ const contents = {};
11870
11578
  if (output.MFADevices === "") {
11871
11579
  contents.MFADevices = [];
11872
11580
  }
@@ -11882,11 +11590,7 @@ const deserializeAws_queryListMFADevicesResponse = (output, context) => {
11882
11590
  return contents;
11883
11591
  };
11884
11592
  const deserializeAws_queryListMFADeviceTagsResponse = (output, context) => {
11885
- const contents = {
11886
- Tags: undefined,
11887
- IsTruncated: undefined,
11888
- Marker: undefined,
11889
- };
11593
+ const contents = {};
11890
11594
  if (output.Tags === "") {
11891
11595
  contents.Tags = [];
11892
11596
  }
@@ -11902,9 +11606,7 @@ const deserializeAws_queryListMFADeviceTagsResponse = (output, context) => {
11902
11606
  return contents;
11903
11607
  };
11904
11608
  const deserializeAws_queryListOpenIDConnectProvidersResponse = (output, context) => {
11905
- const contents = {
11906
- OpenIDConnectProviderList: undefined,
11907
- };
11609
+ const contents = {};
11908
11610
  if (output.OpenIDConnectProviderList === "") {
11909
11611
  contents.OpenIDConnectProviderList = [];
11910
11612
  }
@@ -11915,11 +11617,7 @@ const deserializeAws_queryListOpenIDConnectProvidersResponse = (output, context)
11915
11617
  return contents;
11916
11618
  };
11917
11619
  const deserializeAws_queryListOpenIDConnectProviderTagsResponse = (output, context) => {
11918
- const contents = {
11919
- Tags: undefined,
11920
- IsTruncated: undefined,
11921
- Marker: undefined,
11922
- };
11620
+ const contents = {};
11923
11621
  if (output.Tags === "") {
11924
11622
  contents.Tags = [];
11925
11623
  }
@@ -11935,10 +11633,7 @@ const deserializeAws_queryListOpenIDConnectProviderTagsResponse = (output, conte
11935
11633
  return contents;
11936
11634
  };
11937
11635
  const deserializeAws_queryListPoliciesGrantingServiceAccessEntry = (output, context) => {
11938
- const contents = {
11939
- ServiceNamespace: undefined,
11940
- Policies: undefined,
11941
- };
11636
+ const contents = {};
11942
11637
  if (output["ServiceNamespace"] !== undefined) {
11943
11638
  contents.ServiceNamespace = __expectString(output["ServiceNamespace"]);
11944
11639
  }
@@ -11951,11 +11646,7 @@ const deserializeAws_queryListPoliciesGrantingServiceAccessEntry = (output, cont
11951
11646
  return contents;
11952
11647
  };
11953
11648
  const deserializeAws_queryListPoliciesGrantingServiceAccessResponse = (output, context) => {
11954
- const contents = {
11955
- PoliciesGrantingServiceAccess: undefined,
11956
- IsTruncated: undefined,
11957
- Marker: undefined,
11958
- };
11649
+ const contents = {};
11959
11650
  if (output.PoliciesGrantingServiceAccess === "") {
11960
11651
  contents.PoliciesGrantingServiceAccess = [];
11961
11652
  }
@@ -11972,11 +11663,7 @@ const deserializeAws_queryListPoliciesGrantingServiceAccessResponse = (output, c
11972
11663
  return contents;
11973
11664
  };
11974
11665
  const deserializeAws_queryListPoliciesResponse = (output, context) => {
11975
- const contents = {
11976
- Policies: undefined,
11977
- IsTruncated: undefined,
11978
- Marker: undefined,
11979
- };
11666
+ const contents = {};
11980
11667
  if (output.Policies === "") {
11981
11668
  contents.Policies = [];
11982
11669
  }
@@ -11999,11 +11686,7 @@ const deserializeAws_querylistPolicyGrantingServiceAccessResponseListType = (out
11999
11686
  });
12000
11687
  };
12001
11688
  const deserializeAws_queryListPolicyTagsResponse = (output, context) => {
12002
- const contents = {
12003
- Tags: undefined,
12004
- IsTruncated: undefined,
12005
- Marker: undefined,
12006
- };
11689
+ const contents = {};
12007
11690
  if (output.Tags === "") {
12008
11691
  contents.Tags = [];
12009
11692
  }
@@ -12019,11 +11702,7 @@ const deserializeAws_queryListPolicyTagsResponse = (output, context) => {
12019
11702
  return contents;
12020
11703
  };
12021
11704
  const deserializeAws_queryListPolicyVersionsResponse = (output, context) => {
12022
- const contents = {
12023
- Versions: undefined,
12024
- IsTruncated: undefined,
12025
- Marker: undefined,
12026
- };
11705
+ const contents = {};
12027
11706
  if (output.Versions === "") {
12028
11707
  contents.Versions = [];
12029
11708
  }
@@ -12039,11 +11718,7 @@ const deserializeAws_queryListPolicyVersionsResponse = (output, context) => {
12039
11718
  return contents;
12040
11719
  };
12041
11720
  const deserializeAws_queryListRolePoliciesResponse = (output, context) => {
12042
- const contents = {
12043
- PolicyNames: undefined,
12044
- IsTruncated: undefined,
12045
- Marker: undefined,
12046
- };
11721
+ const contents = {};
12047
11722
  if (output.PolicyNames === "") {
12048
11723
  contents.PolicyNames = [];
12049
11724
  }
@@ -12059,11 +11734,7 @@ const deserializeAws_queryListRolePoliciesResponse = (output, context) => {
12059
11734
  return contents;
12060
11735
  };
12061
11736
  const deserializeAws_queryListRolesResponse = (output, context) => {
12062
- const contents = {
12063
- Roles: undefined,
12064
- IsTruncated: undefined,
12065
- Marker: undefined,
12066
- };
11737
+ const contents = {};
12067
11738
  if (output.Roles === "") {
12068
11739
  contents.Roles = [];
12069
11740
  }
@@ -12079,11 +11750,7 @@ const deserializeAws_queryListRolesResponse = (output, context) => {
12079
11750
  return contents;
12080
11751
  };
12081
11752
  const deserializeAws_queryListRoleTagsResponse = (output, context) => {
12082
- const contents = {
12083
- Tags: undefined,
12084
- IsTruncated: undefined,
12085
- Marker: undefined,
12086
- };
11753
+ const contents = {};
12087
11754
  if (output.Tags === "") {
12088
11755
  contents.Tags = [];
12089
11756
  }
@@ -12099,9 +11766,7 @@ const deserializeAws_queryListRoleTagsResponse = (output, context) => {
12099
11766
  return contents;
12100
11767
  };
12101
11768
  const deserializeAws_queryListSAMLProvidersResponse = (output, context) => {
12102
- const contents = {
12103
- SAMLProviderList: undefined,
12104
- };
11769
+ const contents = {};
12105
11770
  if (output.SAMLProviderList === "") {
12106
11771
  contents.SAMLProviderList = [];
12107
11772
  }
@@ -12111,11 +11776,7 @@ const deserializeAws_queryListSAMLProvidersResponse = (output, context) => {
12111
11776
  return contents;
12112
11777
  };
12113
11778
  const deserializeAws_queryListSAMLProviderTagsResponse = (output, context) => {
12114
- const contents = {
12115
- Tags: undefined,
12116
- IsTruncated: undefined,
12117
- Marker: undefined,
12118
- };
11779
+ const contents = {};
12119
11780
  if (output.Tags === "") {
12120
11781
  contents.Tags = [];
12121
11782
  }
@@ -12131,11 +11792,7 @@ const deserializeAws_queryListSAMLProviderTagsResponse = (output, context) => {
12131
11792
  return contents;
12132
11793
  };
12133
11794
  const deserializeAws_queryListServerCertificatesResponse = (output, context) => {
12134
- const contents = {
12135
- ServerCertificateMetadataList: undefined,
12136
- IsTruncated: undefined,
12137
- Marker: undefined,
12138
- };
11795
+ const contents = {};
12139
11796
  if (output.ServerCertificateMetadataList === "") {
12140
11797
  contents.ServerCertificateMetadataList = [];
12141
11798
  }
@@ -12152,11 +11809,7 @@ const deserializeAws_queryListServerCertificatesResponse = (output, context) =>
12152
11809
  return contents;
12153
11810
  };
12154
11811
  const deserializeAws_queryListServerCertificateTagsResponse = (output, context) => {
12155
- const contents = {
12156
- Tags: undefined,
12157
- IsTruncated: undefined,
12158
- Marker: undefined,
12159
- };
11812
+ const contents = {};
12160
11813
  if (output.Tags === "") {
12161
11814
  contents.Tags = [];
12162
11815
  }
@@ -12172,9 +11825,7 @@ const deserializeAws_queryListServerCertificateTagsResponse = (output, context)
12172
11825
  return contents;
12173
11826
  };
12174
11827
  const deserializeAws_queryListServiceSpecificCredentialsResponse = (output, context) => {
12175
- const contents = {
12176
- ServiceSpecificCredentials: undefined,
12177
- };
11828
+ const contents = {};
12178
11829
  if (output.ServiceSpecificCredentials === "") {
12179
11830
  contents.ServiceSpecificCredentials = [];
12180
11831
  }
@@ -12185,11 +11836,7 @@ const deserializeAws_queryListServiceSpecificCredentialsResponse = (output, cont
12185
11836
  return contents;
12186
11837
  };
12187
11838
  const deserializeAws_queryListSigningCertificatesResponse = (output, context) => {
12188
- const contents = {
12189
- Certificates: undefined,
12190
- IsTruncated: undefined,
12191
- Marker: undefined,
12192
- };
11839
+ const contents = {};
12193
11840
  if (output.Certificates === "") {
12194
11841
  contents.Certificates = [];
12195
11842
  }
@@ -12205,11 +11852,7 @@ const deserializeAws_queryListSigningCertificatesResponse = (output, context) =>
12205
11852
  return contents;
12206
11853
  };
12207
11854
  const deserializeAws_queryListSSHPublicKeysResponse = (output, context) => {
12208
- const contents = {
12209
- SSHPublicKeys: undefined,
12210
- IsTruncated: undefined,
12211
- Marker: undefined,
12212
- };
11855
+ const contents = {};
12213
11856
  if (output.SSHPublicKeys === "") {
12214
11857
  contents.SSHPublicKeys = [];
12215
11858
  }
@@ -12225,11 +11868,7 @@ const deserializeAws_queryListSSHPublicKeysResponse = (output, context) => {
12225
11868
  return contents;
12226
11869
  };
12227
11870
  const deserializeAws_queryListUserPoliciesResponse = (output, context) => {
12228
- const contents = {
12229
- PolicyNames: undefined,
12230
- IsTruncated: undefined,
12231
- Marker: undefined,
12232
- };
11871
+ const contents = {};
12233
11872
  if (output.PolicyNames === "") {
12234
11873
  contents.PolicyNames = [];
12235
11874
  }
@@ -12245,11 +11884,7 @@ const deserializeAws_queryListUserPoliciesResponse = (output, context) => {
12245
11884
  return contents;
12246
11885
  };
12247
11886
  const deserializeAws_queryListUsersResponse = (output, context) => {
12248
- const contents = {
12249
- Users: undefined,
12250
- IsTruncated: undefined,
12251
- Marker: undefined,
12252
- };
11887
+ const contents = {};
12253
11888
  if (output.Users === "") {
12254
11889
  contents.Users = [];
12255
11890
  }
@@ -12265,11 +11900,7 @@ const deserializeAws_queryListUsersResponse = (output, context) => {
12265
11900
  return contents;
12266
11901
  };
12267
11902
  const deserializeAws_queryListUserTagsResponse = (output, context) => {
12268
- const contents = {
12269
- Tags: undefined,
12270
- IsTruncated: undefined,
12271
- Marker: undefined,
12272
- };
11903
+ const contents = {};
12273
11904
  if (output.Tags === "") {
12274
11905
  contents.Tags = [];
12275
11906
  }
@@ -12285,11 +11916,7 @@ const deserializeAws_queryListUserTagsResponse = (output, context) => {
12285
11916
  return contents;
12286
11917
  };
12287
11918
  const deserializeAws_queryListVirtualMFADevicesResponse = (output, context) => {
12288
- const contents = {
12289
- VirtualMFADevices: undefined,
12290
- IsTruncated: undefined,
12291
- Marker: undefined,
12292
- };
11919
+ const contents = {};
12293
11920
  if (output.VirtualMFADevices === "") {
12294
11921
  contents.VirtualMFADevices = [];
12295
11922
  }
@@ -12305,11 +11932,7 @@ const deserializeAws_queryListVirtualMFADevicesResponse = (output, context) => {
12305
11932
  return contents;
12306
11933
  };
12307
11934
  const deserializeAws_queryLoginProfile = (output, context) => {
12308
- const contents = {
12309
- UserName: undefined,
12310
- CreateDate: undefined,
12311
- PasswordResetRequired: undefined,
12312
- };
11935
+ const contents = {};
12313
11936
  if (output["UserName"] !== undefined) {
12314
11937
  contents.UserName = __expectString(output["UserName"]);
12315
11938
  }
@@ -12322,38 +11945,21 @@ const deserializeAws_queryLoginProfile = (output, context) => {
12322
11945
  return contents;
12323
11946
  };
12324
11947
  const deserializeAws_queryMalformedCertificateException = (output, context) => {
12325
- const contents = {
12326
- message: undefined,
12327
- };
11948
+ const contents = {};
12328
11949
  if (output["message"] !== undefined) {
12329
11950
  contents.message = __expectString(output["message"]);
12330
11951
  }
12331
11952
  return contents;
12332
11953
  };
12333
11954
  const deserializeAws_queryMalformedPolicyDocumentException = (output, context) => {
12334
- const contents = {
12335
- message: undefined,
12336
- };
11955
+ const contents = {};
12337
11956
  if (output["message"] !== undefined) {
12338
11957
  contents.message = __expectString(output["message"]);
12339
11958
  }
12340
11959
  return contents;
12341
11960
  };
12342
11961
  const deserializeAws_queryManagedPolicyDetail = (output, context) => {
12343
- const contents = {
12344
- PolicyName: undefined,
12345
- PolicyId: undefined,
12346
- Arn: undefined,
12347
- Path: undefined,
12348
- DefaultVersionId: undefined,
12349
- AttachmentCount: undefined,
12350
- PermissionsBoundaryUsageCount: undefined,
12351
- IsAttachable: undefined,
12352
- Description: undefined,
12353
- CreateDate: undefined,
12354
- UpdateDate: undefined,
12355
- PolicyVersionList: undefined,
12356
- };
11962
+ const contents = {};
12357
11963
  if (output["PolicyName"] !== undefined) {
12358
11964
  contents.PolicyName = __expectString(output["PolicyName"]);
12359
11965
  }
@@ -12403,11 +12009,7 @@ const deserializeAws_queryManagedPolicyDetailListType = (output, context) => {
12403
12009
  });
12404
12010
  };
12405
12011
  const deserializeAws_queryMFADevice = (output, context) => {
12406
- const contents = {
12407
- UserName: undefined,
12408
- SerialNumber: undefined,
12409
- EnableDate: undefined,
12410
- };
12012
+ const contents = {};
12411
12013
  if (output["UserName"] !== undefined) {
12412
12014
  contents.UserName = __expectString(output["UserName"]);
12413
12015
  }
@@ -12427,18 +12029,14 @@ const deserializeAws_querymfaDeviceListType = (output, context) => {
12427
12029
  });
12428
12030
  };
12429
12031
  const deserializeAws_queryNoSuchEntityException = (output, context) => {
12430
- const contents = {
12431
- message: undefined,
12432
- };
12032
+ const contents = {};
12433
12033
  if (output["message"] !== undefined) {
12434
12034
  contents.message = __expectString(output["message"]);
12435
12035
  }
12436
12036
  return contents;
12437
12037
  };
12438
12038
  const deserializeAws_queryOpenIDConnectProviderListEntry = (output, context) => {
12439
- const contents = {
12440
- Arn: undefined,
12441
- };
12039
+ const contents = {};
12442
12040
  if (output["Arn"] !== undefined) {
12443
12041
  contents.Arn = __expectString(output["Arn"]);
12444
12042
  }
@@ -12452,27 +12050,14 @@ const deserializeAws_queryOpenIDConnectProviderListType = (output, context) => {
12452
12050
  });
12453
12051
  };
12454
12052
  const deserializeAws_queryOrganizationsDecisionDetail = (output, context) => {
12455
- const contents = {
12456
- AllowedByOrganizations: undefined,
12457
- };
12053
+ const contents = {};
12458
12054
  if (output["AllowedByOrganizations"] !== undefined) {
12459
12055
  contents.AllowedByOrganizations = __parseBoolean(output["AllowedByOrganizations"]);
12460
12056
  }
12461
12057
  return contents;
12462
12058
  };
12463
12059
  const deserializeAws_queryPasswordPolicy = (output, context) => {
12464
- const contents = {
12465
- MinimumPasswordLength: undefined,
12466
- RequireSymbols: undefined,
12467
- RequireNumbers: undefined,
12468
- RequireUppercaseCharacters: undefined,
12469
- RequireLowercaseCharacters: undefined,
12470
- AllowUsersToChangePassword: undefined,
12471
- ExpirePasswords: undefined,
12472
- MaxPasswordAge: undefined,
12473
- PasswordReusePrevention: undefined,
12474
- HardExpiry: undefined,
12475
- };
12060
+ const contents = {};
12476
12061
  if (output["MinimumPasswordLength"] !== undefined) {
12477
12062
  contents.MinimumPasswordLength = __strictParseInt32(output["MinimumPasswordLength"]);
12478
12063
  }
@@ -12506,38 +12091,21 @@ const deserializeAws_queryPasswordPolicy = (output, context) => {
12506
12091
  return contents;
12507
12092
  };
12508
12093
  const deserializeAws_queryPasswordPolicyViolationException = (output, context) => {
12509
- const contents = {
12510
- message: undefined,
12511
- };
12094
+ const contents = {};
12512
12095
  if (output["message"] !== undefined) {
12513
12096
  contents.message = __expectString(output["message"]);
12514
12097
  }
12515
12098
  return contents;
12516
12099
  };
12517
12100
  const deserializeAws_queryPermissionsBoundaryDecisionDetail = (output, context) => {
12518
- const contents = {
12519
- AllowedByPermissionsBoundary: undefined,
12520
- };
12101
+ const contents = {};
12521
12102
  if (output["AllowedByPermissionsBoundary"] !== undefined) {
12522
12103
  contents.AllowedByPermissionsBoundary = __parseBoolean(output["AllowedByPermissionsBoundary"]);
12523
12104
  }
12524
12105
  return contents;
12525
12106
  };
12526
12107
  const deserializeAws_queryPolicy = (output, context) => {
12527
- const contents = {
12528
- PolicyName: undefined,
12529
- PolicyId: undefined,
12530
- Arn: undefined,
12531
- Path: undefined,
12532
- DefaultVersionId: undefined,
12533
- AttachmentCount: undefined,
12534
- PermissionsBoundaryUsageCount: undefined,
12535
- IsAttachable: undefined,
12536
- Description: undefined,
12537
- CreateDate: undefined,
12538
- UpdateDate: undefined,
12539
- Tags: undefined,
12540
- };
12108
+ const contents = {};
12541
12109
  if (output["PolicyName"] !== undefined) {
12542
12110
  contents.PolicyName = __expectString(output["PolicyName"]);
12543
12111
  }
@@ -12580,10 +12148,7 @@ const deserializeAws_queryPolicy = (output, context) => {
12580
12148
  return contents;
12581
12149
  };
12582
12150
  const deserializeAws_queryPolicyDetail = (output, context) => {
12583
- const contents = {
12584
- PolicyName: undefined,
12585
- PolicyDocument: undefined,
12586
- };
12151
+ const contents = {};
12587
12152
  if (output["PolicyName"] !== undefined) {
12588
12153
  contents.PolicyName = __expectString(output["PolicyName"]);
12589
12154
  }
@@ -12607,22 +12172,14 @@ const deserializeAws_querypolicyDocumentVersionListType = (output, context) => {
12607
12172
  });
12608
12173
  };
12609
12174
  const deserializeAws_queryPolicyEvaluationException = (output, context) => {
12610
- const contents = {
12611
- message: undefined,
12612
- };
12175
+ const contents = {};
12613
12176
  if (output["message"] !== undefined) {
12614
12177
  contents.message = __expectString(output["message"]);
12615
12178
  }
12616
12179
  return contents;
12617
12180
  };
12618
12181
  const deserializeAws_queryPolicyGrantingServiceAccess = (output, context) => {
12619
- const contents = {
12620
- PolicyName: undefined,
12621
- PolicyType: undefined,
12622
- PolicyArn: undefined,
12623
- EntityType: undefined,
12624
- EntityName: undefined,
12625
- };
12182
+ const contents = {};
12626
12183
  if (output["PolicyName"] !== undefined) {
12627
12184
  contents.PolicyName = __expectString(output["PolicyName"]);
12628
12185
  }
@@ -12648,10 +12205,7 @@ const deserializeAws_querypolicyGrantingServiceAccessListType = (output, context
12648
12205
  });
12649
12206
  };
12650
12207
  const deserializeAws_queryPolicyGroup = (output, context) => {
12651
- const contents = {
12652
- GroupName: undefined,
12653
- GroupId: undefined,
12654
- };
12208
+ const contents = {};
12655
12209
  if (output["GroupName"] !== undefined) {
12656
12210
  contents.GroupName = __expectString(output["GroupName"]);
12657
12211
  }
@@ -12682,19 +12236,14 @@ const deserializeAws_querypolicyNameListType = (output, context) => {
12682
12236
  });
12683
12237
  };
12684
12238
  const deserializeAws_queryPolicyNotAttachableException = (output, context) => {
12685
- const contents = {
12686
- message: undefined,
12687
- };
12239
+ const contents = {};
12688
12240
  if (output["message"] !== undefined) {
12689
12241
  contents.message = __expectString(output["message"]);
12690
12242
  }
12691
12243
  return contents;
12692
12244
  };
12693
12245
  const deserializeAws_queryPolicyRole = (output, context) => {
12694
- const contents = {
12695
- RoleName: undefined,
12696
- RoleId: undefined,
12697
- };
12246
+ const contents = {};
12698
12247
  if (output["RoleName"] !== undefined) {
12699
12248
  contents.RoleName = __expectString(output["RoleName"]);
12700
12249
  }
@@ -12711,10 +12260,7 @@ const deserializeAws_queryPolicyRoleListType = (output, context) => {
12711
12260
  });
12712
12261
  };
12713
12262
  const deserializeAws_queryPolicyUser = (output, context) => {
12714
- const contents = {
12715
- UserName: undefined,
12716
- UserId: undefined,
12717
- };
12263
+ const contents = {};
12718
12264
  if (output["UserName"] !== undefined) {
12719
12265
  contents.UserName = __expectString(output["UserName"]);
12720
12266
  }
@@ -12731,12 +12277,7 @@ const deserializeAws_queryPolicyUserListType = (output, context) => {
12731
12277
  });
12732
12278
  };
12733
12279
  const deserializeAws_queryPolicyVersion = (output, context) => {
12734
- const contents = {
12735
- Document: undefined,
12736
- VersionId: undefined,
12737
- IsDefaultVersion: undefined,
12738
- CreateDate: undefined,
12739
- };
12280
+ const contents = {};
12740
12281
  if (output["Document"] !== undefined) {
12741
12282
  contents.Document = __expectString(output["Document"]);
12742
12283
  }
@@ -12752,10 +12293,7 @@ const deserializeAws_queryPolicyVersion = (output, context) => {
12752
12293
  return contents;
12753
12294
  };
12754
12295
  const deserializeAws_queryPosition = (output, context) => {
12755
- const contents = {
12756
- Line: undefined,
12757
- Column: undefined,
12758
- };
12296
+ const contents = {};
12759
12297
  if (output["Line"] !== undefined) {
12760
12298
  contents.Line = __strictParseInt32(output["Line"]);
12761
12299
  }
@@ -12765,32 +12303,21 @@ const deserializeAws_queryPosition = (output, context) => {
12765
12303
  return contents;
12766
12304
  };
12767
12305
  const deserializeAws_queryReportGenerationLimitExceededException = (output, context) => {
12768
- const contents = {
12769
- message: undefined,
12770
- };
12306
+ const contents = {};
12771
12307
  if (output["message"] !== undefined) {
12772
12308
  contents.message = __expectString(output["message"]);
12773
12309
  }
12774
12310
  return contents;
12775
12311
  };
12776
12312
  const deserializeAws_queryResetServiceSpecificCredentialResponse = (output, context) => {
12777
- const contents = {
12778
- ServiceSpecificCredential: undefined,
12779
- };
12313
+ const contents = {};
12780
12314
  if (output["ServiceSpecificCredential"] !== undefined) {
12781
12315
  contents.ServiceSpecificCredential = deserializeAws_queryServiceSpecificCredential(output["ServiceSpecificCredential"], context);
12782
12316
  }
12783
12317
  return contents;
12784
12318
  };
12785
12319
  const deserializeAws_queryResourceSpecificResult = (output, context) => {
12786
- const contents = {
12787
- EvalResourceName: undefined,
12788
- EvalResourceDecision: undefined,
12789
- MatchedStatements: undefined,
12790
- MissingContextValues: undefined,
12791
- EvalDecisionDetails: undefined,
12792
- PermissionsBoundaryDecisionDetail: undefined,
12793
- };
12320
+ const contents = {};
12794
12321
  if (output["EvalResourceName"] !== undefined) {
12795
12322
  contents.EvalResourceName = __expectString(output["EvalResourceName"]);
12796
12323
  }
@@ -12828,19 +12355,7 @@ const deserializeAws_queryResourceSpecificResultListType = (output, context) =>
12828
12355
  });
12829
12356
  };
12830
12357
  const deserializeAws_queryRole = (output, context) => {
12831
- const contents = {
12832
- Path: undefined,
12833
- RoleName: undefined,
12834
- RoleId: undefined,
12835
- Arn: undefined,
12836
- CreateDate: undefined,
12837
- AssumeRolePolicyDocument: undefined,
12838
- Description: undefined,
12839
- MaxSessionDuration: undefined,
12840
- PermissionsBoundary: undefined,
12841
- Tags: undefined,
12842
- RoleLastUsed: undefined,
12843
- };
12358
+ const contents = {};
12844
12359
  if (output["Path"] !== undefined) {
12845
12360
  contents.Path = __expectString(output["Path"]);
12846
12361
  }
@@ -12880,20 +12395,7 @@ const deserializeAws_queryRole = (output, context) => {
12880
12395
  return contents;
12881
12396
  };
12882
12397
  const deserializeAws_queryRoleDetail = (output, context) => {
12883
- const contents = {
12884
- Path: undefined,
12885
- RoleName: undefined,
12886
- RoleId: undefined,
12887
- Arn: undefined,
12888
- CreateDate: undefined,
12889
- AssumeRolePolicyDocument: undefined,
12890
- InstanceProfileList: undefined,
12891
- RolePolicyList: undefined,
12892
- AttachedManagedPolicies: undefined,
12893
- PermissionsBoundary: undefined,
12894
- Tags: undefined,
12895
- RoleLastUsed: undefined,
12896
- };
12398
+ const contents = {};
12897
12399
  if (output["Path"] !== undefined) {
12898
12400
  contents.Path = __expectString(output["Path"]);
12899
12401
  }
@@ -12953,10 +12455,7 @@ const deserializeAws_queryroleDetailListType = (output, context) => {
12953
12455
  });
12954
12456
  };
12955
12457
  const deserializeAws_queryRoleLastUsed = (output, context) => {
12956
- const contents = {
12957
- LastUsedDate: undefined,
12958
- Region: undefined,
12959
- };
12458
+ const contents = {};
12960
12459
  if (output["LastUsedDate"] !== undefined) {
12961
12460
  contents.LastUsedDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastUsedDate"]));
12962
12461
  }
@@ -12980,10 +12479,7 @@ const deserializeAws_queryRoleUsageListType = (output, context) => {
12980
12479
  });
12981
12480
  };
12982
12481
  const deserializeAws_queryRoleUsageType = (output, context) => {
12983
- const contents = {
12984
- Region: undefined,
12985
- Resources: undefined,
12986
- };
12482
+ const contents = {};
12987
12483
  if (output["Region"] !== undefined) {
12988
12484
  contents.Region = __expectString(output["Region"]);
12989
12485
  }
@@ -12996,11 +12492,7 @@ const deserializeAws_queryRoleUsageType = (output, context) => {
12996
12492
  return contents;
12997
12493
  };
12998
12494
  const deserializeAws_querySAMLProviderListEntry = (output, context) => {
12999
- const contents = {
13000
- Arn: undefined,
13001
- ValidUntil: undefined,
13002
- CreateDate: undefined,
13003
- };
12495
+ const contents = {};
13004
12496
  if (output["Arn"] !== undefined) {
13005
12497
  contents.Arn = __expectString(output["Arn"]);
13006
12498
  }
@@ -13020,12 +12512,7 @@ const deserializeAws_querySAMLProviderListType = (output, context) => {
13020
12512
  });
13021
12513
  };
13022
12514
  const deserializeAws_queryServerCertificate = (output, context) => {
13023
- const contents = {
13024
- ServerCertificateMetadata: undefined,
13025
- CertificateBody: undefined,
13026
- CertificateChain: undefined,
13027
- Tags: undefined,
13028
- };
12515
+ const contents = {};
13029
12516
  if (output["ServerCertificateMetadata"] !== undefined) {
13030
12517
  contents.ServerCertificateMetadata = deserializeAws_queryServerCertificateMetadata(output["ServerCertificateMetadata"], context);
13031
12518
  }
@@ -13044,14 +12531,7 @@ const deserializeAws_queryServerCertificate = (output, context) => {
13044
12531
  return contents;
13045
12532
  };
13046
12533
  const deserializeAws_queryServerCertificateMetadata = (output, context) => {
13047
- const contents = {
13048
- Path: undefined,
13049
- ServerCertificateName: undefined,
13050
- ServerCertificateId: undefined,
13051
- Arn: undefined,
13052
- UploadDate: undefined,
13053
- Expiration: undefined,
13054
- };
12534
+ const contents = {};
13055
12535
  if (output["Path"] !== undefined) {
13056
12536
  contents.Path = __expectString(output["Path"]);
13057
12537
  }
@@ -13080,24 +12560,14 @@ const deserializeAws_queryserverCertificateMetadataListType = (output, context)
13080
12560
  });
13081
12561
  };
13082
12562
  const deserializeAws_queryServiceFailureException = (output, context) => {
13083
- const contents = {
13084
- message: undefined,
13085
- };
12563
+ const contents = {};
13086
12564
  if (output["message"] !== undefined) {
13087
12565
  contents.message = __expectString(output["message"]);
13088
12566
  }
13089
12567
  return contents;
13090
12568
  };
13091
12569
  const deserializeAws_queryServiceLastAccessed = (output, context) => {
13092
- const contents = {
13093
- ServiceName: undefined,
13094
- LastAuthenticated: undefined,
13095
- ServiceNamespace: undefined,
13096
- LastAuthenticatedEntity: undefined,
13097
- LastAuthenticatedRegion: undefined,
13098
- TotalAuthenticatedEntities: undefined,
13099
- TrackedActionsLastAccessed: undefined,
13100
- };
12570
+ const contents = {};
13101
12571
  if (output["ServiceName"] !== undefined) {
13102
12572
  contents.ServiceName = __expectString(output["ServiceName"]);
13103
12573
  }
@@ -13126,9 +12596,7 @@ const deserializeAws_queryServiceLastAccessed = (output, context) => {
13126
12596
  return contents;
13127
12597
  };
13128
12598
  const deserializeAws_queryServiceNotSupportedException = (output, context) => {
13129
- const contents = {
13130
- message: undefined,
13131
- };
12599
+ const contents = {};
13132
12600
  if (output["message"] !== undefined) {
13133
12601
  contents.message = __expectString(output["message"]);
13134
12602
  }
@@ -13142,15 +12610,7 @@ const deserializeAws_queryServicesLastAccessed = (output, context) => {
13142
12610
  });
13143
12611
  };
13144
12612
  const deserializeAws_queryServiceSpecificCredential = (output, context) => {
13145
- const contents = {
13146
- CreateDate: undefined,
13147
- ServiceName: undefined,
13148
- ServiceUserName: undefined,
13149
- ServicePassword: undefined,
13150
- ServiceSpecificCredentialId: undefined,
13151
- UserName: undefined,
13152
- Status: undefined,
13153
- };
12613
+ const contents = {};
13154
12614
  if (output["CreateDate"] !== undefined) {
13155
12615
  contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
13156
12616
  }
@@ -13175,14 +12635,7 @@ const deserializeAws_queryServiceSpecificCredential = (output, context) => {
13175
12635
  return contents;
13176
12636
  };
13177
12637
  const deserializeAws_queryServiceSpecificCredentialMetadata = (output, context) => {
13178
- const contents = {
13179
- UserName: undefined,
13180
- Status: undefined,
13181
- ServiceUserName: undefined,
13182
- CreateDate: undefined,
13183
- ServiceSpecificCredentialId: undefined,
13184
- ServiceName: undefined,
13185
- };
12638
+ const contents = {};
13186
12639
  if (output["UserName"] !== undefined) {
13187
12640
  contents.UserName = __expectString(output["UserName"]);
13188
12641
  }
@@ -13211,13 +12664,7 @@ const deserializeAws_queryServiceSpecificCredentialsListType = (output, context)
13211
12664
  });
13212
12665
  };
13213
12666
  const deserializeAws_querySigningCertificate = (output, context) => {
13214
- const contents = {
13215
- UserName: undefined,
13216
- CertificateId: undefined,
13217
- CertificateBody: undefined,
13218
- Status: undefined,
13219
- UploadDate: undefined,
13220
- };
12667
+ const contents = {};
13221
12668
  if (output["UserName"] !== undefined) {
13222
12669
  contents.UserName = __expectString(output["UserName"]);
13223
12670
  }
@@ -13236,11 +12683,7 @@ const deserializeAws_querySigningCertificate = (output, context) => {
13236
12683
  return contents;
13237
12684
  };
13238
12685
  const deserializeAws_querySimulatePolicyResponse = (output, context) => {
13239
- const contents = {
13240
- EvaluationResults: undefined,
13241
- IsTruncated: undefined,
13242
- Marker: undefined,
13243
- };
12686
+ const contents = {};
13244
12687
  if (output.EvaluationResults === "") {
13245
12688
  contents.EvaluationResults = [];
13246
12689
  }
@@ -13256,14 +12699,7 @@ const deserializeAws_querySimulatePolicyResponse = (output, context) => {
13256
12699
  return contents;
13257
12700
  };
13258
12701
  const deserializeAws_querySSHPublicKey = (output, context) => {
13259
- const contents = {
13260
- UserName: undefined,
13261
- SSHPublicKeyId: undefined,
13262
- Fingerprint: undefined,
13263
- SSHPublicKeyBody: undefined,
13264
- Status: undefined,
13265
- UploadDate: undefined,
13266
- };
12702
+ const contents = {};
13267
12703
  if (output["UserName"] !== undefined) {
13268
12704
  contents.UserName = __expectString(output["UserName"]);
13269
12705
  }
@@ -13292,12 +12728,7 @@ const deserializeAws_querySSHPublicKeyListType = (output, context) => {
13292
12728
  });
13293
12729
  };
13294
12730
  const deserializeAws_querySSHPublicKeyMetadata = (output, context) => {
13295
- const contents = {
13296
- UserName: undefined,
13297
- SSHPublicKeyId: undefined,
13298
- Status: undefined,
13299
- UploadDate: undefined,
13300
- };
12731
+ const contents = {};
13301
12732
  if (output["UserName"] !== undefined) {
13302
12733
  contents.UserName = __expectString(output["UserName"]);
13303
12734
  }
@@ -13313,12 +12744,7 @@ const deserializeAws_querySSHPublicKeyMetadata = (output, context) => {
13313
12744
  return contents;
13314
12745
  };
13315
12746
  const deserializeAws_queryStatement = (output, context) => {
13316
- const contents = {
13317
- SourcePolicyId: undefined,
13318
- SourcePolicyType: undefined,
13319
- StartPosition: undefined,
13320
- EndPosition: undefined,
13321
- };
12747
+ const contents = {};
13322
12748
  if (output["SourcePolicyId"] !== undefined) {
13323
12749
  contents.SourcePolicyId = __expectString(output["SourcePolicyId"]);
13324
12750
  }
@@ -13350,10 +12776,7 @@ const deserializeAws_querysummaryMapType = (output, context) => {
13350
12776
  }, {});
13351
12777
  };
13352
12778
  const deserializeAws_queryTag = (output, context) => {
13353
- const contents = {
13354
- Key: undefined,
13355
- Value: undefined,
13356
- };
12779
+ const contents = {};
13357
12780
  if (output["Key"] !== undefined) {
13358
12781
  contents.Key = __expectString(output["Key"]);
13359
12782
  }
@@ -13377,12 +12800,7 @@ const deserializeAws_querythumbprintListType = (output, context) => {
13377
12800
  });
13378
12801
  };
13379
12802
  const deserializeAws_queryTrackedActionLastAccessed = (output, context) => {
13380
- const contents = {
13381
- ActionName: undefined,
13382
- LastAccessedEntity: undefined,
13383
- LastAccessedTime: undefined,
13384
- LastAccessedRegion: undefined,
13385
- };
12803
+ const contents = {};
13386
12804
  if (output["ActionName"] !== undefined) {
13387
12805
  contents.ActionName = __expectString(output["ActionName"]);
13388
12806
  }
@@ -13405,27 +12823,21 @@ const deserializeAws_queryTrackedActionsLastAccessed = (output, context) => {
13405
12823
  });
13406
12824
  };
13407
12825
  const deserializeAws_queryUnmodifiableEntityException = (output, context) => {
13408
- const contents = {
13409
- message: undefined,
13410
- };
12826
+ const contents = {};
13411
12827
  if (output["message"] !== undefined) {
13412
12828
  contents.message = __expectString(output["message"]);
13413
12829
  }
13414
12830
  return contents;
13415
12831
  };
13416
12832
  const deserializeAws_queryUnrecognizedPublicKeyEncodingException = (output, context) => {
13417
- const contents = {
13418
- message: undefined,
13419
- };
12833
+ const contents = {};
13420
12834
  if (output["message"] !== undefined) {
13421
12835
  contents.message = __expectString(output["message"]);
13422
12836
  }
13423
12837
  return contents;
13424
12838
  };
13425
12839
  const deserializeAws_queryUpdateRoleDescriptionResponse = (output, context) => {
13426
- const contents = {
13427
- Role: undefined,
13428
- };
12840
+ const contents = {};
13429
12841
  if (output["Role"] !== undefined) {
13430
12842
  contents.Role = deserializeAws_queryRole(output["Role"], context);
13431
12843
  }
@@ -13436,19 +12848,14 @@ const deserializeAws_queryUpdateRoleResponse = (output, context) => {
13436
12848
  return contents;
13437
12849
  };
13438
12850
  const deserializeAws_queryUpdateSAMLProviderResponse = (output, context) => {
13439
- const contents = {
13440
- SAMLProviderArn: undefined,
13441
- };
12851
+ const contents = {};
13442
12852
  if (output["SAMLProviderArn"] !== undefined) {
13443
12853
  contents.SAMLProviderArn = __expectString(output["SAMLProviderArn"]);
13444
12854
  }
13445
12855
  return contents;
13446
12856
  };
13447
12857
  const deserializeAws_queryUploadServerCertificateResponse = (output, context) => {
13448
- const contents = {
13449
- ServerCertificateMetadata: undefined,
13450
- Tags: undefined,
13451
- };
12858
+ const contents = {};
13452
12859
  if (output["ServerCertificateMetadata"] !== undefined) {
13453
12860
  contents.ServerCertificateMetadata = deserializeAws_queryServerCertificateMetadata(output["ServerCertificateMetadata"], context);
13454
12861
  }
@@ -13461,34 +12868,21 @@ const deserializeAws_queryUploadServerCertificateResponse = (output, context) =>
13461
12868
  return contents;
13462
12869
  };
13463
12870
  const deserializeAws_queryUploadSigningCertificateResponse = (output, context) => {
13464
- const contents = {
13465
- Certificate: undefined,
13466
- };
12871
+ const contents = {};
13467
12872
  if (output["Certificate"] !== undefined) {
13468
12873
  contents.Certificate = deserializeAws_querySigningCertificate(output["Certificate"], context);
13469
12874
  }
13470
12875
  return contents;
13471
12876
  };
13472
12877
  const deserializeAws_queryUploadSSHPublicKeyResponse = (output, context) => {
13473
- const contents = {
13474
- SSHPublicKey: undefined,
13475
- };
12878
+ const contents = {};
13476
12879
  if (output["SSHPublicKey"] !== undefined) {
13477
12880
  contents.SSHPublicKey = deserializeAws_querySSHPublicKey(output["SSHPublicKey"], context);
13478
12881
  }
13479
12882
  return contents;
13480
12883
  };
13481
12884
  const deserializeAws_queryUser = (output, context) => {
13482
- const contents = {
13483
- Path: undefined,
13484
- UserName: undefined,
13485
- UserId: undefined,
13486
- Arn: undefined,
13487
- CreateDate: undefined,
13488
- PasswordLastUsed: undefined,
13489
- PermissionsBoundary: undefined,
13490
- Tags: undefined,
13491
- };
12885
+ const contents = {};
13492
12886
  if (output["Path"] !== undefined) {
13493
12887
  contents.Path = __expectString(output["Path"]);
13494
12888
  }
@@ -13519,18 +12913,7 @@ const deserializeAws_queryUser = (output, context) => {
13519
12913
  return contents;
13520
12914
  };
13521
12915
  const deserializeAws_queryUserDetail = (output, context) => {
13522
- const contents = {
13523
- Path: undefined,
13524
- UserName: undefined,
13525
- UserId: undefined,
13526
- Arn: undefined,
13527
- CreateDate: undefined,
13528
- UserPolicyList: undefined,
13529
- GroupList: undefined,
13530
- AttachedManagedPolicies: undefined,
13531
- PermissionsBoundary: undefined,
13532
- Tags: undefined,
13533
- };
12916
+ const contents = {};
13534
12917
  if (output["Path"] !== undefined) {
13535
12918
  contents.Path = __expectString(output["Path"]);
13536
12919
  }
@@ -13591,14 +12974,7 @@ const deserializeAws_queryuserListType = (output, context) => {
13591
12974
  });
13592
12975
  };
13593
12976
  const deserializeAws_queryVirtualMFADevice = (output, context) => {
13594
- const contents = {
13595
- SerialNumber: undefined,
13596
- Base32StringSeed: undefined,
13597
- QRCodePNG: undefined,
13598
- User: undefined,
13599
- EnableDate: undefined,
13600
- Tags: undefined,
13601
- };
12977
+ const contents = {};
13602
12978
  if (output["SerialNumber"] !== undefined) {
13603
12979
  contents.SerialNumber = __expectString(output["SerialNumber"]);
13604
12980
  }