aws-sdk-accessanalyzer 1.16.0 → 1.17.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,30 @@ 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
+ IssuingAccount = Shapes::StringShape.new(name: 'IssuingAccount')
90
+ KmsConstraintsKey = Shapes::StringShape.new(name: 'KmsConstraintsKey')
91
+ KmsConstraintsMap = Shapes::MapShape.new(name: 'KmsConstraintsMap')
92
+ KmsConstraintsValue = Shapes::StringShape.new(name: 'KmsConstraintsValue')
93
+ KmsGrantConfiguration = Shapes::StructureShape.new(name: 'KmsGrantConfiguration')
94
+ KmsGrantConfigurationsList = Shapes::ListShape.new(name: 'KmsGrantConfigurationsList')
95
+ KmsGrantConstraints = Shapes::StructureShape.new(name: 'KmsGrantConstraints')
96
+ KmsGrantOperation = Shapes::StringShape.new(name: 'KmsGrantOperation')
97
+ KmsGrantOperationsList = Shapes::ListShape.new(name: 'KmsGrantOperationsList')
98
+ KmsKeyConfiguration = Shapes::StructureShape.new(name: 'KmsKeyConfiguration')
99
+ KmsKeyPoliciesMap = Shapes::MapShape.new(name: 'KmsKeyPoliciesMap')
100
+ KmsKeyPolicy = Shapes::StringShape.new(name: 'KmsKeyPolicy')
101
+ ListAccessPreviewFindingsRequest = Shapes::StructureShape.new(name: 'ListAccessPreviewFindingsRequest')
102
+ ListAccessPreviewFindingsResponse = Shapes::StructureShape.new(name: 'ListAccessPreviewFindingsResponse')
103
+ ListAccessPreviewsRequest = Shapes::StructureShape.new(name: 'ListAccessPreviewsRequest')
104
+ ListAccessPreviewsResponse = Shapes::StructureShape.new(name: 'ListAccessPreviewsResponse')
61
105
  ListAnalyzedResourcesRequest = Shapes::StructureShape.new(name: 'ListAnalyzedResourcesRequest')
62
106
  ListAnalyzedResourcesResponse = Shapes::StructureShape.new(name: 'ListAnalyzedResourcesResponse')
63
107
  ListAnalyzersRequest = Shapes::StructureShape.new(name: 'ListAnalyzersRequest')
@@ -69,15 +113,30 @@ module Aws::AccessAnalyzer
69
113
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
70
114
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
71
115
  Name = Shapes::StringShape.new(name: 'Name')
116
+ NetworkOriginConfiguration = Shapes::StructureShape.new(name: 'NetworkOriginConfiguration')
72
117
  OrderBy = Shapes::StringShape.new(name: 'OrderBy')
118
+ PolicyName = Shapes::StringShape.new(name: 'PolicyName')
73
119
  PrincipalMap = Shapes::MapShape.new(name: 'PrincipalMap')
74
120
  ReasonCode = Shapes::StringShape.new(name: 'ReasonCode')
75
121
  ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
76
122
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
77
123
  ResourceType = Shapes::StringShape.new(name: 'ResourceType')
124
+ RetiringPrincipal = Shapes::StringShape.new(name: 'RetiringPrincipal')
125
+ S3AccessPointConfiguration = Shapes::StructureShape.new(name: 'S3AccessPointConfiguration')
126
+ S3AccessPointConfigurationsMap = Shapes::MapShape.new(name: 'S3AccessPointConfigurationsMap')
127
+ S3BucketAclGrantConfiguration = Shapes::StructureShape.new(name: 'S3BucketAclGrantConfiguration')
128
+ S3BucketAclGrantConfigurationsList = Shapes::ListShape.new(name: 'S3BucketAclGrantConfigurationsList')
129
+ S3BucketConfiguration = Shapes::StructureShape.new(name: 'S3BucketConfiguration')
130
+ S3BucketPolicy = Shapes::StringShape.new(name: 'S3BucketPolicy')
131
+ S3PublicAccessBlockConfiguration = Shapes::StructureShape.new(name: 'S3PublicAccessBlockConfiguration')
132
+ SecretsManagerSecretConfiguration = Shapes::StructureShape.new(name: 'SecretsManagerSecretConfiguration')
133
+ SecretsManagerSecretKmsId = Shapes::StringShape.new(name: 'SecretsManagerSecretKmsId')
134
+ SecretsManagerSecretPolicy = Shapes::StringShape.new(name: 'SecretsManagerSecretPolicy')
78
135
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
79
136
  SharedViaList = Shapes::ListShape.new(name: 'SharedViaList')
