aws-sdk-iam 1.31.0 → 1.32.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27641ebcc33323a5b61a30185eed8499e46dbbdf
4
- data.tar.gz: f9269c67538509cc835111b4034d41bcbcdbfd91
3
+ metadata.gz: 5d7d21e8d33566c8225595cda11756fb97a49a2b
4
+ data.tar.gz: 3c95821c007735c0030043216b0d486cee43fc19
5
5
  SHA512:
6
- metadata.gz: 539a597a5f07e1125c83cd3caa79dfa5a68243dc26aad16e9cc83ad66931a78f2fb7930fae2db5b3a375044b4a48313c3c71433febf0eac667da93cfc69ed040
7
- data.tar.gz: 2038ddbabac0379e2757971ea1fad46d456b35816014e94c62d16519a7988da144fd872d1cf6a7d8e6173a80a77679cdaa50d9405c0c8afd6c0ed1faec39b5cf
6
+ metadata.gz: 5b4346de643a975339bc99f2f74d4e29f13e07745e34902166b34b8bdec820c83a90398678174218c8f0bae73dc99722e1c6a4426ea0f7e8e778ac35501ff7af
7
+ data.tar.gz: e1cfb7de19eaaa661859fb0fe330f762a9dfe999331f9fc74b2ab997c3a498619b8368a04c28c92f5c2769b7d676a79151afae6ea11126b99fe60953ac17b90d
data/lib/aws-sdk-iam.rb CHANGED
@@ -64,6 +64,6 @@ require_relative 'aws-sdk-iam/customizations'
64
64
  # @service
65
65
  module Aws::IAM
66
66
 
67
- GEM_VERSION = '1.31.0'
67
+ GEM_VERSION = '1.32.0'
68
68
 
69
69
  end
@@ -996,6 +996,8 @@ module Aws::IAM
996
996
  # resp.instance_profile.roles[0].tags #=> Array
997
997
  # resp.instance_profile.roles[0].tags[0].key #=> String
998
998
  # resp.instance_profile.roles[0].tags[0].value #=> String
999
+ # resp.instance_profile.roles[0].role_last_used.last_used_date #=> Time
1000
+ # resp.instance_profile.roles[0].role_last_used.region #=> String
999
1001
  #
1000
1002
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateInstanceProfile AWS API Documentation
1001
1003
  #
@@ -1603,6 +1605,8 @@ module Aws::IAM
1603
1605
  # resp.role.tags #=> Array
1604
1606
  # resp.role.tags[0].key #=> String
1605
1607
  # resp.role.tags[0].value #=> String
1608
+ # resp.role.role_last_used.last_used_date #=> Time
1609
+ # resp.role.role_last_used.region #=> String
1606
1610
  #
1607
1611
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateRole AWS API Documentation
1608
1612
  #
@@ -1768,6 +1772,8 @@ module Aws::IAM
1768
1772
  # resp.role.tags #=> Array
1769
1773
  # resp.role.tags[0].key #=> String
1770
1774
  # resp.role.tags[0].value #=> String
1775
+ # resp.role.role_last_used.last_used_date #=> Time
1776
+ # resp.role.role_last_used.region #=> String
1771
1777
  #
1772
1778
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/CreateServiceLinkedRole AWS API Documentation
1773
1779
  #
@@ -3948,6 +3954,8 @@ module Aws::IAM
3948
3954
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].tags #=> Array
3949
3955
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].tags[0].key #=> String
3950
3956
  # resp.role_detail_list[0].instance_profile_list[0].roles[0].tags[0].value #=> String
3957
+ # resp.role_detail_list[0].instance_profile_list[0].roles[0].role_last_used.last_used_date #=> Time
3958
+ # resp.role_detail_list[0].instance_profile_list[0].roles[0].role_last_used.region #=> String
3951
3959
  # resp.role_detail_list[0].role_policy_list #=> Array
3952
3960
  # resp.role_detail_list[0].role_policy_list[0].policy_name #=> String
3953
3961
  # resp.role_detail_list[0].role_policy_list[0].policy_document #=> String
@@ -3959,6 +3967,8 @@ module Aws::IAM
3959
3967
  # resp.role_detail_list[0].tags #=> Array
3960
3968
  # resp.role_detail_list[0].tags[0].key #=> String
3961
3969
  # resp.role_detail_list[0].tags[0].value #=> String
3970
+ # resp.role_detail_list[0].role_last_used.last_used_date #=> Time
3971
+ # resp.role_detail_list[0].role_last_used.region #=> String
3962
3972
  # resp.policies #=> Array
3963
3973
  # resp.policies[0].policy_name #=> String
3964
3974
  # resp.policies[0].policy_id #=> String
@@ -4521,6 +4531,8 @@ module Aws::IAM
4521
4531
  # resp.instance_profile.roles[0].tags #=> Array
4522
4532
  # resp.instance_profile.roles[0].tags[0].key #=> String
4523
4533
  # resp.instance_profile.roles[0].tags[0].value #=> String
4534
+ # resp.instance_profile.roles[0].role_last_used.last_used_date #=> Time
4535
+ # resp.instance_profile.roles[0].role_last_used.region #=> String
4524
4536
  #
