aws-sdk-accessanalyzer 1.13.0 → 1.18.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')
@@ -27,7 +43,12 @@ module Aws::AccessAnalyzer
27
43
  ArchiveRulesList = Shapes::ListShape.new(name: 'ArchiveRulesList')
28
44
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
29
45
  ConditionKeyMap = Shapes::MapShape.new(name: 'ConditionKeyMap')
46
+ Configuration = Shapes::StructureShape.new(name: 'Configuration')
47
+ ConfigurationsMap = Shapes::MapShape.new(name: 'ConfigurationsMap')
48
+ ConfigurationsMapKey = Shapes::StringShape.new(name: 'ConfigurationsMapKey')
30
49
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
50
+ CreateAccessPreviewRequest = Shapes::StructureShape.new(name: 'CreateAccessPreviewRequest')
51
+ CreateAccessPreviewResponse = Shapes::StructureShape.new(name: 'CreateAccessPreviewResponse')
31
52
  CreateAnalyzerRequest = Shapes::StructureShape.new(name: 'CreateAnalyzerRequest')
32
53
  CreateAnalyzerResponse = Shapes::StructureShape.new(name: 'CreateAnalyzerResponse')
33
54
  CreateArchiveRuleRequest = Shapes::StructureShape.new(name: 'CreateArchiveRuleRequest')
@@ -36,6 +57,7 @@ module Aws::AccessAnalyzer
36
57
  DeleteArchiveRuleRequest = Shapes::StructureShape.new(name: 'DeleteArchiveRuleRequest')
37
58
  FilterCriteriaMap = Shapes::MapShape.new(name: 'FilterCriteriaMap')
38
59
  Finding = Shapes::StructureShape.new(name: 'Finding')
60
+ FindingChangeType = Shapes::StringShape.new(name: 'FindingChangeType')
39
61
  FindingId = Shapes::StringShape.new(name: 'FindingId')
40
62
  FindingIdList = Shapes::ListShape.new(name: 'FindingIdList')
41
63
  FindingSource = Shapes::StructureShape.new(name: 'FindingSource')
@@ -46,6 +68,8 @@ module Aws::AccessAnalyzer
46
68
  FindingStatusUpdate = Shapes::StringShape.new(name: 'FindingStatusUpdate')
47
69
  FindingSummary = Shapes::StructureShape.new(name: 'FindingSummary')
48
70
  FindingsList = Shapes::ListShape.new(name: 'FindingsList')
71
+ GetAccessPreviewRequest = Shapes::StructureShape.new(name: 'GetAccessPreviewRequest')
72
+ GetAccessPreviewResponse = Shapes::StructureShape.new(name: 'GetAccessPreviewResponse')
49
73
  GetAnalyzedResourceRequest = Shapes::StructureShape.new(name: 'GetAnalyzedResourceRequest')
50
74
  GetAnalyzedResourceResponse = Shapes::StructureShape.new(name: 'GetAnalyzedResourceResponse')
51
75
  GetAnalyzerRequest = Shapes::StructureShape.new(name: 'GetAnalyzerRequest')
@@ -54,10 +78,32 @@ module Aws::AccessAnalyzer
54
78
  GetArchiveRuleResponse = Shapes::StructureShape.new(name: 'GetArchiveRuleResponse')
55
79
  GetFindingRequest = Shapes::StructureShape.new(name: 'GetFindingRequest')
56
80
  GetFindingResponse = Shapes::StructureShape.new(name: 'GetFindingResponse')
81
+ GranteePrincipal = Shapes::StringShape.new(name: 'GranteePrincipal')
82
+ IamRoleConfiguration = Shapes::StructureShape.new(name: 'IamRoleConfiguration')
83
+ IamTrustPolicy = Shapes::StringShape.new(name: 'IamTrustPolicy')
57
84
  InlineArchiveRule = Shapes::StructureShape.new(name: 'InlineArchiveRule')
58
85
  InlineArchiveRulesList = Shapes::ListShape.new(name: 'InlineArchiveRulesList')
59
86
  Integer = Shapes::IntegerShape.new(name: 'Integer')
