aws-sdk-accessanalyzer 1.14.0 → 1.19.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -14,6 +14,22 @@ module Aws::AccessAnalyzer
14
14
  include Seahorse::Model
15
15
 
16
16
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
+ AccessPointArn = Shapes::StringShape.new(name: 'AccessPointArn')
18
+ AccessPointPolicy = Shapes::StringShape.new(name: 'AccessPointPolicy')
19
+ AccessPreview = Shapes::StructureShape.new(name: 'AccessPreview')
20
+ AccessPreviewFinding = Shapes::StructureShape.new(name: 'AccessPreviewFinding')
21
+ AccessPreviewFindingId = Shapes::StringShape.new(name: 'AccessPreviewFindingId')
22
+ AccessPreviewFindingsList = Shapes::ListShape.new(name: 'AccessPreviewFindingsList')
23
+ AccessPreviewId = Shapes::StringShape.new(name: 'AccessPreviewId')
24
+ AccessPreviewStatus = Shapes::StringShape.new(name: 'AccessPreviewStatus')
25
+ AccessPreviewStatusReason = Shapes::StructureShape.new(name: 'AccessPreviewStatusReason')
26
+ AccessPreviewStatusReasonCode = Shapes::StringShape.new(name: 'AccessPreviewStatusReasonCode')
27
+ AccessPreviewSummary = Shapes::StructureShape.new(name: 'AccessPreviewSummary')
28
+ AccessPreviewsList = Shapes::ListShape.new(name: 'AccessPreviewsList')
29
+ AclCanonicalId = Shapes::StringShape.new(name: 'AclCanonicalId')
30
+ AclGrantee = Shapes::StructureShape.new(name: 'AclGrantee')
31
+ AclPermission = Shapes::StringShape.new(name: 'AclPermission')
32
+ AclUri = Shapes::StringShape.new(name: 'AclUri')
17
33
  ActionList = Shapes::ListShape.new(name: 'ActionList')
18
34
  AnalyzedResource = Shapes::StructureShape.new(name: 'AnalyzedResource')
19
35
  AnalyzedResourceSummary = Shapes::StructureShape.new(name: 'AnalyzedResourceSummary')
@@ -26,8 +42,18 @@ module Aws::AccessAnalyzer
26
42
  ArchiveRuleSummary = Shapes::StructureShape.new(name: 'ArchiveRuleSummary')
27
43
  ArchiveRulesList = Shapes::ListShape.new(name: 'ArchiveRulesList')
28
44
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
45
+ CancelPolicyGenerationRequest = Shapes::StructureShape.new(name: 'CancelPolicyGenerationRequest')
46
+ CancelPolicyGenerationResponse = Shapes::StructureShape.new(name: 'CancelPolicyGenerationResponse')
47
+ CloudTrailArn = Shapes::StringShape.new(name: 'CloudTrailArn')
48
+ CloudTrailDetails = Shapes::StructureShape.new(name: 'CloudTrailDetails')
49
+ CloudTrailProperties = Shapes::StructureShape.new(name: 'CloudTrailProperties')
29
50
  ConditionKeyMap = Shapes::MapShape.new(name: 'ConditionKeyMap')
51
+ Configuration = Shapes::StructureShape.new(name: 'Configuration')
52
+ ConfigurationsMap = Shapes::MapShape.new(name: 'ConfigurationsMap')
53
+ ConfigurationsMapKey = Shapes::StringShape.new(name: 'ConfigurationsMapKey')
30
54
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
55
+ CreateAccessPreviewRequest = Shapes::StructureShape.new(name: 'CreateAccessPreviewRequest')
56
+ CreateAccessPreviewResponse = Shapes::StructureShape.new(name: 'CreateAccessPreviewResponse')
31
57
  CreateAnalyzerRequest = Shapes::StructureShape.new(name: 'CreateAnalyzerRequest')
32
58
  CreateAnalyzerResponse = Shapes::StructureShape.new(name: 'CreateAnalyzerResponse')
33
59
  CreateArchiveRuleRequest = Shapes::StructureShape.new(name: 'CreateArchiveRuleRequest')
@@ -36,6 +62,7 @@ module Aws::AccessAnalyzer
36
62
  DeleteArchiveRuleRequest = Shapes::StructureShape.new(name: 'DeleteArchiveRuleRequest')
37
63
  FilterCriteriaMap = Shapes::MapShape.new(name: 'FilterCriteriaMap')
38
64
  Finding = Shapes::StructureShape.new(name: 'Finding')
65
+ FindingChangeType = Shapes::StringShape.new(name: 'FindingChangeType')
39
66
  FindingId = Shapes::StringShape.new(name: 'FindingId')
40
67
  FindingIdList = Shapes::ListShape.new(name: 'FindingIdList')
41
68
  FindingSource = Shapes::StructureShape.new(name: 'FindingSource')
@@ -46,6 +73,12 @@ module Aws::AccessAnalyzer
46
73
  FindingStatusUpdate = Shapes::StringShape.new(name: 'FindingStatusUpdate')
47
74
  FindingSummary = Shapes::StructureShape.new(name: 'FindingSummary')
48
75
  FindingsList = Shapes::ListShape.new(name: 'FindingsList')
76
+ GeneratedPolicy = Shapes::StructureShape.new(name: 'GeneratedPolicy')
77
+ GeneratedPolicyList = Shapes::ListShape.new(name: 'GeneratedPolicyList')
78
+ GeneratedPolicyProperties = Shapes::StructureShape.new(name: 'GeneratedPolicyProperties')
79
+ GeneratedPolicyResult = Shapes::StructureShape.new(name: 'GeneratedPolicyResult')
80
+ GetAccessPreviewRequest = Shapes::StructureShape.new(name: 'GetAccessPreviewRequest')
81
+ GetAccessPreviewResponse = Shapes::StructureShape.new(name: 'GetAccessPreviewResponse')
49
82
  GetAnalyzedResourceRequest = Shapes::StructureShape.new(name: 'GetAnalyzedResourceRequest')
50
83
  GetAnalyzedResourceResponse = Shapes::StructureShape.new(name: 'GetAnalyzedResourceResponse')
51
84
  GetAnalyzerRequest = Shapes::StructureShape.new(name: 'GetAnalyzerRequest')
@@ -54,10 +87,39 @@ module Aws::AccessAnalyzer
54
87
  GetArchiveRuleResponse = Shapes::StructureShape.new(name: 'GetArchiveRuleResponse')
55
88
  GetFindingRequest = Shapes::StructureShape.new(name: 'GetFindingRequest')
56
89
  GetFindingResponse = Shapes::StructureShape.new(name: 'GetFindingResponse')