4525
4537
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetInstanceProfile AWS API Documentation
4526
4538
  #
@@ -4972,8 +4984,13 @@ module Aws::IAM
4972
4984
  # arn: "arn:aws:iam::123456789012:role/Test-Role",
4973
4985
  # assume_role_policy_document: "<URL-encoded-JSON>",
4974
4986
  # create_date: Time.parse("2013-04-18T05:01:58Z"),
4987
+ # max_session_duration: 3600,
4975
4988
  # path: "/",
4976
4989
  # role_id: "AROADBQP57FF2AEXAMPLE",
4990
+ # role_last_used: {
4991
+ # last_used_date: Time.parse("2019-11-18T05:01:58Z"),
4992
+ # region: "us-east-1",
4993
+ # },
4977
4994
  # role_name: "Test-Role",
4978
4995
  # },
4979
4996
  # }
@@ -4999,6 +5016,8 @@ module Aws::IAM
4999
5016
  # resp.role.tags #=> Array
5000
5017
  # resp.role.tags[0].key #=> String
5001
5018
  # resp.role.tags[0].value #=> String
5019
+ # resp.role.role_last_used.last_used_date #=> Time
5020
+ # resp.role.role_last_used.region #=> String
5002
5021
  #
5003
5022
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GetRole AWS API Documentation
5004
5023
  #
@@ -6705,6 +6724,8 @@ module Aws::IAM
6705
6724
  # resp.instance_profiles[0].roles[0].tags #=> Array
6706
6725
  # resp.instance_profiles[0].roles[0].tags[0].key #=> String
6707
6726
  # resp.instance_profiles[0].roles[0].tags[0].value #=> String
6727
+ # resp.instance_profiles[0].roles[0].role_last_used.last_used_date #=> Time
6728
+ # resp.instance_profiles[0].roles[0].role_last_used.region #=> String
6708
6729
  # resp.is_truncated #=> Boolean
6709
6730
  # resp.marker #=> String
6710
6731
  #
@@ -6794,6 +6815,8 @@ module Aws::IAM
6794
6815
  # resp.instance_profiles[0].roles[0].tags #=> Array
6795
6816
  # resp.instance_profiles[0].roles[0].tags[0].key #=> String
6796
6817
  # resp.instance_profiles[0].roles[0].tags[0].value #=> String
6818
+ # resp.instance_profiles[0].roles[0].role_last_used.last_used_date #=> Time
6819
+ # resp.instance_profiles[0].roles[0].role_last_used.region #=> String
6797
6820
  # resp.is_truncated #=> Boolean
6798
6821
  # resp.marker #=> String
6799
6822
  #
@@ -7488,6 +7511,8 @@ module Aws::IAM
7488
7511
  # resp.roles[0].tags #=> Array
7489
7512
  # resp.roles[0].tags[0].key #=> String
7490
7513
  # resp.roles[0].tags[0].value #=> String
7514
+ # resp.roles[0].role_last_used.last_used_date #=> Time
7515
+ # resp.roles[0].role_last_used.region #=> String
7491
7516
  # resp.is_truncated #=> Boolean
7492
7517
  # resp.marker #=> String
7493
7518
  #
@@ -10505,6 +10530,8 @@ module Aws::IAM
10505
10530
  # resp.role.tags #=> Array
10506
10531
  # resp.role.tags[0].key #=> String
10507
10532
  # resp.role.tags[0].value #=> String
10533
+ # resp.role.role_last_used.last_used_date #=> Time
10534
+ # resp.role.role_last_used.region #=> String
10508
10535
  #
10509
10536
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/UpdateRoleDescription AWS API Documentation
10510
10537
  #
@@ -11310,7 +11337,7 @@ module Aws::IAM
11310
11337
  params: params,
11311
11338
  config: config)
11312
11339
  context[:gem_name] = 'aws-sdk-iam'
11313
- context[:gem_version] = '1.31.0'
11340
+ context[:gem_version] = '1.32.0'
11314
11341
  Seahorse::Client::Request.new(handlers, context)
11315
11342
  end
11316
11343
 
@@ -288,6 +288,7 @@ module Aws::IAM
288
288
  ResyncMFADeviceRequest = Shapes::StructureShape.new(name: 'ResyncMFADeviceRequest')
289
289
  Role = Shapes::StructureShape.new(name: 'Role')
290
290
  RoleDetail = Shapes::StructureShape.new(name: 'RoleDetail')
291
+ RoleLastUsed = Shapes::StructureShape.new(name: 'RoleLastUsed')
291
292
  RoleUsageListType = Shapes::ListShape.new(name: 'RoleUsageListType')
292
293
  RoleUsageType = Shapes::StructureShape.new(name: 'RoleUsageType')
293
294
  SAMLMetadataDocumentType = Shapes::StringShape.new(name: 'SAMLMetadataDocumentType')
@@ -1549,6 +1550,7 @@ module Aws::IAM
1549
1550
  Role.add_member(:max_session_duration, Shapes::ShapeRef.new(shape: roleMaxSessionDurationType, location_name: "MaxSessionDuration"))
1550
1551
  Role.add_member(:permissions_boundary, Shapes::ShapeRef.new(shape: AttachedPermissionsBoundary, location_name: "PermissionsBoundary"))
