aws-sdk-iam 1.12.0 → 1.13.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 +1 -1
- data/lib/aws-sdk-iam/access_key.rb +2 -2
- data/lib/aws-sdk-iam/account_summary.rb +1 -1
- data/lib/aws-sdk-iam/client.rb +1045 -523
- data/lib/aws-sdk-iam/client_api.rb +161 -6
- data/lib/aws-sdk-iam/current_user.rb +21 -23
- data/lib/aws-sdk-iam/group.rb +7 -7
- data/lib/aws-sdk-iam/instance_profile.rb +2 -2
- data/lib/aws-sdk-iam/policy.rb +10 -10
- data/lib/aws-sdk-iam/resource.rb +76 -74
- data/lib/aws-sdk-iam/role.rb +17 -19
- data/lib/aws-sdk-iam/server_certificate.rb +2 -2
- data/lib/aws-sdk-iam/types.rb +1201 -578
- data/lib/aws-sdk-iam/user.rb +30 -32
- data/lib/aws-sdk-iam/virtual_mfa_device.rb +5 -5
- metadata +2 -2
data/lib/aws-sdk-iam/user.rb
CHANGED
@@ -82,18 +82,18 @@ module Aws::IAM
|
|
82
82
|
# websites that capture a user's last sign-in time, see the [Credential
|
83
83
|
# Reports][2] topic in the *Using IAM* guide. If a password is used more
|
84
84
|
# than once in a five-minute span, only the first use is returned in
|
85
|
-
# this field. If the field is null (no value) then it indicates that
|
85
|
+
# this field. If the field is null (no value), then it indicates that
|
86
86
|
# they never signed in with a password. This can be because:
|
87
87
|
#
|
88
88
|
# * The user never had a password.
|
89
89
|
#
|
90
90
|
# * A password exists but has not been used since IAM started tracking
|
91
|
-
# this information on October
|
91
|
+
# this information on October 20, 2014.
|
92
92
|
#
|
93
|
-
# A null
|
94
|
-
# the user does not currently have a password, but had one in the
|
95
|
-
# then this field contains the date and time the most recent
|
96
|
-
# was used.
|
93
|
+
# A null valuedoes not mean that the user *never* had a password. Also,
|
94
|
+
# if the user does not currently have a password, but had one in the
|
95
|
+
# past, then this field contains the date and time the most recent
|
96
|
+
# password was used.
|
97
97
|
#
|
98
98
|
# This value is returned only in the GetUser and ListUsers operations.
|
99
99
|
#
|
@@ -106,6 +106,18 @@ module Aws::IAM
|
|
106
106
|
data[:password_last_used]
|
107
107
|
end
|
108
108
|
|
109
|
+
# The ARN of the policy used to set the permissions boundary for the
|
110
|
+
# user.
|
111
|
+
#
|
112
|
+
# For more information about permissions boundaries, see [Permissions
|
113
|
+
# Boundaries for IAM Identities
|
114
|
+
# ](IAM/latest/UserGuide/access_policies_boundaries.html) in the *IAM
|
115
|
+
# User Guide*.
|
116
|
+
# @return [Types::AttachedPermissionsBoundary]
|
117
|
+
def permissions_boundary
|
118
|
+
data[:permissions_boundary]
|
119
|
+
end
|
120
|
+
|
109
121
|
# A list of tags that are associated with the specified user. For more
|
110
122
|
# information about tagging, see [Tagging IAM Identities][1] in the *IAM
|
111
123
|
# User Guide*.
|
@@ -118,20 +130,6 @@ module Aws::IAM
|
|
118
130
|
data[:tags]
|
119
131
|
end
|
120
132
|
|
121
|
-
# The ARN of the policy used to set the permissions boundary for the
|
122
|
-
# user.
|
123
|
-
#
|
124
|
-
# For more information about permissions boundaries, see [Permissions
|
125
|
-
# Boundaries for IAM Identities ][1] in the *IAM User Guide*.
|
126
|
-
#
|
127
|
-
#
|
128
|
-
#
|
129
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html
|
130
|
-
# @return [Types::AttachedPermissionsBoundary]
|
131
|
-
def permissions_boundary
|
132
|
-
data[:permissions_boundary]
|
133
|
-
end
|
134
|
-
|
135
133
|
# @!endgroup
|
136
134
|
|
137
135
|
# @return [Client]
|
@@ -304,7 +302,7 @@ module Aws::IAM
|
|
304
302
|
# @option options [required, String] :group_name
|
305
303
|
# The name of the group to update.
|
306
304
|
#
|
307
|
-
# This parameter allows (
|
305
|
+
# This parameter allows (through its [regex pattern][1]) a string of
|
308
306
|
# characters consisting of upper and lowercase alphanumeric characters
|
309
307
|
# with no spaces. You can also include any of the following characters:
|
310
308
|
# \_+=,.@-
|
@@ -345,13 +343,13 @@ module Aws::IAM
|
|
345
343
|
#
|
346
344
|
# user = user.create({
|
347
345
|
# path: "pathType",
|
346
|
+
# permissions_boundary: "arnType",
|
348
347
|
# tags: [
|
349
348
|
# {
|
350
349
|
# key: "tagKeyType", # required
|
351
350
|
# value: "tagValueType", # required
|
352
351
|
# },
|
353
352
|
# ],
|
354
|
-
# permissions_boundary: "arnType",
|
355
353
|
# })
|
356
354
|
# @param [Hash] options ({})
|
357
355
|
# @option options [String] :path
|
@@ -361,7 +359,7 @@ module Aws::IAM
|
|
361
359
|
# This parameter is optional. If it is not included, it defaults to a
|
362
360
|
# slash (/).
|
363
361
|
#
|
364
|
-
# This parameter allows (
|
362
|
+
# This parameter allows (through its [regex pattern][2]) a string of
|
365
363
|
# characters consisting of either a forward slash (/) by itself or a
|
366
364
|
# string that must begin and end with forward slashes. In addition, it
|
367
365
|
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
@@ -372,6 +370,9 @@ module Aws::IAM
|
|
372
370
|
#
|
373
371
|
# [1]: http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html
|
374
372
|
# [2]: http://wikipedia.org/wiki/regex
|
373
|
+
# @option options [String] :permissions_boundary
|
374
|
+
# The ARN of the policy that is used to set the permissions boundary for
|
375
|
+
# the user.
|
375
376
|
# @option options [Array<Types::Tag>] :tags
|
376
377
|
# A list of tags that you want to attach to the newly created user. Each
|
377
378
|
# tag consists of a key name and an associated value. For more
|
@@ -387,9 +388,6 @@ module Aws::IAM
|
|
387
388
|
#
|
388
389
|
#
|
389
390
|
# [1]: http://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
|
390
|
-
# @option options [String] :permissions_boundary
|
391
|
-
# The ARN of the policy that is used to set the permissions boundary for
|
392
|
-
# the user.
|
393
391
|
# @return [User]
|
394
392
|
def create(options = {})
|
395
393
|
options = options.merge(user_name: @name)
|
@@ -464,7 +462,7 @@ module Aws::IAM
|
|
464
462
|
# @option options [required, String] :policy_name
|
465
463
|
# The name of the policy document.
|
466
464
|
#
|
467
|
-
# This parameter allows (
|
465
|
+
# This parameter allows (through its [regex pattern][1]) a string of
|
468
466
|
# characters consisting of upper and lowercase alphanumeric characters
|
469
467
|
# with no spaces. You can also include any of the following characters:
|
470
468
|
# \_+=,.@-
|
@@ -546,7 +544,7 @@ module Aws::IAM
|
|
546
544
|
# The serial number that uniquely identifies the MFA device. For virtual
|
547
545
|
# MFA devices, the serial number is the device ARN.
|
548
546
|
#
|
549
|
-
# This parameter allows (
|
547
|
+
# This parameter allows (through its [regex pattern][1]) a string of
|
550
548
|
# characters consisting of upper and lowercase alphanumeric characters
|
551
549
|
# with no spaces. You can also include any of the following characters:
|
552
550
|
# =,.@:/-
|
@@ -604,7 +602,7 @@ module Aws::IAM
|
|
604
602
|
# @option options [required, String] :group_name
|
605
603
|
# The name of the group to update.
|
606
604
|
#
|
607
|
-
# This parameter allows (
|
605
|
+
# This parameter allows (through its [regex pattern][1]) a string of
|
608
606
|
# characters consisting of upper and lowercase alphanumeric characters
|
609
607
|
# with no spaces. You can also include any of the following characters:
|
610
608
|
# \_+=,.@-
|
@@ -630,7 +628,7 @@ module Aws::IAM
|
|
630
628
|
# New path for the IAM user. Include this parameter only if you're
|
631
629
|
# changing the user's path.
|
632
630
|
#
|
633
|
-
# This parameter allows (
|
631
|
+
# This parameter allows (through its [regex pattern][1]) a string of
|
634
632
|
# characters consisting of either a forward slash (/) by itself or a
|
635
633
|
# string that must begin and end with forward slashes. In addition, it
|
636
634
|
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
@@ -644,7 +642,7 @@ module Aws::IAM
|
|
644
642
|
# New name for the user. Include this parameter only if you're changing
|
645
643
|
# the user's name.
|
646
644
|
#
|
647
|
-
# This parameter allows (
|
645
|
+
# This parameter allows (through its [regex pattern][1]) a string of
|
648
646
|
# characters consisting of upper and lowercase alphanumeric characters
|
649
647
|
# with no spaces. You can also include any of the following characters:
|
650
648
|
# \_+=,.@-
|
@@ -710,7 +708,7 @@ module Aws::IAM
|
|
710
708
|
# If it is not included, it defaults to a slash (/), listing all
|
711
709
|
# policies.
|
712
710
|
#
|
713
|
-
# This parameter allows (
|
711
|
+
# This parameter allows (through its [regex pattern][1]) a string of
|
714
712
|
# characters consisting of either a forward slash (/) by itself or a
|
715
713
|
# string that must begin and end with forward slashes. In addition, it
|
716
714
|
# can contain any ASCII character from the ! (\\u0021) through the DEL
|
@@ -30,8 +30,8 @@ module Aws::IAM
|
|
30
30
|
@serial_number
|
31
31
|
end
|
32
32
|
|
33
|
-
# The
|
34
|
-
# `Base32StringSeed` is
|
33
|
+
# The base32 seed defined as specified in [RFC3548][1]. The
|
34
|
+
# `Base32StringSeed` is base64-encoded.
|
35
35
|
#
|
36
36
|
#
|
37
37
|
#
|
@@ -43,10 +43,10 @@ module Aws::IAM
|
|
43
43
|
|
44
44
|
# A QR code PNG image that encodes
|
45
45
|
# `otpauth://totp/$virtualMFADeviceName@$AccountName?secret=$Base32String`
|
46
|
-
# where `$virtualMFADeviceName` is one of the create call arguments
|
46
|
+
# where `$virtualMFADeviceName` is one of the create call arguments.
|
47
47
|
# `AccountName` is the user name if set (otherwise, the account ID
|
48
|
-
# otherwise), and `Base32String` is the seed in
|
49
|
-
# `Base32String` value is
|
48
|
+
# otherwise), and `Base32String` is the seed in base32 format. The
|
49
|
+
# `Base32String` value is base64-encoded.
|
50
50
|
# @return [String]
|
51
51
|
def qr_code_png
|
52
52
|
data[:qr_code_png]
|
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.13.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: 2018-
|
11
|
+
date: 2018-12-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|