90
+ GetGeneratedPolicyRequest = Shapes::StructureShape.new(name: 'GetGeneratedPolicyRequest')
91
+ GetGeneratedPolicyResponse = Shapes::StructureShape.new(name: 'GetGeneratedPolicyResponse')
92
+ GranteePrincipal = Shapes::StringShape.new(name: 'GranteePrincipal')
93
+ IamRoleConfiguration = Shapes::StructureShape.new(name: 'IamRoleConfiguration')
94
+ IamTrustPolicy = Shapes::StringShape.new(name: 'IamTrustPolicy')
57
95
  InlineArchiveRule = Shapes::StructureShape.new(name: 'InlineArchiveRule')
58
96
  InlineArchiveRulesList = Shapes::ListShape.new(name: 'InlineArchiveRulesList')
59
97
  Integer = Shapes::IntegerShape.new(name: 'Integer')
60
98
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
99
+ InternetConfiguration = Shapes::StructureShape.new(name: 'InternetConfiguration')
100
+ IssueCode = Shapes::StringShape.new(name: 'IssueCode')
101
+ IssuingAccount = Shapes::StringShape.new(name: 'IssuingAccount')
102
+ JobDetails = Shapes::StructureShape.new(name: 'JobDetails')
103
+ JobError = Shapes::StructureShape.new(name: 'JobError')
104
+ JobErrorCode = Shapes::StringShape.new(name: 'JobErrorCode')
105
+ JobId = Shapes::StringShape.new(name: 'JobId')
106
+ JobStatus = Shapes::StringShape.new(name: 'JobStatus')
107
+ KmsConstraintsKey = Shapes::StringShape.new(name: 'KmsConstraintsKey')
108
+ KmsConstraintsMap = Shapes::MapShape.new(name: 'KmsConstraintsMap')
109
+ KmsConstraintsValue = Shapes::StringShape.new(name: 'KmsConstraintsValue')
110
+ KmsGrantConfiguration = Shapes::StructureShape.new(name: 'KmsGrantConfiguration')
111
+ KmsGrantConfigurationsList = Shapes::ListShape.new(name: 'KmsGrantConfigurationsList')
112
+ KmsGrantConstraints = Shapes::StructureShape.new(name: 'KmsGrantConstraints')
113
+ KmsGrantOperation = Shapes::StringShape.new(name: 'KmsGrantOperation')
114
+ KmsGrantOperationsList = Shapes::ListShape.new(name: 'KmsGrantOperationsList')
115
+ KmsKeyConfiguration = Shapes::StructureShape.new(name: 'KmsKeyConfiguration')
116
+ KmsKeyPoliciesMap = Shapes::MapShape.new(name: 'KmsKeyPoliciesMap')
117
+ KmsKeyPolicy = Shapes::StringShape.new(name: 'KmsKeyPolicy')
118
+ LearnMoreLink = Shapes::StringShape.new(name: 'LearnMoreLink')
119
+ ListAccessPreviewFindingsRequest = Shapes::StructureShape.new(name: 'ListAccessPreviewFindingsRequest')
120
+ ListAccessPreviewFindingsResponse = Shapes::StructureShape.new(name: 'ListAccessPreviewFindingsResponse')
121
+ ListAccessPreviewsRequest = Shapes::StructureShape.new(name: 'ListAccessPreviewsRequest')
122
+ ListAccessPreviewsResponse = Shapes::StructureShape.new(name: 'ListAccessPreviewsResponse')
61
123
  ListAnalyzedResourcesRequest = Shapes::StructureShape.new(name: 'ListAnalyzedResourcesRequest')
62
124
  ListAnalyzedResourcesResponse = Shapes::StructureShape.new(name: 'ListAnalyzedResourcesResponse')
63
125
  ListAnalyzersRequest = Shapes::StructureShape.new(name: 'ListAnalyzersRequest')
@@ -66,21 +128,57 @@ module Aws::AccessAnalyzer
66
128
  ListArchiveRulesResponse = Shapes::StructureShape.new(name: 'ListArchiveRulesResponse')
67
129
  ListFindingsRequest = Shapes::StructureShape.new(name: 'ListFindingsRequest')
68
130
  ListFindingsResponse = Shapes::StructureShape.new(name: 'ListFindingsResponse')
131
+ ListPolicyGenerationsRequest = Shapes::StructureShape.new(name: 'ListPolicyGenerationsRequest')
132
+ ListPolicyGenerationsRequestMaxResultsInteger = Shapes::IntegerShape.new(name: 'ListPolicyGenerationsRequestMaxResultsInteger')
133
+ ListPolicyGenerationsResponse = Shapes::StructureShape.new(name: 'ListPolicyGenerationsResponse')
69
134
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
70
135
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
136
+ Locale = Shapes::StringShape.new(name: 'Locale')
137
+ Location = Shapes::StructureShape.new(name: 'Location')
138
+ LocationList = Shapes::ListShape.new(name: 'LocationList')
71
139
  Name = Shapes::StringShape.new(name: 'Name')
140
+ NetworkOriginConfiguration = Shapes::StructureShape.new(name: 'NetworkOriginConfiguration')
72
141
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
142
+ PathElement = Shapes::StructureShape.new(name: 'PathElement')
143
+ PathElementList = Shapes::ListShape.new(name: 'PathElementList')
144
+ PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
145
+ PolicyGeneration = Shapes::StructureShape.new(name: 'PolicyGeneration')
146
+ PolicyGenerationDetails = Shapes::StructureShape.new(name: 'PolicyGenerationDetails')
147
+ PolicyGenerationList = Shapes::ListShape.new(name: 'PolicyGenerationList')
148
+ PolicyName = Shapes::StringShape.new(name: 'PolicyName')
149
+ PolicyType = Shapes::StringShape.new(name: 'PolicyType')
150
+ Position = Shapes::StructureShape.new(name: 'Position')
151
+ PrincipalArn = Shapes::StringShape.new(name: 'PrincipalArn')
73
152
  PrincipalMap = Shapes::MapShape.new(name: 'PrincipalMap')
74
153
  ReasonCode = Shapes::StringShape.new(name: 'ReasonCode')