1551
1552
  Role.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
1553
+ Role.add_member(:role_last_used, Shapes::ShapeRef.new(shape: RoleLastUsed, location_name: "RoleLastUsed"))
1552
1554
  Role.struct_class = Types::Role
1553
1555
 
1554
1556
  RoleDetail.add_member(:path, Shapes::ShapeRef.new(shape: pathType, location_name: "Path"))
@@ -1562,8 +1564,13 @@ module Aws::IAM
1562
1564
  RoleDetail.add_member(:attached_managed_policies, Shapes::ShapeRef.new(shape: attachedPoliciesListType, location_name: "AttachedManagedPolicies"))
1563
1565
  RoleDetail.add_member(:permissions_boundary, Shapes::ShapeRef.new(shape: AttachedPermissionsBoundary, location_name: "PermissionsBoundary"))
1564
1566
  RoleDetail.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, location_name: "Tags"))
1567
+ RoleDetail.add_member(:role_last_used, Shapes::ShapeRef.new(shape: RoleLastUsed, location_name: "RoleLastUsed"))
1565
1568
  RoleDetail.struct_class = Types::RoleDetail
1566
1569
 
1570
+ RoleLastUsed.add_member(:last_used_date, Shapes::ShapeRef.new(shape: dateType, location_name: "LastUsedDate"))
1571
+ RoleLastUsed.add_member(:region, Shapes::ShapeRef.new(shape: stringType, location_name: "Region"))
1572
+ RoleLastUsed.struct_class = Types::RoleLastUsed
1573
+
1567
1574
  RoleUsageListType.member = Shapes::ShapeRef.new(shape: RoleUsageType)
1568
1575
 
1569
1576
  RoleUsageType.add_member(:region, Shapes::ShapeRef.new(shape: RegionNameType, location_name: "Region"))
@@ -21,7 +21,7 @@ module Aws::IAM
21
21
  # @!group Read-Only Attributes
22
22
 
23
23
  # The path to the user. For more information about paths, see [IAM
24
- # Identifiers][1] in the *Using IAM* guide.
24
+ # Identifiers][1] in the *IAM User Guide*.
25
25
  #
26
26
  #
27
27
  #
@@ -38,8 +38,8 @@ module Aws::IAM
38
38
  end
39
39
 
40
40
  # The stable and unique string identifying the user. For more
41
- # information about IDs, see [IAM Identifiers][1] in the *Using IAM*
42
- # guide.
41
+ # information about IDs, see [IAM Identifiers][1] in the *IAM User
42
+ # Guide*.
43
43
  #
44
44
  #
45
45
  #
@@ -51,7 +51,7 @@ module Aws::IAM
51
51
 
52
52
  # The Amazon Resource Name (ARN) that identifies the user. For more
53
53
  # information about ARNs and how to use ARNs in policies, see [IAM
54
- # Identifiers][1] in the *Using IAM* guide.
54
+ # Identifiers][1] in the *IAM User Guide*.
55
55
  #
56
56
  #
57
57
  #
@@ -75,7 +75,7 @@ module Aws::IAM
75
75
  # The date and time, in [ISO 8601 date-time format][1], when the user's
76
76
  # password was last used to sign in to an AWS website. For a list of AWS
77
77
  # websites that capture a user's last sign-in time, see the [Credential
78
- # Reports][2] topic in the *Using IAM* guide. If a password is used more
78
+ # Reports][2] topic in the *IAM User Guide*. If a password is used more
79
79
  # than once in a five-minute span, only the first use is returned in
80
80
  # this field. If the field is null (no value), then it indicates that
81
81
  # they never signed in with a password. This can be because:
@@ -86,7 +86,7 @@ module Aws::IAM
86
86
  # this information on October 20, 2014.
87
87
  #
88
88
  # A null value does not mean that the user *never* had a password. Also,
89
- # if the user does not currently have a password, but had one in the
89
+ # if the user does not currently have a password but had one in the
90
90
  # past, then this field contains the date and time the most recent
91
91
  # password was used.
92
92
  #
@@ -32,7 +32,7 @@ module Aws::IAM
32
32
  alias :group_name :name
33
33
 
34
34
  # The path to the group. For more information about paths, see [IAM
35
- # Identifiers][1] in the *Using IAM* guide.
35
+ # Identifiers][1] in the *IAM User Guide*.
36
36
  #
37
37
  #
38
38
  #
@@ -43,8 +43,8 @@ module Aws::IAM
43
43
  end
44
44
 
45
45
  # The stable and unique string identifying the group. For more
46
- # information about IDs, see [IAM Identifiers][1] in the *Using IAM*
47
- # guide.
46
+ # information about IDs, see [IAM Identifiers][1] in the *IAM User
47
+ # Guide*.
48
48
  #
49
49
  #
50
50
  #
@@ -56,7 +56,7 @@ module Aws::IAM
56
56
 
57
57
  # The Amazon Resource Name (ARN) specifying the group. For more
58
58
  # information about ARNs and how to use them in policies, see [IAM
59
- # Identifiers][1] in the *Using IAM* guide.
59
+ # Identifiers][1] in the *IAM User Guide*.
60
60
  #
