aws-sdk-iam 1.3.0 → 1.4.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.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iam.rb +1 -1
- data/lib/aws-sdk-iam/access_key_pair.rb +2 -2
- data/lib/aws-sdk-iam/account_password_policy.rb +33 -15
- data/lib/aws-sdk-iam/assume_role_policy.rb +10 -6
- data/lib/aws-sdk-iam/client.rb +805 -588
- data/lib/aws-sdk-iam/client_api.rb +23 -0
- data/lib/aws-sdk-iam/current_user.rb +4 -4
- data/lib/aws-sdk-iam/group.rb +29 -25
- data/lib/aws-sdk-iam/group_policy.rb +10 -6
- data/lib/aws-sdk-iam/login_profile.rb +22 -16
- data/lib/aws-sdk-iam/mfa_device.rb +2 -2
- data/lib/aws-sdk-iam/policy.rb +31 -27
- data/lib/aws-sdk-iam/policy_version.rb +11 -0
- data/lib/aws-sdk-iam/resource.rb +194 -131
- data/lib/aws-sdk-iam/role.rb +14 -5
- data/lib/aws-sdk-iam/role_policy.rb +10 -6
- data/lib/aws-sdk-iam/server_certificate.rb +6 -6
- data/lib/aws-sdk-iam/signing_certificate.rb +2 -2
- data/lib/aws-sdk-iam/types.rb +687 -477
- data/lib/aws-sdk-iam/user.rb +40 -36
- data/lib/aws-sdk-iam/user_policy.rb +10 -6
- metadata +3 -3
@@ -289,6 +289,8 @@ module Aws::IAM
|
|
289
289
|
UpdateOpenIDConnectProviderThumbprintRequest = Shapes::StructureShape.new(name: 'UpdateOpenIDConnectProviderThumbprintRequest')
|
290
290
|
UpdateRoleDescriptionRequest = Shapes::StructureShape.new(name: 'UpdateRoleDescriptionRequest')
|
291
291
|
UpdateRoleDescriptionResponse = Shapes::StructureShape.new(name: 'UpdateRoleDescriptionResponse')
|
292
|
+
UpdateRoleRequest = Shapes::StructureShape.new(name: 'UpdateRoleRequest')
|
293
|
+
UpdateRoleResponse = Shapes::StructureShape.new(name: 'UpdateRoleResponse')
|
292
294
|
UpdateSAMLProviderRequest = Shapes::StructureShape.new(name: 'UpdateSAMLProviderRequest')
|
293
295
|
UpdateSAMLProviderResponse = Shapes::StructureShape.new(name: 'UpdateSAMLProviderResponse')
|
294
296
|
UpdateSSHPublicKeyRequest = Shapes::StructureShape.new(name: 'UpdateSSHPublicKeyRequest')
|
@@ -382,6 +384,7 @@ module Aws::IAM
|
|
382
384
|
roleDescriptionType = Shapes::StringShape.new(name: 'roleDescriptionType')
|
383
385
|
roleDetailListType = Shapes::ListShape.new(name: 'roleDetailListType')
|
384
386
|
roleListType = Shapes::ListShape.new(name: 'roleListType')
|
387
|
+
roleMaxSessionDurationType = Shapes::IntegerShape.new(name: 'roleMaxSessionDurationType')
|
385
388
|
roleNameType = Shapes::StringShape.new(name: 'roleNameType')
|
386
389
|
serialNumberType = Shapes::StringShape.new(name: 'serialNumberType')
|
387
390
|
serverCertificateMetadataListType = Shapes::ListShape.new(name: 'serverCertificateMetadataListType')
|
@@ -532,6 +535,7 @@ module Aws::IAM
|
|
532
535
|
CreateRoleRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: roleNameType, required: true, location_name: "RoleName"))
|
533
536
|
CreateRoleRequest.add_member(:assume_role_policy_document, Shapes::ShapeRef.new(shape: policyDocumentType, required: true, location_name: "AssumeRolePolicyDocument"))
|
534
537
|
CreateRoleRequest.add_member(:description, Shapes::ShapeRef.new(shape: roleDescriptionType, location_name: "Description"))
|
538
|
+
CreateRoleRequest.add_member(:max_session_duration, Shapes::ShapeRef.new(shape: roleMaxSessionDurationType, location_name: "MaxSessionDuration"))
|
535
539
|
CreateRoleRequest.struct_class = Types::CreateRoleRequest
|
536
540
|
|
537
541
|
CreateRoleResponse.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
|
@@ -1259,6 +1263,7 @@ module Aws::IAM
|
|
1259
1263
|
Role.add_member(:create_date, Shapes::ShapeRef.new(shape: dateType, required: true, location_name: "CreateDate"))
|
1260
1264
|
Role.add_member(:assume_role_policy_document, Shapes::ShapeRef.new(shape: policyDocumentType, location_name: "AssumeRolePolicyDocument"))
|
1261
1265
|
Role.add_member(:description, Shapes::ShapeRef.new(shape: roleDescriptionType, location_name: "Description"))
|
1266
|
+
Role.add_member(:max_session_duration, Shapes::ShapeRef.new(shape: roleMaxSessionDurationType, location_name: "MaxSessionDuration"))
|
1262
1267
|
Role.struct_class = Types::Role
|
1263
1268
|
|
1264
1269
|
RoleDetail.add_member(:path, Shapes::ShapeRef.new(shape: pathType, location_name: "Path"))
|
@@ -1425,6 +1430,13 @@ module Aws::IAM
|
|
1425
1430
|
UpdateRoleDescriptionResponse.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
|
1426
1431
|
UpdateRoleDescriptionResponse.struct_class = Types::UpdateRoleDescriptionResponse
|
1427
1432
|
|
1433
|
+
UpdateRoleRequest.add_member(:role_name, Shapes::ShapeRef.new(shape: roleNameType, required: true, location_name: "RoleName"))
|
1434
|
+
UpdateRoleRequest.add_member(:description, Shapes::ShapeRef.new(shape: roleDescriptionType, location_name: "Description"))
|
1435
|
+
UpdateRoleRequest.add_member(:max_session_duration, Shapes::ShapeRef.new(shape: roleMaxSessionDurationType, location_name: "MaxSessionDuration"))
|
1436
|
+
UpdateRoleRequest.struct_class = Types::UpdateRoleRequest
|
1437
|
+
|
1438
|
+
UpdateRoleResponse.struct_class = Types::UpdateRoleResponse
|
1439
|
+
|
1428
1440
|
UpdateSAMLProviderRequest.add_member(:saml_metadata_document, Shapes::ShapeRef.new(shape: SAMLMetadataDocumentType, required: true, location_name: "SAMLMetadataDocument"))
|
1429
1441
|
UpdateSAMLProviderRequest.add_member(:saml_provider_arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "SAMLProviderArn"))
|
1430
1442
|
UpdateSAMLProviderRequest.struct_class = Types::UpdateSAMLProviderRequest
|
@@ -2983,6 +2995,17 @@ module Aws::IAM
|
|
2983
2995
|
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
2984
2996
|
end)
|
2985
2997
|
|
2998
|
+
api.add_operation(:update_role, Seahorse::Model::Operation.new.tap do |o|
|
2999
|
+
o.name = "UpdateRole"
|
3000
|
+
o.http_method = "POST"
|
3001
|
+
o.http_request_uri = "/"
|
3002
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateRoleRequest)
|
3003
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateRoleResponse)
|
3004
|
+
o.errors << Shapes::ShapeRef.new(shape: UnmodifiableEntityException)
|
3005
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchEntityException)
|
3006
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceFailureException)
|
3007
|
+
end)
|
3008
|
+
|
2986
3009
|
api.add_operation(:update_role_description, Seahorse::Model::Operation.new.tap do |o|
|
2987
3010
|
o.name = "UpdateRoleDescription"
|
2988
3011
|
o.http_method = "POST"
|
@@ -90,7 +90,7 @@ module Aws::IAM
|
|
90
90
|
# then this field contains the date and time the most recent password
|
91
91
|
# was used.
|
92
92
|
#
|
93
|
-
# This value is returned only in the GetUser and ListUsers
|
93
|
+
# This value is returned only in the GetUser and ListUsers operations.
|
94
94
|
#
|
95
95
|
#
|
96
96
|
#
|
@@ -245,7 +245,7 @@ module Aws::IAM
|
|
245
245
|
# This parameter allows (per its [regex pattern][1]) a string of
|
246
246
|
# characters consisting of upper and lowercase alphanumeric characters
|
247
247
|
# with no spaces. You can also include any of the following characters:
|
248
|
-
#
|
248
|
+
# \_+=,.@-
|
249
249
|
#
|
250
250
|
#
|
251
251
|
#
|
@@ -282,7 +282,7 @@ module Aws::IAM
|
|
282
282
|
# This parameter allows (per its [regex pattern][1]) a string of
|
283
283
|
# characters consisting of upper and lowercase alphanumeric characters
|
284
284
|
# with no spaces. You can also include any of the following characters:
|
285
|
-
#
|
285
|
+
# \_+=,.@-
|
286
286
|
#
|
287
287
|
#
|
288
288
|
#
|
@@ -320,7 +320,7 @@ module Aws::IAM
|
|
320
320
|
# This parameter allows (per its [regex pattern][1]) a string of
|
321
321
|
# characters consisting of upper and lowercase alphanumeric characters
|
322
322
|
# with no spaces. You can also include any of the following characters:
|
323
|
-
#
|
323
|
+
# \_+=,.@-
|
324
324
|
#
|
325
325
|
#
|
326
326
|
#
|
data/lib/aws-sdk-iam/group.rb
CHANGED
@@ -221,7 +221,7 @@ module Aws::IAM
|
|
221
221
|
# This parameter allows (per its [regex pattern][1]) a string of
|
222
222
|
# characters consisting of upper and lowercase alphanumeric characters
|
223
223
|
# with no spaces. You can also include any of the following characters:
|
224
|
-
#
|
224
|
+
# \_+=,.@-
|
225
225
|
#
|
226
226
|
#
|
227
227
|
#
|
@@ -268,12 +268,12 @@ module Aws::IAM
|
|
268
268
|
# This parameter is optional. If it is not included, it defaults to a
|
269
269
|
# slash (/).
|
270
270
|
#
|
271
|
-
# This
|
271
|
+
# This parameter allows (per its [regex pattern][2]) a string of
|
272
272
|
# characters consisting of either a forward slash (/) by itself or a
|
273
|
-
# string that must begin and end with forward slashes,
|
274
|
-
# ASCII character from the ! (\\u0021)
|
275
|
-
# including most punctuation characters, digits,
|
276
|
-
# lowercased letters.
|
273
|
+
# string that must begin and end with forward slashes. In addition, it
|
274
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
275
|
+
# character (\\u007F), including most punctuation characters, digits,
|
276
|
+
# and upper and lowercased letters.
|
277
277
|
#
|
278
278
|
#
|
279
279
|
#
|
@@ -303,7 +303,7 @@ module Aws::IAM
|
|
303
303
|
# This parameter allows (per its [regex pattern][1]) a string of
|
304
304
|
# characters consisting of upper and lowercase alphanumeric characters
|
305
305
|
# with no spaces. You can also include any of the following characters:
|
306
|
-
#
|
306
|
+
# \_+=,.@-
|
307
307
|
#
|
308
308
|
#
|
309
309
|
#
|
@@ -312,12 +312,16 @@ module Aws::IAM
|
|
312
312
|
# The policy document.
|
313
313
|
#
|
314
314
|
# The [regex pattern][1] used to validate this parameter is a string of
|
315
|
-
# characters consisting of
|
316
|
-
#
|
317
|
-
#
|
318
|
-
#
|
319
|
-
#
|
320
|
-
#
|
315
|
+
# characters consisting of the following:
|
316
|
+
#
|
317
|
+
# * Any printable ASCII character ranging from the space character
|
318
|
+
# (\\u0020) through the end of the ASCII character range
|
319
|
+
#
|
320
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
321
|
+
# character set (through \\u00FF)
|
322
|
+
#
|
323
|
+
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
324
|
+
# carriage return (\\u000D)
|
321
325
|
#
|
322
326
|
#
|
323
327
|
#
|
@@ -378,7 +382,7 @@ module Aws::IAM
|
|
378
382
|
# This parameter allows (per its [regex pattern][1]) a string of
|
379
383
|
# characters consisting of upper and lowercase alphanumeric characters
|
380
384
|
# with no spaces. You can also include any of the following characters:
|
381
|
-
#
|
385
|
+
# \_+=,.@-
|
382
386
|
#
|
383
387
|
#
|
384
388
|
#
|
@@ -401,12 +405,12 @@ module Aws::IAM
|
|
401
405
|
# New path for the IAM group. Only include this if changing the group's
|
402
406
|
# path.
|
403
407
|
#
|
404
|
-
# This
|
408
|
+
# This parameter allows (per its [regex pattern][1]) a string of
|
405
409
|
# characters consisting of either a forward slash (/) by itself or a
|
406
|
-
# string that must begin and end with forward slashes,
|
407
|
-
# ASCII character from the ! (\\u0021)
|
408
|
-
# including most punctuation characters, digits,
|
409
|
-
# lowercased letters.
|
410
|
+
# string that must begin and end with forward slashes. In addition, it
|
411
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
412
|
+
# character (\\u007F), including most punctuation characters, digits,
|
413
|
+
# and upper and lowercased letters.
|
410
414
|
#
|
411
415
|
#
|
412
416
|
#
|
@@ -418,7 +422,7 @@ module Aws::IAM
|
|
418
422
|
# This parameter allows (per its [regex pattern][1]) a string of
|
419
423
|
# characters consisting of upper and lowercase alphanumeric characters
|
420
424
|
# with no spaces. You can also include any of the following characters:
|
421
|
-
#
|
425
|
+
# \_+=,.@-
|
422
426
|
#
|
423
427
|
#
|
424
428
|
#
|
@@ -446,12 +450,12 @@ module Aws::IAM
|
|
446
450
|
# If it is not included, it defaults to a slash (/), listing all
|
447
451
|
# policies.
|
448
452
|
#
|
449
|
-
# This
|
453
|
+
# This parameter allows (per its [regex pattern][1]) a string of
|
450
454
|
# characters consisting of either a forward slash (/) by itself or a
|
451
|
-
# string that must begin and end with forward slashes,
|
452
|
-
# ASCII character from the ! (\\u0021)
|
453
|
-
# including most punctuation characters, digits,
|
454
|
-
# lowercased letters.
|
455
|
+
# string that must begin and end with forward slashes. In addition, it
|
456
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
457
|
+
# character (\\u007F), including most punctuation characters, digits,
|
458
|
+
# and upper and lowercased letters.
|
455
459
|
#
|
456
460
|
#
|
457
461
|
#
|
@@ -204,12 +204,16 @@ module Aws::IAM
|
|
204
204
|
# The policy document.
|
205
205
|
#
|
206
206
|
# The [regex pattern][1] used to validate this parameter is a string of
|
207
|
-
# characters consisting of
|
208
|
-
#
|
209
|
-
#
|
210
|
-
#
|
211
|
-
#
|
212
|
-
#
|
207
|
+
# characters consisting of the following:
|
208
|
+
#
|
209
|
+
# * Any printable ASCII character ranging from the space character
|
210
|
+
# (\\u0020) through the end of the ASCII character range
|
211
|
+
#
|
212
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
213
|
+
# character set (through \\u00FF)
|
214
|
+
#
|
215
|
+
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
216
|
+
# carriage return (\\u000D)
|
213
217
|
#
|
214
218
|
#
|
215
219
|
#
|
@@ -185,14 +185,14 @@ module Aws::IAM
|
|
185
185
|
# @option options [required, String] :password
|
186
186
|
# The new password for the user.
|
187
187
|
#
|
188
|
-
# The [regex pattern][1] used to validate this parameter is a
|
189
|
-
# characters
|
190
|
-
# space (\\u0020) through the end of the ASCII
|
191
|
-
# (\\u00FF). You can also include the tab (\\u0009),
|
192
|
-
# (\\u000A), and carriage return (\\u000D) characters.
|
193
|
-
# these characters are valid in a password,
|
194
|
-
#
|
195
|
-
#
|
188
|
+
# The [regex pattern][1] that is used to validate this parameter is a
|
189
|
+
# string of characters. That string can include almost any printable
|
190
|
+
# ASCII character from the space (\\u0020) through the end of the ASCII
|
191
|
+
# character range (\\u00FF). You can also include the tab (\\u0009),
|
192
|
+
# line feed (\\u000A), and carriage return (\\u000D) characters. Any of
|
193
|
+
# these characters are valid in a password. However, many tools, such as
|
194
|
+
# the AWS Management Console, might restrict the ability to type certain
|
195
|
+
# characters because they have special meaning within that tool.
|
196
196
|
#
|
197
197
|
#
|
198
198
|
#
|
@@ -233,14 +233,20 @@ module Aws::IAM
|
|
233
233
|
# The new password for the specified IAM user.
|
234
234
|
#
|
235
235
|
# The [regex pattern][1] used to validate this parameter is a string of
|
236
|
-
# characters consisting of
|
237
|
-
#
|
238
|
-
#
|
239
|
-
#
|
240
|
-
#
|
241
|
-
#
|
242
|
-
#
|
243
|
-
#
|
236
|
+
# characters consisting of the following:
|
237
|
+
#
|
238
|
+
# * Any printable ASCII character ranging from the space character
|
239
|
+
# (\\u0020) through the end of the ASCII character range
|
240
|
+
#
|
241
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
242
|
+
# character set (through \\u00FF)
|
243
|
+
#
|
244
|
+
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
245
|
+
# carriage return (\\u000D)
|
246
|
+
#
|
247
|
+
# However, the format can be further restricted by the account
|
248
|
+
# administrator by setting a password policy on the AWS account. For
|
249
|
+
# more information, see UpdateAccountPasswordPolicy.
|
244
250
|
#
|
245
251
|
#
|
246
252
|
#
|
@@ -181,7 +181,7 @@ module Aws::IAM
|
|
181
181
|
# @option options [required, String] :authentication_code_1
|
182
182
|
# An authentication code emitted by the device.
|
183
183
|
#
|
184
|
-
# The format for this parameter is a string of
|
184
|
+
# The format for this parameter is a string of six digits.
|
185
185
|
#
|
186
186
|
# Submit your request immediately after generating the authentication
|
187
187
|
# codes. If you generate the codes and then wait too long to submit the
|
@@ -196,7 +196,7 @@ module Aws::IAM
|
|
196
196
|
# @option options [required, String] :authentication_code_2
|
197
197
|
# A subsequent authentication code emitted by the device.
|
198
198
|
#
|
199
|
-
# The format for this parameter is a string of
|
199
|
+
# The format for this parameter is a string of six digits.
|
200
200
|
#
|
201
201
|
# Submit your request immediately after generating the authentication
|
202
202
|
# codes. If you generate the codes and then wait too long to submit the
|
data/lib/aws-sdk-iam/policy.rb
CHANGED
@@ -264,7 +264,7 @@ module Aws::IAM
|
|
264
264
|
# This parameter allows (per its [regex pattern][1]) a string of
|
265
265
|
# characters consisting of upper and lowercase alphanumeric characters
|
266
266
|
# with no spaces. You can also include any of the following characters:
|
267
|
-
#
|
267
|
+
# \_+=,.@-
|
268
268
|
#
|
269
269
|
#
|
270
270
|
#
|
@@ -313,7 +313,7 @@ module Aws::IAM
|
|
313
313
|
# This parameter allows (per its [regex pattern][1]) a string of
|
314
314
|
# characters consisting of upper and lowercase alphanumeric characters
|
315
315
|
# with no spaces. You can also include any of the following characters:
|
316
|
-
#
|
316
|
+
# \_+=,.@-
|
317
317
|
#
|
318
318
|
#
|
319
319
|
#
|
@@ -337,12 +337,16 @@ module Aws::IAM
|
|
337
337
|
# new version of the policy.
|
338
338
|
#
|
339
339
|
# The [regex pattern][1] used to validate this parameter is a string of
|
340
|
-
# characters consisting of
|
341
|
-
#
|
342
|
-
#
|
343
|
-
#
|
344
|
-
#
|
345
|
-
#
|
340
|
+
# characters consisting of the following:
|
341
|
+
#
|
342
|
+
# * Any printable ASCII character ranging from the space character
|
343
|
+
# (\\u0020) through the end of the ASCII character range
|
344
|
+
#
|
345
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
346
|
+
# character set (through \\u00FF)
|
347
|
+
#
|
348
|
+
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
349
|
+
# carriage return (\\u000D)
|
346
350
|
#
|
347
351
|
#
|
348
352
|
#
|
@@ -352,8 +356,8 @@ module Aws::IAM
|
|
352
356
|
# version.
|
353
357
|
#
|
354
358
|
# When this parameter is `true`, the new policy version becomes the
|
355
|
-
# operative version
|
356
|
-
# users, groups, and roles that the policy is attached to.
|
359
|
+
# operative version. That is, it becomes the version that is in effect
|
360
|
+
# for the IAM users, groups, and roles that the policy is attached to.
|
357
361
|
#
|
358
362
|
# For more information about managed policy versions, see [Versioning
|
359
363
|
# for Managed Policies][1] in the *IAM User Guide*.
|
@@ -396,7 +400,7 @@ module Aws::IAM
|
|
396
400
|
# This parameter allows (per its [regex pattern][1]) a string of
|
397
401
|
# characters consisting of upper and lowercase alphanumeric characters
|
398
402
|
# with no spaces. You can also include any of the following characters:
|
399
|
-
#
|
403
|
+
# \_+=,.@-
|
400
404
|
#
|
401
405
|
#
|
402
406
|
#
|
@@ -446,7 +450,7 @@ module Aws::IAM
|
|
446
450
|
# This parameter allows (per its [regex pattern][1]) a string of
|
447
451
|
# characters consisting of upper and lowercase alphanumeric characters
|
448
452
|
# with no spaces. You can also include any of the following characters:
|
449
|
-
#
|
453
|
+
# \_+=,.@-
|
450
454
|
#
|
451
455
|
#
|
452
456
|
#
|
@@ -471,12 +475,12 @@ module Aws::IAM
|
|
471
475
|
# If it is not included, it defaults to a slash (/), listing all
|
472
476
|
# entities.
|
473
477
|
#
|
474
|
-
# This
|
478
|
+
# This parameter allows (per its [regex pattern][1]) a string of
|
475
479
|
# characters consisting of either a forward slash (/) by itself or a
|
476
|
-
# string that must begin and end with forward slashes,
|
477
|
-
# ASCII character from the ! (\\u0021)
|
478
|
-
# including most punctuation characters, digits,
|
479
|
-
# lowercased letters.
|
480
|
+
# string that must begin and end with forward slashes. In addition, it
|
481
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
482
|
+
# character (\\u007F), including most punctuation characters, digits,
|
483
|
+
# and upper and lowercased letters.
|
480
484
|
#
|
481
485
|
#
|
482
486
|
#
|
@@ -515,12 +519,12 @@ module Aws::IAM
|
|
515
519
|
# If it is not included, it defaults to a slash (/), listing all
|
516
520
|
# entities.
|
517
521
|
#
|
518
|
-
# This
|
522
|
+
# This parameter allows (per its [regex pattern][1]) a string of
|
519
523
|
# characters consisting of either a forward slash (/) by itself or a
|
520
|
-
# string that must begin and end with forward slashes,
|
521
|
-
# ASCII character from the ! (\\u0021)
|
522
|
-
# including most punctuation characters, digits,
|
523
|
-
# lowercased letters.
|
524
|
+
# string that must begin and end with forward slashes. In addition, it
|
525
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
526
|
+
# character (\\u007F), including most punctuation characters, digits,
|
527
|
+
# and upper and lowercased letters.
|
524
528
|
#
|
525
529
|
#
|
526
530
|
#
|
@@ -559,12 +563,12 @@ module Aws::IAM
|
|
559
563
|
# If it is not included, it defaults to a slash (/), listing all
|
560
564
|
# entities.
|
561
565
|
#
|
562
|
-
# This
|
566
|
+
# This parameter allows (per its [regex pattern][1]) a string of
|
563
567
|
# characters consisting of either a forward slash (/) by itself or a
|
564
|
-
# string that must begin and end with forward slashes,
|
565
|
-
# ASCII character from the ! (\\u0021)
|
566
|
-
# including most punctuation characters, digits,
|
567
|
-
# lowercased letters.
|
568
|
+
# string that must begin and end with forward slashes. In addition, it
|
569
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
570
|
+
# character (\\u007F), including most punctuation characters, digits,
|
571
|
+
# and upper and lowercased letters.
|
568
572
|
#
|
569
573
|
#
|
570
574
|
#
|
@@ -44,6 +44,17 @@ module Aws::IAM
|
|
44
44
|
# GetPolicyVersion and GetAccountAuthorizationDetails operations. It is
|
45
45
|
# not returned in the response to the CreatePolicyVersion or
|
46
46
|
# ListPolicyVersions operations.
|
47
|
+
#
|
48
|
+
# The policy document returned in this structure is URL-encoded
|
49
|
+
# compliant with [RFC 3986][1]. You can use a URL decoding method to
|
50
|
+
# convert the policy back to plain JSON text. For example, if you use
|
51
|
+
# Java, you can use the `decode` method of the `java.net.URLDecoder`
|
52
|
+
# utility class in the Java SDK. Other languages and SDKs provide
|
53
|
+
# similar functionality.
|
54
|
+
#
|
55
|
+
#
|
56
|
+
#
|
57
|
+
# [1]: https://tools.ietf.org/html/rfc3986
|
47
58
|
# @return [String]
|
48
59
|
def document
|
49
60
|
data[:document]
|
data/lib/aws-sdk-iam/resource.rb
CHANGED
@@ -34,14 +34,14 @@ module Aws::IAM
|
|
34
34
|
# The new password. The new password must conform to the AWS account's
|
35
35
|
# password policy, if one exists.
|
36
36
|
#
|
37
|
-
# The [regex pattern][1] used to validate this parameter is a
|
38
|
-
# characters
|
39
|
-
# space (\\u0020) through the end of the ASCII
|
40
|
-
# (\\u00FF). You can also include the tab (\\u0009),
|
41
|
-
# (\\u000A), and carriage return (\\u000D) characters.
|
42
|
-
# these characters are valid in a password,
|
43
|
-
#
|
44
|
-
#
|
37
|
+
# The [regex pattern][1] that is used to validate this parameter is a
|
38
|
+
# string of characters. That string can include almost any printable
|
39
|
+
# ASCII character from the space (\\u0020) through the end of the ASCII
|
40
|
+
# character range (\\u00FF). You can also include the tab (\\u0009),
|
41
|
+
# line feed (\\u000A), and carriage return (\\u000D) characters. Any of
|
42
|
+
# these characters are valid in a password. However, many tools, such as
|
43
|
+
# the AWS Management Console, might restrict the ability to type certain
|
44
|
+
# characters because they have special meaning within that tool.
|
45
45
|
#
|
46
46
|
#
|
47
47
|
#
|
@@ -92,55 +92,73 @@ module Aws::IAM
|
|
92
92
|
# @option options [Integer] :minimum_password_length
|
93
93
|
# The minimum number of characters allowed in an IAM user password.
|
94
94
|
#
|
95
|
-
#
|
95
|
+
# If you do not specify a value for this parameter, then the operation
|
96
|
+
# uses the default value of `6`.
|
96
97
|
# @option options [Boolean] :require_symbols
|
97
98
|
# Specifies whether IAM user passwords must contain at least one of the
|
98
99
|
# following non-alphanumeric characters:
|
99
100
|
#
|
100
101
|
# ! @ # $ % ^ &amp; * ( ) \_ + - = \[ \] \\\{ \\} \| '
|
101
102
|
#
|
102
|
-
#
|
103
|
+
# If you do not specify a value for this parameter, then the operation
|
104
|
+
# uses the default value of `false`. The result is that passwords do not
|
105
|
+
# require at least one symbol character.
|
103
106
|
# @option options [Boolean] :require_numbers
|
104
107
|
# Specifies whether IAM user passwords must contain at least one numeric
|
105
108
|
# character (0 to 9).
|
106
109
|
#
|
107
|
-
#
|
110
|
+
# If you do not specify a value for this parameter, then the operation
|
111
|
+
# uses the default value of `false`. The result is that passwords do not
|
112
|
+
# require at least one numeric character.
|
108
113
|
# @option options [Boolean] :require_uppercase_characters
|
109
114
|
# Specifies whether IAM user passwords must contain at least one
|
110
115
|
# uppercase character from the ISO basic Latin alphabet (A to Z).
|
111
116
|
#
|
112
|
-
#
|
117
|
+
# If you do not specify a value for this parameter, then the operation
|
118
|
+
# uses the default value of `false`. The result is that passwords do not
|
119
|
+
# require at least one uppercase character.
|
113
120
|
# @option options [Boolean] :require_lowercase_characters
|
114
121
|
# Specifies whether IAM user passwords must contain at least one
|
115
122
|
# lowercase character from the ISO basic Latin alphabet (a to z).
|
116
123
|
#
|
117
|
-
#
|
124
|
+
# If you do not specify a value for this parameter, then the operation
|
125
|
+
# uses the default value of `false`. The result is that passwords do not
|
126
|
+
# require at least one lowercase character.
|
118
127
|
# @option options [Boolean] :allow_users_to_change_password
|
119
128
|
# Allows all IAM users in your account to use the AWS Management Console
|
120
129
|
# to change their own passwords. For more information, see [Letting IAM
|
121
130
|
# Users Change Their Own Passwords][1] in the *IAM User Guide*.
|
122
131
|
#
|
123
|
-
#
|
132
|
+
# If you do not specify a value for this parameter, then the operation
|
133
|
+
# uses the default value of `false`. The result is that IAM users in the
|
134
|
+
# account do not automatically have permissions to change their own
|
135
|
+
# password.
|
124
136
|
#
|
125
137
|
#
|
126
138
|
#
|
127
139
|
# [1]: http://docs.aws.amazon.com/IAM/latest/UserGuide/HowToPwdIAMUser.html
|
128
140
|
# @option options [Integer] :max_password_age
|
129
|
-
# The number of days that an IAM user password is valid.
|
130
|
-
# value of 0 means IAM user passwords never expire.
|
141
|
+
# The number of days that an IAM user password is valid.
|
131
142
|
#
|
132
|
-
#
|
143
|
+
# If you do not specify a value for this parameter, then the operation
|
144
|
+
# uses the default value of `0`. The result is that IAM user passwords
|
145
|
+
# never expire.
|
133
146
|
# @option options [Integer] :password_reuse_prevention
|
134
147
|
# Specifies the number of previous passwords that IAM users are
|
135
|
-
# prevented from reusing.
|
136
|
-
# prevented from reusing previous passwords.
|
148
|
+
# prevented from reusing.
|
137
149
|
#
|
138
|
-
#
|
150
|
+
# If you do not specify a value for this parameter, then the operation
|
151
|
+
# uses the default value of `0`. The result is that IAM users are not
|
152
|
+
# prevented from reusing previous passwords.
|
139
153
|
# @option options [Boolean] :hard_expiry
|
140
154
|
# Prevents IAM users from setting a new password after their password
|
141
|
-
# has expired.
|
155
|
+
# has expired. The IAM user cannot be accessed until an administrator
|
156
|
+
# resets the password.
|
142
157
|
#
|
143
|
-
#
|
158
|
+
# If you do not specify a value for this parameter, then the operation
|
159
|
+
# uses the default value of `false`. The result is that IAM users can
|
160
|
+
# change their passwords after they expire and continue to sign in as
|
161
|
+
# the user.
|
144
162
|
# @return [AccountPasswordPolicy]
|
145
163
|
def create_account_password_policy(options = {})
|
146
164
|
resp = @client.update_account_password_policy(options)
|
@@ -161,12 +179,12 @@ module Aws::IAM
|
|
161
179
|
# This parameter is optional. If it is not included, it defaults to a
|
162
180
|
# slash (/).
|
163
181
|
#
|
164
|
-
# This
|
182
|
+
# This parameter allows (per its [regex pattern][2]) a string of
|
165
183
|
# characters consisting of either a forward slash (/) by itself or a
|
166
|
-
# string that must begin and end with forward slashes,
|
167
|
-
# ASCII character from the ! (\\u0021)
|
168
|
-
# including most punctuation characters, digits,
|
169
|
-
# lowercased letters.
|
184
|
+
# string that must begin and end with forward slashes. In addition, it
|
185
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
186
|
+
# character (\\u007F), including most punctuation characters, digits,
|
187
|
+
# and upper and lowercased letters.
|
170
188
|
#
|
171
189
|
#
|
172
190
|
#
|
@@ -179,9 +197,9 @@ module Aws::IAM
|
|
179
197
|
# This parameter allows (per its [regex pattern][1]) a string of
|
180
198
|
# characters consisting of upper and lowercase alphanumeric characters
|
181
199
|
# with no spaces. You can also include any of the following characters:
|
182
|
-
#
|
183
|
-
# are not distinguished by case. For example, you cannot create
|
184
|
-
# named both "ADMINS" and "admins".
|
200
|
+
# \_+=,.@-. The group name must be unique within the account. Group
|
201
|
+
# names are not distinguished by case. For example, you cannot create
|
202
|
+
# groups named both "ADMINS" and "admins".
|
185
203
|
#
|
186
204
|
#
|
187
205
|
#
|
@@ -209,7 +227,7 @@ module Aws::IAM
|
|
209
227
|
# This parameter allows (per its [regex pattern][1]) a string of
|
210
228
|
# characters consisting of upper and lowercase alphanumeric characters
|
211
229
|
# with no spaces. You can also include any of the following characters:
|
212
|
-
#
|
230
|
+
# \_+=,.@-
|
213
231
|
#
|
214
232
|
#
|
215
233
|
#
|
@@ -221,12 +239,12 @@ module Aws::IAM
|
|
221
239
|
# This parameter is optional. If it is not included, it defaults to a
|
222
240
|
# slash (/).
|
223
241
|
#
|
224
|
-
# This
|
242
|
+
# This parameter allows (per its [regex pattern][2]) a string of
|
225
243
|
# characters consisting of either a forward slash (/) by itself or a
|
226
|
-
# string that must begin and end with forward slashes,
|
227
|
-
# ASCII character from the ! (\\u0021)
|
228
|
-
# including most punctuation characters, digits,
|
229
|
-
# lowercased letters.
|
244
|
+
# string that must begin and end with forward slashes. In addition, it
|
245
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
246
|
+
# character (\\u007F), including most punctuation characters, digits,
|
247
|
+
# and upper and lowercased letters.
|
230
248
|
#
|
231
249
|
#
|
232
250
|
#
|
@@ -257,7 +275,7 @@ module Aws::IAM
|
|
257
275
|
# This parameter allows (per its [regex pattern][1]) a string of
|
258
276
|
# characters consisting of upper and lowercase alphanumeric characters
|
259
277
|
# with no spaces. You can also include any of the following characters:
|
260
|
-
#
|
278
|
+
# \_+=,.@-
|
261
279
|
#
|
262
280
|
#
|
263
281
|
#
|
@@ -271,12 +289,12 @@ module Aws::IAM
|
|
271
289
|
# This parameter is optional. If it is not included, it defaults to a
|
272
290
|
# slash (/).
|
273
291
|
#
|
274
|
-
# This
|
292
|
+
# This parameter allows (per its [regex pattern][2]) a string of
|
275
293
|
# characters consisting of either a forward slash (/) by itself or a
|
276
|
-
# string that must begin and end with forward slashes,
|
277
|
-
# ASCII character from the ! (\\u0021)
|
278
|
-
# including most punctuation characters, digits,
|
279
|
-
# lowercased letters.
|
294
|
+
# string that must begin and end with forward slashes. In addition, it
|
295
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
296
|
+
# character (\\u007F), including most punctuation characters, digits,
|
297
|
+
# and upper and lowercased letters.
|
280
298
|
#
|
281
299
|
#
|
282
300
|
#
|
@@ -287,12 +305,16 @@ module Aws::IAM
|
|
287
305
|
# new policy.
|
288
306
|
#
|
289
307
|
# The [regex pattern][1] used to validate this parameter is a string of
|
290
|
-
# characters consisting of
|
291
|
-
#
|
292
|
-
#
|
293
|
-
#
|
294
|
-
#
|
295
|
-
#
|
308
|
+
# characters consisting of the following:
|
309
|
+
#
|
310
|
+
# * Any printable ASCII character ranging from the space character
|
311
|
+
# (\\u0020) through the end of the ASCII character range
|
312
|
+
#
|
313
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
314
|
+
# character set (through \\u00FF)
|
315
|
+
#
|
316
|
+
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
317
|
+
# carriage return (\\u000D)
|
296
318
|
#
|
297
319
|
#
|
298
320
|
#
|
@@ -322,6 +344,7 @@ module Aws::IAM
|
|
322
344
|
# role_name: "roleNameType", # required
|
323
345
|
# assume_role_policy_document: "policyDocumentType", # required
|
324
346
|
# description: "roleDescriptionType",
|
347
|
+
# max_session_duration: 1,
|
325
348
|
# })
|
326
349
|
# @param [Hash] options ({})
|
327
350
|
# @option options [String] :path
|
@@ -331,12 +354,12 @@ module Aws::IAM
|
|
331
354
|
# This parameter is optional. If it is not included, it defaults to a
|
332
355
|
# slash (/).
|
333
356
|
#
|
334
|
-
# This
|
357
|
+
# This parameter allows (per its [regex pattern][2]) a string of
|
335
358
|
# characters consisting of either a forward slash (/) by itself or a
|
336
|
-
# string that must begin and end with forward slashes,
|
337
|
-
# ASCII character from the ! (\\u0021)
|
338
|
-
# including most punctuation characters, digits,
|
339
|
-
# lowercased letters.
|
359
|
+
# string that must begin and end with forward slashes. In addition, it
|
360
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
361
|
+
# character (\\u007F), including most punctuation characters, digits,
|
362
|
+
# and upper and lowercased letters.
|
340
363
|
#
|
341
364
|
#
|
342
365
|
#
|
@@ -361,18 +384,42 @@ module Aws::IAM
|
|
361
384
|
# permission to assume the role.
|
362
385
|
#
|
363
386
|
# The [regex pattern][1] used to validate this parameter is a string of
|
364
|
-
# characters consisting of
|
365
|
-
#
|
366
|
-
#
|
367
|
-
#
|
368
|
-
#
|
369
|
-
#
|
387
|
+
# characters consisting of the following:
|
388
|
+
#
|
389
|
+
# * Any printable ASCII character ranging from the space character
|
390
|
+
# (\\u0020) through the end of the ASCII character range
|
391
|
+
#
|
392
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
393
|
+
# character set (through \\u00FF)
|
394
|
+
#
|
395
|
+
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
396
|
+
# carriage return (\\u000D)
|
370
397
|
#
|
371
398
|
#
|
372
399
|
#
|
373
400
|
# [1]: http://wikipedia.org/wiki/regex
|
374
401
|
# @option options [String] :description
|
375
|
-
# A
|
402
|
+
# A description of the role.
|
403
|
+
# @option options [Integer] :max_session_duration
|
404
|
+
# The maximum session duration (in seconds) that you want to set for the
|
405
|
+
# specified role. If you do not specify a value for this setting, the
|
406
|
+
# default maximum of one hour is applied. This setting can have a value
|
407
|
+
# from 1 hour to 12 hours.
|
408
|
+
#
|
409
|
+
# Anyone who assumes the role from the AWS CLI or API can use the
|
410
|
+
# `DurationSeconds` API parameter or the `duration-seconds` CLI
|
411
|
+
# parameter to request a longer session. The `MaxSessionDuration`
|
412
|
+
# setting determines the maximum duration that can be requested using
|
413
|
+
# the `DurationSeconds` parameter. If users don't specify a value for
|
414
|
+
# the `DurationSeconds` parameter, their security credentials are valid
|
415
|
+
# for one hour by default. This applies when you use the `AssumeRole*`
|
416
|
+
# API operations or the `assume-role*` CLI operations but does not apply
|
417
|
+
# when you use those operations to create a console URL. For more
|
418
|
+
# information, see [Using IAM Roles][1] in the *IAM User Guide*.
|
419
|
+
#
|
420
|
+
#
|
421
|
+
#
|
422
|
+
# [1]: http://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use.html
|
376
423
|
# @return [Role]
|
377
424
|
def create_role(options = {})
|
378
425
|
resp = @client.create_role(options)
|
@@ -410,7 +457,7 @@ module Aws::IAM
|
|
410
457
|
# This parameter allows (per its [regex pattern][1]) a string of
|
411
458
|
# characters consisting of upper and lowercase alphanumeric characters
|
412
459
|
# with no spaces. You can also include any of the following characters:
|
413
|
-
#
|
460
|
+
# \_+=,.@-
|
414
461
|
#
|
415
462
|
#
|
416
463
|
#
|
@@ -439,16 +486,16 @@ module Aws::IAM
|
|
439
486
|
# see [IAM Identifiers][1] in the *IAM User Guide*.
|
440
487
|
#
|
441
488
|
# This parameter is optional. If it is not included, it defaults to a
|
442
|
-
# slash (/). This
|
489
|
+
# slash (/). This parameter allows (per its [regex pattern][2]) a string
|
443
490
|
# of characters consisting of either a forward slash (/) by itself or a
|
444
|
-
# string that must begin and end with forward slashes,
|
445
|
-
# ASCII character from the ! (\\u0021)
|
446
|
-
# including most punctuation characters, digits,
|
447
|
-
# lowercased letters.
|
491
|
+
# string that must begin and end with forward slashes. In addition, it
|
492
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
493
|
+
# character (\\u007F), including most punctuation characters, digits,
|
494
|
+
# and upper and lowercased letters.
|
448
495
|
#
|
449
496
|
# <note markdown="1"> If you are uploading a server certificate specifically for use with
|
450
497
|
# Amazon CloudFront distributions, you must specify a path using the
|
451
|
-
#
|
498
|
+
# `path` parameter. The path must begin with `/cloudfront` and must
|
452
499
|
# include a trailing slash (for example, `/cloudfront/test/`).
|
453
500
|
#
|
454
501
|
# </note>
|
@@ -464,7 +511,7 @@ module Aws::IAM
|
|
464
511
|
# This parameter allows (per its [regex pattern][1]) a string of
|
465
512
|
# characters consisting of upper and lowercase alphanumeric characters
|
466
513
|
# with no spaces. You can also include any of the following characters:
|
467
|
-
#
|
514
|
+
# \_+=,.@-
|
468
515
|
#
|
469
516
|
#
|
470
517
|
#
|
@@ -473,12 +520,16 @@ module Aws::IAM
|
|
473
520
|
# The contents of the public key certificate in PEM-encoded format.
|
474
521
|
#
|
475
522
|
# The [regex pattern][1] used to validate this parameter is a string of
|
476
|
-
# characters consisting of
|
477
|
-
#
|
478
|
-
#
|
479
|
-
#
|
480
|
-
#
|
481
|
-
#
|
523
|
+
# characters consisting of the following:
|
524
|
+
#
|
525
|
+
# * Any printable ASCII character ranging from the space character
|
526
|
+
# (\\u0020) through the end of the ASCII character range
|
527
|
+
#
|
528
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
529
|
+
# character set (through \\u00FF)
|
530
|
+
#
|
531
|
+
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
532
|
+
# carriage return (\\u000D)
|
482
533
|
#
|
483
534
|
#
|
484
535
|
#
|
@@ -487,12 +538,16 @@ module Aws::IAM
|
|
487
538
|
# The contents of the private key in PEM-encoded format.
|
488
539
|
#
|
489
540
|
# The [regex pattern][1] used to validate this parameter is a string of
|
490
|
-
# characters consisting of
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
#
|
541
|
+
# characters consisting of the following:
|
542
|
+
#
|
543
|
+
# * Any printable ASCII character ranging from the space character
|
544
|
+
# (\\u0020) through the end of the ASCII character range
|
545
|
+
#
|
546
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
547
|
+
# character set (through \\u00FF)
|
548
|
+
#
|
549
|
+
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
550
|
+
# carriage return (\\u000D)
|
496
551
|
#
|
497
552
|
#
|
498
553
|
#
|
@@ -502,12 +557,16 @@ module Aws::IAM
|
|
502
557
|
# concatenation of the PEM-encoded public key certificates of the chain.
|
503
558
|
#
|
504
559
|
# The [regex pattern][1] used to validate this parameter is a string of
|
505
|
-
# characters consisting of
|
506
|
-
#
|
507
|
-
#
|
508
|
-
#
|
509
|
-
#
|
510
|
-
#
|
560
|
+
# characters consisting of the following:
|
561
|
+
#
|
562
|
+
# * Any printable ASCII character ranging from the space character
|
563
|
+
# (\\u0020) through the end of the ASCII character range
|
564
|
+
#
|
565
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
566
|
+
# character set (through \\u00FF)
|
567
|
+
#
|
568
|
+
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
569
|
+
# carriage return (\\u000D)
|
511
570
|
#
|
512
571
|
#
|
513
572
|
#
|
@@ -534,7 +593,7 @@ module Aws::IAM
|
|
534
593
|
# This parameter allows (per its [regex pattern][1]) a string of
|
535
594
|
# characters consisting of upper and lowercase alphanumeric characters
|
536
595
|
# with no spaces. You can also include any of the following characters:
|
537
|
-
#
|
596
|
+
# \_+=,.@-
|
538
597
|
#
|
539
598
|
#
|
540
599
|
#
|
@@ -543,12 +602,16 @@ module Aws::IAM
|
|
543
602
|
# The contents of the signing certificate.
|
544
603
|
#
|
545
604
|
# The [regex pattern][1] used to validate this parameter is a string of
|
546
|
-
# characters consisting of
|
547
|
-
#
|
548
|
-
#
|
549
|
-
#
|
550
|
-
#
|
551
|
-
#
|
605
|
+
# characters consisting of the following:
|
606
|
+
#
|
607
|
+
# * Any printable ASCII character ranging from the space character
|
608
|
+
# (\\u0020) through the end of the ASCII character range
|
609
|
+
#
|
610
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
611
|
+
# character set (through \\u00FF)
|
612
|
+
#
|
613
|
+
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
614
|
+
# carriage return (\\u000D)
|
552
615
|
#
|
553
616
|
#
|
554
617
|
#
|
@@ -577,12 +640,12 @@ module Aws::IAM
|
|
577
640
|
# This parameter is optional. If it is not included, it defaults to a
|
578
641
|
# slash (/).
|
579
642
|
#
|
580
|
-
# This
|
643
|
+
# This parameter allows (per its [regex pattern][2]) a string of
|
581
644
|
# characters consisting of either a forward slash (/) by itself or a
|
582
|
-
# string that must begin and end with forward slashes,
|
583
|
-
# ASCII character from the ! (\\u0021)
|
584
|
-
# including most punctuation characters, digits,
|
585
|
-
# lowercased letters.
|
645
|
+
# string that must begin and end with forward slashes. In addition, it
|
646
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
647
|
+
# character (\\u007F), including most punctuation characters, digits,
|
648
|
+
# and upper and lowercased letters.
|
586
649
|
#
|
587
650
|
#
|
588
651
|
#
|
@@ -594,7 +657,7 @@ module Aws::IAM
|
|
594
657
|
# This parameter allows (per its [regex pattern][1]) a string of
|
595
658
|
# characters consisting of upper and lowercase alphanumeric characters
|
596
659
|
# with no spaces. You can also include any of the following characters:
|
597
|
-
#
|
660
|
+
# \_+=,.@-. User names are not distinguished by case. For example, you
|
598
661
|
# cannot create users named both "TESTUSER" and "testuser".
|
599
662
|
#
|
600
663
|
#
|
@@ -624,12 +687,12 @@ module Aws::IAM
|
|
624
687
|
# This parameter is optional. If it is not included, it defaults to a
|
625
688
|
# slash (/).
|
626
689
|
#
|
627
|
-
# This
|
690
|
+
# This parameter allows (per its [regex pattern][2]) a string of
|
628
691
|
# characters consisting of either a forward slash (/) by itself or a
|
629
|
-
# string that must begin and end with forward slashes,
|
630
|
-
# ASCII character from the ! (\\u0021)
|
631
|
-
# including most punctuation characters, digits,
|
632
|
-
# lowercased letters.
|
692
|
+
# string that must begin and end with forward slashes. In addition, it
|
693
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
694
|
+
# character (\\u007F), including most punctuation characters, digits,
|
695
|
+
# and upper and lowercased letters.
|
633
696
|
#
|
634
697
|
#
|
635
698
|
#
|
@@ -642,7 +705,7 @@ module Aws::IAM
|
|
642
705
|
# This parameter allows (per its [regex pattern][1]) a string of
|
643
706
|
# characters consisting of upper and lowercase alphanumeric characters
|
644
707
|
# with no spaces. You can also include any of the following characters:
|
645
|
-
#
|
708
|
+
# \_+=,.@-
|
646
709
|
#
|
647
710
|
#
|
648
711
|
#
|
@@ -695,12 +758,12 @@ module Aws::IAM
|
|
695
758
|
# with `/division_abc/subdivision_xyz/`.
|
696
759
|
#
|
697
760
|
# This parameter is optional. If it is not included, it defaults to a
|
698
|
-
# slash (/), listing all groups. This
|
761
|
+
# slash (/), listing all groups. This parameter allows (per its [regex
|
699
762
|
# pattern][1]) a string of characters consisting of either a forward
|
700
763
|
# slash (/) by itself or a string that must begin and end with forward
|
701
|
-
# slashes,
|
702
|
-
# DEL character (\\u007F), including most
|
703
|
-
# digits, and upper and lowercased letters.
|
764
|
+
# slashes. In addition, it can contain any ASCII character from the !
|
765
|
+
# (\\u0021) through the DEL character (\\u007F), including most
|
766
|
+
# punctuation characters, digits, and upper and lowercased letters.
|
704
767
|
#
|
705
768
|
#
|
706
769
|
#
|
@@ -745,12 +808,12 @@ module Aws::IAM
|
|
745
808
|
# path starts with `/application_abc/component_xyz/`.
|
746
809
|
#
|
747
810
|
# This parameter is optional. If it is not included, it defaults to a
|
748
|
-
# slash (/), listing all instance profiles. This
|
811
|
+
# slash (/), listing all instance profiles. This parameter allows (per
|
749
812
|
# its [regex pattern][1]) a string of characters consisting of either a
|
750
813
|
# forward slash (/) by itself or a string that must begin and end with
|
751
|
-
# forward slashes,
|
752
|
-
#
|
753
|
-
# characters, digits, and upper and lowercased letters.
|
814
|
+
# forward slashes. In addition, it can contain any ASCII character from
|
815
|
+
# the ! (\\u0021) through the DEL character (\\u007F), including most
|
816
|
+
# punctuation characters, digits, and upper and lowercased letters.
|
754
817
|
#
|
755
818
|
#
|
756
819
|
#
|
@@ -801,12 +864,12 @@ module Aws::IAM
|
|
801
864
|
# @option options [String] :path_prefix
|
802
865
|
# The path prefix for filtering the results. This parameter is optional.
|
803
866
|
# If it is not included, it defaults to a slash (/), listing all
|
804
|
-
# policies. This
|
867
|
+
# policies. This parameter allows (per its [regex pattern][1]) a string
|
805
868
|
# of characters consisting of either a forward slash (/) by itself or a
|
806
|
-
# string that must begin and end with forward slashes,
|
807
|
-
# ASCII character from the ! (\\u0021)
|
808
|
-
# including most punctuation characters, digits,
|
809
|
-
# lowercased letters.
|
869
|
+
# string that must begin and end with forward slashes. In addition, it
|
870
|
+
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
871
|
+
# character (\\u007F), including most punctuation characters, digits,
|
872
|
+
# and upper and lowercased letters.
|
810
873
|
#
|
811
874
|
#
|
812
875
|
#
|
@@ -860,12 +923,12 @@ module Aws::IAM
|
|
860
923
|
# with `/application_abc/component_xyz/`.
|
861
924
|
#
|
862
925
|
# This parameter is optional. If it is not included, it defaults to a
|
863
|
-
# slash (/), listing all roles. This
|
926
|
+
# slash (/), listing all roles. This parameter allows (per its [regex
|
864
927
|
# pattern][1]) a string of characters consisting of either a forward
|
865
928
|
# slash (/) by itself or a string that must begin and end with forward
|
866
|
-
# slashes,
|
867
|
-
# DEL character (\\u007F), including most
|
868
|
-
# digits, and upper and lowercased letters.
|
929
|
+
# slashes. In addition, it can contain any ASCII character from the !
|
930
|
+
# (\\u0021) through the DEL character (\\u007F), including most
|
931
|
+
# punctuation characters, digits, and upper and lowercased letters.
|
869
932
|
#
|
870
933
|
#
|
871
934
|
#
|
@@ -939,12 +1002,12 @@ module Aws::IAM
|
|
939
1002
|
# path starts with `/company/servercerts`.
|
940
1003
|
#
|
941
1004
|
# This parameter is optional. If it is not included, it defaults to a
|
942
|
-
# slash (/), listing all server certificates. This
|
1005
|
+
# slash (/), listing all server certificates. This parameter allows (per
|
943
1006
|
# its [regex pattern][1]) a string of characters consisting of either a
|
944
1007
|
# forward slash (/) by itself or a string that must begin and end with
|
945
|
-
# forward slashes,
|
946
|
-
#
|
947
|
-
# characters, digits, and upper and lowercased letters.
|
1008
|
+
# forward slashes. In addition, it can contain any ASCII character from
|
1009
|
+
# the ! (\\u0021) through the DEL character (\\u007F), including most
|
1010
|
+
# punctuation characters, digits, and upper and lowercased letters.
|
948
1011
|
#
|
949
1012
|
#
|
950
1013
|
#
|
@@ -988,12 +1051,12 @@ module Aws::IAM
|
|
988
1051
|
# path starts with `/division_abc/subdivision_xyz/`.
|
989
1052
|
#
|
990
1053
|
# This parameter is optional. If it is not included, it defaults to a
|
991
|
-
# slash (/), listing all user names. This
|
1054
|
+
# slash (/), listing all user names. This parameter allows (per its
|
992
1055
|
# [regex pattern][1]) a string of characters consisting of either a
|
993
1056
|
# forward slash (/) by itself or a string that must begin and end with
|
994
|
-
# forward slashes,
|
995
|
-
#
|
996
|
-
# characters, digits, and upper and lowercased letters.
|
1057
|
+
# forward slashes. In addition, it can contain any ASCII character from
|
1058
|
+
# the ! (\\u0021) through the DEL character (\\u007F), including most
|
1059
|
+
# punctuation characters, digits, and upper and lowercased letters.
|
997
1060
|
#
|
998
1061
|
#
|
999
1062
|
#
|
@@ -1034,7 +1097,7 @@ module Aws::IAM
|
|
1034
1097
|
# @param [Hash] options ({})
|
1035
1098
|
# @option options [String] :assignment_status
|
1036
1099
|
# The status (`Unassigned` or `Assigned`) of the devices to list. If you
|
1037
|
-
# do not specify an `AssignmentStatus`, the
|
1100
|
+
# do not specify an `AssignmentStatus`, the operation defaults to `Any`
|
1038
1101
|
# which lists both assigned and unassigned virtual MFA devices.
|
1039
1102
|
# @return [VirtualMfaDevice::Collection]
|
1040
1103
|
def virtual_mfa_devices(options = {})
|