aws-sdk-iam 1.37.0 → 1.42.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 +3 -1
- data/lib/aws-sdk-iam/access_key.rb +2 -0
- data/lib/aws-sdk-iam/access_key_pair.rb +2 -0
- data/lib/aws-sdk-iam/account_password_policy.rb +2 -0
- data/lib/aws-sdk-iam/account_summary.rb +2 -0
- data/lib/aws-sdk-iam/assume_role_policy.rb +2 -0
- data/lib/aws-sdk-iam/client.rb +83 -42
- data/lib/aws-sdk-iam/client_api.rb +17 -0
- data/lib/aws-sdk-iam/current_user.rb +2 -0
- data/lib/aws-sdk-iam/customizations.rb +2 -0
- data/lib/aws-sdk-iam/customizations/resource.rb +2 -0
- data/lib/aws-sdk-iam/errors.rb +2 -0
- data/lib/aws-sdk-iam/group.rb +4 -2
- data/lib/aws-sdk-iam/group_policy.rb +2 -0
- data/lib/aws-sdk-iam/instance_profile.rb +2 -0
- data/lib/aws-sdk-iam/login_profile.rb +2 -0
- data/lib/aws-sdk-iam/mfa_device.rb +2 -0
- data/lib/aws-sdk-iam/policy.rb +2 -0
- data/lib/aws-sdk-iam/policy_version.rb +2 -0
- data/lib/aws-sdk-iam/resource.rb +4 -2
- data/lib/aws-sdk-iam/role.rb +2 -0
- data/lib/aws-sdk-iam/role_policy.rb +2 -0
- data/lib/aws-sdk-iam/saml_provider.rb +2 -0
- data/lib/aws-sdk-iam/server_certificate.rb +3 -1
- data/lib/aws-sdk-iam/signing_certificate.rb +2 -0
- data/lib/aws-sdk-iam/types.rb +403 -5
- data/lib/aws-sdk-iam/user.rb +5 -3
- data/lib/aws-sdk-iam/user_policy.rb +2 -0
- data/lib/aws-sdk-iam/virtual_mfa_device.rb +2 -0
- data/lib/aws-sdk-iam/waiters.rb +2 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbcd42534424b694e07c444c4bc2d25bb2ae97ff3fcea72cebdad51d8b367385
|
4
|
+
data.tar.gz: '000449527a0679969fb315674192581d431a77abfc0abd7985216d1fde65d398'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ad96325dbf07379ddeaad107e54bd665e395f40bcc4123efcbcbb7a505e75799a304b6fefd412e94b2c5fe8e99891c5562886db91206a4c2318cbbae57170ee
|
7
|
+
data.tar.gz: 4e85fe09bd46652fecdce6b8cb91f61c8039cbb612988f7bc02dd737ab6b2a565798a1d270e9a61f5a2dbb163588f2deb100d0b57282567b004e47fcb3ac12f2
|
data/lib/aws-sdk-iam.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -67,6 +69,6 @@ require_relative 'aws-sdk-iam/customizations'
|
|
67
69
|
# @service
|
68
70
|
module Aws::IAM
|
69
71
|
|
70
|
-
GEM_VERSION = '1.
|
72
|
+
GEM_VERSION = '1.42.0'
|
71
73
|
|
72
74
|
end
|
data/lib/aws-sdk-iam/client.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/query.rb'
|
29
32
|
|
@@ -69,6 +72,7 @@ module Aws::IAM
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::Query)
|
74
78
|
|
@@ -161,7 +165,7 @@ module Aws::IAM
|
|
161
165
|
# @option options [String] :endpoint
|
162
166
|
# The client endpoint is normally constructed from the `:region`
|
163
167
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
169
|
#
|
166
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +180,7 @@ module Aws::IAM
|
|
176
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
181
|
#
|
178
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
184
|
#
|
181
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
186
|
# The log formatter.
|
@@ -354,30 +358,33 @@ module Aws::IAM
|
|
354
358
|
end
|
355
359
|
|
356
360
|
# Adds the specified IAM role to the specified instance profile. An
|
357
|
-
# instance profile can contain only one role
|
358
|
-
#
|
359
|
-
#
|
360
|
-
#
|
361
|
-
#
|
362
|
-
#
|
363
|
-
# instance and then
|
361
|
+
# instance profile can contain only one role. (The number and size of
|
362
|
+
# IAM resources in an AWS account are limited. For more information, see
|
363
|
+
# [IAM and STS Quotas][1] in the *IAM User Guide*.) You can remove the
|
364
|
+
# existing role and then add a different role to an instance profile.
|
365
|
+
# You must then wait for the change to appear across all of AWS because
|
366
|
+
# of [eventual consistency][2]. To force the change, you must
|
367
|
+
# [disassociate the instance profile][3] and then [associate the
|
368
|
+
# instance profile][4], or you can stop your instance and then restart
|
369
|
+
# it.
|
364
370
|
#
|
365
371
|
# <note markdown="1"> The caller of this API must be granted the `PassRole` permission on
|
366
372
|
# the IAM role by a permissions policy.
|
367
373
|
#
|
368
374
|
# </note>
|
369
375
|
#
|
370
|
-
# For more information about roles, go to [Working with Roles][
|
376
|
+
# For more information about roles, go to [Working with Roles][5]. For
|
371
377
|
# more information about instance profiles, go to [About Instance
|
372
|
-
# Profiles][
|
378
|
+
# Profiles][6].
|
373
379
|
#
|
374
380
|
#
|
375
381
|
#
|
376
|
-
# [1]: https://
|
377
|
-
# [2]: https://
|
378
|
-
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/
|
379
|
-
# [4]: https://docs.aws.amazon.com/
|
380
|
-
# [5]: https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
382
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
|
383
|
+
# [2]: https://en.wikipedia.org/wiki/Eventual_consistency
|
384
|
+
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DisassociateIamInstanceProfile.html
|
385
|
+
# [4]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateIamInstanceProfile.html
|
386
|
+
# [5]: https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html
|
387
|
+
# [6]: https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html
|
381
388
|
#
|
382
389
|
# @option params [required, String] :instance_profile_name
|
383
390
|
# The name of the instance profile to update.
|
@@ -751,8 +758,9 @@ module Aws::IAM
|
|
751
758
|
# credentials. This is true even if the AWS account has no associated
|
752
759
|
# users.
|
753
760
|
#
|
754
|
-
#
|
755
|
-
#
|
761
|
+
# The number and size of IAM resources in an AWS account are limited.
|
762
|
+
# For more information, see [IAM and STS Quotas][1] in the *IAM User
|
763
|
+
# Guide*.
|
756
764
|
#
|
757
765
|
# To ensure the security of your AWS account, the secret access key is
|
758
766
|
# accessible only during key and user creation. You must save the key
|
@@ -762,7 +770,7 @@ module Aws::IAM
|
|
762
770
|
#
|
763
771
|
#
|
764
772
|
#
|
765
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
773
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
|
766
774
|
#
|
767
775
|
# @option params [String] :user_name
|
768
776
|
# The name of the IAM user that the new key will belong to.
|
@@ -871,12 +879,13 @@ module Aws::IAM
|
|
871
879
|
|
872
880
|
# Creates a new group.
|
873
881
|
#
|
874
|
-
#
|
875
|
-
#
|
882
|
+
# The number and size of IAM resources in an AWS account are limited.
|
883
|
+
# For more information, see [IAM and STS Quotas][1] in the *IAM User
|
884
|
+
# Guide*.
|
876
885
|
#
|
877
886
|
#
|
878
887
|
#
|
879
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
888
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
|
880
889
|
#
|
881
890
|
# @option params [String] :path
|
882
891
|
# The path to the group. For more information about paths, see [IAM
|
@@ -956,13 +965,14 @@ module Aws::IAM
|
|
956
965
|
# Creates a new instance profile. For information about instance
|
957
966
|
# profiles, go to [About Instance Profiles][1].
|
958
967
|
#
|
959
|
-
#
|
960
|
-
# see [
|
968
|
+
# The number and size of IAM resources in an AWS account are limited.
|
969
|
+
# For more information, see [IAM and STS Quotas][2] in the *IAM User
|
970
|
+
# Guide*.
|
961
971
|
#
|
962
972
|
#
|
963
973
|
#
|
964
974
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/AboutInstanceProfiles.html
|
965
|
-
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
975
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
|
966
976
|
#
|
967
977
|
# @option params [required, String] :instance_profile_name
|
968
978
|
# The name of the instance profile to create.
|
@@ -1492,14 +1502,14 @@ module Aws::IAM
|
|
1492
1502
|
end
|
1493
1503
|
|
1494
1504
|
# Creates a new role for your AWS account. For more information about
|
1495
|
-
# roles, go to [IAM Roles][1].
|
1496
|
-
#
|
1497
|
-
#
|
1505
|
+
# roles, go to [IAM Roles][1]. The number and size of IAM resources in
|
1506
|
+
# an AWS account are limited. For more information, see [IAM and STS
|
1507
|
+
# Quotas][2] in the *IAM User Guide*.
|
1498
1508
|
#
|
1499
1509
|
#
|
1500
1510
|
#
|
1501
1511
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/WorkingWithRoles.html
|
1502
|
-
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
1512
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
|
1503
1513
|
#
|
1504
1514
|
# @option params [String] :path
|
1505
1515
|
# The path to the role. For more information about paths, see [IAM
|
@@ -1912,12 +1922,13 @@ module Aws::IAM
|
|
1912
1922
|
|
1913
1923
|
# Creates a new IAM user for your AWS account.
|
1914
1924
|
#
|
1915
|
-
#
|
1916
|
-
#
|
1925
|
+
# The number and size of IAM resources in an AWS account are limited.
|
1926
|
+
# For more information, see [IAM and STS Quotas][1] in the *IAM User
|
1927
|
+
# Guide*.
|
1917
1928
|
#
|
1918
1929
|
#
|
1919
1930
|
#
|
1920
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
1931
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
|
1921
1932
|
#
|
1922
1933
|
# @option params [String] :path
|
1923
1934
|
# The path for the user name. For more information about paths, see [IAM
|
@@ -2032,8 +2043,9 @@ module Aws::IAM
|
|
2032
2043
|
# MFA devices, go to [Using a Virtual MFA Device][1] in the *IAM User
|
2033
2044
|
# Guide*.
|
2034
2045
|
#
|
2035
|
-
#
|
2036
|
-
#
|
2046
|
+
# The number and size of IAM resources in an AWS account are limited.
|
2047
|
+
# For more information, see [IAM and STS Quotas][2] in the *IAM User
|
2048
|
+
# Guide*.
|
2037
2049
|
#
|
2038
2050
|
# The seed information contained in the QR code and the Base32 string
|
2039
2051
|
# should be treated like any other secret access information. In other
|
@@ -2044,7 +2056,7 @@ module Aws::IAM
|
|
2044
2056
|
#
|
2045
2057
|
#
|
2046
2058
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_VirtualMFA.html
|
2047
|
-
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
2059
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
|
2048
2060
|
#
|
2049
2061
|
# @option params [String] :path
|
2050
2062
|
# The path for the virtual MFA device. For more information about paths,
|
@@ -3794,8 +3806,9 @@ module Aws::IAM
|
|
3794
3806
|
#
|
3795
3807
|
# </note>
|
3796
3808
|
#
|
3797
|
-
# For more information about service last accessed data, see
|
3798
|
-
#
|
3809
|
+
# For more information about service and action last accessed data, see
|
3810
|
+
# [Reducing Permissions Using Service Last Accessed Data][4] in the *IAM
|
3811
|
+
# User Guide*.
|
3799
3812
|
#
|
3800
3813
|
#
|
3801
3814
|
#
|
@@ -3809,6 +3822,14 @@ module Aws::IAM
|
|
3809
3822
|
# used to generate information about when the resource was last used in
|
3810
3823
|
# an attempt to access an AWS service.
|
3811
3824
|
#
|
3825
|
+
# @option params [String] :granularity
|
3826
|
+
# The level of detail that you want to generate. You can specify whether
|
3827
|
+
# you want to generate information about the last attempt to access
|
3828
|
+
# services or actions. If you specify service-level granularity, this
|
3829
|
+
# operation generates only service data. If you specify action-level
|
3830
|
+
# granularity, it generates service and action data. If you don't
|
3831
|
+
# include this optional parameter, the operation generates service data.
|
3832
|
+
#
|
3812
3833
|
# @return [Types::GenerateServiceLastAccessedDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3813
3834
|
#
|
3814
3835
|
# * {Types::GenerateServiceLastAccessedDetailsResponse#job_id #job_id} => String
|
@@ -3831,6 +3852,7 @@ module Aws::IAM
|
|
3831
3852
|
#
|
3832
3853
|
# resp = client.generate_service_last_accessed_details({
|
3833
3854
|
# arn: "arnType", # required
|
3855
|
+
# granularity: "SERVICE_LEVEL", # accepts SERVICE_LEVEL, ACTION_LEVEL
|
3834
3856
|
# })
|
3835
3857
|
#
|
3836
3858
|
# @example Response structure
|
@@ -4120,12 +4142,13 @@ module Aws::IAM
|
|
4120
4142
|
# Retrieves information about IAM entity usage and IAM quotas in the AWS
|
4121
4143
|
# account.
|
4122
4144
|
#
|
4123
|
-
#
|
4124
|
-
# IAM
|
4145
|
+
# The number and size of IAM resources in an AWS account are limited.
|
4146
|
+
# For more information, see [IAM and STS Quotas][1] in the *IAM User
|
4147
|
+
# Guide*.
|
4125
4148
|
#
|
4126
4149
|
#
|
4127
4150
|
#
|
4128
|
-
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/
|
4151
|
+
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html
|
4129
4152
|
#
|
4130
4153
|
# @return [Types::GetAccountSummaryResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4131
4154
|
#
|
@@ -5404,9 +5427,19 @@ module Aws::IAM
|
|
5404
5427
|
#
|
5405
5428
|
# By default, the list is sorted by service namespace.
|
5406
5429
|
#
|
5430
|
+
# If you specified `ACTION_LEVEL` granularity when you generated the
|
5431
|
+
# report, this operation returns service and action last accessed data.
|
5432
|
+
# This includes the most recent access attempt for each tracked action
|
5433
|
+
# within a service. Otherwise, this operation returns only service data.
|
5434
|
+
#
|
5435
|
+
# For more information about service and action last accessed data, see
|
5436
|
+
# [Reducing Permissions Using Service Last Accessed Data][2] in the *IAM
|
5437
|
+
# User Guide*.
|
5438
|
+
#
|
5407
5439
|
#
|
5408
5440
|
#
|
5409
5441
|
# [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics
|
5442
|
+
# [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html
|
5410
5443
|
#
|
5411
5444
|
# @option params [required, String] :job_id
|
5412
5445
|
# The ID of the request generated by the
|
@@ -5435,6 +5468,7 @@ module Aws::IAM
|
|
5435
5468
|
# @return [Types::GetServiceLastAccessedDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
5436
5469
|
#
|
5437
5470
|
# * {Types::GetServiceLastAccessedDetailsResponse#job_status #job_status} => String
|
5471
|
+
# * {Types::GetServiceLastAccessedDetailsResponse#job_type #job_type} => String
|
5438
5472
|
# * {Types::GetServiceLastAccessedDetailsResponse#job_creation_date #job_creation_date} => Time
|
5439
5473
|
# * {Types::GetServiceLastAccessedDetailsResponse#services_last_accessed #services_last_accessed} => Array<Types::ServiceLastAccessed>
|
5440
5474
|
# * {Types::GetServiceLastAccessedDetailsResponse#job_completion_date #job_completion_date} => Time
|
@@ -5484,13 +5518,20 @@ module Aws::IAM
|
|
5484
5518
|
# @example Response structure
|
5485
5519
|
#
|
5486
5520
|
# resp.job_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
|
5521
|
+
# resp.job_type #=> String, one of "SERVICE_LEVEL", "ACTION_LEVEL"
|
5487
5522
|
# resp.job_creation_date #=> Time
|
5488
5523
|
# resp.services_last_accessed #=> Array
|
5489
5524
|
# resp.services_last_accessed[0].service_name #=> String
|
5490
5525
|
# resp.services_last_accessed[0].last_authenticated #=> Time
|
5491
5526
|
# resp.services_last_accessed[0].service_namespace #=> String
|
5492
5527
|
# resp.services_last_accessed[0].last_authenticated_entity #=> String
|
5528
|
+
# resp.services_last_accessed[0].last_authenticated_region #=> String
|
5493
5529
|
# resp.services_last_accessed[0].total_authenticated_entities #=> Integer
|
5530
|
+
# resp.services_last_accessed[0].tracked_actions_last_accessed #=> Array
|
5531
|
+
# resp.services_last_accessed[0].tracked_actions_last_accessed[0].action_name #=> String
|
5532
|
+
# resp.services_last_accessed[0].tracked_actions_last_accessed[0].last_accessed_entity #=> String
|
5533
|
+
# resp.services_last_accessed[0].tracked_actions_last_accessed[0].last_accessed_time #=> Time
|
5534
|
+
# resp.services_last_accessed[0].tracked_actions_last_accessed[0].last_accessed_region #=> String
|
5494
5535
|
# resp.job_completion_date #=> Time
|
5495
5536
|
# resp.is_truncated #=> Boolean
|
5496
5537
|
# resp.marker #=> String
|
@@ -9577,7 +9618,7 @@ module Aws::IAM
|
|
9577
9618
|
# operation. An IAM entity can only have one permissions boundary in
|
9578
9619
|
# effect at a time. For example, if a permissions boundary is attached
|
9579
9620
|
# to an entity and you pass in a different permissions boundary policy
|
9580
|
-
# using this parameter, then the new
|
9621
|
+
# using this parameter, then the new permissions boundary policy is used
|
9581
9622
|
# for the simulation. For more information about permissions boundaries,
|
9582
9623
|
# see [Permissions Boundaries for IAM Entities][1] in the *IAM User
|
9583
9624
|
# Guide*. The policy input is specified as a string containing the
|
@@ -11533,7 +11574,7 @@ module Aws::IAM
|
|
11533
11574
|
params: params,
|
11534
11575
|
config: config)
|
11535
11576
|
context[:gem_name] = 'aws-sdk-iam'
|
11536
|
-
context[:gem_version] = '1.
|
11577
|
+
context[:gem_version] = '1.42.0'
|
11537
11578
|
Seahorse::Client::Request.new(handlers, context)
|
11538
11579
|
end
|
11539
11580
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -11,6 +13,7 @@ module Aws::IAM
|
|
11
13
|
|
12
14
|
include Seahorse::Model
|
13
15
|
|
16
|
+
AccessAdvisorUsageGranularityType = Shapes::StringShape.new(name: 'AccessAdvisorUsageGranularityType')
|
14
17
|
AccessDetail = Shapes::StructureShape.new(name: 'AccessDetail')
|
15
18
|
AccessDetails = Shapes::ListShape.new(name: 'AccessDetails')
|
16
19
|
AccessKey = Shapes::StructureShape.new(name: 'AccessKey')
|
@@ -320,6 +323,8 @@ module Aws::IAM
|
|
320
323
|
Tag = Shapes::StructureShape.new(name: 'Tag')
|
321
324
|
TagRoleRequest = Shapes::StructureShape.new(name: 'TagRoleRequest')
|
322
325
|
TagUserRequest = Shapes::StructureShape.new(name: 'TagUserRequest')
|
326
|
+
TrackedActionLastAccessed = Shapes::StructureShape.new(name: 'TrackedActionLastAccessed')
|
327
|
+
TrackedActionsLastAccessed = Shapes::ListShape.new(name: 'TrackedActionsLastAccessed')
|
323
328
|
UnmodifiableEntityException = Shapes::StructureShape.new(name: 'UnmodifiableEntityException')
|
324
329
|
UnrecognizedPublicKeyEncodingException = Shapes::StructureShape.new(name: 'UnrecognizedPublicKeyEncodingException')
|
325
330
|
UntagRoleRequest = Shapes::StructureShape.new(name: 'UntagRoleRequest')
|
@@ -833,6 +838,7 @@ module Aws::IAM
|
|
833
838
|
GenerateOrganizationsAccessReportResponse.struct_class = Types::GenerateOrganizationsAccessReportResponse
|
834
839
|
|
835
840
|
GenerateServiceLastAccessedDetailsRequest.add_member(:arn, Shapes::ShapeRef.new(shape: arnType, required: true, location_name: "Arn"))
|
841
|
+
GenerateServiceLastAccessedDetailsRequest.add_member(:granularity, Shapes::ShapeRef.new(shape: AccessAdvisorUsageGranularityType, location_name: "Granularity"))
|
836
842
|
GenerateServiceLastAccessedDetailsRequest.struct_class = Types::GenerateServiceLastAccessedDetailsRequest
|
837
843
|
|
838
844
|
GenerateServiceLastAccessedDetailsResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: jobIDType, location_name: "JobId"))
|
@@ -993,6 +999,7 @@ module Aws::IAM
|
|
993
999
|
GetServiceLastAccessedDetailsRequest.struct_class = Types::GetServiceLastAccessedDetailsRequest
|
994
1000
|
|
995
1001
|
GetServiceLastAccessedDetailsResponse.add_member(:job_status, Shapes::ShapeRef.new(shape: jobStatusType, required: true, location_name: "JobStatus"))
|
1002
|
+
GetServiceLastAccessedDetailsResponse.add_member(:job_type, Shapes::ShapeRef.new(shape: AccessAdvisorUsageGranularityType, location_name: "JobType"))
|
996
1003
|
GetServiceLastAccessedDetailsResponse.add_member(:job_creation_date, Shapes::ShapeRef.new(shape: dateType, required: true, location_name: "JobCreationDate"))
|
997
1004
|
GetServiceLastAccessedDetailsResponse.add_member(:services_last_accessed, Shapes::ShapeRef.new(shape: ServicesLastAccessed, required: true, location_name: "ServicesLastAccessed"))
|
998
1005
|
GetServiceLastAccessedDetailsResponse.add_member(:job_completion_date, Shapes::ShapeRef.new(shape: dateType, required: true, location_name: "JobCompletionDate"))
|
@@ -1626,7 +1633,9 @@ module Aws::IAM
|
|
1626
1633
|
ServiceLastAccessed.add_member(:last_authenticated, Shapes::ShapeRef.new(shape: dateType, location_name: "LastAuthenticated"))
|
1627
1634
|
ServiceLastAccessed.add_member(:service_namespace, Shapes::ShapeRef.new(shape: serviceNamespaceType, required: true, location_name: "ServiceNamespace"))
|
1628
1635
|
ServiceLastAccessed.add_member(:last_authenticated_entity, Shapes::ShapeRef.new(shape: arnType, location_name: "LastAuthenticatedEntity"))
|
1636
|
+
ServiceLastAccessed.add_member(:last_authenticated_region, Shapes::ShapeRef.new(shape: stringType, location_name: "LastAuthenticatedRegion"))
|
1629
1637
|
ServiceLastAccessed.add_member(:total_authenticated_entities, Shapes::ShapeRef.new(shape: integerType, location_name: "TotalAuthenticatedEntities"))
|
1638
|
+
ServiceLastAccessed.add_member(:tracked_actions_last_accessed, Shapes::ShapeRef.new(shape: TrackedActionsLastAccessed, location_name: "TrackedActionsLastAccessed"))
|
1630
1639
|
ServiceLastAccessed.struct_class = Types::ServiceLastAccessed
|
1631
1640
|
|
1632
1641
|
ServiceNotSupportedException.add_member(:message, Shapes::ShapeRef.new(shape: serviceNotSupportedMessage, location_name: "message"))
|
@@ -1721,6 +1730,14 @@ module Aws::IAM
|
|
1721
1730
|
TagUserRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagListType, required: true, location_name: "Tags"))
|
1722
1731
|
TagUserRequest.struct_class = Types::TagUserRequest
|
1723
1732
|
|
1733
|
+
TrackedActionLastAccessed.add_member(:action_name, Shapes::ShapeRef.new(shape: stringType, location_name: "ActionName"))
|
1734
|
+
TrackedActionLastAccessed.add_member(:last_accessed_entity, Shapes::ShapeRef.new(shape: arnType, location_name: "LastAccessedEntity"))
|
1735
|
+
TrackedActionLastAccessed.add_member(:last_accessed_time, Shapes::ShapeRef.new(shape: dateType, location_name: "LastAccessedTime"))
|
1736
|
+
TrackedActionLastAccessed.add_member(:last_accessed_region, Shapes::ShapeRef.new(shape: stringType, location_name: "LastAccessedRegion"))
|
1737
|
+
TrackedActionLastAccessed.struct_class = Types::TrackedActionLastAccessed
|
1738
|
+
|
1739
|
+
TrackedActionsLastAccessed.member = Shapes::ShapeRef.new(shape: TrackedActionLastAccessed)
|
1740
|
+
|
1724
1741
|
UnmodifiableEntityException.add_member(:message, Shapes::ShapeRef.new(shape: unmodifiableEntityMessage, location_name: "message"))
|
1725
1742
|
UnmodifiableEntityException.struct_class = Types::UnmodifiableEntityException
|
1726
1743
|
|