61
61
  #
62
62
  #
@@ -32,7 +32,7 @@ module Aws::IAM
32
32
  alias :instance_profile_name :name
33
33
 
34
34
  # The path to the instance profile. For more information about paths,
35
- # see [IAM Identifiers][1] in the *Using IAM* guide.
35
+ # see [IAM Identifiers][1] in the *IAM User Guide*.
36
36
  #
37
37
  #
38
38
  #
@@ -43,8 +43,8 @@ module Aws::IAM
43
43
  end
44
44
 
45
45
  # The stable and unique string identifying the instance profile. For
46
- # more information about IDs, see [IAM Identifiers][1] in the *Using
47
- # IAM* guide.
46
+ # more information about IDs, see [IAM Identifiers][1] in the *IAM User
47
+ # Guide*.
48
48
  #
49
49
  #
50
50
  #
@@ -56,7 +56,7 @@ module Aws::IAM
56
56
 
57
57
  # The Amazon Resource Name (ARN) specifying the instance profile. For
58
58
  # more information about ARNs and how to use them in policies, see [IAM
59
- # Identifiers][1] in the *Using IAM* guide.
59
+ # Identifiers][1] in the *IAM User Guide*.
60
60
  #
61
61
  #
62
62
  #
@@ -38,8 +38,8 @@ module Aws::IAM
38
38
 
39
39
  # The stable and unique string identifying the policy.
40
40
  #
41
- # For more information about IDs, see [IAM Identifiers][1] in the *Using
42
- # IAM* guide.
41
+ # For more information about IDs, see [IAM Identifiers][1] in the *IAM
42
+ # User Guide*.
43
43
  #
44
44
  #
45
45
  #
@@ -51,8 +51,8 @@ module Aws::IAM
51
51
 
52
52
  # The path to the policy.
53
53
  #
54
- # For more information about paths, see [IAM Identifiers][1] in the
55
- # *Using IAM* guide.
54
+ # For more information about paths, see [IAM Identifiers][1] in the *IAM
55
+ # User Guide*.
56
56
  #
57
57
  #
58
58
  #
@@ -32,7 +32,7 @@ module Aws::IAM
32
32
  alias :role_name :name
33
33
 
34
34
  # The path to the role. For more information about paths, see [IAM
35
- # Identifiers][1] in the *Using IAM* guide.
35
+ # Identifiers][1] in the *IAM User Guide*.
36
36
  #
37
37
  #
38
38
  #
@@ -43,8 +43,8 @@ module Aws::IAM
43
43
  end
44
44
 
45
45
  # The stable and unique string identifying the role. For more
46
- # information about IDs, see [IAM Identifiers][1] in the *Using IAM*
47
- # guide.
46
+ # information about IDs, see [IAM Identifiers][1] in the *IAM User
47
+ # Guide*.
48
48
  #
49
49
  #
50
50
  #
@@ -124,6 +124,22 @@ module Aws::IAM
124
124
  data[:tags]
125
125
  end
126
126
 
127
+ # Contains information about the last time that an IAM role was used.
128
+ # This includes the date and time and the Region in which the role was
129
+ # last used. Activity is only reported for the trailing 400 days. This
130
+ # period can be shorter if your Region began supporting these features
131
+ # within the last year. The role might have been used more than 400 days
132
+ # ago. For more information, see [Regions Where Data Is Tracked][1] in
133
+ # the *IAM User Guide*.
134
+ #
135
+ #
136
+ #
137
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period
138
+ # @return [Types::RoleLastUsed]
139
+ def role_last_used
140
+ data[:role_last_used]
141
+ end
142
+
127
143
  # @!endgroup
128
144
 
129
145
  # @return [Client]
@@ -511,7 +511,7 @@ module Aws::IAM
511
511
  # operations.
512
512
  #
513
513
  # For more information about managed policies, refer to [Managed
514
- # Policies and Inline Policies][1] in the *Using IAM* guide.
514
+ # Policies and Inline Policies][1] in the *IAM User Guide*.
515
515
  #
516
516
  #
517
517
  #
@@ -2781,7 +2781,7 @@ module Aws::IAM
2781
2781
  #
2782
2782
  # @!attribute [rw] path
2783
2783
  # The path to the entity (user or role). For more information about
2784
- # paths, see [IAM Identifiers][1] in the *Using IAM* guide.
2784
+ # paths, see [IAM Identifiers][1] in the *IAM User Guide*.
2785
2785
  #
2786
2786
  #
2787
2787
  #
@@ -4523,7 +4523,7 @@ module Aws::IAM
4523
4523
  #
4524
4524
  # @!attribute [rw] path
4525
4525
  # The path to the group. For more information about paths, see [IAM
4526
- # Identifiers][1] in the *Using IAM* guide.
4526
+ # Identifiers][1] in the *IAM User Guide*.
4527
4527
  #
4528
4528
  #
4529
4529
  #
@@ -4536,8 +4536,8 @@ module Aws::IAM
4536
4536
  #
4537
4537
  # @!attribute [rw] group_id
4538
4538
  # The stable and unique string identifying the group. For more