60
87
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
88
+ InternetConfiguration = Shapes::StructureShape.new(name: 'InternetConfiguration')
89
+ IssueCode = Shapes::StringShape.new(name: 'IssueCode')
90
+ IssuingAccount = Shapes::StringShape.new(name: 'IssuingAccount')
91
+ KmsConstraintsKey = Shapes::StringShape.new(name: 'KmsConstraintsKey')
92
+ KmsConstraintsMap = Shapes::MapShape.new(name: 'KmsConstraintsMap')
93
+ KmsConstraintsValue = Shapes::StringShape.new(name: 'KmsConstraintsValue')
94
+ KmsGrantConfiguration = Shapes::StructureShape.new(name: 'KmsGrantConfiguration')
95
+ KmsGrantConfigurationsList = Shapes::ListShape.new(name: 'KmsGrantConfigurationsList')
96
+ KmsGrantConstraints = Shapes::StructureShape.new(name: 'KmsGrantConstraints')
97
+ KmsGrantOperation = Shapes::StringShape.new(name: 'KmsGrantOperation')
98
+ KmsGrantOperationsList = Shapes::ListShape.new(name: 'KmsGrantOperationsList')
99
+ KmsKeyConfiguration = Shapes::StructureShape.new(name: 'KmsKeyConfiguration')
100
+ KmsKeyPoliciesMap = Shapes::MapShape.new(name: 'KmsKeyPoliciesMap')
101
+ KmsKeyPolicy = Shapes::StringShape.new(name: 'KmsKeyPolicy')
102
+ LearnMoreLink = Shapes::StringShape.new(name: 'LearnMoreLink')
103
+ ListAccessPreviewFindingsRequest = Shapes::StructureShape.new(name: 'ListAccessPreviewFindingsRequest')
104
+ ListAccessPreviewFindingsResponse = Shapes::StructureShape.new(name: 'ListAccessPreviewFindingsResponse')
105
+ ListAccessPreviewsRequest = Shapes::StructureShape.new(name: 'ListAccessPreviewsRequest')
106
+ ListAccessPreviewsResponse = Shapes::StructureShape.new(name: 'ListAccessPreviewsResponse')
61
107
  ListAnalyzedResourcesRequest = Shapes::StructureShape.new(name: 'ListAnalyzedResourcesRequest')
62
108
  ListAnalyzedResourcesResponse = Shapes::StructureShape.new(name: 'ListAnalyzedResourcesResponse')
63
109
  ListAnalyzersRequest = Shapes::StructureShape.new(name: 'ListAnalyzersRequest')
@@ -68,19 +114,44 @@ module Aws::AccessAnalyzer
68
114
  ListFindingsResponse = Shapes::StructureShape.new(name: 'ListFindingsResponse')
69
115
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
70
116
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
117
+ Locale = Shapes::StringShape.new(name: 'Locale')
118
+ Location = Shapes::StructureShape.new(name: 'Location')
119
+ LocationList = Shapes::ListShape.new(name: 'LocationList')
71
120
  Name = Shapes::StringShape.new(name: 'Name')
121
+ NetworkOriginConfiguration = Shapes::StructureShape.new(name: 'NetworkOriginConfiguration')
72
122
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
123
+ PathElement = Shapes::StructureShape.new(name: 'PathElement')
124
+ PathElementList = Shapes::ListShape.new(name: 'PathElementList')
125
+ PolicyDocument = Shapes::StringShape.new(name: 'PolicyDocument')
126
+ PolicyName = Shapes::StringShape.new(name: 'PolicyName')
127
+ PolicyType = Shapes::StringShape.new(name: 'PolicyType')
128
+ Position = Shapes::StructureShape.new(name: 'Position')
73
129
  PrincipalMap = Shapes::MapShape.new(name: 'PrincipalMap')
74
130
  ReasonCode = Shapes::StringShape.new(name: 'ReasonCode')
75
131
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
76
132
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
77
133
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
134
+ RetiringPrincipal = Shapes::StringShape.new(name: 'RetiringPrincipal')
135
+ S3AccessPointConfiguration = Shapes::StructureShape.new(name: 'S3AccessPointConfiguration')
136
+ S3AccessPointConfigurationsMap = Shapes::MapShape.new(name: 'S3AccessPointConfigurationsMap')
137
+ S3BucketAclGrantConfiguration = Shapes::StructureShape.new(name: 'S3BucketAclGrantConfiguration')
138
+ S3BucketAclGrantConfigurationsList = Shapes::ListShape.new(name: 'S3BucketAclGrantConfigurationsList')
139
+ S3BucketConfiguration = Shapes::StructureShape.new(name: 'S3BucketConfiguration')
140
+ S3BucketPolicy = Shapes::StringShape.new(name: 'S3BucketPolicy')
141
+ S3PublicAccessBlockConfiguration = Shapes::StructureShape.new(name: 'S3PublicAccessBlockConfiguration')
142
+ SecretsManagerSecretConfiguration = Shapes::StructureShape.new(name: 'SecretsManagerSecretConfiguration')
143
+ SecretsManagerSecretKmsId = Shapes::StringShape.new(name: 'SecretsManagerSecretKmsId')
144
+ SecretsManagerSecretPolicy = Shapes::StringShape.new(name: 'SecretsManagerSecretPolicy')
78
145
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
79
146
  SharedViaList = Shapes::ListShape.new(name: 'SharedViaList')
80
147
  SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
