aws-sdk-iam 1.41.0 → 1.46.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 887c00097ed2c5a7bf9b0baff92a38e83511cdbd3f26748b53c6369472a4cb2c
4
- data.tar.gz: 888d9443d86b854046b76237110eb555aab9e45d718325cfddd5107214eaa897
3
+ metadata.gz: 517da0251bc32080242288f879b54fe0b43cdd39c5bca82d335ab9ad9fe1c8d0
4
+ data.tar.gz: 63cbea3615de71d198ea6828c2d752f8f1b4a111f1a49812c8504c62eb68c34a
5
5
  SHA512:
6
- metadata.gz: cad2b479df05307c9b66037859e202383a0d9389cbe72cf2cbc5c01b976cf40195ce8dfef5fdeb4789af58c4b3831667f4c63273e36f43e79aa02d6c6d5f9da0
7
- data.tar.gz: 26891edb4ff0c389c93d04c1a58107f4bb7506cc4dfb03aa6887ce27c9b66110db5f265c9aa8bf5a36e20c97dbe8b51ae0f3ac76e35f1c4deed48a06c498498f
6
+ metadata.gz: dfbc5d325af19ec1c44e8a2418c51a9922218461b4999c2c72b8dc89e0f937bdbfc00adb07cb0857e7ff735b990c4cc19793be7bb8aa6083444142a527681767
7
+ data.tar.gz: 32809eb6b47a8832b62fa2cbad14f54ed62d37c1f765477abdfdf3e42ad7294d7a24d70cf25bbcb0d60c58065e76b407b20c0a34584f4f880face95a956347dd
@@ -7,6 +7,7 @@
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
10
+
10
11
  require 'aws-sdk-core'
11
12
  require 'aws-sigv4'
12
13
 
@@ -66,9 +67,9 @@ require_relative 'aws-sdk-iam/customizations'
66
67
  #
67
68
  # See {Errors} for more information.
68
69
  #
69
- # @service
70
+ # @!group service
70
71
  module Aws::IAM
71
72
 
72
- GEM_VERSION = '1.41.0'
73
+ GEM_VERSION = '1.46.0'
73
74
 
74
75
  end
@@ -85,13 +85,28 @@ module Aws::IAM
85
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
86
86
  # credentials.
87
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
88
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
89
103
  # from an EC2 IMDS on an EC2 instance.
90
104
  #
91
- # * `Aws::SharedCredentials` - Used for loading credentials from a
92
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
93
107
  #
94
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
95
110
  #
96
111
  # When `:credentials` are not configured directly, the following
97
112
  # locations will be searched for credentials:
@@ -101,10 +116,10 @@ module Aws::IAM
101
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
102
117
  # * `~/.aws/credentials`
103
118
  # * `~/.aws/config`
104
- # * EC2 IMDS instance profile - When used by default, the timeouts are
105
- # very aggressive. Construct and pass an instance of
106
- # `Aws::InstanceProfileCredentails` to enable retries and extended
107
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
108
123
  #
109
124
  # @option options [required, String] :region
110
125
  # The AWS region to connect to. The configured `:region` is
@@ -358,30 +373,33 @@ module Aws::IAM
358
373
  end
359
374
 
360
375
  # Adds the specified IAM role to the specified instance profile. An
361
- # instance profile can contain only one role, and this limit cannot be
362
- # increased. You can remove the existing role and then add a different
363
- # role to an instance profile. You must then wait for the change to
364
- # appear across all of AWS because of [eventual consistency][1]. To
365
- # force the change, you must [disassociate the instance profile][2] and
366
- # then [associate the instance profile][3], or you can stop your
367
- # instance and then restart it.
376
+ # instance profile can contain only one role. (The number and size of
377
+ # IAM resources in an AWS account are limited. For more information, see
378
+ # [IAM and STS Quotas][1] in the *IAM User Guide*.) You can remove the
379
+ # existing role and then add a different role to an instance profile.
380
+ # You must then wait for the change to appear across all of AWS because
381
+ # of [eventual consistency][2]. To force the change, you must
382
+ # [disassociate the instance profile][3] and then [associate the
383
+ # instance profile][4], or you can stop your instance and then restart
384
+ # it.
368
385
  #
