@aws-sdk/client-iam 3.261.0 → 3.263.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 (121) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/protocols/Aws_query.js +43 -43
  3. package/dist-es/endpoint/ruleset.js +3 -3
  4. package/dist-es/protocols/Aws_query.js +44 -44
  5. package/dist-types/IAM.d.ts +384 -351
  6. package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +1 -1
  7. package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +3 -3
  8. package/dist-types/commands/AttachGroupPolicyCommand.d.ts +3 -3
  9. package/dist-types/commands/AttachRolePolicyCommand.d.ts +4 -4
  10. package/dist-types/commands/AttachUserPolicyCommand.d.ts +3 -3
  11. package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
  12. package/dist-types/commands/CreateAccessKeyCommand.d.ts +4 -4
  13. package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateInstanceProfileCommand.d.ts +1 -1
  15. package/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -2
  16. package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +15 -14
  17. package/dist-types/commands/CreatePolicyCommand.d.ts +3 -3
  18. package/dist-types/commands/CreatePolicyVersionCommand.d.ts +2 -2
  19. package/dist-types/commands/CreateSAMLProviderCommand.d.ts +5 -5
  20. package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +4 -4
  22. package/dist-types/commands/CreateUserCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +3 -3
  24. package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteAccessKeyCommand.d.ts +1 -1
  26. package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +1 -1
  27. package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +3 -3
  28. package/dist-types/commands/DeleteLoginProfileCommand.d.ts +3 -3
  29. package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +2 -2
  30. package/dist-types/commands/DeletePolicyCommand.d.ts +6 -6
  31. package/dist-types/commands/DeletePolicyVersionCommand.d.ts +2 -2
  32. package/dist-types/commands/DeleteRoleCommand.d.ts +21 -4
  33. package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +2 -2
  34. package/dist-types/commands/DeleteRolePolicyCommand.d.ts +1 -1
  35. package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +3 -3
  36. package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -1
  37. package/dist-types/commands/DeleteServerCertificateCommand.d.ts +3 -3
  38. package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +2 -2
  39. package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteUserCommand.d.ts +10 -10
  41. package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +2 -2
  42. package/dist-types/commands/DeleteUserPolicyCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +2 -2
  44. package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -1
  45. package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -1
  46. package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -1
  47. package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +22 -22
  48. package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +12 -12
  49. package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +2 -2
  50. package/dist-types/commands/GetAccountSummaryCommand.d.ts +1 -1
  51. package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -1
  52. package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +3 -3
  53. package/dist-types/commands/GetGroupPolicyCommand.d.ts +3 -3
  54. package/dist-types/commands/GetLoginProfileCommand.d.ts +2 -2
  55. package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +4 -4
  56. package/dist-types/commands/GetPolicyCommand.d.ts +2 -2
  57. package/dist-types/commands/GetPolicyVersionCommand.d.ts +5 -5
  58. package/dist-types/commands/GetRoleCommand.d.ts +1 -1
  59. package/dist-types/commands/GetRolePolicyCommand.d.ts +4 -4
  60. package/dist-types/commands/GetSAMLProviderCommand.d.ts +2 -2
  61. package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -1
  62. package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -1
  63. package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +12 -12
  64. package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +6 -6
  65. package/dist-types/commands/GetUserCommand.d.ts +1 -1
  66. package/dist-types/commands/GetUserPolicyCommand.d.ts +3 -3
  67. package/dist-types/commands/ListAccessKeysCommand.d.ts +4 -4
  68. package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +2 -2
  69. package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +2 -2
  70. package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +2 -2
  71. package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +2 -2
  72. package/dist-types/commands/ListGroupPoliciesCommand.d.ts +2 -2
  73. package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
  74. package/dist-types/commands/ListGroupsForUserCommand.d.ts +1 -1
  75. package/dist-types/commands/ListInstanceProfilesCommand.d.ts +3 -3
  76. package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -1
  77. package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -1
  78. package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +2 -2
  79. package/dist-types/commands/ListPoliciesCommand.d.ts +5 -5
  80. package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +9 -9
  81. package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -1
  82. package/dist-types/commands/ListRolePoliciesCommand.d.ts +2 -2
  83. package/dist-types/commands/ListRolesCommand.d.ts +3 -3
  84. package/dist-types/commands/ListSAMLProvidersCommand.d.ts +2 -2
  85. package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +2 -2
  86. package/dist-types/commands/ListServerCertificatesCommand.d.ts +4 -4
  87. package/dist-types/commands/ListSigningCertificatesCommand.d.ts +2 -2
  88. package/dist-types/commands/ListUserPoliciesCommand.d.ts +2 -2
  89. package/dist-types/commands/ListUsersCommand.d.ts +3 -3
  90. package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +3 -3
  91. package/dist-types/commands/PutGroupPolicyCommand.d.ts +4 -4
  92. package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +3 -3
  93. package/dist-types/commands/PutRolePolicyCommand.d.ts +5 -5
  94. package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +2 -2
  95. package/dist-types/commands/PutUserPolicyCommand.d.ts +4 -4
  96. package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
  97. package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +3 -3
  98. package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -1
  99. package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +2 -2
  100. package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +3 -3
  101. package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +14 -7
  102. package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +17 -10
  103. package/dist-types/commands/UpdateAccessKeyCommand.d.ts +2 -2
  104. package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +3 -3
  105. package/dist-types/commands/UpdateGroupCommand.d.ts +4 -4
  106. package/dist-types/commands/UpdateLoginProfileCommand.d.ts +6 -6
  107. package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +9 -8
  108. package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -1
  109. package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +2 -2
  110. package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -1
  111. package/dist-types/commands/UpdateServerCertificateCommand.d.ts +5 -5
  112. package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +1 -1
  113. package/dist-types/commands/UpdateUserCommand.d.ts +4 -4
  114. package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -1
  115. package/dist-types/commands/UploadServerCertificateCommand.d.ts +5 -5
  116. package/dist-types/commands/UploadSigningCertificateCommand.d.ts +4 -4
  117. package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
  118. package/dist-types/models/models_0.d.ts +319 -282
  119. package/dist-types/models/models_1.d.ts +51 -51
  120. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  121. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