148
+ Span = Shapes::StructureShape.new(name: 'Span')
149
+ SqsQueueConfiguration = Shapes::StructureShape.new(name: 'SqsQueueConfiguration')
150
+ SqsQueuePolicy = Shapes::StringShape.new(name: 'SqsQueuePolicy')
81
151
  StartResourceScanRequest = Shapes::StructureShape.new(name: 'StartResourceScanRequest')
82
152
  StatusReason = Shapes::StructureShape.new(name: 'StatusReason')
83
153
  String = Shapes::StringShape.new(name: 'String')
154
+ Substring = Shapes::StructureShape.new(name: 'Substring')
84
155
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
85
156
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
86
157
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
@@ -93,15 +164,65 @@ module Aws::AccessAnalyzer
93
164
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
94
165
  UpdateArchiveRuleRequest = Shapes::StructureShape.new(name: 'UpdateArchiveRuleRequest')
95
166
  UpdateFindingsRequest = Shapes::StructureShape.new(name: 'UpdateFindingsRequest')
167
+ ValidatePolicyFinding = Shapes::StructureShape.new(name: 'ValidatePolicyFinding')
168
+ ValidatePolicyFindingList = Shapes::ListShape.new(name: 'ValidatePolicyFindingList')
169
+ ValidatePolicyFindingType = Shapes::StringShape.new(name: 'ValidatePolicyFindingType')
170
+ ValidatePolicyRequest = Shapes::StructureShape.new(name: 'ValidatePolicyRequest')
171
+ ValidatePolicyResponse = Shapes::StructureShape.new(name: 'ValidatePolicyResponse')
96
172
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
97
173
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
98
174
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
99
175
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
100
176
  ValueList = Shapes::ListShape.new(name: 'ValueList')
177
+ VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
178
+ VpcId = Shapes::StringShape.new(name: 'VpcId')
101
179
 
102
180
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
103
181
  AccessDeniedException.struct_class = Types::AccessDeniedException
104
182
 
183
+ AccessPreview.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
184
+ AccessPreview.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationsMap, required: true, location_name: "configurations"))
185
+ AccessPreview.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
186
+ AccessPreview.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location_name: "id"))
187
+ AccessPreview.add_member(:status, Shapes::ShapeRef.new(shape: AccessPreviewStatus, required: true, location_name: "status"))
188
+ AccessPreview.add_member(:status_reason, Shapes::ShapeRef.new(shape: AccessPreviewStatusReason, location_name: "statusReason"))
189
+ AccessPreview.struct_class = Types::AccessPreview
190
+
191
+ AccessPreviewFinding.add_member(:action, Shapes::ShapeRef.new(shape: ActionList, location_name: "action"))
192
+ AccessPreviewFinding.add_member(:change_type, Shapes::ShapeRef.new(shape: FindingChangeType, required: true, location_name: "changeType"))
193
+ AccessPreviewFinding.add_member(:condition, Shapes::ShapeRef.new(shape: ConditionKeyMap, location_name: "condition"))
194
+ AccessPreviewFinding.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
195
+ AccessPreviewFinding.add_member(:error, Shapes::ShapeRef.new(shape: String, location_name: "error"))
196
+ AccessPreviewFinding.add_member(:existing_finding_id, Shapes::ShapeRef.new(shape: FindingId, location_name: "existingFindingId"))
197
+ AccessPreviewFinding.add_member(:existing_finding_status, Shapes::ShapeRef.new(shape: FindingStatus, location_name: "existingFindingStatus"))
198
+ AccessPreviewFinding.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewFindingId, required: true, location_name: "id"))
199
+ AccessPreviewFinding.add_member(:is_public, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPublic"))
200
+ AccessPreviewFinding.add_member(:principal, Shapes::ShapeRef.new(shape: PrincipalMap, location_name: "principal"))
201
+ AccessPreviewFinding.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "resource"))
202
+ AccessPreviewFinding.add_member(:resource_owner_account, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceOwnerAccount"))
203
+ AccessPreviewFinding.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
204
+ AccessPreviewFinding.add_member(:sources, Shapes::ShapeRef.new(shape: FindingSourceList, location_name: "sources"))
205
+ AccessPreviewFinding.add_member(:status, Shapes::ShapeRef.new(shape: FindingStatus, required: true, location_name: "status"))
206
+ AccessPreviewFinding.struct_class = Types::AccessPreviewFinding
207
+
208
+ AccessPreviewFindingsList.member = Shapes::ShapeRef.new(shape: AccessPreviewFinding)
209
+
210
+ AccessPreviewStatusReason.add_member(:code, Shapes::ShapeRef.new(shape: AccessPreviewStatusReasonCode, required: true, location_name: "code"))
211
+ AccessPreviewStatusReason.struct_class = Types::AccessPreviewStatusReason
212
+
213
+ AccessPreviewSummary.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
214
+ AccessPreviewSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
215
+ AccessPreviewSummary.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location_name: "id"))
216
+ AccessPreviewSummary.add_member(:status, Shapes::ShapeRef.new(shape: AccessPreviewStatus, required: true, location_name: "status"))
217
+ AccessPreviewSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: AccessPreviewStatusReason, location_name: "statusReason"))
218
+ AccessPreviewSummary.struct_class = Types::AccessPreviewSummary
219
+
220
+ AccessPreviewsList.member = Shapes::ShapeRef.new(shape: AccessPreviewSummary)
221
+
222
+ AclGrantee.add_member(:id, Shapes::ShapeRef.new(shape: AclCanonicalId, location_name: "id"))
223
+ AclGrantee.add_member(:uri, Shapes::ShapeRef.new(shape: AclUri, location_name: "uri"))
224
+ AclGrantee.struct_class = Types::AclGrantee
225
+
105
226
  ActionList.member = Shapes::ShapeRef.new(shape: String)
