aws-sdk-iam 1.32.0 → 1.33.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iam.rb +1 -1
- data/lib/aws-sdk-iam/access_key.rb +1 -0
- data/lib/aws-sdk-iam/access_key_pair.rb +1 -0
- data/lib/aws-sdk-iam/account_password_policy.rb +1 -0
- data/lib/aws-sdk-iam/account_summary.rb +1 -0
- data/lib/aws-sdk-iam/assume_role_policy.rb +5 -4
- data/lib/aws-sdk-iam/client.rb +195 -132
- data/lib/aws-sdk-iam/client_api.rb +8 -0
- data/lib/aws-sdk-iam/current_user.rb +1 -0
- data/lib/aws-sdk-iam/group.rb +11 -10
- data/lib/aws-sdk-iam/group_policy.rb +5 -4
- data/lib/aws-sdk-iam/instance_profile.rb +1 -0
- data/lib/aws-sdk-iam/login_profile.rb +11 -10
- data/lib/aws-sdk-iam/mfa_device.rb +1 -0
- data/lib/aws-sdk-iam/policy.rb +11 -10
- data/lib/aws-sdk-iam/policy_version.rb +1 -0
- data/lib/aws-sdk-iam/resource.rb +51 -51
- data/lib/aws-sdk-iam/role.rb +3 -2
- data/lib/aws-sdk-iam/role_policy.rb +5 -4
- data/lib/aws-sdk-iam/saml_provider.rb +1 -0
- data/lib/aws-sdk-iam/server_certificate.rb +3 -2
- data/lib/aws-sdk-iam/signing_certificate.rb +1 -0
- data/lib/aws-sdk-iam/types.rb +267 -155
- data/lib/aws-sdk-iam/user.rb +17 -16
- data/lib/aws-sdk-iam/user_policy.rb +5 -4
- data/lib/aws-sdk-iam/virtual_mfa_device.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1e03abd5aaa26e5713463ba5de8a49f2bfb5836
|
4
|
+
data.tar.gz: 596b9b4e636ced8d090a28c3c0f33ff12990a5c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 010ee4fccb2493d01ec9d0da64ae3955595aa15883b2dcf4206419f9a01788f4a2f414ca9c3a5c2eed4cc7c7cb6af7ca1287315940c9e5e452df95f9843b5923
|
7
|
+
data.tar.gz: 802bc58082930c75febbd8961ea172be84c11abfc5f20d88bb4be8fae6ed243dda00ba864f9dcc8da625649aa0e58edfcd5234314992b10ff3c02285e61f7d66
|
data/lib/aws-sdk-iam.rb
CHANGED
@@ -21,6 +21,7 @@ module Aws::IAM
|
|
21
21
|
@role_name = extract_role_name(args, options)
|
22
22
|
@data = Aws::EmptyStructure.new
|
23
23
|
@client = options.delete(:client) || Client.new(options)
|
24
|
+
@waiter_block_warned = false
|
24
25
|
end
|
25
26
|
|
26
27
|
# @!group Read-Only Attributes
|
@@ -173,13 +174,13 @@ module Aws::IAM
|
|
173
174
|
# characters consisting of the following:
|
174
175
|
#
|
175
176
|
# * Any printable ASCII character ranging from the space character
|
176
|
-
# (
|
177
|
+
# (`\u0020`) through the end of the ASCII character range
|
177
178
|
#
|
178
179
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
179
|
-
# character set (through
|
180
|
+
# character set (through `\u00FF`)
|
180
181
|
#
|
181
|
-
# * The special characters tab (
|
182
|
-
# carriage return (
|
182
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
183
|
+
# carriage return (`\u000D`)
|
183
184
|
#
|
184
185
|
#
|
185
186
|
#
|
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -647,12 +647,12 @@ module Aws::IAM
|
|
647
647
|
#
|
648
648
|
# The [regex pattern][1] that is used to validate this parameter is a
|
649
649
|
# string of characters. That string can include almost any printable
|
650
|
-
# ASCII character from the space (
|
651
|
-
# character range (
|
652
|
-
# line feed (
|
653
|
-
# these characters are valid in a password. However, many tools, such
|
654
|
-
# the AWS Management Console, might restrict the ability to type
|
655
|
-
# characters because they have special meaning within that tool.
|
650
|
+
# ASCII character from the space (`\u0020`) through the end of the ASCII
|
651
|
+
# character range (`\u00FF`). You can also include the tab (`\u0009`),
|
652
|
+
# line feed (`\u000A`), and carriage return (`\u000D`) characters. Any
|
653
|
+
# of these characters are valid in a password. However, many tools, such
|
654
|
+
# as the AWS Management Console, might restrict the ability to type
|
655
|
+
# certain characters because they have special meaning within that tool.
|
656
656
|
#
|
657
657
|
#
|
658
658
|
#
|
@@ -834,8 +834,8 @@ module Aws::IAM
|
|
834
834
|
# This parameter allows (through its [regex pattern][2]) a string of
|
835
835
|
# characters consisting of either a forward slash (/) by itself or a
|
836
836
|
# string that must begin and end with forward slashes. In addition, it
|
837
|
-
# can contain any ASCII character from the ! (
|
838
|
-
# character (
|
837
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
838
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
839
839
|
# and upper and lowercased letters.
|
840
840
|
#
|
841
841
|
#
|
@@ -932,8 +932,8 @@ module Aws::IAM
|
|
932
932
|
# This parameter allows (through its [regex pattern][2]) a string of
|
933
933
|
# characters consisting of either a forward slash (/) by itself or a
|
934
934
|
# string that must begin and end with forward slashes. In addition, it
|
935
|
-
# can contain any ASCII character from the ! (
|
936
|
-
# character (
|
935
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
936
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
937
937
|
# and upper and lowercased letters.
|
938
938
|
#
|
939
939
|
#
|
@@ -1035,12 +1035,12 @@ module Aws::IAM
|
|
1035
1035
|
#
|
1036
1036
|
# The [regex pattern][1] that is used to validate this parameter is a
|
1037
1037
|
# string of characters. That string can include almost any printable
|
1038
|
-
# ASCII character from the space (
|
1039
|
-
# character range (
|
1040
|
-
# line feed (
|
1041
|
-
# these characters are valid in a password. However, many tools, such
|
1042
|
-
# the AWS Management Console, might restrict the ability to type
|
1043
|
-
# characters because they have special meaning within that tool.
|
1038
|
+
# ASCII character from the space (`\u0020`) through the end of the ASCII
|
1039
|
+
# character range (`\u00FF`). You can also include the tab (`\u0009`),
|
1040
|
+
# line feed (`\u000A`), and carriage return (`\u000D`) characters. Any
|
1041
|
+
# of these characters are valid in a password. However, many tools, such
|
1042
|
+
# as the AWS Management Console, might restrict the ability to type
|
1043
|
+
# certain characters because they have special meaning within that tool.
|
1044
1044
|
#
|
1045
1045
|
#
|
1046
1046
|
#
|
@@ -1113,7 +1113,8 @@ module Aws::IAM
|
|
1113
1113
|
# application or applications that are allowed to authenticate using
|
1114
1114
|
# the OIDC provider
|
1115
1115
|
#
|
1116
|
-
# * A list of thumbprints of
|
1116
|
+
# * A list of thumbprints of one or more server certificates that the
|
1117
|
+
# IdP uses
|
1117
1118
|
#
|
1118
1119
|
# You get all of this information from the OIDC IdP that you want to use
|
1119
1120
|
# to access AWS.
|
@@ -1260,8 +1261,8 @@ module Aws::IAM
|
|
1260
1261
|
# This parameter allows (through its [regex pattern][2]) a string of
|
1261
1262
|
# characters consisting of either a forward slash (/) by itself or a
|
1262
1263
|
# string that must begin and end with forward slashes. In addition, it
|
1263
|
-
# can contain any ASCII character from the ! (
|
1264
|
-
# character (
|
1264
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
1265
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
1265
1266
|
# and upper and lowercased letters.
|
1266
1267
|
#
|
1267
1268
|
#
|
@@ -1282,13 +1283,13 @@ module Aws::IAM
|
|
1282
1283
|
# characters consisting of the following:
|
1283
1284
|
#
|
1284
1285
|
# * Any printable ASCII character ranging from the space character
|
1285
|
-
# (
|
1286
|
+
# (`\u0020`) through the end of the ASCII character range
|
1286
1287
|
#
|
1287
1288
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
1288
|
-
# character set (through
|
1289
|
+
# character set (through `\u00FF`)
|
1289
1290
|
#
|
1290
|
-
# * The special characters tab (
|
1291
|
-
# carriage return (
|
1291
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
1292
|
+
# carriage return (`\u000D`)
|
1292
1293
|
#
|
1293
1294
|
#
|
1294
1295
|
#
|
@@ -1381,13 +1382,13 @@ module Aws::IAM
|
|
1381
1382
|
# characters consisting of the following:
|
1382
1383
|
#
|
1383
1384
|
# * Any printable ASCII character ranging from the space character
|
1384
|
-
# (
|
1385
|
+
# (`\u0020`) through the end of the ASCII character range
|
1385
1386
|
#
|
1386
1387
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
1387
|
-
# character set (through
|
1388
|
+
# character set (through `\u00FF`)
|
1388
1389
|
#
|
1389
|
-
# * The special characters tab (
|
1390
|
-
# carriage return (
|
1390
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
1391
|
+
# carriage return (`\u000D`)
|
1391
1392
|
#
|
1392
1393
|
#
|
1393
1394
|
#
|
@@ -1456,8 +1457,8 @@ module Aws::IAM
|
|
1456
1457
|
# This parameter allows (through its [regex pattern][2]) a string of
|
1457
1458
|
# characters consisting of either a forward slash (/) by itself or a
|
1458
1459
|
# string that must begin and end with forward slashes. In addition, it
|
1459
|
-
# can contain any ASCII character from the ! (
|
1460
|
-
# character (
|
1460
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
1461
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
1461
1462
|
# and upper and lowercased letters.
|
1462
1463
|
#
|
1463
1464
|
#
|
@@ -1486,13 +1487,13 @@ module Aws::IAM
|
|
1486
1487
|
# characters consisting of the following:
|
1487
1488
|
#
|
1488
1489
|
# * Any printable ASCII character ranging from the space character
|
1489
|
-
# (
|
1490
|
+
# (`\u0020`) through the end of the ASCII character range
|
1490
1491
|
#
|
1491
1492
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
1492
|
-
# character set (through
|
1493
|
+
# character set (through `\u00FF`)
|
1493
1494
|
#
|
1494
|
-
# * The special characters tab (
|
1495
|
-
# carriage return (
|
1495
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
1496
|
+
# carriage return (`\u000D`)
|
1496
1497
|
#
|
1497
1498
|
# Upon success, the response includes the same trust policy in JSON
|
1498
1499
|
# format.
|
@@ -1874,8 +1875,8 @@ module Aws::IAM
|
|
1874
1875
|
# This parameter allows (through its [regex pattern][2]) a string of
|
1875
1876
|
# characters consisting of either a forward slash (/) by itself or a
|
1876
1877
|
# string that must begin and end with forward slashes. In addition, it
|
1877
|
-
# can contain any ASCII character from the ! (
|
1878
|
-
# character (
|
1878
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
1879
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
1879
1880
|
# and upper and lowercased letters.
|
1880
1881
|
#
|
1881
1882
|
#
|
@@ -2001,8 +2002,8 @@ module Aws::IAM
|
|
2001
2002
|
# This parameter allows (through its [regex pattern][2]) a string of
|
2002
2003
|
# characters consisting of either a forward slash (/) by itself or a
|
2003
2004
|
# string that must begin and end with forward slashes. In addition, it
|
2004
|
-
# can contain any ASCII character from the ! (
|
2005
|
-
# character (
|
2005
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
2006
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
2006
2007
|
# and upper and lowercased letters.
|
2007
2008
|
#
|
2008
2009
|
#
|
@@ -4147,13 +4148,13 @@ module Aws::IAM
|
|
4147
4148
|
# characters consisting of the following:
|
4148
4149
|
#
|
4149
4150
|
# * Any printable ASCII character ranging from the space character
|
4150
|
-
# (
|
4151
|
+
# (`\u0020`) through the end of the ASCII character range
|
4151
4152
|
#
|
4152
4153
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
4153
|
-
# character set (through
|
4154
|
+
# character set (through `\u00FF`)
|
4154
4155
|
#
|
4155
|
-
# * The special characters tab (
|
4156
|
-
# carriage return (
|
4156
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
4157
|
+
# carriage return (`\u000D`)
|
4157
4158
|
#
|
4158
4159
|
#
|
4159
4160
|
#
|
@@ -4229,13 +4230,13 @@ module Aws::IAM
|
|
4229
4230
|
# characters consisting of the following:
|
4230
4231
|
#
|
4231
4232
|
# * Any printable ASCII character ranging from the space character
|
4232
|
-
# (
|
4233
|
+
# (`\u0020`) through the end of the ASCII character range
|
4233
4234
|
#
|
4234
4235
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
4235
|
-
# character set (through
|
4236
|
+
# character set (through `\u00FF`)
|
4236
4237
|
#
|
4237
|
-
# * The special characters tab (
|
4238
|
-
# carriage return (
|
4238
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
4239
|
+
# carriage return (`\u000D`)
|
4239
4240
|
#
|
4240
4241
|
#
|
4241
4242
|
#
|
@@ -5978,8 +5979,8 @@ module Aws::IAM
|
|
5978
5979
|
# This parameter allows (through its [regex pattern][1]) a string of
|
5979
5980
|
# characters consisting of either a forward slash (/) by itself or a
|
5980
5981
|
# string that must begin and end with forward slashes. In addition, it
|
5981
|
-
# can contain any ASCII character from the ! (
|
5982
|
-
# character (
|
5982
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
5983
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
5983
5984
|
# and upper and lowercased letters.
|
5984
5985
|
#
|
5985
5986
|
#
|
@@ -6074,8 +6075,8 @@ module Aws::IAM
|
|
6074
6075
|
# This parameter allows (through its [regex pattern][1]) a string of
|
6075
6076
|
# characters consisting of either a forward slash (/) by itself or a
|
6076
6077
|
# string that must begin and end with forward slashes. In addition, it
|
6077
|
-
# can contain any ASCII character from the ! (
|
6078
|
-
# character (
|
6078
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
6079
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
6079
6080
|
# and upper and lowercased letters.
|
6080
6081
|
#
|
6081
6082
|
#
|
@@ -6170,8 +6171,8 @@ module Aws::IAM
|
|
6170
6171
|
# This parameter allows (through its [regex pattern][1]) a string of
|
6171
6172
|
# characters consisting of either a forward slash (/) by itself or a
|
6172
6173
|
# string that must begin and end with forward slashes. In addition, it
|
6173
|
-
# can contain any ASCII character from the ! (
|
6174
|
-
# character (
|
6174
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
6175
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
6175
6176
|
# and upper and lowercased letters.
|
6176
6177
|
#
|
6177
6178
|
#
|
@@ -6266,8 +6267,8 @@ module Aws::IAM
|
|
6266
6267
|
# This parameter allows (through its [regex pattern][1]) a string of
|
6267
6268
|
# characters consisting of either a forward slash (/) by itself or a
|
6268
6269
|
# string that must begin and end with forward slashes. In addition, it
|
6269
|
-
# can contain any ASCII character from the ! (
|
6270
|
-
# character (
|
6270
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
6271
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
6271
6272
|
# and upper and lowercased letters.
|
6272
6273
|
#
|
6273
6274
|
#
|
@@ -6451,7 +6452,7 @@ module Aws::IAM
|
|
6451
6452
|
# [regex pattern][1]) a string of characters consisting of either a
|
6452
6453
|
# forward slash (/) by itself or a string that must begin and end with
|
6453
6454
|
# forward slashes. In addition, it can contain any ASCII character from
|
6454
|
-
# the ! (
|
6455
|
+
# the ! (`\u0021`) through the DEL character (`\u007F`), including most
|
6455
6456
|
# punctuation characters, digits, and upper and lowercased letters.
|
6456
6457
|
#
|
6457
6458
|
#
|
@@ -6663,7 +6664,7 @@ module Aws::IAM
|
|
6663
6664
|
# (through its [regex pattern][1]) a string of characters consisting of
|
6664
6665
|
# either a forward slash (/) by itself or a string that must begin and
|
6665
6666
|
# end with forward slashes. In addition, it can contain any ASCII
|
6666
|
-
# character from the ! (
|
6667
|
+
# character from the ! (`\u0021`) through the DEL character (`\u007F`),
|
6667
6668
|
# including most punctuation characters, digits, and upper and
|
6668
6669
|
# lowercased letters.
|
6669
6670
|
#
|
@@ -6964,8 +6965,8 @@ module Aws::IAM
|
|
6964
6965
|
# policies. This parameter allows (through its [regex pattern][1]) a
|
6965
6966
|
# string of characters consisting of either a forward slash (/) by
|
6966
6967
|
# itself or a string that must begin and end with forward slashes. In
|
6967
|
-
# addition, it can contain any ASCII character from the ! (
|
6968
|
-
# through the DEL character (
|
6968
|
+
# addition, it can contain any ASCII character from the ! (`\u0021`)
|
6969
|
+
# through the DEL character (`\u007F`), including most punctuation
|
6969
6970
|
# characters, digits, and upper and lowercased letters.
|
6970
6971
|
#
|
6971
6972
|
#
|
@@ -7457,7 +7458,7 @@ module Aws::IAM
|
|
7457
7458
|
# [regex pattern][1]) a string of characters consisting of either a
|
7458
7459
|
# forward slash (/) by itself or a string that must begin and end with
|
7459
7460
|
# forward slashes. In addition, it can contain any ASCII character from
|
7460
|
-
# the ! (
|
7461
|
+
# the ! (`\u0021`) through the DEL character (`\u007F`), including most
|
7461
7462
|
# punctuation characters, digits, and upper and lowercased letters.
|
7462
7463
|
#
|
7463
7464
|
#
|
@@ -7662,7 +7663,7 @@ module Aws::IAM
|
|
7662
7663
|
# (through its [regex pattern][1]) a string of characters consisting of
|
7663
7664
|
# either a forward slash (/) by itself or a string that must begin and
|
7664
7665
|
# end with forward slashes. In addition, it can contain any ASCII
|
7665
|
-
# character from the ! (
|
7666
|
+
# character from the ! (`\u0021`) through the DEL character (`\u007F`),
|
7666
7667
|
# including most punctuation characters, digits, and upper and
|
7667
7668
|
# lowercased letters.
|
7668
7669
|
#
|
@@ -8068,7 +8069,7 @@ module Aws::IAM
|
|
8068
8069
|
# [regex pattern][1]) a string of characters consisting of either a
|
8069
8070
|
# forward slash (/) by itself or a string that must begin and end with
|
8070
8071
|
# forward slashes. In addition, it can contain any ASCII character from
|
8071
|
-
# the ! (
|
8072
|
+
# the ! (`\u0021`) through the DEL character (`\u007F`), including most
|
8072
8073
|
# punctuation characters, digits, and upper and lowercased letters.
|
8073
8074
|
#
|
8074
8075
|
#
|
@@ -8317,13 +8318,13 @@ module Aws::IAM
|
|
8317
8318
|
# characters consisting of the following:
|
8318
8319
|
#
|
8319
8320
|
# * Any printable ASCII character ranging from the space character
|
8320
|
-
# (
|
8321
|
+
# (`\u0020`) through the end of the ASCII character range
|
8321
8322
|
#
|
8322
8323
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
8323
|
-
# character set (through
|
8324
|
+
# character set (through `\u00FF`)
|
8324
8325
|
#
|
8325
|
-
# * The special characters tab (
|
8326
|
-
# carriage return (
|
8326
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
8327
|
+
# carriage return (`\u000D`)
|
8327
8328
|
#
|
8328
8329
|
#
|
8329
8330
|
#
|
@@ -8472,13 +8473,13 @@ module Aws::IAM
|
|
8472
8473
|
# characters consisting of the following:
|
8473
8474
|
#
|
8474
8475
|
# * Any printable ASCII character ranging from the space character
|
8475
|
-
# (
|
8476
|
+
# (`\u0020`) through the end of the ASCII character range
|
8476
8477
|
#
|
8477
8478
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
8478
|
-
# character set (through
|
8479
|
+
# character set (through `\u00FF`)
|
8479
8480
|
#
|
8480
|
-
# * The special characters tab (
|
8481
|
-
# carriage return (
|
8481
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
8482
|
+
# carriage return (`\u000D`)
|
8482
8483
|
#
|
8483
8484
|
#
|
8484
8485
|
#
|
@@ -8617,13 +8618,13 @@ module Aws::IAM
|
|
8617
8618
|
# characters consisting of the following:
|
8618
8619
|
#
|
8619
8620
|
# * Any printable ASCII character ranging from the space character
|
8620
|
-
# (
|
8621
|
+
# (`\u0020`) through the end of the ASCII character range
|
8621
8622
|
#
|
8622
8623
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
8623
|
-
# character set (through
|
8624
|
+
# character set (through `\u00FF`)
|
8624
8625
|
#
|
8625
|
-
# * The special characters tab (
|
8626
|
-
# carriage return (
|
8626
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
8627
|
+
# carriage return (`\u000D`)
|
8627
8628
|
#
|
8628
8629
|
#
|
8629
8630
|
#
|
@@ -9081,14 +9082,14 @@ module Aws::IAM
|
|
9081
9082
|
# authorization to determine if the simulated policies allow or deny the
|
9082
9083
|
# operations.
|
9083
9084
|
#
|
9084
|
-
# If you want to simulate existing policies attached to an IAM
|
9085
|
-
# group, or role, use SimulatePrincipalPolicy instead.
|
9085
|
+
# If you want to simulate existing policies that are attached to an IAM
|
9086
|
+
# user, group, or role, use SimulatePrincipalPolicy instead.
|
9086
9087
|
#
|
9087
|
-
# Context keys are variables maintained by AWS and its services
|
9088
|
-
# provide details about the context of an API query request.
|
9089
|
-
# the `Condition` element of an IAM policy to evaluate
|
9090
|
-
# get the list of context keys that the policies
|
9091
|
-
# simulation, use GetContextKeysForCustomPolicy.
|
9088
|
+
# Context keys are variables that are maintained by AWS and its services
|
9089
|
+
# and which provide details about the context of an API query request.
|
9090
|
+
# You can use the `Condition` element of an IAM policy to evaluate
|
9091
|
+
# context keys. To get the list of context keys that the policies
|
9092
|
+
# require for correct simulation, use GetContextKeysForCustomPolicy.
|
9092
9093
|
#
|
9093
9094
|
# If the output is long, you can use `MaxItems` and `Marker` parameters
|
9094
9095
|
# to paginate the results.
|
@@ -9108,13 +9109,13 @@ module Aws::IAM
|
|
9108
9109
|
# characters consisting of the following:
|
9109
9110
|
#
|
9110
9111
|
# * Any printable ASCII character ranging from the space character
|
9111
|
-
# (
|
9112
|
+
# (`\u0020`) through the end of the ASCII character range
|
9112
9113
|
#
|
9113
9114
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
9114
|
-
# character set (through
|
9115
|
+
# character set (through `\u00FF`)
|
9115
9116
|
#
|
9116
|
-
# * The special characters tab (
|
9117
|
-
# carriage return (
|
9117
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
9118
|
+
# carriage return (`\u000D`)
|
9118
9119
|
#
|
9119
9120
|
#
|
9120
9121
|
#
|
@@ -9122,6 +9123,32 @@ module Aws::IAM
|
|
9122
9123
|
# [2]: https://docs.aws.amazon.com/IAM/latest/APIReference/API_AssumeRole.html
|
9123
9124
|
# [3]: http://wikipedia.org/wiki/regex
|
9124
9125
|
#
|
9126
|
+
# @option params [Array<String>] :permissions_boundary_policy_input_list
|
9127
|
+
# The IAM permissions boundary policy to simulate. The permissions
|
9128
|
+
# boundary sets the maximum permissions that an IAM entity can have. You
|
9129
|
+
# can input only one permissions boundary when you pass a policy to this
|
9130
|
+
# operation. For more information about permissions boundaries, see
|
9131
|
+
# [Permissions Boundaries for IAM Entities][1] in the *IAM User Guide*.
|
9132
|
+
# The policy input is specified as a string that contains the complete,
|
9133
|
+
# valid JSON text of a permissions boundary policy.
|
9134
|
+
#
|
9135
|
+
# The [regex pattern][2] used to validate this parameter is a string of
|
9136
|
+
# characters consisting of the following:
|
9137
|
+
#
|
9138
|
+
# * Any printable ASCII character ranging from the space character
|
9139
|
+
# (`\u0020`) through the end of the ASCII character range
|
9140
|
+
#
|
9141
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
9142
|
+
# character set (through `\u00FF`)
|
9143
|
+
#
|
9144
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
9145
|
+
# carriage return (`\u000D`)
|
9146
|
+
#
|
9147
|
+
#
|
9148
|
+
#
|
9149
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html
|
9150
|
+
# [2]: http://wikipedia.org/wiki/regex
|
9151
|
+
#
|
9125
9152
|
# @option params [required, Array<String>] :action_names
|
9126
9153
|
# A list of names of API operations to evaluate in the simulation. Each
|
9127
9154
|
# operation is evaluated against each resource. Each operation must
|
@@ -9162,13 +9189,13 @@ module Aws::IAM
|
|
9162
9189
|
# characters consisting of the following:
|
9163
9190
|
#
|
9164
9191
|
# * Any printable ASCII character ranging from the space character
|
9165
|
-
# (
|
9192
|
+
# (`\u0020`) through the end of the ASCII character range
|
9166
9193
|
#
|
9167
9194
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
9168
|
-
# character set (through
|
9195
|
+
# character set (through `\u00FF`)
|
9169
9196
|
#
|
9170
|
-
# * The special characters tab (
|
9171
|
-
# carriage return (
|
9197
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
9198
|
+
# carriage return (`\u000D`)
|
9172
9199
|
#
|
9173
9200
|
#
|
9174
9201
|
#
|
@@ -9279,6 +9306,7 @@ module Aws::IAM
|
|
9279
9306
|
#
|
9280
9307
|
# resp = client.simulate_custom_policy({
|
9281
9308
|
# policy_input_list: ["policyDocumentType"], # required
|
9309
|
+
# permissions_boundary_policy_input_list: ["policyDocumentType"],
|
9282
9310
|
# action_names: ["ActionNameType"], # required
|
9283
9311
|
# resource_arns: ["ResourceNameType"],
|
9284
9312
|
# resource_policy: "policyDocumentType",
|
@@ -9312,6 +9340,7 @@ module Aws::IAM
|
|
9312
9340
|
# resp.evaluation_results[0].missing_context_values #=> Array
|
9313
9341
|
# resp.evaluation_results[0].missing_context_values[0] #=> String
|
9314
9342
|
# resp.evaluation_results[0].organizations_decision_detail.allowed_by_organizations #=> Boolean
|
9343
|
+
# resp.evaluation_results[0].permissions_boundary_decision_detail.allowed_by_permissions_boundary #=> Boolean
|
9315
9344
|
# resp.evaluation_results[0].eval_decision_details #=> Hash
|
9316
9345
|
# resp.evaluation_results[0].eval_decision_details["EvalDecisionSourceType"] #=> String, one of "allowed", "explicitDeny", "implicitDeny"
|
9317
9346
|
# resp.evaluation_results[0].resource_specific_results #=> Array
|
@@ -9328,6 +9357,7 @@ module Aws::IAM
|
|
9328
9357
|
# resp.evaluation_results[0].resource_specific_results[0].missing_context_values[0] #=> String
|
9329
9358
|
# resp.evaluation_results[0].resource_specific_results[0].eval_decision_details #=> Hash
|
9330
9359
|
# resp.evaluation_results[0].resource_specific_results[0].eval_decision_details["EvalDecisionSourceType"] #=> String, one of "allowed", "explicitDeny", "implicitDeny"
|
9360
|
+
# resp.evaluation_results[0].resource_specific_results[0].permissions_boundary_decision_detail.allowed_by_permissions_boundary #=> Boolean
|
9331
9361
|
# resp.is_truncated #=> Boolean
|
9332
9362
|
# resp.marker #=> String
|
9333
9363
|
#
|
@@ -9397,18 +9427,48 @@ module Aws::IAM
|
|
9397
9427
|
# characters consisting of the following:
|
9398
9428
|
#
|
9399
9429
|
# * Any printable ASCII character ranging from the space character
|
9400
|
-
# (
|
9430
|
+
# (`\u0020`) through the end of the ASCII character range
|
9401
9431
|
#
|
9402
9432
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
9403
|
-
# character set (through
|
9433
|
+
# character set (through `\u00FF`)
|
9404
9434
|
#
|
9405
|
-
# * The special characters tab (
|
9406
|
-
# carriage return (
|
9435
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
9436
|
+
# carriage return (`\u000D`)
|
9407
9437
|
#
|
9408
9438
|
#
|
9409
9439
|
#
|
9410
9440
|
# [1]: http://wikipedia.org/wiki/regex
|
9411
9441
|
#
|
9442
|
+
# @option params [Array<String>] :permissions_boundary_policy_input_list
|
9443
|
+
# The IAM permissions boundary policy to simulate. The permissions
|
9444
|
+
# boundary sets the maximum permissions that the entity can have. You
|
9445
|
+
# can input only one permissions boundary when you pass a policy to this
|
9446
|
+
# operation. An IAM entity can only have one permissions boundary in
|
9447
|
+
# effect at a time. For example, if a permissions boundary is attached
|
9448
|
+
# to an entity and you pass in a different permissions boundary policy
|
9449
|
+
# using this parameter, then the new permission boundary policy is used
|
9450
|
+
# for the simulation. For more information about permissions boundaries,
|
9451
|
+
# see [Permissions Boundaries for IAM Entities][1] in the *IAM User
|
9452
|
+
# Guide*. The policy input is specified as a string containing the
|
9453
|
+
# complete, valid JSON text of a permissions boundary policy.
|
9454
|
+
#
|
9455
|
+
# The [regex pattern][2] used to validate this parameter is a string of
|
9456
|
+
# characters consisting of the following:
|
9457
|
+
#
|
9458
|
+
# * Any printable ASCII character ranging from the space character
|
9459
|
+
# (`\u0020`) through the end of the ASCII character range
|
9460
|
+
#
|
9461
|
+
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
9462
|
+
# character set (through `\u00FF`)
|
9463
|
+
#
|
9464
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
9465
|
+
# carriage return (`\u000D`)
|
9466
|
+
#
|
9467
|
+
#
|
9468
|
+
#
|
9469
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html
|
9470
|
+
# [2]: http://wikipedia.org/wiki/regex
|
9471
|
+
#
|
9412
9472
|
# @option params [required, Array<String>] :action_names
|
9413
9473
|
# A list of names of API operations to evaluate in the simulation. Each
|
9414
9474
|
# operation is evaluated for each resource. Each operation must include
|
@@ -9444,13 +9504,13 @@ module Aws::IAM
|
|
9444
9504
|
# characters consisting of the following:
|
9445
9505
|
#
|
9446
9506
|
# * Any printable ASCII character ranging from the space character
|
9447
|
-
# (
|
9507
|
+
# (`\u0020`) through the end of the ASCII character range
|
9448
9508
|
#
|
9449
9509
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
9450
|
-
# character set (through
|
9510
|
+
# character set (through `\u00FF`)
|
9451
9511
|
#
|
9452
|
-
# * The special characters tab (
|
9453
|
-
# carriage return (
|
9512
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
9513
|
+
# carriage return (`\u000D`)
|
9454
9514
|
#
|
9455
9515
|
#
|
9456
9516
|
#
|
@@ -9572,6 +9632,7 @@ module Aws::IAM
|
|
9572
9632
|
# resp = client.simulate_principal_policy({
|
9573
9633
|
# policy_source_arn: "arnType", # required
|
9574
9634
|
# policy_input_list: ["policyDocumentType"],
|
9635
|
+
# permissions_boundary_policy_input_list: ["policyDocumentType"],
|
9575
9636
|
# action_names: ["ActionNameType"], # required
|
9576
9637
|
# resource_arns: ["ResourceNameType"],
|
9577
9638
|
# resource_policy: "policyDocumentType",
|
@@ -9605,6 +9666,7 @@ module Aws::IAM
|
|
9605
9666
|
# resp.evaluation_results[0].missing_context_values #=> Array
|
9606
9667
|
# resp.evaluation_results[0].missing_context_values[0] #=> String
|
9607
9668
|
# resp.evaluation_results[0].organizations_decision_detail.allowed_by_organizations #=> Boolean
|
9669
|
+
# resp.evaluation_results[0].permissions_boundary_decision_detail.allowed_by_permissions_boundary #=> Boolean
|
9608
9670
|
# resp.evaluation_results[0].eval_decision_details #=> Hash
|
9609
9671
|
# resp.evaluation_results[0].eval_decision_details["EvalDecisionSourceType"] #=> String, one of "allowed", "explicitDeny", "implicitDeny"
|
9610
9672
|
# resp.evaluation_results[0].resource_specific_results #=> Array
|
@@ -9621,6 +9683,7 @@ module Aws::IAM
|
|
9621
9683
|
# resp.evaluation_results[0].resource_specific_results[0].missing_context_values[0] #=> String
|
9622
9684
|
# resp.evaluation_results[0].resource_specific_results[0].eval_decision_details #=> Hash
|
9623
9685
|
# resp.evaluation_results[0].resource_specific_results[0].eval_decision_details["EvalDecisionSourceType"] #=> String, one of "allowed", "explicitDeny", "implicitDeny"
|
9686
|
+
# resp.evaluation_results[0].resource_specific_results[0].permissions_boundary_decision_detail.allowed_by_permissions_boundary #=> Boolean
|
9624
9687
|
# resp.is_truncated #=> Boolean
|
9625
9688
|
# resp.marker #=> String
|
9626
9689
|
#
|
@@ -10184,13 +10247,13 @@ module Aws::IAM
|
|
10184
10247
|
# characters consisting of the following:
|
10185
10248
|
#
|
10186
10249
|
# * Any printable ASCII character ranging from the space character
|
10187
|
-
# (
|
10250
|
+
# (`\u0020`) through the end of the ASCII character range
|
10188
10251
|
#
|
10189
10252
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
10190
|
-
# character set (through
|
10253
|
+
# character set (through `\u00FF`)
|
10191
10254
|
#
|
10192
|
-
# * The special characters tab (
|
10193
|
-
# carriage return (
|
10255
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
10256
|
+
# carriage return (`\u000D`)
|
10194
10257
|
#
|
10195
10258
|
#
|
10196
10259
|
#
|
@@ -10265,8 +10328,8 @@ module Aws::IAM
|
|
10265
10328
|
# This parameter allows (through its [regex pattern][1]) a string of
|
10266
10329
|
# characters consisting of either a forward slash (/) by itself or a
|
10267
10330
|
# string that must begin and end with forward slashes. In addition, it
|
10268
|
-
# can contain any ASCII character from the ! (
|
10269
|
-
# character (
|
10331
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
10332
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
10270
10333
|
# and upper and lowercased letters.
|
10271
10334
|
#
|
10272
10335
|
#
|
@@ -10339,13 +10402,13 @@ module Aws::IAM
|
|
10339
10402
|
# characters consisting of the following:
|
10340
10403
|
#
|
10341
10404
|
# * Any printable ASCII character ranging from the space character
|
10342
|
-
# (
|
10405
|
+
# (`\u0020`) through the end of the ASCII character range
|
10343
10406
|
#
|
10344
10407
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
10345
|
-
# character set (through
|
10408
|
+
# character set (through `\u00FF`)
|
10346
10409
|
#
|
10347
|
-
# * The special characters tab (
|
10348
|
-
# carriage return (
|
10410
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
10411
|
+
# carriage return (`\u000D`)
|
10349
10412
|
#
|
10350
10413
|
# However, the format can be further restricted by the account
|
10351
10414
|
# administrator by setting a password policy on the AWS account. For
|
@@ -10705,8 +10768,8 @@ module Aws::IAM
|
|
10705
10768
|
# This parameter allows (through its [regex pattern][1]) a string of
|
10706
10769
|
# characters consisting of either a forward slash (/) by itself or a
|
10707
10770
|
# string that must begin and end with forward slashes. In addition, it
|
10708
|
-
# can contain any ASCII character from the ! (
|
10709
|
-
# character (
|
10771
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
10772
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
10710
10773
|
# and upper and lowercased letters.
|
10711
10774
|
#
|
10712
10775
|
#
|
@@ -10908,8 +10971,8 @@ module Aws::IAM
|
|
10908
10971
|
# This parameter allows (through its [regex pattern][1]) a string of
|
10909
10972
|
# characters consisting of either a forward slash (/) by itself or a
|
10910
10973
|
# string that must begin and end with forward slashes. In addition, it
|
10911
|
-
# can contain any ASCII character from the ! (
|
10912
|
-
# character (
|
10974
|
+
# can contain any ASCII character from the ! (`\u0021`) through the DEL
|
10975
|
+
# character (`\u007F`), including most punctuation characters, digits,
|
10913
10976
|
# and upper and lowercased letters.
|
10914
10977
|
#
|
10915
10978
|
#
|
@@ -10988,13 +11051,13 @@ module Aws::IAM
|
|
10988
11051
|
# characters consisting of the following:
|
10989
11052
|
#
|
10990
11053
|
# * Any printable ASCII character ranging from the space character
|
10991
|
-
# (
|
11054
|
+
# (`\u0020`) through the end of the ASCII character range
|
10992
11055
|
#
|
10993
11056
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
10994
|
-
# character set (through
|
11057
|
+
# character set (through `\u00FF`)
|
10995
11058
|
#
|
10996
|
-
# * The special characters tab (
|
10997
|
-
# carriage return (
|
11059
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
11060
|
+
# carriage return (`\u000D`)
|
10998
11061
|
#
|
10999
11062
|
#
|
11000
11063
|
#
|
@@ -11076,8 +11139,8 @@ module Aws::IAM
|
|
11076
11139
|
# slash (/). This parameter allows (through its [regex pattern][2]) a
|
11077
11140
|
# string of characters consisting of either a forward slash (/) by
|
11078
11141
|
# itself or a string that must begin and end with forward slashes. In
|
11079
|
-
# addition, it can contain any ASCII character from the ! (
|
11080
|
-
# through the DEL character (
|
11142
|
+
# addition, it can contain any ASCII character from the ! (`\u0021`)
|
11143
|
+
# through the DEL character (`\u007F`), including most punctuation
|
11081
11144
|
# characters, digits, and upper and lowercased letters.
|
11082
11145
|
#
|
11083
11146
|
# <note markdown="1"> If you are uploading a server certificate specifically for use with
|
@@ -11112,13 +11175,13 @@ module Aws::IAM
|
|
11112
11175
|
# characters consisting of the following:
|
11113
11176
|
#
|
11114
11177
|
# * Any printable ASCII character ranging from the space character
|
11115
|
-
# (
|
11178
|
+
# (`\u0020`) through the end of the ASCII character range
|
11116
11179
|
#
|
11117
11180
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
11118
|
-
# character set (through
|
11181
|
+
# character set (through `\u00FF`)
|
11119
11182
|
#
|
11120
|
-
# * The special characters tab (
|
11121
|
-
# carriage return (
|
11183
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
11184
|
+
# carriage return (`\u000D`)
|
11122
11185
|
#
|
11123
11186
|
#
|
11124
11187
|
#
|
@@ -11131,13 +11194,13 @@ module Aws::IAM
|
|
11131
11194
|
# characters consisting of the following:
|
11132
11195
|
#
|
11133
11196
|
# * Any printable ASCII character ranging from the space character
|
11134
|
-
# (
|
11197
|
+
# (`\u0020`) through the end of the ASCII character range
|
11135
11198
|
#
|
11136
11199
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
11137
|
-
# character set (through
|
11200
|
+
# character set (through `\u00FF`)
|
11138
11201
|
#
|
11139
|
-
# * The special characters tab (
|
11140
|
-
# carriage return (
|
11202
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
11203
|
+
# carriage return (`\u000D`)
|
11141
11204
|
#
|
11142
11205
|
#
|
11143
11206
|
#
|
@@ -11151,13 +11214,13 @@ module Aws::IAM
|
|
11151
11214
|
# characters consisting of the following:
|
11152
11215
|
#
|
11153
11216
|
# * Any printable ASCII character ranging from the space character
|
11154
|
-
# (
|
11217
|
+
# (`\u0020`) through the end of the ASCII character range
|
11155
11218
|
#
|
11156
11219
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
11157
|
-
# character set (through
|
11220
|
+
# character set (through `\u00FF`)
|
11158
11221
|
#
|
11159
|
-
# * The special characters tab (
|
11160
|
-
# carriage return (
|
11222
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
11223
|
+
# carriage return (`\u000D`)
|
11161
11224
|
#
|
11162
11225
|
#
|
11163
11226
|
#
|
@@ -11263,13 +11326,13 @@ module Aws::IAM
|
|
11263
11326
|
# characters consisting of the following:
|
11264
11327
|
#
|
11265
11328
|
# * Any printable ASCII character ranging from the space character
|
11266
|
-
# (
|
11329
|
+
# (`\u0020`) through the end of the ASCII character range
|
11267
11330
|
#
|
11268
11331
|
# * The printable characters in the Basic Latin and Latin-1 Supplement
|
11269
|
-
# character set (through
|
11332
|
+
# character set (through `\u00FF`)
|
11270
11333
|
#
|
11271
|
-
# * The special characters tab (
|
11272
|
-
# carriage return (
|
11334
|
+
# * The special characters tab (`\u0009`), line feed (`\u000A`), and
|
11335
|
+
# carriage return (`\u000D`)
|
11273
11336
|
#
|
11274
11337
|
#
|
11275
11338
|
#
|
@@ -11337,7 +11400,7 @@ module Aws::IAM
|
|
11337
11400
|
params: params,
|
11338
11401
|
config: config)
|
11339
11402
|
context[:gem_name] = 'aws-sdk-iam'
|
11340
|
-
context[:gem_version] = '1.
|
11403
|
+
context[:gem_version] = '1.33.0'
|
11341
11404
|
Seahorse::Client::Request.new(handlers, context)
|
11342
11405
|
end
|
11343
11406
|
|