154
+ RegionList = Shapes::ListShape.new(name: 'RegionList')
75
155
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
76
156
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
77
157
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
158
+ RetiringPrincipal = Shapes::StringShape.new(name: 'RetiringPrincipal')
159
+ RoleArn = Shapes::StringShape.new(name: 'RoleArn')
160
+ S3AccessPointConfiguration = Shapes::StructureShape.new(name: 'S3AccessPointConfiguration')
161
+ S3AccessPointConfigurationsMap = Shapes::MapShape.new(name: 'S3AccessPointConfigurationsMap')
162
+ S3BucketAclGrantConfiguration = Shapes::StructureShape.new(name: 'S3BucketAclGrantConfiguration')
163
+ S3BucketAclGrantConfigurationsList = Shapes::ListShape.new(name: 'S3BucketAclGrantConfigurationsList')
164
+ S3BucketConfiguration = Shapes::StructureShape.new(name: 'S3BucketConfiguration')
165
+ S3BucketPolicy = Shapes::StringShape.new(name: 'S3BucketPolicy')
166
+ S3PublicAccessBlockConfiguration = Shapes::StructureShape.new(name: 'S3PublicAccessBlockConfiguration')
167
+ SecretsManagerSecretConfiguration = Shapes::StructureShape.new(name: 'SecretsManagerSecretConfiguration')
168
+ SecretsManagerSecretKmsId = Shapes::StringShape.new(name: 'SecretsManagerSecretKmsId')
169
+ SecretsManagerSecretPolicy = Shapes::StringShape.new(name: 'SecretsManagerSecretPolicy')
78
170
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
79
171
  SharedViaList = Shapes::ListShape.new(name: 'SharedViaList')
80
172
  SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
173
+ Span = Shapes::StructureShape.new(name: 'Span')
174
+ SqsQueueConfiguration = Shapes::StructureShape.new(name: 'SqsQueueConfiguration')
175
+ SqsQueuePolicy = Shapes::StringShape.new(name: 'SqsQueuePolicy')
176
+ StartPolicyGenerationRequest = Shapes::StructureShape.new(name: 'StartPolicyGenerationRequest')
177
+ StartPolicyGenerationResponse = Shapes::StructureShape.new(name: 'StartPolicyGenerationResponse')
81
178
  StartResourceScanRequest = Shapes::StructureShape.new(name: 'StartResourceScanRequest')
82
179
  StatusReason = Shapes::StructureShape.new(name: 'StatusReason')
83
180
  String = Shapes::StringShape.new(name: 'String')
181
+ Substring = Shapes::StructureShape.new(name: 'Substring')
84
182
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
85
183
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
86
184
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
@@ -88,20 +186,74 @@ module Aws::AccessAnalyzer
88
186
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
89
187
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
90
188
  Token = Shapes::StringShape.new(name: 'Token')
189
+ Trail = Shapes::StructureShape.new(name: 'Trail')
190
+ TrailList = Shapes::ListShape.new(name: 'TrailList')
191
+ TrailProperties = Shapes::StructureShape.new(name: 'TrailProperties')
192
+ TrailPropertiesList = Shapes::ListShape.new(name: 'TrailPropertiesList')
91
193
  Type = Shapes::StringShape.new(name: 'Type')
92
194
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
93
195
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
94
196
  UpdateArchiveRuleRequest = Shapes::StructureShape.new(name: 'UpdateArchiveRuleRequest')
95
197
  UpdateFindingsRequest = Shapes::StructureShape.new(name: 'UpdateFindingsRequest')
198
+ ValidatePolicyFinding = Shapes::StructureShape.new(name: 'ValidatePolicyFinding')
199
+ ValidatePolicyFindingList = Shapes::ListShape.new(name: 'ValidatePolicyFindingList')
200
+ ValidatePolicyFindingType = Shapes::StringShape.new(name: 'ValidatePolicyFindingType')
201
+ ValidatePolicyRequest = Shapes::StructureShape.new(name: 'ValidatePolicyRequest')
202
+ ValidatePolicyResponse = Shapes::StructureShape.new(name: 'ValidatePolicyResponse')
96
203
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
97
204
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
98
205
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
99
206
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
100
207
  ValueList = Shapes::ListShape.new(name: 'ValueList')
208
+ VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
209
+ VpcId = Shapes::StringShape.new(name: 'VpcId')
101
210
 
102
211
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
103
212
  AccessDeniedException.struct_class = Types::AccessDeniedException
104
213
 
214
+ AccessPreview.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
215
+ AccessPreview.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationsMap, required: true, location_name: "configurations"))
216
+ AccessPreview.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
217
+ AccessPreview.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location_name: "id"))
218
+ AccessPreview.add_member(:status, Shapes::ShapeRef.new(shape: AccessPreviewStatus, required: true, location_name: "status"))
219
+ AccessPreview.add_member(:status_reason, Shapes::ShapeRef.new(shape: AccessPreviewStatusReason, location_name: "statusReason"))
220
+ AccessPreview.struct_class = Types::AccessPreview
221
+
222
+ AccessPreviewFinding.add_member(:action, Shapes::ShapeRef.new(shape: ActionList, location_name: "action"))
223
+ AccessPreviewFinding.add_member(:change_type, Shapes::ShapeRef.new(shape: FindingChangeType, required: true, location_name: "changeType"))
224
+ AccessPreviewFinding.add_member(:condition, Shapes::ShapeRef.new(shape: ConditionKeyMap, location_name: "condition"))
225
+ AccessPreviewFinding.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
226
+ AccessPreviewFinding.add_member(:error, Shapes::ShapeRef.new(shape: String, location_name: "error"))
227
+ AccessPreviewFinding.add_member(:existing_finding_id, Shapes::ShapeRef.new(shape: FindingId, location_name: "existingFindingId"))
228
+ AccessPreviewFinding.add_member(:existing_finding_status, Shapes::ShapeRef.new(shape: FindingStatus, location_name: "existingFindingStatus"))
229
+ AccessPreviewFinding.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewFindingId, required: true, location_name: "id"))
230
+ AccessPreviewFinding.add_member(:is_public, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPublic"))
231
+ AccessPreviewFinding.add_member(:principal, Shapes::ShapeRef.new(shape: PrincipalMap, location_name: "principal"))
232
+ AccessPreviewFinding.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "resource"))
233
+ AccessPreviewFinding.add_member(:resource_owner_account, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceOwnerAccount"))
234
+ AccessPreviewFinding.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
235
+ AccessPreviewFinding.add_member(:sources, Shapes::ShapeRef.new(shape: FindingSourceList, location_name: "sources"))
236
+ AccessPreviewFinding.add_member(:status, Shapes::ShapeRef.new(shape: FindingStatus, required: true, location_name: "status"))
237
+ AccessPreviewFinding.struct_class = Types::AccessPreviewFinding
238
+
239
+ AccessPreviewFindingsList.member = Shapes::ShapeRef.new(shape: AccessPreviewFinding)
240
+
241
+ AccessPreviewStatusReason.add_member(:code, Shapes::ShapeRef.new(shape: AccessPreviewStatusReasonCode, required: true, location_name: "code"))
242
+ AccessPreviewStatusReason.struct_class = Types::AccessPreviewStatusReason
243
+
244
+ AccessPreviewSummary.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
245
+ AccessPreviewSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
246
+ AccessPreviewSummary.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location_name: "id"))
247
+ AccessPreviewSummary.add_member(:status, Shapes::ShapeRef.new(shape: AccessPreviewStatus, required: true, location_name: "status"))
248
+ AccessPreviewSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: AccessPreviewStatusReason, location_name: "statusReason"))
249
+ AccessPreviewSummary.struct_class = Types::AccessPreviewSummary
250
+
251
+ AccessPreviewsList.member = Shapes::ShapeRef.new(shape: AccessPreviewSummary)
252
+
253
+ AclGrantee.add_member(:id, Shapes::ShapeRef.new(shape: AclCanonicalId, location_name: "id"))
254
+ AclGrantee.add_member(:uri, Shapes::ShapeRef.new(shape: AclUri, location_name: "uri"))
255
+ AclGrantee.struct_class = Types::AclGrantee
256
+
105
257
  ActionList.member = Shapes::ShapeRef.new(shape: String)