106
227
 
107
228
  AnalyzedResource.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, location_name: "actions"))
@@ -153,11 +274,29 @@ module Aws::AccessAnalyzer
153
274
  ConditionKeyMap.key = Shapes::ShapeRef.new(shape: String)
154
275
  ConditionKeyMap.value = Shapes::ShapeRef.new(shape: String)
155
276
 
277
+ Configuration.add_member(:iam_role, Shapes::ShapeRef.new(shape: IamRoleConfiguration, location_name: "iamRole"))
278
+ Configuration.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKeyConfiguration, location_name: "kmsKey"))
279
+ Configuration.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3BucketConfiguration, location_name: "s3Bucket"))
280
+ Configuration.add_member(:secrets_manager_secret, Shapes::ShapeRef.new(shape: SecretsManagerSecretConfiguration, location_name: "secretsManagerSecret"))
281
+ Configuration.add_member(:sqs_queue, Shapes::ShapeRef.new(shape: SqsQueueConfiguration, location_name: "sqsQueue"))
282
+ Configuration.struct_class = Types::Configuration
283
+
284
+ ConfigurationsMap.key = Shapes::ShapeRef.new(shape: ConfigurationsMapKey)
285
+ ConfigurationsMap.value = Shapes::ShapeRef.new(shape: Configuration)
286
+
156
287
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
157
288
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
158
289
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
159
290
  ConflictException.struct_class = Types::ConflictException
160
291
 
292
+ CreateAccessPreviewRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
293
+ CreateAccessPreviewRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
294
+ CreateAccessPreviewRequest.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationsMap, required: true, location_name: "configurations"))
295
+ CreateAccessPreviewRequest.struct_class = Types::CreateAccessPreviewRequest
296
+
297
+ CreateAccessPreviewResponse.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location_name: "id"))
298
+ CreateAccessPreviewResponse.struct_class = Types::CreateAccessPreviewResponse
299
+
161
300
  CreateAnalyzerRequest.add_member(:analyzer_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "analyzerName"))
162
301
  CreateAnalyzerRequest.add_member(:archive_rules, Shapes::ShapeRef.new(shape: InlineArchiveRulesList, location_name: "archiveRules"))
163
302
  CreateAnalyzerRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
@@ -237,6 +376,13 @@ module Aws::AccessAnalyzer
237
376
 
238
377
  FindingsList.member = Shapes::ShapeRef.new(shape: FindingSummary)
239
378
 
379
+ GetAccessPreviewRequest.add_member(:access_preview_id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location: "uri", location_name: "accessPreviewId"))
380
+ GetAccessPreviewRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location: "querystring", location_name: "analyzerArn"))
381
+ GetAccessPreviewRequest.struct_class = Types::GetAccessPreviewRequest
382
+
383
+ GetAccessPreviewResponse.add_member(:access_preview, Shapes::ShapeRef.new(shape: AccessPreview, required: true, location_name: "accessPreview"))
384
+ GetAccessPreviewResponse.struct_class = Types::GetAccessPreviewResponse
385
+
240
386
  GetAnalyzedResourceRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location: "querystring", location_name: "analyzerArn"))
241
387
  GetAnalyzedResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "querystring", location_name: "resourceArn"))
242
388
  GetAnalyzedResourceRequest.struct_class = Types::GetAnalyzedResourceRequest
@@ -264,6 +410,9 @@ module Aws::AccessAnalyzer
264
410
  GetFindingResponse.add_member(:finding, Shapes::ShapeRef.new(shape: Finding, location_name: "finding"))
265
411
  GetFindingResponse.struct_class = Types::GetFindingResponse
266
412
 