80
137
  SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
138
+ SqsQueueConfiguration = Shapes::StructureShape.new(name: 'SqsQueueConfiguration')
139
+ SqsQueuePolicy = Shapes::StringShape.new(name: 'SqsQueuePolicy')
81
140
  StartResourceScanRequest = Shapes::StructureShape.new(name: 'StartResourceScanRequest')
82
141
  StatusReason = Shapes::StructureShape.new(name: 'StatusReason')
83
142
  String = Shapes::StringShape.new(name: 'String')
@@ -98,10 +157,55 @@ module Aws::AccessAnalyzer
98
157
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
99
158
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
100
159
  ValueList = Shapes::ListShape.new(name: 'ValueList')
160
+ VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
161
+ VpcId = Shapes::StringShape.new(name: 'VpcId')
101
162
 
102
163
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
103
164
  AccessDeniedException.struct_class = Types::AccessDeniedException
104
165
 
166
+ AccessPreview.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
167
+ AccessPreview.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationsMap, required: true, location_name: "configurations"))
168
+ AccessPreview.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
169
+ AccessPreview.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location_name: "id"))
170
+ AccessPreview.add_member(:status, Shapes::ShapeRef.new(shape: AccessPreviewStatus, required: true, location_name: "status"))
171
+ AccessPreview.add_member(:status_reason, Shapes::ShapeRef.new(shape: AccessPreviewStatusReason, location_name: "statusReason"))
172
+ AccessPreview.struct_class = Types::AccessPreview
173
+
174
+ AccessPreviewFinding.add_member(:action, Shapes::ShapeRef.new(shape: ActionList, location_name: "action"))
175
+ AccessPreviewFinding.add_member(:change_type, Shapes::ShapeRef.new(shape: FindingChangeType, required: true, location_name: "changeType"))
176
+ AccessPreviewFinding.add_member(:condition, Shapes::ShapeRef.new(shape: ConditionKeyMap, location_name: "condition"))
177
+ AccessPreviewFinding.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
178
+ AccessPreviewFinding.add_member(:error, Shapes::ShapeRef.new(shape: String, location_name: "error"))
179
+ AccessPreviewFinding.add_member(:existing_finding_id, Shapes::ShapeRef.new(shape: FindingId, location_name: "existingFindingId"))
180
+ AccessPreviewFinding.add_member(:existing_finding_status, Shapes::ShapeRef.new(shape: FindingStatus, location_name: "existingFindingStatus"))
181
+ AccessPreviewFinding.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewFindingId, required: true, location_name: "id"))
182
+ AccessPreviewFinding.add_member(:is_public, Shapes::ShapeRef.new(shape: Boolean, location_name: "isPublic"))
183
+ AccessPreviewFinding.add_member(:principal, Shapes::ShapeRef.new(shape: PrincipalMap, location_name: "principal"))
184
+ AccessPreviewFinding.add_member(:resource, Shapes::ShapeRef.new(shape: String, location_name: "resource"))
185
+ AccessPreviewFinding.add_member(:resource_owner_account, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceOwnerAccount"))
186
+ AccessPreviewFinding.add_member(:resource_type, Shapes::ShapeRef.new(shape: ResourceType, required: true, location_name: "resourceType"))
187
+ AccessPreviewFinding.add_member(:sources, Shapes::ShapeRef.new(shape: FindingSourceList, location_name: "sources"))
188
+ AccessPreviewFinding.add_member(:status, Shapes::ShapeRef.new(shape: FindingStatus, required: true, location_name: "status"))
189
+ AccessPreviewFinding.struct_class = Types::AccessPreviewFinding
190
+
191
+ AccessPreviewFindingsList.member = Shapes::ShapeRef.new(shape: AccessPreviewFinding)
192
+
193
+ AccessPreviewStatusReason.add_member(:code, Shapes::ShapeRef.new(shape: AccessPreviewStatusReasonCode, required: true, location_name: "code"))
194
+ AccessPreviewStatusReason.struct_class = Types::AccessPreviewStatusReason
195
+
196
+ AccessPreviewSummary.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
197
+ AccessPreviewSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
198
+ AccessPreviewSummary.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location_name: "id"))
199
+ AccessPreviewSummary.add_member(:status, Shapes::ShapeRef.new(shape: AccessPreviewStatus, required: true, location_name: "status"))
200
+ AccessPreviewSummary.add_member(:status_reason, Shapes::ShapeRef.new(shape: AccessPreviewStatusReason, location_name: "statusReason"))
201
+ AccessPreviewSummary.struct_class = Types::AccessPreviewSummary
202
+
203
+ AccessPreviewsList.member = Shapes::ShapeRef.new(shape: AccessPreviewSummary)
204
+
205
+ AclGrantee.add_member(:id, Shapes::ShapeRef.new(shape: AclCanonicalId, location_name: "id"))
206
+ AclGrantee.add_member(:uri, Shapes::ShapeRef.new(shape: AclUri, location_name: "uri"))
207
+ AclGrantee.struct_class = Types::AclGrantee
208
+
105
209
  ActionList.member = Shapes::ShapeRef.new(shape: String)
106
210
 
107
211
  AnalyzedResource.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, location_name: "actions"))
@@ -153,11 +257,29 @@ module Aws::AccessAnalyzer
153
257
  ConditionKeyMap.key = Shapes::ShapeRef.new(shape: String)
154
258
  ConditionKeyMap.value = Shapes::ShapeRef.new(shape: String)
155
259
 
260
+ Configuration.add_member(:iam_role, Shapes::ShapeRef.new(shape: IamRoleConfiguration, location_name: "iamRole"))
261
+ Configuration.add_member(:kms_key, Shapes::ShapeRef.new(shape: KmsKeyConfiguration, location_name: "kmsKey"))
262
+ Configuration.add_member(:s3_bucket, Shapes::ShapeRef.new(shape: S3BucketConfiguration, location_name: "s3Bucket"))
263
+ Configuration.add_member(:secrets_manager_secret, Shapes::ShapeRef.new(shape: SecretsManagerSecretConfiguration, location_name: "secretsManagerSecret"))
264
+ Configuration.add_member(:sqs_queue, Shapes::ShapeRef.new(shape: SqsQueueConfiguration, location_name: "sqsQueue"))
265
+ Configuration.struct_class = Types::Configuration
266
+
267
+ ConfigurationsMap.key = Shapes::ShapeRef.new(shape: ConfigurationsMapKey)
268
+ ConfigurationsMap.value = Shapes::ShapeRef.new(shape: Configuration)
269
+
156
270
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
157
271
  ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
158
272
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
159
273
  ConflictException.struct_class = Types::ConflictException
160
274
 
275
+ CreateAccessPreviewRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
276
+ CreateAccessPreviewRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
277
+ CreateAccessPreviewRequest.add_member(:configurations, Shapes::ShapeRef.new(shape: ConfigurationsMap, required: true, location_name: "configurations"))
278
+ CreateAccessPreviewRequest.struct_class = Types::CreateAccessPreviewRequest
279
+
280
+ CreateAccessPreviewResponse.add_member(:id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location_name: "id"))
281
+ CreateAccessPreviewResponse.struct_class = Types::CreateAccessPreviewResponse
282
+
161
283
  CreateAnalyzerRequest.add_member(:analyzer_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "analyzerName"))
162
284
  CreateAnalyzerRequest.add_member(:archive_rules, Shapes::ShapeRef.new(shape: InlineArchiveRulesList, location_name: "archiveRules"))
163
285
  CreateAnalyzerRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
@@ -237,6 +359,13 @@ module Aws::AccessAnalyzer
237
359
 
238
360
  FindingsList.member = Shapes::ShapeRef.new(shape: FindingSummary)
239
361
 
362
+ GetAccessPreviewRequest.add_member(:access_preview_id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location: "uri", location_name: "accessPreviewId"))
363
+ GetAccessPreviewRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location: "querystring", location_name: "analyzerArn"))
364
+ GetAccessPreviewRequest.struct_class = Types::GetAccessPreviewRequest
365
+
366
+ GetAccessPreviewResponse.add_member(:access_preview, Shapes::ShapeRef.new(shape: AccessPreview, required: true, location_name: "accessPreview"))
367
+ GetAccessPreviewResponse.struct_class = Types::GetAccessPreviewResponse
368
+
240
369
  GetAnalyzedResourceRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location: "querystring", location_name: "analyzerArn"))
241
370
  GetAnalyzedResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "querystring", location_name: "resourceArn"))
242
371
  GetAnalyzedResourceRequest.struct_class = Types::GetAnalyzedResourceRequest
@@ -264,6 +393,9 @@ module Aws::AccessAnalyzer
264
393
  GetFindingResponse.add_member(:finding, Shapes::ShapeRef.new(shape: Finding, location_name: "finding"))
265
394
  GetFindingResponse.struct_class = Types::GetFindingResponse
266
395
 
396
+ IamRoleConfiguration.add_member(:trust_policy, Shapes::ShapeRef.new(shape: IamTrustPolicy, location_name: "trustPolicy"))
397
+ IamRoleConfiguration.struct_class = Types::IamRoleConfiguration
398
+
267
399
  InlineArchiveRule.add_member(:filter, Shapes::ShapeRef.new(shape: FilterCriteriaMap, required: true, location_name: "filter"))
268
400
  InlineArchiveRule.add_member(:rule_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ruleName"))
269
401
  InlineArchiveRule.struct_class = Types::InlineArchiveRule
@@ -274,6 +406,53 @@ module Aws::AccessAnalyzer
274
406
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
275
407
  InternalServerException.struct_class = Types::InternalServerException
276
408
 
409
+ InternetConfiguration.struct_class = Types::InternetConfiguration
410
+
411
+ KmsConstraintsMap.key = Shapes::ShapeRef.new(shape: KmsConstraintsKey)
412
+ KmsConstraintsMap.value = Shapes::ShapeRef.new(shape: KmsConstraintsValue)
413
+
414
+ KmsGrantConfiguration.add_member(:constraints, Shapes::ShapeRef.new(shape: KmsGrantConstraints, location_name: "constraints"))
415
+ KmsGrantConfiguration.add_member(:grantee_principal, Shapes::ShapeRef.new(shape: GranteePrincipal, required: true, location_name: "granteePrincipal"))
416
+ KmsGrantConfiguration.add_member(:issuing_account, Shapes::ShapeRef.new(shape: IssuingAccount, required: true, location_name: "issuingAccount"))
417
+ KmsGrantConfiguration.add_member(:operations, Shapes::ShapeRef.new(shape: KmsGrantOperationsList, required: true, location_name: "operations"))
418
+ KmsGrantConfiguration.add_member(:retiring_principal, Shapes::ShapeRef.new(shape: RetiringPrincipal, location_name: "retiringPrincipal"))
419
+ KmsGrantConfiguration.struct_class = Types::KmsGrantConfiguration
420
+
421
+ KmsGrantConfigurationsList.member = Shapes::ShapeRef.new(shape: KmsGrantConfiguration)
422
+
423
+ KmsGrantConstraints.add_member(:encryption_context_equals, Shapes::ShapeRef.new(shape: KmsConstraintsMap, location_name: "encryptionContextEquals"))
424
+ KmsGrantConstraints.add_member(:encryption_context_subset, Shapes::ShapeRef.new(shape: KmsConstraintsMap, location_name: "encryptionContextSubset"))
425
+ KmsGrantConstraints.struct_class = Types::KmsGrantConstraints
426
+
427
+ KmsGrantOperationsList.member = Shapes::ShapeRef.new(shape: KmsGrantOperation)
428
+
429
+ KmsKeyConfiguration.add_member(:grants, Shapes::ShapeRef.new(shape: KmsGrantConfigurationsList, location_name: "grants"))
430
+ KmsKeyConfiguration.add_member(:key_policies, Shapes::ShapeRef.new(shape: KmsKeyPoliciesMap, location_name: "keyPolicies"))
431
+ KmsKeyConfiguration.struct_class = Types::KmsKeyConfiguration
432
+
433
+ KmsKeyPoliciesMap.key = Shapes::ShapeRef.new(shape: PolicyName)
434
+ KmsKeyPoliciesMap.value = Shapes::ShapeRef.new(shape: KmsKeyPolicy)
435
+
436
+ ListAccessPreviewFindingsRequest.add_member(:access_preview_id, Shapes::ShapeRef.new(shape: AccessPreviewId, required: true, location: "uri", location_name: "accessPreviewId"))
437
+ ListAccessPreviewFindingsRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
438
+ ListAccessPreviewFindingsRequest.add_member(:filter, Shapes::ShapeRef.new(shape: FilterCriteriaMap, location_name: "filter"))
439
+ ListAccessPreviewFindingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
440
+ ListAccessPreviewFindingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
441
+ ListAccessPreviewFindingsRequest.struct_class = Types::ListAccessPreviewFindingsRequest
442
+
443
+ ListAccessPreviewFindingsResponse.add_member(:findings, Shapes::ShapeRef.new(shape: AccessPreviewFindingsList, required: true, location_name: "findings"))
444
+ ListAccessPreviewFindingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
445
+ ListAccessPreviewFindingsResponse.struct_class = Types::ListAccessPreviewFindingsResponse
446
+
447
+ ListAccessPreviewsRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location: "querystring", location_name: "analyzerArn"))
448
+ ListAccessPreviewsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location: "querystring", location_name: "maxResults"))
449
+ ListAccessPreviewsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location: "querystring", location_name: "nextToken"))
450
+ ListAccessPreviewsRequest.struct_class = Types::ListAccessPreviewsRequest
451
+
452
+ ListAccessPreviewsResponse.add_member(:access_previews, Shapes::ShapeRef.new(shape: AccessPreviewsList, required: true, location_name: "accessPreviews"))
453
+ ListAccessPreviewsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
454
+ ListAccessPreviewsResponse.struct_class = Types::ListAccessPreviewsResponse
455
+
277
456
  ListAnalyzedResourcesRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
278
457
  ListAnalyzedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
279
458
  ListAnalyzedResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
@@ -319,6 +498,10 @@ module Aws::AccessAnalyzer
319
498
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
320
499
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
321
500
 
501
+ NetworkOriginConfiguration.add_member(:internet_configuration, Shapes::ShapeRef.new(shape: InternetConfiguration, location_name: "internetConfiguration"))
502
+ NetworkOriginConfiguration.add_member(:vpc_configuration, Shapes::ShapeRef.new(shape: VpcConfiguration, location_name: "vpcConfiguration"))
503
+ NetworkOriginConfiguration.struct_class = Types::NetworkOriginConfiguration
504
+
322
505
  PrincipalMap.key = Shapes::ShapeRef.new(shape: String)
323
506
  PrincipalMap.value = Shapes::ShapeRef.new(shape: String)
324
507
 
@@ -327,6 +510,34 @@ module Aws::AccessAnalyzer
327
510
  ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
328
511
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
329
512
 
513
+ S3AccessPointConfiguration.add_member(:access_point_policy, Shapes::ShapeRef.new(shape: AccessPointPolicy, location_name: "accessPointPolicy"))
514
+ S3AccessPointConfiguration.add_member(:network_origin, Shapes::ShapeRef.new(shape: NetworkOriginConfiguration, location_name: "networkOrigin"))
515
+ S3AccessPointConfiguration.add_member(:public_access_block, Shapes::ShapeRef.new(shape: S3PublicAccessBlockConfiguration, location_name: "publicAccessBlock"))
516
+ S3AccessPointConfiguration.struct_class = Types::S3AccessPointConfiguration
517
+
518
+ S3AccessPointConfigurationsMap.key = Shapes::ShapeRef.new(shape: AccessPointArn)
519
+ S3AccessPointConfigurationsMap.value = Shapes::ShapeRef.new(shape: S3AccessPointConfiguration)
520
+
521
+ S3BucketAclGrantConfiguration.add_member(:grantee, Shapes::ShapeRef.new(shape: AclGrantee, required: true, location_name: "grantee"))
522
+ S3BucketAclGrantConfiguration.add_member(:permission, Shapes::ShapeRef.new(shape: AclPermission, required: true, location_name: "permission"))
523
+ S3BucketAclGrantConfiguration.struct_class = Types::S3BucketAclGrantConfiguration
524
+
525
+ S3BucketAclGrantConfigurationsList.member = Shapes::ShapeRef.new(shape: S3BucketAclGrantConfiguration)
526
+
527
+ S3BucketConfiguration.add_member(:access_points, Shapes::ShapeRef.new(shape: S3AccessPointConfigurationsMap, location_name: "accessPoints"))
528
+ S3BucketConfiguration.add_member(:bucket_acl_grants, Shapes::ShapeRef.new(shape: S3BucketAclGrantConfigurationsList, location_name: "bucketAclGrants"))
529
+ S3BucketConfiguration.add_member(:bucket_policy, Shapes::ShapeRef.new(shape: S3BucketPolicy, location_name: "bucketPolicy"))
530
+ S3BucketConfiguration.add_member(:bucket_public_access_block, Shapes::ShapeRef.new(shape: S3PublicAccessBlockConfiguration, location_name: "bucketPublicAccessBlock"))
531
+ S3BucketConfiguration.struct_class = Types::S3BucketConfiguration
532
+
533
+ S3PublicAccessBlockConfiguration.add_member(:ignore_public_acls, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "ignorePublicAcls"))
534
+ S3PublicAccessBlockConfiguration.add_member(:restrict_public_buckets, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "restrictPublicBuckets"))
535
+ S3PublicAccessBlockConfiguration.struct_class = Types::S3PublicAccessBlockConfiguration
536
+
537
+ SecretsManagerSecretConfiguration.add_member(:kms_key_id, Shapes::ShapeRef.new(shape: SecretsManagerSecretKmsId, location_name: "kmsKeyId"))
538
+ SecretsManagerSecretConfiguration.add_member(:secret_policy, Shapes::ShapeRef.new(shape: SecretsManagerSecretPolicy, location_name: "secretPolicy"))
539
+ SecretsManagerSecretConfiguration.struct_class = Types::SecretsManagerSecretConfiguration
540
+
330
541
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
331
542
  ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
332
543
  ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
@@ -338,6 +549,9 @@ module Aws::AccessAnalyzer
338
549
  SortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
339
550
  SortCriteria.struct_class = Types::SortCriteria
340
551
 
552
+ SqsQueueConfiguration.add_member(:queue_policy, Shapes::ShapeRef.new(shape: SqsQueuePolicy, location_name: "queuePolicy"))
553
+ SqsQueueConfiguration.struct_class = Types::SqsQueueConfiguration
554
+
341
555
  StartResourceScanRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
342
556
  StartResourceScanRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
343
557
  StartResourceScanRequest.struct_class = Types::StartResourceScanRequest
@@ -392,6 +606,9 @@ module Aws::AccessAnalyzer
392
606
 
