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 +4 -4
- data/lib/aws-sdk-iam.rb +3 -2
- data/lib/aws-sdk-iam/client.rb +68 -44
- data/lib/aws-sdk-iam/types.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 517da0251bc32080242288f879b54fe0b43cdd39c5bca82d335ab9ad9fe1c8d0
|
4
|
+
data.tar.gz: 63cbea3615de71d198ea6828c2d752f8f1b4a111f1a49812c8504c62eb68c34a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dfbc5d325af19ec1c44e8a2418c51a9922218461b4999c2c72b8dc89e0f937bdbfc00adb07cb0857e7ff735b990c4cc19793be7bb8aa6083444142a527681767
|
7
|
+
data.tar.gz: 32809eb6b47a8832b62fa2cbad14f54ed62d37c1f765477abdfdf3e42ad7294d7a24d70cf25bbcb0d60c58065e76b407b20c0a34584f4f880face95a956347dd
|
data/lib/aws-sdk-iam.rb
CHANGED
@@ -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
|
-
#
|
70
|
+
# @!group service
|
70
71
|
module Aws::IAM
|
71
72
|
|
72
|
-
GEM_VERSION = '1.
|
73
|
+
GEM_VERSION = '1.46.0'
|
73
74
|
|
74
75
|
end
|
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -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::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
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
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
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
|
362
|
-
#
|
363
|
-
#
|
364
|
-
#
|
365
|
-
#
|
366
|
-
#
|
367
|
-
# instance and then
|
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][
|
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][
|
393
|
+
# Profiles][6].
|
377
394
|
#
|
378
395
|
#
|
379
396
|
#
|
380
|
-
# [1]: https://
|
381
|
-
# [2]: https://
|
382
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
383
|
-
# [4]: https://docs.aws.amazon.com/
|
384
|
-
# [5]: https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
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
|
-
#
|
759
|
-
#
|
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/
|
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
|
-
#
|
879
|
-
#
|
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/
|
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
|
-
#
|
964
|
-
# see [
|
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/
|
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].
|
1500
|
-
#
|
1501
|
-
#
|
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/
|
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
|
-
#
|
1920
|
-
#
|
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/
|
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
|
-
#
|
2040
|
-
#
|
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/
|
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
|
-
#
|
4138
|
-
# IAM
|
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/
|
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.
|
11592
|
+
context[:gem_version] = '1.46.0'
|
11569
11593
|
Seahorse::Client::Request.new(handlers, context)
|
11570
11594
|
end
|
11571
11595
|
|
data/lib/aws-sdk-iam/types.rb
CHANGED
@@ -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
|
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.
|
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-
|
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.
|
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.
|
32
|
+
version: 3.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|