106
258
 
107
259
  AnalyzedResource.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, location_name: "actions"))
@@ -150,14 +302,48 @@ module Aws::AccessAnalyzer
150
302
 
151
303
  ArchiveRulesList.member = Shapes::ShapeRef.new(shape: ArchiveRuleSummary)
152
304
 
305
+ CancelPolicyGenerationRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
306
+ CancelPolicyGenerationRequest.struct_class = Types::CancelPolicyGenerationRequest
307
+
308
+ CancelPolicyGenerationResponse.struct_class = Types::CancelPolicyGenerationResponse
309
+
310
+ CloudTrailDetails.add_member(:access_role, Shapes::ShapeRef.new(shape: RoleArn, required: true, location_name: "accessRole"))
311
+ CloudTrailDetails.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
312
+ CloudTrailDetails.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
313
+ CloudTrailDetails.add_member(:trails, Shapes::ShapeRef.new(shape: TrailList, required: true, location_name: "trails"))
314
+ CloudTrailDetails.struct_class = Types::CloudTrailDetails
315
+
316
+ CloudTrailProperties.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "endTime"))
317
+ CloudTrailProperties.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startTime"))
318
+ CloudTrailProperties.add_member(:trail_properties, Shapes::ShapeRef.new(shape: TrailPropertiesList, required: true, location_name: "trailProperties"))
319
+ CloudTrailProperties.struct_class = Types::CloudTrailProperties
320
+
153
321
  ConditionKeyMap.key = Shapes::ShapeRef.new(shape: String)
154
322
  ConditionKeyMap.value = Shapes::ShapeRef.new(shape: String)
155
323
 
324
+ Configuration.add_member(:iam_role, Shapes::ShapeRef.new(shape: IamRoleConfiguration, location_name: "iamRole"))
325
+ Configuration.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKeyConfiguration, location_name: "kmsKey"))
326
+ Configuration.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3BucketConfiguration, location_name: "s3Bucket"))
327
+ Configuration.add_member(:secrets_manager_secret, Shapes::ShapeRef.new(shape: SecretsManagerSecretConfiguration, location_name: "secretsManagerSecret"))
328
+ Configuration.add_member(:sqs_queue, Shapes::ShapeRef.new(shape: SqsQueueConfiguration, location_name: "sqsQueue"))
329
+ Configuration.struct_class = Types::Configuration
330
+
331
+ ConfigurationsMap.key = Shapes::ShapeRef.new(shape: ConfigurationsMapKey)
332
+ ConfigurationsMap.value = Shapes::ShapeRef.new(shape: Configuration)
333
+
156
334
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
157
335
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
158
336
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
159
337
  ConflictException.struct_class = Types::ConflictException
160
338
 
339
+ CreateAccessPreviewRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
340
+ CreateAccessPreviewRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
341
+ CreateAccessPreviewRequest.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationsMap, required: true, location_name: "configurations"))
342
+ CreateAccessPreviewRequest.struct_class = Types::CreateAccessPreviewRequest
343
+
344
+ CreateAccessPreviewResponse.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location_name: "id"))
345
+ CreateAccessPreviewResponse.struct_class = Types::CreateAccessPreviewResponse
346
+
161
347
  CreateAnalyzerRequest.add_member(:analyzer_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "analyzerName"))
162
348
  CreateAnalyzerRequest.add_member(:archive_rules, Shapes::ShapeRef.new(shape: InlineArchiveRulesList, location_name: "archiveRules"))
163
349
  CreateAnalyzerRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
@@ -237,6 +423,27 @@ module Aws::AccessAnalyzer
237
423
 
238
424
  FindingsList.member = Shapes::ShapeRef.new(shape: FindingSummary)
239
425
 
426
+ GeneratedPolicy.add_member(:policy, Shapes::ShapeRef.new(shape: String, required: true, location_name: "policy"))
427
+ GeneratedPolicy.struct_class = Types::GeneratedPolicy
428
+
429
+ GeneratedPolicyList.member = Shapes::ShapeRef.new(shape: GeneratedPolicy)
430
+
431
+ GeneratedPolicyProperties.add_member(:cloud_trail_properties, Shapes::ShapeRef.new(shape: CloudTrailProperties, location_name: "cloudTrailProperties"))
432
+ GeneratedPolicyProperties.add_member(:is_complete, Shapes::ShapeRef.new(shape: Boolean, location_name: "isComplete"))
433
+ GeneratedPolicyProperties.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalArn, required: true, location_name: "principalArn"))
434
+ GeneratedPolicyProperties.struct_class = Types::GeneratedPolicyProperties
435
+
436
+ GeneratedPolicyResult.add_member(:generated_policies, Shapes::ShapeRef.new(shape: GeneratedPolicyList, location_name: "generatedPolicies"))
437
+ GeneratedPolicyResult.add_member(:properties, Shapes::ShapeRef.new(shape: GeneratedPolicyProperties, required: true, location_name: "properties"))
438
+ GeneratedPolicyResult.struct_class = Types::GeneratedPolicyResult
439
+
440
+ GetAccessPreviewRequest.add_member(:access_preview_id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location: "uri", location_name: "accessPreviewId"))
441
+ GetAccessPreviewRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location: "querystring", location_name: "analyzerArn"))
442
+ GetAccessPreviewRequest.struct_class = Types::GetAccessPreviewRequest
443
+
444
+ GetAccessPreviewResponse.add_member(:access_preview, Shapes::ShapeRef.new(shape: AccessPreview, required: true, location_name: "accessPreview"))
445
+ GetAccessPreviewResponse.struct_class = Types::GetAccessPreviewResponse
446
+
240
447
  GetAnalyzedResourceRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location: "querystring", location_name: "analyzerArn"))
241
448
  GetAnalyzedResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "querystring", location_name: "resourceArn"))
242
449
  GetAnalyzedResourceRequest.struct_class = Types::GetAnalyzedResourceRequest
@@ -264,6 +471,18 @@ module Aws::AccessAnalyzer
264
471
  GetFindingResponse.add_member(:finding, Shapes::ShapeRef.new(shape: Finding, location_name: "finding"))
265
472
  GetFindingResponse.struct_class = Types::GetFindingResponse