4539
- # information about IDs, see [IAM Identifiers][1] in the *Using IAM*
4540
- # guide.
4539
+ # information about IDs, see [IAM Identifiers][1] in the *IAM User
4540
+ # Guide*.
4541
4541
  #
4542
4542
  #
4543
4543
  #
@@ -4547,7 +4547,7 @@ module Aws::IAM
4547
4547
  # @!attribute [rw] arn
4548
4548
  # The Amazon Resource Name (ARN) specifying the group. For more
4549
4549
  # information about ARNs and how to use them in policies, see [IAM
4550
- # Identifiers][1] in the *Using IAM* guide.
4550
+ # Identifiers][1] in the *IAM User Guide*.
4551
4551
  #
4552
4552
  #
4553
4553
  #
@@ -4582,7 +4582,7 @@ module Aws::IAM
4582
4582
  #
4583
4583
  # @!attribute [rw] path
4584
4584
  # The path to the group. For more information about paths, see [IAM
4585
- # Identifiers][1] in the *Using IAM* guide.
4585
+ # Identifiers][1] in the *IAM User Guide*.
4586
4586
  #
4587
4587
  #
4588
4588
  #
@@ -4595,8 +4595,8 @@ module Aws::IAM
4595
4595
  #
4596
4596
  # @!attribute [rw] group_id
4597
4597
  # The stable and unique string identifying the group. For more
4598
- # information about IDs, see [IAM Identifiers][1] in the *Using IAM*
4599
- # guide.
4598
+ # information about IDs, see [IAM Identifiers][1] in the *IAM User
4599
+ # Guide*.
4600
4600
  #
4601
4601
  #
4602
4602
  #
@@ -4660,7 +4660,7 @@ module Aws::IAM
4660
4660
  #
4661
4661
  # @!attribute [rw] path
4662
4662
  # The path to the instance profile. For more information about paths,
4663
- # see [IAM Identifiers][1] in the *Using IAM* guide.
4663
+ # see [IAM Identifiers][1] in the *IAM User Guide*.
4664
4664
  #
4665
4665
  #
4666
4666
  #
@@ -4673,8 +4673,8 @@ module Aws::IAM
4673
4673
  #
4674
4674
  # @!attribute [rw] instance_profile_id
4675
4675
  # The stable and unique string identifying the instance profile. For
4676
- # more information about IDs, see [IAM Identifiers][1] in the *Using
4677
- # IAM* guide.
4676
+ # more information about IDs, see [IAM Identifiers][1] in the *IAM
4677
+ # User Guide*.
4678
4678
  #
4679
4679
  #
4680
4680
  #
@@ -4684,7 +4684,7 @@ module Aws::IAM
4684
4684
  # @!attribute [rw] arn
4685
4685
  # The Amazon Resource Name (ARN) specifying the instance profile. For
4686
4686
  # more information about ARNs and how to use them in policies, see
4687
- # [IAM Identifiers][1] in the *Using IAM* guide.
4687
+ # [IAM Identifiers][1] in the *IAM User Guide*.
4688
4688
  #
4689
4689
  #
4690
4690
  #
@@ -7250,7 +7250,7 @@ module Aws::IAM
7250
7250
  # GetAccountAuthorizationDetails operation.
7251
7251
  #
7252
7252
  # For more information about managed policies, see [Managed Policies and
7253
- # Inline Policies][1] in the *Using IAM* guide.
7253
+ # Inline Policies][1] in the *IAM User Guide*.
7254
7254
  #
7255
7255
  #
7256
7256
  #
@@ -7263,8 +7263,8 @@ module Aws::IAM
7263
7263
  # @!attribute [rw] policy_id
7264
7264
  # The stable and unique string identifying the policy.
7265
7265
  #
7266
- # For more information about IDs, see [IAM Identifiers][1] in the
7267
- # *Using IAM* guide.
7266
+ # For more information about IDs, see [IAM Identifiers][1] in the *IAM
7267
+ # User Guide*.
7268
7268
  #
7269
7269
  #
7270
7270
  #
@@ -7287,7 +7287,7 @@ module Aws::IAM
7287
7287
  # The path to the policy.
7288
7288
  #
7289
7289
  # For more information about paths, see [IAM Identifiers][1] in the
7290
- # *Using IAM* guide.
7290
+ # *IAM User Guide*.
7291
7291
  #
7292
7292
  #
7293
7293
  #
@@ -7299,7 +7299,7 @@ module Aws::IAM
7299
7299
  # default (operative) version.
7300
7300
  #
7301
7301
  # For more information about policy versions, see [Versioning for
7302
- # Managed Policies][1] in the *Using IAM* guide.
7302
+ # Managed Policies][1] in the *IAM User Guide*.
7303
7303
  #
7304
7304
  #
7305
7305
  #
@@ -7515,7 +7515,7 @@ module Aws::IAM
7515
7515
  # GetPolicy, and ListPolicies operations.
7516
7516
  #
7517
7517
  # For more information about managed policies, refer to [Managed
7518
- # Policies and Inline Policies][1] in the *Using IAM* guide.
7518
+ # Policies and Inline Policies][1] in the *IAM User Guide*.
7519
7519
  #
7520
7520
  #
7521
7521
  #
