@aws-sdk/client-iam 3.36.1 → 3.40.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/CHANGELOG.md +42 -0
- package/dist-cjs/commands/index.js +161 -0
- package/dist-cjs/endpoints.js +120 -15
- package/dist-cjs/index.js +5 -192
- package/dist-cjs/pagination/index.js +31 -0
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-cjs/waiters/index.js +7 -0
- package/dist-es/commands/index.js +158 -0
- package/dist-es/endpoints.js +120 -15
- package/dist-es/index.js +5 -192
- package/dist-es/pagination/index.js +28 -0
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-es/waiters/index.js +4 -0
- package/dist-types/IAMClient.d.ts +8 -0
- package/dist-types/commands/index.d.ts +158 -0
- package/dist-types/index.d.ts +5 -192
- package/dist-types/pagination/index.d.ts +28 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/IAMClient.d.ts +4 -0
- package/dist-types/ts3.4/commands/index.d.ts +158 -0
- package/dist-types/ts3.4/index.d.ts +5 -192
- package/dist-types/ts3.4/pagination/index.d.ts +28 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/waiters/index.d.ts +4 -0
- package/dist-types/waiters/index.d.ts +4 -0
- package/package.json +33 -33
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
+
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
7
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
8
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
9
10
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
@@ -13,7 +14,7 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
|
13
14
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
15
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
16
|
const getRuntimeConfig = (config) => {
|
|
16
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
17
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
17
18
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
18
19
|
return {
|
|
19
20
|
...clientSharedValues,
|
|
@@ -30,8 +31,10 @@ const getRuntimeConfig = (config) => {
|
|
|
30
31
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
|
|
31
32
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
|
|
32
33
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
35
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
|
|
36
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_browser_1.fromUtf8,
|
|
37
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.toUtf8,
|
|
35
38
|
};
|
|
36
39
|
};
|
|
37
40
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -17,7 +17,7 @@ const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
|
17
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
18
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
19
19
|
const getRuntimeConfig = (config) => {
|
|
20
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
21
21
|
smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
|
|
22
22
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
23
23
|
return {
|
|
@@ -35,8 +35,10 @@ const getRuntimeConfig = (config) => {
|
|
|
35
35
|
retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
|
|
36
36
|
sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
37
|
streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
39
|
+
useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
40
|
+
utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : util_utf8_node_1.fromUtf8,
|
|
41
|
+
utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.toUtf8,
|
|
40
42
|
};
|
|
41
43
|
};
|
|
42
44
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./waitForInstanceProfileExists"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./waitForPolicyExists"), exports);
|
|
6
|
+
tslib_1.__exportStar(require("./waitForRoleExists"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./waitForUserExists"), exports);
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
export * from "./AddClientIDToOpenIDConnectProviderCommand";
|
|
2
|
+
export * from "./AddRoleToInstanceProfileCommand";
|
|
3
|
+
export * from "./AddUserToGroupCommand";
|
|
4
|
+
export * from "./AttachGroupPolicyCommand";
|
|
5
|
+
export * from "./AttachRolePolicyCommand";
|
|
6
|
+
export * from "./AttachUserPolicyCommand";
|
|
7
|
+
export * from "./ChangePasswordCommand";
|
|
8
|
+
export * from "./CreateAccessKeyCommand";
|
|
9
|
+
export * from "./CreateAccountAliasCommand";
|
|
10
|
+
export * from "./CreateGroupCommand";
|
|
11
|
+
export * from "./CreateInstanceProfileCommand";
|
|
12
|
+
export * from "./CreateLoginProfileCommand";
|
|
13
|
+
export * from "./CreateOpenIDConnectProviderCommand";
|
|
14
|
+
export * from "./CreatePolicyCommand";
|
|
15
|
+
export * from "./CreatePolicyVersionCommand";
|
|
16
|
+
export * from "./CreateRoleCommand";
|
|
17
|
+
export * from "./CreateSAMLProviderCommand";
|
|
18
|
+
export * from "./CreateServiceLinkedRoleCommand";
|
|
19
|
+
export * from "./CreateServiceSpecificCredentialCommand";
|
|
20
|
+
export * from "./CreateUserCommand";
|
|
21
|
+
export * from "./CreateVirtualMFADeviceCommand";
|
|
22
|
+
export * from "./DeactivateMFADeviceCommand";
|
|
23
|
+
export * from "./DeleteAccessKeyCommand";
|
|
24
|
+
export * from "./DeleteAccountAliasCommand";
|
|
25
|
+
export * from "./DeleteAccountPasswordPolicyCommand";
|
|
26
|
+
export * from "./DeleteGroupCommand";
|
|
27
|
+
export * from "./DeleteGroupPolicyCommand";
|
|
28
|
+
export * from "./DeleteInstanceProfileCommand";
|
|
29
|
+
export * from "./DeleteLoginProfileCommand";
|
|
30
|
+
export * from "./DeleteOpenIDConnectProviderCommand";
|
|
31
|
+
export * from "./DeletePolicyCommand";
|
|
32
|
+
export * from "./DeletePolicyVersionCommand";
|
|
33
|
+
export * from "./DeleteRoleCommand";
|
|
34
|
+
export * from "./DeleteRolePermissionsBoundaryCommand";
|
|
35
|
+
export * from "./DeleteRolePolicyCommand";
|
|
36
|
+
export * from "./DeleteSAMLProviderCommand";
|
|
37
|
+
export * from "./DeleteSSHPublicKeyCommand";
|
|
38
|
+
export * from "./DeleteServerCertificateCommand";
|
|
39
|
+
export * from "./DeleteServiceLinkedRoleCommand";
|
|
40
|
+
export * from "./DeleteServiceSpecificCredentialCommand";
|
|
41
|
+
export * from "./DeleteSigningCertificateCommand";
|
|
42
|
+
export * from "./DeleteUserCommand";
|
|
43
|
+
export * from "./DeleteUserPermissionsBoundaryCommand";
|
|
44
|
+
export * from "./DeleteUserPolicyCommand";
|
|
45
|
+
export * from "./DeleteVirtualMFADeviceCommand";
|
|
46
|
+
export * from "./DetachGroupPolicyCommand";
|
|
47
|
+
export * from "./DetachRolePolicyCommand";
|
|
48
|
+
export * from "./DetachUserPolicyCommand";
|
|
49
|
+
export * from "./EnableMFADeviceCommand";
|
|
50
|
+
export * from "./GenerateCredentialReportCommand";
|
|
51
|
+
export * from "./GenerateOrganizationsAccessReportCommand";
|
|
52
|
+
export * from "./GenerateServiceLastAccessedDetailsCommand";
|
|
53
|
+
export * from "./GetAccessKeyLastUsedCommand";
|
|
54
|
+
export * from "./GetAccountAuthorizationDetailsCommand";
|
|
55
|
+
export * from "./GetAccountPasswordPolicyCommand";
|
|
56
|
+
export * from "./GetAccountSummaryCommand";
|
|
57
|
+
export * from "./GetContextKeysForCustomPolicyCommand";
|
|
58
|
+
export * from "./GetContextKeysForPrincipalPolicyCommand";
|
|
59
|
+
export * from "./GetCredentialReportCommand";
|
|
60
|
+
export * from "./GetGroupCommand";
|
|
61
|
+
export * from "./GetGroupPolicyCommand";
|
|
62
|
+
export * from "./GetInstanceProfileCommand";
|
|
63
|
+
export * from "./GetLoginProfileCommand";
|
|
64
|
+
export * from "./GetOpenIDConnectProviderCommand";
|
|
65
|
+
export * from "./GetOrganizationsAccessReportCommand";
|
|
66
|
+
export * from "./GetPolicyCommand";
|
|
67
|
+
export * from "./GetPolicyVersionCommand";
|
|
68
|
+
export * from "./GetRoleCommand";
|
|
69
|
+
export * from "./GetRolePolicyCommand";
|
|
70
|
+
export * from "./GetSAMLProviderCommand";
|
|
71
|
+
export * from "./GetSSHPublicKeyCommand";
|
|
72
|
+
export * from "./GetServerCertificateCommand";
|
|
73
|
+
export * from "./GetServiceLastAccessedDetailsCommand";
|
|
74
|
+
export * from "./GetServiceLastAccessedDetailsWithEntitiesCommand";
|
|
75
|
+
export * from "./GetServiceLinkedRoleDeletionStatusCommand";
|
|
76
|
+
export * from "./GetUserCommand";
|
|
77
|
+
export * from "./GetUserPolicyCommand";
|
|
78
|
+
export * from "./ListAccessKeysCommand";
|
|
79
|
+
export * from "./ListAccountAliasesCommand";
|
|
80
|
+
export * from "./ListAttachedGroupPoliciesCommand";
|
|
81
|
+
export * from "./ListAttachedRolePoliciesCommand";
|
|
82
|
+
export * from "./ListAttachedUserPoliciesCommand";
|
|
83
|
+
export * from "./ListEntitiesForPolicyCommand";
|
|
84
|
+
export * from "./ListGroupPoliciesCommand";
|
|
85
|
+
export * from "./ListGroupsCommand";
|
|
86
|
+
export * from "./ListGroupsForUserCommand";
|
|
87
|
+
export * from "./ListInstanceProfileTagsCommand";
|
|
88
|
+
export * from "./ListInstanceProfilesCommand";
|
|
89
|
+
export * from "./ListInstanceProfilesForRoleCommand";
|
|
90
|
+
export * from "./ListMFADeviceTagsCommand";
|
|
91
|
+
export * from "./ListMFADevicesCommand";
|
|
92
|
+
export * from "./ListOpenIDConnectProviderTagsCommand";
|
|
93
|
+
export * from "./ListOpenIDConnectProvidersCommand";
|
|
94
|
+
export * from "./ListPoliciesCommand";
|
|
95
|
+
export * from "./ListPoliciesGrantingServiceAccessCommand";
|
|
96
|
+
export * from "./ListPolicyTagsCommand";
|
|
97
|
+
export * from "./ListPolicyVersionsCommand";
|
|
98
|
+
export * from "./ListRolePoliciesCommand";
|
|
99
|
+
export * from "./ListRoleTagsCommand";
|
|
100
|
+
export * from "./ListRolesCommand";
|
|
101
|
+
export * from "./ListSAMLProviderTagsCommand";
|
|
102
|
+
export * from "./ListSAMLProvidersCommand";
|
|
103
|
+
export * from "./ListSSHPublicKeysCommand";
|
|
104
|
+
export * from "./ListServerCertificateTagsCommand";
|
|
105
|
+
export * from "./ListServerCertificatesCommand";
|
|
106
|
+
export * from "./ListServiceSpecificCredentialsCommand";
|
|
107
|
+
export * from "./ListSigningCertificatesCommand";
|
|
108
|
+
export * from "./ListUserPoliciesCommand";
|
|
109
|
+
export * from "./ListUserTagsCommand";
|
|
110
|
+
export * from "./ListUsersCommand";
|
|
111
|
+
export * from "./ListVirtualMFADevicesCommand";
|
|
112
|
+
export * from "./PutGroupPolicyCommand";
|
|
113
|
+
export * from "./PutRolePermissionsBoundaryCommand";
|
|
114
|
+
export * from "./PutRolePolicyCommand";
|
|
115
|
+
export * from "./PutUserPermissionsBoundaryCommand";
|
|
116
|
+
export * from "./PutUserPolicyCommand";
|
|
117
|
+
export * from "./RemoveClientIDFromOpenIDConnectProviderCommand";
|
|
118
|
+
export * from "./RemoveRoleFromInstanceProfileCommand";
|
|
119
|
+
export * from "./RemoveUserFromGroupCommand";
|
|
120
|
+
export * from "./ResetServiceSpecificCredentialCommand";
|
|
121
|
+
export * from "./ResyncMFADeviceCommand";
|
|
122
|
+
export * from "./SetDefaultPolicyVersionCommand";
|
|
123
|
+
export * from "./SetSecurityTokenServicePreferencesCommand";
|
|
124
|
+
export * from "./SimulateCustomPolicyCommand";
|
|
125
|
+
export * from "./SimulatePrincipalPolicyCommand";
|
|
126
|
+
export * from "./TagInstanceProfileCommand";
|
|
127
|
+
export * from "./TagMFADeviceCommand";
|
|
128
|
+
export * from "./TagOpenIDConnectProviderCommand";
|
|
129
|
+
export * from "./TagPolicyCommand";
|
|
130
|
+
export * from "./TagRoleCommand";
|
|
131
|
+
export * from "./TagSAMLProviderCommand";
|
|
132
|
+
export * from "./TagServerCertificateCommand";
|
|
133
|
+
export * from "./TagUserCommand";
|
|
134
|
+
export * from "./UntagInstanceProfileCommand";
|
|
135
|
+
export * from "./UntagMFADeviceCommand";
|
|
136
|
+
export * from "./UntagOpenIDConnectProviderCommand";
|
|
137
|
+
export * from "./UntagPolicyCommand";
|
|
138
|
+
export * from "./UntagRoleCommand";
|
|
139
|
+
export * from "./UntagSAMLProviderCommand";
|
|
140
|
+
export * from "./UntagServerCertificateCommand";
|
|
141
|
+
export * from "./UntagUserCommand";
|
|
142
|
+
export * from "./UpdateAccessKeyCommand";
|
|
143
|
+
export * from "./UpdateAccountPasswordPolicyCommand";
|
|
144
|
+
export * from "./UpdateAssumeRolePolicyCommand";
|
|
145
|
+
export * from "./UpdateGroupCommand";
|
|
146
|
+
export * from "./UpdateLoginProfileCommand";
|
|
147
|
+
export * from "./UpdateOpenIDConnectProviderThumbprintCommand";
|
|
148
|
+
export * from "./UpdateRoleCommand";
|
|
149
|
+
export * from "./UpdateRoleDescriptionCommand";
|
|
150
|
+
export * from "./UpdateSAMLProviderCommand";
|
|
151
|
+
export * from "./UpdateSSHPublicKeyCommand";
|
|
152
|
+
export * from "./UpdateServerCertificateCommand";
|
|
153
|
+
export * from "./UpdateServiceSpecificCredentialCommand";
|
|
154
|
+
export * from "./UpdateSigningCertificateCommand";
|
|
155
|
+
export * from "./UpdateUserCommand";
|
|
156
|
+
export * from "./UploadSSHPublicKeyCommand";
|
|
157
|
+
export * from "./UploadServerCertificateCommand";
|
|
158
|
+
export * from "./UploadSigningCertificateCommand";
|
package/dist-es/endpoints.js
CHANGED
|
@@ -2,31 +2,56 @@ import { __assign, __awaiter, __generator } from "tslib";
|
|
|
2
2
|
import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"aws-cn-global": {
|
|
5
|
-
|
|
5
|
+
variants: [
|
|
6
|
+
{
|
|
7
|
+
hostname: "iam.cn-north-1.amazonaws.com.cn",
|
|
8
|
+
tags: [],
|
|
9
|
+
},
|
|
10
|
+
],
|
|
6
11
|
signingRegion: "cn-north-1",
|
|
7
12
|
},
|
|
8
13
|
"aws-global": {
|
|
9
|
-
|
|
14
|
+
variants: [
|
|
15
|
+
{
|
|
16
|
+
hostname: "iam.amazonaws.com",
|
|
17
|
+
tags: [],
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
hostname: "iam-fips.amazonaws.com",
|
|
21
|
+
tags: ["fips"],
|
|
22
|
+
},
|
|
23
|
+
],
|
|
10
24
|
signingRegion: "us-east-1",
|
|
11
25
|
},
|
|
12
26
|
"aws-iso-b-global": {
|
|
13
|
-
|
|
27
|
+
variants: [
|
|
28
|
+
{
|
|
29
|
+
hostname: "iam.us-isob-east-1.sc2s.sgov.gov",
|
|
30
|
+
tags: [],
|
|
31
|
+
},
|
|
32
|
+
],
|
|
14
33
|
signingRegion: "us-isob-east-1",
|
|
15
34
|
},
|
|
16
35
|
"aws-iso-global": {
|
|
17
|
-
|
|
36
|
+
variants: [
|
|
37
|
+
{
|
|
38
|
+
hostname: "iam.us-iso-east-1.c2s.ic.gov",
|
|
39
|
+
tags: [],
|
|
40
|
+
},
|
|
41
|
+
],
|
|
18
42
|
signingRegion: "us-iso-east-1",
|
|
19
43
|
},
|
|
20
44
|
"aws-us-gov-global": {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
45
|
+
variants: [
|
|
46
|
+
{
|
|
47
|
+
hostname: "iam.us-gov.amazonaws.com",
|
|
48
|
+
tags: [],
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
hostname: "iam.us-gov.amazonaws.com",
|
|
52
|
+
tags: ["fips"],
|
|
53
|
+
},
|
|
54
|
+
],
|
|
30
55
|
signingRegion: "us-gov-west-1",
|
|
31
56
|
},
|
|
32
57
|
};
|
|
@@ -42,6 +67,7 @@ var partitionHash = {
|
|
|
42
67
|
"ap-southeast-1",
|
|
43
68
|
"ap-southeast-2",
|
|
44
69
|
"aws-global",
|
|
70
|
+
"aws-global-fips",
|
|
45
71
|
"ca-central-1",
|
|
46
72
|
"eu-central-1",
|
|
47
73
|
"eu-north-1",
|
|
@@ -49,6 +75,7 @@ var partitionHash = {
|
|
|
49
75
|
"eu-west-1",
|
|
50
76
|
"eu-west-2",
|
|
51
77
|
"eu-west-3",
|
|
78
|
+
"iam",
|
|
52
79
|
"iam-fips",
|
|
53
80
|
"me-south-1",
|
|
54
81
|
"sa-east-1",
|
|
@@ -57,22 +84,100 @@ var partitionHash = {
|
|
|
57
84
|
"us-west-1",
|
|
58
85
|
"us-west-2",
|
|
59
86
|
],
|
|
87
|
+
regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
|
|
88
|
+
variants: [
|
|
89
|
+
{
|
|
90
|
+
hostname: "iam.{region}.amazonaws.com",
|
|
91
|
+
tags: [],
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
hostname: "iam-fips.{region}.amazonaws.com",
|
|
95
|
+
tags: ["fips"],
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
hostname: "iam-fips.{region}.api.aws",
|
|
99
|
+
tags: ["dualstack", "fips"],
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
hostname: "iam.{region}.api.aws",
|
|
103
|
+
tags: ["dualstack"],
|
|
104
|
+
},
|
|
105
|
+
],
|
|
60
106
|
endpoint: "aws-global",
|
|
61
107
|
},
|
|
62
108
|
"aws-cn": {
|
|
63
109
|
regions: ["aws-cn-global", "cn-north-1", "cn-northwest-1"],
|
|
110
|
+
regionRegex: "^cn\\-\\w+\\-\\d+$",
|
|
111
|
+
variants: [
|
|
112
|
+
{
|
|
113
|
+
hostname: "iam.{region}.amazonaws.com.cn",
|
|
114
|
+
tags: [],
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
hostname: "iam-fips.{region}.amazonaws.com.cn",
|
|
118
|
+
tags: ["fips"],
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
hostname: "iam-fips.{region}.api.amazonwebservices.com.cn",
|
|
122
|
+
tags: ["dualstack", "fips"],
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
hostname: "iam.{region}.api.amazonwebservices.com.cn",
|
|
126
|
+
tags: ["dualstack"],
|
|
127
|
+
},
|
|
128
|
+
],
|
|
64
129
|
endpoint: "aws-cn-global",
|
|
65
130
|
},
|
|
66
131
|
"aws-iso": {
|
|
67
|
-
regions: ["aws-iso-global", "us-iso-east-1"],
|
|
132
|
+
regions: ["aws-iso-global", "us-iso-east-1", "us-iso-west-1"],
|
|
133
|
+
regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
|
|
134
|
+
variants: [
|
|
135
|
+
{
|
|
136
|
+
hostname: "iam.{region}.c2s.ic.gov",
|
|
137
|
+
tags: [],
|
|
138
|
+
},
|
|
139
|
+
],
|
|
68
140
|
endpoint: "aws-iso-global",
|
|
69
141
|
},
|
|
70
142
|
"aws-iso-b": {
|
|
71
143
|
regions: ["aws-iso-b-global", "us-isob-east-1"],
|
|
144
|
+
regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
|
|
145
|
+
variants: [
|
|
146
|
+
{
|
|
147
|
+
hostname: "iam.{region}.sc2s.sgov.gov",
|
|
148
|
+
tags: [],
|
|
149
|
+
},
|
|
150
|
+
],
|
|
72
151
|
endpoint: "aws-iso-b-global",
|
|
73
152
|
},
|
|
74
153
|
"aws-us-gov": {
|
|
75
|
-
regions: [
|
|
154
|
+
regions: [
|
|
155
|
+
"aws-us-gov-global",
|
|
156
|
+
"aws-us-gov-global-fips",
|
|
157
|
+
"iam-govcloud",
|
|
158
|
+
"iam-govcloud-fips",
|
|
159
|
+
"us-gov-east-1",
|
|
160
|
+
"us-gov-west-1",
|
|
161
|
+
],
|
|
162
|
+
regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
|
|
163
|
+
variants: [
|
|
164
|
+
{
|
|
165
|
+
hostname: "iam.{region}.amazonaws.com",
|
|
166
|
+
tags: [],
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
hostname: "iam-fips.{region}.amazonaws.com",
|
|
170
|
+
tags: ["fips"],
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
hostname: "iam-fips.{region}.api.aws",
|
|
174
|
+
tags: ["dualstack", "fips"],
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
hostname: "iam.{region}.api.aws",
|
|
178
|
+
tags: ["dualstack"],
|
|
179
|
+
},
|
|
180
|
+
],
|
|
76
181
|
endpoint: "aws-us-gov-global",
|
|
77
182
|
},
|
|
78
183
|
};
|
package/dist-es/index.js
CHANGED
|
@@ -1,193 +1,6 @@
|
|
|
1
|
-
export * from "./IAMClient";
|
|
2
1
|
export * from "./IAM";
|
|
3
|
-
export * from "./
|
|
4
|
-
export * from "./commands
|
|
5
|
-
export * from "./
|
|
6
|
-
export * from "./
|
|
7
|
-
export * from "./
|
|
8
|
-
export * from "./commands/AttachUserPolicyCommand";
|
|
9
|
-
export * from "./commands/ChangePasswordCommand";
|
|
10
|
-
export * from "./commands/CreateAccessKeyCommand";
|
|
11
|
-
export * from "./commands/CreateAccountAliasCommand";
|
|
12
|
-
export * from "./commands/CreateGroupCommand";
|
|
13
|
-
export * from "./commands/CreateInstanceProfileCommand";
|
|
14
|
-
export * from "./commands/CreateLoginProfileCommand";
|
|
15
|
-
export * from "./commands/CreateOpenIDConnectProviderCommand";
|
|
16
|
-
export * from "./commands/CreatePolicyCommand";
|
|
17
|
-
export * from "./commands/CreatePolicyVersionCommand";
|
|
18
|
-
export * from "./commands/CreateRoleCommand";
|
|
19
|
-
export * from "./commands/CreateSAMLProviderCommand";
|
|
20
|
-
export * from "./commands/CreateServiceLinkedRoleCommand";
|
|
21
|
-
export * from "./commands/CreateServiceSpecificCredentialCommand";
|
|
22
|
-
export * from "./commands/CreateUserCommand";
|
|
23
|
-
export * from "./commands/CreateVirtualMFADeviceCommand";
|
|
24
|
-
export * from "./commands/DeactivateMFADeviceCommand";
|
|
25
|
-
export * from "./commands/DeleteAccessKeyCommand";
|
|
26
|
-
export * from "./commands/DeleteAccountAliasCommand";
|
|
27
|
-
export * from "./commands/DeleteAccountPasswordPolicyCommand";
|
|
28
|
-
export * from "./commands/DeleteGroupCommand";
|
|
29
|
-
export * from "./commands/DeleteGroupPolicyCommand";
|
|
30
|
-
export * from "./commands/DeleteInstanceProfileCommand";
|
|
31
|
-
export * from "./commands/DeleteLoginProfileCommand";
|
|
32
|
-
export * from "./commands/DeleteOpenIDConnectProviderCommand";
|
|
33
|
-
export * from "./commands/DeletePolicyCommand";
|
|
34
|
-
export * from "./commands/DeletePolicyVersionCommand";
|
|
35
|
-
export * from "./commands/DeleteRoleCommand";
|
|
36
|
-
export * from "./commands/DeleteRolePermissionsBoundaryCommand";
|
|
37
|
-
export * from "./commands/DeleteRolePolicyCommand";
|
|
38
|
-
export * from "./commands/DeleteSAMLProviderCommand";
|
|
39
|
-
export * from "./commands/DeleteServerCertificateCommand";
|
|
40
|
-
export * from "./commands/DeleteServiceLinkedRoleCommand";
|
|
41
|
-
export * from "./commands/DeleteServiceSpecificCredentialCommand";
|
|
42
|
-
export * from "./commands/DeleteSigningCertificateCommand";
|
|
43
|
-
export * from "./commands/DeleteSSHPublicKeyCommand";
|
|
44
|
-
export * from "./commands/DeleteUserCommand";
|
|
45
|
-
export * from "./commands/DeleteUserPermissionsBoundaryCommand";
|
|
46
|
-
export * from "./commands/DeleteUserPolicyCommand";
|
|
47
|
-
export * from "./commands/DeleteVirtualMFADeviceCommand";
|
|
48
|
-
export * from "./commands/DetachGroupPolicyCommand";
|
|
49
|
-
export * from "./commands/DetachRolePolicyCommand";
|
|
50
|
-
export * from "./commands/DetachUserPolicyCommand";
|
|
51
|
-
export * from "./commands/EnableMFADeviceCommand";
|
|
52
|
-
export * from "./commands/GenerateCredentialReportCommand";
|
|
53
|
-
export * from "./commands/GenerateOrganizationsAccessReportCommand";
|
|
54
|
-
export * from "./commands/GenerateServiceLastAccessedDetailsCommand";
|
|
55
|
-
export * from "./commands/GetAccessKeyLastUsedCommand";
|
|
56
|
-
export * from "./commands/GetAccountAuthorizationDetailsCommand";
|
|
57
|
-
export * from "./pagination/GetAccountAuthorizationDetailsPaginator";
|
|
58
|
-
export * from "./commands/GetAccountPasswordPolicyCommand";
|
|
59
|
-
export * from "./commands/GetAccountSummaryCommand";
|
|
60
|
-
export * from "./commands/GetContextKeysForCustomPolicyCommand";
|
|
61
|
-
export * from "./commands/GetContextKeysForPrincipalPolicyCommand";
|
|
62
|
-
export * from "./commands/GetCredentialReportCommand";
|
|
63
|
-
export * from "./commands/GetGroupCommand";
|
|
64
|
-
export * from "./pagination/GetGroupPaginator";
|
|
65
|
-
export * from "./commands/GetGroupPolicyCommand";
|
|
66
|
-
export * from "./commands/GetInstanceProfileCommand";
|
|
67
|
-
export * from "./waiters/waitForInstanceProfileExists";
|
|
68
|
-
export * from "./commands/GetLoginProfileCommand";
|
|
69
|
-
export * from "./commands/GetOpenIDConnectProviderCommand";
|
|
70
|
-
export * from "./commands/GetOrganizationsAccessReportCommand";
|
|
71
|
-
export * from "./commands/GetPolicyCommand";
|
|
72
|
-
export * from "./waiters/waitForPolicyExists";
|
|
73
|
-
export * from "./commands/GetPolicyVersionCommand";
|
|
74
|
-
export * from "./commands/GetRoleCommand";
|
|
75
|
-
export * from "./waiters/waitForRoleExists";
|
|
76
|
-
export * from "./commands/GetRolePolicyCommand";
|
|
77
|
-
export * from "./commands/GetSAMLProviderCommand";
|
|
78
|
-
export * from "./commands/GetServerCertificateCommand";
|
|
79
|
-
export * from "./commands/GetServiceLastAccessedDetailsCommand";
|
|
80
|
-
export * from "./commands/GetServiceLastAccessedDetailsWithEntitiesCommand";
|
|
81
|
-
export * from "./commands/GetServiceLinkedRoleDeletionStatusCommand";
|
|
82
|
-
export * from "./commands/GetSSHPublicKeyCommand";
|
|
83
|
-
export * from "./commands/GetUserCommand";
|
|
84
|
-
export * from "./waiters/waitForUserExists";
|
|
85
|
-
export * from "./commands/GetUserPolicyCommand";
|
|
86
|
-
export * from "./commands/ListAccessKeysCommand";
|
|
87
|
-
export * from "./pagination/ListAccessKeysPaginator";
|
|
88
|
-
export * from "./commands/ListAccountAliasesCommand";
|
|
89
|
-
export * from "./pagination/ListAccountAliasesPaginator";
|
|
90
|
-
export * from "./commands/ListAttachedGroupPoliciesCommand";
|
|
91
|
-
export * from "./pagination/ListAttachedGroupPoliciesPaginator";
|
|
92
|
-
export * from "./commands/ListAttachedRolePoliciesCommand";
|
|
93
|
-
export * from "./pagination/ListAttachedRolePoliciesPaginator";
|
|
94
|
-
export * from "./commands/ListAttachedUserPoliciesCommand";
|
|
95
|
-
export * from "./pagination/ListAttachedUserPoliciesPaginator";
|
|
96
|
-
export * from "./commands/ListEntitiesForPolicyCommand";
|
|
97
|
-
export * from "./pagination/ListEntitiesForPolicyPaginator";
|
|
98
|
-
export * from "./commands/ListGroupPoliciesCommand";
|
|
99
|
-
export * from "./pagination/ListGroupPoliciesPaginator";
|
|
100
|
-
export * from "./commands/ListGroupsCommand";
|
|
101
|
-
export * from "./pagination/ListGroupsPaginator";
|
|
102
|
-
export * from "./commands/ListGroupsForUserCommand";
|
|
103
|
-
export * from "./pagination/ListGroupsForUserPaginator";
|
|
104
|
-
export * from "./commands/ListInstanceProfilesCommand";
|
|
105
|
-
export * from "./pagination/ListInstanceProfilesPaginator";
|
|
106
|
-
export * from "./commands/ListInstanceProfilesForRoleCommand";
|
|
107
|
-
export * from "./pagination/ListInstanceProfilesForRolePaginator";
|
|
108
|
-
export * from "./commands/ListInstanceProfileTagsCommand";
|
|
109
|
-
export * from "./commands/ListMFADevicesCommand";
|
|
110
|
-
export * from "./pagination/ListMFADevicesPaginator";
|
|
111
|
-
export * from "./commands/ListMFADeviceTagsCommand";
|
|
112
|
-
export * from "./commands/ListOpenIDConnectProvidersCommand";
|
|
113
|
-
export * from "./commands/ListOpenIDConnectProviderTagsCommand";
|
|
114
|
-
export * from "./commands/ListPoliciesCommand";
|
|
115
|
-
export * from "./pagination/ListPoliciesPaginator";
|
|
116
|
-
export * from "./commands/ListPoliciesGrantingServiceAccessCommand";
|
|
117
|
-
export * from "./commands/ListPolicyTagsCommand";
|
|
118
|
-
export * from "./commands/ListPolicyVersionsCommand";
|
|
119
|
-
export * from "./pagination/ListPolicyVersionsPaginator";
|
|
120
|
-
export * from "./commands/ListRolePoliciesCommand";
|
|
121
|
-
export * from "./pagination/ListRolePoliciesPaginator";
|
|
122
|
-
export * from "./commands/ListRolesCommand";
|
|
123
|
-
export * from "./pagination/ListRolesPaginator";
|
|
124
|
-
export * from "./commands/ListRoleTagsCommand";
|
|
125
|
-
export * from "./commands/ListSAMLProvidersCommand";
|
|
126
|
-
export * from "./commands/ListSAMLProviderTagsCommand";
|
|
127
|
-
export * from "./commands/ListServerCertificatesCommand";
|
|
128
|
-
export * from "./pagination/ListServerCertificatesPaginator";
|
|
129
|
-
export * from "./commands/ListServerCertificateTagsCommand";
|
|
130
|
-
export * from "./commands/ListServiceSpecificCredentialsCommand";
|
|
131
|
-
export * from "./commands/ListSigningCertificatesCommand";
|
|
132
|
-
export * from "./pagination/ListSigningCertificatesPaginator";
|
|
133
|
-
export * from "./commands/ListSSHPublicKeysCommand";
|
|
134
|
-
export * from "./pagination/ListSSHPublicKeysPaginator";
|
|
135
|
-
export * from "./commands/ListUserPoliciesCommand";
|
|
136
|
-
export * from "./pagination/ListUserPoliciesPaginator";
|
|
137
|
-
export * from "./commands/ListUsersCommand";
|
|
138
|
-
export * from "./pagination/ListUsersPaginator";
|
|
139
|
-
export * from "./commands/ListUserTagsCommand";
|
|
140
|
-
export * from "./pagination/ListUserTagsPaginator";
|
|
141
|
-
export * from "./commands/ListVirtualMFADevicesCommand";
|
|
142
|
-
export * from "./pagination/ListVirtualMFADevicesPaginator";
|
|
143
|
-
export * from "./commands/PutGroupPolicyCommand";
|
|
144
|
-
export * from "./commands/PutRolePermissionsBoundaryCommand";
|
|
145
|
-
export * from "./commands/PutRolePolicyCommand";
|
|
146
|
-
export * from "./commands/PutUserPermissionsBoundaryCommand";
|
|
147
|
-
export * from "./commands/PutUserPolicyCommand";
|
|
148
|
-
export * from "./commands/RemoveClientIDFromOpenIDConnectProviderCommand";
|
|
149
|
-
export * from "./commands/RemoveRoleFromInstanceProfileCommand";
|
|
150
|
-
export * from "./commands/RemoveUserFromGroupCommand";
|
|
151
|
-
export * from "./commands/ResetServiceSpecificCredentialCommand";
|
|
152
|
-
export * from "./commands/ResyncMFADeviceCommand";
|
|
153
|
-
export * from "./commands/SetDefaultPolicyVersionCommand";
|
|
154
|
-
export * from "./commands/SetSecurityTokenServicePreferencesCommand";
|
|
155
|
-
export * from "./commands/SimulateCustomPolicyCommand";
|
|
156
|
-
export * from "./pagination/SimulateCustomPolicyPaginator";
|
|
157
|
-
export * from "./commands/SimulatePrincipalPolicyCommand";
|
|
158
|
-
export * from "./pagination/SimulatePrincipalPolicyPaginator";
|
|
159
|
-
export * from "./commands/TagInstanceProfileCommand";
|
|
160
|
-
export * from "./commands/TagMFADeviceCommand";
|
|
161
|
-
export * from "./commands/TagOpenIDConnectProviderCommand";
|
|
162
|
-
export * from "./commands/TagPolicyCommand";
|
|
163
|
-
export * from "./commands/TagRoleCommand";
|
|
164
|
-
export * from "./commands/TagSAMLProviderCommand";
|
|
165
|
-
export * from "./commands/TagServerCertificateCommand";
|
|
166
|
-
export * from "./commands/TagUserCommand";
|
|
167
|
-
export * from "./commands/UntagInstanceProfileCommand";
|
|
168
|
-
export * from "./commands/UntagMFADeviceCommand";
|
|
169
|
-
export * from "./commands/UntagOpenIDConnectProviderCommand";
|
|
170
|
-
export * from "./commands/UntagPolicyCommand";
|
|
171
|
-
export * from "./commands/UntagRoleCommand";
|
|
172
|
-
export * from "./commands/UntagSAMLProviderCommand";
|
|
173
|
-
export * from "./commands/UntagServerCertificateCommand";
|
|
174
|
-
export * from "./commands/UntagUserCommand";
|
|
175
|
-
export * from "./commands/UpdateAccessKeyCommand";
|
|
176
|
-
export * from "./commands/UpdateAccountPasswordPolicyCommand";
|
|
177
|
-
export * from "./commands/UpdateAssumeRolePolicyCommand";
|
|
178
|
-
export * from "./commands/UpdateGroupCommand";
|
|
179
|
-
export * from "./commands/UpdateLoginProfileCommand";
|
|
180
|
-
export * from "./commands/UpdateOpenIDConnectProviderThumbprintCommand";
|
|
181
|
-
export * from "./commands/UpdateRoleCommand";
|
|
182
|
-
export * from "./commands/UpdateRoleDescriptionCommand";
|
|
183
|
-
export * from "./commands/UpdateSAMLProviderCommand";
|
|
184
|
-
export * from "./commands/UpdateServerCertificateCommand";
|
|
185
|
-
export * from "./commands/UpdateServiceSpecificCredentialCommand";
|
|
186
|
-
export * from "./commands/UpdateSigningCertificateCommand";
|
|
187
|
-
export * from "./commands/UpdateSSHPublicKeyCommand";
|
|
188
|
-
export * from "./commands/UpdateUserCommand";
|
|
189
|
-
export * from "./commands/UploadServerCertificateCommand";
|
|
190
|
-
export * from "./commands/UploadSigningCertificateCommand";
|
|
191
|
-
export * from "./commands/UploadSSHPublicKeyCommand";
|
|
192
|
-
export * from "./pagination/Interfaces";
|
|
193
|
-
export * from "./models/index";
|
|
2
|
+
export * from "./IAMClient";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./models";
|
|
5
|
+
export * from "./pagination";
|
|
6
|
+
export * from "./waiters";
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export * from "./GetAccountAuthorizationDetailsPaginator";
|
|
2
|
+
export * from "./GetGroupPaginator";
|
|
3
|
+
export * from "./Interfaces";
|
|
4
|
+
export * from "./ListAccessKeysPaginator";
|
|
5
|
+
export * from "./ListAccountAliasesPaginator";
|
|
6
|
+
export * from "./ListAttachedGroupPoliciesPaginator";
|
|
7
|
+
export * from "./ListAttachedRolePoliciesPaginator";
|
|
8
|
+
export * from "./ListAttachedUserPoliciesPaginator";
|
|
9
|
+
export * from "./ListEntitiesForPolicyPaginator";
|
|
10
|
+
export * from "./ListGroupPoliciesPaginator";
|
|
11
|
+
export * from "./ListGroupsForUserPaginator";
|
|
12
|
+
export * from "./ListGroupsPaginator";
|
|
13
|
+
export * from "./ListInstanceProfilesForRolePaginator";
|
|
14
|
+
export * from "./ListInstanceProfilesPaginator";
|
|
15
|
+
export * from "./ListMFADevicesPaginator";
|
|
16
|
+
export * from "./ListPoliciesPaginator";
|
|
17
|
+
export * from "./ListPolicyVersionsPaginator";
|
|
18
|
+
export * from "./ListRolePoliciesPaginator";
|
|
19
|
+
export * from "./ListRolesPaginator";
|
|
20
|
+
export * from "./ListSSHPublicKeysPaginator";
|
|
21
|
+
export * from "./ListServerCertificatesPaginator";
|
|
22
|
+
export * from "./ListSigningCertificatesPaginator";
|
|
23
|
+
export * from "./ListUserPoliciesPaginator";
|
|
24
|
+
export * from "./ListUserTagsPaginator";
|
|
25
|
+
export * from "./ListUsersPaginator";
|
|
26
|
+
export * from "./ListVirtualMFADevicesPaginator";
|
|
27
|
+
export * from "./SimulateCustomPolicyPaginator";
|
|
28
|
+
export * from "./SimulatePrincipalPolicyPaginator";
|