369
386
  # <note markdown="1"> The caller of this API must be granted the `PassRole` permission on
370
387
  # the IAM role by a permissions policy.
371
388
  #
372
389
  # </note>
373
390
  #
374
- # For more information about roles, go to [Working with Roles][4]. For
391
+ # For more information about roles, go to [Working with Roles][5]. For
375
392
  # more information about instance profiles, go to [About Instance
376
- # Profiles][5].
393
+ # Profiles][6].
377
394
  #
378
395
  #
379
396
  #
380
- # [1]: https://en.wikipedia.org/wiki/Eventual_consistency
381
- # [2]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DisassociateIamInstanceProfile.html
382
- # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateIamInstanceProfile.html
383
- # [4]: https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html
384
- # [5]: https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html
397
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
398
+ # [2]: https://en.wikipedia.org/wiki/Eventual_consistency
399
+ # [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DisassociateIamInstanceProfile.html
400
+ # [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateIamInstanceProfile.html
401
+ # [5]: https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html
402
+ # [6]: https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html
385
403
  #
386
404
  # @option params [required, String] :instance_profile_name
387
405
  # The name of the instance profile to update.
@@ -755,8 +773,9 @@ module Aws::IAM
755
773
  # credentials. This is true even if the AWS account has no associated
756
774
  # users.
757
775
  #
758
- # For information about limits on the number of keys you can create, see
759
- # [Limitations on IAM Entities][1] in the *IAM User Guide*.
776
+ # The number and size of IAM resources in an AWS account are limited.
777
+ # For more information, see [IAM and STS Quotas][1] in the *IAM User
778
+ # Guide*.
760
779
  #
761
780
  # To ensure the security of your AWS account, the secret access key is
762
781
  # accessible only during key and user creation. You must save the key
@@ -766,7 +785,7 @@ module Aws::IAM
766
785
  #
767
786
  #
768
787
  #
769
- # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html
788
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
770
789
  #
771
790
  # @option params [String] :user_name
772
791
  # The name of the IAM user that the new key will belong to.
@@ -875,12 +894,13 @@ module Aws::IAM
875
894
 
876
895
  # Creates a new group.
877
896
  #
878
- # For information about the number of groups you can create, see
879
- # [Limitations on IAM Entities][1] in the *IAM User Guide*.
897
+ # The number and size of IAM resources in an AWS account are limited.
898
+ # For more information, see [IAM and STS Quotas][1] in the *IAM User
899
+ # Guide*.
880
900
  #
881
901
  #
882
902
  #
883
- # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html
903
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
884
904
  #
885
905
  # @option params [String] :path
886
906
  # The path to the group. For more information about paths, see [IAM
@@ -960,13 +980,14 @@ module Aws::IAM
960
980
  # Creates a new instance profile. For information about instance
961
981
  # profiles, go to [About Instance Profiles][1].
962
982
  #
963
- # For information about the number of instance profiles you can create,
964
- # see [Limitations on IAM Entities][2] in the *IAM User Guide*.
983
+ # The number and size of IAM resources in an AWS account are limited.
984
+ # For more information, see [IAM and STS Quotas][2] in the *IAM User
985
+ # Guide*.
965
986
  #
966
987
  #
967
988
  #
968
989
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html
969
- # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html
990
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
970
991
  #
971
992
  # @option params [required, String] :instance_profile_name
972
993
  # The name of the instance profile to create.
@@ -1496,14 +1517,14 @@ module Aws::IAM
1496
1517
  end
1497
1518
 
1498
1519
  # Creates a new role for your AWS account. For more information about
1499
- # roles, go to [IAM Roles][1]. For information about limitations on role
1500
- # names and the number of roles you can create, go to [Limitations on
1501
- # IAM Entities][2] in the *IAM User Guide*.
1520
+ # roles, go to [IAM Roles][1]. The number and size of IAM resources in
1521
+ # an AWS account are limited. For more information, see [IAM and STS
1522
+ # Quotas][2] in the *IAM User Guide*.
1502
1523
  #