@@ -7528,8 +7528,8 @@ module Aws::IAM
7528
7528
  # @!attribute [rw] policy_id
7529
7529
  # The stable and unique string identifying the policy.
7530
7530
  #
7531
- # For more information about IDs, see [IAM Identifiers][1] in the
7532
- # *Using IAM* guide.
7531
+ # For more information about IDs, see [IAM Identifiers][1] in the *IAM
7532
+ # User Guide*.
7533
7533
  #
7534
7534
  #
7535
7535
  #
@@ -7552,7 +7552,7 @@ module Aws::IAM
7552
7552
  # The path to the policy.
7553
7553
  #
7554
7554
  # For more information about paths, see [IAM Identifiers][1] in the
7555
- # *Using IAM* guide.
7555
+ # *IAM User Guide*.
7556
7556
  #
7557
7557
  #
7558
7558
  #
@@ -7744,7 +7744,7 @@ module Aws::IAM
7744
7744
  # ListEntitiesForPolicy operation.
7745
7745
  #
7746
7746
  # For more information about managed policies, refer to [Managed
7747
- # Policies and Inline Policies][1] in the *Using IAM* guide.
7747
+ # Policies and Inline Policies][1] in the *IAM User Guide*.
7748
7748
  #
7749
7749
  #
7750
7750
  #
@@ -7792,7 +7792,7 @@ module Aws::IAM
7792
7792
  # ListEntitiesForPolicy operation.
7793
7793
  #
7794
7794
  # For more information about managed policies, refer to [Managed
7795
- # Policies and Inline Policies][1] in the *Using IAM* guide.
7795
+ # Policies and Inline Policies][1] in the *IAM User Guide*.
7796
7796
  #
7797
7797
  #
7798
7798
  #
@@ -7827,7 +7827,7 @@ module Aws::IAM
7827
7827
  # ListEntitiesForPolicy operation.
7828
7828
  #
7829
7829
  # For more information about managed policies, refer to [Managed
7830
- # Policies and Inline Policies][1] in the *Using IAM* guide.
7830
+ # Policies and Inline Policies][1] in the *IAM User Guide*.
7831
7831
  #
7832
7832
  #
7833
7833
  #
@@ -7862,7 +7862,7 @@ module Aws::IAM
7862
7862
  # GetAccountAuthorizationDetails operations.
7863
7863
  #
7864
7864
  # For more information about managed policies, refer to [Managed
7865
- # Policies and Inline Policies][1] in the *Using IAM* guide.
7865
+ # Policies and Inline Policies][1] in the *IAM User Guide*.
7866
7866
  #
7867
7867
  #
7868
7868
  #
@@ -8509,7 +8509,7 @@ module Aws::IAM
8509
8509
  #
8510
8510
  # @!attribute [rw] path
8511
8511
  # The path to the role. For more information about paths, see [IAM
8512
- # Identifiers][1] in the *Using IAM* guide.
8512
+ # Identifiers][1] in the *IAM User Guide*.
8513
8513
  #
8514
8514
  #
8515
8515
  #
@@ -8522,8 +8522,8 @@ module Aws::IAM
8522
8522
  #
8523
8523
  # @!attribute [rw] role_id
8524
8524
  # The stable and unique string identifying the role. For more
8525
- # information about IDs, see [IAM Identifiers][1] in the *Using IAM*
8526
- # guide.
8525
+ # information about IDs, see [IAM Identifiers][1] in the *IAM User
8526
+ # Guide*.
8527
8527
  #
8528
8528
  #
8529
8529
  #
@@ -8586,6 +8586,20 @@ module Aws::IAM
8586
8586
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
8587
8587
  # @return [Array<Types::Tag>]
8588
8588
  #
8589
+ # @!attribute [rw] role_last_used
8590
+ # Contains information about the last time that an IAM role was used.
8591
+ # This includes the date and time and the Region in which the role was
8592
+ # last used. Activity is only reported for the trailing 400 days. This
8593
+ # period can be shorter if your Region began supporting these features
8594
+ # within the last year. The role might have been used more than 400
8595
+ # days ago. For more information, see [Regions Where Data Is
8596
+ # Tracked][1] in the *IAM User Guide*.
8597
+ #
8598
+ #
8599
+ #
8600
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period
8601
+ # @return [Types::RoleLastUsed]
8602
+ #
8589
8603
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/Role AWS API Documentation
8590
8604
  #
8591
8605
  class Role < Struct.new(
@@ -8598,7 +8612,8 @@ module Aws::IAM
8598
8612
  :description,
8599
8613
  :max_session_duration,
8600
8614
  :permissions_boundary,
8601
- :tags)
8615
+ :tags,
8616
+ :role_last_used)
8602
8617
  include Aws::Structure
8603
8618
  end
8604
8619
 
@@ -8610,7 +8625,7 @@ module Aws::IAM
8610
8625
  #
8611
8626
  # @!attribute [rw] path
8612
8627
  # The path to the role. For more information about paths, see [IAM
8613
- # Identifiers][1] in the *Using IAM* guide.
8628
+ # Identifiers][1] in the *IAM User Guide*.
8614
8629
  #
8615
8630
  #
8616
8631
  #
