aws-sdk-iam 1.44.0 → 1.49.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +330 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-iam.rb +3 -2
- data/lib/aws-sdk-iam/access_key.rb +1 -1
- data/lib/aws-sdk-iam/access_key_pair.rb +1 -1
- data/lib/aws-sdk-iam/account_password_policy.rb +12 -8
- data/lib/aws-sdk-iam/account_summary.rb +1 -1
- data/lib/aws-sdk-iam/assume_role_policy.rb +1 -1
- data/lib/aws-sdk-iam/client.rb +1995 -547
- data/lib/aws-sdk-iam/client_api.rb +371 -1
- data/lib/aws-sdk-iam/current_user.rb +10 -11
- data/lib/aws-sdk-iam/errors.rb +1 -1
- data/lib/aws-sdk-iam/group.rb +9 -9
- data/lib/aws-sdk-iam/group_policy.rb +1 -1
- data/lib/aws-sdk-iam/instance_profile.rb +16 -4
- data/lib/aws-sdk-iam/login_profile.rb +1 -1
- data/lib/aws-sdk-iam/mfa_device.rb +1 -1
- data/lib/aws-sdk-iam/policy.rb +17 -5
- data/lib/aws-sdk-iam/policy_version.rb +1 -1
- data/lib/aws-sdk-iam/resource.rb +124 -21
- data/lib/aws-sdk-iam/role.rb +12 -13
- data/lib/aws-sdk-iam/role_policy.rb +1 -1
- data/lib/aws-sdk-iam/saml_provider.rb +13 -1
- data/lib/aws-sdk-iam/server_certificate.rb +13 -1
- data/lib/aws-sdk-iam/signing_certificate.rb +1 -1
- data/lib/aws-sdk-iam/types.rb +1511 -275
- data/lib/aws-sdk-iam/user.rb +20 -22
- data/lib/aws-sdk-iam/user_policy.rb +1 -1
- data/lib/aws-sdk-iam/virtual_mfa_device.rb +13 -1
- data/lib/aws-sdk-iam/waiters.rb +1 -1
- metadata +8 -5
data/lib/aws-sdk-iam/user.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -36,7 +36,10 @@ module Aws::IAM
|
|
36
36
|
alias :user_name :name
|
37
37
|
|
38
38
|
# The path to the user. For more information about paths, see [IAM
|
39
|
-
#
|
39
|
+
# identifiers][1] in the *IAM User Guide*.
|
40
|
+
#
|
41
|
+
# The ARN of the policy used to set the permissions boundary for the
|
42
|
+
# user.
|
40
43
|
#
|
41
44
|
#
|
42
45
|
#
|
@@ -47,7 +50,7 @@ module Aws::IAM
|
|
47
50
|
end
|
48
51
|
|
49
52
|
# The stable and unique string identifying the user. For more
|
50
|
-
# information about IDs, see [IAM
|
53
|
+
# information about IDs, see [IAM identifiers][1] in the *IAM User
|
51
54
|
# Guide*.
|
52
55
|
#
|
53
56
|
#
|
@@ -84,7 +87,7 @@ module Aws::IAM
|
|
84
87
|
# The date and time, in [ISO 8601 date-time format][1], when the user's
|
85
88
|
# password was last used to sign in to an AWS website. For a list of AWS
|
86
89
|
# websites that capture a user's last sign-in time, see the [Credential
|
87
|
-
#
|
90
|
+
# reports][2] topic in the *IAM User Guide*. If a password is used more
|
88
91
|
# than once in a five-minute span, only the first use is returned in
|
89
92
|
# this field. If the field is null (no value), then it indicates that
|
90
93
|
# they never signed in with a password. This can be because:
|
@@ -110,11 +113,8 @@ module Aws::IAM
|
|
110
113
|
data[:password_last_used]
|
111
114
|
end
|
112
115
|
|
113
|
-
# The ARN of the policy used to set the permissions boundary for the
|
114
|
-
# user.
|
115
|
-
#
|
116
116
|
# For more information about permissions boundaries, see [Permissions
|
117
|
-
#
|
117
|
+
# boundaries for IAM identities ][1] in the *IAM User Guide*.
|
118
118
|
#
|
119
119
|
#
|
120
120
|
#
|
@@ -124,9 +124,8 @@ module Aws::IAM
|
|
124
124
|
data[:permissions_boundary]
|
125
125
|
end
|
126
126
|
|
127
|
-
# A list of tags that are associated with the
|
128
|
-
#
|
129
|
-
# User Guide*.
|
127
|
+
# A list of tags that are associated with the user. For more information
|
128
|
+
# about tagging, see [Tagging IAM resources][1] in the *IAM User Guide*.
|
130
129
|
#
|
131
130
|
#
|
132
131
|
#
|
@@ -334,8 +333,8 @@ module Aws::IAM
|
|
334
333
|
# @option options [required, String] :policy_arn
|
335
334
|
# The Amazon Resource Name (ARN) of the IAM policy you want to attach.
|
336
335
|
#
|
337
|
-
# For more information about ARNs, see [Amazon Resource Names (ARNs)
|
338
|
-
#
|
336
|
+
# For more information about ARNs, see [Amazon Resource Names (ARNs)][1]
|
337
|
+
# in the *AWS General Reference*.
|
339
338
|
#
|
340
339
|
#
|
341
340
|
#
|
@@ -362,7 +361,7 @@ module Aws::IAM
|
|
362
361
|
# @param [Hash] options ({})
|
363
362
|
# @option options [String] :path
|
364
363
|
# The path for the user name. For more information about paths, see [IAM
|
365
|
-
#
|
364
|
+
# identifiers][1] in the *IAM User Guide*.
|
366
365
|
#
|
367
366
|
# This parameter is optional. If it is not included, it defaults to a
|
368
367
|
# slash (/).
|
@@ -382,13 +381,12 @@ module Aws::IAM
|
|
382
381
|
# The ARN of the policy that is used to set the permissions boundary for
|
383
382
|
# the user.
|
384
383
|
# @option options [Array<Types::Tag>] :tags
|
385
|
-
# A list of tags that you want to attach to the
|
386
|
-
#
|
387
|
-
#
|
388
|
-
# User Guide*.
|
384
|
+
# A list of tags that you want to attach to the new user. Each tag
|
385
|
+
# consists of a key name and an associated value. For more information
|
386
|
+
# about tagging, see [Tagging IAM resources][1] in the *IAM User Guide*.
|
389
387
|
#
|
390
|
-
# <note markdown="1"> If any one of the tags is invalid or if you exceed the allowed
|
391
|
-
# of tags
|
388
|
+
# <note markdown="1"> If any one of the tags is invalid or if you exceed the allowed maximum
|
389
|
+
# number of tags, then the entire request fails and the resource is not
|
392
390
|
# created.
|
393
391
|
#
|
394
392
|
# </note>
|
@@ -532,8 +530,8 @@ module Aws::IAM
|
|
532
530
|
# @option options [required, String] :policy_arn
|
533
531
|
# The Amazon Resource Name (ARN) of the IAM policy you want to detach.
|
534
532
|
#
|
535
|
-
# For more information about ARNs, see [Amazon Resource Names (ARNs)
|
536
|
-
#
|
533
|
+
# For more information about ARNs, see [Amazon Resource Names (ARNs)][1]
|
534
|
+
# in the *AWS General Reference*.
|
537
535
|
#
|
538
536
|
#
|
539
537
|
#
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -62,6 +62,18 @@ module Aws::IAM
|
|
62
62
|
data[:enable_date]
|
63
63
|
end
|
64
64
|
|
65
|
+
# A list of tags that are attached to the virtual MFA device. For more
|
66
|
+
# information about tagging, see [Tagging IAM resources][1] in the *IAM
|
67
|
+
# User Guide*.
|
68
|
+
#
|
69
|
+
#
|
70
|
+
#
|
71
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
|
72
|
+
# @return [Array<Types::Tag>]
|
73
|
+
def tags
|
74
|
+
data[:tags]
|
75
|
+
end
|
76
|
+
|
65
77
|
# @!endgroup
|
66
78
|
|
67
79
|
# @return [Client]
|
data/lib/aws-sdk-iam/waiters.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
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.49.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:
|
11
|
+
date: 2021-03-10 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.112.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.112.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -47,11 +47,14 @@ dependencies:
|
|
47
47
|
description: Official AWS Ruby gem for AWS Identity and Access Management (IAM). This
|
48
48
|
gem is part of the AWS SDK for Ruby.
|
49
49
|
email:
|
50
|
-
-
|
50
|
+
- aws-dr-rubygems@amazon.com
|
51
51
|
executables: []
|
52
52
|
extensions: []
|
53
53
|
extra_rdoc_files: []
|
54
54
|
files:
|
55
|
+
- CHANGELOG.md
|
56
|
+
- LICENSE.txt
|
57
|
+
- VERSION
|
55
58
|
- lib/aws-sdk-iam.rb
|
56
59
|
- lib/aws-sdk-iam/access_key.rb
|
57
60
|
- lib/aws-sdk-iam/access_key_pair.rb
|