aws-sdk-iam 1.17.0 → 1.18.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-iam.rb +1 -1
- data/lib/aws-sdk-iam/account_password_policy.rb +1 -1
- data/lib/aws-sdk-iam/client.rb +226 -183
- data/lib/aws-sdk-iam/current_user.rb +5 -5
- data/lib/aws-sdk-iam/group.rb +6 -6
- data/lib/aws-sdk-iam/instance_profile.rb +3 -3
- data/lib/aws-sdk-iam/mfa_device.rb +2 -2
- data/lib/aws-sdk-iam/policy.rb +4 -4
- data/lib/aws-sdk-iam/resource.rb +12 -12
- data/lib/aws-sdk-iam/role.rb +6 -6
- data/lib/aws-sdk-iam/types.rb +123 -123
- data/lib/aws-sdk-iam/user.rb +11 -11
- metadata +2 -2
data/lib/aws-sdk-iam/user.rb
CHANGED
@@ -36,7 +36,7 @@ module Aws::IAM
|
|
36
36
|
#
|
37
37
|
#
|
38
38
|
#
|
39
|
-
# [1]:
|
39
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html
|
40
40
|
# @return [String]
|
41
41
|
def path
|
42
42
|
data[:path]
|
@@ -48,7 +48,7 @@ module Aws::IAM
|
|
48
48
|
#
|
49
49
|
#
|
50
50
|
#
|
51
|
-
# [1]:
|
51
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html
|
52
52
|
# @return [String]
|
53
53
|
def user_id
|
54
54
|
data[:user_id]
|
@@ -60,7 +60,7 @@ module Aws::IAM
|
|
60
60
|
#
|
61
61
|
#
|
62
62
|
#
|
63
|
-
# [1]:
|
63
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html
|
64
64
|
# @return [String]
|
65
65
|
def arn
|
66
66
|
data[:arn]
|
@@ -100,7 +100,7 @@ module Aws::IAM
|
|
100
100
|
#
|
101
101
|
#
|
102
102
|
# [1]: http://www.iso.org/iso/iso8601
|
103
|
-
# [2]:
|
103
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html
|
104
104
|
# @return [Time]
|
105
105
|
def password_last_used
|
106
106
|
data[:password_last_used]
|
@@ -124,7 +124,7 @@ module Aws::IAM
|
|
124
124
|
#
|
125
125
|
#
|
126
126
|
#
|
127
|
-
# [1]:
|
127
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
|
128
128
|
# @return [Array<Types::Tag>]
|
129
129
|
def tags
|
130
130
|
data[:tags]
|
@@ -331,7 +331,7 @@ module Aws::IAM
|
|
331
331
|
#
|
332
332
|
#
|
333
333
|
#
|
334
|
-
# [1]:
|
334
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
335
335
|
# @return [EmptyStructure]
|
336
336
|
def attach_policy(options = {})
|
337
337
|
options = options.merge(user_name: @name)
|
@@ -368,7 +368,7 @@ module Aws::IAM
|
|
368
368
|
#
|
369
369
|
#
|
370
370
|
#
|
371
|
-
# [1]:
|
371
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html
|
372
372
|
# [2]: http://wikipedia.org/wiki/regex
|
373
373
|
# @option options [String] :permissions_boundary
|
374
374
|
# The ARN of the policy that is used to set the permissions boundary for
|
@@ -387,7 +387,7 @@ module Aws::IAM
|
|
387
387
|
#
|
388
388
|
#
|
389
389
|
#
|
390
|
-
# [1]:
|
390
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
|
391
391
|
# @return [User]
|
392
392
|
def create(options = {})
|
393
393
|
options = options.merge(user_name: @name)
|
@@ -524,7 +524,7 @@ module Aws::IAM
|
|
524
524
|
#
|
525
525
|
#
|
526
526
|
#
|
527
|
-
# [1]:
|
527
|
+
# [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
|
528
528
|
# @return [EmptyStructure]
|
529
529
|
def detach_policy(options = {})
|
530
530
|
options = options.merge(user_name: @name)
|
@@ -566,7 +566,7 @@ module Aws::IAM
|
|
566
566
|
#
|
567
567
|
#
|
568
568
|
#
|
569
|
-
# [1]:
|
569
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_sync.html
|
570
570
|
# @option options [required, String] :authentication_code_2
|
571
571
|
# A subsequent authentication code emitted by the device.
|
572
572
|
#
|
@@ -581,7 +581,7 @@ module Aws::IAM
|
|
581
581
|
#
|
582
582
|
#
|
583
583
|
#
|
584
|
-
# [1]:
|
584
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_sync.html
|
585
585
|
# @return [MfaDevice]
|
586
586
|
def enable_mfa(options = {})
|
587
587
|
options = options.merge(user_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.
|
4
|
+
version: 1.18.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-
|
11
|
+
date: 2019-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|