2
- import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTime as __parseRfc3339DateTime, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
2
+ import { decorateServiceException as __decorateServiceException, expectNonNull as __expectNonNull, expectString as __expectString, extendedEncodeURIComponent as __extendedEncodeURIComponent, getArrayIfSingleItem as __getArrayIfSingleItem, getValueFromTextNode as __getValueFromTextNode, parseBoolean as __parseBoolean, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, strictParseInt32 as __strictParseInt32, throwDefaultError, } from "@aws-sdk/smithy-client";
3
3
  import { XMLParser } from "fast-xml-parser";
4
4
  import { IAMServiceException as __BaseException } from "../models/IAMServiceException";
5
5
  import { ConcurrentModificationException, CredentialReportExpiredException, CredentialReportNotPresentException, CredentialReportNotReadyException, DeleteConflictException, EntityAlreadyExistsException, EntityTemporarilyUnmodifiableException, InvalidAuthenticationCodeException, InvalidInputException, InvalidUserTypeException, LimitExceededException, MalformedPolicyDocumentException, NoSuchEntityException, PasswordPolicyViolationException, PolicyEvaluationException, PolicyNotAttachableException, ReportGenerationLimitExceededException, ServiceFailureException, ServiceNotSupportedException, UnmodifiableEntityException, UnrecognizedPublicKeyEncodingException, } from "../models/models_0";
@@ -10422,7 +10422,7 @@ const deserializeAws_queryAccessDetail = (output, context) => {
10422
10422
  contents.EntityPath = __expectString(output["EntityPath"]);
10423
10423
  }
10424
10424
  if (output["LastAuthenticatedTime"] !== undefined) {
10425
- contents.LastAuthenticatedTime = __expectNonNull(__parseRfc3339DateTime(output["LastAuthenticatedTime"]));
10425
+ contents.LastAuthenticatedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastAuthenticatedTime"]));
10426
10426
  }