@@ -8623,8 +8638,8 @@ module Aws::IAM
8623
8638
  #
8624
8639
  # @!attribute [rw] role_id
8625
8640
  # The stable and unique string identifying the role. For more
8626
- # information about IDs, see [IAM Identifiers][1] in the *Using IAM*
8627
- # guide.
8641
+ # information about IDs, see [IAM Identifiers][1] in the *IAM User
8642
+ # Guide*.
8628
8643
  #
8629
8644
  #
8630
8645
  #
@@ -8692,6 +8707,20 @@ module Aws::IAM
8692
8707
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html
8693
8708
  # @return [Array<Types::Tag>]
8694
8709
  #
8710
+ # @!attribute [rw] role_last_used
8711
+ # Contains information about the last time that an IAM role was used.
8712
+ # This includes the date and time and the Region in which the role was
8713
+ # last used. Activity is only reported for the trailing 400 days. This
8714
+ # period can be shorter if your Region began supporting these features
8715
+ # within the last year. The role might have been used more than 400
8716
+ # days ago. For more information, see [Regions Where Data Is
8717
+ # Tracked][1] in the *IAM User Guide*.
8718
+ #
8719
+ #
8720
+ #
8721
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period
8722
+ # @return [Types::RoleLastUsed]
8723
+ #
8695
8724
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RoleDetail AWS API Documentation
8696
8725
  #
8697
8726
  class RoleDetail < Struct.new(
@@ -8705,7 +8734,49 @@ module Aws::IAM
8705
8734
  :role_policy_list,
8706
8735
  :attached_managed_policies,
8707
8736
  :permissions_boundary,
8708
- :tags)
8737
+ :tags,
8738
+ :role_last_used)
8739
+ include Aws::Structure
8740
+ end
8741
+
8742
+ # Contains information about the last time that an IAM role was used.
8743
+ # This includes the date and time and the Region in which the role was
8744
+ # last used. Activity is only reported for the trailing 400 days. This
8745
+ # period can be shorter if your Region began supporting these features
8746
+ # within the last year. The role might have been used more than 400 days
8747
+ # ago. For more information, see [Regions Where Data Is Tracked][1] in
8748
+ # the *IAM User Guide*.
8749
+ #
8750
+ # This data type is returned as a response element in the GetRole and
8751
+ # GetAccountAuthorizationDetails operations.
8752
+ #
8753
+ #
8754
+ #
8755
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period
8756
+ #
8757
+ # @!attribute [rw] last_used_date
8758
+ # The date and time, in [ISO 8601 date-time format][1] that the role
8759
+ # was last used.
8760
+ #
8761
+ # This field is null if the role has not been used within the IAM
8762
+ # tracking period. For more information about the tracking period, see
8763
+ # [Regions Where Data Is Tracked][2] in the *IAM User Guide*.
8764
+ #
8765
+ #
8766
+ #
8767
+ # [1]: http://www.iso.org/iso/iso8601
8768
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#access-advisor_tracking-period
8769
+ # @return [Time]
8770
+ #
8771
+ # @!attribute [rw] region
8772
+ # The name of the AWS Region in which the role was last used.
8773
+ # @return [String]
8774
+ #
8775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/RoleLastUsed AWS API Documentation
8776
+ #
8777
+ class RoleLastUsed < Struct.new(
8778
+ :last_used_date,
8779
+ :region)
8709
8780
  include Aws::Structure
8710
8781
  end
8711
8782
 
@@ -8876,7 +8947,7 @@ module Aws::IAM
8876
8947
  #
8877
8948
  # @!attribute [rw] path
8878
8949
  # The path to the server certificate. For more information about
8879
- # paths, see [IAM Identifiers][1] in the *Using IAM* guide.
8950
+ # paths, see [IAM Identifiers][1] in the *IAM User Guide*.
8880
8951
  #
8881
8952
  #
8882
8953
  #
@@ -8889,8 +8960,8 @@ module Aws::IAM
8889
8960
  #
8890
8961
  # @!attribute [rw] server_certificate_id
8891
8962
  # The stable and unique string identifying the server certificate. For
8892
- # more information about IDs, see [IAM Identifiers][1] in the *Using
8893
- # IAM* guide.
8963
+ # more information about IDs, see [IAM Identifiers][1] in the *IAM
8964
+ # User Guide*.
8894
8965
  #
8895
8966
  #
8896
8967
  #
@@ -8900,7 +8971,7 @@ module Aws::IAM
8900
8971
  # @!attribute [rw] arn
8901
8972
  # The Amazon Resource Name (ARN) specifying the server certificate.
8902
8973
  # For more information about ARNs and how to use them in policies, see
8903
- # [IAM Identifiers][1] in the *Using IAM* guide.
8974
+ # [IAM Identifiers][1] in the *IAM User Guide*.
8904
8975
  #
8905
8976
  #
8906
8977
  #
@@ -11048,7 +11119,7 @@ module Aws::IAM
11048
11119
  #
11049
11120
  # @!attribute [rw] path
11050
11121
  # The path to the user. For more information about paths, see [IAM
11051
- # Identifiers][1] in the *Using IAM* guide.
11122
+ # Identifiers][1] in the *IAM User Guide*.
11052
11123
  #
