@aws-sdk/client-iam 3.261.0 → 3.262.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.
|
@@ -10747,7 +10747,7 @@ const deserializeAws_queryAccessDetail = (output, context) => {
|
|
|
10747
10747
|
contents.EntityPath = (0, smithy_client_1.expectString)(output["EntityPath"]);
|
|
10748
10748
|
}
|
|
10749
10749
|
if (output["LastAuthenticatedTime"] !== undefined) {
|
|
10750
|
-
contents.LastAuthenticatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
10750
|
+
contents.LastAuthenticatedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastAuthenticatedTime"]));
|
|
10751
10751
|
}
|
|
10752
10752
|
if (output["TotalAuthenticatedEntities"] !== undefined) {
|
|
10753
10753
|
contents.TotalAuthenticatedEntities = (0, smithy_client_1.strictParseInt32)(output["TotalAuthenticatedEntities"]);
|
|
@@ -10782,7 +10782,7 @@ const deserializeAws_queryAccessKey = (output, context) => {
|
|
|
10782
10782
|
contents.SecretAccessKey = (0, smithy_client_1.expectString)(output["SecretAccessKey"]);
|
|
10783
10783
|
}
|
|
10784
10784
|
if (output["CreateDate"] !== undefined) {
|
|
10785
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
10785
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
10786
10786
|
}
|
|
10787
10787
|
return contents;
|
|
10788
10788
|
};
|
|
@@ -10793,7 +10793,7 @@ const deserializeAws_queryAccessKeyLastUsed = (output, context) => {
|
|
|
10793
10793
|
Region: undefined,
|
|
10794
10794
|
};
|
|
10795
10795
|
if (output["LastUsedDate"] !== undefined) {
|
|
10796
|
-
contents.LastUsedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
10796
|
+
contents.LastUsedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastUsedDate"]));
|
|
10797
10797
|
}
|
|
10798
10798
|
if (output["ServiceName"] !== undefined) {
|
|
10799
10799
|
contents.ServiceName = (0, smithy_client_1.expectString)(output["ServiceName"]);
|
|
@@ -10820,7 +10820,7 @@ const deserializeAws_queryAccessKeyMetadata = (output, context) => {
|
|
|
10820
10820
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
10821
10821
|
}
|
|
10822
10822
|
if (output["CreateDate"] !== undefined) {
|
|
10823
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
10823
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
10824
10824
|
}
|
|
10825
10825
|
return contents;
|
|
10826
10826
|
};
|
|
@@ -11136,7 +11136,7 @@ const deserializeAws_queryEntityDetails = (output, context) => {
|
|
|
11136
11136
|
contents.EntityInfo = deserializeAws_queryEntityInfo(output["EntityInfo"], context);
|
|
11137
11137
|
}
|
|
11138
11138
|
if (output["LastAuthenticated"] !== undefined) {
|
|
11139
|
-
contents.LastAuthenticated = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11139
|
+
contents.LastAuthenticated = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastAuthenticated"]));
|
|
11140
11140
|
}
|
|
11141
11141
|
return contents;
|
|
11142
11142
|
};
|
|
@@ -11395,7 +11395,7 @@ const deserializeAws_queryGetCredentialReportResponse = (output, context) => {
|
|
|
11395
11395
|
contents.ReportFormat = (0, smithy_client_1.expectString)(output["ReportFormat"]);
|
|
11396
11396
|
}
|
|
11397
11397
|
if (output["GeneratedTime"] !== undefined) {
|
|
11398
|
-
contents.GeneratedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11398
|
+
contents.GeneratedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["GeneratedTime"]));
|
|
11399
11399
|
}
|
|
11400
11400
|
return contents;
|
|
11401
11401
|
};
|
|
@@ -11482,7 +11482,7 @@ const deserializeAws_queryGetOpenIDConnectProviderResponse = (output, context) =
|
|
|
11482
11482
|
contents.ThumbprintList = deserializeAws_querythumbprintListType((0, smithy_client_1.getArrayIfSingleItem)(output["ThumbprintList"]["member"]), context);
|
|
11483
11483
|
}
|
|
11484
11484
|
if (output["CreateDate"] !== undefined) {
|
|
11485
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11485
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
11486
11486
|
}
|
|
11487
11487
|
if (output.Tags === "") {
|
|
11488
11488
|
contents.Tags = [];
|
|
@@ -11508,10 +11508,10 @@ const deserializeAws_queryGetOrganizationsAccessReportResponse = (output, contex
|
|
|
11508
11508
|
contents.JobStatus = (0, smithy_client_1.expectString)(output["JobStatus"]);
|
|
11509
11509
|
}
|
|
11510
11510
|
if (output["JobCreationDate"] !== undefined) {
|
|
11511
|
-
contents.JobCreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11511
|
+
contents.JobCreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["JobCreationDate"]));
|
|
11512
11512
|
}
|
|
11513
11513
|
if (output["JobCompletionDate"] !== undefined) {
|
|
11514
|
-
contents.JobCompletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11514
|
+
contents.JobCompletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["JobCompletionDate"]));
|
|
11515
11515
|
}
|
|
11516
11516
|
if (output["NumberOfServicesAccessible"] !== undefined) {
|
|
11517
11517
|
contents.NumberOfServicesAccessible = (0, smithy_client_1.strictParseInt32)(output["NumberOfServicesAccessible"]);
|
|
@@ -11591,10 +11591,10 @@ const deserializeAws_queryGetSAMLProviderResponse = (output, context) => {
|
|
|
11591
11591
|
contents.SAMLMetadataDocument = (0, smithy_client_1.expectString)(output["SAMLMetadataDocument"]);
|
|
11592
11592
|
}
|
|
11593
11593
|
if (output["CreateDate"] !== undefined) {
|
|
11594
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11594
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
11595
11595
|
}
|
|
11596
11596
|
if (output["ValidUntil"] !== undefined) {
|
|
11597
|
-
contents.ValidUntil = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11597
|
+
contents.ValidUntil = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["ValidUntil"]));
|
|
11598
11598
|
}
|
|
11599
11599
|
if (output.Tags === "") {
|
|
11600
11600
|
contents.Tags = [];
|
|
@@ -11631,7 +11631,7 @@ const deserializeAws_queryGetServiceLastAccessedDetailsResponse = (output, conte
|
|
|
11631
11631
|
contents.JobType = (0, smithy_client_1.expectString)(output["JobType"]);
|
|
11632
11632
|
}
|
|
11633
11633
|
if (output["JobCreationDate"] !== undefined) {
|
|
11634
|
-
contents.JobCreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11634
|
+
contents.JobCreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["JobCreationDate"]));
|
|
11635
11635
|
}
|
|
11636
11636
|
if (output.ServicesLastAccessed === "") {
|
|
11637
11637
|
contents.ServicesLastAccessed = [];
|
|
@@ -11640,7 +11640,7 @@ const deserializeAws_queryGetServiceLastAccessedDetailsResponse = (output, conte
|
|
|
11640
11640
|
contents.ServicesLastAccessed = deserializeAws_queryServicesLastAccessed((0, smithy_client_1.getArrayIfSingleItem)(output["ServicesLastAccessed"]["member"]), context);
|
|
11641
11641
|
}
|
|
11642
11642
|
if (output["JobCompletionDate"] !== undefined) {
|
|
11643
|
-
contents.JobCompletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11643
|
+
contents.JobCompletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["JobCompletionDate"]));
|
|
11644
11644
|
}
|
|
11645
11645
|
if (output["IsTruncated"] !== undefined) {
|
|
11646
11646
|
contents.IsTruncated = (0, smithy_client_1.parseBoolean)(output["IsTruncated"]);
|
|
@@ -11667,10 +11667,10 @@ const deserializeAws_queryGetServiceLastAccessedDetailsWithEntitiesResponse = (o
|
|
|
11667
11667
|
contents.JobStatus = (0, smithy_client_1.expectString)(output["JobStatus"]);
|
|
11668
11668
|
}
|
|
11669
11669
|
if (output["JobCreationDate"] !== undefined) {
|
|
11670
|
-
contents.JobCreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11670
|
+
contents.JobCreationDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["JobCreationDate"]));
|
|
11671
11671
|
}
|
|
11672
11672
|
if (output["JobCompletionDate"] !== undefined) {
|
|
11673
|
-
contents.JobCompletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11673
|
+
contents.JobCompletionDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["JobCompletionDate"]));
|
|
11674
11674
|
}
|
|
11675
11675
|
if (output.EntityDetailsList === "") {
|
|
11676
11676
|
contents.EntityDetailsList = [];
|
|
@@ -11758,7 +11758,7 @@ const deserializeAws_queryGroup = (output, context) => {
|
|
|
11758
11758
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
11759
11759
|
}
|
|
11760
11760
|
if (output["CreateDate"] !== undefined) {
|
|
11761
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11761
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
11762
11762
|
}
|
|
11763
11763
|
return contents;
|
|
11764
11764
|
};
|
|
@@ -11785,7 +11785,7 @@ const deserializeAws_queryGroupDetail = (output, context) => {
|
|
|
11785
11785
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
11786
11786
|
}
|
|
11787
11787
|
if (output["CreateDate"] !== undefined) {
|
|
11788
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11788
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
11789
11789
|
}
|
|
11790
11790
|
if (output.GroupPolicyList === "") {
|
|
11791
11791
|
contents.GroupPolicyList = [];
|
|
@@ -11846,7 +11846,7 @@ const deserializeAws_queryInstanceProfile = (output, context) => {
|
|
|
11846
11846
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
11847
11847
|
}
|
|
11848
11848
|
if (output["CreateDate"] !== undefined) {
|
|
11849
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
11849
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
11850
11850
|
}
|
|
11851
11851
|
if (output.Roles === "") {
|
|
11852
11852
|
contents.Roles = [];
|
|
@@ -12639,7 +12639,7 @@ const deserializeAws_queryLoginProfile = (output, context) => {
|
|
|
12639
12639
|
contents.UserName = (0, smithy_client_1.expectString)(output["UserName"]);
|
|
12640
12640
|
}
|
|
12641
12641
|
if (output["CreateDate"] !== undefined) {
|
|
12642
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12642
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
12643
12643
|
}
|
|
12644
12644
|
if (output["PasswordResetRequired"] !== undefined) {
|
|
12645
12645
|
contents.PasswordResetRequired = (0, smithy_client_1.parseBoolean)(output["PasswordResetRequired"]);
|
|
@@ -12707,10 +12707,10 @@ const deserializeAws_queryManagedPolicyDetail = (output, context) => {
|
|
|
12707
12707
|
contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
|
|
12708
12708
|
}
|
|
12709
12709
|
if (output["CreateDate"] !== undefined) {
|
|
12710
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12710
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
12711
12711
|
}
|
|
12712
12712
|
if (output["UpdateDate"] !== undefined) {
|
|
12713
|
-
contents.UpdateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12713
|
+
contents.UpdateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["UpdateDate"]));
|
|
12714
12714
|
}
|
|
12715
12715
|
if (output.PolicyVersionList === "") {
|
|
12716
12716
|
contents.PolicyVersionList = [];
|
|
@@ -12740,7 +12740,7 @@ const deserializeAws_queryMFADevice = (output, context) => {
|
|
|
12740
12740
|
contents.SerialNumber = (0, smithy_client_1.expectString)(output["SerialNumber"]);
|
|
12741
12741
|
}
|
|
12742
12742
|
if (output["EnableDate"] !== undefined) {
|
|
12743
|
-
contents.EnableDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12743
|
+
contents.EnableDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["EnableDate"]));
|
|
12744
12744
|
}
|
|
12745
12745
|
return contents;
|
|
12746
12746
|
};
|
|
@@ -12891,10 +12891,10 @@ const deserializeAws_queryPolicy = (output, context) => {
|
|
|
12891
12891
|
contents.Description = (0, smithy_client_1.expectString)(output["Description"]);
|
|
12892
12892
|
}
|
|
12893
12893
|
if (output["CreateDate"] !== undefined) {
|
|
12894
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12894
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
12895
12895
|
}
|
|
12896
12896
|
if (output["UpdateDate"] !== undefined) {
|
|
12897
|
-
contents.UpdateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
12897
|
+
contents.UpdateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["UpdateDate"]));
|
|
12898
12898
|
}
|
|
12899
12899
|
if (output.Tags === "") {
|
|
12900
12900
|
contents.Tags = [];
|
|
@@ -13072,7 +13072,7 @@ const deserializeAws_queryPolicyVersion = (output, context) => {
|
|
|
13072
13072
|
contents.IsDefaultVersion = (0, smithy_client_1.parseBoolean)(output["IsDefaultVersion"]);
|
|
13073
13073
|
}
|
|
13074
13074
|
if (output["CreateDate"] !== undefined) {
|
|
13075
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13075
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
13076
13076
|
}
|
|
13077
13077
|
return contents;
|
|
13078
13078
|
};
|
|
@@ -13179,7 +13179,7 @@ const deserializeAws_queryRole = (output, context) => {
|
|
|
13179
13179
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
13180
13180
|
}
|
|
13181
13181
|
if (output["CreateDate"] !== undefined) {
|
|
13182
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13182
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
13183
13183
|
}
|
|
13184
13184
|
if (output["AssumeRolePolicyDocument"] !== undefined) {
|
|
13185
13185
|
contents.AssumeRolePolicyDocument = (0, smithy_client_1.expectString)(output["AssumeRolePolicyDocument"]);
|
|
@@ -13232,7 +13232,7 @@ const deserializeAws_queryRoleDetail = (output, context) => {
|
|
|
13232
13232
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
13233
13233
|
}
|
|
13234
13234
|
if (output["CreateDate"] !== undefined) {
|
|
13235
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13235
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
13236
13236
|
}
|
|
13237
13237
|
if (output["AssumeRolePolicyDocument"] !== undefined) {
|
|
13238
13238
|
contents.AssumeRolePolicyDocument = (0, smithy_client_1.expectString)(output["AssumeRolePolicyDocument"]);
|
|
@@ -13283,7 +13283,7 @@ const deserializeAws_queryRoleLastUsed = (output, context) => {
|
|
|
13283
13283
|
Region: undefined,
|
|
13284
13284
|
};
|
|
13285
13285
|
if (output["LastUsedDate"] !== undefined) {
|
|
13286
|
-
contents.LastUsedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13286
|
+
contents.LastUsedDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastUsedDate"]));
|
|
13287
13287
|
}
|
|
13288
13288
|
if (output["Region"] !== undefined) {
|
|
13289
13289
|
contents.Region = (0, smithy_client_1.expectString)(output["Region"]);
|
|
@@ -13330,10 +13330,10 @@ const deserializeAws_querySAMLProviderListEntry = (output, context) => {
|
|
|
13330
13330
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
13331
13331
|
}
|
|
13332
13332
|
if (output["ValidUntil"] !== undefined) {
|
|
13333
|
-
contents.ValidUntil = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13333
|
+
contents.ValidUntil = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["ValidUntil"]));
|
|
13334
13334
|
}
|
|
13335
13335
|
if (output["CreateDate"] !== undefined) {
|
|
13336
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13336
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
13337
13337
|
}
|
|
13338
13338
|
return contents;
|
|
13339
13339
|
};
|
|
@@ -13390,10 +13390,10 @@ const deserializeAws_queryServerCertificateMetadata = (output, context) => {
|
|
|
13390
13390
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
13391
13391
|
}
|
|
13392
13392
|
if (output["UploadDate"] !== undefined) {
|
|
13393
|
-
contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13393
|
+
contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["UploadDate"]));
|
|
13394
13394
|
}
|
|
13395
13395
|
if (output["Expiration"] !== undefined) {
|
|
13396
|
-
contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13396
|
+
contents.Expiration = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["Expiration"]));
|
|
13397
13397
|
}
|
|
13398
13398
|
return contents;
|
|
13399
13399
|
};
|
|
@@ -13427,7 +13427,7 @@ const deserializeAws_queryServiceLastAccessed = (output, context) => {
|
|
|
13427
13427
|
contents.ServiceName = (0, smithy_client_1.expectString)(output["ServiceName"]);
|
|
13428
13428
|
}
|
|
13429
13429
|
if (output["LastAuthenticated"] !== undefined) {
|
|
13430
|
-
contents.LastAuthenticated = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13430
|
+
contents.LastAuthenticated = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastAuthenticated"]));
|
|
13431
13431
|
}
|
|
13432
13432
|
if (output["ServiceNamespace"] !== undefined) {
|
|
13433
13433
|
contents.ServiceNamespace = (0, smithy_client_1.expectString)(output["ServiceNamespace"]);
|
|
@@ -13477,7 +13477,7 @@ const deserializeAws_queryServiceSpecificCredential = (output, context) => {
|
|
|
13477
13477
|
Status: undefined,
|
|
13478
13478
|
};
|
|
13479
13479
|
if (output["CreateDate"] !== undefined) {
|
|
13480
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13480
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
13481
13481
|
}
|
|
13482
13482
|
if (output["ServiceName"] !== undefined) {
|
|
13483
13483
|
contents.ServiceName = (0, smithy_client_1.expectString)(output["ServiceName"]);
|
|
@@ -13518,7 +13518,7 @@ const deserializeAws_queryServiceSpecificCredentialMetadata = (output, context)
|
|
|
13518
13518
|
contents.ServiceUserName = (0, smithy_client_1.expectString)(output["ServiceUserName"]);
|
|
13519
13519
|
}
|
|
13520
13520
|
if (output["CreateDate"] !== undefined) {
|
|
13521
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13521
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
13522
13522
|
}
|
|
13523
13523
|
if (output["ServiceSpecificCredentialId"] !== undefined) {
|
|
13524
13524
|
contents.ServiceSpecificCredentialId = (0, smithy_client_1.expectString)(output["ServiceSpecificCredentialId"]);
|
|
@@ -13556,7 +13556,7 @@ const deserializeAws_querySigningCertificate = (output, context) => {
|
|
|
13556
13556
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
13557
13557
|
}
|
|
13558
13558
|
if (output["UploadDate"] !== undefined) {
|
|
13559
|
-
contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13559
|
+
contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["UploadDate"]));
|
|
13560
13560
|
}
|
|
13561
13561
|
return contents;
|
|
13562
13562
|
};
|
|
@@ -13605,7 +13605,7 @@ const deserializeAws_querySSHPublicKey = (output, context) => {
|
|
|
13605
13605
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
13606
13606
|
}
|
|
13607
13607
|
if (output["UploadDate"] !== undefined) {
|
|
13608
|
-
contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13608
|
+
contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["UploadDate"]));
|
|
13609
13609
|
}
|
|
13610
13610
|
return contents;
|
|
13611
13611
|
};
|
|
@@ -13633,7 +13633,7 @@ const deserializeAws_querySSHPublicKeyMetadata = (output, context) => {
|
|
|
13633
13633
|
contents.Status = (0, smithy_client_1.expectString)(output["Status"]);
|
|
13634
13634
|
}
|
|
13635
13635
|
if (output["UploadDate"] !== undefined) {
|
|
13636
|
-
contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13636
|
+
contents.UploadDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["UploadDate"]));
|
|
13637
13637
|
}
|
|
13638
13638
|
return contents;
|
|
13639
13639
|
};
|
|
@@ -13715,7 +13715,7 @@ const deserializeAws_queryTrackedActionLastAccessed = (output, context) => {
|
|
|
13715
13715
|
contents.LastAccessedEntity = (0, smithy_client_1.expectString)(output["LastAccessedEntity"]);
|
|
13716
13716
|
}
|
|
13717
13717
|
if (output["LastAccessedTime"] !== undefined) {
|
|
13718
|
-
contents.LastAccessedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13718
|
+
contents.LastAccessedTime = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["LastAccessedTime"]));
|
|
13719
13719
|
}
|
|
13720
13720
|
if (output["LastAccessedRegion"] !== undefined) {
|
|
13721
13721
|
contents.LastAccessedRegion = (0, smithy_client_1.expectString)(output["LastAccessedRegion"]);
|
|
@@ -13827,10 +13827,10 @@ const deserializeAws_queryUser = (output, context) => {
|
|
|
13827
13827
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
13828
13828
|
}
|
|
13829
13829
|
if (output["CreateDate"] !== undefined) {
|
|
13830
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13830
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
13831
13831
|
}
|
|
13832
13832
|
if (output["PasswordLastUsed"] !== undefined) {
|
|
13833
|
-
contents.PasswordLastUsed = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13833
|
+
contents.PasswordLastUsed = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["PasswordLastUsed"]));
|
|
13834
13834
|
}
|
|
13835
13835
|
if (output["PermissionsBoundary"] !== undefined) {
|
|
13836
13836
|
contents.PermissionsBoundary = deserializeAws_queryAttachedPermissionsBoundary(output["PermissionsBoundary"], context);
|
|
@@ -13869,7 +13869,7 @@ const deserializeAws_queryUserDetail = (output, context) => {
|
|
|
13869
13869
|
contents.Arn = (0, smithy_client_1.expectString)(output["Arn"]);
|
|
13870
13870
|
}
|
|
13871
13871
|
if (output["CreateDate"] !== undefined) {
|
|
13872
|
-
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13872
|
+
contents.CreateDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["CreateDate"]));
|
|
13873
13873
|
}
|
|
13874
13874
|
if (output.UserPolicyList === "") {
|
|
13875
13875
|
contents.UserPolicyList = [];
|
|
@@ -13937,7 +13937,7 @@ const deserializeAws_queryVirtualMFADevice = (output, context) => {
|
|
|
13937
13937
|
contents.User = deserializeAws_queryUser(output["User"], context);
|
|
13938
13938
|
}
|
|
13939
13939
|
if (output["EnableDate"] !== undefined) {
|
|
13940
|
-
contents.EnableDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.
|
|
13940
|
+
contents.EnableDate = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseRfc3339DateTimeWithOffset)(output["EnableDate"]));
|
|
13941
13941
|
}
|
|
13942
13942
|
if (output.Tags === "") {
|
|
13943
13943
|
contents.Tags = [];
|
|
@@ -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 = [];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-iam",
|
|
3
3
|
"description": "AWS SDK for JavaScript Iam Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.262.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
+
"@aws-sdk/client-sts": "3.262.0",
|
|
24
24
|
"@aws-sdk/config-resolver": "3.259.0",
|
|
25
25
|
"@aws-sdk/credential-provider-node": "3.261.0",
|
|
26
26
|
"@aws-sdk/fetch-http-handler": "3.257.0",
|