aws-sdk-iam 1.23.0 → 1.24.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5bdd0fe53b04759dddfb26ecbd76747e702974b1
4
- data.tar.gz: 145a91719641f27fc09cadd2fca66addaad63af2
3
+ metadata.gz: f49a9d68b2f3d3a3222370c550321d80fc4ba2fb
4
+ data.tar.gz: d3379e5074d8c343764d9b57c88f00250098d125
5
5
  SHA512:
6
- metadata.gz: 210a457d823533042513c09b0dab2356351696524c98c92361c9f709bc8aa4903ef1e5dbfb153acfb0496aca70c78ee0e736713a6a704ae8e29e56f86630ee6c
7
- data.tar.gz: 016df43dd92c838c69af03ce70f75311ff01ecd279836ab54d83c687f423a0760a5c1d2d26672dd3b9175b9e607d097ca11ba2ee971b564f61123a1ed6ac3832
6
+ metadata.gz: d44ab84da9fc333c81b139876a27f99de4b5163f42949e124ef1b099e513991a5d4c80269f26573ad70af2e76c604b1cb616eb849add80e922fd77e17cdc481a
7
+ data.tar.gz: 73856e49f6e41ae7422c4877e255b02119755d1edc3b35ce05337483b803e0b0d055ade344f2eb61f07ebd4cb10b4b6b8f4a44d206524d28742005487f48bc23
@@ -64,6 +64,6 @@ require_relative 'aws-sdk-iam/customizations'
64
64
  # @service
65
65
  module Aws::IAM
66
66
 
67
- GEM_VERSION = '1.23.0'
67
+ GEM_VERSION = '1.24.0'
68
68
 
69
69
  end
@@ -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
- # You must provide policies in JSON format in IAM. However, for AWS
1474
- # CloudFormation templates formatted in YAML, you can provide the policy
1475
- # in JSON or YAML format. AWS CloudFormation always converts a YAML
1476
- # policy to JSON format before submitting it to IAM.
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 to it that is provided as a URL-encoded
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: "<URL-encoded-JSON>",
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.23.0'
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, &Proc.new) if block_given?
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,
@@ -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
- # 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.
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
@@ -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
- # You must provide policies in JSON format in IAM. However, for AWS
1138
- # CloudFormation templates formatted in YAML, you can provide the
1139
- # policy in JSON or YAML format. AWS CloudFormation always converts a
1140
- # YAML policy to JSON format before submitting it to IAM.
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
@@ -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, &Proc.new) if block_given?
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.23.0
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-05-21 00:00:00.000000000 Z
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