11053
11124
  #
11054
11125
  #
@@ -11061,8 +11132,8 @@ module Aws::IAM
11061
11132
  #
11062
11133
  # @!attribute [rw] user_id
11063
11134
  # The stable and unique string identifying the user. For more
11064
- # information about IDs, see [IAM Identifiers][1] in the *Using IAM*
11065
- # guide.
11135
+ # information about IDs, see [IAM Identifiers][1] in the *IAM User
11136
+ # Guide*.
11066
11137
  #
11067
11138
  #
11068
11139
  #
@@ -11072,7 +11143,7 @@ module Aws::IAM
11072
11143
  # @!attribute [rw] arn
11073
11144
  # The Amazon Resource Name (ARN) that identifies the user. For more
11074
11145
  # information about ARNs and how to use ARNs in policies, see [IAM
11075
- # Identifiers][1] in the *Using IAM* guide.
11146
+ # Identifiers][1] in the *IAM User Guide*.
11076
11147
  #
11077
11148
  #
11078
11149
  #
@@ -11092,7 +11163,7 @@ module Aws::IAM
11092
11163
  # The date and time, in [ISO 8601 date-time format][1], when the
11093
11164
  # user's password was last used to sign in to an AWS website. For a
11094
11165
  # list of AWS websites that capture a user's last sign-in time, see
11095
- # the [Credential Reports][2] topic in the *Using IAM* guide. If a
11166
+ # the [Credential Reports][2] topic in the *IAM User Guide*. If a
11096
11167
  # password is used more than once in a five-minute span, only the
11097
11168
  # first use is returned in this field. If the field is null (no
11098
11169
  # value), then it indicates that they never signed in with a password.
@@ -11104,7 +11175,7 @@ module Aws::IAM
11104
11175
  # this information on October 20, 2014.
11105
11176
  #
11106
11177
  # A null value does not mean that the user *never* had a password.
11107
- # Also, if the user does not currently have a password, but had one in
11178
+ # Also, if the user does not currently have a password but had one in
11108
11179
  # the past, then this field contains the date and time the most recent
11109
11180
  # password was used.
11110
11181
  #
@@ -11160,7 +11231,7 @@ module Aws::IAM
11160
11231
  #
11161
11232
  # @!attribute [rw] path
11162
11233
  # The path to the user. For more information about paths, see [IAM
11163
- # Identifiers][1] in the *Using IAM* guide.
11234
+ # Identifiers][1] in the *IAM User Guide*.
11164
11235
  #
11165
11236
  #
11166
11237
  #
@@ -11173,8 +11244,8 @@ module Aws::IAM
11173
11244
  #
11174
11245
  # @!attribute [rw] user_id
11175
11246
  # The stable and unique string identifying the user. For more
11176
- # information about IDs, see [IAM Identifiers][1] in the *Using IAM*
11177
- # guide.
11247
+ # information about IDs, see [IAM Identifiers][1] in the *IAM User
11248
+ # Guide*.
11178
11249
  #
11179
11250
  #
11180
11251
  #
@@ -32,7 +32,7 @@ module Aws::IAM
32
32
  alias :user_name :name
33
33
 
34
34
  # The path to the user. For more information about paths, see [IAM
35
- # Identifiers][1] in the *Using IAM* guide.
35
+ # Identifiers][1] in the *IAM User Guide*.
36
36
  #
37
37
  #
38
38
  #
@@ -43,8 +43,8 @@ module Aws::IAM
43
43
  end
44
44
 
45
45
  # The stable and unique string identifying the user. For more
46
- # information about IDs, see [IAM Identifiers][1] in the *Using IAM*
47
- # guide.
46
+ # information about IDs, see [IAM Identifiers][1] in the *IAM User
47
+ # Guide*.
48
48
  #
49
49
  #
50
50
  #
@@ -56,7 +56,7 @@ module Aws::IAM
56
56
 
57
57
  # The Amazon Resource Name (ARN) that identifies the user. For more
58
58
  # information about ARNs and how to use ARNs in policies, see [IAM
59
- # Identifiers][1] in the *Using IAM* guide.
59
+ # Identifiers][1] in the *IAM User Guide*.
60
60
  #
61
61
  #
62
62
  #
@@ -80,7 +80,7 @@ module Aws::IAM
80
80
  # The date and time, in [ISO 8601 date-time format][1], when the user's
81
81
  # password was last used to sign in to an AWS website. For a list of AWS
82
82
  # websites that capture a user's last sign-in time, see the [Credential
83
- # Reports][2] topic in the *Using IAM* guide. If a password is used more
83
+ # Reports][2] topic in the *IAM User Guide*. If a password is used more
84
84
  # than once in a five-minute span, only the first use is returned in
85
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:
@@ -91,7 +91,7 @@ module Aws::IAM
91
91
  # this information on October 20, 2014.
92
92
  #
93
93
  # A null value does 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
94
+ # if the user does not currently have a password but had one in the
95
95
  # past, then this field contains the date and time the most recent
96
96
  # password was used.
97
97
  #
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.31.0
4
+ version: 1.32.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-10-23 00:00:00.000000000 Z
11
+ date: 2019-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core