266
473
 
474
+ GetGeneratedPolicyRequest.add_member(:include_resource_placeholders, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "includeResourcePlaceholders"))
475
+ GetGeneratedPolicyRequest.add_member(:include_service_level_template, Shapes::ShapeRef.new(shape: Boolean, location: "querystring", location_name: "includeServiceLevelTemplate"))
476
+ GetGeneratedPolicyRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
477
+ GetGeneratedPolicyRequest.struct_class = Types::GetGeneratedPolicyRequest
478
+
479
+ GetGeneratedPolicyResponse.add_member(:generated_policy_result, Shapes::ShapeRef.new(shape: GeneratedPolicyResult, required: true, location_name: "generatedPolicyResult"))
480
+ GetGeneratedPolicyResponse.add_member(:job_details, Shapes::ShapeRef.new(shape: JobDetails, required: true, location_name: "jobDetails"))
481
+ GetGeneratedPolicyResponse.struct_class = Types::GetGeneratedPolicyResponse
482
+
483
+ IamRoleConfiguration.add_member(:trust_policy, Shapes::ShapeRef.new(shape: IamTrustPolicy, location_name: "trustPolicy"))
484
+ IamRoleConfiguration.struct_class = Types::IamRoleConfiguration
485
+
267
486
  InlineArchiveRule.add_member(:filter, Shapes::ShapeRef.new(shape: FilterCriteriaMap, required: true, location_name: "filter"))
268
487
  InlineArchiveRule.add_member(:rule_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ruleName"))
269
488
  InlineArchiveRule.struct_class = Types::InlineArchiveRule
@@ -274,6 +493,64 @@ module Aws::AccessAnalyzer
274
493
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
275
494
  InternalServerException.struct_class = Types::InternalServerException
276
495
 
496
+ InternetConfiguration.struct_class = Types::InternetConfiguration
497
+
498
+ JobDetails.add_member(:completed_on, Shapes::ShapeRef.new(shape: Timestamp, location_name: "completedOn"))
499
+ JobDetails.add_member(:job_error, Shapes::ShapeRef.new(shape: JobError, location_name: "jobError"))
500
+ JobDetails.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "jobId"))
501
+ JobDetails.add_member(:started_on, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startedOn"))
502
+ JobDetails.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "status"))
503
+ JobDetails.struct_class = Types::JobDetails
504
+
505
+ JobError.add_member(:code, Shapes::ShapeRef.new(shape: JobErrorCode, required: true, location_name: "code"))
506
+ JobError.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
507
+ JobError.struct_class = Types::JobError
508
+
509
+ KmsConstraintsMap.key = Shapes::ShapeRef.new(shape: KmsConstraintsKey)
510
+ KmsConstraintsMap.value = Shapes::ShapeRef.new(shape: KmsConstraintsValue)
511
+
512
+ KmsGrantConfiguration.add_member(:constraints, Shapes::ShapeRef.new(shape: KmsGrantConstraints, location_name: "constraints"))
513
+ KmsGrantConfiguration.add_member(:grantee_principal, Shapes::ShapeRef.new(shape: GranteePrincipal, required: true, location_name: "granteePrincipal"))
514
+ KmsGrantConfiguration.add_member(:issuing_account, Shapes::ShapeRef.new(shape: IssuingAccount, required: true, location_name: "issuingAccount"))
515
+ KmsGrantConfiguration.add_member(:operations, Shapes::ShapeRef.new(shape: KmsGrantOperationsList, required: true, location_name: "operations"))
516
+ KmsGrantConfiguration.add_member(:retiring_principal, Shapes::ShapeRef.new(shape: RetiringPrincipal, location_name: "retiringPrincipal"))
517
+ KmsGrantConfiguration.struct_class = Types::KmsGrantConfiguration
518
+
519
+ KmsGrantConfigurationsList.member = Shapes::ShapeRef.new(shape: KmsGrantConfiguration)
520
+
521
+ KmsGrantConstraints.add_member(:encryption_context_equals, Shapes::ShapeRef.new(shape: KmsConstraintsMap, location_name: "encryptionContextEquals"))
522
+ KmsGrantConstraints.add_member(:encryption_context_subset, Shapes::ShapeRef.new(shape: KmsConstraintsMap, location_name: "encryptionContextSubset"))
523
+ KmsGrantConstraints.struct_class = Types::KmsGrantConstraints
524
+
525
+ KmsGrantOperationsList.member = Shapes::ShapeRef.new(shape: KmsGrantOperation)
526
+
527
+ KmsKeyConfiguration.add_member(:grants, Shapes::ShapeRef.new(shape: KmsGrantConfigurationsList, location_name: "grants"))
528
+ KmsKeyConfiguration.add_member(:key_policies, Shapes::ShapeRef.new(shape: KmsKeyPoliciesMap, location_name: "keyPolicies"))
529
+ KmsKeyConfiguration.struct_class = Types::KmsKeyConfiguration
530
+
531
+ KmsKeyPoliciesMap.key = Shapes::ShapeRef.new(shape: PolicyName)
532
+ KmsKeyPoliciesMap.value = Shapes::ShapeRef.new(shape: KmsKeyPolicy)
533
+
534
+ ListAccessPreviewFindingsRequest.add_member(:access_preview_id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location: "uri", location_name: "accessPreviewId"))
535
+ ListAccessPreviewFindingsRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
536
+ ListAccessPreviewFindingsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FilterCriteriaMap, location_name: "filter"))
537
+ ListAccessPreviewFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
538
+ ListAccessPreviewFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
539
+ ListAccessPreviewFindingsRequest.struct_class = Types::ListAccessPreviewFindingsRequest
540
+
541
+ ListAccessPreviewFindingsResponse.add_member(:findings, Shapes::ShapeRef.new(shape: AccessPreviewFindingsList, required: true, location_name: "findings"))
542
+ ListAccessPreviewFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
543
+ ListAccessPreviewFindingsResponse.struct_class = Types::ListAccessPreviewFindingsResponse
544
+
545
+ ListAccessPreviewsRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location: "querystring", location_name: "analyzerArn"))
546
+ ListAccessPreviewsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "maxResults"))
547
+ ListAccessPreviewsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
548
+ ListAccessPreviewsRequest.struct_class = Types::ListAccessPreviewsRequest
549
+
550
+ ListAccessPreviewsResponse.add_member(:access_previews, Shapes::ShapeRef.new(shape: AccessPreviewsList, required: true, location_name: "accessPreviews"))
551
+ ListAccessPreviewsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
552
+ ListAccessPreviewsResponse.struct_class = Types::ListAccessPreviewsResponse
553
+
277
554
  ListAnalyzedResourcesRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
278
555
  ListAnalyzedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
279
556
  ListAnalyzedResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
@@ -313,20 +590,94 @@ module Aws::AccessAnalyzer
313
590
  ListFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
