aws-sdk-accessanalyzer 1.12.0 → 1.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +104 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-accessanalyzer.rb +3 -3
- data/lib/aws-sdk-accessanalyzer/client.rb +414 -23
- data/lib/aws-sdk-accessanalyzer/client_api.rb +304 -1
- data/lib/aws-sdk-accessanalyzer/errors.rb +13 -1
- data/lib/aws-sdk-accessanalyzer/resource.rb +1 -1
- data/lib/aws-sdk-accessanalyzer/types.rb +1398 -65
- metadata +8 -5
@@ -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/
|
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')
|
@@ -22,11 +38,17 @@ module Aws::AccessAnalyzer
|
|
22
38
|
AnalyzerStatus = Shapes::StringShape.new(name: 'AnalyzerStatus')
|
23
39
|
AnalyzerSummary = Shapes::StructureShape.new(name: 'AnalyzerSummary')
|
24
40
|
AnalyzersList = Shapes::ListShape.new(name: 'AnalyzersList')
|
41
|
+
ApplyArchiveRuleRequest = Shapes::StructureShape.new(name: 'ApplyArchiveRuleRequest')
|
25
42
|
ArchiveRuleSummary = Shapes::StructureShape.new(name: 'ArchiveRuleSummary')
|
26
43
|
ArchiveRulesList = Shapes::ListShape.new(name: 'ArchiveRulesList')
|
27
44
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
28
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')
|
29
49
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
50
|
+
CreateAccessPreviewRequest = Shapes::StructureShape.new(name: 'CreateAccessPreviewRequest')
|
51
|
+
CreateAccessPreviewResponse = Shapes::StructureShape.new(name: 'CreateAccessPreviewResponse')
|
30
52
|
CreateAnalyzerRequest = Shapes::StructureShape.new(name: 'CreateAnalyzerRequest')
|
31
53
|
CreateAnalyzerResponse = Shapes::StructureShape.new(name: 'CreateAnalyzerResponse')
|
32
54
|
CreateArchiveRuleRequest = Shapes::StructureShape.new(name: 'CreateArchiveRuleRequest')
|
@@ -35,6 +57,7 @@ module Aws::AccessAnalyzer
|
|
35
57
|
DeleteArchiveRuleRequest = Shapes::StructureShape.new(name: 'DeleteArchiveRuleRequest')
|
36
58
|
FilterCriteriaMap = Shapes::MapShape.new(name: 'FilterCriteriaMap')
|
37
59
|
Finding = Shapes::StructureShape.new(name: 'Finding')
|
60
|
+
FindingChangeType = Shapes::StringShape.new(name: 'FindingChangeType')
|
38
61
|
FindingId = Shapes::StringShape.new(name: 'FindingId')
|
39
62
|
FindingIdList = Shapes::ListShape.new(name: 'FindingIdList')
|
40
63
|
FindingSource = Shapes::StructureShape.new(name: 'FindingSource')
|
@@ -45,6 +68,8 @@ module Aws::AccessAnalyzer
|
|
45
68
|
FindingStatusUpdate = Shapes::StringShape.new(name: 'FindingStatusUpdate')
|
46
69
|
FindingSummary = Shapes::StructureShape.new(name: 'FindingSummary')
|
47
70
|
FindingsList = Shapes::ListShape.new(name: 'FindingsList')
|
71
|
+
GetAccessPreviewRequest = Shapes::StructureShape.new(name: 'GetAccessPreviewRequest')
|
72
|
+
GetAccessPreviewResponse = Shapes::StructureShape.new(name: 'GetAccessPreviewResponse')
|
48
73
|
GetAnalyzedResourceRequest = Shapes::StructureShape.new(name: 'GetAnalyzedResourceRequest')
|
49
74
|
GetAnalyzedResourceResponse = Shapes::StructureShape.new(name: 'GetAnalyzedResourceResponse')
|
50
75
|
GetAnalyzerRequest = Shapes::StructureShape.new(name: 'GetAnalyzerRequest')
|
@@ -53,10 +78,30 @@ module Aws::AccessAnalyzer
|
|
53
78
|
GetArchiveRuleResponse = Shapes::StructureShape.new(name: 'GetArchiveRuleResponse')
|
54
79
|
GetFindingRequest = Shapes::StructureShape.new(name: 'GetFindingRequest')
|
55
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')
|
56
84
|
InlineArchiveRule = Shapes::StructureShape.new(name: 'InlineArchiveRule')
|
57
85
|
InlineArchiveRulesList = Shapes::ListShape.new(name: 'InlineArchiveRulesList')
|
58
86
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
59
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')
|
60
105
|
ListAnalyzedResourcesRequest = Shapes::StructureShape.new(name: 'ListAnalyzedResourcesRequest')
|
61
106
|
ListAnalyzedResourcesResponse = Shapes::StructureShape.new(name: 'ListAnalyzedResourcesResponse')
|
62
107
|
ListAnalyzersRequest = Shapes::StructureShape.new(name: 'ListAnalyzersRequest')
|
@@ -68,15 +113,30 @@ module Aws::AccessAnalyzer
|
|
68
113
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
69
114
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
70
115
|
Name = Shapes::StringShape.new(name: 'Name')
|
116
|
+
NetworkOriginConfiguration = Shapes::StructureShape.new(name: 'NetworkOriginConfiguration')
|
71
117
|
OrderBy = Shapes::StringShape.new(name: 'OrderBy')
|
118
|
+
PolicyName = Shapes::StringShape.new(name: 'PolicyName')
|
72
119
|
PrincipalMap = Shapes::MapShape.new(name: 'PrincipalMap')
|
73
120
|
ReasonCode = Shapes::StringShape.new(name: 'ReasonCode')
|
74
121
|
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
|
75
122
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
76
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')
|
77
135
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
78
136
|
SharedViaList = Shapes::ListShape.new(name: 'SharedViaList')
|
79
137
|
SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
|
138
|
+
SqsQueueConfiguration = Shapes::StructureShape.new(name: 'SqsQueueConfiguration')
|
139
|
+
SqsQueuePolicy = Shapes::StringShape.new(name: 'SqsQueuePolicy')
|
80
140
|
StartResourceScanRequest = Shapes::StructureShape.new(name: 'StartResourceScanRequest')
|
81
141
|
StatusReason = Shapes::StructureShape.new(name: 'StatusReason')
|
82
142
|
String = Shapes::StringShape.new(name: 'String')
|
@@ -97,10 +157,55 @@ module Aws::AccessAnalyzer
|
|
97
157
|
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
|
98
158
|
ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
|
99
159
|
ValueList = Shapes::ListShape.new(name: 'ValueList')
|
160
|
+
VpcConfiguration = Shapes::StructureShape.new(name: 'VpcConfiguration')
|
161
|
+
VpcId = Shapes::StringShape.new(name: 'VpcId')
|
100
162
|
|
101
163
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
102
164
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
103
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
|
+
|
104
209
|
ActionList.member = Shapes::ShapeRef.new(shape: String)
|
105
210
|
|
106
211
|
AnalyzedResource.add_member(:actions, Shapes::ShapeRef.new(shape: ActionList, location_name: "actions"))
|
@@ -136,6 +241,11 @@ module Aws::AccessAnalyzer
|
|
136
241
|
|
137
242
|
AnalyzersList.member = Shapes::ShapeRef.new(shape: AnalyzerSummary)
|
138
243
|
|
244
|
+
ApplyArchiveRuleRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
|
245
|
+
ApplyArchiveRuleRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
246
|
+
ApplyArchiveRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ruleName"))
|
247
|
+
ApplyArchiveRuleRequest.struct_class = Types::ApplyArchiveRuleRequest
|
248
|
+
|
139
249
|
ArchiveRuleSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "createdAt"))
|
140
250
|
ArchiveRuleSummary.add_member(:filter, Shapes::ShapeRef.new(shape: FilterCriteriaMap, required: true, location_name: "filter"))
|
141
251
|
ArchiveRuleSummary.add_member(:rule_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ruleName"))
|
@@ -147,11 +257,29 @@ module Aws::AccessAnalyzer
|
|
147
257
|
ConditionKeyMap.key = Shapes::ShapeRef.new(shape: String)
|
148
258
|
ConditionKeyMap.value = Shapes::ShapeRef.new(shape: String)
|
149
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
|
+
|
150
270
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
151
271
|
ConflictException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
152
272
|
ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
153
273
|
ConflictException.struct_class = Types::ConflictException
|
154
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
|
+
|
155
283
|
CreateAnalyzerRequest.add_member(:analyzer_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "analyzerName"))
|
156
284
|
CreateAnalyzerRequest.add_member(:archive_rules, Shapes::ShapeRef.new(shape: InlineArchiveRulesList, location_name: "archiveRules"))
|
157
285
|
CreateAnalyzerRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
|
@@ -231,6 +359,13 @@ module Aws::AccessAnalyzer
|
|
231
359
|
|
232
360
|
FindingsList.member = Shapes::ShapeRef.new(shape: FindingSummary)
|
233
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
|
+
|
234
369
|
GetAnalyzedResourceRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location: "querystring", location_name: "analyzerArn"))
|
235
370
|
GetAnalyzedResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "querystring", location_name: "resourceArn"))
|
236
371
|
GetAnalyzedResourceRequest.struct_class = Types::GetAnalyzedResourceRequest
|
@@ -258,6 +393,9 @@ module Aws::AccessAnalyzer
|
|
258
393
|
GetFindingResponse.add_member(:finding, Shapes::ShapeRef.new(shape: Finding, location_name: "finding"))
|
259
394
|
GetFindingResponse.struct_class = Types::GetFindingResponse
|
260
395
|
|
396
|
+
IamRoleConfiguration.add_member(:trust_policy, Shapes::ShapeRef.new(shape: IamTrustPolicy, location_name: "trustPolicy"))
|
397
|
+
IamRoleConfiguration.struct_class = Types::IamRoleConfiguration
|
398
|
+
|
261
399
|
InlineArchiveRule.add_member(:filter, Shapes::ShapeRef.new(shape: FilterCriteriaMap, required: true, location_name: "filter"))
|
262
400
|
InlineArchiveRule.add_member(:rule_name, Shapes::ShapeRef.new(shape: Name, required: true, location_name: "ruleName"))
|
263
401
|
InlineArchiveRule.struct_class = Types::InlineArchiveRule
|
@@ -268,6 +406,53 @@ module Aws::AccessAnalyzer
|
|
268
406
|
InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
|
269
407
|
InternalServerException.struct_class = Types::InternalServerException
|
270
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
|
+
|
271
456
|
ListAnalyzedResourcesRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
|
272
457
|
ListAnalyzedResourcesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Integer, location_name: "maxResults"))
|
273
458
|
ListAnalyzedResourcesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: Token, location_name: "nextToken"))
|
@@ -313,6 +498,10 @@ module Aws::AccessAnalyzer
|
|
313
498
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
314
499
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
315
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
|
+
|
316
505
|
PrincipalMap.key = Shapes::ShapeRef.new(shape: String)
|
317
506
|
PrincipalMap.value = Shapes::ShapeRef.new(shape: String)
|
318
507
|
|
@@ -321,6 +510,34 @@ module Aws::AccessAnalyzer
|
|
321
510
|
ResourceNotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
322
511
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
323
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
|
+
|
324
541
|
ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
325
542
|
ServiceQuotaExceededException.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceId"))
|
326
543
|
ServiceQuotaExceededException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "resourceType"))
|
@@ -332,6 +549,9 @@ module Aws::AccessAnalyzer
|
|
332
549
|
SortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
|
333
550
|
SortCriteria.struct_class = Types::SortCriteria
|
334
551
|
|
552
|
+
SqsQueueConfiguration.add_member(:queue_policy, Shapes::ShapeRef.new(shape: SqsQueuePolicy, location_name: "queuePolicy"))
|
553
|
+
SqsQueueConfiguration.struct_class = Types::SqsQueueConfiguration
|
554
|
+
|
335
555
|
StartResourceScanRequest.add_member(:analyzer_arn, Shapes::ShapeRef.new(shape: AnalyzerArn, required: true, location_name: "analyzerArn"))
|
336
556
|
StartResourceScanRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
|
337
557
|
StartResourceScanRequest.struct_class = Types::StartResourceScanRequest
|
@@ -386,6 +606,9 @@ module Aws::AccessAnalyzer
|
|
386
606
|
|
387
607
|
ValueList.member = Shapes::ShapeRef.new(shape: String)
|
388
608
|
|
609
|
+
VpcConfiguration.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "vpcId"))
|
610
|
+
VpcConfiguration.struct_class = Types::VpcConfiguration
|
611
|
+
|
389
612
|
|
390
613
|
# @api private
|
391
614
|
API = Seahorse::Model::Api.new.tap do |api|
|
@@ -404,6 +627,34 @@ module Aws::AccessAnalyzer
|
|
404
627
|
"uid" => "accessanalyzer-2019-11-01",
|
405
628
|
}
|
406
629
|
|
630
|
+
api.add_operation(:apply_archive_rule, Seahorse::Model::Operation.new.tap do |o|
|
631
|
+
o.name = "ApplyArchiveRule"
|
632
|
+
o.http_method = "PUT"
|
633
|
+
o.http_request_uri = "/archive-rule"
|
634
|
+
o.input = Shapes::ShapeRef.new(shape: ApplyArchiveRuleRequest)
|
635
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
636
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
637
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
638
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
639
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
640
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
641
|
+
end)
|
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
|
+
|
407
658
|
api.add_operation(:create_analyzer, Seahorse::Model::Operation.new.tap do |o|
|
408
659
|
o.name = "CreateAnalyzer"
|
409
660
|
o.http_method = "PUT"
|
@@ -459,6 +710,19 @@ module Aws::AccessAnalyzer
|
|
459
710
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
460
711
|
end)
|
461
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
|
+
|
462
726
|
api.add_operation(:get_analyzed_resource, Seahorse::Model::Operation.new.tap do |o|
|
463
727
|
o.name = "GetAnalyzedResource"
|
464
728
|
o.http_method = "GET"
|
@@ -511,6 +775,45 @@ module Aws::AccessAnalyzer
|
|
511
775
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
512
776
|
end)
|
513
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
|
+
|
514
817
|
api.add_operation(:list_analyzed_resources, Seahorse::Model::Operation.new.tap do |o|
|
515
818
|
o.name = "ListAnalyzedResources"
|
516
819
|
o.http_method = "POST"
|