aws-sdk-iam 1.5.0 → 1.6.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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.5.0
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-06-26 00:00:00.000000000 Z
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