aws-sdk-iam 1.19.0 → 1.20.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/assume_role_policy.rb +5 -0
- data/lib/aws-sdk-iam/client.rb +55 -63
- data/lib/aws-sdk-iam/group.rb +8 -8
- data/lib/aws-sdk-iam/group_policy.rb +10 -0
- data/lib/aws-sdk-iam/policy.rb +5 -0
- data/lib/aws-sdk-iam/resource.rb +22 -38
- data/lib/aws-sdk-iam/role_policy.rb +10 -0
- data/lib/aws-sdk-iam/types.rb +75 -63
- data/lib/aws-sdk-iam/user.rb +8 -8
- data/lib/aws-sdk-iam/user_policy.rb +10 -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: f825e78ca9a7bb59f21fc966fa15d313f0af0a15
|
4
|
+
data.tar.gz: ad33e62ad4330f199dcad4798f24cafd103c22b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c288ce29fffcba07936782ef24d1c4d2bf80aab8806db789ac33d62d77b16b0edde8b18fa12758ee8cf87ae4e9644636d35fccf400b36504a023763686904c6
|
7
|
+
data.tar.gz: 2a79c4de554a0975ab0ff6bd428e8c09d76b4fb67ae0279fd47dc809a50e2c52879bd726d677554be4723fdd691af2cdb78ca957ccce86902a4fd0d663e0f6a8
|
data/lib/aws-sdk-iam.rb
CHANGED
@@ -164,6 +164,11 @@ module Aws::IAM
|
|
164
164
|
# @option options [required, String] :policy_document
|
165
165
|
# The policy that grants an entity permission to assume the role.
|
166
166
|
#
|
167
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
168
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
169
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
170
|
+
# policy to JSON format before submitting it to IAM.
|
171
|
+
#
|
167
172
|
# The [regex pattern][1] used to validate this parameter is a string of
|
168
173
|
# characters consisting of the following:
|
169
174
|
#
|
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -841,16 +841,9 @@ module Aws::IAM
|
|
841
841
|
# The name of the group to create. Do not include the path in this
|
842
842
|
# value.
|
843
843
|
#
|
844
|
-
#
|
845
|
-
#
|
846
|
-
#
|
847
|
-
# \_+=,.@-. The group name must be unique within the account. Group
|
848
|
-
# names are not distinguished by case. For example, you cannot create
|
849
|
-
# groups named both "ADMINS" and "admins".
|
850
|
-
#
|
851
|
-
#
|
852
|
-
#
|
853
|
-
# [1]: http://wikipedia.org/wiki/regex
|
844
|
+
# IAM user, group, role, and policy names must be unique within the
|
845
|
+
# account. Names are not distinguished by case. For example, you cannot
|
846
|
+
# create resources named both "MyResource" and "myresource".
|
854
847
|
#
|
855
848
|
# @return [Types::CreateGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
856
849
|
#
|
@@ -1243,14 +1236,9 @@ module Aws::IAM
|
|
1243
1236
|
# @option params [required, String] :policy_name
|
1244
1237
|
# The friendly name of the policy.
|
1245
1238
|
#
|
1246
|
-
#
|
1247
|
-
#
|
1248
|
-
#
|
1249
|
-
# \_+=,.@-
|
1250
|
-
#
|
1251
|
-
#
|
1252
|
-
#
|
1253
|
-
# [1]: http://wikipedia.org/wiki/regex
|
1239
|
+
# IAM user, group, role, and policy names must be unique within the
|
1240
|
+
# account. Names are not distinguished by case. For example, you cannot
|
1241
|
+
# create resources named both "MyResource" and "myresource".
|
1254
1242
|
#
|
1255
1243
|
# @option params [String] :path
|
1256
1244
|
# The path for the policy.
|
@@ -1277,6 +1265,11 @@ module Aws::IAM
|
|
1277
1265
|
# The JSON policy document that you want to use as the content for the
|
1278
1266
|
# new policy.
|
1279
1267
|
#
|
1268
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
1269
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
1270
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
1271
|
+
# policy to JSON format before submitting it to IAM.
|
1272
|
+
#
|
1280
1273
|
# The [regex pattern][1] used to validate this parameter is a string of
|
1281
1274
|
# characters consisting of the following:
|
1282
1275
|
#
|
@@ -1371,6 +1364,11 @@ module Aws::IAM
|
|
1371
1364
|
# The JSON policy document that you want to use as the content for this
|
1372
1365
|
# new version of the policy.
|
1373
1366
|
#
|
1367
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
1368
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
1369
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
1370
|
+
# policy to JSON format before submitting it to IAM.
|
1371
|
+
#
|
1374
1372
|
# The [regex pattern][1] used to validate this parameter is a string of
|
1375
1373
|
# characters consisting of the following:
|
1376
1374
|
#
|
@@ -1462,22 +1460,19 @@ module Aws::IAM
|
|
1462
1460
|
# @option params [required, String] :role_name
|
1463
1461
|
# The name of the role to create.
|
1464
1462
|
#
|
1465
|
-
#
|
1466
|
-
#
|
1467
|
-
#
|
1468
|
-
# \_+=,.@-
|
1469
|
-
#
|
1470
|
-
# Role names are not distinguished by case. For example, you cannot
|
1471
|
-
# create roles named both "PRODROLE" and "prodrole".
|
1472
|
-
#
|
1473
|
-
#
|
1474
|
-
#
|
1475
|
-
# [1]: http://wikipedia.org/wiki/regex
|
1463
|
+
# IAM user, group, role, and policy names must be unique within the
|
1464
|
+
# account. Names are not distinguished by case. For example, you cannot
|
1465
|
+
# create resources named both "MyResource" and "myresource".
|
1476
1466
|
#
|
1477
1467
|
# @option params [required, String] :assume_role_policy_document
|
1478
1468
|
# The trust relationship policy document that grants an entity
|
1479
1469
|
# permission to assume the role.
|
1480
1470
|
#
|
1471
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
1472
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
1473
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
1474
|
+
# policy to JSON format before submitting it to IAM.
|
1475
|
+
#
|
1481
1476
|
# The [regex pattern][1] used to validate this parameter is a string of
|
1482
1477
|
# characters consisting of the following:
|
1483
1478
|
#
|
@@ -1875,15 +1870,9 @@ module Aws::IAM
|
|
1875
1870
|
# @option params [required, String] :user_name
|
1876
1871
|
# The name of the user to create.
|
1877
1872
|
#
|
1878
|
-
#
|
1879
|
-
#
|
1880
|
-
#
|
1881
|
-
# \_+=,.@-. User names are not distinguished by case. For example, you
|
1882
|
-
# cannot create users named both "TESTUSER" and "testuser".
|
1883
|
-
#
|
1884
|
-
#
|
1885
|
-
#
|
1886
|
-
# [1]: http://wikipedia.org/wiki/regex
|
1873
|
+
# IAM user, group, role, and policy names must be unique within the
|
1874
|
+
# account. Names are not distinguished by case. For example, you cannot
|
1875
|
+
# create resources named both "MyResource" and "myresource".
|
1887
1876
|
#
|
1888
1877
|
# @option params [String] :permissions_boundary
|
1889
1878
|
# The ARN of the policy that is used to set the permissions boundary for
|
@@ -7927,14 +7916,7 @@ module Aws::IAM
|
|
7927
7916
|
# @option params [required, String] :group_name
|
7928
7917
|
# The name of the group to associate the policy with.
|
7929
7918
|
#
|
7930
|
-
#
|
7931
|
-
# characters consisting of upper and lowercase alphanumeric characters
|
7932
|
-
# with no spaces. You can also include any of the following characters:
|
7933
|
-
# \_+=,.@-
|
7934
|
-
#
|
7935
|
-
#
|
7936
|
-
#
|
7937
|
-
# [1]: http://wikipedia.org/wiki/regex
|
7919
|
+
# &regex-name;.
|
7938
7920
|
#
|
7939
7921
|
# @option params [required, String] :policy_name
|
7940
7922
|
# The name of the policy document.
|
@@ -7951,6 +7933,11 @@ module Aws::IAM
|
|
7951
7933
|
# @option params [required, String] :policy_document
|
7952
7934
|
# The policy document.
|
7953
7935
|
#
|
7936
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
7937
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
7938
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
7939
|
+
# policy to JSON format before submitting it to IAM.
|
7940
|
+
#
|
7954
7941
|
# The [regex pattern][1] used to validate this parameter is a string of
|
7955
7942
|
# characters consisting of the following:
|
7956
7943
|
#
|
@@ -8101,6 +8088,11 @@ module Aws::IAM
|
|
8101
8088
|
# @option params [required, String] :policy_document
|
8102
8089
|
# The policy document.
|
8103
8090
|
#
|
8091
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
8092
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
8093
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
8094
|
+
# policy to JSON format before submitting it to IAM.
|
8095
|
+
#
|
8104
8096
|
# The [regex pattern][1] used to validate this parameter is a string of
|
8105
8097
|
# characters consisting of the following:
|
8106
8098
|
#
|
@@ -8241,6 +8233,11 @@ module Aws::IAM
|
|
8241
8233
|
# @option params [required, String] :policy_document
|
8242
8234
|
# The policy document.
|
8243
8235
|
#
|
8236
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
8237
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
8238
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
8239
|
+
# policy to JSON format before submitting it to IAM.
|
8240
|
+
#
|
8244
8241
|
# The [regex pattern][1] used to validate this parameter is a string of
|
8245
8242
|
# characters consisting of the following:
|
8246
8243
|
#
|
@@ -9803,6 +9800,11 @@ module Aws::IAM
|
|
9803
9800
|
# @option params [required, String] :policy_document
|
9804
9801
|
# The policy that grants an entity permission to assume the role.
|
9805
9802
|
#
|
9803
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
9804
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
9805
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
9806
|
+
# policy to JSON format before submitting it to IAM.
|
9807
|
+
#
|
9806
9808
|
# The [regex pattern][1] used to validate this parameter is a string of
|
9807
9809
|
# characters consisting of the following:
|
9808
9810
|
#
|
@@ -9900,14 +9902,9 @@ module Aws::IAM
|
|
9900
9902
|
# New name for the IAM group. Only include this if changing the group's
|
9901
9903
|
# name.
|
9902
9904
|
#
|
9903
|
-
#
|
9904
|
-
#
|
9905
|
-
#
|
9906
|
-
# \_+=,.@-
|
9907
|
-
#
|
9908
|
-
#
|
9909
|
-
#
|
9910
|
-
# [1]: http://wikipedia.org/wiki/regex
|
9905
|
+
# IAM user, group, role, and policy names must be unique within the
|
9906
|
+
# account. Names are not distinguished by case. For example, you cannot
|
9907
|
+
# create resources named both "MyResource" and "myresource".
|
9911
9908
|
#
|
9912
9909
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
9913
9910
|
#
|
@@ -10546,14 +10543,9 @@ module Aws::IAM
|
|
10546
10543
|
# New name for the user. Include this parameter only if you're changing
|
10547
10544
|
# the user's name.
|
10548
10545
|
#
|
10549
|
-
#
|
10550
|
-
#
|
10551
|
-
#
|
10552
|
-
# \_+=,.@-
|
10553
|
-
#
|
10554
|
-
#
|
10555
|
-
#
|
10556
|
-
# [1]: http://wikipedia.org/wiki/regex
|
10546
|
+
# IAM user, group, role, and policy names must be unique within the
|
10547
|
+
# account. Names are not distinguished by case. For example, you cannot
|
10548
|
+
# create resources named both "MyResource" and "myresource".
|
10557
10549
|
#
|
10558
10550
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
10559
10551
|
#
|
@@ -10968,7 +10960,7 @@ module Aws::IAM
|
|
10968
10960
|
params: params,
|
10969
10961
|
config: config)
|
10970
10962
|
context[:gem_name] = 'aws-sdk-iam'
|
10971
|
-
context[:gem_version] = '1.
|
10963
|
+
context[:gem_version] = '1.20.0'
|
10972
10964
|
Seahorse::Client::Request.new(handlers, context)
|
10973
10965
|
end
|
10974
10966
|
|
data/lib/aws-sdk-iam/group.rb
CHANGED
@@ -311,6 +311,11 @@ module Aws::IAM
|
|
311
311
|
# @option options [required, String] :policy_document
|
312
312
|
# The policy document.
|
313
313
|
#
|
314
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
315
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
316
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
317
|
+
# policy to JSON format before submitting it to IAM.
|
318
|
+
#
|
314
319
|
# The [regex pattern][1] used to validate this parameter is a string of
|
315
320
|
# characters consisting of the following:
|
316
321
|
#
|
@@ -419,14 +424,9 @@ module Aws::IAM
|
|
419
424
|
# New name for the IAM group. Only include this if changing the group's
|
420
425
|
# name.
|
421
426
|
#
|
422
|
-
#
|
423
|
-
#
|
424
|
-
#
|
425
|
-
# \_+=,.@-
|
426
|
-
#
|
427
|
-
#
|
428
|
-
#
|
429
|
-
# [1]: http://wikipedia.org/wiki/regex
|
427
|
+
# IAM user, group, role, and policy names must be unique within the
|
428
|
+
# account. Names are not distinguished by case. For example, you cannot
|
429
|
+
# create resources named both "MyResource" and "myresource".
|
430
430
|
# @return [Group]
|
431
431
|
def update(options = {})
|
432
432
|
options = options.merge(group_name: @name)
|
@@ -40,6 +40,11 @@ module Aws::IAM
|
|
40
40
|
alias :policy_name :name
|
41
41
|
|
42
42
|
# The policy document.
|
43
|
+
#
|
44
|
+
# IAM stores policies in JSON format. However, resources that were
|
45
|
+
# created using AWS CloudFormation templates can be formatted in YAML.
|
46
|
+
# AWS CloudFormation always converts a YAML policy to JSON format before
|
47
|
+
# submitting it to IAM.
|
43
48
|
# @return [String]
|
44
49
|
def policy_document
|
45
50
|
data[:policy_document]
|
@@ -203,6 +208,11 @@ module Aws::IAM
|
|
203
208
|
# @option options [required, String] :policy_document
|
204
209
|
# The policy document.
|
205
210
|
#
|
211
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
212
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
213
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
214
|
+
# policy to JSON format before submitting it to IAM.
|
215
|
+
#
|
206
216
|
# The [regex pattern][1] used to validate this parameter is a string of
|
207
217
|
# characters consisting of the following:
|
208
218
|
#
|
data/lib/aws-sdk-iam/policy.rb
CHANGED
@@ -350,6 +350,11 @@ module Aws::IAM
|
|
350
350
|
# The JSON policy document that you want to use as the content for this
|
351
351
|
# new version of the policy.
|
352
352
|
#
|
353
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
354
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
355
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
356
|
+
# policy to JSON format before submitting it to IAM.
|
357
|
+
#
|
353
358
|
# The [regex pattern][1] used to validate this parameter is a string of
|
354
359
|
# characters consisting of the following:
|
355
360
|
#
|
data/lib/aws-sdk-iam/resource.rb
CHANGED
@@ -194,16 +194,9 @@ module Aws::IAM
|
|
194
194
|
# The name of the group to create. Do not include the path in this
|
195
195
|
# value.
|
196
196
|
#
|
197
|
-
#
|
198
|
-
#
|
199
|
-
#
|
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".
|
203
|
-
#
|
204
|
-
#
|
205
|
-
#
|
206
|
-
# [1]: http://wikipedia.org/wiki/regex
|
197
|
+
# IAM user, group, role, and policy names must be unique within the
|
198
|
+
# account. Names are not distinguished by case. For example, you cannot
|
199
|
+
# create resources named both "MyResource" and "myresource".
|
207
200
|
# @return [Group]
|
208
201
|
def create_group(options = {})
|
209
202
|
resp = @client.create_group(options)
|
@@ -272,14 +265,9 @@ module Aws::IAM
|
|
272
265
|
# @option options [required, String] :policy_name
|
273
266
|
# The friendly name of the policy.
|
274
267
|
#
|
275
|
-
#
|
276
|
-
#
|
277
|
-
#
|
278
|
-
# \_+=,.@-
|
279
|
-
#
|
280
|
-
#
|
281
|
-
#
|
282
|
-
# [1]: http://wikipedia.org/wiki/regex
|
268
|
+
# IAM user, group, role, and policy names must be unique within the
|
269
|
+
# account. Names are not distinguished by case. For example, you cannot
|
270
|
+
# create resources named both "MyResource" and "myresource".
|
283
271
|
# @option options [String] :path
|
284
272
|
# The path for the policy.
|
285
273
|
#
|
@@ -304,6 +292,11 @@ module Aws::IAM
|
|
304
292
|
# The JSON policy document that you want to use as the content for the
|
305
293
|
# new policy.
|
306
294
|
#
|
295
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
296
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
297
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
298
|
+
# policy to JSON format before submitting it to IAM.
|
299
|
+
#
|
307
300
|
# The [regex pattern][1] used to validate this parameter is a string of
|
308
301
|
# characters consisting of the following:
|
309
302
|
#
|
@@ -375,21 +368,18 @@ module Aws::IAM
|
|
375
368
|
# @option options [required, String] :role_name
|
376
369
|
# The name of the role to create.
|
377
370
|
#
|
378
|
-
#
|
379
|
-
#
|
380
|
-
#
|
381
|
-
# \_+=,.@-
|
382
|
-
#
|
383
|
-
# Role names are not distinguished by case. For example, you cannot
|
384
|
-
# create roles named both "PRODROLE" and "prodrole".
|
385
|
-
#
|
386
|
-
#
|
387
|
-
#
|
388
|
-
# [1]: http://wikipedia.org/wiki/regex
|
371
|
+
# IAM user, group, role, and policy names must be unique within the
|
372
|
+
# account. Names are not distinguished by case. For example, you cannot
|
373
|
+
# create resources named both "MyResource" and "myresource".
|
389
374
|
# @option options [required, String] :assume_role_policy_document
|
390
375
|
# The trust relationship policy document that grants an entity
|
391
376
|
# permission to assume the role.
|
392
377
|
#
|
378
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
379
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
380
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
381
|
+
# policy to JSON format before submitting it to IAM.
|
382
|
+
#
|
393
383
|
# The [regex pattern][1] used to validate this parameter is a string of
|
394
384
|
# characters consisting of the following:
|
395
385
|
#
|
@@ -686,15 +676,9 @@ module Aws::IAM
|
|
686
676
|
# @option options [required, String] :user_name
|
687
677
|
# The name of the user to create.
|
688
678
|
#
|
689
|
-
#
|
690
|
-
#
|
691
|
-
#
|
692
|
-
# \_+=,.@-. User names are not distinguished by case. For example, you
|
693
|
-
# cannot create users named both "TESTUSER" and "testuser".
|
694
|
-
#
|
695
|
-
#
|
696
|
-
#
|
697
|
-
# [1]: http://wikipedia.org/wiki/regex
|
679
|
+
# IAM user, group, role, and policy names must be unique within the
|
680
|
+
# account. Names are not distinguished by case. For example, you cannot
|
681
|
+
# create resources named both "MyResource" and "myresource".
|
698
682
|
# @option options [String] :permissions_boundary
|
699
683
|
# The ARN of the policy that is used to set the permissions boundary for
|
700
684
|
# the user.
|
@@ -40,6 +40,11 @@ module Aws::IAM
|
|
40
40
|
alias :policy_name :name
|
41
41
|
|
42
42
|
# The policy document.
|
43
|
+
#
|
44
|
+
# IAM stores policies in JSON format. However, resources that were
|
45
|
+
# created using AWS CloudFormation templates can be formatted in YAML.
|
46
|
+
# AWS CloudFormation always converts a YAML policy to JSON format before
|
47
|
+
# submitting it to IAM.
|
43
48
|
# @return [String]
|
44
49
|
def policy_document
|
45
50
|
data[:policy_document]
|
@@ -203,6 +208,11 @@ module Aws::IAM
|
|
203
208
|
# @option options [required, String] :policy_document
|
204
209
|
# The policy document.
|
205
210
|
#
|
211
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
212
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
213
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
214
|
+
# policy to JSON format before submitting it to IAM.
|
215
|
+
#
|
206
216
|
# The [regex pattern][1] used to validate this parameter is a string of
|
207
217
|
# characters consisting of the following:
|
208
218
|
#
|
data/lib/aws-sdk-iam/types.rb
CHANGED
@@ -634,16 +634,10 @@ module Aws::IAM
|
|
634
634
|
# The name of the group to create. Do not include the path in this
|
635
635
|
# value.
|
636
636
|
#
|
637
|
-
#
|
638
|
-
#
|
639
|
-
#
|
640
|
-
#
|
641
|
-
# account. Group names are not distinguished by case. For example, you
|
642
|
-
# cannot create groups named both "ADMINS" and "admins".
|
643
|
-
#
|
644
|
-
#
|
645
|
-
#
|
646
|
-
# [1]: http://wikipedia.org/wiki/regex
|
637
|
+
# IAM user, group, role, and policy names must be unique within the
|
638
|
+
# account. Names are not distinguished by case. For example, you
|
639
|
+
# cannot create resources named both "MyResource" and
|
640
|
+
# "myresource".
|
647
641
|
# @return [String]
|
648
642
|
#
|
649
643
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateGroupRequest AWS API Documentation
|
@@ -902,14 +896,10 @@ module Aws::IAM
|
|
902
896
|
# @!attribute [rw] policy_name
|
903
897
|
# The friendly name of the policy.
|
904
898
|
#
|
905
|
-
#
|
906
|
-
#
|
907
|
-
#
|
908
|
-
#
|
909
|
-
#
|
910
|
-
#
|
911
|
-
#
|
912
|
-
# [1]: http://wikipedia.org/wiki/regex
|
899
|
+
# IAM user, group, role, and policy names must be unique within the
|
900
|
+
# account. Names are not distinguished by case. For example, you
|
901
|
+
# cannot create resources named both "MyResource" and
|
902
|
+
# "myresource".
|
913
903
|
# @return [String]
|
914
904
|
#
|
915
905
|
# @!attribute [rw] path
|
@@ -938,6 +928,11 @@ module Aws::IAM
|
|
938
928
|
# The JSON policy document that you want to use as the content for the
|
939
929
|
# new policy.
|
940
930
|
#
|
931
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
932
|
+
# CloudFormation templates formatted in YAML, you can provide the
|
933
|
+
# policy in JSON or YAML format. AWS CloudFormation always converts a
|
934
|
+
# YAML policy to JSON format before submitting it to IAM.
|
935
|
+
#
|
941
936
|
# The [regex pattern][1] used to validate this parameter is a string
|
942
937
|
# of characters consisting of the following:
|
943
938
|
#
|
@@ -1014,6 +1009,11 @@ module Aws::IAM
|
|
1014
1009
|
# The JSON policy document that you want to use as the content for
|
1015
1010
|
# this new version of the policy.
|
1016
1011
|
#
|
1012
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
1013
|
+
# CloudFormation templates formatted in YAML, you can provide the
|
1014
|
+
# policy in JSON or YAML format. AWS CloudFormation always converts a
|
1015
|
+
# YAML policy to JSON format before submitting it to IAM.
|
1016
|
+
#
|
1017
1017
|
# The [regex pattern][1] used to validate this parameter is a string
|
1018
1018
|
# of characters consisting of the following:
|
1019
1019
|
#
|
@@ -1110,23 +1110,21 @@ module Aws::IAM
|
|
1110
1110
|
# @!attribute [rw] role_name
|
1111
1111
|
# The name of the role to create.
|
1112
1112
|
#
|
1113
|
-
#
|
1114
|
-
#
|
1115
|
-
#
|
1116
|
-
#
|
1117
|
-
#
|
1118
|
-
# Role names are not distinguished by case. For example, you cannot
|
1119
|
-
# create roles named both "PRODROLE" and "prodrole".
|
1120
|
-
#
|
1121
|
-
#
|
1122
|
-
#
|
1123
|
-
# [1]: http://wikipedia.org/wiki/regex
|
1113
|
+
# IAM user, group, role, and policy names must be unique within the
|
1114
|
+
# account. Names are not distinguished by case. For example, you
|
1115
|
+
# cannot create resources named both "MyResource" and
|
1116
|
+
# "myresource".
|
1124
1117
|
# @return [String]
|
1125
1118
|
#
|
1126
1119
|
# @!attribute [rw] assume_role_policy_document
|
1127
1120
|
# The trust relationship policy document that grants an entity
|
1128
1121
|
# permission to assume the role.
|
1129
1122
|
#
|
1123
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
1124
|
+
# CloudFormation templates formatted in YAML, you can provide the
|
1125
|
+
# policy in JSON or YAML format. AWS CloudFormation always converts a
|
1126
|
+
# YAML policy to JSON format before submitting it to IAM.
|
1127
|
+
#
|
1130
1128
|
# The [regex pattern][1] used to validate this parameter is a string
|
1131
1129
|
# of characters consisting of the following:
|
1132
1130
|
#
|
@@ -1433,16 +1431,10 @@ module Aws::IAM
|
|
1433
1431
|
# @!attribute [rw] user_name
|
1434
1432
|
# The name of the user to create.
|
1435
1433
|
#
|
1436
|
-
#
|
1437
|
-
#
|
1438
|
-
#
|
1439
|
-
#
|
1440
|
-
# example, you cannot create users named both "TESTUSER" and
|
1441
|
-
# "testuser".
|
1442
|
-
#
|
1443
|
-
#
|
1444
|
-
#
|
1445
|
-
# [1]: http://wikipedia.org/wiki/regex
|
1434
|
+
# IAM user, group, role, and policy names must be unique within the
|
1435
|
+
# account. Names are not distinguished by case. For example, you
|
1436
|
+
# cannot create resources named both "MyResource" and
|
1437
|
+
# "myresource".
|
1446
1438
|
# @return [String]
|
1447
1439
|
#
|
1448
1440
|
# @!attribute [rw] permissions_boundary
|
@@ -3110,6 +3102,11 @@ module Aws::IAM
|
|
3110
3102
|
#
|
3111
3103
|
# @!attribute [rw] policy_document
|
3112
3104
|
# The policy document.
|
3105
|
+
#
|
3106
|
+
# IAM stores policies in JSON format. However, resources that were
|
3107
|
+
# created using AWS CloudFormation templates can be formatted in YAML.
|
3108
|
+
# AWS CloudFormation always converts a YAML policy to JSON format
|
3109
|
+
# before submitting it to IAM.
|
3113
3110
|
# @return [String]
|
3114
3111
|
#
|
3115
3112
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetGroupPolicyResponse AWS API Documentation
|
@@ -3498,6 +3495,11 @@ module Aws::IAM
|
|
3498
3495
|
#
|
3499
3496
|
# @!attribute [rw] policy_document
|
3500
3497
|
# The policy document.
|
3498
|
+
#
|
3499
|
+
# IAM stores policies in JSON format. However, resources that were
|
3500
|
+
# created using AWS CloudFormation templates can be formatted in YAML.
|
3501
|
+
# AWS CloudFormation always converts a YAML policy to JSON format
|
3502
|
+
# before submitting it to IAM.
|
3501
3503
|
# @return [String]
|
3502
3504
|
#
|
3503
3505
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRolePolicyResponse AWS API Documentation
|
@@ -4026,6 +4028,11 @@ module Aws::IAM
|
|
4026
4028
|
#
|
4027
4029
|
# @!attribute [rw] policy_document
|
4028
4030
|
# The policy document.
|
4031
|
+
#
|
4032
|
+
# IAM stores policies in JSON format. However, resources that were
|
4033
|
+
# created using AWS CloudFormation templates can be formatted in YAML.
|
4034
|
+
# AWS CloudFormation always converts a YAML policy to JSON format
|
4035
|
+
# before submitting it to IAM.
|
4029
4036
|
# @return [String]
|
4030
4037
|
#
|
4031
4038
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetUserPolicyResponse AWS API Documentation
|
@@ -7374,14 +7381,7 @@ module Aws::IAM
|
|
7374
7381
|
# @!attribute [rw] group_name
|
7375
7382
|
# The name of the group to associate the policy with.
|
7376
7383
|
#
|
7377
|
-
#
|
7378
|
-
# characters consisting of upper and lowercase alphanumeric characters
|
7379
|
-
# with no spaces. You can also include any of the following
|
7380
|
-
# characters: \_+=,.@-
|
7381
|
-
#
|
7382
|
-
#
|
7383
|
-
#
|
7384
|
-
# [1]: http://wikipedia.org/wiki/regex
|
7384
|
+
# &regex-name;.
|
7385
7385
|
# @return [String]
|
7386
7386
|
#
|
7387
7387
|
# @!attribute [rw] policy_name
|
@@ -7400,6 +7400,11 @@ module Aws::IAM
|
|
7400
7400
|
# @!attribute [rw] policy_document
|
7401
7401
|
# The policy document.
|
7402
7402
|
#
|
7403
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
7404
|
+
# CloudFormation templates formatted in YAML, you can provide the
|
7405
|
+
# policy in JSON or YAML format. AWS CloudFormation always converts a
|
7406
|
+
# YAML policy to JSON format before submitting it to IAM.
|
7407
|
+
#
|
7403
7408
|
# The [regex pattern][1] used to validate this parameter is a string
|
7404
7409
|
# of characters consisting of the following:
|
7405
7410
|
#
|
@@ -7490,6 +7495,11 @@ module Aws::IAM
|
|
7490
7495
|
# @!attribute [rw] policy_document
|
7491
7496
|
# The policy document.
|
7492
7497
|
#
|
7498
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
7499
|
+
# CloudFormation templates formatted in YAML, you can provide the
|
7500
|
+
# policy in JSON or YAML format. AWS CloudFormation always converts a
|
7501
|
+
# YAML policy to JSON format before submitting it to IAM.
|
7502
|
+
#
|
7493
7503
|
# The [regex pattern][1] used to validate this parameter is a string
|
7494
7504
|
# of characters consisting of the following:
|
7495
7505
|
#
|
@@ -7580,6 +7590,11 @@ module Aws::IAM
|
|
7580
7590
|
# @!attribute [rw] policy_document
|
7581
7591
|
# The policy document.
|
7582
7592
|
#
|
7593
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
7594
|
+
# CloudFormation templates formatted in YAML, you can provide the
|
7595
|
+
# policy in JSON or YAML format. AWS CloudFormation always converts a
|
7596
|
+
# YAML policy to JSON format before submitting it to IAM.
|
7597
|
+
#
|
7583
7598
|
# The [regex pattern][1] used to validate this parameter is a string
|
7584
7599
|
# of characters consisting of the following:
|
7585
7600
|
#
|
@@ -9521,6 +9536,11 @@ module Aws::IAM
|
|
9521
9536
|
# @!attribute [rw] policy_document
|
9522
9537
|
# The policy that grants an entity permission to assume the role.
|
9523
9538
|
#
|
9539
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
9540
|
+
# CloudFormation templates formatted in YAML, you can provide the
|
9541
|
+
# policy in JSON or YAML format. AWS CloudFormation always converts a
|
9542
|
+
# YAML policy to JSON format before submitting it to IAM.
|
9543
|
+
#
|
9524
9544
|
# The [regex pattern][1] used to validate this parameter is a string
|
9525
9545
|
# of characters consisting of the following:
|
9526
9546
|
#
|
@@ -9589,14 +9609,10 @@ module Aws::IAM
|
|
9589
9609
|
# New name for the IAM group. Only include this if changing the
|
9590
9610
|
# group's name.
|
9591
9611
|
#
|
9592
|
-
#
|
9593
|
-
#
|
9594
|
-
#
|
9595
|
-
#
|
9596
|
-
#
|
9597
|
-
#
|
9598
|
-
#
|
9599
|
-
# [1]: http://wikipedia.org/wiki/regex
|
9612
|
+
# IAM user, group, role, and policy names must be unique within the
|
9613
|
+
# account. Names are not distinguished by case. For example, you
|
9614
|
+
# cannot create resources named both "MyResource" and
|
9615
|
+
# "myresource".
|
9600
9616
|
# @return [String]
|
9601
9617
|
#
|
9602
9618
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateGroupRequest AWS API Documentation
|
@@ -10094,14 +10110,10 @@ module Aws::IAM
|
|
10094
10110
|
# New name for the user. Include this parameter only if you're
|
10095
10111
|
# changing the user's name.
|
10096
10112
|
#
|
10097
|
-
#
|
10098
|
-
#
|
10099
|
-
#
|
10100
|
-
#
|
10101
|
-
#
|
10102
|
-
#
|
10103
|
-
#
|
10104
|
-
# [1]: http://wikipedia.org/wiki/regex
|
10113
|
+
# IAM user, group, role, and policy names must be unique within the
|
10114
|
+
# account. Names are not distinguished by case. For example, you
|
10115
|
+
# cannot create resources named both "MyResource" and
|
10116
|
+
# "myresource".
|
10105
10117
|
# @return [String]
|
10106
10118
|
#
|
10107
10119
|
# @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateUserRequest AWS API Documentation
|
data/lib/aws-sdk-iam/user.rb
CHANGED
@@ -475,6 +475,11 @@ module Aws::IAM
|
|
475
475
|
# @option options [required, String] :policy_document
|
476
476
|
# The policy document.
|
477
477
|
#
|
478
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
479
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
480
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
481
|
+
# policy to JSON format before submitting it to IAM.
|
482
|
+
#
|
478
483
|
# The [regex pattern][1] used to validate this parameter is a string of
|
479
484
|
# characters consisting of the following:
|
480
485
|
#
|
@@ -644,14 +649,9 @@ module Aws::IAM
|
|
644
649
|
# New name for the user. Include this parameter only if you're changing
|
645
650
|
# the user's name.
|
646
651
|
#
|
647
|
-
#
|
648
|
-
#
|
649
|
-
#
|
650
|
-
# \_+=,.@-
|
651
|
-
#
|
652
|
-
#
|
653
|
-
#
|
654
|
-
# [1]: http://wikipedia.org/wiki/regex
|
652
|
+
# IAM user, group, role, and policy names must be unique within the
|
653
|
+
# account. Names are not distinguished by case. For example, you cannot
|
654
|
+
# create resources named both "MyResource" and "myresource".
|
655
655
|
# @return [User]
|
656
656
|
def update(options = {})
|
657
657
|
options = options.merge(user_name: @name)
|
@@ -40,6 +40,11 @@ module Aws::IAM
|
|
40
40
|
alias :policy_name :name
|
41
41
|
|
42
42
|
# The policy document.
|
43
|
+
#
|
44
|
+
# IAM stores policies in JSON format. However, resources that were
|
45
|
+
# created using AWS CloudFormation templates can be formatted in YAML.
|
46
|
+
# AWS CloudFormation always converts a YAML policy to JSON format before
|
47
|
+
# submitting it to IAM.
|
43
48
|
# @return [String]
|
44
49
|
def policy_document
|
45
50
|
data[:policy_document]
|
@@ -203,6 +208,11 @@ module Aws::IAM
|
|
203
208
|
# @option options [required, String] :policy_document
|
204
209
|
# The policy document.
|
205
210
|
#
|
211
|
+
# You must provide policies in JSON format in IAM. However, for AWS
|
212
|
+
# CloudFormation templates formatted in YAML, you can provide the policy
|
213
|
+
# in JSON or YAML format. AWS CloudFormation always converts a YAML
|
214
|
+
# policy to JSON format before submitting it to IAM.
|
215
|
+
#
|
206
216
|
# The [regex pattern][1] used to validate this parameter is a string of
|
207
217
|
# characters consisting of the following:
|
208
218
|
#
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-iam
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|