@aws-sdk/client-iam 3.775.0 → 3.782.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-es/endpoint/ruleset.js +3 -3
- package/dist-types/commands/AddClientIDToOpenIDConnectProviderCommand.d.ts +8 -5
- package/dist-types/commands/AddRoleToInstanceProfileCommand.d.ts +8 -5
- package/dist-types/commands/AddUserToGroupCommand.d.ts +8 -5
- package/dist-types/commands/AttachGroupPolicyCommand.d.ts +8 -5
- package/dist-types/commands/AttachRolePolicyCommand.d.ts +8 -5
- package/dist-types/commands/AttachUserPolicyCommand.d.ts +8 -5
- package/dist-types/commands/ChangePasswordCommand.d.ts +8 -5
- package/dist-types/commands/CreateAccessKeyCommand.d.ts +10 -10
- package/dist-types/commands/CreateAccountAliasCommand.d.ts +7 -4
- package/dist-types/commands/CreateGroupCommand.d.ts +10 -10
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +11 -11
- package/dist-types/commands/CreateLoginProfileCommand.d.ts +10 -10
- package/dist-types/commands/CreateOpenIDConnectProviderCommand.d.ts +7 -7
- package/dist-types/commands/CreatePolicyCommand.d.ts +1 -0
- package/dist-types/commands/CreatePolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +13 -13
- package/dist-types/commands/CreateSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +1 -0
- package/dist-types/commands/CreateServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/CreateUserCommand.d.ts +10 -10
- package/dist-types/commands/CreateVirtualMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/DeactivateMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/DeleteAccessKeyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteAccountAliasCommand.d.ts +7 -4
- package/dist-types/commands/DeleteAccountPasswordPolicyCommand.d.ts +7 -4
- package/dist-types/commands/DeleteGroupCommand.d.ts +1 -0
- package/dist-types/commands/DeleteGroupPolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteInstanceProfileCommand.d.ts +7 -4
- package/dist-types/commands/DeleteLoginProfileCommand.d.ts +7 -4
- package/dist-types/commands/DeleteOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/DeletePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DeletePolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRoleCommand.d.ts +7 -4
- package/dist-types/commands/DeleteRolePermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/DeleteRolePolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/DeleteServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/DeleteServiceLinkedRoleCommand.d.ts +1 -0
- package/dist-types/commands/DeleteServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/DeleteSigningCertificateCommand.d.ts +8 -5
- package/dist-types/commands/DeleteUserCommand.d.ts +7 -4
- package/dist-types/commands/DeleteUserPermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/DeleteUserPolicyCommand.d.ts +8 -5
- package/dist-types/commands/DeleteVirtualMFADeviceCommand.d.ts +7 -4
- package/dist-types/commands/DetachGroupPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DetachRolePolicyCommand.d.ts +1 -0
- package/dist-types/commands/DetachUserPolicyCommand.d.ts +1 -0
- package/dist-types/commands/DisableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
- package/dist-types/commands/DisableOrganizationsRootSessionsCommand.d.ts +6 -6
- package/dist-types/commands/EnableMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/EnableOrganizationsRootCredentialsManagementCommand.d.ts +6 -6
- package/dist-types/commands/EnableOrganizationsRootSessionsCommand.d.ts +6 -6
- package/dist-types/commands/GenerateCredentialReportCommand.d.ts +1 -0
- package/dist-types/commands/GenerateOrganizationsAccessReportCommand.d.ts +5 -5
- package/dist-types/commands/GenerateServiceLastAccessedDetailsCommand.d.ts +5 -5
- package/dist-types/commands/GetAccessKeyLastUsedCommand.d.ts +1 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +1 -0
- package/dist-types/commands/GetAccountPasswordPolicyCommand.d.ts +15 -15
- package/dist-types/commands/GetAccountSummaryCommand.d.ts +31 -31
- package/dist-types/commands/GetContextKeysForCustomPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetContextKeysForPrincipalPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetCredentialReportCommand.d.ts +1 -0
- package/dist-types/commands/GetGroupCommand.d.ts +1 -0
- package/dist-types/commands/GetGroupPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +17 -17
- package/dist-types/commands/GetLoginProfileCommand.d.ts +7 -7
- package/dist-types/commands/GetMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/GetOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/GetOrganizationsAccessReportCommand.d.ts +26 -26
- package/dist-types/commands/GetPolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetPolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/GetRoleCommand.d.ts +15 -15
- package/dist-types/commands/GetRolePolicyCommand.d.ts +1 -0
- package/dist-types/commands/GetSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/GetSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/GetServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/GetServiceLastAccessedDetailsCommand.d.ts +17 -17
- package/dist-types/commands/GetServiceLastAccessedDetailsWithEntitiesCommand.d.ts +23 -23
- package/dist-types/commands/GetServiceLinkedRoleDeletionStatusCommand.d.ts +1 -0
- package/dist-types/commands/GetUserCommand.d.ts +10 -10
- package/dist-types/commands/GetUserPolicyCommand.d.ts +1 -0
- package/dist-types/commands/ListAccessKeysCommand.d.ts +13 -13
- package/dist-types/commands/ListAccountAliasesCommand.d.ts +5 -5
- package/dist-types/commands/ListAttachedGroupPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListAttachedRolePoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListAttachedUserPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListEntitiesForPolicyCommand.d.ts +1 -0
- package/dist-types/commands/ListGroupPoliciesCommand.d.ts +5 -5
- package/dist-types/commands/ListGroupsCommand.d.ts +20 -20
- package/dist-types/commands/ListGroupsForUserCommand.d.ts +15 -15
- package/dist-types/commands/ListInstanceProfileTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +1 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +1 -0
- package/dist-types/commands/ListMFADeviceTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListMFADevicesCommand.d.ts +1 -0
- package/dist-types/commands/ListOpenIDConnectProviderTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListOpenIDConnectProvidersCommand.d.ts +1 -0
- package/dist-types/commands/ListOrganizationsFeaturesCommand.d.ts +6 -6
- package/dist-types/commands/ListPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListPoliciesGrantingServiceAccessCommand.d.ts +21 -21
- package/dist-types/commands/ListPolicyTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListPolicyVersionsCommand.d.ts +1 -0
- package/dist-types/commands/ListRolePoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListRoleTagsCommand.d.ts +10 -10
- package/dist-types/commands/ListRolesCommand.d.ts +1 -0
- package/dist-types/commands/ListSAMLProviderTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListSAMLProvidersCommand.d.ts +1 -0
- package/dist-types/commands/ListSSHPublicKeysCommand.d.ts +1 -0
- package/dist-types/commands/ListServerCertificateTagsCommand.d.ts +1 -0
- package/dist-types/commands/ListServerCertificatesCommand.d.ts +1 -0
- package/dist-types/commands/ListServiceSpecificCredentialsCommand.d.ts +1 -0
- package/dist-types/commands/ListSigningCertificatesCommand.d.ts +10 -10
- package/dist-types/commands/ListUserPoliciesCommand.d.ts +1 -0
- package/dist-types/commands/ListUserTagsCommand.d.ts +10 -10
- package/dist-types/commands/ListUsersCommand.d.ts +17 -17
- package/dist-types/commands/ListVirtualMFADevicesCommand.d.ts +7 -7
- package/dist-types/commands/PutGroupPolicyCommand.d.ts +9 -6
- package/dist-types/commands/PutRolePermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/PutRolePolicyCommand.d.ts +9 -6
- package/dist-types/commands/PutUserPermissionsBoundaryCommand.d.ts +1 -0
- package/dist-types/commands/PutUserPolicyCommand.d.ts +9 -6
- package/dist-types/commands/RemoveClientIDFromOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/RemoveRoleFromInstanceProfileCommand.d.ts +8 -5
- package/dist-types/commands/RemoveUserFromGroupCommand.d.ts +8 -5
- package/dist-types/commands/ResetServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/ResyncMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/SetDefaultPolicyVersionCommand.d.ts +1 -0
- package/dist-types/commands/SetSecurityTokenServicePreferencesCommand.d.ts +7 -4
- package/dist-types/commands/SimulateCustomPolicyCommand.d.ts +1 -0
- package/dist-types/commands/SimulatePrincipalPolicyCommand.d.ts +1 -0
- package/dist-types/commands/TagInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/TagMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/TagOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/TagPolicyCommand.d.ts +1 -0
- package/dist-types/commands/TagRoleCommand.d.ts +12 -9
- package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/TagUserCommand.d.ts +12 -9
- package/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -0
- package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -0
- package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -0
- package/dist-types/commands/UntagPolicyCommand.d.ts +1 -0
- package/dist-types/commands/UntagRoleCommand.d.ts +8 -5
- package/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/UntagUserCommand.d.ts +8 -5
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +9 -6
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +8 -5
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +8 -5
- package/dist-types/commands/UpdateGroupCommand.d.ts +8 -5
- package/dist-types/commands/UpdateLoginProfileCommand.d.ts +8 -5
- package/dist-types/commands/UpdateOpenIDConnectProviderThumbprintCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRoleCommand.d.ts +1 -0
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSAMLProviderCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/UpdateServerCertificateCommand.d.ts +1 -0
- package/dist-types/commands/UpdateServiceSpecificCredentialCommand.d.ts +1 -0
- package/dist-types/commands/UpdateSigningCertificateCommand.d.ts +9 -6
- package/dist-types/commands/UpdateUserCommand.d.ts +8 -5
- package/dist-types/commands/UploadSSHPublicKeyCommand.d.ts +1 -0
- package/dist-types/commands/UploadServerCertificateCommand.d.ts +14 -14
- package/dist-types/commands/UploadSigningCertificateCommand.d.ts +11 -11
- package/dist-types/endpoint/EndpointParameters.d.ts +2 -2
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +2 -2
- package/package.json +5 -5
|
@@ -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 = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j =
|
|
6
|
-
const _data = { version: "1.0", parameters: {
|
|
4
|
+
const H = "required", I = "fn", J = "argv", K = "ref", L = "properties", M = "headers", N = "authSchemes", O = "name", P = "signingRegion";
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j = { [H]: true, "default": false, "type": "Boolean" }, k = { [H]: false, "type": "String" }, l = { [K]: "Endpoint" }, m = { [I]: c, [J]: [{ [K]: "UseFIPS" }, true] }, n = { [I]: c, [J]: [{ [K]: "UseDualStack" }, true] }, o = {}, p = { [I]: h, [J]: [{ [I]: "getAttr", [J]: [{ [K]: g }, "name"] }, "aws"] }, q = { [I]: "getAttr", [J]: [{ [K]: g }, "name"] }, r = { [I]: c, [J]: [{ [K]: "UseFIPS" }, false] }, s = { [N]: [{ [O]: i, [P]: "us-east-1" }] }, t = { [I]: h, [J]: [q, "aws-cn"] }, u = { [N]: [{ [O]: i, [P]: "cn-north-1" }] }, v = { [I]: c, [J]: [{ [K]: "UseDualStack" }, false] }, w = { [I]: h, [J]: [q, "aws-us-gov"] }, x = { "url": "https://iam.us-gov.api.aws", [L]: { [N]: [{ [O]: i, [P]: "us-gov-west-1" }] }, [M]: {} }, y = { "url": "https://iam.us-gov.amazonaws.com", [L]: { [N]: [{ [O]: i, [P]: "us-gov-west-1" }] }, [M]: {} }, z = { [I]: h, [J]: [q, "aws-iso"] }, A = { [N]: [{ [O]: i, [P]: "us-iso-east-1" }] }, B = { [I]: h, [J]: [q, "aws-iso-b"] }, C = { [N]: [{ [O]: i, [P]: "us-isob-east-1" }] }, D = { [I]: "getAttr", [J]: [{ [K]: g }, "supportsFIPS"] }, E = { [I]: c, [J]: [true, { [I]: "getAttr", [J]: [{ [K]: g }, "supportsDualStack"] }] }, F = { [N]: [{ [O]: i, [P]: "{PartitionResult#implicitGlobalRegion}" }] }, G = [{ [K]: "Region" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { UseDualStack: j, UseFIPS: j, Endpoint: k, Region: k }, rules: [{ conditions: [{ [I]: b, [J]: [l] }], rules: [{ conditions: [m], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [n], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: l, [L]: o, [M]: o }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [I]: b, [J]: G }], rules: [{ conditions: [{ [I]: "aws.partition", [J]: G, assign: g }], rules: [{ conditions: [p, r, n], endpoint: { url: "https://iam.global.api.aws", [L]: s, [M]: o }, type: e }, { conditions: [p, m, n], endpoint: { url: "https://iam-fips.global.api.aws", [L]: s, [M]: o }, type: e }, { conditions: [t, r, n], endpoint: { url: "https://iam.global.api.amazonwebservices.com.cn", [L]: u, [M]: o }, type: e }, { conditions: [t, r, v], endpoint: { url: "https://iam.cn-north-1.amazonaws.com.cn", [L]: u, [M]: o }, type: e }, { conditions: [w, r, n], endpoint: x, type: e }, { conditions: [w, m, n], endpoint: x, type: e }, { conditions: [w, r, v], endpoint: y, type: e }, { conditions: [w, m, v], endpoint: y, type: e }, { conditions: [z, r, v], endpoint: { url: "https://iam.us-iso-east-1.c2s.ic.gov", [L]: A, [M]: o }, type: e }, { conditions: [z, m, v], endpoint: { url: "https://iam-fips.us-iso-east-1.c2s.ic.gov", [L]: A, [M]: o }, type: e }, { conditions: [B, r, v], endpoint: { url: "https://iam.us-isob-east-1.sc2s.sgov.gov", [L]: C, [M]: o }, type: e }, { conditions: [B, m, v], endpoint: { url: "https://iam-fips.us-isob-east-1.sc2s.sgov.gov", [L]: C, [M]: o }, type: e }, { conditions: [{ [I]: h, [J]: [q, "aws-iso-e"] }, r, v], endpoint: { url: "https://iam.eu-isoe-west-1.cloud.adc-e.uk", [L]: { [N]: [{ [O]: i, [P]: "eu-isoe-west-1" }] }, [M]: o }, type: e }, { conditions: [{ [I]: h, [J]: [q, "aws-iso-f"] }, r, v], endpoint: { url: "https://iam.us-isof-south-1.csp.hci.ic.gov", [L]: { [N]: [{ [O]: i, [P]: "us-isof-south-1" }] }, [M]: o }, type: e }, { conditions: [m, n], rules: [{ conditions: [{ [I]: c, [J]: [a, D] }, E], rules: [{ endpoint: { url: "https://iam-fips.{PartitionResult#dualStackDnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [m, v], rules: [{ conditions: [{ [I]: c, [J]: [D, a] }], rules: [{ endpoint: { url: "https://iam-fips.{PartitionResult#dnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [r, n], rules: [{ conditions: [E], rules: [{ endpoint: { url: "https://iam.{PartitionResult#dualStackDnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://iam.{PartitionResult#dnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
7
7
|
exports.ruleSet = _data;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j =
|
|
3
|
-
const _data = { version: "1.0", parameters: {
|
|
1
|
+
const H = "required", I = "fn", J = "argv", K = "ref", L = "properties", M = "headers", N = "authSchemes", O = "name", P = "signingRegion";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "stringEquals", i = "sigv4", j = { [H]: true, "default": false, "type": "Boolean" }, k = { [H]: false, "type": "String" }, l = { [K]: "Endpoint" }, m = { [I]: c, [J]: [{ [K]: "UseFIPS" }, true] }, n = { [I]: c, [J]: [{ [K]: "UseDualStack" }, true] }, o = {}, p = { [I]: h, [J]: [{ [I]: "getAttr", [J]: [{ [K]: g }, "name"] }, "aws"] }, q = { [I]: "getAttr", [J]: [{ [K]: g }, "name"] }, r = { [I]: c, [J]: [{ [K]: "UseFIPS" }, false] }, s = { [N]: [{ [O]: i, [P]: "us-east-1" }] }, t = { [I]: h, [J]: [q, "aws-cn"] }, u = { [N]: [{ [O]: i, [P]: "cn-north-1" }] }, v = { [I]: c, [J]: [{ [K]: "UseDualStack" }, false] }, w = { [I]: h, [J]: [q, "aws-us-gov"] }, x = { "url": "https://iam.us-gov.api.aws", [L]: { [N]: [{ [O]: i, [P]: "us-gov-west-1" }] }, [M]: {} }, y = { "url": "https://iam.us-gov.amazonaws.com", [L]: { [N]: [{ [O]: i, [P]: "us-gov-west-1" }] }, [M]: {} }, z = { [I]: h, [J]: [q, "aws-iso"] }, A = { [N]: [{ [O]: i, [P]: "us-iso-east-1" }] }, B = { [I]: h, [J]: [q, "aws-iso-b"] }, C = { [N]: [{ [O]: i, [P]: "us-isob-east-1" }] }, D = { [I]: "getAttr", [J]: [{ [K]: g }, "supportsFIPS"] }, E = { [I]: c, [J]: [true, { [I]: "getAttr", [J]: [{ [K]: g }, "supportsDualStack"] }] }, F = { [N]: [{ [O]: i, [P]: "{PartitionResult#implicitGlobalRegion}" }] }, G = [{ [K]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { UseDualStack: j, UseFIPS: j, Endpoint: k, Region: k }, rules: [{ conditions: [{ [I]: b, [J]: [l] }], rules: [{ conditions: [m], error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: [n], error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: l, [L]: o, [M]: o }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [I]: b, [J]: G }], rules: [{ conditions: [{ [I]: "aws.partition", [J]: G, assign: g }], rules: [{ conditions: [p, r, n], endpoint: { url: "https://iam.global.api.aws", [L]: s, [M]: o }, type: e }, { conditions: [p, m, n], endpoint: { url: "https://iam-fips.global.api.aws", [L]: s, [M]: o }, type: e }, { conditions: [t, r, n], endpoint: { url: "https://iam.global.api.amazonwebservices.com.cn", [L]: u, [M]: o }, type: e }, { conditions: [t, r, v], endpoint: { url: "https://iam.cn-north-1.amazonaws.com.cn", [L]: u, [M]: o }, type: e }, { conditions: [w, r, n], endpoint: x, type: e }, { conditions: [w, m, n], endpoint: x, type: e }, { conditions: [w, r, v], endpoint: y, type: e }, { conditions: [w, m, v], endpoint: y, type: e }, { conditions: [z, r, v], endpoint: { url: "https://iam.us-iso-east-1.c2s.ic.gov", [L]: A, [M]: o }, type: e }, { conditions: [z, m, v], endpoint: { url: "https://iam-fips.us-iso-east-1.c2s.ic.gov", [L]: A, [M]: o }, type: e }, { conditions: [B, r, v], endpoint: { url: "https://iam.us-isob-east-1.sc2s.sgov.gov", [L]: C, [M]: o }, type: e }, { conditions: [B, m, v], endpoint: { url: "https://iam-fips.us-isob-east-1.sc2s.sgov.gov", [L]: C, [M]: o }, type: e }, { conditions: [{ [I]: h, [J]: [q, "aws-iso-e"] }, r, v], endpoint: { url: "https://iam.eu-isoe-west-1.cloud.adc-e.uk", [L]: { [N]: [{ [O]: i, [P]: "eu-isoe-west-1" }] }, [M]: o }, type: e }, { conditions: [{ [I]: h, [J]: [q, "aws-iso-f"] }, r, v], endpoint: { url: "https://iam.us-isof-south-1.csp.hci.ic.gov", [L]: { [N]: [{ [O]: i, [P]: "us-isof-south-1" }] }, [M]: o }, type: e }, { conditions: [m, n], rules: [{ conditions: [{ [I]: c, [J]: [a, D] }, E], rules: [{ endpoint: { url: "https://iam-fips.{PartitionResult#dualStackDnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: [m, v], rules: [{ conditions: [{ [I]: c, [J]: [D, a] }], rules: [{ endpoint: { url: "https://iam-fips.{PartitionResult#dnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: [r, n], rules: [{ conditions: [E], rules: [{ endpoint: { url: "https://iam.{PartitionResult#dualStackDnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://iam.{PartitionResult#dnsSuffix}", [L]: F, [M]: o }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -72,19 +72,22 @@ declare const AddClientIDToOpenIDConnectProviderCommand_base: {
|
|
|
72
72
|
* @throws {@link IAMServiceException}
|
|
73
73
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
74
74
|
*
|
|
75
|
-
*
|
|
75
|
+
*
|
|
76
76
|
* @example To add a client ID (audience) to an Open-ID Connect (OIDC) provider
|
|
77
77
|
* ```javascript
|
|
78
78
|
* // The following add-client-id-to-open-id-connect-provider command adds the client ID my-application-ID to the OIDC provider named server.example.com:
|
|
79
79
|
* const input = {
|
|
80
|
-
*
|
|
81
|
-
*
|
|
80
|
+
* ClientID: "my-application-ID",
|
|
81
|
+
* OpenIDConnectProviderArn: "arn:aws:iam::123456789012:oidc-provider/server.example.com"
|
|
82
82
|
* };
|
|
83
83
|
* const command = new AddClientIDToOpenIDConnectProviderCommand(input);
|
|
84
|
-
* await client.send(command);
|
|
85
|
-
*
|
|
84
|
+
* const response = await client.send(command);
|
|
85
|
+
* /* response is
|
|
86
|
+
* { /* metadata only *\/ }
|
|
87
|
+
* *\/
|
|
86
88
|
* ```
|
|
87
89
|
*
|
|
90
|
+
* @public
|
|
88
91
|
*/
|
|
89
92
|
export declare class AddClientIDToOpenIDConnectProviderCommand extends AddClientIDToOpenIDConnectProviderCommand_base {
|
|
90
93
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -95,19 +95,22 @@ declare const AddRoleToInstanceProfileCommand_base: {
|
|
|
95
95
|
* @throws {@link IAMServiceException}
|
|
96
96
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
97
97
|
*
|
|
98
|
-
*
|
|
98
|
+
*
|
|
99
99
|
* @example To add a role to an instance profile
|
|
100
100
|
* ```javascript
|
|
101
101
|
* // The following command adds the role named S3Access to the instance profile named Webserver:
|
|
102
102
|
* const input = {
|
|
103
|
-
*
|
|
104
|
-
*
|
|
103
|
+
* InstanceProfileName: "Webserver",
|
|
104
|
+
* RoleName: "S3Access"
|
|
105
105
|
* };
|
|
106
106
|
* const command = new AddRoleToInstanceProfileCommand(input);
|
|
107
|
-
* await client.send(command);
|
|
108
|
-
*
|
|
107
|
+
* const response = await client.send(command);
|
|
108
|
+
* /* response is
|
|
109
|
+
* { /* metadata only *\/ }
|
|
110
|
+
* *\/
|
|
109
111
|
* ```
|
|
110
112
|
*
|
|
113
|
+
* @public
|
|
111
114
|
*/
|
|
112
115
|
export declare class AddRoleToInstanceProfileCommand extends AddRoleToInstanceProfileCommand_base {
|
|
113
116
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -65,19 +65,22 @@ declare const AddUserToGroupCommand_base: {
|
|
|
65
65
|
* @throws {@link IAMServiceException}
|
|
66
66
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
67
67
|
*
|
|
68
|
-
*
|
|
68
|
+
*
|
|
69
69
|
* @example To add a user to an IAM group
|
|
70
70
|
* ```javascript
|
|
71
71
|
* // The following command adds an IAM user named Bob to the IAM group named Admins:
|
|
72
72
|
* const input = {
|
|
73
|
-
*
|
|
74
|
-
*
|
|
73
|
+
* GroupName: "Admins",
|
|
74
|
+
* UserName: "Bob"
|
|
75
75
|
* };
|
|
76
76
|
* const command = new AddUserToGroupCommand(input);
|
|
77
|
-
* await client.send(command);
|
|
78
|
-
*
|
|
77
|
+
* const response = await client.send(command);
|
|
78
|
+
* /* response is
|
|
79
|
+
* { /* metadata only *\/ }
|
|
80
|
+
* *\/
|
|
79
81
|
* ```
|
|
80
82
|
*
|
|
83
|
+
* @public
|
|
81
84
|
*/
|
|
82
85
|
export declare class AddUserToGroupCommand extends AddUserToGroupCommand_base {
|
|
83
86
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -82,19 +82,22 @@ declare const AttachGroupPolicyCommand_base: {
|
|
|
82
82
|
* @throws {@link IAMServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
84
84
|
*
|
|
85
|
-
*
|
|
85
|
+
*
|
|
86
86
|
* @example To attach a managed policy to an IAM group
|
|
87
87
|
* ```javascript
|
|
88
88
|
* // The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM group named Finance.
|
|
89
89
|
* const input = {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
90
|
+
* GroupName: "Finance",
|
|
91
|
+
* PolicyArn: "arn:aws:iam::aws:policy/ReadOnlyAccess"
|
|
92
92
|
* };
|
|
93
93
|
* const command = new AttachGroupPolicyCommand(input);
|
|
94
|
-
* await client.send(command);
|
|
95
|
-
*
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response is
|
|
96
|
+
* { /* metadata only *\/ }
|
|
97
|
+
* *\/
|
|
96
98
|
* ```
|
|
97
99
|
*
|
|
100
|
+
* @public
|
|
98
101
|
*/
|
|
99
102
|
export declare class AttachGroupPolicyCommand extends AttachGroupPolicyCommand_base {
|
|
100
103
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -99,19 +99,22 @@ declare const AttachRolePolicyCommand_base: {
|
|
|
99
99
|
* @throws {@link IAMServiceException}
|
|
100
100
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
101
101
|
*
|
|
102
|
-
*
|
|
102
|
+
*
|
|
103
103
|
* @example To attach a managed policy to an IAM role
|
|
104
104
|
* ```javascript
|
|
105
105
|
* // The following command attaches the AWS managed policy named ReadOnlyAccess to the IAM role named ReadOnlyRole.
|
|
106
106
|
* const input = {
|
|
107
|
-
*
|
|
108
|
-
*
|
|
107
|
+
* PolicyArn: "arn:aws:iam::aws:policy/ReadOnlyAccess",
|
|
108
|
+
* RoleName: "ReadOnlyRole"
|
|
109
109
|
* };
|
|
110
110
|
* const command = new AttachRolePolicyCommand(input);
|
|
111
|
-
* await client.send(command);
|
|
112
|
-
*
|
|
111
|
+
* const response = await client.send(command);
|
|
112
|
+
* /* response is
|
|
113
|
+
* { /* metadata only *\/ }
|
|
114
|
+
* *\/
|
|
113
115
|
* ```
|
|
114
116
|
*
|
|
117
|
+
* @public
|
|
115
118
|
*/
|
|
116
119
|
export declare class AttachRolePolicyCommand extends AttachRolePolicyCommand_base {
|
|
117
120
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -82,19 +82,22 @@ declare const AttachUserPolicyCommand_base: {
|
|
|
82
82
|
* @throws {@link IAMServiceException}
|
|
83
83
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
84
84
|
*
|
|
85
|
-
*
|
|
85
|
+
*
|
|
86
86
|
* @example To attach a managed policy to an IAM user
|
|
87
87
|
* ```javascript
|
|
88
88
|
* // The following command attaches the AWS managed policy named AdministratorAccess to the IAM user named Alice.
|
|
89
89
|
* const input = {
|
|
90
|
-
*
|
|
91
|
-
*
|
|
90
|
+
* PolicyArn: "arn:aws:iam::aws:policy/AdministratorAccess",
|
|
91
|
+
* UserName: "Alice"
|
|
92
92
|
* };
|
|
93
93
|
* const command = new AttachUserPolicyCommand(input);
|
|
94
|
-
* await client.send(command);
|
|
95
|
-
*
|
|
94
|
+
* const response = await client.send(command);
|
|
95
|
+
* /* response is
|
|
96
|
+
* { /* metadata only *\/ }
|
|
97
|
+
* *\/
|
|
96
98
|
* ```
|
|
97
99
|
*
|
|
100
|
+
* @public
|
|
98
101
|
*/
|
|
99
102
|
export declare class AttachUserPolicyCommand extends AttachUserPolicyCommand_base {
|
|
100
103
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -86,19 +86,22 @@ declare const ChangePasswordCommand_base: {
|
|
|
86
86
|
* @throws {@link IAMServiceException}
|
|
87
87
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
88
88
|
*
|
|
89
|
-
*
|
|
89
|
+
*
|
|
90
90
|
* @example To change the password for your IAM user
|
|
91
91
|
* ```javascript
|
|
92
92
|
* // The following command changes the password for the current IAM user.
|
|
93
93
|
* const input = {
|
|
94
|
-
*
|
|
95
|
-
*
|
|
94
|
+
* NewPassword: "]35d/{pB9Fo9wJ",
|
|
95
|
+
* OldPassword: "3s0K_;xh4~8XXI"
|
|
96
96
|
* };
|
|
97
97
|
* const command = new ChangePasswordCommand(input);
|
|
98
|
-
* await client.send(command);
|
|
99
|
-
*
|
|
98
|
+
* const response = await client.send(command);
|
|
99
|
+
* /* response is
|
|
100
|
+
* { /* metadata only *\/ }
|
|
101
|
+
* *\/
|
|
100
102
|
* ```
|
|
101
103
|
*
|
|
104
|
+
* @public
|
|
102
105
|
*/
|
|
103
106
|
export declare class ChangePasswordCommand extends ChangePasswordCommand_base {
|
|
104
107
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -85,29 +85,29 @@ declare const CreateAccessKeyCommand_base: {
|
|
|
85
85
|
* @throws {@link IAMServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
*
|
|
89
89
|
* @example To create an access key for an IAM user
|
|
90
90
|
* ```javascript
|
|
91
91
|
* // The following command creates an access key (access key ID and secret access key) for the IAM user named Bob.
|
|
92
92
|
* const input = {
|
|
93
|
-
*
|
|
93
|
+
* UserName: "Bob"
|
|
94
94
|
* };
|
|
95
95
|
* const command = new CreateAccessKeyCommand(input);
|
|
96
96
|
* const response = await client.send(command);
|
|
97
|
-
* /* response
|
|
97
|
+
* /* response is
|
|
98
98
|
* {
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
99
|
+
* AccessKey: {
|
|
100
|
+
* AccessKeyId: "AKIAIOSFODNN7EXAMPLE",
|
|
101
|
+
* CreateDate: "2015-03-09T18:39:23.411Z",
|
|
102
|
+
* SecretAccessKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYzEXAMPLEKEY",
|
|
103
|
+
* Status: "Active",
|
|
104
|
+
* UserName: "Bob"
|
|
105
105
|
* }
|
|
106
106
|
* }
|
|
107
107
|
* *\/
|
|
108
|
-
* // example id: 1fbb3211-4cf2-41db-8c20-ba58d9f5802d
|
|
109
108
|
* ```
|
|
110
109
|
*
|
|
110
|
+
* @public
|
|
111
111
|
*/
|
|
112
112
|
export declare class CreateAccessKeyCommand extends CreateAccessKeyCommand_base {
|
|
113
113
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -71,18 +71,21 @@ declare const CreateAccountAliasCommand_base: {
|
|
|
71
71
|
* @throws {@link IAMServiceException}
|
|
72
72
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
73
73
|
*
|
|
74
|
-
*
|
|
74
|
+
*
|
|
75
75
|
* @example To create an account alias
|
|
76
76
|
* ```javascript
|
|
77
77
|
* // The following command associates the alias examplecorp to your AWS account.
|
|
78
78
|
* const input = {
|
|
79
|
-
*
|
|
79
|
+
* AccountAlias: "examplecorp"
|
|
80
80
|
* };
|
|
81
81
|
* const command = new CreateAccountAliasCommand(input);
|
|
82
|
-
* await client.send(command);
|
|
83
|
-
*
|
|
82
|
+
* const response = await client.send(command);
|
|
83
|
+
* /* response is
|
|
84
|
+
* { /* metadata only *\/ }
|
|
85
|
+
* *\/
|
|
84
86
|
* ```
|
|
85
87
|
*
|
|
88
|
+
* @public
|
|
86
89
|
*/
|
|
87
90
|
export declare class CreateAccountAliasCommand extends CreateAccountAliasCommand_base {
|
|
88
91
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -79,29 +79,29 @@ declare const CreateGroupCommand_base: {
|
|
|
79
79
|
* @throws {@link IAMServiceException}
|
|
80
80
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
81
81
|
*
|
|
82
|
-
*
|
|
82
|
+
*
|
|
83
83
|
* @example To create an IAM group
|
|
84
84
|
* ```javascript
|
|
85
85
|
* // The following command creates an IAM group named Admins.
|
|
86
86
|
* const input = {
|
|
87
|
-
*
|
|
87
|
+
* GroupName: "Admins"
|
|
88
88
|
* };
|
|
89
89
|
* const command = new CreateGroupCommand(input);
|
|
90
90
|
* const response = await client.send(command);
|
|
91
|
-
* /* response
|
|
91
|
+
* /* response is
|
|
92
92
|
* {
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
*
|
|
93
|
+
* Group: {
|
|
94
|
+
* Arn: "arn:aws:iam::123456789012:group/Admins",
|
|
95
|
+
* CreateDate: "2015-03-09T20:30:24.940Z",
|
|
96
|
+
* GroupId: "AIDGPMS9RO4H3FEXAMPLE",
|
|
97
|
+
* GroupName: "Admins",
|
|
98
|
+
* Path: "/"
|
|
99
99
|
* }
|
|
100
100
|
* }
|
|
101
101
|
* *\/
|
|
102
|
-
* // example id: d5da2a90-5e69-4ef7-8ae8-4c33dc21fd21
|
|
103
102
|
* ```
|
|
104
103
|
*
|
|
104
|
+
* @public
|
|
105
105
|
*/
|
|
106
106
|
export declare class CreateGroupCommand extends CreateGroupCommand_base {
|
|
107
107
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -123,30 +123,30 @@ declare const CreateInstanceProfileCommand_base: {
|
|
|
123
123
|
* @throws {@link IAMServiceException}
|
|
124
124
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
125
125
|
*
|
|
126
|
-
*
|
|
126
|
+
*
|
|
127
127
|
* @example To create an instance profile
|
|
128
128
|
* ```javascript
|
|
129
129
|
* // The following command creates an instance profile named Webserver that is ready to have a role attached and then be associated with an EC2 instance.
|
|
130
130
|
* const input = {
|
|
131
|
-
*
|
|
131
|
+
* InstanceProfileName: "Webserver"
|
|
132
132
|
* };
|
|
133
133
|
* const command = new CreateInstanceProfileCommand(input);
|
|
134
134
|
* const response = await client.send(command);
|
|
135
|
-
* /* response
|
|
135
|
+
* /* response is
|
|
136
136
|
* {
|
|
137
|
-
*
|
|
138
|
-
*
|
|
139
|
-
*
|
|
140
|
-
*
|
|
141
|
-
*
|
|
142
|
-
*
|
|
143
|
-
*
|
|
137
|
+
* InstanceProfile: {
|
|
138
|
+
* Arn: "arn:aws:iam::123456789012:instance-profile/Webserver",
|
|
139
|
+
* CreateDate: "2015-03-09T20:33:19.626Z",
|
|
140
|
+
* InstanceProfileId: "AIPAJMBYC7DLSPEXAMPLE",
|
|
141
|
+
* InstanceProfileName: "Webserver",
|
|
142
|
+
* Path: "/",
|
|
143
|
+
* Roles: []
|
|
144
144
|
* }
|
|
145
145
|
* }
|
|
146
146
|
* *\/
|
|
147
|
-
* // example id: 5d84e6ae-5921-4e39-8454-10232cd9ff9a
|
|
148
147
|
* ```
|
|
149
148
|
*
|
|
149
|
+
* @public
|
|
150
150
|
*/
|
|
151
151
|
export declare class CreateInstanceProfileCommand extends CreateInstanceProfileCommand_base {
|
|
152
152
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -85,29 +85,29 @@ declare const CreateLoginProfileCommand_base: {
|
|
|
85
85
|
* @throws {@link IAMServiceException}
|
|
86
86
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
87
87
|
*
|
|
88
|
-
*
|
|
88
|
+
*
|
|
89
89
|
* @example To create an instance profile
|
|
90
90
|
* ```javascript
|
|
91
91
|
* // The following command changes IAM user Bob's password and sets the flag that required Bob to change the password the next time he signs in.
|
|
92
92
|
* const input = {
|
|
93
|
-
*
|
|
94
|
-
*
|
|
95
|
-
*
|
|
93
|
+
* Password: "h]6EszR}vJ*m",
|
|
94
|
+
* PasswordResetRequired: true,
|
|
95
|
+
* UserName: "Bob"
|
|
96
96
|
* };
|
|
97
97
|
* const command = new CreateLoginProfileCommand(input);
|
|
98
98
|
* const response = await client.send(command);
|
|
99
|
-
* /* response
|
|
99
|
+
* /* response is
|
|
100
100
|
* {
|
|
101
|
-
*
|
|
102
|
-
*
|
|
103
|
-
*
|
|
104
|
-
*
|
|
101
|
+
* LoginProfile: {
|
|
102
|
+
* CreateDate: "2015-03-10T20:55:40.274Z",
|
|
103
|
+
* PasswordResetRequired: true,
|
|
104
|
+
* UserName: "Bob"
|
|
105
105
|
* }
|
|
106
106
|
* }
|
|
107
107
|
* *\/
|
|
108
|
-
* // example id: c63795bc-3444-40b3-89df-83c474ef88be
|
|
109
108
|
* ```
|
|
110
109
|
*
|
|
110
|
+
* @public
|
|
111
111
|
*/
|
|
112
112
|
export declare class CreateLoginProfileCommand extends CreateLoginProfileCommand_base {
|
|
113
113
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -136,29 +136,29 @@ declare const CreateOpenIDConnectProviderCommand_base: {
|
|
|
136
136
|
* @throws {@link IAMServiceException}
|
|
137
137
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
138
138
|
*
|
|
139
|
-
*
|
|
139
|
+
*
|
|
140
140
|
* @example To create an instance profile
|
|
141
141
|
* ```javascript
|
|
142
142
|
* // The following example defines a new OIDC provider in IAM with a client ID of my-application-id and pointing at the server with a URL of https://server.example.com.
|
|
143
143
|
* const input = {
|
|
144
|
-
*
|
|
144
|
+
* ClientIDList: [
|
|
145
145
|
* "my-application-id"
|
|
146
146
|
* ],
|
|
147
|
-
*
|
|
147
|
+
* ThumbprintList: [
|
|
148
148
|
* "3768084dfb3d2b68b7897bf5f565da8efEXAMPLE"
|
|
149
149
|
* ],
|
|
150
|
-
*
|
|
150
|
+
* Url: "https://server.example.com"
|
|
151
151
|
* };
|
|
152
152
|
* const command = new CreateOpenIDConnectProviderCommand(input);
|
|
153
153
|
* const response = await client.send(command);
|
|
154
|
-
* /* response
|
|
154
|
+
* /* response is
|
|
155
155
|
* {
|
|
156
|
-
*
|
|
156
|
+
* OpenIDConnectProviderArn: "arn:aws:iam::123456789012:oidc-provider/server.example.com"
|
|
157
157
|
* }
|
|
158
158
|
* *\/
|
|
159
|
-
* // example id: 4e4a6bff-cc97-4406-922e-0ab4a82cdb63
|
|
160
159
|
* ```
|
|
161
160
|
*
|
|
161
|
+
* @public
|
|
162
162
|
*/
|
|
163
163
|
export declare class CreateOpenIDConnectProviderCommand extends CreateOpenIDConnectProviderCommand_base {
|
|
164
164
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -115,6 +115,7 @@ declare const CreatePolicyCommand_base: {
|
|
|
115
115
|
* @throws {@link IAMServiceException}
|
|
116
116
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
117
117
|
*
|
|
118
|
+
*
|
|
118
119
|
* @public
|
|
119
120
|
*/
|
|
120
121
|
export declare class CreatePolicyCommand extends CreatePolicyCommand_base {
|
|
@@ -88,6 +88,7 @@ declare const CreatePolicyVersionCommand_base: {
|
|
|
88
88
|
* @throws {@link IAMServiceException}
|
|
89
89
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
90
90
|
*
|
|
91
|
+
*
|
|
91
92
|
* @public
|
|
92
93
|
*/
|
|
93
94
|
export declare class CreatePolicyVersionCommand extends CreatePolicyVersionCommand_base {
|
|
@@ -116,32 +116,32 @@ declare const CreateRoleCommand_base: {
|
|
|
116
116
|
* @throws {@link IAMServiceException}
|
|
117
117
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
118
118
|
*
|
|
119
|
-
*
|
|
119
|
+
*
|
|
120
120
|
* @example To create an IAM role
|
|
121
121
|
* ```javascript
|
|
122
122
|
* // The following command creates a role named Test-Role and attaches a trust policy that you must convert from JSON to a string. Upon success, the response includes the same policy as a URL-encoded JSON string.
|
|
123
123
|
* const input = {
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
*
|
|
124
|
+
* AssumeRolePolicyDocument: "<Stringified-JSON>",
|
|
125
|
+
* Path: "/",
|
|
126
|
+
* RoleName: "Test-Role"
|
|
127
127
|
* };
|
|
128
128
|
* const command = new CreateRoleCommand(input);
|
|
129
129
|
* const response = await client.send(command);
|
|
130
|
-
* /* response
|
|
130
|
+
* /* response is
|
|
131
131
|
* {
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
*
|
|
137
|
-
*
|
|
138
|
-
*
|
|
132
|
+
* Role: {
|
|
133
|
+
* Arn: "arn:aws:iam::123456789012:role/Test-Role",
|
|
134
|
+
* AssumeRolePolicyDocument: "<URL-encoded-JSON>",
|
|
135
|
+
* CreateDate: "2013-06-07T20:43:32.821Z",
|
|
136
|
+
* Path: "/",
|
|
137
|
+
* RoleId: "AKIAIOSFODNN7EXAMPLE",
|
|
138
|
+
* RoleName: "Test-Role"
|
|
139
139
|
* }
|
|
140
140
|
* }
|
|
141
141
|
* *\/
|
|
142
|
-
* // example id: eaaa4b5f-51f1-4f73-b0d3-30127040eff8
|
|
143
142
|
* ```
|
|
144
143
|
*
|
|
144
|
+
* @public
|
|
145
145
|
*/
|
|
146
146
|
export declare class CreateRoleCommand extends CreateRoleCommand_base {
|
|
147
147
|
/** @internal type navigation helper, not in runtime. */
|
|
@@ -106,6 +106,7 @@ declare const CreateSAMLProviderCommand_base: {
|
|
|
106
106
|
* @throws {@link IAMServiceException}
|
|
107
107
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
108
108
|
*
|
|
109
|
+
*
|
|
109
110
|
* @public
|
|
110
111
|
*/
|
|
111
112
|
export declare class CreateSAMLProviderCommand extends CreateSAMLProviderCommand_base {
|
|
@@ -103,6 +103,7 @@ declare const CreateServiceLinkedRoleCommand_base: {
|
|
|
103
103
|
* @throws {@link IAMServiceException}
|
|
104
104
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
105
105
|
*
|
|
106
|
+
*
|
|
106
107
|
* @public
|
|
107
108
|
*/
|
|
108
109
|
export declare class CreateServiceLinkedRoleCommand extends CreateServiceLinkedRoleCommand_base {
|
|
@@ -84,6 +84,7 @@ declare const CreateServiceSpecificCredentialCommand_base: {
|
|
|
84
84
|
* @throws {@link IAMServiceException}
|
|
85
85
|
* <p>Base exception class for all service exceptions from IAM service.</p>
|
|
86
86
|
*
|
|
87
|
+
*
|
|
87
88
|
* @public
|
|
88
89
|
*/
|
|
89
90
|
export declare class CreateServiceSpecificCredentialCommand extends CreateServiceSpecificCredentialCommand_base {
|