aws-sdk-iam 1.10.0 → 1.11.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -106,6 +106,18 @@ module Aws::IAM
106
106
  data[:password_last_used]
107
107
  end
108
108
 
109
+ # A list of tags that are associated with the specified user. For more
110
+ # information about tagging, see [Tagging IAM Identities][1] in the *IAM
111
+ # User Guide*.
112
+ #
113
+ #
114
+ #
115
+ # [1]: http://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
116
+ # @return [Array<Types::Tag>]
117
+ def tags
118
+ data[:tags]
119
+ end
120
+
109
121
  # The ARN of the policy used to set the permissions boundary for the
110
122
  # user.
111
123
  #
@@ -333,6 +345,12 @@ module Aws::IAM
333
345
  #
334
346
  # user = user.create({
335
347
  # path: "pathType",
348
+ # tags: [
349
+ # {
350
+ # key: "tagKeyType", # required
351
+ # value: "tagValueType", # required
352
+ # },
353
+ # ],
336
354
  # permissions_boundary: "arnType",
337
355
  # })
338
356
  # @param [Hash] options ({})
@@ -354,6 +372,21 @@ module Aws::IAM
354
372
  #
355
373
  # [1]: http://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html
356
374
  # [2]: http://wikipedia.org/wiki/regex
375
+ # @option options [Array<Types::Tag>] :tags
376
+ # A list of tags that you want to attach to the newly created user. Each
377
+ # tag consists of a key name and an associated value. For more
378
+ # information about tagging, see [Tagging IAM Identities][1] in the *IAM
379
+ # User Guide*.
380
+ #
381
+ # <note markdown="1"> If any one of the tags is invalid or if you exceed the allowed number
382
+ # of tags per user, then the entire request fails and the user is not
383
+ # created.
384
+ #
385
+ # </note>
386
+ #
387
+ #
388
+ #
389
+ # [1]: http://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
357
390
  # @option options [String] :permissions_boundary
358
391
  # The ARN of the policy that is used to set the permissions boundary for
359
392
  # the user.
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.10.0
4
+ version: 1.11.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-10-24 00:00:00.000000000 Z
11
+ date: 2018-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core