aws-sdk-iam 1.43.0 → 1.48.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/account_password_policy.rb +11 -7
- data/lib/aws-sdk-iam/client.rb +1970 -507
- data/lib/aws-sdk-iam/client_api.rb +370 -0
- data/lib/aws-sdk-iam/current_user.rb +9 -10
- data/lib/aws-sdk-iam/group.rb +8 -8
- data/lib/aws-sdk-iam/instance_profile.rb +15 -3
- data/lib/aws-sdk-iam/policy.rb +16 -4
- data/lib/aws-sdk-iam/resource.rb +123 -20
- data/lib/aws-sdk-iam/role.rb +11 -12
- data/lib/aws-sdk-iam/saml_provider.rb +12 -0
- data/lib/aws-sdk-iam/server_certificate.rb +12 -0
- data/lib/aws-sdk-iam/types.rb +1510 -274
- data/lib/aws-sdk-iam/user.rb +19 -21
- data/lib/aws-sdk-iam/virtual_mfa_device.rb +12 -0
- metadata +4 -4
data/lib/aws-sdk-iam/user.rb
CHANGED
@@ -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
|
#
|
@@ -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]
|
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.48.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-02-12 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
|