@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,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a =
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
4
|
+
const G = "type", H = "rules", I = "conditions", J = "fn", K = "argv", L = "ref", M = "url", N = "properties", O = "headers", P = "authSchemes", Q = "name", R = "signingRegion", S = "signingName";
|
|
5
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = { "required": true, "default": false, [G]: "Boolean" }, j = { [L]: "Region" }, k = { [L]: "Endpoint" }, l = {}, m = { [J]: "getAttr", [K]: [{ [L]: d }, "name"] }, n = { [I]: [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], [G]: e, [H]: [{ [I]: [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }, { [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], [G]: e, [H]: [{ [g]: { [M]: "https://iam-fips.{Region}.api.aws", [N]: {}, [O]: {} }, [G]: g }] }, { [f]: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: f }] }, o = { [f]: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: f }, p = { [M]: "https://iam-fips.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-east-1", [S]: "iam" }] }, [O]: {} }, q = { [f]: "FIPS is enabled but this partition does not support FIPS", [G]: f }, r = { [I]: [{ [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], [G]: e, [H]: [{ [I]: [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], [G]: e, [H]: [{ [g]: { [M]: "https://iam.{Region}.api.aws", [N]: {}, [O]: {} }, [G]: g }] }, { [f]: "DualStack is enabled but this partition does not support DualStack", [G]: f }] }, s = { [f]: "DualStack is enabled but this partition does not support DualStack", [G]: f }, t = { [M]: "https://iam.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-east-1", [S]: "iam" }] }, [O]: {} }, u = { [M]: "https://iam.cn-north-1.amazonaws.com.cn", [N]: { [P]: [{ [Q]: "sigv4", [R]: "cn-north-1", [S]: "iam" }] }, [O]: {} }, v = { [g]: { [M]: "https://iam.us-gov.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-gov-west-1", [S]: "iam" }] }, [O]: {} }, [G]: g }, w = { [M]: "https://iam.us-iso-east-1.c2s.ic.gov", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-iso-east-1", [S]: "iam" }] }, [O]: {} }, x = { [M]: "https://iam.us-isob-east-1.sc2s.sgov.gov", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-isob-east-1", [S]: "iam" }] }, [O]: {} }, y = { [I]: [{ [J]: h, [K]: [j, "aws-us-gov-global"] }], [g]: { [M]: "https://iam.us-gov.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-gov-west-1", [S]: "iam" }] }, [O]: {} }, [G]: g }, z = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }], A = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], B = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], C = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }, { [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], D = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }], E = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], F = [{ [J]: h, [K]: [j, "aws-global"] }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, [G]: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, [G]: c } }, [H]: [{ [I]: [{ [J]: "aws.partition", [K]: [j], assign: d }], [G]: e, [H]: [{ [I]: [{ [J]: "isSet", [K]: [k] }], [G]: e, [H]: [{ [I]: z, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: f }, { [G]: e, [H]: [{ [I]: A, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: f }, { endpoint: { [M]: k, [N]: l, [O]: l }, [G]: g }] }] }, { [I]: [{ [J]: h, [K]: [m, "aws"] }], [G]: e, [H]: [n, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: p, [G]: g }] }, q] }, r, { endpoint: t, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-cn"] }], [G]: e, [H]: [{ [I]: B, [G]: e, [H]: [{ [I]: C, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.api.amazonwebservices.com.cn", [N]: l, [O]: l }, [G]: g }] }, o] }, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.amazonaws.com.cn", [N]: l, [O]: l }, [G]: g }] }, q] }, { [I]: A, [G]: e, [H]: [{ [I]: E, [G]: e, [H]: [{ endpoint: { [M]: "https://iam.{Region}.api.amazonwebservices.com.cn", [N]: l, [O]: l }, [G]: g }] }, s] }, { endpoint: u, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-us-gov"] }], [G]: e, [H]: [n, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [v] }, q] }, r, v] }, { [I]: [{ [J]: h, [K]: [m, "aws-iso"] }], [G]: e, [H]: [{ [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.c2s.ic.gov", [N]: l, [O]: l }, [G]: g }] }, q] }, { endpoint: w, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-iso-b"] }], [G]: e, [H]: [{ [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.sc2s.sgov.gov", [N]: l, [O]: l }, [G]: g }] }, q] }, { endpoint: x, [G]: g }] }, { [I]: B, [G]: e, [H]: [{ [I]: C, [G]: e, [H]: [{ [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, o] }, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ [G]: e, [H]: [{ [I]: F, endpoint: p, [G]: g }, y, { endpoint: { [M]: "https://iam-fips.{Region}.{PartitionResult#dnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, q] }, { [I]: A, [G]: e, [H]: [{ [I]: E, [G]: e, [H]: [{ [G]: e, [H]: [{ endpoint: { [M]: "https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, s] }, { [G]: e, [H]: [{ [I]: F, endpoint: t, [G]: g }, { [I]: [{ [J]: h, [K]: [j, "aws-cn-global"] }], endpoint: u, [G]: g }, y, { [I]: [{ [J]: h, [K]: [j, "aws-iso-global"] }], endpoint: w, [G]: g }, { [I]: [{ [J]: h, [K]: [j, "aws-iso-b-global"] }], endpoint: x, [G]: g }, { endpoint: { [M]: "https://iam.{Region}.{PartitionResult#dnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a =
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const G = "type", H = "rules", I = "conditions", J = "fn", K = "argv", L = "ref", M = "url", N = "properties", O = "headers", P = "authSchemes", Q = "name", R = "signingRegion", S = "signingName";
|
|
2
|
+
const a = true, b = false, c = "String", d = "PartitionResult", e = "tree", f = "error", g = "endpoint", h = "stringEquals", i = { "required": true, "default": false, [G]: "Boolean" }, j = { [L]: "Region" }, k = { [L]: "Endpoint" }, l = {}, m = { [J]: "getAttr", [K]: [{ [L]: d }, "name"] }, n = { [I]: [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], [G]: e, [H]: [{ [I]: [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }, { [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], [G]: e, [H]: [{ [g]: { [M]: "https://iam-fips.{Region}.api.aws", [N]: {}, [O]: {} }, [G]: g }] }, { [f]: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: f }] }, o = { [f]: "FIPS and DualStack are enabled, but this partition does not support one or both", [G]: f }, p = { [M]: "https://iam-fips.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-east-1", [S]: "iam" }] }, [O]: {} }, q = { [f]: "FIPS is enabled but this partition does not support FIPS", [G]: f }, r = { [I]: [{ [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], [G]: e, [H]: [{ [I]: [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], [G]: e, [H]: [{ [g]: { [M]: "https://iam.{Region}.api.aws", [N]: {}, [O]: {} }, [G]: g }] }, { [f]: "DualStack is enabled but this partition does not support DualStack", [G]: f }] }, s = { [f]: "DualStack is enabled but this partition does not support DualStack", [G]: f }, t = { [M]: "https://iam.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-east-1", [S]: "iam" }] }, [O]: {} }, u = { [M]: "https://iam.cn-north-1.amazonaws.com.cn", [N]: { [P]: [{ [Q]: "sigv4", [R]: "cn-north-1", [S]: "iam" }] }, [O]: {} }, v = { [g]: { [M]: "https://iam.us-gov.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-gov-west-1", [S]: "iam" }] }, [O]: {} }, [G]: g }, w = { [M]: "https://iam.us-iso-east-1.c2s.ic.gov", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-iso-east-1", [S]: "iam" }] }, [O]: {} }, x = { [M]: "https://iam.us-isob-east-1.sc2s.sgov.gov", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-isob-east-1", [S]: "iam" }] }, [O]: {} }, y = { [I]: [{ [J]: h, [K]: [j, "aws-us-gov-global"] }], [g]: { [M]: "https://iam.us-gov.amazonaws.com", [N]: { [P]: [{ [Q]: "sigv4", [R]: "us-gov-west-1", [S]: "iam" }] }, [O]: {} }, [G]: g }, z = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }], A = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], B = [{ [J]: "booleanEquals", [K]: [{ [L]: "UseFIPS" }, true] }, { [J]: "booleanEquals", [K]: [{ [L]: "UseDualStack" }, true] }], C = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }, { [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], D = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsFIPS"] }] }], E = [{ [J]: "booleanEquals", [K]: [true, { [J]: "getAttr", [K]: [{ [L]: d }, "supportsDualStack"] }] }], F = [{ [J]: h, [K]: [j, "aws-global"] }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: { required: a, [G]: c }, UseDualStack: i, UseFIPS: i, Endpoint: { required: b, [G]: c } }, [H]: [{ [I]: [{ [J]: "aws.partition", [K]: [j], assign: d }], [G]: e, [H]: [{ [I]: [{ [J]: "isSet", [K]: [k] }], [G]: e, [H]: [{ [I]: z, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [G]: f }, { [G]: e, [H]: [{ [I]: A, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [G]: f }, { endpoint: { [M]: k, [N]: l, [O]: l }, [G]: g }] }] }, { [I]: [{ [J]: h, [K]: [m, "aws"] }], [G]: e, [H]: [n, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: p, [G]: g }] }, q] }, r, { endpoint: t, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-cn"] }], [G]: e, [H]: [{ [I]: B, [G]: e, [H]: [{ [I]: C, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.api.amazonwebservices.com.cn", [N]: l, [O]: l }, [G]: g }] }, o] }, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.amazonaws.com.cn", [N]: l, [O]: l }, [G]: g }] }, q] }, { [I]: A, [G]: e, [H]: [{ [I]: E, [G]: e, [H]: [{ endpoint: { [M]: "https://iam.{Region}.api.amazonwebservices.com.cn", [N]: l, [O]: l }, [G]: g }] }, s] }, { endpoint: u, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-us-gov"] }], [G]: e, [H]: [n, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [v] }, q] }, r, v] }, { [I]: [{ [J]: h, [K]: [m, "aws-iso"] }], [G]: e, [H]: [{ [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.c2s.ic.gov", [N]: l, [O]: l }, [G]: g }] }, q] }, { endpoint: w, [G]: g }] }, { [I]: [{ [J]: h, [K]: [m, "aws-iso-b"] }], [G]: e, [H]: [{ [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.sc2s.sgov.gov", [N]: l, [O]: l }, [G]: g }] }, q] }, { endpoint: x, [G]: g }] }, { [I]: B, [G]: e, [H]: [{ [I]: C, [G]: e, [H]: [{ [G]: e, [H]: [{ endpoint: { [M]: "https://iam-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, o] }, { [I]: z, [G]: e, [H]: [{ [I]: D, [G]: e, [H]: [{ [G]: e, [H]: [{ [I]: F, endpoint: p, [G]: g }, y, { endpoint: { [M]: "https://iam-fips.{Region}.{PartitionResult#dnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, q] }, { [I]: A, [G]: e, [H]: [{ [I]: E, [G]: e, [H]: [{ [G]: e, [H]: [{ endpoint: { [M]: "https://iam.{Region}.{PartitionResult#dualStackDnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }, s] }, { [G]: e, [H]: [{ [I]: F, endpoint: t, [G]: g }, { [I]: [{ [J]: h, [K]: [j, "aws-cn-global"] }], endpoint: u, [G]: g }, y, { [I]: [{ [J]: h, [K]: [j, "aws-iso-global"] }], endpoint: w, [G]: g }, { [I]: [{ [J]: h, [K]: [j, "aws-iso-b-global"] }], endpoint: x, [G]: g }, { endpoint: { [M]: "https://iam.{Region}.{PartitionResult#dnsSuffix}", [N]: l, [O]: l }, [G]: g }] }] }] };
|
|
4
4
|
export const ruleSet = _data;
|