10427
10427
  if (output["TotalAuthenticatedEntities"] !== undefined) {
10428
10428
  contents.TotalAuthenticatedEntities = __strictParseInt32(output["TotalAuthenticatedEntities"]);
@@ -10457,7 +10457,7 @@ const deserializeAws_queryAccessKey = (output, context) => {
10457
10457
  contents.SecretAccessKey = __expectString(output["SecretAccessKey"]);
10458
10458
  }
10459
10459
  if (output["CreateDate"] !== undefined) {
10460
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
10460
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
10461
10461
  }
10462
10462
  return contents;
10463
10463
  };
@@ -10468,7 +10468,7 @@ const deserializeAws_queryAccessKeyLastUsed = (output, context) => {
10468
10468
  Region: undefined,
10469
10469
  };
10470
10470
  if (output["LastUsedDate"] !== undefined) {
10471
- contents.LastUsedDate = __expectNonNull(__parseRfc3339DateTime(output["LastUsedDate"]));
10471
+ contents.LastUsedDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastUsedDate"]));
10472
10472
  }
10473
10473
  if (output["ServiceName"] !== undefined) {
10474
10474
  contents.ServiceName = __expectString(output["ServiceName"]);
@@ -10495,7 +10495,7 @@ const deserializeAws_queryAccessKeyMetadata = (output, context) => {
10495
10495
  contents.Status = __expectString(output["Status"]);
10496
10496
  }
10497
10497
  if (output["CreateDate"] !== undefined) {
10498
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
10498
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
10499
10499
  }
10500
10500
  return contents;
10501
10501
  };
@@ -10811,7 +10811,7 @@ const deserializeAws_queryEntityDetails = (output, context) => {
10811
10811
  contents.EntityInfo = deserializeAws_queryEntityInfo(output["EntityInfo"], context);
10812
10812
  }
10813
10813
  if (output["LastAuthenticated"] !== undefined) {
10814
- contents.LastAuthenticated = __expectNonNull(__parseRfc3339DateTime(output["LastAuthenticated"]));
10814
+ contents.LastAuthenticated = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastAuthenticated"]));
10815
10815
  }
10816
10816
  return contents;
10817
10817
  };
@@ -11070,7 +11070,7 @@ const deserializeAws_queryGetCredentialReportResponse = (output, context) => {
11070
11070
  contents.ReportFormat = __expectString(output["ReportFormat"]);
11071
11071
  }
11072
11072
  if (output["GeneratedTime"] !== undefined) {
11073
- contents.GeneratedTime = __expectNonNull(__parseRfc3339DateTime(output["GeneratedTime"]));
11073
+ contents.GeneratedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["GeneratedTime"]));
11074
11074
  }
11075
11075
  return contents;
11076
11076
  };
@@ -11157,7 +11157,7 @@ const deserializeAws_queryGetOpenIDConnectProviderResponse = (output, context) =
11157
11157
  contents.ThumbprintList = deserializeAws_querythumbprintListType(__getArrayIfSingleItem(output["ThumbprintList"]["member"]), context);
11158
11158
  }
11159
11159
  if (output["CreateDate"] !== undefined) {
11160
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
11160
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
11161
11161
  }
11162
11162
  if (output.Tags === "") {
11163
11163
  contents.Tags = [];
@@ -11183,10 +11183,10 @@ const deserializeAws_queryGetOrganizationsAccessReportResponse = (output, contex
11183
11183
  contents.JobStatus = __expectString(output["JobStatus"]);
11184
11184
  }
11185
11185
  if (output["JobCreationDate"] !== undefined) {
11186
- contents.JobCreationDate = __expectNonNull(__parseRfc3339DateTime(output["JobCreationDate"]));
11186
+ contents.JobCreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["JobCreationDate"]));
11187
11187
  }
11188
11188
  if (output["JobCompletionDate"] !== undefined) {
11189
- contents.JobCompletionDate = __expectNonNull(__parseRfc3339DateTime(output["JobCompletionDate"]));
11189
+ contents.JobCompletionDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["JobCompletionDate"]));
11190
11190
  }
