@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.
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_query.js +43 -43
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_query.js +44 -44
- package/dist-types/IAM.d.ts +384 -351
- package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +3 -3
- package/dist-types/commands/AttachGroupPolicyCommand.d.ts +3 -3
- package/dist-types/commands/AttachRolePolicyCommand.d.ts +4 -4
- package/dist-types/commands/AttachUserPolicyCommand.d.ts +3 -3
- package/dist-types/commands/ChangePasswordCommand.d.ts +1 -1
- package/dist-types/commands/CreateAccessKeyCommand.d.ts +4 -4
- package/dist-types/commands/CreateGroupCommand.d.ts +1 -1
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +1 -1
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +2 -2
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +15 -14
- package/dist-types/commands/CreatePolicyCommand.d.ts +3 -3
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +2 -2
- package/dist-types/commands/CreateSAMLProviderCommand.d.ts +5 -5
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -1
- package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +4 -4
- package/dist-types/commands/CreateUserCommand.d.ts +1 -1
- package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +3 -3
- package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAccessKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +3 -3
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +3 -3
- package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +2 -2
- package/dist-types/commands/DeletePolicyCommand.d.ts +6 -6
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRoleCommand.d.ts +21 -4
- package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +2 -2
- package/dist-types/commands/DeleteRolePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +3 -3
- package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteServerCertificateCommand.d.ts +3 -3
- package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +2 -2
- package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUserCommand.d.ts +10 -10
- package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +2 -2
- package/dist-types/commands/DeleteUserPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +2 -2
- package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +22 -22
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +12 -12
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +2 -2
- package/dist-types/commands/GetAccountSummaryCommand.d.ts +1 -1
- package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -1
- package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetGroupPolicyCommand.d.ts +3 -3
- package/dist-types/commands/GetLoginProfileCommand.d.ts +2 -2
- package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +4 -4
- package/dist-types/commands/GetPolicyCommand.d.ts +2 -2
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +5 -5
- package/dist-types/commands/GetRoleCommand.d.ts +1 -1
- package/dist-types/commands/GetRolePolicyCommand.d.ts +4 -4
- package/dist-types/commands/GetSAMLProviderCommand.d.ts +2 -2
- package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -1
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +12 -12
- package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +6 -6
- package/dist-types/commands/GetUserCommand.d.ts +1 -1
- package/dist-types/commands/GetUserPolicyCommand.d.ts +3 -3
- package/dist-types/commands/ListAccessKeysCommand.d.ts +4 -4
- package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +2 -2
- package/dist-types/commands/ListGroupPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListGroupsForUserCommand.d.ts +1 -1
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +3 -3
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -1
- package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +2 -2
- package/dist-types/commands/ListPoliciesCommand.d.ts +5 -5
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +9 -9
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListRolePoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListRolesCommand.d.ts +3 -3
- package/dist-types/commands/ListSAMLProvidersCommand.d.ts +2 -2
- package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +2 -2
- package/dist-types/commands/ListServerCertificatesCommand.d.ts +4 -4
- package/dist-types/commands/ListSigningCertificatesCommand.d.ts +2 -2
- package/dist-types/commands/ListUserPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListUsersCommand.d.ts +3 -3
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +3 -3
- package/dist-types/commands/PutGroupPolicyCommand.d.ts +4 -4
- package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +3 -3
- package/dist-types/commands/PutRolePolicyCommand.d.ts +5 -5
- package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +2 -2
- package/dist-types/commands/PutUserPolicyCommand.d.ts +4 -4
- package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +3 -3
- package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -1
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +2 -2
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +3 -3
- package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +14 -7
- package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +17 -10
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +2 -2
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +3 -3
- package/dist-types/commands/UpdateGroupCommand.d.ts +4 -4
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +6 -6
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +9 -8
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +2 -2
- package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateServerCertificateCommand.d.ts +5 -5
- package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +1 -1
- package/dist-types/commands/UpdateUserCommand.d.ts +4 -4
- package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -1
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +5 -5
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +4 -4
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +319 -282
- package/dist-types/models/models_1.d.ts +51 -51
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- 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,
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
11186
|
+
contents.JobCreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["JobCreationDate"]));
|
|
11187
11187
|
}
|
|
11188
11188
|
if (output["JobCompletionDate"] !== undefined) {
|
|
11189
|
-
contents.JobCompletionDate = __expectNonNull(
|
|
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(
|
|
11269
|
+
contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
|
|
11270
11270
|
}
|
|
11271
11271
|
if (output["ValidUntil"] !== undefined) {
|
|
11272
|
-
contents.ValidUntil = __expectNonNull(
|
|
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(
|
|
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(
|
|
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(
|
|
11345
|
+
contents.JobCreationDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["JobCreationDate"]));
|
|
11346
11346
|
}
|
|
11347
11347
|
if (output["JobCompletionDate"] !== undefined) {
|
|
11348
|
-
contents.JobCompletionDate = __expectNonNull(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
12385
|
+
contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
|
|
12386
12386
|
}
|
|
12387
12387
|
if (output["UpdateDate"] !== undefined) {
|
|
12388
|
-
contents.UpdateDate = __expectNonNull(
|
|
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(
|
|
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(
|
|
12569
|
+
contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
|
|
12570
12570
|
}
|
|
12571
12571
|
if (output["UpdateDate"] !== undefined) {
|
|
12572
|
-
contents.UpdateDate = __expectNonNull(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
13008
|
+
contents.ValidUntil = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["ValidUntil"]));
|
|
13009
13009
|
}
|
|
13010
13010
|
if (output["CreateDate"] !== undefined) {
|
|
13011
|
-
contents.CreateDate = __expectNonNull(
|
|
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(
|
|
13068
|
+
contents.UploadDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["UploadDate"]));
|
|
13069
13069
|
}
|
|
13070
13070
|
if (output["Expiration"] !== undefined) {
|
|
13071
|
-
contents.Expiration = __expectNonNull(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
13505
|
+
contents.CreateDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["CreateDate"]));
|
|
13506
13506
|
}
|
|
13507
13507
|
if (output["PasswordLastUsed"] !== undefined) {
|
|
13508
|
-
contents.PasswordLastUsed = __expectNonNull(
|
|
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(
|
|
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(
|
|
13615
|
+
contents.EnableDate = __expectNonNull(__parseRfc3339DateTimeWithOffset(output["EnableDate"]));
|
|
13616
13616
|
}
|
|
13617
13617
|
if (output.Tags === "") {
|
|
13618
13618
|
contents.Tags = [];
|