1503
1524
  #
1504
1525
  #
1505
1526
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html
1506
- # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html
1527
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
1507
1528
  #
1508
1529
  # @option params [String] :path
1509
1530
  # The path to the role. For more information about paths, see [IAM
@@ -1916,12 +1937,13 @@ module Aws::IAM
1916
1937
 
1917
1938
  # Creates a new IAM user for your AWS account.
1918
1939
  #
1919
- # For information about limitations on the number of IAM users you can
1920
- # create, see [Limitations on IAM Entities][1] in the *IAM User Guide*.
1940
+ # The number and size of IAM resources in an AWS account are limited.
1941
+ # For more information, see [IAM and STS Quotas][1] in the *IAM User
1942
+ # Guide*.
1921
1943
  #
1922
1944
  #
1923
1945
  #
1924
- # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html
1946
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
1925
1947
  #
1926
1948
  # @option params [String] :path
1927
1949
  # The path for the user name. For more information about paths, see [IAM
@@ -2036,8 +2058,9 @@ module Aws::IAM
2036
2058
  # MFA devices, go to [Using a Virtual MFA Device][1] in the *IAM User
2037
2059
  # Guide*.
2038
2060
  #
2039
- # For information about limits on the number of MFA devices you can
2040
- # create, see [Limitations on Entities][2] in the *IAM User Guide*.
2061
+ # The number and size of IAM resources in an AWS account are limited.
2062
+ # For more information, see [IAM and STS Quotas][2] in the *IAM User
2063
+ # Guide*.
2041
2064
  #
2042
2065
  # The seed information contained in the QR code and the Base32 string
2043
2066
  # should be treated like any other secret access information. In other
@@ -2048,7 +2071,7 @@ module Aws::IAM
2048
2071
  #
2049
2072
  #
2050
2073
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html
2051
- # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html
2074
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
2052
2075
  #
2053
2076
  # @option params [String] :path
2054
2077
  # The path for the virtual MFA device. For more information about paths,
@@ -4134,12 +4157,13 @@ module Aws::IAM
4134
4157
  # Retrieves information about IAM entity usage and IAM quotas in the AWS
4135
4158
  # account.
4136
4159
  #
4137
- # For information about limitations on IAM entities, see [Limitations on
4138
- # IAM Entities][1] in the *IAM User Guide*.
4160
+ # The number and size of IAM resources in an AWS account are limited.
4161
+ # For more information, see [IAM and STS Quotas][1] in the *IAM User
4162
+ # Guide*.
4139
4163
  #
4140
4164
  #
4141
4165
  #
4142
- # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/LimitationsOnEntities.html
4166
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
4143
4167
  #
4144
4168
  # @return [Types::GetAccountSummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4145
4169
  #
@@ -11565,7 +11589,7 @@ module Aws::IAM
11565
11589
  params: params,
11566
11590
  config: config)
11567
11591
  context[:gem_name] = 'aws-sdk-iam'
11568
- context[:gem_version] = '1.41.0'
11592
+ context[:gem_version] = '1.46.0'
11569
11593
  Seahorse::Client::Request.new(handlers, context)
11570
11594
  end
11571
11595
 
@@ -4979,8 +4979,8 @@ module Aws::IAM
4979
4979
  end
4980
4980
 
4981
4981
  # The request was rejected because it attempted to create resources
4982
- # beyond the current AWS account limits. The error message describes the
4983
- # limit exceeded.
4982
+ # beyond the current AWS account limitations. The error message
4983
+ # describes the limit exceeded.
4984
4984
  #
4985
4985
  # @!attribute [rw] message
4986
4986
  # @return [String]
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.41.0
4
+ version: 1.46.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: 2020-06-23 00:00:00.000000000 Z
11
+ date: 2020-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.99.0
22
+ version: 3.109.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.99.0
32
+ version: 3.109.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement