aws-sdk-iam 1.36.0 → 1.41.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a2ea9f2ae6d9d5db55f1b2aeeecbad422294d2231b01cb5ae7cffe6688a44ac4
4
- data.tar.gz: 8b815fe8b0bf12b454ad310156d9b349af86440152328e51f140d2e6ac29ccac
3
+ metadata.gz: 887c00097ed2c5a7bf9b0baff92a38e83511cdbd3f26748b53c6369472a4cb2c
4
+ data.tar.gz: 888d9443d86b854046b76237110eb555aab9e45d718325cfddd5107214eaa897
5
5
  SHA512:
6
- metadata.gz: 46c2e4c82cfe6403732a015dff2be19778db25a99ad5d14fd4501fa8924c49fd6cd96e2022bf51be4d2dc101e26a49f251ab32030dd1321ff3ecfaa9189d0e9d
7
- data.tar.gz: 0fa8b932baf27b80837b240974d879462f3a44cf22fa869c0fda7300085bf6acd21efcba1c21dd58a5cb619ff5baa8075336ac9cdc71442628f80d873c83ac3e
6
+ metadata.gz: cad2b479df05307c9b66037859e202383a0d9389cbe72cf2cbc5c01b976cf40195ce8dfef5fdeb4789af58c4b3831667f4c63273e36f43e79aa02d6c6d5f9da0
7
+ data.tar.gz: 26891edb4ff0c389c93d04c1a58107f4bb7506cc4dfb03aa6887ce27c9b66110db5f265c9aa8bf5a36e20c97dbe8b51ae0f3ac76e35f1c4deed48a06c498498f
@@ -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.36.0'
72
+ GEM_VERSION = '1.41.0'
71
73
 
72
74
  end
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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
 
@@ -105,7 +109,7 @@ module Aws::IAM
105
109
  # @option options [required, String] :region
106
110
  # The AWS region to connect to. The configured `:region` is
107
111
  # used to determine the service `:endpoint`. When not passed,
108
- # a default `:region` is search for in the following locations:
112
+ # a default `:region` is searched for in the following locations:
109
113
  #
110
114
  # * `Aws.config[:region]`
111
115
  # * `ENV['AWS_REGION']`
@@ -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 avalid 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. Defaults to `false`.
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.
@@ -3794,8 +3798,9 @@ module Aws::IAM
3794
3798
  #
3795
3799
  # </note>
3796
3800
  #
3797
- # For more information about service last accessed data, see [Reducing
3798
- # Policy Scope by Viewing User Activity][4] in the *IAM User Guide*.
3801
+ # For more information about service and action last accessed data, see
3802
+ # [Reducing Permissions Using Service Last Accessed Data][4] in the *IAM
3803
+ # User Guide*.
3799
3804
  #
3800
3805
  #
3801
3806
  #
@@ -3809,6 +3814,14 @@ module Aws::IAM
3809
3814
  # used to generate information about when the resource was last used in
3810
3815
  # an attempt to access an AWS service.
3811
3816
  #
3817
+ # @option params [String] :granularity
3818
+ # The level of detail that you want to generate. You can specify whether
3819
+ # you want to generate information about the last attempt to access
3820
+ # services or actions. If you specify service-level granularity, this
3821
+ # operation generates only service data. If you specify action-level
3822
+ # granularity, it generates service and action data. If you don't
3823
+ # include this optional parameter, the operation generates service data.
3824
+ #
3812
3825
  # @return [Types::GenerateServiceLastAccessedDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3813
3826
  #
3814
3827
  # * {Types::GenerateServiceLastAccessedDetailsResponse#job_id #job_id} => String
@@ -3831,6 +3844,7 @@ module Aws::IAM
3831
3844
  #
3832
3845
  # resp = client.generate_service_last_accessed_details({
3833
3846
  # arn: "arnType", # required
3847
+ # granularity: "SERVICE_LEVEL", # accepts SERVICE_LEVEL, ACTION_LEVEL
3834
3848
  # })
3835
3849
  #
3836
3850
  # @example Response structure
@@ -5404,9 +5418,19 @@ module Aws::IAM
5404
5418
  #
5405
5419
  # By default, the list is sorted by service namespace.
5406
5420
  #
5421
+ # If you specified `ACTION_LEVEL` granularity when you generated the
5422
+ # report, this operation returns service and action last accessed data.
5423
+ # This includes the most recent access attempt for each tracked action
5424
+ # within a service. Otherwise, this operation returns only service data.
5425
+ #
5426
+ # For more information about service and action last accessed data, see
5427
+ # [Reducing Permissions Using Service Last Accessed Data][2] in the *IAM
5428
+ # User Guide*.
5429
+ #
5407
5430
  #
5408
5431
  #
5409
5432
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_evaluation-logic.html#policy-eval-basics
5433
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html
5410
5434
  #
5411
5435
  # @option params [required, String] :job_id
5412
5436
  # The ID of the request generated by the
@@ -5435,6 +5459,7 @@ module Aws::IAM
5435
5459
  # @return [Types::GetServiceLastAccessedDetailsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5436
5460
  #
5437
5461
  # * {Types::GetServiceLastAccessedDetailsResponse#job_status #job_status} => String
5462
+ # * {Types::GetServiceLastAccessedDetailsResponse#job_type #job_type} => String
5438
5463
  # * {Types::GetServiceLastAccessedDetailsResponse#job_creation_date #job_creation_date} => Time
5439
5464
  # * {Types::GetServiceLastAccessedDetailsResponse#services_last_accessed #services_last_accessed} => Array&lt;Types::ServiceLastAccessed&gt;
5440
5465
  # * {Types::GetServiceLastAccessedDetailsResponse#job_completion_date #job_completion_date} => Time
@@ -5484,13 +5509,20 @@ module Aws::IAM
5484
5509
  # @example Response structure
5485
5510
  #
5486
5511
  # resp.job_status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED"
5512
+ # resp.job_type #=> String, one of "SERVICE_LEVEL", "ACTION_LEVEL"
5487
5513
  # resp.job_creation_date #=> Time
5488
5514
  # resp.services_last_accessed #=> Array
5489
5515
  # resp.services_last_accessed[0].service_name #=> String
5490
5516
  # resp.services_last_accessed[0].last_authenticated #=> Time
5491
5517
  # resp.services_last_accessed[0].service_namespace #=> String
5492
5518
  # resp.services_last_accessed[0].last_authenticated_entity #=> String
5519
+ # resp.services_last_accessed[0].last_authenticated_region #=> String
5493
5520
  # resp.services_last_accessed[0].total_authenticated_entities #=> Integer
5521
+ # resp.services_last_accessed[0].tracked_actions_last_accessed #=> Array
5522
+ # resp.services_last_accessed[0].tracked_actions_last_accessed[0].action_name #=> String
5523
+ # resp.services_last_accessed[0].tracked_actions_last_accessed[0].last_accessed_entity #=> String
5524
+ # resp.services_last_accessed[0].tracked_actions_last_accessed[0].last_accessed_time #=> Time
5525
+ # resp.services_last_accessed[0].tracked_actions_last_accessed[0].last_accessed_region #=> String
5494
5526
  # resp.job_completion_date #=> Time
5495
5527
  # resp.is_truncated #=> Boolean
5496
5528
  # resp.marker #=> String
@@ -9577,7 +9609,7 @@ module Aws::IAM
9577
9609
  # operation. An IAM entity can only have one permissions boundary in
9578
9610
  # effect at a time. For example, if a permissions boundary is attached
9579
9611
  # to an entity and you pass in a different permissions boundary policy
9580
- # using this parameter, then the new permission boundary policy is used
9612
+ # using this parameter, then the new permissions boundary policy is used
9581
9613
  # for the simulation. For more information about permissions boundaries,
9582
9614
  # see [Permissions Boundaries for IAM Entities][1] in the *IAM User
9583
9615
  # Guide*. The policy input is specified as a string containing the
@@ -11533,7 +11565,7 @@ module Aws::IAM
11533
11565
  params: params,
11534
11566
  config: config)
11535
11567
  context[:gem_name] = 'aws-sdk-iam'
11536
- context[:gem_version] = '1.36.0'
11568
+ context[:gem_version] = '1.41.0'
11537
11569
  Seahorse::Client::Request.new(handlers, context)
11538
11570
  end
11539
11571
 
@@ -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
 
@@ -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:
@@ -1,2 +1,4 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # customizations to generated classes
2
4
  require 'aws-sdk-iam/customizations/resource'
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Aws
2
4
  module IAM
3
5
  class Resource
@@ -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:
@@ -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:
@@ -338,7 +340,7 @@ module Aws::IAM
338
340
  # @return [GroupPolicy]
339
341
  def create_policy(options = {})
340
342
  options = options.merge(group_name: @name)
341
- resp = @client.put_group_policy(options)
343
+ @client.put_group_policy(options)
342
344
  GroupPolicy.new(
343
345
  group_name: @name,
344
346
  name: options[:policy_name],
@@ -434,7 +436,7 @@ module Aws::IAM
434
436
  # @return [Group]
435
437
  def update(options = {})
436
438
  options = options.merge(group_name: @name)
437
- resp = @client.update_group(options)
439
+ @client.update_group(options)
438
440
  Group.new(
439
441
  name: options[:new_group_name],
440
442
  client: @client
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -173,7 +175,7 @@ module Aws::IAM
173
175
  # the user.
174
176
  # @return [AccountPasswordPolicy]
175
177
  def create_account_password_policy(options = {})
176
- resp = @client.update_account_password_policy(options)
178
+ @client.update_account_password_policy(options)
177
179
  AccountPasswordPolicy.new(client: @client)
178
180
  end
179
181
 
@@ -604,7 +606,7 @@ module Aws::IAM
604
606
  # [1]: http://wikipedia.org/wiki/regex
605
607
  # @return [ServerCertificate]
606
608
  def create_server_certificate(options = {})
607
- resp = @client.upload_server_certificate(options)
609
+ @client.upload_server_certificate(options)
608
610
  ServerCertificate.new(
609
611
  name: options[:server_certificate_name],
610
612
  client: @client
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -233,7 +235,7 @@ module Aws::IAM
233
235
  # @return [ServerCertificate]
234
236
  def update(options = {})
235
237
  options = options.merge(server_certificate_name: @name)
236
- resp = @client.update_server_certificate(options)
238
+ @client.update_server_certificate(options)
237
239
  ServerCertificate.new(
238
240
  name: options[:new_server_certificate_name],
239
241
  client: @client
@@ -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:
@@ -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:
@@ -93,6 +95,7 @@ module Aws::IAM
93
95
  :entity_path,
94
96
  :last_authenticated_time,
95
97
  :total_authenticated_entities)
98
+ SENSITIVE = []
96
99
  include Aws::Structure
97
100
  end
98
101
 
@@ -137,6 +140,7 @@ module Aws::IAM
137
140
  :status,
138
141
  :secret_access_key,
139
142
  :create_date)
143
+ SENSITIVE = [:secret_access_key]
140
144
  include Aws::Structure
141
145
  end
142
146
 
@@ -201,6 +205,7 @@ module Aws::IAM
201
205
  :last_used_date,
202
206
  :service_name,
203
207
  :region)
208
+ SENSITIVE = []
204
209
  include Aws::Structure
205
210
  end
206
211
 
@@ -233,6 +238,7 @@ module Aws::IAM
233
238
  :access_key_id,
234
239
  :status,
235
240
  :create_date)
241
+ SENSITIVE = []
236
242
  include Aws::Structure
237
243
  end
238
244
 
@@ -261,6 +267,7 @@ module Aws::IAM
261
267
  class AddClientIDToOpenIDConnectProviderRequest < Struct.new(
262
268
  :open_id_connect_provider_arn,
263
269
  :client_id)
270
+ SENSITIVE = []
264
271
  include Aws::Structure
265
272
  end
266
273
 
@@ -303,6 +310,7 @@ module Aws::IAM
303
310
  class AddRoleToInstanceProfileRequest < Struct.new(
304
311
  :instance_profile_name,
305
312
  :role_name)
313
+ SENSITIVE = []
306
314
  include Aws::Structure
307
315
  end
308
316
 
@@ -345,6 +353,7 @@ module Aws::IAM
345
353
  class AddUserToGroupRequest < Struct.new(
346
354
  :group_name,
347
355
  :user_name)
356
+ SENSITIVE = []
348
357
  include Aws::Structure
349
358
  end
350
359
 
@@ -386,6 +395,7 @@ module Aws::IAM
386
395
  class AttachGroupPolicyRequest < Struct.new(
387
396
  :group_name,
388
397
  :policy_arn)
398
+ SENSITIVE = []
389
399
  include Aws::Structure
390
400
  end
391
401
 
@@ -427,6 +437,7 @@ module Aws::IAM
427
437
  class AttachRolePolicyRequest < Struct.new(
428
438
  :role_name,
429
439
  :policy_arn)
440
+ SENSITIVE = []
430
441
  include Aws::Structure
431
442
  end
432
443
 
@@ -468,6 +479,7 @@ module Aws::IAM
468
479
  class AttachUserPolicyRequest < Struct.new(
469
480
  :user_name,
470
481
  :policy_arn)
482
+ SENSITIVE = []
471
483
  include Aws::Structure
472
484
  end
473
485
 
@@ -499,6 +511,7 @@ module Aws::IAM
499
511
  class AttachedPermissionsBoundary < Struct.new(
500
512
  :permissions_boundary_type,
501
513
  :permissions_boundary_arn)
514
+ SENSITIVE = []
502
515
  include Aws::Structure
503
516
  end
504
517
 
@@ -538,6 +551,7 @@ module Aws::IAM
538
551
  class AttachedPolicy < Struct.new(
539
552
  :policy_name,
540
553
  :policy_arn)
554
+ SENSITIVE = []
541
555
  include Aws::Structure
542
556
  end
543
557
 
@@ -577,6 +591,7 @@ module Aws::IAM
577
591
  class ChangePasswordRequest < Struct.new(
578
592
  :old_password,
579
593
  :new_password)
594
+ SENSITIVE = [:old_password, :new_password]
580
595
  include Aws::Structure
581
596
  end
582
597
 
@@ -591,6 +606,7 @@ module Aws::IAM
591
606
  #
592
607
  class ConcurrentModificationException < Struct.new(
593
608
  :message)
609
+ SENSITIVE = []
594
610
  include Aws::Structure
595
611
  end
596
612
 
@@ -634,6 +650,7 @@ module Aws::IAM
634
650
  :context_key_name,
635
651
  :context_key_values,
636
652
  :context_key_type)
653
+ SENSITIVE = []
637
654
  include Aws::Structure
638
655
  end
639
656
 
@@ -661,6 +678,7 @@ module Aws::IAM
661
678
  #
662
679
  class CreateAccessKeyRequest < Struct.new(
663
680
  :user_name)
681
+ SENSITIVE = []
664
682
  include Aws::Structure
665
683
  end
666
684
 
@@ -674,6 +692,7 @@ module Aws::IAM
674
692
  #
675
693
  class CreateAccessKeyResponse < Struct.new(
676
694
  :access_key)
695
+ SENSITIVE = []
677
696
  include Aws::Structure
678
697
  end
679
698
 
@@ -701,6 +720,7 @@ module Aws::IAM
701
720
  #
702
721
  class CreateAccountAliasRequest < Struct.new(
703
722
  :account_alias)
723
+ SENSITIVE = []
704
724
  include Aws::Structure
705
725
  end
706
726
 
@@ -747,6 +767,7 @@ module Aws::IAM
747
767
  class CreateGroupRequest < Struct.new(
748
768
  :path,
749
769
  :group_name)
770
+ SENSITIVE = []
750
771
  include Aws::Structure
751
772
  end
752
773
 
@@ -760,6 +781,7 @@ module Aws::IAM
760
781
  #
761
782
  class CreateGroupResponse < Struct.new(
762
783
  :group)
784
+ SENSITIVE = []
763
785
  include Aws::Structure
764
786
  end
765
787
 
@@ -809,6 +831,7 @@ module Aws::IAM
809
831
  class CreateInstanceProfileRequest < Struct.new(
810
832
  :instance_profile_name,
811
833
  :path)
834
+ SENSITIVE = []
812
835
  include Aws::Structure
813
836
  end
814
837
 
@@ -822,6 +845,7 @@ module Aws::IAM
822
845
  #
823
846
  class CreateInstanceProfileResponse < Struct.new(
824
847
  :instance_profile)
848
+ SENSITIVE = []
825
849
  include Aws::Structure
826
850
  end
827
851
 
@@ -877,6 +901,7 @@ module Aws::IAM
877
901
  :user_name,
878
902
  :password,
879
903
  :password_reset_required)
904
+ SENSITIVE = [:password]
880
905
  include Aws::Structure
881
906
  end
882
907
 
@@ -890,6 +915,7 @@ module Aws::IAM
890
915
  #
891
916
  class CreateLoginProfileResponse < Struct.new(
892
917
  :login_profile)
918
+ SENSITIVE = []
893
919
  include Aws::Structure
894
920
  end
895
921
 
@@ -966,6 +992,7 @@ module Aws::IAM
966
992
  :url,
967
993
  :client_id_list,
968
994
  :thumbprint_list)
995
+ SENSITIVE = []
969
996
  include Aws::Structure
970
997
  end
971
998
 
@@ -982,6 +1009,7 @@ module Aws::IAM
982
1009
  #
983
1010
  class CreateOpenIDConnectProviderResponse < Struct.new(
984
1011
  :open_id_connect_provider_arn)
1012
+ SENSITIVE = []
985
1013
  include Aws::Structure
986
1014
  end
987
1015
 
@@ -1070,6 +1098,7 @@ module Aws::IAM
1070
1098
  :path,
1071
1099
  :policy_document,
1072
1100
  :description)
1101
+ SENSITIVE = []
1073
1102
  include Aws::Structure
1074
1103
  end
1075
1104
 
@@ -1083,6 +1112,7 @@ module Aws::IAM
1083
1112
  #
1084
1113
  class CreatePolicyResponse < Struct.new(
1085
1114
  :policy)
1115
+ SENSITIVE = []
1086
1116
  include Aws::Structure
1087
1117
  end
1088
1118
 
@@ -1155,6 +1185,7 @@ module Aws::IAM
1155
1185
  :policy_arn,
1156
1186
  :policy_document,
1157
1187
  :set_as_default)
1188
+ SENSITIVE = []
1158
1189
  include Aws::Structure
1159
1190
  end
1160
1191
 
@@ -1168,6 +1199,7 @@ module Aws::IAM
1168
1199
  #
1169
1200
  class CreatePolicyVersionResponse < Struct.new(
1170
1201
  :policy_version)
1202
+ SENSITIVE = []
1171
1203
  include Aws::Structure
1172
1204
  end
1173
1205
 
@@ -1307,6 +1339,7 @@ module Aws::IAM
1307
1339
  :max_session_duration,
1308
1340
  :permissions_boundary,
1309
1341
  :tags)
1342
+ SENSITIVE = []
1310
1343
  include Aws::Structure
1311
1344
  end
1312
1345
 
@@ -1320,6 +1353,7 @@ module Aws::IAM
1320
1353
  #
1321
1354
  class CreateRoleResponse < Struct.new(
1322
1355
  :role)
1356
+ SENSITIVE = []
1323
1357
  include Aws::Structure
1324
1358
  end
1325
1359
 
@@ -1365,6 +1399,7 @@ module Aws::IAM
1365
1399
  class CreateSAMLProviderRequest < Struct.new(
1366
1400
  :saml_metadata_document,
1367
1401
  :name)
1402
+ SENSITIVE = []
1368
1403
  include Aws::Structure
1369
1404
  end
1370
1405
 
@@ -1379,6 +1414,7 @@ module Aws::IAM
1379
1414
  #
1380
1415
  class CreateSAMLProviderResponse < Struct.new(
1381
1416
  :saml_provider_arn)
1417
+ SENSITIVE = []
1382
1418
  include Aws::Structure
1383
1419
  end
1384
1420
 
@@ -1431,6 +1467,7 @@ module Aws::IAM
1431
1467
  :aws_service_name,
1432
1468
  :description,
1433
1469
  :custom_suffix)
1470
+ SENSITIVE = []
1434
1471
  include Aws::Structure
1435
1472
  end
1436
1473
 
@@ -1442,6 +1479,7 @@ module Aws::IAM
1442
1479
  #
1443
1480
  class CreateServiceLinkedRoleResponse < Struct.new(
1444
1481
  :role)
1482
+ SENSITIVE = []
1445
1483
  include Aws::Structure
1446
1484
  end
1447
1485
 
@@ -1480,6 +1518,7 @@ module Aws::IAM
1480
1518
  class CreateServiceSpecificCredentialRequest < Struct.new(
1481
1519
  :user_name,
1482
1520
  :service_name)
1521
+ SENSITIVE = []
1483
1522
  include Aws::Structure
1484
1523
  end
1485
1524
 
@@ -1496,6 +1535,7 @@ module Aws::IAM
1496
1535
  #
1497
1536
  class CreateServiceSpecificCredentialResponse < Struct.new(
1498
1537
  :service_specific_credential)
1538
+ SENSITIVE = []
1499
1539
  include Aws::Structure
1500
1540
  end
1501
1541
 
@@ -1572,6 +1612,7 @@ module Aws::IAM
1572
1612
  :user_name,
1573
1613
  :permissions_boundary,
1574
1614
  :tags)
1615
+ SENSITIVE = []
1575
1616
  include Aws::Structure
1576
1617
  end
1577
1618
 
@@ -1585,6 +1626,7 @@ module Aws::IAM
1585
1626
  #
1586
1627
  class CreateUserResponse < Struct.new(
1587
1628
  :user)
1629
+ SENSITIVE = []
1588
1630
  include Aws::Structure
1589
1631
  end
1590
1632
 
@@ -1635,6 +1677,7 @@ module Aws::IAM
1635
1677
  class CreateVirtualMFADeviceRequest < Struct.new(
1636
1678
  :path,
1637
1679
  :virtual_mfa_device_name)
1680
+ SENSITIVE = []
1638
1681
  include Aws::Structure
1639
1682
  end
1640
1683
 
@@ -1648,6 +1691,7 @@ module Aws::IAM
1648
1691
  #
1649
1692
  class CreateVirtualMFADeviceResponse < Struct.new(
1650
1693
  :virtual_mfa_device)
1694
+ SENSITIVE = []
1651
1695
  include Aws::Structure
1652
1696
  end
1653
1697
 
@@ -1668,6 +1712,7 @@ module Aws::IAM
1668
1712
  #
1669
1713
  class CredentialReportExpiredException < Struct.new(
1670
1714
  :message)
1715
+ SENSITIVE = []
1671
1716
  include Aws::Structure
1672
1717
  end
1673
1718
 
@@ -1681,6 +1726,7 @@ module Aws::IAM
1681
1726
  #
1682
1727
  class CredentialReportNotPresentException < Struct.new(
1683
1728
  :message)
1729
+ SENSITIVE = []
1684
1730
  include Aws::Structure
1685
1731
  end
1686
1732
 
@@ -1694,6 +1740,7 @@ module Aws::IAM
1694
1740
  #
1695
1741
  class CredentialReportNotReadyException < Struct.new(
1696
1742
  :message)
1743
+ SENSITIVE = []
1697
1744
  include Aws::Structure
1698
1745
  end
1699
1746
 
@@ -1737,6 +1784,7 @@ module Aws::IAM
1737
1784
  class DeactivateMFADeviceRequest < Struct.new(
1738
1785
  :user_name,
1739
1786
  :serial_number)
1787
+ SENSITIVE = []
1740
1788
  include Aws::Structure
1741
1789
  end
1742
1790
 
@@ -1779,6 +1827,7 @@ module Aws::IAM
1779
1827
  class DeleteAccessKeyRequest < Struct.new(
1780
1828
  :user_name,
1781
1829
  :access_key_id)
1830
+ SENSITIVE = []
1782
1831
  include Aws::Structure
1783
1832
  end
1784
1833
 
@@ -1806,6 +1855,7 @@ module Aws::IAM
1806
1855
  #
1807
1856
  class DeleteAccountAliasRequest < Struct.new(
1808
1857
  :account_alias)
1858
+ SENSITIVE = []
1809
1859
  include Aws::Structure
1810
1860
  end
1811
1861
 
@@ -1820,6 +1870,7 @@ module Aws::IAM
1820
1870
  #
1821
1871
  class DeleteConflictException < Struct.new(
1822
1872
  :message)
1873
+ SENSITIVE = []
1823
1874
  include Aws::Structure
1824
1875
  end
1825
1876
 
@@ -1863,6 +1914,7 @@ module Aws::IAM
1863
1914
  class DeleteGroupPolicyRequest < Struct.new(
1864
1915
  :group_name,
1865
1916
  :policy_name)
1917
+ SENSITIVE = []
1866
1918
  include Aws::Structure
1867
1919
  end
1868
1920
 
@@ -1890,6 +1942,7 @@ module Aws::IAM
1890
1942
  #
1891
1943
  class DeleteGroupRequest < Struct.new(
1892
1944
  :group_name)
1945
+ SENSITIVE = []
1893
1946
  include Aws::Structure
1894
1947
  end
1895
1948
 
@@ -1917,6 +1970,7 @@ module Aws::IAM
1917
1970
  #
1918
1971
  class DeleteInstanceProfileRequest < Struct.new(
1919
1972
  :instance_profile_name)
1973
+ SENSITIVE = []
1920
1974
  include Aws::Structure
1921
1975
  end
1922
1976
 
@@ -1944,6 +1998,7 @@ module Aws::IAM
1944
1998
  #
1945
1999
  class DeleteLoginProfileRequest < Struct.new(
1946
2000
  :user_name)
2001
+ SENSITIVE = []
1947
2002
  include Aws::Structure
1948
2003
  end
1949
2004
 
@@ -1965,6 +2020,7 @@ module Aws::IAM
1965
2020
  #
1966
2021
  class DeleteOpenIDConnectProviderRequest < Struct.new(
1967
2022
  :open_id_connect_provider_arn)
2023
+ SENSITIVE = []
1968
2024
  include Aws::Structure
1969
2025
  end
1970
2026
 
@@ -1990,6 +2046,7 @@ module Aws::IAM
1990
2046
  #
1991
2047
  class DeletePolicyRequest < Struct.new(
1992
2048
  :policy_arn)
2049
+ SENSITIVE = []
1993
2050
  include Aws::Structure
1994
2051
  end
1995
2052
 
@@ -2035,6 +2092,7 @@ module Aws::IAM
2035
2092
  class DeletePolicyVersionRequest < Struct.new(
2036
2093
  :policy_arn,
2037
2094
  :version_id)
2095
+ SENSITIVE = []
2038
2096
  include Aws::Structure
2039
2097
  end
2040
2098
 
@@ -2054,6 +2112,7 @@ module Aws::IAM
2054
2112
  #
2055
2113
  class DeleteRolePermissionsBoundaryRequest < Struct.new(
2056
2114
  :role_name)
2115
+ SENSITIVE = []
2057
2116
  include Aws::Structure
2058
2117
  end
2059
2118
 
@@ -2097,6 +2156,7 @@ module Aws::IAM
2097
2156
  class DeleteRolePolicyRequest < Struct.new(
2098
2157
  :role_name,
2099
2158
  :policy_name)
2159
+ SENSITIVE = []
2100
2160
  include Aws::Structure
2101
2161
  end
2102
2162
 
@@ -2124,6 +2184,7 @@ module Aws::IAM
2124
2184
  #
2125
2185
  class DeleteRoleRequest < Struct.new(
2126
2186
  :role_name)
2187
+ SENSITIVE = []
2127
2188
  include Aws::Structure
2128
2189
  end
2129
2190
 
@@ -2142,6 +2203,7 @@ module Aws::IAM
2142
2203
  #
2143
2204
  class DeleteSAMLProviderRequest < Struct.new(
2144
2205
  :saml_provider_arn)
2206
+ SENSITIVE = []
2145
2207
  include Aws::Structure
2146
2208
  end
2147
2209
 
@@ -2183,6 +2245,7 @@ module Aws::IAM
2183
2245
  class DeleteSSHPublicKeyRequest < Struct.new(
2184
2246
  :user_name,
2185
2247
  :ssh_public_key_id)
2248
+ SENSITIVE = []
2186
2249
  include Aws::Structure
2187
2250
  end
2188
2251
 
@@ -2210,6 +2273,7 @@ module Aws::IAM
2210
2273
  #
2211
2274
  class DeleteServerCertificateRequest < Struct.new(
2212
2275
  :server_certificate_name)
2276
+ SENSITIVE = []
2213
2277
  include Aws::Structure
2214
2278
  end
2215
2279
 
@@ -2228,6 +2292,7 @@ module Aws::IAM
2228
2292
  #
2229
2293
  class DeleteServiceLinkedRoleRequest < Struct.new(
2230
2294
  :role_name)
2295
+ SENSITIVE = []
2231
2296
  include Aws::Structure
2232
2297
  end
2233
2298
 
@@ -2241,6 +2306,7 @@ module Aws::IAM
2241
2306
  #
2242
2307
  class DeleteServiceLinkedRoleResponse < Struct.new(
2243
2308
  :deletion_task_id)
2309
+ SENSITIVE = []
2244
2310
  include Aws::Structure
2245
2311
  end
2246
2312
 
@@ -2285,6 +2351,7 @@ module Aws::IAM
2285
2351
  class DeleteServiceSpecificCredentialRequest < Struct.new(
2286
2352
  :user_name,
2287
2353
  :service_specific_credential_id)
2354
+ SENSITIVE = []
2288
2355
  include Aws::Structure
2289
2356
  end
2290
2357
 
@@ -2326,6 +2393,7 @@ module Aws::IAM
2326
2393
  class DeleteSigningCertificateRequest < Struct.new(
2327
2394
  :user_name,
2328
2395
  :certificate_id)
2396
+ SENSITIVE = []
2329
2397
  include Aws::Structure
2330
2398
  end
2331
2399
 
@@ -2345,6 +2413,7 @@ module Aws::IAM
2345
2413
  #
2346
2414
  class DeleteUserPermissionsBoundaryRequest < Struct.new(
2347
2415
  :user_name)
2416
+ SENSITIVE = []
2348
2417
  include Aws::Structure
2349
2418
  end
2350
2419
 
@@ -2388,6 +2457,7 @@ module Aws::IAM
2388
2457
  class DeleteUserPolicyRequest < Struct.new(
2389
2458
  :user_name,
2390
2459
  :policy_name)
2460
+ SENSITIVE = []
2391
2461
  include Aws::Structure
2392
2462
  end
2393
2463
 
@@ -2415,6 +2485,7 @@ module Aws::IAM
2415
2485
  #
2416
2486
  class DeleteUserRequest < Struct.new(
2417
2487
  :user_name)
2488
+ SENSITIVE = []
2418
2489
  include Aws::Structure
2419
2490
  end
2420
2491
 
@@ -2443,6 +2514,7 @@ module Aws::IAM
2443
2514
  #
2444
2515
  class DeleteVirtualMFADeviceRequest < Struct.new(
2445
2516
  :serial_number)
2517
+ SENSITIVE = []
2446
2518
  include Aws::Structure
2447
2519
  end
2448
2520
 
@@ -2471,6 +2543,7 @@ module Aws::IAM
2471
2543
  class DeletionTaskFailureReasonType < Struct.new(
2472
2544
  :reason,
2473
2545
  :role_usage_list)
2546
+ SENSITIVE = []
2474
2547
  include Aws::Structure
2475
2548
  end
2476
2549
 
@@ -2512,6 +2585,7 @@ module Aws::IAM
2512
2585
  class DetachGroupPolicyRequest < Struct.new(
2513
2586
  :group_name,
2514
2587
  :policy_arn)
2588
+ SENSITIVE = []
2515
2589
  include Aws::Structure
2516
2590
  end
2517
2591
 
@@ -2553,6 +2627,7 @@ module Aws::IAM
2553
2627
  class DetachRolePolicyRequest < Struct.new(
2554
2628
  :role_name,
2555
2629
  :policy_arn)
2630
+ SENSITIVE = []
2556
2631
  include Aws::Structure
2557
2632
  end
2558
2633
 
@@ -2594,6 +2669,7 @@ module Aws::IAM
2594
2669
  class DetachUserPolicyRequest < Struct.new(
2595
2670
  :user_name,
2596
2671
  :policy_arn)
2672
+ SENSITIVE = []
2597
2673
  include Aws::Structure
2598
2674
  end
2599
2675
 
@@ -2607,6 +2683,7 @@ module Aws::IAM
2607
2683
  #
2608
2684
  class DuplicateCertificateException < Struct.new(
2609
2685
  :message)
2686
+ SENSITIVE = []
2610
2687
  include Aws::Structure
2611
2688
  end
2612
2689
 
@@ -2620,6 +2697,7 @@ module Aws::IAM
2620
2697
  #
2621
2698
  class DuplicateSSHPublicKeyException < Struct.new(
2622
2699
  :message)
2700
+ SENSITIVE = []
2623
2701
  include Aws::Structure
2624
2702
  end
2625
2703
 
@@ -2701,6 +2779,7 @@ module Aws::IAM
2701
2779
  :serial_number,
2702
2780
  :authentication_code_1,
2703
2781
  :authentication_code_2)
2782
+ SENSITIVE = []
2704
2783
  include Aws::Structure
2705
2784
  end
2706
2785
 
@@ -2714,6 +2793,7 @@ module Aws::IAM
2714
2793
  #
2715
2794
  class EntityAlreadyExistsException < Struct.new(
2716
2795
  :message)
2796
+ SENSITIVE = []
2717
2797
  include Aws::Structure
2718
2798
  end
2719
2799
 
@@ -2748,6 +2828,7 @@ module Aws::IAM
2748
2828
  class EntityDetails < Struct.new(
2749
2829
  :entity_info,
2750
2830
  :last_authenticated)
2831
+ SENSITIVE = []
2751
2832
  include Aws::Structure
2752
2833
  end
2753
2834
 
@@ -2796,6 +2877,7 @@ module Aws::IAM
2796
2877
  :type,
2797
2878
  :id,
2798
2879
  :path)
2880
+ SENSITIVE = []
2799
2881
  include Aws::Structure
2800
2882
  end
2801
2883
 
@@ -2812,6 +2894,7 @@ module Aws::IAM
2812
2894
  #
2813
2895
  class EntityTemporarilyUnmodifiableException < Struct.new(
2814
2896
  :message)
2897
+ SENSITIVE = []
2815
2898
  include Aws::Structure
2816
2899
  end
2817
2900
 
@@ -2834,6 +2917,7 @@ module Aws::IAM
2834
2917
  class ErrorDetails < Struct.new(
2835
2918
  :message,
2836
2919
  :code)
2920
+ SENSITIVE = []
2837
2921
  include Aws::Structure
2838
2922
  end
2839
2923
 
@@ -2931,6 +3015,7 @@ module Aws::IAM
2931
3015
  :permissions_boundary_decision_detail,
2932
3016
  :eval_decision_details,
2933
3017
  :resource_specific_results)
3018
+ SENSITIVE = []
2934
3019
  include Aws::Structure
2935
3020
  end
2936
3021
 
@@ -2950,6 +3035,7 @@ module Aws::IAM
2950
3035
  class GenerateCredentialReportResponse < Struct.new(
2951
3036
  :state,
2952
3037
  :description)
3038
+ SENSITIVE = []
2953
3039
  include Aws::Structure
2954
3040
  end
2955
3041
 
@@ -2985,6 +3071,7 @@ module Aws::IAM
2985
3071
  class GenerateOrganizationsAccessReportRequest < Struct.new(
2986
3072
  :entity_path,
2987
3073
  :organizations_policy_id)
3074
+ SENSITIVE = []
2988
3075
  include Aws::Structure
2989
3076
  end
2990
3077
 
@@ -2997,6 +3084,7 @@ module Aws::IAM
2997
3084
  #
2998
3085
  class GenerateOrganizationsAccessReportResponse < Struct.new(
2999
3086
  :job_id)
3087
+ SENSITIVE = []
3000
3088
  include Aws::Structure
3001
3089
  end
3002
3090
 
@@ -3005,6 +3093,7 @@ module Aws::IAM
3005
3093
  #
3006
3094
  # {
3007
3095
  # arn: "arnType", # required
3096
+ # granularity: "SERVICE_LEVEL", # accepts SERVICE_LEVEL, ACTION_LEVEL
3008
3097
  # }
3009
3098
  #
3010
3099
  # @!attribute [rw] arn
@@ -3013,10 +3102,22 @@ module Aws::IAM
3013
3102
  # in an attempt to access an AWS service.
3014
3103
  # @return [String]
3015
3104
  #
3105
+ # @!attribute [rw] granularity
3106
+ # The level of detail that you want to generate. You can specify
3107
+ # whether you want to generate information about the last attempt to
3108
+ # access services or actions. If you specify service-level
3109
+ # granularity, this operation generates only service data. If you
3110
+ # specify action-level granularity, it generates service and action
3111
+ # data. If you don't include this optional parameter, the operation
3112
+ # generates service data.
3113
+ # @return [String]
3114
+ #
3016
3115
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/GenerateServiceLastAccessedDetailsRequest AWS API Documentation
3017
3116
  #
3018
3117
  class GenerateServiceLastAccessedDetailsRequest < Struct.new(
3019
- :arn)
3118
+ :arn,
3119
+ :granularity)
3120
+ SENSITIVE = []
3020
3121
  include Aws::Structure
3021
3122
  end
3022
3123
 
@@ -3032,6 +3133,7 @@ module Aws::IAM
3032
3133
  #
3033
3134
  class GenerateServiceLastAccessedDetailsResponse < Struct.new(
3034
3135
  :job_id)
3136
+ SENSITIVE = []
3035
3137
  include Aws::Structure
3036
3138
  end
3037
3139
 
@@ -3058,6 +3160,7 @@ module Aws::IAM
3058
3160
  #
3059
3161
  class GetAccessKeyLastUsedRequest < Struct.new(
3060
3162
  :access_key_id)
3163
+ SENSITIVE = []
3061
3164
  include Aws::Structure
3062
3165
  end
3063
3166
 
@@ -3078,6 +3181,7 @@ module Aws::IAM
3078
3181
  class GetAccessKeyLastUsedResponse < Struct.new(
3079
3182
  :user_name,
3080
3183
  :access_key_last_used)
3184
+ SENSITIVE = []
3081
3185
  include Aws::Structure
3082
3186
  end
3083
3187
 
@@ -3126,6 +3230,7 @@ module Aws::IAM
3126
3230
  :filter,
3127
3231
  :max_items,
3128
3232
  :marker)
3233
+ SENSITIVE = []
3129
3234
  include Aws::Structure
3130
3235
  end
3131
3236
 
@@ -3173,6 +3278,7 @@ module Aws::IAM
3173
3278
  :policies,
3174
3279
  :is_truncated,
3175
3280
  :marker)
3281
+ SENSITIVE = []
3176
3282
  include Aws::Structure
3177
3283
  end
3178
3284
 
@@ -3188,6 +3294,7 @@ module Aws::IAM
3188
3294
  #
3189
3295
  class GetAccountPasswordPolicyResponse < Struct.new(
3190
3296
  :password_policy)
3297
+ SENSITIVE = []
3191
3298
  include Aws::Structure
3192
3299
  end
3193
3300
 
@@ -3202,6 +3309,7 @@ module Aws::IAM
3202
3309
  #
3203
3310
  class GetAccountSummaryResponse < Struct.new(
3204
3311
  :summary_map)
3312
+ SENSITIVE = []
3205
3313
  include Aws::Structure
3206
3314
  end
3207
3315
 
@@ -3238,6 +3346,7 @@ module Aws::IAM
3238
3346
  #
3239
3347
  class GetContextKeysForCustomPolicyRequest < Struct.new(
3240
3348
  :policy_input_list)
3349
+ SENSITIVE = []
3241
3350
  include Aws::Structure
3242
3351
  end
3243
3352
 
@@ -3252,6 +3361,7 @@ module Aws::IAM
3252
3361
  #
3253
3362
  class GetContextKeysForPolicyResponse < Struct.new(
3254
3363
  :context_key_names)
3364
+ SENSITIVE = []
3255
3365
  include Aws::Structure
3256
3366
  end
3257
3367
 
@@ -3308,6 +3418,7 @@ module Aws::IAM
3308
3418
  class GetContextKeysForPrincipalPolicyRequest < Struct.new(
3309
3419
  :policy_source_arn,
3310
3420
  :policy_input_list)
3421
+ SENSITIVE = []
3311
3422
  include Aws::Structure
3312
3423
  end
3313
3424
 
@@ -3336,6 +3447,7 @@ module Aws::IAM
3336
3447
  :content,
3337
3448
  :report_format,
3338
3449
  :generated_time)
3450
+ SENSITIVE = []
3339
3451
  include Aws::Structure
3340
3452
  end
3341
3453
 
@@ -3378,6 +3490,7 @@ module Aws::IAM
3378
3490
  class GetGroupPolicyRequest < Struct.new(
3379
3491
  :group_name,
3380
3492
  :policy_name)
3493
+ SENSITIVE = []
3381
3494
  include Aws::Structure
3382
3495
  end
3383
3496
 
@@ -3406,6 +3519,7 @@ module Aws::IAM
3406
3519
  :group_name,
3407
3520
  :policy_name,
3408
3521
  :policy_document)
3522
+ SENSITIVE = []
3409
3523
  include Aws::Structure
3410
3524
  end
3411
3525
 
@@ -3457,6 +3571,7 @@ module Aws::IAM
3457
3571
  :group_name,
3458
3572
  :marker,
3459
3573
  :max_items)
3574
+ SENSITIVE = []
3460
3575
  include Aws::Structure
3461
3576
  end
3462
3577
 
@@ -3493,6 +3608,7 @@ module Aws::IAM
3493
3608
  :users,
3494
3609
  :is_truncated,
3495
3610
  :marker)
3611
+ SENSITIVE = []
3496
3612
  include Aws::Structure
3497
3613
  end
3498
3614
 
@@ -3520,6 +3636,7 @@ module Aws::IAM
3520
3636
  #
3521
3637
  class GetInstanceProfileRequest < Struct.new(
3522
3638
  :instance_profile_name)
3639
+ SENSITIVE = []
3523
3640
  include Aws::Structure
3524
3641
  end
3525
3642
 
@@ -3533,6 +3650,7 @@ module Aws::IAM
3533
3650
  #
3534
3651
  class GetInstanceProfileResponse < Struct.new(
3535
3652
  :instance_profile)
3653
+ SENSITIVE = []
3536
3654
  include Aws::Structure
3537
3655
  end
3538
3656
 
@@ -3560,6 +3678,7 @@ module Aws::IAM
3560
3678
  #
3561
3679
  class GetLoginProfileRequest < Struct.new(
3562
3680
  :user_name)
3681
+ SENSITIVE = []
3563
3682
  include Aws::Structure
3564
3683
  end
3565
3684
 
@@ -3574,6 +3693,7 @@ module Aws::IAM
3574
3693
  #
3575
3694
  class GetLoginProfileResponse < Struct.new(
3576
3695
  :login_profile)
3696
+ SENSITIVE = []
3577
3697
  include Aws::Structure
3578
3698
  end
3579
3699
 
@@ -3601,6 +3721,7 @@ module Aws::IAM
3601
3721
  #
3602
3722
  class GetOpenIDConnectProviderRequest < Struct.new(
3603
3723
  :open_id_connect_provider_arn)
3724
+ SENSITIVE = []
3604
3725
  include Aws::Structure
3605
3726
  end
3606
3727
 
@@ -3636,6 +3757,7 @@ module Aws::IAM
3636
3757
  :client_id_list,
3637
3758
  :thumbprint_list,
3638
3759
  :create_date)
3760
+ SENSITIVE = []
3639
3761
  include Aws::Structure
3640
3762
  end
3641
3763
 
@@ -3688,6 +3810,7 @@ module Aws::IAM
3688
3810
  :max_items,
3689
3811
  :marker,
3690
3812
  :sort_key)
3813
+ SENSITIVE = []
3691
3814
  include Aws::Structure
3692
3815
  end
3693
3816
 
@@ -3767,6 +3890,7 @@ module Aws::IAM
3767
3890
  :is_truncated,
3768
3891
  :marker,
3769
3892
  :error_details)
3893
+ SENSITIVE = []
3770
3894
  include Aws::Structure
3771
3895
  end
3772
3896
 
@@ -3793,6 +3917,7 @@ module Aws::IAM
3793
3917
  #
3794
3918
  class GetPolicyRequest < Struct.new(
3795
3919
  :policy_arn)
3920
+ SENSITIVE = []
3796
3921
  include Aws::Structure
3797
3922
  end
3798
3923
 
@@ -3806,6 +3931,7 @@ module Aws::IAM
3806
3931
  #
3807
3932
  class GetPolicyResponse < Struct.new(
3808
3933
  :policy)
3934
+ SENSITIVE = []
3809
3935
  include Aws::Structure
3810
3936
  end
3811
3937
 
@@ -3847,6 +3973,7 @@ module Aws::IAM
3847
3973
  class GetPolicyVersionRequest < Struct.new(
3848
3974
  :policy_arn,
3849
3975
  :version_id)
3976
+ SENSITIVE = []
3850
3977
  include Aws::Structure
3851
3978
  end
3852
3979
 
@@ -3860,6 +3987,7 @@ module Aws::IAM
3860
3987
  #
3861
3988
  class GetPolicyVersionResponse < Struct.new(
3862
3989
  :policy_version)
3990
+ SENSITIVE = []
3863
3991
  include Aws::Structure
3864
3992
  end
3865
3993
 
@@ -3902,6 +4030,7 @@ module Aws::IAM
3902
4030
  class GetRolePolicyRequest < Struct.new(
3903
4031
  :role_name,
3904
4032
  :policy_name)
4033
+ SENSITIVE = []
3905
4034
  include Aws::Structure
3906
4035
  end
3907
4036
 
@@ -3930,6 +4059,7 @@ module Aws::IAM
3930
4059
  :role_name,
3931
4060
  :policy_name,
3932
4061
  :policy_document)
4062
+ SENSITIVE = []
3933
4063
  include Aws::Structure
3934
4064
  end
3935
4065
 
@@ -3957,6 +4087,7 @@ module Aws::IAM
3957
4087
  #
3958
4088
  class GetRoleRequest < Struct.new(
3959
4089
  :role_name)
4090
+ SENSITIVE = []
3960
4091
  include Aws::Structure
3961
4092
  end
3962
4093
 
@@ -3970,6 +4101,7 @@ module Aws::IAM
3970
4101
  #
3971
4102
  class GetRoleResponse < Struct.new(
3972
4103
  :role)
4104
+ SENSITIVE = []
3973
4105
  include Aws::Structure
3974
4106
  end
3975
4107
 
@@ -3996,6 +4128,7 @@ module Aws::IAM
3996
4128
  #
3997
4129
  class GetSAMLProviderRequest < Struct.new(
3998
4130
  :saml_provider_arn)
4131
+ SENSITIVE = []
3999
4132
  include Aws::Structure
4000
4133
  end
4001
4134
 
@@ -4020,6 +4153,7 @@ module Aws::IAM
4020
4153
  :saml_metadata_document,
4021
4154
  :create_date,
4022
4155
  :valid_until)
4156
+ SENSITIVE = []
4023
4157
  include Aws::Structure
4024
4158
  end
4025
4159
 
@@ -4069,6 +4203,7 @@ module Aws::IAM
4069
4203
  :user_name,
4070
4204
  :ssh_public_key_id,
4071
4205
  :encoding)
4206
+ SENSITIVE = []
4072
4207
  include Aws::Structure
4073
4208
  end
4074
4209
 
@@ -4082,6 +4217,7 @@ module Aws::IAM
4082
4217
  #
4083
4218
  class GetSSHPublicKeyResponse < Struct.new(
4084
4219
  :ssh_public_key)
4220
+ SENSITIVE = []
4085
4221
  include Aws::Structure
4086
4222
  end
4087
4223
 
@@ -4110,6 +4246,7 @@ module Aws::IAM
4110
4246
  #
4111
4247
  class GetServerCertificateRequest < Struct.new(
4112
4248
  :server_certificate_name)
4249
+ SENSITIVE = []
4113
4250
  include Aws::Structure
4114
4251
  end
4115
4252
 
@@ -4123,6 +4260,7 @@ module Aws::IAM
4123
4260
  #
4124
4261
  class GetServerCertificateResponse < Struct.new(
4125
4262
  :server_certificate)
4263
+ SENSITIVE = []
4126
4264
  include Aws::Structure
4127
4265
  end
4128
4266
 
@@ -4169,6 +4307,7 @@ module Aws::IAM
4169
4307
  :job_id,
4170
4308
  :max_items,
4171
4309
  :marker)
4310
+ SENSITIVE = []
4172
4311
  include Aws::Structure
4173
4312
  end
4174
4313
 
@@ -4176,6 +4315,12 @@ module Aws::IAM
4176
4315
  # The status of the job.
4177
4316
  # @return [String]
4178
4317
  #
4318
+ # @!attribute [rw] job_type
4319
+ # The type of job. Service jobs return information about when each
4320
+ # service was last accessed. Action jobs also include information
4321
+ # about when tracked actions within the service were last accessed.
4322
+ # @return [String]
4323
+ #
4179
4324
  # @!attribute [rw] job_creation_date
4180
4325
  # The date and time, in [ISO 8601 date-time format][1], when the
4181
4326
  # report job was created.
@@ -4227,12 +4372,14 @@ module Aws::IAM
4227
4372
  #
4228
4373
  class GetServiceLastAccessedDetailsResponse < Struct.new(
4229
4374
  :job_status,
4375
+ :job_type,
4230
4376
  :job_creation_date,
4231
4377
  :services_last_accessed,
4232
4378
  :job_completion_date,
4233
4379
  :is_truncated,
4234
4380
  :marker,
4235
4381
  :error)
4382
+ SENSITIVE = []
4236
4383
  include Aws::Structure
4237
4384
  end
4238
4385
 
@@ -4297,6 +4444,7 @@ module Aws::IAM
4297
4444
  :service_namespace,
4298
4445
  :max_items,
4299
4446
  :marker)
4447
+ SENSITIVE = []
4300
4448
  include Aws::Structure
4301
4449
  end
4302
4450
 
@@ -4362,6 +4510,7 @@ module Aws::IAM
4362
4510
  :is_truncated,
4363
4511
  :marker,
4364
4512
  :error)
4513
+ SENSITIVE = []
4365
4514
  include Aws::Structure
4366
4515
  end
4367
4516
 
@@ -4382,6 +4531,7 @@ module Aws::IAM
4382
4531
  #
4383
4532
  class GetServiceLinkedRoleDeletionStatusRequest < Struct.new(
4384
4533
  :deletion_task_id)
4534
+ SENSITIVE = []
4385
4535
  include Aws::Structure
4386
4536
  end
4387
4537
 
@@ -4399,6 +4549,7 @@ module Aws::IAM
4399
4549
  class GetServiceLinkedRoleDeletionStatusResponse < Struct.new(
4400
4550
  :status,
4401
4551
  :reason)
4552
+ SENSITIVE = []
4402
4553
  include Aws::Structure
4403
4554
  end
4404
4555
 
@@ -4441,6 +4592,7 @@ module Aws::IAM
4441
4592
  class GetUserPolicyRequest < Struct.new(
4442
4593
  :user_name,
4443
4594
  :policy_name)
4595
+ SENSITIVE = []
4444
4596
  include Aws::Structure
4445
4597
  end
4446
4598
 
@@ -4469,6 +4621,7 @@ module Aws::IAM
4469
4621
  :user_name,
4470
4622
  :policy_name,
4471
4623
  :policy_document)
4624
+ SENSITIVE = []
4472
4625
  include Aws::Structure
4473
4626
  end
4474
4627
 
@@ -4497,6 +4650,7 @@ module Aws::IAM
4497
4650
  #
4498
4651
  class GetUserRequest < Struct.new(
4499
4652
  :user_name)
4653
+ SENSITIVE = []
4500
4654
  include Aws::Structure
4501
4655
  end
4502
4656
 
@@ -4533,6 +4687,7 @@ module Aws::IAM
4533
4687
  #
4534
4688
  class GetUserResponse < Struct.new(
4535
4689
  :user)
4690
+ SENSITIVE = []
4536
4691
  include Aws::Structure
4537
4692
  end
4538
4693
 
@@ -4597,6 +4752,7 @@ module Aws::IAM
4597
4752
  :group_id,
4598
4753
  :arn,
4599
4754
  :create_date)
4755
+ SENSITIVE = []
4600
4756
  include Aws::Structure
4601
4757
  end
4602
4758
 
@@ -4668,6 +4824,7 @@ module Aws::IAM
4668
4824
  :create_date,
4669
4825
  :group_policy_list,
4670
4826
  :attached_managed_policies)
4827
+ SENSITIVE = []
4671
4828
  include Aws::Structure
4672
4829
  end
4673
4830
 
@@ -4734,6 +4891,7 @@ module Aws::IAM
4734
4891
  :arn,
4735
4892
  :create_date,
4736
4893
  :roles)
4894
+ SENSITIVE = []
4737
4895
  include Aws::Structure
4738
4896
  end
4739
4897
 
@@ -4747,6 +4905,7 @@ module Aws::IAM
4747
4905
  #
4748
4906
  class InvalidAuthenticationCodeException < Struct.new(
4749
4907
  :message)
4908
+ SENSITIVE = []
4750
4909
  include Aws::Structure
4751
4910
  end
4752
4911
 
@@ -4759,6 +4918,7 @@ module Aws::IAM
4759
4918
  #
4760
4919
  class InvalidCertificateException < Struct.new(
4761
4920
  :message)
4921
+ SENSITIVE = []
4762
4922
  include Aws::Structure
4763
4923
  end
4764
4924
 
@@ -4772,6 +4932,7 @@ module Aws::IAM
4772
4932
  #
4773
4933
  class InvalidInputException < Struct.new(
4774
4934
  :message)
4935
+ SENSITIVE = []
4775
4936
  include Aws::Structure
4776
4937
  end
4777
4938
 
@@ -4785,6 +4946,7 @@ module Aws::IAM
4785
4946
  #
4786
4947
  class InvalidPublicKeyException < Struct.new(
4787
4948
  :message)
4949
+ SENSITIVE = []
4788
4950
  include Aws::Structure
4789
4951
  end
4790
4952
 
@@ -4798,6 +4960,7 @@ module Aws::IAM
4798
4960
  #
4799
4961
  class InvalidUserTypeException < Struct.new(
4800
4962
  :message)
4963
+ SENSITIVE = []
4801
4964
  include Aws::Structure
4802
4965
  end
4803
4966
 
@@ -4811,6 +4974,7 @@ module Aws::IAM
4811
4974
  #
4812
4975
  class KeyPairMismatchException < Struct.new(
4813
4976
  :message)
4977
+ SENSITIVE = []
4814
4978
  include Aws::Structure
4815
4979
  end
4816
4980
 
@@ -4825,6 +4989,7 @@ module Aws::IAM
4825
4989
  #
4826
4990
  class LimitExceededException < Struct.new(
4827
4991
  :message)
4992
+ SENSITIVE = []
4828
4993
  include Aws::Structure
4829
4994
  end
4830
4995
 
@@ -4876,6 +5041,7 @@ module Aws::IAM
4876
5041
  :user_name,
4877
5042
  :marker,
4878
5043
  :max_items)
5044
+ SENSITIVE = []
4879
5045
  include Aws::Structure
4880
5046
  end
4881
5047
 
@@ -4907,6 +5073,7 @@ module Aws::IAM
4907
5073
  :access_key_metadata,
4908
5074
  :is_truncated,
4909
5075
  :marker)
5076
+ SENSITIVE = []
4910
5077
  include Aws::Structure
4911
5078
  end
4912
5079
 
@@ -4943,6 +5110,7 @@ module Aws::IAM
4943
5110
  class ListAccountAliasesRequest < Struct.new(
4944
5111
  :marker,
4945
5112
  :max_items)
5113
+ SENSITIVE = []
4946
5114
  include Aws::Structure
4947
5115
  end
4948
5116
 
@@ -4975,6 +5143,7 @@ module Aws::IAM
4975
5143
  :account_aliases,
4976
5144
  :is_truncated,
4977
5145
  :marker)
5146
+ SENSITIVE = []
4978
5147
  include Aws::Structure
4979
5148
  end
4980
5149
 
@@ -5046,6 +5215,7 @@ module Aws::IAM
5046
5215
  :path_prefix,
5047
5216
  :marker,
5048
5217
  :max_items)
5218
+ SENSITIVE = []
5049
5219
  include Aws::Structure
5050
5220
  end
5051
5221
 
@@ -5078,6 +5248,7 @@ module Aws::IAM
5078
5248
  :attached_policies,
5079
5249
  :is_truncated,
5080
5250
  :marker)
5251
+ SENSITIVE = []
5081
5252
  include Aws::Structure
5082
5253
  end
5083
5254
 
@@ -5149,6 +5320,7 @@ module Aws::IAM
5149
5320
  :path_prefix,
5150
5321
  :marker,
5151
5322
  :max_items)
5323
+ SENSITIVE = []
5152
5324
  include Aws::Structure
5153
5325
  end
5154
5326
 
@@ -5181,6 +5353,7 @@ module Aws::IAM
5181
5353
  :attached_policies,
5182
5354
  :is_truncated,
5183
5355
  :marker)
5356
+ SENSITIVE = []
5184
5357
  include Aws::Structure
5185
5358
  end
5186
5359
 
@@ -5252,6 +5425,7 @@ module Aws::IAM
5252
5425
  :path_prefix,
5253
5426
  :marker,
5254
5427
  :max_items)
5428
+ SENSITIVE = []
5255
5429
  include Aws::Structure
5256
5430
  end
5257
5431
 
@@ -5284,6 +5458,7 @@ module Aws::IAM
5284
5458
  :attached_policies,
5285
5459
  :is_truncated,
5286
5460
  :marker)
5461
+ SENSITIVE = []
5287
5462
  include Aws::Structure
5288
5463
  end
5289
5464
 
@@ -5379,6 +5554,7 @@ module Aws::IAM
5379
5554
  :policy_usage_filter,
5380
5555
  :marker,
5381
5556
  :max_items)
5557
+ SENSITIVE = []
5382
5558
  include Aws::Structure
5383
5559
  end
5384
5560
 
@@ -5420,6 +5596,7 @@ module Aws::IAM
5420
5596
  :policy_roles,
5421
5597
  :is_truncated,
5422
5598
  :marker)
5599
+ SENSITIVE = []
5423
5600
  include Aws::Structure
5424
5601
  end
5425
5602
 
@@ -5471,6 +5648,7 @@ module Aws::IAM
5471
5648
  :group_name,
5472
5649
  :marker,
5473
5650
  :max_items)
5651
+ SENSITIVE = []
5474
5652
  include Aws::Structure
5475
5653
  end
5476
5654
 
@@ -5511,6 +5689,7 @@ module Aws::IAM
5511
5689
  :policy_names,
5512
5690
  :is_truncated,
5513
5691
  :marker)
5692
+ SENSITIVE = []
5514
5693
  include Aws::Structure
5515
5694
  end
5516
5695
 
@@ -5562,6 +5741,7 @@ module Aws::IAM
5562
5741
  :user_name,
5563
5742
  :marker,
5564
5743
  :max_items)
5744
+ SENSITIVE = []
5565
5745
  include Aws::Structure
5566
5746
  end
5567
5747
 
@@ -5593,6 +5773,7 @@ module Aws::IAM
5593
5773
  :groups,
5594
5774
  :is_truncated,
5595
5775
  :marker)
5776
+ SENSITIVE = []
5596
5777
  include Aws::Structure
5597
5778
  end
5598
5779
 
@@ -5650,6 +5831,7 @@ module Aws::IAM
5650
5831
  :path_prefix,
5651
5832
  :marker,
5652
5833
  :max_items)
5834
+ SENSITIVE = []
5653
5835
  include Aws::Structure
5654
5836
  end
5655
5837
 
@@ -5681,6 +5863,7 @@ module Aws::IAM
5681
5863
  :groups,
5682
5864
  :is_truncated,
5683
5865
  :marker)
5866
+ SENSITIVE = []
5684
5867
  include Aws::Structure
5685
5868
  end
5686
5869
 
@@ -5732,6 +5915,7 @@ module Aws::IAM
5732
5915
  :role_name,
5733
5916
  :marker,
5734
5917
  :max_items)
5918
+ SENSITIVE = []
5735
5919
  include Aws::Structure
5736
5920
  end
5737
5921
 
@@ -5764,6 +5948,7 @@ module Aws::IAM
5764
5948
  :instance_profiles,
5765
5949
  :is_truncated,
5766
5950
  :marker)
5951
+ SENSITIVE = []
5767
5952
  include Aws::Structure
5768
5953
  end
5769
5954
 
@@ -5821,6 +6006,7 @@ module Aws::IAM
5821
6006
  :path_prefix,
5822
6007
  :marker,
5823
6008
  :max_items)
6009
+ SENSITIVE = []
5824
6010
  include Aws::Structure
5825
6011
  end
5826
6012
 
@@ -5852,6 +6038,7 @@ module Aws::IAM
5852
6038
  :instance_profiles,
5853
6039
  :is_truncated,
5854
6040
  :marker)
6041
+ SENSITIVE = []
5855
6042
  include Aws::Structure
5856
6043
  end
5857
6044
 
@@ -5903,6 +6090,7 @@ module Aws::IAM
5903
6090
  :user_name,
5904
6091
  :marker,
5905
6092
  :max_items)
6093
+ SENSITIVE = []
5906
6094
  include Aws::Structure
5907
6095
  end
5908
6096
 
@@ -5934,6 +6122,7 @@ module Aws::IAM
5934
6122
  :mfa_devices,
5935
6123
  :is_truncated,
5936
6124
  :marker)
6125
+ SENSITIVE = []
5937
6126
  include Aws::Structure
5938
6127
  end
5939
6128
 
@@ -5955,6 +6144,7 @@ module Aws::IAM
5955
6144
  #
5956
6145
  class ListOpenIDConnectProvidersResponse < Struct.new(
5957
6146
  :open_id_connect_provider_list)
6147
+ SENSITIVE = []
5958
6148
  include Aws::Structure
5959
6149
  end
5960
6150
 
@@ -5991,6 +6181,7 @@ module Aws::IAM
5991
6181
  class ListPoliciesGrantingServiceAccessEntry < Struct.new(
5992
6182
  :service_namespace,
5993
6183
  :policies)
6184
+ SENSITIVE = []
5994
6185
  include Aws::Structure
5995
6186
  end
5996
6187
 
@@ -6039,6 +6230,7 @@ module Aws::IAM
6039
6230
  :marker,
6040
6231
  :arn,
6041
6232
  :service_namespaces)
6233
+ SENSITIVE = []
6042
6234
  include Aws::Structure
6043
6235
  end
6044
6236
 
@@ -6068,6 +6260,7 @@ module Aws::IAM
6068
6260
  :policies_granting_service_access,
6069
6261
  :is_truncated,
6070
6262
  :marker)
6263
+ SENSITIVE = []
6071
6264
  include Aws::Structure
6072
6265
  end
6073
6266
 
@@ -6159,6 +6352,7 @@ module Aws::IAM
6159
6352
  :policy_usage_filter,
6160
6353
  :marker,
6161
6354
  :max_items)
6355
+ SENSITIVE = []
6162
6356
  include Aws::Structure
6163
6357
  end
6164
6358
 
@@ -6190,6 +6384,7 @@ module Aws::IAM
6190
6384
  :policies,
6191
6385
  :is_truncated,
6192
6386
  :marker)
6387
+ SENSITIVE = []
6193
6388
  include Aws::Structure
6194
6389
  end
6195
6390
 
@@ -6240,6 +6435,7 @@ module Aws::IAM
6240
6435
  :policy_arn,
6241
6436
  :marker,
6242
6437
  :max_items)
6438
+ SENSITIVE = []
6243
6439
  include Aws::Structure
6244
6440
  end
6245
6441
 
@@ -6278,6 +6474,7 @@ module Aws::IAM
6278
6474
  :versions,
6279
6475
  :is_truncated,
6280
6476
  :marker)
6477
+ SENSITIVE = []
6281
6478
  include Aws::Structure
6282
6479
  end
6283
6480
 
@@ -6329,6 +6526,7 @@ module Aws::IAM
6329
6526
  :role_name,
6330
6527
  :marker,
6331
6528
  :max_items)
6529
+ SENSITIVE = []
6332
6530
  include Aws::Structure
6333
6531
  end
6334
6532
 
@@ -6360,6 +6558,7 @@ module Aws::IAM
6360
6558
  :policy_names,
6361
6559
  :is_truncated,
6362
6560
  :marker)
6561
+ SENSITIVE = []
6363
6562
  include Aws::Structure
6364
6563
  end
6365
6564
 
@@ -6411,6 +6610,7 @@ module Aws::IAM
6411
6610
  :role_name,
6412
6611
  :marker,
6413
6612
  :max_items)
6613
+ SENSITIVE = []
6414
6614
  include Aws::Structure
6415
6615
  end
6416
6616
 
@@ -6442,6 +6642,7 @@ module Aws::IAM
6442
6642
  :tags,
6443
6643
  :is_truncated,
6444
6644
  :marker)
6645
+ SENSITIVE = []
6445
6646
  include Aws::Structure
6446
6647
  end
6447
6648
 
@@ -6499,6 +6700,7 @@ module Aws::IAM
6499
6700
  :path_prefix,
6500
6701
  :marker,
6501
6702
  :max_items)
6703
+ SENSITIVE = []
6502
6704
  include Aws::Structure
6503
6705
  end
6504
6706
 
@@ -6530,6 +6732,7 @@ module Aws::IAM
6530
6732
  :roles,
6531
6733
  :is_truncated,
6532
6734
  :marker)
6735
+ SENSITIVE = []
6533
6736
  include Aws::Structure
6534
6737
  end
6535
6738
 
@@ -6550,6 +6753,7 @@ module Aws::IAM
6550
6753
  #
6551
6754
  class ListSAMLProvidersResponse < Struct.new(
6552
6755
  :saml_provider_list)
6756
+ SENSITIVE = []
6553
6757
  include Aws::Structure
6554
6758
  end
6555
6759
 
@@ -6603,6 +6807,7 @@ module Aws::IAM
6603
6807
  :user_name,
6604
6808
  :marker,
6605
6809
  :max_items)
6810
+ SENSITIVE = []
6606
6811
  include Aws::Structure
6607
6812
  end
6608
6813
 
@@ -6634,6 +6839,7 @@ module Aws::IAM
6634
6839
  :ssh_public_keys,
6635
6840
  :is_truncated,
6636
6841
  :marker)
6842
+ SENSITIVE = []
6637
6843
  include Aws::Structure
6638
6844
  end
6639
6845
 
@@ -6691,6 +6897,7 @@ module Aws::IAM
6691
6897
  :path_prefix,
6692
6898
  :marker,
6693
6899
  :max_items)
6900
+ SENSITIVE = []
6694
6901
  include Aws::Structure
6695
6902
  end
6696
6903
 
@@ -6722,6 +6929,7 @@ module Aws::IAM
6722
6929
  :server_certificate_metadata_list,
6723
6930
  :is_truncated,
6724
6931
  :marker)
6932
+ SENSITIVE = []
6725
6933
  include Aws::Structure
6726
6934
  end
6727
6935
 
@@ -6760,6 +6968,7 @@ module Aws::IAM
6760
6968
  class ListServiceSpecificCredentialsRequest < Struct.new(
6761
6969
  :user_name,
6762
6970
  :service_name)
6971
+ SENSITIVE = []
6763
6972
  include Aws::Structure
6764
6973
  end
6765
6974
 
@@ -6772,6 +6981,7 @@ module Aws::IAM
6772
6981
  #
6773
6982
  class ListServiceSpecificCredentialsResponse < Struct.new(
6774
6983
  :service_specific_credentials)
6984
+ SENSITIVE = []
6775
6985
  include Aws::Structure
6776
6986
  end
6777
6987
 
@@ -6824,6 +7034,7 @@ module Aws::IAM
6824
7034
  :user_name,
6825
7035
  :marker,
6826
7036
  :max_items)
7037
+ SENSITIVE = []
6827
7038
  include Aws::Structure
6828
7039
  end
6829
7040
 
@@ -6855,6 +7066,7 @@ module Aws::IAM
6855
7066
  :certificates,
6856
7067
  :is_truncated,
6857
7068
  :marker)
7069
+ SENSITIVE = []
6858
7070
  include Aws::Structure
6859
7071
  end
6860
7072
 
@@ -6906,6 +7118,7 @@ module Aws::IAM
6906
7118
  :user_name,
6907
7119
  :marker,
6908
7120
  :max_items)
7121
+ SENSITIVE = []
6909
7122
  include Aws::Structure
6910
7123
  end
6911
7124
 
@@ -6937,6 +7150,7 @@ module Aws::IAM
6937
7150
  :policy_names,
6938
7151
  :is_truncated,
6939
7152
  :marker)
7153
+ SENSITIVE = []
6940
7154
  include Aws::Structure
6941
7155
  end
6942
7156
 
@@ -6988,6 +7202,7 @@ module Aws::IAM
6988
7202
  :user_name,
6989
7203
  :marker,
6990
7204
  :max_items)
7205
+ SENSITIVE = []
6991
7206
  include Aws::Structure
6992
7207
  end
6993
7208
 
@@ -7019,6 +7234,7 @@ module Aws::IAM
7019
7234
  :tags,
7020
7235
  :is_truncated,
7021
7236
  :marker)
7237
+ SENSITIVE = []
7022
7238
  include Aws::Structure
7023
7239
  end
7024
7240
 
@@ -7076,6 +7292,7 @@ module Aws::IAM
7076
7292
  :path_prefix,
7077
7293
  :marker,
7078
7294
  :max_items)
7295
+ SENSITIVE = []
7079
7296
  include Aws::Structure
7080
7297
  end
7081
7298
 
@@ -7107,6 +7324,7 @@ module Aws::IAM
7107
7324
  :users,
7108
7325
  :is_truncated,
7109
7326
  :marker)
7327
+ SENSITIVE = []
7110
7328
  include Aws::Structure
7111
7329
  end
7112
7330
 
@@ -7152,6 +7370,7 @@ module Aws::IAM
7152
7370
  :assignment_status,
7153
7371
  :marker,
7154
7372
  :max_items)
7373
+ SENSITIVE = []
7155
7374
  include Aws::Structure
7156
7375
  end
7157
7376
 
@@ -7184,6 +7403,7 @@ module Aws::IAM
7184
7403
  :virtual_mfa_devices,
7185
7404
  :is_truncated,
7186
7405
  :marker)
7406
+ SENSITIVE = []
7187
7407
  include Aws::Structure
7188
7408
  end
7189
7409
 
@@ -7212,6 +7432,7 @@ module Aws::IAM
7212
7432
  :user_name,
7213
7433
  :create_date,
7214
7434
  :password_reset_required)
7435
+ SENSITIVE = []
7215
7436
  include Aws::Structure
7216
7437
  end
7217
7438
 
@@ -7239,6 +7460,7 @@ module Aws::IAM
7239
7460
  :user_name,
7240
7461
  :serial_number,
7241
7462
  :enable_date)
7463
+ SENSITIVE = []
7242
7464
  include Aws::Structure
7243
7465
  end
7244
7466
 
@@ -7252,6 +7474,7 @@ module Aws::IAM
7252
7474
  #
7253
7475
  class MalformedCertificateException < Struct.new(
7254
7476
  :message)
7477
+ SENSITIVE = []
7255
7478
  include Aws::Structure
7256
7479
  end
7257
7480
 
@@ -7265,6 +7488,7 @@ module Aws::IAM
7265
7488
  #
7266
7489
  class MalformedPolicyDocumentException < Struct.new(
7267
7490
  :message)
7491
+ SENSITIVE = []
7268
7492
  include Aws::Structure
7269
7493
  end
7270
7494
 
@@ -7400,6 +7624,7 @@ module Aws::IAM
7400
7624
  :create_date,
7401
7625
  :update_date,
7402
7626
  :policy_version_list)
7627
+ SENSITIVE = []
7403
7628
  include Aws::Structure
7404
7629
  end
7405
7630
 
@@ -7413,6 +7638,7 @@ module Aws::IAM
7413
7638
  #
7414
7639
  class NoSuchEntityException < Struct.new(
7415
7640
  :message)
7641
+ SENSITIVE = []
7416
7642
  include Aws::Structure
7417
7643
  end
7418
7644
 
@@ -7435,6 +7661,7 @@ module Aws::IAM
7435
7661
  #
7436
7662
  class OpenIDConnectProviderListEntry < Struct.new(
7437
7663
  :arn)
7664
+ SENSITIVE = []
7438
7665
  include Aws::Structure
7439
7666
  end
7440
7667
 
@@ -7451,6 +7678,7 @@ module Aws::IAM
7451
7678
  #
7452
7679
  class OrganizationsDecisionDetail < Struct.new(
7453
7680
  :allowed_by_organizations)
7681
+ SENSITIVE = []
7454
7682
  include Aws::Structure
7455
7683
  end
7456
7684
 
@@ -7519,6 +7747,7 @@ module Aws::IAM
7519
7747
  :max_password_age,
7520
7748
  :password_reuse_prevention,
7521
7749
  :hard_expiry)
7750
+ SENSITIVE = []
7522
7751
  include Aws::Structure
7523
7752
  end
7524
7753
 
@@ -7532,6 +7761,7 @@ module Aws::IAM
7532
7761
  #
7533
7762
  class PasswordPolicyViolationException < Struct.new(
7534
7763
  :message)
7764
+ SENSITIVE = []
7535
7765
  include Aws::Structure
7536
7766
  end
7537
7767
 
@@ -7555,6 +7785,7 @@ module Aws::IAM
7555
7785
  #
7556
7786
  class PermissionsBoundaryDecisionDetail < Struct.new(
7557
7787
  :allowed_by_permissions_boundary)
7788
+ SENSITIVE = []
7558
7789
  include Aws::Structure
7559
7790
  end
7560
7791
 
@@ -7679,6 +7910,7 @@ module Aws::IAM
7679
7910
  :description,
7680
7911
  :create_date,
7681
7912
  :update_date)
7913
+ SENSITIVE = []
7682
7914
  include Aws::Structure
7683
7915
  end
7684
7916
 
@@ -7701,6 +7933,7 @@ module Aws::IAM
7701
7933
  class PolicyDetail < Struct.new(
7702
7934
  :policy_name,
7703
7935
  :policy_document)
7936
+ SENSITIVE = []
7704
7937
  include Aws::Structure
7705
7938
  end
7706
7939
 
@@ -7715,6 +7948,7 @@ module Aws::IAM
7715
7948
  #
7716
7949
  class PolicyEvaluationException < Struct.new(
7717
7950
  :message)
7951
+ SENSITIVE = []
7718
7952
  include Aws::Structure
7719
7953
  end
7720
7954
 
@@ -7783,6 +8017,7 @@ module Aws::IAM
7783
8017
  :policy_arn,
7784
8018
  :entity_type,
7785
8019
  :entity_name)
8020
+ SENSITIVE = []
7786
8021
  include Aws::Structure
7787
8022
  end
7788
8023
 
@@ -7818,6 +8053,7 @@ module Aws::IAM
7818
8053
  class PolicyGroup < Struct.new(
7819
8054
  :group_name,
7820
8055
  :group_id)
8056
+ SENSITIVE = []
7821
8057
  include Aws::Structure
7822
8058
  end
7823
8059
 
@@ -7831,6 +8067,7 @@ module Aws::IAM
7831
8067
  #
7832
8068
  class PolicyNotAttachableException < Struct.new(
7833
8069
  :message)
8070
+ SENSITIVE = []
7834
8071
  include Aws::Structure
7835
8072
  end
7836
8073
 
@@ -7866,6 +8103,7 @@ module Aws::IAM
7866
8103
  class PolicyRole < Struct.new(
7867
8104
  :role_name,
7868
8105
  :role_id)
8106
+ SENSITIVE = []
7869
8107
  include Aws::Structure
7870
8108
  end
7871
8109
 
@@ -7901,6 +8139,7 @@ module Aws::IAM
7901
8139
  class PolicyUser < Struct.new(
7902
8140
  :user_name,
7903
8141
  :user_id)
8142
+ SENSITIVE = []
7904
8143
  include Aws::Structure