413
+ IamRoleConfiguration.add_member(:trust_policy, Shapes::ShapeRef.new(shape: IamTrustPolicy, location_name: "trustPolicy"))
414
+ IamRoleConfiguration.struct_class = Types::IamRoleConfiguration
415
+
267
416
  InlineArchiveRule.add_member(:filter, Shapes::ShapeRef.new(shape: FilterCriteriaMap, required: true, location_name: "filter"))
268
417
  InlineArchiveRule.add_member(:rule_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ruleName"))
269
418
  InlineArchiveRule.struct_class = Types::InlineArchiveRule
@@ -274,6 +423,53 @@ module Aws::AccessAnalyzer
274
423
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
275
424
  InternalServerException.struct_class = Types::InternalServerException
276
425
 
426
+ InternetConfiguration.struct_class = Types::InternetConfiguration
427
+
428
+ KmsConstraintsMap.key = Shapes::ShapeRef.new(shape: KmsConstraintsKey)
429
+ KmsConstraintsMap.value = Shapes::ShapeRef.new(shape: KmsConstraintsValue)
430
+
431
+ KmsGrantConfiguration.add_member(:constraints, Shapes::ShapeRef.new(shape: KmsGrantConstraints, location_name: "constraints"))
432
+ KmsGrantConfiguration.add_member(:grantee_principal, Shapes::ShapeRef.new(shape: GranteePrincipal, required: true, location_name: "granteePrincipal"))
433
+ KmsGrantConfiguration.add_member(:issuing_account, Shapes::ShapeRef.new(shape: IssuingAccount, required: true, location_name: "issuingAccount"))
434
+ KmsGrantConfiguration.add_member(:operations, Shapes::ShapeRef.new(shape: KmsGrantOperationsList, required: true, location_name: "operations"))
435
+ KmsGrantConfiguration.add_member(:retiring_principal, Shapes::ShapeRef.new(shape: RetiringPrincipal, location_name: "retiringPrincipal"))
436
+ KmsGrantConfiguration.struct_class = Types::KmsGrantConfiguration
437
+
438
+ KmsGrantConfigurationsList.member = Shapes::ShapeRef.new(shape: KmsGrantConfiguration)
439
+
440
+ KmsGrantConstraints.add_member(:encryption_context_equals, Shapes::ShapeRef.new(shape: KmsConstraintsMap, location_name: "encryptionContextEquals"))
441
+ KmsGrantConstraints.add_member(:encryption_context_subset, Shapes::ShapeRef.new(shape: KmsConstraintsMap, location_name: "encryptionContextSubset"))
442
+ KmsGrantConstraints.struct_class = Types::KmsGrantConstraints
443
+
444
+ KmsGrantOperationsList.member = Shapes::ShapeRef.new(shape: KmsGrantOperation)
445
+
446
+ KmsKeyConfiguration.add_member(:grants, Shapes::ShapeRef.new(shape: KmsGrantConfigurationsList, location_name: "grants"))
447
+ KmsKeyConfiguration.add_member(:key_policies, Shapes::ShapeRef.new(shape: KmsKeyPoliciesMap, location_name: "keyPolicies"))
448
+ KmsKeyConfiguration.struct_class = Types::KmsKeyConfiguration
449
+
450
+ KmsKeyPoliciesMap.key = Shapes::ShapeRef.new(shape: PolicyName)
451
+ KmsKeyPoliciesMap.value = Shapes::ShapeRef.new(shape: KmsKeyPolicy)
452
+
453
+ ListAccessPreviewFindingsRequest.add_member(:access_preview_id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location: "uri", location_name: "accessPreviewId"))
454
+ ListAccessPreviewFindingsRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
455
+ ListAccessPreviewFindingsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FilterCriteriaMap, location_name: "filter"))
456
+ ListAccessPreviewFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
457
+ ListAccessPreviewFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
458
+ ListAccessPreviewFindingsRequest.struct_class = Types::ListAccessPreviewFindingsRequest
459
+
460
+ ListAccessPreviewFindingsResponse.add_member(:findings, Shapes::ShapeRef.new(shape: AccessPreviewFindingsList, required: true, location_name: "findings"))
461
+ ListAccessPreviewFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
462
+ ListAccessPreviewFindingsResponse.struct_class = Types::ListAccessPreviewFindingsResponse
463
+
464
+ ListAccessPreviewsRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location: "querystring", location_name: "analyzerArn"))
465
+ ListAccessPreviewsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "maxResults"))
466
+ ListAccessPreviewsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
467
+ ListAccessPreviewsRequest.struct_class = Types::ListAccessPreviewsRequest
468
+
469
+ ListAccessPreviewsResponse.add_member(:access_previews, Shapes::ShapeRef.new(shape: AccessPreviewsList, required: true, location_name: "accessPreviews"))
470
+ ListAccessPreviewsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
471
+ ListAccessPreviewsResponse.struct_class = Types::ListAccessPreviewsResponse
472
+
277
473
  ListAnalyzedResourcesRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