314
591
  ListFindingsResponse.struct_class = Types::ListFindingsResponse
315
592
 
593
+ ListPolicyGenerationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListPolicyGenerationsRequestMaxResultsInteger, location: "querystring", location_name: "maxResults"))
594
+ ListPolicyGenerationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
595
+ ListPolicyGenerationsRequest.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalArn, location: "querystring", location_name: "principalArn"))
596
+ ListPolicyGenerationsRequest.struct_class = Types::ListPolicyGenerationsRequest
597
+
598
+ ListPolicyGenerationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
599
+ ListPolicyGenerationsResponse.add_member(:policy_generations, Shapes::ShapeRef.new(shape: PolicyGenerationList, required: true, location_name: "policyGenerations"))
600
+ ListPolicyGenerationsResponse.struct_class = Types::ListPolicyGenerationsResponse
601
+
316
602
  ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
317
603
  ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
318
604
 
319
605
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
320
606
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
321
607
 
608
+ Location.add_member(:path, Shapes::ShapeRef.new(shape: PathElementList, required: true, location_name: "path"))
609
+ Location.add_member(:span, Shapes::ShapeRef.new(shape: Span, required: true, location_name: "span"))
610
+ Location.struct_class = Types::Location
611
+
612
+ LocationList.member = Shapes::ShapeRef.new(shape: Location)
613
+
614
+ NetworkOriginConfiguration.add_member(:internet_configuration, Shapes::ShapeRef.new(shape: InternetConfiguration, location_name: "internetConfiguration"))
615
+ NetworkOriginConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "vpcConfiguration"))
616
+ NetworkOriginConfiguration.struct_class = Types::NetworkOriginConfiguration
617
+
618
+ PathElement.add_member(:index, Shapes::ShapeRef.new(shape: Integer, location_name: "index"))
619
+ PathElement.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
620
+ PathElement.add_member(:substring, Shapes::ShapeRef.new(shape: Substring, location_name: "substring"))
621
+ PathElement.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
622
+ PathElement.struct_class = Types::PathElement
623
+
624
+ PathElementList.member = Shapes::ShapeRef.new(shape: PathElement)
625
+
626
+ PolicyGeneration.add_member(:completed_on, Shapes::ShapeRef.new(shape: Timestamp, location_name: "completedOn"))
627
+ PolicyGeneration.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "jobId"))
628
+ PolicyGeneration.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalArn, required: true, location_name: "principalArn"))
629
+ PolicyGeneration.add_member(:started_on, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "startedOn"))
630
+ PolicyGeneration.add_member(:status, Shapes::ShapeRef.new(shape: JobStatus, required: true, location_name: "status"))
631
+ PolicyGeneration.struct_class = Types::PolicyGeneration
632
+
633
+ PolicyGenerationDetails.add_member(:principal_arn, Shapes::ShapeRef.new(shape: PrincipalArn, required: true, location_name: "principalArn"))
634
+ PolicyGenerationDetails.struct_class = Types::PolicyGenerationDetails
635
+
636
+ PolicyGenerationList.member = Shapes::ShapeRef.new(shape: PolicyGeneration)
637
+
638
+ Position.add_member(:column, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "column"))
639
+ Position.add_member(:line, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "line"))
640
+ Position.add_member(:offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "offset"))
641
+ Position.struct_class = Types::Position
642
+
322
643
  PrincipalMap.key = Shapes::ShapeRef.new(shape: String)
323
644
  PrincipalMap.value = Shapes::ShapeRef.new(shape: String)
324
645
 
646
+ RegionList.member = Shapes::ShapeRef.new(shape: String)
647
+
325
648
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
326
649
  ResourceNotFoundException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
327
650
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
328
651
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
329
652
 
653
+ S3AccessPointConfiguration.add_member(:access_point_policy, Shapes::ShapeRef.new(shape: AccessPointPolicy, location_name: "accessPointPolicy"))
654
+ S3AccessPointConfiguration.add_member(:network_origin, Shapes::ShapeRef.new(shape: NetworkOriginConfiguration, location_name: "networkOrigin"))
655
+ S3AccessPointConfiguration.add_member(:public_access_block, Shapes::ShapeRef.new(shape: S3PublicAccessBlockConfiguration, location_name: "publicAccessBlock"))
656
+ S3AccessPointConfiguration.struct_class = Types::S3AccessPointConfiguration
657
+
658
+ S3AccessPointConfigurationsMap.key = Shapes::ShapeRef.new(shape: AccessPointArn)
659
+ S3AccessPointConfigurationsMap.value = Shapes::ShapeRef.new(shape: S3AccessPointConfiguration)
660
+
661
+ S3BucketAclGrantConfiguration.add_member(:grantee, Shapes::ShapeRef.new(shape: AclGrantee, required: true, location_name: "grantee"))
662
+ S3BucketAclGrantConfiguration.add_member(:permission, Shapes::ShapeRef.new(shape: AclPermission, required: true, location_name: "permission"))
663
+ S3BucketAclGrantConfiguration.struct_class = Types::S3BucketAclGrantConfiguration
664
+
665
+ S3BucketAclGrantConfigurationsList.member = Shapes::ShapeRef.new(shape: S3BucketAclGrantConfiguration)
666
+
667
+ S3BucketConfiguration.add_member(:access_points, Shapes::ShapeRef.new(shape: S3AccessPointConfigurationsMap, location_name: "accessPoints"))
668
+ S3BucketConfiguration.add_member(:bucket_acl_grants, Shapes::ShapeRef.new(shape: S3BucketAclGrantConfigurationsList, location_name: "bucketAclGrants"))
669
+ S3BucketConfiguration.add_member(:bucket_policy, Shapes::ShapeRef.new(shape: S3BucketPolicy, location_name: "bucketPolicy"))
670
+ S3BucketConfiguration.add_member(:bucket_public_access_block, Shapes::ShapeRef.new(shape: S3PublicAccessBlockConfiguration, location_name: "bucketPublicAccessBlock"))
671
+ S3BucketConfiguration.struct_class = Types::S3BucketConfiguration
672
+
673
+ S3PublicAccessBlockConfiguration.add_member(:ignore_public_acls, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ignorePublicAcls"))
674
+ S3PublicAccessBlockConfiguration.add_member(:restrict_public_buckets, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "restrictPublicBuckets"))
675
+ S3PublicAccessBlockConfiguration.struct_class = Types::S3PublicAccessBlockConfiguration
676
+
677
+ SecretsManagerSecretConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: SecretsManagerSecretKmsId, location_name: "kmsKeyId"))
678
+ SecretsManagerSecretConfiguration.add_member(:secret_policy, Shapes::ShapeRef.new(shape: SecretsManagerSecretPolicy, location_name: "secretPolicy"))
679
+ SecretsManagerSecretConfiguration.struct_class = Types::SecretsManagerSecretConfiguration
680
+
330
681
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
331
682
  ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