7905
8144
  end
7906
8145
 
@@ -7965,6 +8204,7 @@ module Aws::IAM
7965
8204
  :version_id,
7966
8205
  :is_default_version,
7967
8206
  :create_date)
8207
+ SENSITIVE = []
7968
8208
  include Aws::Structure
7969
8209
  end
7970
8210
 
@@ -7987,6 +8227,7 @@ module Aws::IAM
7987
8227
  class Position < Struct.new(
7988
8228
  :line,
7989
8229
  :column)
8230
+ SENSITIVE = []
7990
8231
  include Aws::Structure
7991
8232
  end
7992
8233
 
@@ -8056,6 +8297,7 @@ module Aws::IAM
8056
8297
  :group_name,
8057
8298
  :policy_name,
8058
8299
  :policy_document)
8300
+ SENSITIVE = []
8059
8301
  include Aws::Structure
8060
8302
  end
8061
8303
 
@@ -8082,6 +8324,7 @@ module Aws::IAM
8082
8324
  class PutRolePermissionsBoundaryRequest < Struct.new(
8083
8325
  :role_name,
8084
8326
  :permissions_boundary)
8327
+ SENSITIVE = []
8085
8328
  include Aws::Structure
8086
8329
  end
8087
8330
 
@@ -8151,6 +8394,7 @@ module Aws::IAM
8151
8394
  :role_name,
8152
8395
  :policy_name,
8153
8396
  :policy_document)
8397
+ SENSITIVE = []
8154
8398
  include Aws::Structure
8155
8399
  end
8156
8400
 
@@ -8177,6 +8421,7 @@ module Aws::IAM
8177
8421
  class PutUserPermissionsBoundaryRequest < Struct.new(
8178
8422
  :user_name,
8179
8423
  :permissions_boundary)
8424
+ SENSITIVE = []
8180
8425
  include Aws::Structure
8181
8426
  end
8182
8427
 
@@ -8246,6 +8491,7 @@ module Aws::IAM
8246
8491
  :user_name,
8247
8492
  :policy_name,
8248
8493
  :policy_document)
8494
+ SENSITIVE = []
8249
8495
  include Aws::Structure
8250
8496
  end
8251
8497
 
@@ -8281,6 +8527,7 @@ module Aws::IAM
8281
8527
  class RemoveClientIDFromOpenIDConnectProviderRequest < Struct.new(
8282
8528
  :open_id_connect_provider_arn,
8283
8529
  :client_id)
8530
+ SENSITIVE = []
8284
8531
  include Aws::Structure
8285
8532
  end
8286
8533
 
@@ -8323,6 +8570,7 @@ module Aws::IAM
8323
8570
  class RemoveRoleFromInstanceProfileRequest < Struct.new(
8324
8571
  :instance_profile_name,
8325
8572
  :role_name)
8573
+ SENSITIVE = []
8326
8574
  include Aws::Structure
8327
8575
  end
8328
8576
 
@@ -8365,6 +8613,7 @@ module Aws::IAM
8365
8613
  class RemoveUserFromGroupRequest < Struct.new(
8366
8614
  :group_name,
8367
8615
  :user_name)
8616
+ SENSITIVE = []
8368
8617
  include Aws::Structure
8369
8618
  end
8370
8619
 
@@ -8378,6 +8627,7 @@ module Aws::IAM
8378
8627
  #
8379
8628
  class ReportGenerationLimitExceededException < Struct.new(
8380
8629
  :message)
8630
+ SENSITIVE = []
8381
8631
  include Aws::Structure
8382
8632
  end
8383
8633
 
@@ -8421,6 +8671,7 @@ module Aws::IAM
8421
8671
  class ResetServiceSpecificCredentialRequest < Struct.new(
8422
8672
  :user_name,
8423
8673
  :service_specific_credential_id)
8674
+ SENSITIVE = []
8424
8675
  include Aws::Structure
8425
8676
  end
8426
8677
 
@@ -8436,6 +8687,7 @@ module Aws::IAM
8436
8687
  #
8437
8688
  class ResetServiceSpecificCredentialResponse < Struct.new(
8438
8689
  :service_specific_credential)
8690
+ SENSITIVE = []
8439
8691
  include Aws::Structure
8440
8692
  end
8441
8693
 
@@ -8497,6 +8749,7 @@ module Aws::IAM
8497
8749
  :missing_context_values,
8498
8750
  :eval_decision_details,
8499
8751
  :permissions_boundary_decision_detail)
8752
+ SENSITIVE = []
8500
8753
  include Aws::Structure
8501
8754
  end
8502
8755
 
@@ -8555,6 +8808,7 @@ module Aws::IAM
8555
8808
  :serial_number,
8556
8809
  :authentication_code_1,
8557
8810
  :authentication_code_2)
8811
+ SENSITIVE = []
8558
8812
  include Aws::Structure
8559
8813
  end
8560
8814
 
@@ -8668,6 +8922,7 @@ module Aws::IAM
8668
8922
  :permissions_boundary,
8669
8923
  :tags,
8670
8924
  :role_last_used)
8925
+ SENSITIVE = []
8671
8926
  include Aws::Structure
8672
8927
  end
8673
8928
 
@@ -8790,6 +9045,7 @@ module Aws::IAM
8790
9045
  :permissions_boundary,
8791
9046
  :tags,
8792
9047
  :role_last_used)
9048
+ SENSITIVE = []
8793
9049
  include Aws::Structure
8794
9050
  end
8795
9051
 
@@ -8831,6 +9087,7 @@ module Aws::IAM
8831
9087
  class RoleLastUsed < Struct.new(
8832
9088
  :last_used_date,
8833
9089
  :region)
9090
+ SENSITIVE = []
8834
9091
  include Aws::Structure
8835
9092
  end
8836
9093
 
@@ -8853,6 +9110,7 @@ module Aws::IAM
8853
9110
  class RoleUsageType < Struct.new(
8854
9111
  :region,
8855
9112
  :resources)
9113
+ SENSITIVE = []
8856
9114
  include Aws::Structure
8857
9115
  end
8858
9116
 
@@ -8876,6 +9134,7 @@ module Aws::IAM
8876
9134
  :arn,
8877
9135
  :valid_until,
8878
9136
  :create_date)
9137
+ SENSITIVE = []
8879
9138
  include Aws::Structure
8880
9139
  end
8881
9140
 
@@ -8924,6 +9183,7 @@ module Aws::IAM
8924
9183
  :ssh_public_key_body,
8925
9184
  :status,
8926
9185
  :upload_date)
9186
+ SENSITIVE = []
8927
9187
  include Aws::Structure
8928
9188
  end
8929
9189
 
@@ -8963,6 +9223,7 @@ module Aws::IAM
8963
9223
  :ssh_public_key_id,
8964
9224
  :status,
8965
9225
  :upload_date)
9226
+ SENSITIVE = []
8966
9227
  include Aws::Structure
8967
9228
  end
8968
9229
 
@@ -8990,6 +9251,7 @@ module Aws::IAM
8990
9251
  :server_certificate_metadata,
8991
9252
  :certificate_body,
8992
9253
  :certificate_chain)
9254
+ SENSITIVE = []
8993
9255
  include Aws::Structure
8994
9256
  end
8995
9257
 
@@ -9049,6 +9311,7 @@ module Aws::IAM
9049
9311
  :arn,
9050
9312
  :upload_date,
9051
9313
  :expiration)
9314
+ SENSITIVE = []
9052
9315
  include Aws::Structure
9053
9316
  end
9054
9317
 
@@ -9062,6 +9325,7 @@ module Aws::IAM
9062
9325
  #
9063
9326
  class ServiceFailureException < Struct.new(
9064
9327
  :message)
9328
+ SENSITIVE = []
9065
9329
  include Aws::Structure
9066
9330
  end
9067
9331
 
@@ -9118,6 +9382,19 @@ module Aws::IAM
9118
9382
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period
9119
9383
  # @return [String]
9120
9384
  #
9385
+ # @!attribute [rw] last_authenticated_region
9386
+ # The Region from which the authenticated entity (user or role) last
9387
+ # attempted to access the service. AWS does not report unauthenticated
9388
+ # requests.
9389
+ #
9390
+ # This field is null if no IAM entities attempted to access the
9391
+ # service within the [reporting period][1].
9392
+ #
9393
+ #
9394
+ #
9395
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period
9396
+ # @return [String]
9397
+ #
9121
9398
  # @!attribute [rw] total_authenticated_entities
9122
9399
  # The total number of authenticated principals (root user, IAM users,
9123
9400
  # or IAM roles) that have attempted to access the service.
@@ -9130,6 +9407,21 @@ module Aws::IAM
9130
9407
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period
9131
9408
  # @return [Integer]
9132
9409
  #
9410
+ # @!attribute [rw] tracked_actions_last_accessed
9411
+ # An object that contains details about the most recent attempt to
9412
+ # access a tracked action within the service.
9413
+ #
9414
+ # This field is null if there no tracked actions or if the principal
9415
+ # did not use the tracked actions within the [reporting period][1].
9416
+ # This field is also null if the report was generated at the service
9417
+ # level and not the action level. For more information, see the
9418
+ # `Granularity` field in GenerateServiceLastAccessedDetails.
9419
+ #
9420
+ #
9421
+ #
9422
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period
9423
+ # @return [Array<Types::TrackedActionLastAccessed>]
9424
+ #
9133
9425
  # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/ServiceLastAccessed AWS API Documentation
9134
9426
  #
9135
9427
  class ServiceLastAccessed < Struct.new(
@@ -9137,7 +9429,10 @@ module Aws::IAM
9137
9429
  :last_authenticated,
9138
9430
  :service_namespace,
9139
9431
  :last_authenticated_entity,
9140
- :total_authenticated_entities)
9432
+ :last_authenticated_region,
9433
+ :total_authenticated_entities,
9434
+ :tracked_actions_last_accessed)
9435
+ SENSITIVE = []
9141
9436
  include Aws::Structure
9142
9437
  end
9143
9438
 
@@ -9150,6 +9445,7 @@ module Aws::IAM
9150
9445
  #
9151
9446
  class ServiceNotSupportedException < Struct.new(
9152
9447
  :message)
9448
+ SENSITIVE = []
9153
9449
  include Aws::Structure
9154
9450
  end
9155
9451
 
@@ -9204,6 +9500,7 @@ module Aws::IAM
9204
9500
  :service_specific_credential_id,
9205
9501
  :user_name,
9206
9502
  :status)
9503
+ SENSITIVE = [:service_password]
9207
9504
  include Aws::Structure
9208
9505
  end
9209
9506
 
@@ -9250,6 +9547,7 @@ module Aws::IAM
9250
9547
  :create_date,
9251
9548
  :service_specific_credential_id,
9252
9549
  :service_name)
9550
+ SENSITIVE = []
9253
9551
  include Aws::Structure
9254
9552
  end
9255
9553
 
@@ -9289,6 +9587,7 @@ module Aws::IAM
9289
9587
  class SetDefaultPolicyVersionRequest < Struct.new(
9290
9588
  :policy_arn,
9291
9589
  :version_id)
9590
+ SENSITIVE = []
9292
9591
  include Aws::Structure
9293
9592
  end
9294
9593
 
@@ -9319,6 +9618,7 @@ module Aws::IAM
9319
9618
  #
9320
9619
  class SetSecurityTokenServicePreferencesRequest < Struct.new(
9321
9620
  :global_endpoint_token_version)
9621
+ SENSITIVE = []
9322
9622
  include Aws::Structure
9323
9623
  end
9324
9624
 
@@ -9356,6 +9656,7 @@ module Aws::IAM
9356
9656
  :certificate_body,
9357
9657
  :status,
9358
9658
  :upload_date)
9659
+ SENSITIVE = []
9359
9660
  include Aws::Structure
9360
9661
  end
9361
9662
 
@@ -9612,6 +9913,7 @@ module Aws::IAM
9612
9913
  :resource_handling_option,
9613
9914
  :max_items,
9614
9915
  :marker)
9916
+ SENSITIVE = []
9615
9917
  include Aws::Structure
9616
9918
  end
9617
9919
 
@@ -9644,6 +9946,7 @@ module Aws::IAM
9644
9946
  :evaluation_results,
9645
9947
  :is_truncated,
9646
9948
  :marker)
9949
+ SENSITIVE = []
9647
9950
  include Aws::Structure
9648
9951
  end
9649
9952
 
@@ -9716,7 +10019,7 @@ module Aws::IAM
9716
10019
  # this operation. An IAM entity can only have one permissions boundary
9717
10020
  # in effect at a time. For example, if a permissions boundary is
9718
10021
  # attached to an entity and you pass in a different permissions
9719
- # boundary policy using this parameter, then the new permission
10022
+ # boundary policy using this parameter, then the new permissions
9720
10023
  # boundary policy is used for the simulation. For more information
9721
10024
  # about permissions boundaries, see [Permissions Boundaries for IAM