278
474
  ListAnalyzedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
279
475
  ListAnalyzedResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
@@ -319,6 +515,29 @@ module Aws::AccessAnalyzer
319
515
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
320
516
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
321
517
 
518
+ Location.add_member(:path, Shapes::ShapeRef.new(shape: PathElementList, required: true, location_name: "path"))
519
+ Location.add_member(:span, Shapes::ShapeRef.new(shape: Span, required: true, location_name: "span"))
520
+ Location.struct_class = Types::Location
521
+
522
+ LocationList.member = Shapes::ShapeRef.new(shape: Location)
523
+
524
+ NetworkOriginConfiguration.add_member(:internet_configuration, Shapes::ShapeRef.new(shape: InternetConfiguration, location_name: "internetConfiguration"))
525
+ NetworkOriginConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "vpcConfiguration"))
526
+ NetworkOriginConfiguration.struct_class = Types::NetworkOriginConfiguration
527
+
528
+ PathElement.add_member(:index, Shapes::ShapeRef.new(shape: Integer, location_name: "index"))
529
+ PathElement.add_member(:key, Shapes::ShapeRef.new(shape: String, location_name: "key"))
530
+ PathElement.add_member(:substring, Shapes::ShapeRef.new(shape: Substring, location_name: "substring"))
531
+ PathElement.add_member(:value, Shapes::ShapeRef.new(shape: String, location_name: "value"))
532
+ PathElement.struct_class = Types::PathElement
533
+
534
+ PathElementList.member = Shapes::ShapeRef.new(shape: PathElement)
535
+
536
+ Position.add_member(:column, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "column"))
537
+ Position.add_member(:line, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "line"))
538
+ Position.add_member(:offset, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "offset"))
539
+ Position.struct_class = Types::Position
540
+
322
541
  PrincipalMap.key = Shapes::ShapeRef.new(shape: String)
323
542
  PrincipalMap.value = Shapes::ShapeRef.new(shape: String)
324
543
 
@@ -327,6 +546,34 @@ module Aws::AccessAnalyzer
327
546
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
328
547
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
329
548
 
549
+ S3AccessPointConfiguration.add_member(:access_point_policy, Shapes::ShapeRef.new(shape: AccessPointPolicy, location_name: "accessPointPolicy"))
550
+ S3AccessPointConfiguration.add_member(:network_origin, Shapes::ShapeRef.new(shape: NetworkOriginConfiguration, location_name: "networkOrigin"))
551
+ S3AccessPointConfiguration.add_member(:public_access_block, Shapes::ShapeRef.new(shape: S3PublicAccessBlockConfiguration, location_name: "publicAccessBlock"))
552
+ S3AccessPointConfiguration.struct_class = Types::S3AccessPointConfiguration
553
+
554
+ S3AccessPointConfigurationsMap.key = Shapes::ShapeRef.new(shape: AccessPointArn)
555
+ S3AccessPointConfigurationsMap.value = Shapes::ShapeRef.new(shape: S3AccessPointConfiguration)
556
+
557
+ S3BucketAclGrantConfiguration.add_member(:grantee, Shapes::ShapeRef.new(shape: AclGrantee, required: true, location_name: "grantee"))
558
+ S3BucketAclGrantConfiguration.add_member(:permission, Shapes::ShapeRef.new(shape: AclPermission, required: true, location_name: "permission"))
559
+ S3BucketAclGrantConfiguration.struct_class = Types::S3BucketAclGrantConfiguration
560
+
561
+ S3BucketAclGrantConfigurationsList.member = Shapes::ShapeRef.new(shape: S3BucketAclGrantConfiguration)
562
+
563
+ S3BucketConfiguration.add_member(:access_points, Shapes::ShapeRef.new(shape: S3AccessPointConfigurationsMap, location_name: "accessPoints"))
564
+ S3BucketConfiguration.add_member(:bucket_acl_grants, Shapes::ShapeRef.new(shape: S3BucketAclGrantConfigurationsList, location_name: "bucketAclGrants"))
565
+ S3BucketConfiguration.add_member(:bucket_policy, Shapes::ShapeRef.new(shape: S3BucketPolicy, location_name: "bucketPolicy"))
566
+ S3BucketConfiguration.add_member(:bucket_public_access_block, Shapes::ShapeRef.new(shape: S3PublicAccessBlockConfiguration, location_name: "bucketPublicAccessBlock"))
567
+ S3BucketConfiguration.struct_class = Types::S3BucketConfiguration
568
+
569
+ S3PublicAccessBlockConfiguration.add_member(:ignore_public_acls, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ignorePublicAcls"))
570
+ S3PublicAccessBlockConfiguration.add_member(:restrict_public_buckets, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "restrictPublicBuckets"))
571
+ S3PublicAccessBlockConfiguration.struct_class = Types::S3PublicAccessBlockConfiguration
572
+
573
+ SecretsManagerSecretConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: SecretsManagerSecretKmsId, location_name: "kmsKeyId"))
574
+ SecretsManagerSecretConfiguration.add_member(:secret_policy, Shapes::ShapeRef.new(shape: SecretsManagerSecretPolicy, location_name: "secretPolicy"))
575
+ SecretsManagerSecretConfiguration.struct_class = Types::SecretsManagerSecretConfiguration
576
+
330
577
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
331
578
  ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