332
683
  ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
@@ -338,6 +689,21 @@ module Aws::AccessAnalyzer
338
689
  SortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
339
690
  SortCriteria.struct_class = Types::SortCriteria
340
691
 
692
+ Span.add_member(:end, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "end"))
693
+ Span.add_member(:start, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "start"))
694
+ Span.struct_class = Types::Span
695
+
696
+ SqsQueueConfiguration.add_member(:queue_policy, Shapes::ShapeRef.new(shape: SqsQueuePolicy, location_name: "queuePolicy"))
697
+ SqsQueueConfiguration.struct_class = Types::SqsQueueConfiguration
698
+
699
+ StartPolicyGenerationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
700
+ StartPolicyGenerationRequest.add_member(:cloud_trail_details, Shapes::ShapeRef.new(shape: CloudTrailDetails, location_name: "cloudTrailDetails"))
701
+ StartPolicyGenerationRequest.add_member(:policy_generation_details, Shapes::ShapeRef.new(shape: PolicyGenerationDetails, required: true, location_name: "policyGenerationDetails"))
702
+ StartPolicyGenerationRequest.struct_class = Types::StartPolicyGenerationRequest
703
+
704
+ StartPolicyGenerationResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location_name: "jobId"))
705
+ StartPolicyGenerationResponse.struct_class = Types::StartPolicyGenerationResponse
706
+
341
707
  StartResourceScanRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
342
708
  StartResourceScanRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
343
709
  StartResourceScanRequest.struct_class = Types::StartResourceScanRequest
@@ -345,6 +711,10 @@ module Aws::AccessAnalyzer
345
711
  StatusReason.add_member(:code, Shapes::ShapeRef.new(shape: ReasonCode, required: true, location_name: "code"))
346
712
  StatusReason.struct_class = Types::StatusReason
347
713
 
714
+ Substring.add_member(:length, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "length"))
715
+ Substring.add_member(:start, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "start"))
716
+ Substring.struct_class = Types::Substring
717
+
348
718
  TagKeys.member = Shapes::ShapeRef.new(shape: String)
349
719
 
350
720
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
@@ -360,6 +730,20 @@ module Aws::AccessAnalyzer
360
730
  ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
361
731
  ThrottlingException.struct_class = Types::ThrottlingException
362
732
 
733
+ Trail.add_member(:all_regions, Shapes::ShapeRef.new(shape: Boolean, location_name: "allRegions"))
734
+ Trail.add_member(:cloud_trail_arn, Shapes::ShapeRef.new(shape: CloudTrailArn, required: true, location_name: "cloudTrailArn"))
735
+ Trail.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "regions"))
736
+ Trail.struct_class = Types::Trail
737
+
738
+ TrailList.member = Shapes::ShapeRef.new(shape: Trail)
739
+
740
+ TrailProperties.add_member(:all_regions, Shapes::ShapeRef.new(shape: Boolean, location_name: "allRegions"))
741
+ TrailProperties.add_member(:cloud_trail_arn, Shapes::ShapeRef.new(shape: CloudTrailArn, required: true, location_name: "cloudTrailArn"))
742
+ TrailProperties.add_member(:regions, Shapes::ShapeRef.new(shape: RegionList, location_name: "regions"))
743
+ TrailProperties.struct_class = Types::TrailProperties
744
+
745
+ TrailPropertiesList.member = Shapes::ShapeRef.new(shape: TrailProperties)
746
+
363
747
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
364
748
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location: "querystring", location_name: "tagKeys"))
365
749
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -379,6 +763,26 @@ module Aws::AccessAnalyzer
379
763
  UpdateFindingsRequest.add_member(:status, Shapes::ShapeRef.new(shape: FindingStatusUpdate, required: true, location_name: "status"))
380
764
  UpdateFindingsRequest.struct_class = Types::UpdateFindingsRequest
381
765
 
766
+ ValidatePolicyFinding.add_member(:finding_details, Shapes::ShapeRef.new(shape: String, required: true, location_name: "findingDetails"))
767
+ ValidatePolicyFinding.add_member(:finding_type, Shapes::ShapeRef.new(shape: ValidatePolicyFindingType, required: true, location_name: "findingType"))
768
+ ValidatePolicyFinding.add_member(:issue_code, Shapes::ShapeRef.new(shape: IssueCode, required: true, location_name: "issueCode"))
769
+ ValidatePolicyFinding.add_member(:learn_more_link, Shapes::ShapeRef.new(shape: LearnMoreLink, required: true, location_name: "learnMoreLink"))
770
+ ValidatePolicyFinding.add_member(:locations, Shapes::ShapeRef.new(shape: LocationList, required: true, location_name: "locations"))
771
+ ValidatePolicyFinding.struct_class = Types::ValidatePolicyFinding
772
+
773
+ ValidatePolicyFindingList.member = Shapes::ShapeRef.new(shape: ValidatePolicyFinding)
774
+
775
+ ValidatePolicyRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location_name: "locale"))
776
+ ValidatePolicyRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "maxResults"))
777
+ ValidatePolicyRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
778
+ ValidatePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policyDocument"))
779
+ ValidatePolicyRequest.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
780
+ ValidatePolicyRequest.struct_class = Types::ValidatePolicyRequest
781
+
782
+ ValidatePolicyResponse.add_member(:findings, Shapes::ShapeRef.new(shape: ValidatePolicyFindingList, required: true, location_name: "findings"))
783
+ ValidatePolicyResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
784
+ ValidatePolicyResponse.struct_class = Types::ValidatePolicyResponse
785
+
382
786
  ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
383
787
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
384
788
  ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
@@ -392,6 +796,9 @@ module Aws::AccessAnalyzer
392
796
 
393
797
  ValueList.member = Shapes::ShapeRef.new(shape: String)
394
798
 
799
+ VpcConfiguration.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
800
+ VpcConfiguration.struct_class = Types::VpcConfiguration
801
+
395
802
 
396
803
  # @api private
397
804
  API = Seahorse::Model::Api.new.tap do |api|
@@ -423,6 +830,33 @@ module Aws::AccessAnalyzer
423
830
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
424
831
  end)
425
832
 
