aws-sdk-iam 1.23.0 → 1.24.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/client.rb +12 -8
- data/lib/aws-sdk-iam/instance_profile.rb +2 -2
- data/lib/aws-sdk-iam/resource.rb +8 -4
- data/lib/aws-sdk-iam/types.rb +8 -4
- data/lib/aws-sdk-iam/user.rb +2 -2
- 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: f49a9d68b2f3d3a3222370c550321d80fc4ba2fb
|
4
|
+
data.tar.gz: d3379e5074d8c343764d9b57c88f00250098d125
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d44ab84da9fc333c81b139876a27f99de4b5163f42949e124ef1b099e513991a5d4c80269f26573ad70af2e76c604b1cb616eb849add80e922fd77e17cdc481a
|
7
|
+
data.tar.gz: 73856e49f6e41ae7422c4877e255b02119755d1edc3b35ce05337483b803e0b0d055ade344f2eb61f07ebd4cb10b4b6b8f4a44d206524d28742005487f48bc23
|
data/lib/aws-sdk-iam.rb
CHANGED
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -1470,10 +1470,11 @@ module Aws::IAM
|
|
1470
1470
|
# The trust relationship policy document that grants an entity
|
1471
1471
|
# permission to assume the role.
|
1472
1472
|
#
|
1473
|
-
#
|
1474
|
-
# CloudFormation templates formatted in YAML,
|
1475
|
-
# in JSON or YAML format. AWS CloudFormation
|
1476
|
-
# policy to JSON format before submitting it to
|
1473
|
+
# in IAM, you must provide a JSON policy that has been converted to a
|
1474
|
+
# string. However, for AWS CloudFormation templates formatted in YAML,
|
1475
|
+
# you can provide the policy in JSON or YAML format. AWS CloudFormation
|
1476
|
+
# always converts a YAML policy to JSON format before submitting it to
|
1477
|
+
# IAM.
|
1477
1478
|
#
|
1478
1479
|
# The [regex pattern][1] used to validate this parameter is a string of
|
1479
1480
|
# characters consisting of the following:
|
@@ -1487,6 +1488,9 @@ module Aws::IAM
|
|
1487
1488
|
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
1488
1489
|
# carriage return (\\u000D)
|
1489
1490
|
#
|
1491
|
+
# Upon success, the response includes the same trust policy as a
|
1492
|
+
# URL-encoded JSON string.
|
1493
|
+
#
|
1490
1494
|
#
|
1491
1495
|
#
|
1492
1496
|
# [1]: http://wikipedia.org/wiki/regex
|
@@ -1542,11 +1546,11 @@ module Aws::IAM
|
|
1542
1546
|
#
|
1543
1547
|
# @example Example: To create an IAM role
|
1544
1548
|
#
|
1545
|
-
# # The following command creates a role named Test-Role and attaches a trust policy
|
1546
|
-
# # JSON string.
|
1549
|
+
# # The following command creates a role named Test-Role and attaches a trust policy that you must convert from JSON to a
|
1550
|
+
# # string. Upon success, the response includes the same policy as a URL-encoded JSON string.
|
1547
1551
|
#
|
1548
1552
|
# resp = client.create_role({
|
1549
|
-
# assume_role_policy_document: "<
|
1553
|
+
# assume_role_policy_document: "<Stringified-JSON>",
|
1550
1554
|
# path: "/",
|
1551
1555
|
# role_name: "Test-Role",
|
1552
1556
|
# })
|
@@ -10962,7 +10966,7 @@ module Aws::IAM
|
|
10962
10966
|
params: params,
|
10963
10967
|
config: config)
|
10964
10968
|
context[:gem_name] = 'aws-sdk-iam'
|
10965
|
-
context[:gem_version] = '1.
|
10969
|
+
context[:gem_version] = '1.24.0'
|
10966
10970
|
Seahorse::Client::Request.new(handlers, context)
|
10967
10971
|
end
|
10968
10972
|
|
@@ -127,10 +127,10 @@ module Aws::IAM
|
|
127
127
|
# @option options [Proc] :before_attempt
|
128
128
|
# @option options [Proc] :before_wait
|
129
129
|
# @return [InstanceProfile]
|
130
|
-
def wait_until_exists(options = {})
|
130
|
+
def wait_until_exists(options = {}, &block)
|
131
131
|
options, params = separate_params_and_options(options)
|
132
132
|
waiter = Waiters::InstanceProfileExists.new(options)
|
133
|
-
yield_waiter_and_warn(waiter, &
|
133
|
+
yield_waiter_and_warn(waiter, &block) if block_given?
|
134
134
|
waiter.wait(params.merge(instance_profile_name: @name))
|
135
135
|
InstanceProfile.new({
|
136
136
|
name: @name,
|
data/lib/aws-sdk-iam/resource.rb
CHANGED
@@ -375,10 +375,11 @@ module Aws::IAM
|
|
375
375
|
# The trust relationship policy document that grants an entity
|
376
376
|
# permission to assume the role.
|
377
377
|
#
|
378
|
-
#
|
379
|
-
# CloudFormation templates formatted in YAML,
|
380
|
-
# in JSON or YAML format. AWS CloudFormation
|
381
|
-
# policy to JSON format before submitting it to
|
378
|
+
# in IAM, you must provide a JSON policy that has been converted to a
|
379
|
+
# string. However, for AWS CloudFormation templates formatted in YAML,
|
380
|
+
# you can provide the policy in JSON or YAML format. AWS CloudFormation
|
381
|
+
# always converts a YAML policy to JSON format before submitting it to
|
382
|
+
# IAM.
|
382
383
|
#
|
383
384
|
# The [regex pattern][1] used to validate this parameter is a string of
|
384
385
|
# characters consisting of the following:
|
@@ -392,6 +393,9 @@ module Aws::IAM
|
|
392
393
|
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
393
394
|
# carriage return (\\u000D)
|
394
395
|
#
|
396
|
+
# Upon success, the response includes the same trust policy as a
|
397
|
+
# URL-encoded JSON string.
|
398
|
+
#
|
395
399
|
#
|
396
400
|
#
|
397
401
|
# [1]: http://wikipedia.org/wiki/regex
|
data/lib/aws-sdk-iam/types.rb
CHANGED
@@ -1134,10 +1134,11 @@ module Aws::IAM
|
|
1134
1134
|
# The trust relationship policy document that grants an entity
|
1135
1135
|
# permission to assume the role.
|
1136
1136
|
#
|
1137
|
-
#
|
1138
|
-
# CloudFormation templates formatted in YAML,
|
1139
|
-
# policy in JSON or YAML format. AWS
|
1140
|
-
# YAML policy to JSON format before
|
1137
|
+
# in IAM, you must provide a JSON policy that has been converted to a
|
1138
|
+
# string. However, for AWS CloudFormation templates formatted in YAML,
|
1139
|
+
# you can provide the policy in JSON or YAML format. AWS
|
1140
|
+
# CloudFormation always converts a YAML policy to JSON format before
|
1141
|
+
# submitting it to IAM.
|
1141
1142
|
#
|
1142
1143
|
# The [regex pattern][1] used to validate this parameter is a string
|
1143
1144
|
# of characters consisting of the following:
|
@@ -1151,6 +1152,9 @@ module Aws::IAM
|
|
1151
1152
|
# * The special characters tab (\\u0009), line feed (\\u000A), and
|
1152
1153
|
# carriage return (\\u000D)
|
1153
1154
|
#
|
1155
|
+
# Upon success, the response includes the same trust policy as a
|
1156
|
+
# URL-encoded JSON string.
|
1157
|
+
#
|
1154
1158
|
#
|
1155
1159
|
#
|
1156
1160
|
# [1]: http://wikipedia.org/wiki/regex
|
data/lib/aws-sdk-iam/user.rb
CHANGED
@@ -187,10 +187,10 @@ module Aws::IAM
|
|
187
187
|
# @option options [Proc] :before_attempt
|
188
188
|
# @option options [Proc] :before_wait
|
189
189
|
# @return [User]
|
190
|
-
def wait_until_exists(options = {})
|
190
|
+
def wait_until_exists(options = {}, &block)
|
191
191
|
options, params = separate_params_and_options(options)
|
192
192
|
waiter = Waiters::UserExists.new(options)
|
193
|
-
yield_waiter_and_warn(waiter, &
|
193
|
+
yield_waiter_and_warn(waiter, &block) if block_given?
|
194
194
|
waiter.wait(params.merge(user_name: @name))
|
195
195
|
User.new({
|
196
196
|
name: @name,
|
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.24.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-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|