332
579
  ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
@@ -338,6 +585,13 @@ module Aws::AccessAnalyzer
338
585
  SortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
339
586
  SortCriteria.struct_class = Types::SortCriteria
340
587
 
588
+ Span.add_member(:end, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "end"))
589
+ Span.add_member(:start, Shapes::ShapeRef.new(shape: Position, required: true, location_name: "start"))
590
+ Span.struct_class = Types::Span
591
+
592
+ SqsQueueConfiguration.add_member(:queue_policy, Shapes::ShapeRef.new(shape: SqsQueuePolicy, location_name: "queuePolicy"))
593
+ SqsQueueConfiguration.struct_class = Types::SqsQueueConfiguration
594
+
341
595
  StartResourceScanRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
342
596
  StartResourceScanRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
343
597
  StartResourceScanRequest.struct_class = Types::StartResourceScanRequest
@@ -345,6 +599,10 @@ module Aws::AccessAnalyzer
345
599
  StatusReason.add_member(:code, Shapes::ShapeRef.new(shape: ReasonCode, required: true, location_name: "code"))
346
600
  StatusReason.struct_class = Types::StatusReason
347
601
 
602
+ Substring.add_member(:length, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "length"))
603
+ Substring.add_member(:start, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "start"))
604
+ Substring.struct_class = Types::Substring
605
+
348
606
  TagKeys.member = Shapes::ShapeRef.new(shape: String)
349
607
 
350
608
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "resourceArn"))
@@ -379,6 +637,26 @@ module Aws::AccessAnalyzer
379
637
  UpdateFindingsRequest.add_member(:status, Shapes::ShapeRef.new(shape: FindingStatusUpdate, required: true, location_name: "status"))
380
638
  UpdateFindingsRequest.struct_class = Types::UpdateFindingsRequest
381
639
 
640
+ ValidatePolicyFinding.add_member(:finding_details, Shapes::ShapeRef.new(shape: String, required: true, location_name: "findingDetails"))
641
+ ValidatePolicyFinding.add_member(:finding_type, Shapes::ShapeRef.new(shape: ValidatePolicyFindingType, required: true, location_name: "findingType"))
642
+ ValidatePolicyFinding.add_member(:issue_code, Shapes::ShapeRef.new(shape: IssueCode, required: true, location_name: "issueCode"))
643
+ ValidatePolicyFinding.add_member(:learn_more_link, Shapes::ShapeRef.new(shape: LearnMoreLink, required: true, location_name: "learnMoreLink"))
644
+ ValidatePolicyFinding.add_member(:locations, Shapes::ShapeRef.new(shape: LocationList, required: true, location_name: "locations"))
645
+ ValidatePolicyFinding.struct_class = Types::ValidatePolicyFinding
646
+
647
+ ValidatePolicyFindingList.member = Shapes::ShapeRef.new(shape: ValidatePolicyFinding)
648
+
649
+ ValidatePolicyRequest.add_member(:locale, Shapes::ShapeRef.new(shape: Locale, location_name: "locale"))
650
+ ValidatePolicyRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "maxResults"))
651
+ ValidatePolicyRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
652
+ ValidatePolicyRequest.add_member(:policy_document, Shapes::ShapeRef.new(shape: PolicyDocument, required: true, location_name: "policyDocument"))
653
+ ValidatePolicyRequest.add_member(:policy_type, Shapes::ShapeRef.new(shape: PolicyType, required: true, location_name: "policyType"))
654
+ ValidatePolicyRequest.struct_class = Types::ValidatePolicyRequest
655
+
656
+ ValidatePolicyResponse.add_member(:findings, Shapes::ShapeRef.new(shape: ValidatePolicyFindingList, required: true, location_name: "findings"))
657
+ ValidatePolicyResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
658
+ ValidatePolicyResponse.struct_class = Types::ValidatePolicyResponse
659
+
382
660
  ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
383
661
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
384
662
  ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
@@ -392,6 +670,9 @@ module Aws::AccessAnalyzer
392
670
 
393
671
  ValueList.member = Shapes::ShapeRef.new(shape: String)