833
+ api.add_operation(:cancel_policy_generation, Seahorse::Model::Operation.new.tap do |o|
834
+ o.name = "CancelPolicyGeneration"
835
+ o.http_method = "PUT"
836
+ o.http_request_uri = "/policy/generation/{jobId}"
837
+ o.input = Shapes::ShapeRef.new(shape: CancelPolicyGenerationRequest)
838
+ o.output = Shapes::ShapeRef.new(shape: CancelPolicyGenerationResponse)
839
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
840
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
841
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
842
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
843
+ end)
844
+
845
+ api.add_operation(:create_access_preview, Seahorse::Model::Operation.new.tap do |o|
846
+ o.name = "CreateAccessPreview"
847
+ o.http_method = "PUT"
848
+ o.http_request_uri = "/access-preview"
849
+ o.input = Shapes::ShapeRef.new(shape: CreateAccessPreviewRequest)
850
+ o.output = Shapes::ShapeRef.new(shape: CreateAccessPreviewResponse)
851
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
852
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
853
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
854
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
855
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
856
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
857
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
858
+ end)
859
+
426
860
  api.add_operation(:create_analyzer, Seahorse::Model::Operation.new.tap do |o|
427
861
  o.name = "CreateAnalyzer"
428
862
  o.http_method = "PUT"
@@ -478,6 +912,19 @@ module Aws::AccessAnalyzer
478
912
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
479
913
  end)
480
914
 
915
+ api.add_operation(:get_access_preview, Seahorse::Model::Operation.new.tap do |o|
916
+ o.name = "GetAccessPreview"
917
+ o.http_method = "GET"
918
+ o.http_request_uri = "/access-preview/{accessPreviewId}"
919
+ o.input = Shapes::ShapeRef.new(shape: GetAccessPreviewRequest)
920
+ o.output = Shapes::ShapeRef.new(shape: GetAccessPreviewResponse)
921
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
922
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
923
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
924
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
925
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
926
+ end)
927
+
481
928
  api.add_operation(:get_analyzed_resource, Seahorse::Model::Operation.new.tap do |o|
482
929
  o.name = "GetAnalyzedResource"
483
930
  o.http_method = "GET"
@@ -530,6 +977,57 @@ module Aws::AccessAnalyzer
530
977
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
531
978
  end)
532
979
 
980
+ api.add_operation(:get_generated_policy, Seahorse::Model::Operation.new.tap do |o|
981
+ o.name = "GetGeneratedPolicy"
982
+ o.http_method = "GET"
983
+ o.http_request_uri = "/policy/generation/{jobId}"
984
+ o.input = Shapes::ShapeRef.new(shape: GetGeneratedPolicyRequest)
985
+ o.output = Shapes::ShapeRef.new(shape: GetGeneratedPolicyResponse)
986
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
987
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
988
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
989
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
990
+ end)
991
+
992
+ api.add_operation(:list_access_preview_findings, Seahorse::Model::Operation.new.tap do |o|
993
+ o.name = "ListAccessPreviewFindings"
994
+ o.http_method = "POST"
995
+ o.http_request_uri = "/access-preview/{accessPreviewId}"
996
+ o.input = Shapes::ShapeRef.new(shape: ListAccessPreviewFindingsRequest)
997
+ o.output = Shapes::ShapeRef.new(shape: ListAccessPreviewFindingsResponse)
998
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
999
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1000
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1001
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1002
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1003
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1004
+ o[:pager] = Aws::Pager.new(
1005
+ limit_key: "max_results",
1006
+ tokens: {
1007
+ "next_token" => "next_token"
1008
+ }
1009
+ )
1010
+ end)
1011
+
1012
+ api.add_operation(:list_access_previews, Seahorse::Model::Operation.new.tap do |o|
1013
+ o.name = "ListAccessPreviews"
1014
+ o.http_method = "GET"
1015
+ o.http_request_uri = "/access-preview"
1016
+ o.input = Shapes::ShapeRef.new(shape: ListAccessPreviewsRequest)
1017
+ o.output = Shapes::ShapeRef.new(shape: ListAccessPreviewsResponse)
1018
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1019
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1020
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1021
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1022
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1023
+ o[:pager] = Aws::Pager.new(
1024
+ limit_key: "max_results",
1025
+ tokens: {
1026
+ "next_token" => "next_token"
1027
+ }
1028
+ )
1029
+ end)
1030
+
533
1031
  api.add_operation(:list_analyzed_resources, Seahorse::Model::Operation.new.tap do |o|
534
1032
  o.name = "ListAnalyzedResources"
535
1033
  o.http_method = "POST"
@@ -604,6 +1102,24 @@ module Aws::AccessAnalyzer
604
1102
  )
605
1103
  end)
606
1104
 
1105
+ api.add_operation(:list_policy_generations, Seahorse::Model::Operation.new.tap do |o|
1106
+ o.name = "ListPolicyGenerations"
1107
+ o.http_method = "GET"
1108
+ o.http_request_uri = "/policy/generation"
1109
+ o.input = Shapes::ShapeRef.new(shape: ListPolicyGenerationsRequest)
1110
+ o.output = Shapes::ShapeRef.new(shape: ListPolicyGenerationsResponse)
1111
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1112
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1114
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1115
+ o[:pager] = Aws::Pager.new(
1116
+ limit_key: "max_results",
1117
+ tokens: {
1118
+ "next_token" => "next_token"
1119
+ }
1120
+ )
1121
+ end)
1122
+
607
1123
  api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
608
1124
  o.name = "ListTagsForResource"
609
1125
  o.http_method = "GET"
@@ -617,6 +1133,20 @@ module Aws::AccessAnalyzer
617
1133
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
618
1134
  end)
619
1135
 
1136
+ api.add_operation(:start_policy_generation, Seahorse::Model::Operation.new.tap do |o|
1137
+ o.name = "StartPolicyGeneration"
1138
+ o.http_method = "PUT"
1139
+ o.http_request_uri = "/policy/generation"
1140
+ o.input = Shapes::ShapeRef.new(shape: StartPolicyGenerationRequest)
1141
+ o.output = Shapes::ShapeRef.new(shape: StartPolicyGenerationResponse)
1142
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1143
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1144
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1145
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1146
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1147
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1148
+ end)
1149
+
620
1150
  api.add_operation(:start_resource_scan, Seahorse::Model::Operation.new.tap do |o|
621
1151
  o.name = "StartResourceScan"
622
1152
  o.http_method = "POST"
@@ -681,6 +1211,24 @@ module Aws::AccessAnalyzer
681
1211
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
682
1212
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
683
1213
  end)
1214
+
1215
+ api.add_operation(:validate_policy, Seahorse::Model::Operation.new.tap do |o|
1216
+ o.name = "ValidatePolicy"
1217
+ o.http_method = "POST"
1218
+ o.http_request_uri = "/policy/validation"
1219
+ o.input = Shapes::ShapeRef.new(shape: ValidatePolicyRequest)
1220
+ o.output = Shapes::ShapeRef.new(shape: ValidatePolicyResponse)
1221
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1222
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1223
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1224
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1225
+ o[:pager] = Aws::Pager.new(
1226
+ limit_key: "max_results",
1227
+ tokens: {
1228
+ "next_token" => "next_token"
1229
+ }
1230
+ )
1231
+ end)
684
1232
  end
685
1233
 
686
1234
  end