aws-sdk-iam 1.5.0 → 1.6.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/account_password_policy.rb +1 -1
- data/lib/aws-sdk-iam/client.rb +235 -14
- data/lib/aws-sdk-iam/client_api.rb +81 -0
- data/lib/aws-sdk-iam/current_user.rb +14 -0
- data/lib/aws-sdk-iam/policy.rb +47 -0
- data/lib/aws-sdk-iam/resource.rb +20 -1
- data/lib/aws-sdk-iam/role.rb +14 -0
- data/lib/aws-sdk-iam/types.rb +290 -18
- data/lib/aws-sdk-iam/user.rb +18 -0
- metadata +2 -2
data/lib/aws-sdk-iam/user.rb
CHANGED
@@ -106,6 +106,20 @@ 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 ][1] in the *IAM User Guide*.
|
114
|
+
#
|
115
|
+
#
|
116
|
+
#
|
117
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html
|
118
|
+
# @return [Types::AttachedPermissionsBoundary]
|
119
|
+
def permissions_boundary
|
120
|
+
data[:permissions_boundary]
|
121
|
+
end
|
122
|
+
|
109
123
|
# @!endgroup
|
110
124
|
|
111
125
|
# @return [Client]
|
@@ -319,6 +333,7 @@ module Aws::IAM
|
|
319
333
|
#
|
320
334
|
# user = user.create({
|
321
335
|
# path: "pathType",
|
336
|
+
# permissions_boundary: "arnType",
|
322
337
|
# })
|
323
338
|
# @param [Hash] options ({})
|
324
339
|
# @option options [String] :path
|
@@ -339,6 +354,9 @@ module Aws::IAM
|
|
339
354
|
#
|
340
355
|
# [1]: http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html
|
341
356
|
# [2]: http://wikipedia.org/wiki/regex
|
357
|
+
# @option options [String] :permissions_boundary
|
358
|
+
# The ARN of the policy that is used to set the permissions boundary for
|
359
|
+
# the user.
|
342
360
|
# @return [User]
|
343
361
|
def create(options = {})
|
344
362
|
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.6.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-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|