394
672
 
673
+ VpcConfiguration.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
674
+ VpcConfiguration.struct_class = Types::VpcConfiguration
675
+
395
676
 
396
677
  # @api private
397
678
  API = Seahorse::Model::Api.new.tap do |api|
@@ -423,6 +704,21 @@ module Aws::AccessAnalyzer
423
704
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
424
705
  end)
425
706
 
707
+ api.add_operation(:create_access_preview, Seahorse::Model::Operation.new.tap do |o|
708
+ o.name = "CreateAccessPreview"
709
+ o.http_method = "PUT"
710
+ o.http_request_uri = "/access-preview"
711
+ o.input = Shapes::ShapeRef.new(shape: CreateAccessPreviewRequest)
712
+ o.output = Shapes::ShapeRef.new(shape: CreateAccessPreviewResponse)
713
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
714
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
715
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
716
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
717
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
718
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
719
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
720
+ end)
721
+
426
722
  api.add_operation(:create_analyzer, Seahorse::Model::Operation.new.tap do |o|
427
723
  o.name = "CreateAnalyzer"
428
724
  o.http_method = "PUT"
@@ -478,6 +774,19 @@ module Aws::AccessAnalyzer
478
774
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
479
775
  end)
480
776
 
777
+ api.add_operation(:get_access_preview, Seahorse::Model::Operation.new.tap do |o|
778
+ o.name = "GetAccessPreview"
779
+ o.http_method = "GET"
780
+ o.http_request_uri = "/access-preview/{accessPreviewId}"
781
+ o.input = Shapes::ShapeRef.new(shape: GetAccessPreviewRequest)
782
+ o.output = Shapes::ShapeRef.new(shape: GetAccessPreviewResponse)
783
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
784
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
785
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
786
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
787
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
788
+ end)
789
+
481
790
  api.add_operation(:get_analyzed_resource, Seahorse::Model::Operation.new.tap do |o|
482
791
  o.name = "GetAnalyzedResource"
483
792
  o.http_method = "GET"
@@ -530,6 +839,45 @@ module Aws::AccessAnalyzer
530
839
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
531
840
  end)
532
841
 
842
+ api.add_operation(:list_access_preview_findings, Seahorse::Model::Operation.new.tap do |o|
843
+ o.name = "ListAccessPreviewFindings"
844
+ o.http_method = "POST"
845
+ o.http_request_uri = "/access-preview/{accessPreviewId}"
846
+ o.input = Shapes::ShapeRef.new(shape: ListAccessPreviewFindingsRequest)
847
+ o.output = Shapes::ShapeRef.new(shape: ListAccessPreviewFindingsResponse)
848
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
849
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
850
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
851
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
852
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
853
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
854
+ o[:pager] = Aws::Pager.new(
855
+ limit_key: "max_results",
856
+ tokens: {
857
+ "next_token" => "next_token"
858
+ }
859
+ )
860
+ end)
861
+
862
+ api.add_operation(:list_access_previews, Seahorse::Model::Operation.new.tap do |o|
863
+ o.name = "ListAccessPreviews"
864
+ o.http_method = "GET"
865
+ o.http_request_uri = "/access-preview"
866
+ o.input = Shapes::ShapeRef.new(shape: ListAccessPreviewsRequest)
867
+ o.output = Shapes::ShapeRef.new(shape: ListAccessPreviewsResponse)
868
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
869
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
870
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
871
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
872
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
873
+ o[:pager] = Aws::Pager.new(
874
+ limit_key: "max_results",
875
+ tokens: {
876
+ "next_token" => "next_token"
877
+ }
878
+ )
879
+ end)
880
+
533
881
  api.add_operation(:list_analyzed_resources, Seahorse::Model::Operation.new.tap do |o|
534
882
  o.name = "ListAnalyzedResources"
535
883
  o.http_method = "POST"
@@ -681,6 +1029,24 @@ module Aws::AccessAnalyzer
681
1029
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
682
1030
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
683
1031
  end)
1032
+
1033
+ api.add_operation(:validate_policy, Seahorse::Model::Operation.new.tap do |o|
1034
+ o.name = "ValidatePolicy"
1035
+ o.http_method = "POST"
1036
+ o.http_request_uri = "/policy/validation"
1037
+ o.input = Shapes::ShapeRef.new(shape: ValidatePolicyRequest)
1038
+ o.output = Shapes::ShapeRef.new(shape: ValidatePolicyResponse)
1039
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1040
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1041
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1042
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1043
+ o[:pager] = Aws::Pager.new(
1044
+ limit_key: "max_results",
1045
+ tokens: {
1046
+ "next_token" => "next_token"
1047
+ }
1048
+ )
1049
+ end)
684
1050
  end
685
1051
 
686
1052
  end