11191
11191
  if (output["NumberOfServicesAccessible"] !== undefined) {
11192
11192
  contents.NumberOfServicesAccessible = __strictParseInt32(output["NumberOfServicesAccessible"]);
@@ -11266,10 +11266,10 @@ const deserializeAws_queryGetSAMLProviderResponse = (output, context) => {
11266
11266
  contents.SAMLMetadataDocument = __expectString(output["SAMLMetadataDocument"]);
11267
11267
  }
11268
11268
  if (output["CreateDate"] !== undefined) {
11269
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
11269
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
11270
11270
  }
11271
11271
  if (output["ValidUntil"] !== undefined) {
11272
- contents.ValidUntil = __expectNonNull(__parseRfc3339DateTime(output["ValidUntil"]));
11272
+ contents.ValidUntil = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["ValidUntil"]));
11273
11273
  }
11274
11274
  if (output.Tags === "") {
11275
11275
  contents.Tags = [];
@@ -11306,7 +11306,7 @@ const deserializeAws_queryGetServiceLastAccessedDetailsResponse = (output, conte
11306
11306
  contents.JobType = __expectString(output["JobType"]);
11307
11307
  }
11308
11308
  if (output["JobCreationDate"] !== undefined) {
11309
- contents.JobCreationDate = __expectNonNull(__parseRfc3339DateTime(output["JobCreationDate"]));
11309
+ contents.JobCreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["JobCreationDate"]));
11310
11310
  }
11311
11311
  if (output.ServicesLastAccessed === "") {
11312
11312
  contents.ServicesLastAccessed = [];
@@ -11315,7 +11315,7 @@ const deserializeAws_queryGetServiceLastAccessedDetailsResponse = (output, conte
11315
11315
  contents.ServicesLastAccessed = deserializeAws_queryServicesLastAccessed(__getArrayIfSingleItem(output["ServicesLastAccessed"]["member"]), context);
11316
11316
  }
11317
11317
  if (output["JobCompletionDate"] !== undefined) {
11318
- contents.JobCompletionDate = __expectNonNull(__parseRfc3339DateTime(output["JobCompletionDate"]));
11318
+ contents.JobCompletionDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["JobCompletionDate"]));
11319
11319
  }
11320
11320
  if (output["IsTruncated"] !== undefined) {
11321
11321
  contents.IsTruncated = __parseBoolean(output["IsTruncated"]);
@@ -11342,10 +11342,10 @@ const deserializeAws_queryGetServiceLastAccessedDetailsWithEntitiesResponse = (o
11342
11342
  contents.JobStatus = __expectString(output["JobStatus"]);
11343
11343
  }
11344
11344
  if (output["JobCreationDate"] !== undefined) {
11345
- contents.JobCreationDate = __expectNonNull(__parseRfc3339DateTime(output["JobCreationDate"]));
11345
+ contents.JobCreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["JobCreationDate"]));
11346
11346
  }
11347
11347
  if (output["JobCompletionDate"] !== undefined) {
11348
- contents.JobCompletionDate = __expectNonNull(__parseRfc3339DateTime(output["JobCompletionDate"]));
11348
+ contents.JobCompletionDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["JobCompletionDate"]));
11349
11349
  }
11350
11350
  if (output.EntityDetailsList === "") {
11351
11351
  contents.EntityDetailsList = [];
@@ -11433,7 +11433,7 @@ const deserializeAws_queryGroup = (output, context) => {
11433
11433
  contents.Arn = __expectString(output["Arn"]);
11434
11434
  }
11435
11435
  if (output["CreateDate"] !== undefined) {
11436
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
11436
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
11437
11437
  }
11438
11438
  return contents;
11439
11439
  };
@@ -11460,7 +11460,7 @@ const deserializeAws_queryGroupDetail = (output, context) => {
11460
11460
  contents.Arn = __expectString(output["Arn"]);
11461
11461
  }
11462
11462
  if (output["CreateDate"] !== undefined) {
11463
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
11463
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
11464
11464
  }