393
607
  ValueList.member = Shapes::ShapeRef.new(shape: String)
394
608
 
609
+ VpcConfiguration.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
610
+ VpcConfiguration.struct_class = Types::VpcConfiguration
611
+
395
612
 
396
613
  # @api private
397
614
  API = Seahorse::Model::Api.new.tap do |api|
@@ -423,6 +640,21 @@ module Aws::AccessAnalyzer
423
640
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
424
641
  end)
425
642
 
643
+ api.add_operation(:create_access_preview, Seahorse::Model::Operation.new.tap do |o|
644
+ o.name = "CreateAccessPreview"
645
+ o.http_method = "PUT"
646
+ o.http_request_uri = "/access-preview"
647
+ o.input = Shapes::ShapeRef.new(shape: CreateAccessPreviewRequest)
648
+ o.output = Shapes::ShapeRef.new(shape: CreateAccessPreviewResponse)
649
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
650
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
651
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
652
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
653
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
654
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
655
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
656
+ end)
657
+
426
658
  api.add_operation(:create_analyzer, Seahorse::Model::Operation.new.tap do |o|
427
659
  o.name = "CreateAnalyzer"
428
660
  o.http_method = "PUT"
@@ -478,6 +710,19 @@ module Aws::AccessAnalyzer
478
710
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
479
711
  end)
480
712
 
713
+ api.add_operation(:get_access_preview, Seahorse::Model::Operation.new.tap do |o|
714
+ o.name = "GetAccessPreview"
715
+ o.http_method = "GET"
716
+ o.http_request_uri = "/access-preview/{accessPreviewId}"
717
+ o.input = Shapes::ShapeRef.new(shape: GetAccessPreviewRequest)
718
+ o.output = Shapes::ShapeRef.new(shape: GetAccessPreviewResponse)
719
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
720
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
721
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
722
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
723
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
724
+ end)
725
+
481
726
  api.add_operation(:get_analyzed_resource, Seahorse::Model::Operation.new.tap do |o|
482
727
  o.name = "GetAnalyzedResource"
483
728
  o.http_method = "GET"
@@ -530,6 +775,45 @@ module Aws::AccessAnalyzer
530
775
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
531
776
  end)
532
777
 
778
+ api.add_operation(:list_access_preview_findings, Seahorse::Model::Operation.new.tap do |o|
779
+ o.name = "ListAccessPreviewFindings"
780
+ o.http_method = "POST"
781
+ o.http_request_uri = "/access-preview/{accessPreviewId}"
782
+ o.input = Shapes::ShapeRef.new(shape: ListAccessPreviewFindingsRequest)
783
+ o.output = Shapes::ShapeRef.new(shape: ListAccessPreviewFindingsResponse)
784
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
785
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
786
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
787
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
788
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
789
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
790
+ o[:pager] = Aws::Pager.new(
791
+ limit_key: "max_results",
792
+ tokens: {
793
+ "next_token" => "next_token"
794
+ }
795
+ )
796
+ end)
797
+
798
+ api.add_operation(:list_access_previews, Seahorse::Model::Operation.new.tap do |o|
799
+ o.name = "ListAccessPreviews"
800
+ o.http_method = "GET"
801
+ o.http_request_uri = "/access-preview"
802
+ o.input = Shapes::ShapeRef.new(shape: ListAccessPreviewsRequest)
803
+ o.output = Shapes::ShapeRef.new(shape: ListAccessPreviewsResponse)
804
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
805
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
806
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
807
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
808
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
809
+ o[:pager] = Aws::Pager.new(
810
+ limit_key: "max_results",
811
+ tokens: {
812
+ "next_token" => "next_token"
813
+ }
814
+ )
815
+ end)
816
+
533
817
  api.add_operation(:list_analyzed_resources, Seahorse::Model::Operation.new.tap do |o|
534
818
  o.name = "ListAnalyzedResources"
535
819
  o.http_method = "POST"
@@ -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
 
@@ -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