9722
10025
  # Entities][1] in the *IAM User Guide*. The policy input is specified
@@ -9921,6 +10224,7 @@ module Aws::IAM
9921
10224
  :resource_handling_option,
9922
10225
  :max_items,
9923
10226
  :marker)
10227
+ SENSITIVE = []
9924
10228
  include Aws::Structure
9925
10229
  end
9926
10230
 
@@ -9954,6 +10258,7 @@ module Aws::IAM
9954
10258
  :source_policy_type,
9955
10259
  :start_position,
9956
10260
  :end_position)
10261
+ SENSITIVE = []
9957
10262
  include Aws::Structure
9958
10263
  end
9959
10264
 
@@ -10000,6 +10305,7 @@ module Aws::IAM
10000
10305
  class Tag < Struct.new(
10001
10306
  :key,
10002
10307
  :value)
10308
+ SENSITIVE = []
10003
10309
  include Aws::Structure
10004
10310
  end
10005
10311
 
@@ -10040,6 +10346,7 @@ module Aws::IAM
10040
10346
  class TagRoleRequest < Struct.new(
10041
10347
  :role_name,
10042
10348
  :tags)
10349
+ SENSITIVE = []
10043
10350
  include Aws::Structure
10044
10351
  end
10045
10352
 
@@ -10079,6 +10386,68 @@ module Aws::IAM
10079
10386
  class TagUserRequest < Struct.new(
10080
10387
  :user_name,
10081
10388
  :tags)
10389
+ SENSITIVE = []
10390
+ include Aws::Structure
10391
+ end
10392
+
10393
+ # Contains details about the most recent attempt to access an action
10394
+ # within the service.
10395
+ #
10396
+ # This data type is used as a response element in the
10397
+ # GetServiceLastAccessedDetails operation.
10398
+ #
10399
+ # @!attribute [rw] action_name
10400
+ # The name of the tracked action to which access was attempted.
10401
+ # Tracked actions are actions that report activity to IAM.
10402
+ # @return [String]
10403
+ #
10404
+ # @!attribute [rw] last_accessed_entity
10405
+ # The Amazon Resource Name (ARN). ARNs are unique identifiers for AWS
10406
+ # resources.
10407
+ #
10408
+ # For more information about ARNs, go to [Amazon Resource Names (ARNs)
10409
+ # and AWS Service Namespaces][1] in the *AWS General Reference*.
10410
+ #
10411
+ #
10412
+ #
10413
+ # [1]: https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html
10414
+ # @return [String]
10415
+ #
10416
+ # @!attribute [rw] last_accessed_time
10417
+ # The date and time, in [ISO 8601 date-time format][1], when an
10418
+ # authenticated entity most recently attempted to access the tracked
10419
+ # service. AWS does not report unauthenticated requests.
10420
+ #
10421
+ # This field is null if no IAM entities attempted to access the
10422
+ # service within the [reporting period][2].
10423
+ #
10424
+ #
10425
+ #
10426
+ # [1]: http://www.iso.org/iso/iso8601
10427
+ # [2]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period
10428
+ # @return [Time]
10429
+ #
10430
+ # @!attribute [rw] last_accessed_region
10431
+ # The Region from which the authenticated entity (user or role) last
10432
+ # attempted to access the tracked action. AWS does not report
10433
+ # unauthenticated requests.
10434
+ #
10435
+ # This field is null if no IAM entities attempted to access the
10436
+ # service within the [reporting period][1].
10437
+ #
10438
+ #
10439
+ #
10440
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period
10441
+ # @return [String]
10442
+ #
10443
+ # @see http://docs.aws.amazon.com/goto/WebAPI/iam-2010-05-08/TrackedActionLastAccessed AWS API Documentation
10444
+ #
10445
+ class TrackedActionLastAccessed < Struct.new(
10446
+ :action_name,
10447
+ :last_accessed_entity,
10448
+ :last_accessed_time,
10449
+ :last_accessed_region)
10450
+ SENSITIVE = []
10082
10451
  include Aws::Structure
10083
10452
  end
10084
10453
 
@@ -10094,6 +10463,7 @@ module Aws::IAM
10094
10463
  #
10095
10464
  class UnmodifiableEntityException < Struct.new(
10096
10465
  :message)
10466
+ SENSITIVE = []
10097
10467
  include Aws::Structure
10098
10468
  end
10099
10469
 
@@ -10107,6 +10477,7 @@ module Aws::IAM
10107
10477
  #
10108
10478
  class UnrecognizedPublicKeyEncodingException < Struct.new(
10109
10479
  :message)
10480
+ SENSITIVE = []
10110
10481
  include Aws::Structure
10111
10482
  end
10112
10483
 
@@ -10141,6 +10512,7 @@ module Aws::IAM
10141
10512
  class UntagRoleRequest < Struct.new(
10142
10513
  :role_name,
10143
10514
  :tag_keys)
10515
+ SENSITIVE = []
10144
10516
  include Aws::Structure
10145
10517
  end
10146
10518
 
@@ -10175,6 +10547,7 @@ module Aws::IAM
10175
10547
  class UntagUserRequest < Struct.new(
10176
10548
  :user_name,
10177
10549
  :tag_keys)
10550
+ SENSITIVE = []
10178
10551
  include Aws::Structure
10179
10552
  end
10180
10553
 
@@ -10224,6 +10597,7 @@ module Aws::IAM
10224
10597
  :user_name,
10225
10598
  :access_key_id,
10226
10599
  :status)
10600
+ SENSITIVE = []
10227
10601
  include Aws::Structure
10228
10602
  end
10229
10603
 
@@ -10343,6 +10717,7 @@ module Aws::IAM
10343
10717
  :max_password_age,
10344
10718
  :password_reuse_prevention,
10345
10719
  :hard_expiry)
10720
+ SENSITIVE = []
10346
10721
  include Aws::Structure
10347
10722
  end
10348
10723
 
@@ -10397,6 +10772,7 @@ module Aws::IAM
10397
10772
  class UpdateAssumeRolePolicyRequest < Struct.new(
10398
10773
  :role_name,
10399
10774
  :policy_document)
10775
+ SENSITIVE = []
10400
10776
  include Aws::Structure
10401
10777
  end
10402
10778
 
@@ -10455,6 +10831,7 @@ module Aws::IAM
10455
10831
  :group_name,
10456
10832
  :new_path,
10457
10833
  :new_group_name)
10834
+ SENSITIVE = []
10458
10835
  include Aws::Structure
10459
10836
  end
10460
10837
 
@@ -10515,6 +10892,7 @@ module Aws::IAM
10515
10892
  :user_name,
10516
10893
  :password,
10517
10894
  :password_reset_required)
10895
+ SENSITIVE = [:password]
10518
10896
  include Aws::Structure
10519
10897
  end
10520
10898
 
@@ -10551,6 +10929,7 @@ module Aws::IAM
10551
10929
  class UpdateOpenIDConnectProviderThumbprintRequest < Struct.new(
10552
10930
  :open_id_connect_provider_arn,
10553
10931
  :thumbprint_list)
10932
+ SENSITIVE = []
10554
10933
  include Aws::Structure
10555
10934
  end
10556
10935
 
@@ -10575,6 +10954,7 @@ module Aws::IAM
10575
10954
  class UpdateRoleDescriptionRequest < Struct.new(
10576
10955
  :role_name,
10577
10956
  :description)
10957
+ SENSITIVE = []
10578
10958
  include Aws::Structure
10579
10959
  end
10580
10960
 
@@ -10586,6 +10966,7 @@ module Aws::IAM
10586
10966
  #
10587
10967
  class UpdateRoleDescriptionResponse < Struct.new(
10588
10968
  :role)
10969
+ SENSITIVE = []
10589
10970
  include Aws::Structure
10590
10971
  end
10591
10972
 
@@ -10635,6 +11016,7 @@ module Aws::IAM
10635
11016
  :role_name,
10636
11017
  :description,
10637
11018
  :max_session_duration)
11019
+ SENSITIVE = []
10638
11020
  include Aws::Structure
10639
11021
  end
10640
11022
 
@@ -10675,6 +11057,7 @@ module Aws::IAM
10675
11057
  class UpdateSAMLProviderRequest < Struct.new(
10676
11058
  :saml_metadata_document,
10677
11059
  :saml_provider_arn)
11060
+ SENSITIVE = []
10678
11061
  include Aws::Structure
10679
11062
  end
10680
11063
 
@@ -10689,6 +11072,7 @@ module Aws::IAM
10689
11072
  #
10690
11073
  class UpdateSAMLProviderResponse < Struct.new(
10691
11074
  :saml_provider_arn)
11075
+ SENSITIVE = []
10692
11076
  include Aws::Structure
10693
11077
  end
10694
11078
 
@@ -10738,6 +11122,7 @@ module Aws::IAM
10738
11122
  :user_name,
10739
11123
  :ssh_public_key_id,
10740
11124
  :status)
11125
+ SENSITIVE = []
10741
11126
  include Aws::Structure
10742
11127
  end
10743
11128
 
@@ -10800,6 +11185,7 @@ module Aws::IAM
10800
11185
  :server_certificate_name,
10801
11186
  :new_path,
10802
11187
  :new_server_certificate_name)
11188
+ SENSITIVE = []
10803
11189
  include Aws::Structure
10804
11190
  end
10805
11191
 
@@ -10849,6 +11235,7 @@ module Aws::IAM
10849
11235
  :user_name,
10850
11236
  :service_specific_credential_id,
10851
11237
  :status)
11238
+ SENSITIVE = []
10852
11239
  include Aws::Structure
10853
11240
  end
10854
11241
 
@@ -10898,6 +11285,7 @@ module Aws::IAM
10898
11285
  :user_name,
10899
11286
  :certificate_id,
10900
11287
  :status)
11288
+ SENSITIVE = []
10901
11289
  include Aws::Structure
10902
11290
  end
10903
11291
 
@@ -10956,6 +11344,7 @@ module Aws::IAM
10956
11344
  :user_name,
10957
11345
  :new_path,
10958
11346
  :new_user_name)
11347
+ SENSITIVE = []
10959
11348
  include Aws::Structure
10960
11349
  end
10961
11350
 
@@ -11008,6 +11397,7 @@ module Aws::IAM
11008
11397
  class UploadSSHPublicKeyRequest < Struct.new(
11009
11398
  :user_name,
11010
11399
  :ssh_public_key_body)
11400
+ SENSITIVE = []
11011
11401
  include Aws::Structure
11012
11402
  end
11013
11403
 
@@ -11021,6 +11411,7 @@ module Aws::IAM
11021
11411
  #
11022
11412
  class UploadSSHPublicKeyResponse < Struct.new(
11023
11413
  :ssh_public_key)
11414
+ SENSITIVE = []
11024
11415
  include Aws::Structure
11025
11416
  end
11026
11417
 
@@ -11144,6 +11535,7 @@ module Aws::IAM
11144
11535
  :certificate_body,
11145
11536
  :private_key,
11146
11537
  :certificate_chain)
11538
+ SENSITIVE = [:private_key]
11147
11539
  include Aws::Structure
11148
11540
  end
11149
11541
 
@@ -11158,6 +11550,7 @@ module Aws::IAM
11158
11550
  #
11159
11551
  class UploadServerCertificateResponse < Struct.new(
11160
11552
  :server_certificate_metadata)
11553
+ SENSITIVE = []
11161
11554
  include Aws::Structure
11162
11555
  end
11163
11556
 
@@ -11207,6 +11600,7 @@ module Aws::IAM
11207
11600
  class UploadSigningCertificateRequest < Struct.new(
11208
11601
  :user_name,
11209
11602
  :certificate_body)
11603
+ SENSITIVE = []
11210
11604
  include Aws::Structure
11211
11605
  end
11212
11606
 
@@ -11221,6 +11615,7 @@ module Aws::IAM
11221
11615
  #
11222
11616
  class UploadSigningCertificateResponse < Struct.new(
11223
11617
  :certificate)
11618
+ SENSITIVE = []
11224
11619
  include Aws::Structure
11225
11620
  end
11226
11621
 
@@ -11338,6 +11733,7 @@ module Aws::IAM
11338
11733
  :password_last_used,
11339
11734
  :permissions_boundary,
11340
11735
  :tags)
11736
+ SENSITIVE = []
11341
11737
  include Aws::Structure
11342
11738
  end
11343
11739
 
@@ -11438,6 +11834,7 @@ module Aws::IAM
11438
11834
  :attached_managed_policies,
11439
11835
  :permissions_boundary,
11440
11836
  :tags)
11837
+ SENSITIVE = []
11441
11838
  include Aws::Structure
11442
11839
  end
11443
11840
 
@@ -11481,6 +11878,7 @@ module Aws::IAM
11481
11878
  :qr_code_png,
11482
11879
  :user,
11483
11880
  :enable_date)
11881
+ SENSITIVE = [:base_32_string_seed, :qr_code_png]
11484
11882
  include Aws::Structure
11485
11883
  end
11486
11884