11465
11465
  if (output.GroupPolicyList === "") {
11466
11466
  contents.GroupPolicyList = [];
@@ -11521,7 +11521,7 @@ const deserializeAws_queryInstanceProfile = (output, context) => {
11521
11521
  contents.Arn = __expectString(output["Arn"]);
11522
11522
  }
11523
11523
  if (output["CreateDate"] !== undefined) {
11524
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
11524
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
11525
11525
  }
11526
11526
  if (output.Roles === "") {
11527
11527
  contents.Roles = [];
@@ -12314,7 +12314,7 @@ const deserializeAws_queryLoginProfile = (output, context) => {
12314
12314
  contents.UserName = __expectString(output["UserName"]);
12315
12315
  }
12316
12316
  if (output["CreateDate"] !== undefined) {
12317
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
12317
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
12318
12318
  }
12319
12319
  if (output["PasswordResetRequired"] !== undefined) {
12320
12320
  contents.PasswordResetRequired = __parseBoolean(output["PasswordResetRequired"]);
@@ -12382,10 +12382,10 @@ const deserializeAws_queryManagedPolicyDetail = (output, context) => {
12382
12382
  contents.Description = __expectString(output["Description"]);
12383
12383
  }
12384
12384
  if (output["CreateDate"] !== undefined) {
12385
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
12385
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
12386
12386
  }
12387
12387
  if (output["UpdateDate"] !== undefined) {
12388
- contents.UpdateDate = __expectNonNull(__parseRfc3339DateTime(output["UpdateDate"]));
12388
+ contents.UpdateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["UpdateDate"]));
12389
12389
  }
12390
12390
  if (output.PolicyVersionList === "") {
12391
12391
  contents.PolicyVersionList = [];
@@ -12415,7 +12415,7 @@ const deserializeAws_queryMFADevice = (output, context) => {
12415
12415
  contents.SerialNumber = __expectString(output["SerialNumber"]);
12416
12416
  }
12417
12417
  if (output["EnableDate"] !== undefined) {
12418
- contents.EnableDate = __expectNonNull(__parseRfc3339DateTime(output["EnableDate"]));
12418
+ contents.EnableDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["EnableDate"]));
12419
12419
  }
12420
12420
  return contents;
12421
12421
  };
@@ -12566,10 +12566,10 @@ const deserializeAws_queryPolicy = (output, context) => {
12566
12566
  contents.Description = __expectString(output["Description"]);
12567
12567
  }
12568
12568
  if (output["CreateDate"] !== undefined) {
12569
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
12569
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
12570
12570
  }
12571
12571
  if (output["UpdateDate"] !== undefined) {
12572
- contents.UpdateDate = __expectNonNull(__parseRfc3339DateTime(output["UpdateDate"]));
12572
+ contents.UpdateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["UpdateDate"]));
12573
12573
  }
12574
12574
  if (output.Tags === "") {
12575
12575
  contents.Tags = [];
@@ -12747,7 +12747,7 @@ const deserializeAws_queryPolicyVersion = (output, context) => {
12747
12747
  contents.IsDefaultVersion = __parseBoolean(output["IsDefaultVersion"]);
12748
12748
  }
12749
12749
  if (output["CreateDate"] !== undefined) {
12750
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
12750
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
12751
12751
  }
12752
12752
  return contents;
12753
12753
  };
@@ -12854,7 +12854,7 @@ const deserializeAws_queryRole = (output, context) => {
12854
12854
  contents.Arn = __expectString(output["Arn"]);
12855
12855
  }
12856
12856
  if (output["CreateDate"] !== undefined) {
12857
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
12857
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
12858
12858
  }
