@aws-sdk/client-iam 3.1108.0 → 3.1110.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/README.md +28 -0
- package/dist-cjs/index.js +285 -27
- package/dist-es/IAM.js +8 -0
- package/dist-es/commands/AcquireRoleCommand.js +4 -0
- package/dist-es/commands/GetAccountPropertiesCommand.js +4 -0
- package/dist-es/commands/GetRoleTemplateVersionCommand.js +4 -0
- package/dist-es/commands/PutAccountPropertiesCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +14 -3
- package/dist-es/models/errors.js +52 -16
- package/dist-es/schemas/schemas_0.js +176 -8
- package/dist-types/IAM.d.ts +29 -0
- package/dist-types/IAMClient.d.ts +6 -2
- package/dist-types/commands/AcquireRoleCommand.d.ts +154 -0
- package/dist-types/commands/CreateInstanceProfileCommand.d.ts +4 -0
- package/dist-types/commands/CreateRoleCommand.d.ts +4 -0
- package/dist-types/commands/CreateServiceLinkedRoleCommand.d.ts +4 -0
- package/dist-types/commands/GetAccountAuthorizationDetailsCommand.d.ts +4 -0
- package/dist-types/commands/GetAccountPropertiesCommand.d.ts +84 -0
- package/dist-types/commands/GetInstanceProfileCommand.d.ts +4 -0
- package/dist-types/commands/GetRoleCommand.d.ts +4 -0
- package/dist-types/commands/GetRoleTemplateVersionCommand.d.ts +135 -0
- package/dist-types/commands/ListInstanceProfilesCommand.d.ts +4 -0
- package/dist-types/commands/ListInstanceProfilesForRoleCommand.d.ts +4 -0
- package/dist-types/commands/ListRolesCommand.d.ts +4 -0
- package/dist-types/commands/PutAccountPropertiesCommand.d.ts +88 -0
- package/dist-types/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/dist-types/commands/TagServerCertificateCommand.d.ts +1 -1
- package/dist-types/commands/TagUserCommand.d.ts +1 -1
- package/dist-types/commands/UntagInstanceProfileCommand.d.ts +1 -1
- package/dist-types/commands/UntagMFADeviceCommand.d.ts +1 -1
- package/dist-types/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/commands/UntagPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UntagRoleCommand.d.ts +1 -1
- package/dist-types/commands/UntagSAMLProviderCommand.d.ts +1 -1
- package/dist-types/commands/UntagServerCertificateCommand.d.ts +1 -1
- package/dist-types/commands/UntagUserCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccessKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRoleDescriptionCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +38 -11
- package/dist-types/models/errors.d.ts +58 -18
- package/dist-types/models/models_0.d.ts +508 -511
- package/dist-types/models/models_1.d.ts +358 -0
- package/dist-types/schemas/schemas_0.d.ts +21 -0
- package/dist-types/ts3.4/IAM.d.ts +66 -0
- package/dist-types/ts3.4/IAMClient.d.ts +21 -0
- package/dist-types/ts3.4/commands/AcquireRoleCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetAccountPropertiesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetRoleTemplateVersionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/PutAccountPropertiesCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/TagSAMLProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagServerCertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagInstanceProfileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagMFADeviceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagOpenIDConnectProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagRoleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagSAMLProviderCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagServerCertificateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagUserCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAccessKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAccountPasswordPolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAssumeRolePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +18 -5
- package/dist-types/ts3.4/models/errors.d.ts +23 -8
- package/dist-types/ts3.4/models/models_0.d.ts +100 -89
- package/dist-types/ts3.4/models/models_1.d.ts +64 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +21 -0
- package/package.json +1 -1
|
@@ -1,5 +1,363 @@
|
|
|
1
1
|
import type { AssertionEncryptionModeType, StatusType } from "./enums";
|
|
2
2
|
import type { Role, ServerCertificateMetadata, SigningCertificate, SSHPublicKey, Tag } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface TagSAMLProviderRequest {
|
|
7
|
+
/**
|
|
8
|
+
* <p>The ARN of the SAML identity provider in IAM to which you want to add tags.</p>
|
|
9
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
10
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
SAMLProviderArn: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* <p>The list of tags that you want to attach to the SAML identity provider in IAM.
|
|
16
|
+
* Each tag consists of a key name and an associated value.</p>
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
Tags: Tag[] | undefined;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface TagServerCertificateRequest {
|
|
25
|
+
/**
|
|
26
|
+
* <p>The name of the IAM server certificate to which you want to add tags.</p>
|
|
27
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
28
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
ServerCertificateName: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The list of tags that you want to attach to the IAM server certificate.
|
|
34
|
+
* Each tag consists of a key name and an associated value.</p>
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
Tags: Tag[] | undefined;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @public
|
|
41
|
+
*/
|
|
42
|
+
export interface TagUserRequest {
|
|
43
|
+
/**
|
|
44
|
+
* <p>The name of the IAM user to which you want to add tags.</p>
|
|
45
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
46
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
UserName: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* <p>The list of tags that you want to attach to the IAM user. Each tag consists of a key name and an associated value.</p>
|
|
52
|
+
* @public
|
|
53
|
+
*/
|
|
54
|
+
Tags: Tag[] | undefined;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
export interface UntagInstanceProfileRequest {
|
|
60
|
+
/**
|
|
61
|
+
* <p>The name of the IAM instance profile from which you want to remove tags.</p>
|
|
62
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
63
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
64
|
+
* @public
|
|
65
|
+
*/
|
|
66
|
+
InstanceProfileName: string | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* <p>A list of key names as a simple array of strings. The tags with matching keys are
|
|
69
|
+
* removed from the specified instance profile.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
TagKeys: string[] | undefined;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @public
|
|
76
|
+
*/
|
|
77
|
+
export interface UntagMFADeviceRequest {
|
|
78
|
+
/**
|
|
79
|
+
* <p>The unique identifier for the IAM virtual MFA device from which you want to remove
|
|
80
|
+
* tags. For virtual MFA devices, the serial number is the same as the ARN.</p>
|
|
81
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
82
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
85
|
+
SerialNumber: string | undefined;
|
|
86
|
+
/**
|
|
87
|
+
* <p>A list of key names as a simple array of strings. The tags with matching keys are
|
|
88
|
+
* removed from the specified instance profile.</p>
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
TagKeys: string[] | undefined;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export interface UntagOpenIDConnectProviderRequest {
|
|
97
|
+
/**
|
|
98
|
+
* <p>The ARN of the OIDC provider in IAM from which you want to remove tags.</p>
|
|
99
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
100
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
OpenIDConnectProviderArn: string | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>A list of key names as a simple array of strings. The tags with matching keys are
|
|
106
|
+
* removed from the specified OIDC provider.</p>
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
TagKeys: string[] | undefined;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
*/
|
|
114
|
+
export interface UntagPolicyRequest {
|
|
115
|
+
/**
|
|
116
|
+
* <p>The ARN of the IAM customer managed policy from which you want to remove
|
|
117
|
+
* tags.</p>
|
|
118
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
119
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
120
|
+
* @public
|
|
121
|
+
*/
|
|
122
|
+
PolicyArn: string | undefined;
|
|
123
|
+
/**
|
|
124
|
+
* <p>A list of key names as a simple array of strings. The tags with matching keys are
|
|
125
|
+
* removed from the specified policy.</p>
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
TagKeys: string[] | undefined;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
*/
|
|
133
|
+
export interface UntagRoleRequest {
|
|
134
|
+
/**
|
|
135
|
+
* <p>The name of the IAM role from which you want to remove tags.</p>
|
|
136
|
+
* <p>This parameter accepts (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters that consist of upper and lowercase alphanumeric
|
|
137
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
RoleName: string | undefined;
|
|
141
|
+
/**
|
|
142
|
+
* <p>A list of key names as a simple array of strings. The tags with matching keys are
|
|
143
|
+
* removed from the specified role.</p>
|
|
144
|
+
* @public
|
|
145
|
+
*/
|
|
146
|
+
TagKeys: string[] | undefined;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
*/
|
|
151
|
+
export interface UntagSAMLProviderRequest {
|
|
152
|
+
/**
|
|
153
|
+
* <p>The ARN of the SAML identity provider in IAM from which you want to remove
|
|
154
|
+
* tags.</p>
|
|
155
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
156
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
157
|
+
* @public
|
|
158
|
+
*/
|
|
159
|
+
SAMLProviderArn: string | undefined;
|
|
160
|
+
/**
|
|
161
|
+
* <p>A list of key names as a simple array of strings. The tags with matching keys are
|
|
162
|
+
* removed from the specified SAML identity provider.</p>
|
|
163
|
+
* @public
|
|
164
|
+
*/
|
|
165
|
+
TagKeys: string[] | undefined;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export interface UntagServerCertificateRequest {
|
|
171
|
+
/**
|
|
172
|
+
* <p>The name of the IAM server certificate from which you want to remove tags.</p>
|
|
173
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
174
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
175
|
+
* @public
|
|
176
|
+
*/
|
|
177
|
+
ServerCertificateName: string | undefined;
|
|
178
|
+
/**
|
|
179
|
+
* <p>A list of key names as a simple array of strings. The tags with matching keys are
|
|
180
|
+
* removed from the specified IAM server certificate.</p>
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
TagKeys: string[] | undefined;
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
*/
|
|
188
|
+
export interface UntagUserRequest {
|
|
189
|
+
/**
|
|
190
|
+
* <p>The name of the IAM user from which you want to remove tags.</p>
|
|
191
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
192
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
193
|
+
* @public
|
|
194
|
+
*/
|
|
195
|
+
UserName: string | undefined;
|
|
196
|
+
/**
|
|
197
|
+
* <p>A list of key names as a simple array of strings. The tags with matching keys are
|
|
198
|
+
* removed from the specified user.</p>
|
|
199
|
+
* @public
|
|
200
|
+
*/
|
|
201
|
+
TagKeys: string[] | undefined;
|
|
202
|
+
}
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export interface UpdateAccessKeyRequest {
|
|
207
|
+
/**
|
|
208
|
+
* <p>The name of the user whose key you want to update.</p>
|
|
209
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
210
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
211
|
+
* @public
|
|
212
|
+
*/
|
|
213
|
+
UserName?: string | undefined;
|
|
214
|
+
/**
|
|
215
|
+
* <p>The access key ID of the secret access key you want to update.</p>
|
|
216
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters that can
|
|
217
|
+
* consist of any upper or lowercased letter or digit.</p>
|
|
218
|
+
* @public
|
|
219
|
+
*/
|
|
220
|
+
AccessKeyId: string | undefined;
|
|
221
|
+
/**
|
|
222
|
+
* <p> The status you want to assign to the secret access key. <code>Active</code> means
|
|
223
|
+
* that the key can be used for programmatic calls to Amazon Web Services, while <code>Inactive</code>
|
|
224
|
+
* means that the key cannot be used.</p>
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
Status: StatusType | undefined;
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* @public
|
|
231
|
+
*/
|
|
232
|
+
export interface UpdateAccountPasswordPolicyRequest {
|
|
233
|
+
/**
|
|
234
|
+
* <p>The minimum number of characters allowed in an IAM user password.</p>
|
|
235
|
+
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
236
|
+
* value of <code>6</code>.</p>
|
|
237
|
+
* @public
|
|
238
|
+
*/
|
|
239
|
+
MinimumPasswordLength?: number | undefined;
|
|
240
|
+
/**
|
|
241
|
+
* <p>Specifies whether IAM user passwords must contain at least one of the following
|
|
242
|
+
* non-alphanumeric characters:</p>
|
|
243
|
+
* <p>! @ # $ % ^ & * ( ) _ + - = [ ] \{ \} | '</p>
|
|
244
|
+
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
245
|
+
* value of <code>false</code>. The result is that passwords do not require at least one
|
|
246
|
+
* symbol character.</p>
|
|
247
|
+
* @public
|
|
248
|
+
*/
|
|
249
|
+
RequireSymbols?: boolean | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* <p>Specifies whether IAM user passwords must contain at least one numeric character (0
|
|
252
|
+
* to 9).</p>
|
|
253
|
+
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
254
|
+
* value of <code>false</code>. The result is that passwords do not require at least one
|
|
255
|
+
* numeric character.</p>
|
|
256
|
+
* @public
|
|
257
|
+
*/
|
|
258
|
+
RequireNumbers?: boolean | undefined;
|
|
259
|
+
/**
|
|
260
|
+
* <p>Specifies whether IAM user passwords must contain at least one uppercase character
|
|
261
|
+
* from the ISO basic Latin alphabet (A to Z).</p>
|
|
262
|
+
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
263
|
+
* value of <code>false</code>. The result is that passwords do not require at least one
|
|
264
|
+
* uppercase character.</p>
|
|
265
|
+
* @public
|
|
266
|
+
*/
|
|
267
|
+
RequireUppercaseCharacters?: boolean | undefined;
|
|
268
|
+
/**
|
|
269
|
+
* <p>Specifies whether IAM user passwords must contain at least one lowercase character
|
|
270
|
+
* from the ISO basic Latin alphabet (a to z).</p>
|
|
271
|
+
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
272
|
+
* value of <code>false</code>. The result is that passwords do not require at least one
|
|
273
|
+
* lowercase character.</p>
|
|
274
|
+
* @public
|
|
275
|
+
*/
|
|
276
|
+
RequireLowercaseCharacters?: boolean | undefined;
|
|
277
|
+
/**
|
|
278
|
+
* <p> Allows all IAM users in your account to use the Amazon Web Services Management Console to change their own
|
|
279
|
+
* passwords. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_passwords_enable-user-change.html">Permitting
|
|
280
|
+
* IAM users to change their own passwords</a> in the
|
|
281
|
+
* <i>IAM User Guide</i>.</p>
|
|
282
|
+
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
283
|
+
* value of <code>false</code>. The result is that IAM users in the account do not
|
|
284
|
+
* automatically have permissions to change their own password.</p>
|
|
285
|
+
* @public
|
|
286
|
+
*/
|
|
287
|
+
AllowUsersToChangePassword?: boolean | undefined;
|
|
288
|
+
/**
|
|
289
|
+
* <p>The number of days that an IAM user password is valid.</p>
|
|
290
|
+
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
291
|
+
* value of <code>0</code>. The result is that IAM user passwords never expire.</p>
|
|
292
|
+
* @public
|
|
293
|
+
*/
|
|
294
|
+
MaxPasswordAge?: number | undefined;
|
|
295
|
+
/**
|
|
296
|
+
* <p>Specifies the number of previous passwords that IAM users are prevented from
|
|
297
|
+
* reusing.</p>
|
|
298
|
+
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
299
|
+
* value of <code>0</code>. The result is that IAM users are not prevented from reusing
|
|
300
|
+
* previous passwords.</p>
|
|
301
|
+
* @public
|
|
302
|
+
*/
|
|
303
|
+
PasswordReusePrevention?: number | undefined;
|
|
304
|
+
/**
|
|
305
|
+
* <p> Prevents IAM users who are accessing the account via the Amazon Web Services Management Console from setting a
|
|
306
|
+
* new console password after their password has expired. The IAM user cannot access the
|
|
307
|
+
* console until an administrator resets the password.</p>
|
|
308
|
+
* <p>If you do not specify a value for this parameter, then the operation uses the default
|
|
309
|
+
* value of <code>false</code>. The result is that IAM users can change their passwords
|
|
310
|
+
* after they expire and continue to sign in as the user.</p>
|
|
311
|
+
* <note>
|
|
312
|
+
* <p> In the Amazon Web Services Management Console, the custom password policy option <b>Allow
|
|
313
|
+
* users to change their own password</b> gives IAM users permissions to
|
|
314
|
+
* <code>iam:ChangePassword</code> for only their user and to the
|
|
315
|
+
* <code>iam:GetAccountPasswordPolicy</code> action. This option does not attach a
|
|
316
|
+
* permissions policy to each user, rather the permissions are applied at the
|
|
317
|
+
* account-level for all users by IAM. IAM users with
|
|
318
|
+
* <code>iam:ChangePassword</code> permission and active access keys can reset
|
|
319
|
+
* their own expired console password using the CLI or API.</p>
|
|
320
|
+
* </note>
|
|
321
|
+
* @public
|
|
322
|
+
*/
|
|
323
|
+
HardExpiry?: boolean | undefined;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* @public
|
|
327
|
+
*/
|
|
328
|
+
export interface UpdateAssumeRolePolicyRequest {
|
|
329
|
+
/**
|
|
330
|
+
* <p>The name of the role to update with the new policy.</p>
|
|
331
|
+
* <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric
|
|
332
|
+
* characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
|
|
333
|
+
* @public
|
|
334
|
+
*/
|
|
335
|
+
RoleName: string | undefined;
|
|
336
|
+
/**
|
|
337
|
+
* <p>The policy that grants an entity permission to assume the role.</p>
|
|
338
|
+
* <p>You must provide policies in JSON format in IAM. However, for CloudFormation
|
|
339
|
+
* templates formatted in YAML, you can provide the policy in JSON or YAML format. CloudFormation always converts a YAML policy to JSON format before submitting it to
|
|
340
|
+
* IAM.</p>
|
|
341
|
+
* <p>The <a href="http://wikipedia.org/wiki/regex">regex pattern</a>
|
|
342
|
+
* used to validate this parameter is a string of characters consisting of the following:</p>
|
|
343
|
+
* <ul>
|
|
344
|
+
* <li>
|
|
345
|
+
* <p>Any printable ASCII
|
|
346
|
+
* character ranging from the space character (<code>\u0020</code>) through the end of the ASCII character range</p>
|
|
347
|
+
* </li>
|
|
348
|
+
* <li>
|
|
349
|
+
* <p>The printable characters in the Basic Latin and Latin-1 Supplement character set
|
|
350
|
+
* (through <code>\u00FF</code>)</p>
|
|
351
|
+
* </li>
|
|
352
|
+
* <li>
|
|
353
|
+
* <p>The special characters tab (<code>\u0009</code>), line feed (<code>\u000A</code>), and
|
|
354
|
+
* carriage return (<code>\u000D</code>)</p>
|
|
355
|
+
* </li>
|
|
356
|
+
* </ul>
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
PolicyDocument: string | undefined;
|
|
360
|
+
}
|
|
3
361
|
/**
|
|
4
362
|
* @public
|
|
5
363
|
*/
|
|
@@ -23,6 +23,7 @@ export declare var KeyPairMismatchException$: StaticErrorSchema;
|
|
|
23
23
|
export declare var LimitExceededException$: StaticErrorSchema;
|
|
24
24
|
export declare var MalformedCertificateException$: StaticErrorSchema;
|
|
25
25
|
export declare var MalformedPolicyDocumentException$: StaticErrorSchema;
|
|
26
|
+
export declare var NameConflictException$: StaticErrorSchema;
|
|
26
27
|
export declare var NoSuchEntityException$: StaticErrorSchema;
|
|
27
28
|
export declare var OpenIdIdpCommunicationErrorException$: StaticErrorSchema;
|
|
28
29
|
export declare var OrganizationNotFoundException$: StaticErrorSchema;
|
|
@@ -31,6 +32,8 @@ export declare var PasswordPolicyViolationException$: StaticErrorSchema;
|
|
|
31
32
|
export declare var PolicyEvaluationException$: StaticErrorSchema;
|
|
32
33
|
export declare var PolicyNotAttachableException$: StaticErrorSchema;
|
|
33
34
|
export declare var ReportGenerationLimitExceededException$: StaticErrorSchema;
|
|
35
|
+
export declare var RoleModifiedException$: StaticErrorSchema;
|
|
36
|
+
export declare var RoleTemplateDisabledException$: StaticErrorSchema;
|
|
34
37
|
export declare var ServiceAccessNotEnabledException$: StaticErrorSchema;
|
|
35
38
|
export declare var ServiceFailureException$: StaticErrorSchema;
|
|
36
39
|
export declare var ServiceNotSupportedException$: StaticErrorSchema;
|
|
@@ -47,6 +50,8 @@ export declare var AccessDetail$: StaticStructureSchema;
|
|
|
47
50
|
export declare var AccessKey$: StaticStructureSchema;
|
|
48
51
|
export declare var AccessKeyLastUsed$: StaticStructureSchema;
|
|
49
52
|
export declare var AccessKeyMetadata$: StaticStructureSchema;
|
|
53
|
+
export declare var AcquireRoleRequest$: StaticStructureSchema;
|
|
54
|
+
export declare var AcquireRoleResponse$: StaticStructureSchema;
|
|
50
55
|
export declare var AddClientIDToOpenIDConnectProviderRequest$: StaticStructureSchema;
|
|
51
56
|
export declare var AddRoleToInstanceProfileRequest$: StaticStructureSchema;
|
|
52
57
|
export declare var AddUserToGroupRequest$: StaticStructureSchema;
|
|
@@ -141,6 +146,8 @@ export declare var GetAccessKeyLastUsedResponse$: StaticStructureSchema;
|
|
|
141
146
|
export declare var GetAccountAuthorizationDetailsRequest$: StaticStructureSchema;
|
|
142
147
|
export declare var GetAccountAuthorizationDetailsResponse$: StaticStructureSchema;
|
|
143
148
|
export declare var GetAccountPasswordPolicyResponse$: StaticStructureSchema;
|
|
149
|
+
export declare var GetAccountPropertiesRequest$: StaticStructureSchema;
|
|
150
|
+
export declare var GetAccountPropertiesResponse$: StaticStructureSchema;
|
|
144
151
|
export declare var GetAccountSummaryResponse$: StaticStructureSchema;
|
|
145
152
|
export declare var GetContextKeysForCustomPolicyRequest$: StaticStructureSchema;
|
|
146
153
|
export declare var GetContextKeysForPolicyResponse$: StaticStructureSchema;
|
|
@@ -173,6 +180,8 @@ export declare var GetRolePolicyRequest$: StaticStructureSchema;
|
|
|
173
180
|
export declare var GetRolePolicyResponse$: StaticStructureSchema;
|
|
174
181
|
export declare var GetRoleRequest$: StaticStructureSchema;
|
|
175
182
|
export declare var GetRoleResponse$: StaticStructureSchema;
|
|
183
|
+
export declare var GetRoleTemplateVersionRequest$: StaticStructureSchema;
|
|
184
|
+
export declare var GetRoleTemplateVersionResponse$: StaticStructureSchema;
|
|
176
185
|
export declare var GetSAMLProviderRequest$: StaticStructureSchema;
|
|
177
186
|
export declare var GetSAMLProviderResponse$: StaticStructureSchema;
|
|
178
187
|
export declare var GetServerCertificateRequest$: StaticStructureSchema;
|
|
@@ -191,6 +200,7 @@ export declare var GetUserRequest$: StaticStructureSchema;
|
|
|
191
200
|
export declare var GetUserResponse$: StaticStructureSchema;
|
|
192
201
|
export declare var Group$: StaticStructureSchema;
|
|
193
202
|
export declare var GroupDetail$: StaticStructureSchema;
|
|
203
|
+
export declare var InlinePolicy$: StaticStructureSchema;
|
|
194
204
|
export declare var InlinePolicyIdentifierType$: StaticStructureSchema;
|
|
195
205
|
export declare var InstanceProfile$: StaticStructureSchema;
|
|
196
206
|
export declare var ListAccessKeysRequest$: StaticStructureSchema;
|
|
@@ -272,6 +282,7 @@ export declare var MFADevice$: StaticStructureSchema;
|
|
|
272
282
|
export declare var OpenIDConnectProviderListEntry$: StaticStructureSchema;
|
|
273
283
|
export declare var OrderedOrganizationPolicyType$: StaticStructureSchema;
|
|
274
284
|
export declare var OrganizationsDecisionDetail$: StaticStructureSchema;
|
|
285
|
+
export declare var ParameterDefinition$: StaticStructureSchema;
|
|
275
286
|
export declare var PasswordPolicy$: StaticStructureSchema;
|
|
276
287
|
export declare var PermissionsBoundaryDecisionDetail$: StaticStructureSchema;
|
|
277
288
|
export declare var Policy$: StaticStructureSchema;
|
|
@@ -283,6 +294,8 @@ export declare var PolicyRole$: StaticStructureSchema;
|
|
|
283
294
|
export declare var PolicyUser$: StaticStructureSchema;
|
|
284
295
|
export declare var PolicyVersion$: StaticStructureSchema;
|
|
285
296
|
export declare var Position$: StaticStructureSchema;
|
|
297
|
+
export declare var PutAccountPropertiesRequest$: StaticStructureSchema;
|
|
298
|
+
export declare var PutAccountPropertiesResponse$: StaticStructureSchema;
|
|
286
299
|
export declare var PutGroupPolicyRequest$: StaticStructureSchema;
|
|
287
300
|
export declare var PutRolePermissionsBoundaryRequest$: StaticStructureSchema;
|
|
288
301
|
export declare var PutRolePolicyRequest$: StaticStructureSchema;
|
|
@@ -292,6 +305,7 @@ export declare var RejectDelegationRequestRequest$: StaticStructureSchema;
|
|
|
292
305
|
export declare var RemoveClientIDFromOpenIDConnectProviderRequest$: StaticStructureSchema;
|
|
293
306
|
export declare var RemoveRoleFromInstanceProfileRequest$: StaticStructureSchema;
|
|
294
307
|
export declare var RemoveUserFromGroupRequest$: StaticStructureSchema;
|
|
308
|
+
export declare var ReplacementValueEntry$: StaticStructureSchema;
|
|
295
309
|
export declare var ResetServiceSpecificCredentialRequest$: StaticStructureSchema;
|
|
296
310
|
export declare var ResetServiceSpecificCredentialResponse$: StaticStructureSchema;
|
|
297
311
|
export declare var ResourceSpecificResult$: StaticStructureSchema;
|
|
@@ -299,6 +313,7 @@ export declare var ResyncMFADeviceRequest$: StaticStructureSchema;
|
|
|
299
313
|
export declare var Role$: StaticStructureSchema;
|
|
300
314
|
export declare var RoleDetail$: StaticStructureSchema;
|
|
301
315
|
export declare var RoleLastUsed$: StaticStructureSchema;
|
|
316
|
+
export declare var RoleTemplateVersion$: StaticStructureSchema;
|
|
302
317
|
export declare var RoleUsageType$: StaticStructureSchema;
|
|
303
318
|
export declare var SAMLPrivateKey$: StaticStructureSchema;
|
|
304
319
|
export declare var SAMLProviderListEntry$: StaticStructureSchema;
|
|
@@ -314,6 +329,7 @@ export declare var SigningCertificate$: StaticStructureSchema;
|
|
|
314
329
|
export declare var SimulateCustomPolicyRequest$: StaticStructureSchema;
|
|
315
330
|
export declare var SimulatePolicyResponse$: StaticStructureSchema;
|
|
316
331
|
export declare var SimulatePrincipalPolicyRequest$: StaticStructureSchema;
|
|
332
|
+
export declare var SourceRoleTemplate$: StaticStructureSchema;
|
|
317
333
|
export declare var SSHPublicKey$: StaticStructureSchema;
|
|
318
334
|
export declare var SSHPublicKeyMetadata$: StaticStructureSchema;
|
|
319
335
|
export declare var Statement$: StaticStructureSchema;
|
|
@@ -325,6 +341,7 @@ export declare var TagPolicyRequest$: StaticStructureSchema;
|
|
|
325
341
|
export declare var TagRoleRequest$: StaticStructureSchema;
|
|
326
342
|
export declare var TagSAMLProviderRequest$: StaticStructureSchema;
|
|
327
343
|
export declare var TagServerCertificateRequest$: StaticStructureSchema;
|
|
344
|
+
export declare var TagTemplate$: StaticStructureSchema;
|
|
328
345
|
export declare var TagUserRequest$: StaticStructureSchema;
|
|
329
346
|
export declare var TrackedActionLastAccessed$: StaticStructureSchema;
|
|
330
347
|
export declare var UntagInstanceProfileRequest$: StaticStructureSchema;
|
|
@@ -364,6 +381,7 @@ export declare var UserDetail$: StaticStructureSchema;
|
|
|
364
381
|
export declare var VirtualMFADevice$: StaticStructureSchema;
|
|
365
382
|
export declare var PolicyIdentifier$: StaticUnionSchema;
|
|
366
383
|
export declare var AcceptDelegationRequest$: StaticOperationSchema;
|
|
384
|
+
export declare var AcquireRole$: StaticOperationSchema;
|
|
367
385
|
export declare var AddClientIDToOpenIDConnectProvider$: StaticOperationSchema;
|
|
368
386
|
export declare var AddRoleToInstanceProfile$: StaticOperationSchema;
|
|
369
387
|
export declare var AddUserToGroup$: StaticOperationSchema;
|
|
@@ -427,6 +445,7 @@ export declare var GenerateServiceLastAccessedDetails$: StaticOperationSchema;
|
|
|
427
445
|
export declare var GetAccessKeyLastUsed$: StaticOperationSchema;
|
|
428
446
|
export declare var GetAccountAuthorizationDetails$: StaticOperationSchema;
|
|
429
447
|
export declare var GetAccountPasswordPolicy$: StaticOperationSchema;
|
|
448
|
+
export declare var GetAccountProperties$: StaticOperationSchema;
|
|
430
449
|
export declare var GetAccountSummary$: StaticOperationSchema;
|
|
431
450
|
export declare var GetContextKeysForCustomPolicy$: StaticOperationSchema;
|
|
432
451
|
export declare var GetContextKeysForPrincipalPolicy$: StaticOperationSchema;
|
|
@@ -445,6 +464,7 @@ export declare var GetPolicy$: StaticOperationSchema;
|
|
|
445
464
|
export declare var GetPolicyVersion$: StaticOperationSchema;
|
|
446
465
|
export declare var GetRole$: StaticOperationSchema;
|
|
447
466
|
export declare var GetRolePolicy$: StaticOperationSchema;
|
|
467
|
+
export declare var GetRoleTemplateVersion$: StaticOperationSchema;
|
|
448
468
|
export declare var GetSAMLProvider$: StaticOperationSchema;
|
|
449
469
|
export declare var GetServerCertificate$: StaticOperationSchema;
|
|
450
470
|
export declare var GetServiceLastAccessedDetails$: StaticOperationSchema;
|
|
@@ -489,6 +509,7 @@ export declare var ListUserPolicies$: StaticOperationSchema;
|
|
|
489
509
|
export declare var ListUsers$: StaticOperationSchema;
|
|
490
510
|
export declare var ListUserTags$: StaticOperationSchema;
|
|
491
511
|
export declare var ListVirtualMFADevices$: StaticOperationSchema;
|
|
512
|
+
export declare var PutAccountProperties$: StaticOperationSchema;
|
|
492
513
|
export declare var PutGroupPolicy$: StaticOperationSchema;
|
|
493
514
|
export declare var PutRolePermissionsBoundary$: StaticOperationSchema;
|
|
494
515
|
export declare var PutRolePolicy$: StaticOperationSchema;
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
AcceptDelegationRequestCommandInput,
|
|
10
10
|
AcceptDelegationRequestCommandOutput,
|
|
11
11
|
} from "./commands/AcceptDelegationRequestCommand";
|
|
12
|
+
import { AcquireRoleCommandInput, AcquireRoleCommandOutput } from "./commands/AcquireRoleCommand";
|
|
12
13
|
import {
|
|
13
14
|
AddClientIDToOpenIDConnectProviderCommandInput,
|
|
14
15
|
AddClientIDToOpenIDConnectProviderCommandOutput,
|
|
@@ -243,6 +244,10 @@ import {
|
|
|
243
244
|
GetAccountPasswordPolicyCommandInput,
|
|
244
245
|
GetAccountPasswordPolicyCommandOutput,
|
|
245
246
|
} from "./commands/GetAccountPasswordPolicyCommand";
|
|
247
|
+
import {
|
|
248
|
+
GetAccountPropertiesCommandInput,
|
|
249
|
+
GetAccountPropertiesCommandOutput,
|
|
250
|
+
} from "./commands/GetAccountPropertiesCommand";
|
|
246
251
|
import {
|
|
247
252
|
GetAccountSummaryCommandInput,
|
|
248
253
|
GetAccountSummaryCommandOutput,
|
|
@@ -306,6 +311,10 @@ import {
|
|
|
306
311
|
GetRolePolicyCommandInput,
|
|
307
312
|
GetRolePolicyCommandOutput,
|
|
308
313
|
} from "./commands/GetRolePolicyCommand";
|
|
314
|
+
import {
|
|
315
|
+
GetRoleTemplateVersionCommandInput,
|
|
316
|
+
GetRoleTemplateVersionCommandOutput,
|
|
317
|
+
} from "./commands/GetRoleTemplateVersionCommand";
|
|
309
318
|
import {
|
|
310
319
|
GetSAMLProviderCommandInput,
|
|
311
320
|
GetSAMLProviderCommandOutput,
|
|
@@ -470,6 +479,10 @@ import {
|
|
|
470
479
|
ListVirtualMFADevicesCommandInput,
|
|
471
480
|
ListVirtualMFADevicesCommandOutput,
|
|
472
481
|
} from "./commands/ListVirtualMFADevicesCommand";
|
|
482
|
+
import {
|
|
483
|
+
PutAccountPropertiesCommandInput,
|
|
484
|
+
PutAccountPropertiesCommandOutput,
|
|
485
|
+
} from "./commands/PutAccountPropertiesCommand";
|
|
473
486
|
import {
|
|
474
487
|
PutGroupPolicyCommandInput,
|
|
475
488
|
PutGroupPolicyCommandOutput,
|
|
@@ -658,6 +671,19 @@ export interface IAM {
|
|
|
658
671
|
options: __HttpHandlerOptions,
|
|
659
672
|
cb: (err: any, data?: AcceptDelegationRequestCommandOutput) => void,
|
|
660
673
|
): void;
|
|
674
|
+
acquireRole(
|
|
675
|
+
args: AcquireRoleCommandInput,
|
|
676
|
+
options?: __HttpHandlerOptions,
|
|
677
|
+
): Promise<AcquireRoleCommandOutput>;
|
|
678
|
+
acquireRole(
|
|
679
|
+
args: AcquireRoleCommandInput,
|
|
680
|
+
cb: (err: any, data?: AcquireRoleCommandOutput) => void,
|
|
681
|
+
): void;
|
|
682
|
+
acquireRole(
|
|
683
|
+
args: AcquireRoleCommandInput,
|
|
684
|
+
options: __HttpHandlerOptions,
|
|
685
|
+
cb: (err: any, data?: AcquireRoleCommandOutput) => void,
|
|
686
|
+
): void;
|
|
661
687
|
addClientIDToOpenIDConnectProvider(
|
|
662
688
|
args: AddClientIDToOpenIDConnectProviderCommandInput,
|
|
663
689
|
options?: __HttpHandlerOptions,
|
|
@@ -1490,6 +1516,20 @@ export interface IAM {
|
|
|
1490
1516
|
options: __HttpHandlerOptions,
|
|
1491
1517
|
cb: (err: any, data?: GetAccountPasswordPolicyCommandOutput) => void,
|
|
1492
1518
|
): void;
|
|
1519
|
+
getAccountProperties(): Promise<GetAccountPropertiesCommandOutput>;
|
|
1520
|
+
getAccountProperties(
|
|
1521
|
+
args: GetAccountPropertiesCommandInput,
|
|
1522
|
+
options?: __HttpHandlerOptions,
|
|
1523
|
+
): Promise<GetAccountPropertiesCommandOutput>;
|
|
1524
|
+
getAccountProperties(
|
|
1525
|
+
args: GetAccountPropertiesCommandInput,
|
|
1526
|
+
cb: (err: any, data?: GetAccountPropertiesCommandOutput) => void,
|
|
1527
|
+
): void;
|
|
1528
|
+
getAccountProperties(
|
|
1529
|
+
args: GetAccountPropertiesCommandInput,
|
|
1530
|
+
options: __HttpHandlerOptions,
|
|
1531
|
+
cb: (err: any, data?: GetAccountPropertiesCommandOutput) => void,
|
|
1532
|
+
): void;
|
|
1493
1533
|
getAccountSummary(): Promise<GetAccountSummaryCommandOutput>;
|
|
1494
1534
|
getAccountSummary(
|
|
1495
1535
|
args: GetAccountSummaryCommandInput,
|
|
@@ -1719,6 +1759,19 @@ export interface IAM {
|
|
|
1719
1759
|
options: __HttpHandlerOptions,
|
|
1720
1760
|
cb: (err: any, data?: GetRolePolicyCommandOutput) => void,
|
|
1721
1761
|
): void;
|
|
1762
|
+
getRoleTemplateVersion(
|
|
1763
|
+
args: GetRoleTemplateVersionCommandInput,
|
|
1764
|
+
options?: __HttpHandlerOptions,
|
|
1765
|
+
): Promise<GetRoleTemplateVersionCommandOutput>;
|
|
1766
|
+
getRoleTemplateVersion(
|
|
1767
|
+
args: GetRoleTemplateVersionCommandInput,
|
|
1768
|
+
cb: (err: any, data?: GetRoleTemplateVersionCommandOutput) => void,
|
|
1769
|
+
): void;
|
|
1770
|
+
getRoleTemplateVersion(
|
|
1771
|
+
args: GetRoleTemplateVersionCommandInput,
|
|
1772
|
+
options: __HttpHandlerOptions,
|
|
1773
|
+
cb: (err: any, data?: GetRoleTemplateVersionCommandOutput) => void,
|
|
1774
|
+
): void;
|
|
1722
1775
|
getSAMLProvider(
|
|
1723
1776
|
args: GetSAMLProviderCommandInput,
|
|
1724
1777
|
options?: __HttpHandlerOptions,
|
|
@@ -2303,6 +2356,19 @@ export interface IAM {
|
|
|
2303
2356
|
options: __HttpHandlerOptions,
|
|
2304
2357
|
cb: (err: any, data?: ListVirtualMFADevicesCommandOutput) => void,
|
|
2305
2358
|
): void;
|
|
2359
|
+
putAccountProperties(
|
|
2360
|
+
args: PutAccountPropertiesCommandInput,
|
|
2361
|
+
options?: __HttpHandlerOptions,
|
|
2362
|
+
): Promise<PutAccountPropertiesCommandOutput>;
|
|
2363
|
+
putAccountProperties(
|
|
2364
|
+
args: PutAccountPropertiesCommandInput,
|
|
2365
|
+
cb: (err: any, data?: PutAccountPropertiesCommandOutput) => void,
|
|
2366
|
+
): void;
|
|
2367
|
+
putAccountProperties(
|
|
2368
|
+
args: PutAccountPropertiesCommandInput,
|
|
2369
|
+
options: __HttpHandlerOptions,
|
|
2370
|
+
cb: (err: any, data?: PutAccountPropertiesCommandOutput) => void,
|
|
2371
|
+
): void;
|
|
2306
2372
|
putGroupPolicy(
|
|
2307
2373
|
args: PutGroupPolicyCommandInput,
|
|
2308
2374
|
options?: __HttpHandlerOptions,
|