12859
12859
  if (output["AssumeRolePolicyDocument"] !== undefined) {
12860
12860
  contents.AssumeRolePolicyDocument = __expectString(output["AssumeRolePolicyDocument"]);
@@ -12907,7 +12907,7 @@ const deserializeAws_queryRoleDetail = (output, context) => {
12907
12907
  contents.Arn = __expectString(output["Arn"]);
12908
12908
  }
12909
12909
  if (output["CreateDate"] !== undefined) {
12910
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
12910
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
12911
12911
  }
12912
12912
  if (output["AssumeRolePolicyDocument"] !== undefined) {
12913
12913
  contents.AssumeRolePolicyDocument = __expectString(output["AssumeRolePolicyDocument"]);
@@ -12958,7 +12958,7 @@ const deserializeAws_queryRoleLastUsed = (output, context) => {
12958
12958
  Region: undefined,
12959
12959
  };
12960
12960
  if (output["LastUsedDate"] !== undefined) {
12961
- contents.LastUsedDate = __expectNonNull(__parseRfc3339DateTime(output["LastUsedDate"]));
12961
+ contents.LastUsedDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastUsedDate"]));
12962
12962
  }
12963
12963
  if (output["Region"] !== undefined) {
12964
12964
  contents.Region = __expectString(output["Region"]);
@@ -13005,10 +13005,10 @@ const deserializeAws_querySAMLProviderListEntry = (output, context) => {
13005
13005
  contents.Arn = __expectString(output["Arn"]);
13006
13006
  }
13007
13007
  if (output["ValidUntil"] !== undefined) {
13008
- contents.ValidUntil = __expectNonNull(__parseRfc3339DateTime(output["ValidUntil"]));
13008
+ contents.ValidUntil = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["ValidUntil"]));
13009
13009
  }
13010
13010
  if (output["CreateDate"] !== undefined) {
13011
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
13011
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
13012
13012
  }
13013
13013
  return contents;
13014
13014
  };
@@ -13065,10 +13065,10 @@ const deserializeAws_queryServerCertificateMetadata = (output, context) => {
13065
13065
  contents.Arn = __expectString(output["Arn"]);
13066
13066
  }
13067
13067
  if (output["UploadDate"] !== undefined) {
13068
- contents.UploadDate = __expectNonNull(__parseRfc3339DateTime(output["UploadDate"]));
13068
+ contents.UploadDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["UploadDate"]));
13069
13069
  }
13070
13070
  if (output["Expiration"] !== undefined) {
13071
- contents.Expiration = __expectNonNull(__parseRfc3339DateTime(output["Expiration"]));
13071
+ contents.Expiration = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["Expiration"]));
13072
13072
  }
13073
13073
  return contents;
13074
13074
  };
@@ -13102,7 +13102,7 @@ const deserializeAws_queryServiceLastAccessed = (output, context) => {
13102
13102
  contents.ServiceName = __expectString(output["ServiceName"]);
13103
13103
  }
13104
13104
  if (output["LastAuthenticated"] !== undefined) {
13105
- contents.LastAuthenticated = __expectNonNull(__parseRfc3339DateTime(output["LastAuthenticated"]));
13105
+ contents.LastAuthenticated = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastAuthenticated"]));
13106
13106
  }
13107
13107
  if (output["ServiceNamespace"] !== undefined) {
13108
13108
  contents.ServiceNamespace = __expectString(output["ServiceNamespace"]);
@@ -13152,7 +13152,7 @@ const deserializeAws_queryServiceSpecificCredential = (output, context) => {
13152
13152
  Status: undefined,
13153
13153
  };
13154
13154
  if (output["CreateDate"] !== undefined) {
13155
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
13155
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
13156
13156
  }
13157
13157
  if (output["ServiceName"] !== undefined) {
13158
13158
  contents.ServiceName = __expectString(output["ServiceName"]);
@@ -13193,7 +13193,7 @@ const deserializeAws_queryServiceSpecificCredentialMetadata = (output, context)
13193
13193
  contents.ServiceUserName = __expectString(output["ServiceUserName"]);
13194
13194
  }
13195
13195
  if (output["CreateDate"] !== undefined) {
13196
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
13196
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
13197
13197
  }
13198
13198
  if (output["ServiceSpecificCredentialId"] !== undefined) {
13199
13199
  contents.ServiceSpecificCredentialId = __expectString(output["ServiceSpecificCredentialId"]);
@@ -13231,7 +13231,7 @@ const deserializeAws_querySigningCertificate = (output, context) => {
13231
13231
  contents.Status = __expectString(output["Status"]);
13232
13232
  }
13233
13233
  if (output["UploadDate"] !== undefined) {
13234
- contents.UploadDate = __expectNonNull(__parseRfc3339DateTime(output["UploadDate"]));
13234
+ contents.UploadDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["UploadDate"]));
13235
13235
  }
13236
13236
  return contents;
13237
13237
  };
@@ -13280,7 +13280,7 @@ const deserializeAws_querySSHPublicKey = (output, context) => {
13280
13280
  contents.Status = __expectString(output["Status"]);
13281
13281
  }
13282
13282
  if (output["UploadDate"] !== undefined) {
13283
- contents.UploadDate = __expectNonNull(__parseRfc3339DateTime(output["UploadDate"]));
13283
+ contents.UploadDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["UploadDate"]));
13284
13284
  }
13285
13285
  return contents;
13286
13286
  };
@@ -13308,7 +13308,7 @@ const deserializeAws_querySSHPublicKeyMetadata = (output, context) => {
13308
13308
  contents.Status = __expectString(output["Status"]);
13309
13309
  }
13310
13310
  if (output["UploadDate"] !== undefined) {
13311
- contents.UploadDate = __expectNonNull(__parseRfc3339DateTime(output["UploadDate"]));
13311
+ contents.UploadDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["UploadDate"]));
13312
13312
  }
13313
13313
  return contents;
13314
13314
  };
@@ -13390,7 +13390,7 @@ const deserializeAws_queryTrackedActionLastAccessed = (output, context) => {
13390
13390
  contents.LastAccessedEntity = __expectString(output["LastAccessedEntity"]);
13391
13391
  }
13392
13392
  if (output["LastAccessedTime"] !== undefined) {
13393
- contents.LastAccessedTime = __expectNonNull(__parseRfc3339DateTime(output["LastAccessedTime"]));
13393
+ contents.LastAccessedTime = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["LastAccessedTime"]));
13394
13394
  }
13395
13395
  if (output["LastAccessedRegion"] !== undefined) {
13396
13396
  contents.LastAccessedRegion = __expectString(output["LastAccessedRegion"]);
@@ -13502,10 +13502,10 @@ const deserializeAws_queryUser = (output, context) => {
13502
13502
  contents.Arn = __expectString(output["Arn"]);
13503
13503
  }
13504
13504
  if (output["CreateDate"] !== undefined) {
13505
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
13505
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
13506
13506
  }
13507
13507
  if (output["PasswordLastUsed"] !== undefined) {
13508
- contents.PasswordLastUsed = __expectNonNull(__parseRfc3339DateTime(output["PasswordLastUsed"]));
13508
+ contents.PasswordLastUsed = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["PasswordLastUsed"]));
13509
13509
  }
13510
13510
  if (output["PermissionsBoundary"] !== undefined) {
13511
13511
  contents.PermissionsBoundary = deserializeAws_queryAttachedPermissionsBoundary(output["PermissionsBoundary"], context);
@@ -13544,7 +13544,7 @@ const deserializeAws_queryUserDetail = (output, context) => {
13544
13544
  contents.Arn = __expectString(output["Arn"]);
13545
13545
  }
13546
13546
  if (output["CreateDate"] !== undefined) {
13547
- contents.CreateDate = __expectNonNull(__parseRfc3339DateTime(output["CreateDate"]));
13547
+ contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
13548
13548
  }
13549
13549
  if (output.UserPolicyList === "") {
13550
13550
  contents.UserPolicyList = [];
@@ -13612,7 +13612,7 @@ const deserializeAws_queryVirtualMFADevice = (output, context) => {
13612
13612
  contents.User = deserializeAws_queryUser(output["User"], context);
13613
13613
  }
13614
13614
  if (output["EnableDate"] !== undefined) {
13615
- contents.EnableDate = __expectNonNull(__parseRfc3339DateTime(output["EnableDate"]));
13615
+ contents.EnableDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["EnableDate"]));
13616
13616
  }
13617
13617
  if (output.Tags === "") {
13618
13618
  contents.Tags = [];