aws-sdk-detective 1.28.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -16,10 +16,15 @@ module Aws::Detective
16
16
  AcceptInvitationRequest = Shapes::StructureShape.new(name: 'AcceptInvitationRequest')
17
17
  Account = Shapes::StructureShape.new(name: 'Account')
18
18
  AccountId = Shapes::StringShape.new(name: 'AccountId')
19
+ AccountIdExtendedList = Shapes::ListShape.new(name: 'AccountIdExtendedList')
19
20
  AccountIdList = Shapes::ListShape.new(name: 'AccountIdList')
20
21
  AccountList = Shapes::ListShape.new(name: 'AccountList')
21
22
  Administrator = Shapes::StructureShape.new(name: 'Administrator')
22
23
  AdministratorList = Shapes::ListShape.new(name: 'AdministratorList')
24
+ BatchGetGraphMemberDatasourcesRequest = Shapes::StructureShape.new(name: 'BatchGetGraphMemberDatasourcesRequest')
25
+ BatchGetGraphMemberDatasourcesResponse = Shapes::StructureShape.new(name: 'BatchGetGraphMemberDatasourcesResponse')
26
+ BatchGetMembershipDatasourcesRequest = Shapes::StructureShape.new(name: 'BatchGetMembershipDatasourcesRequest')
27
+ BatchGetMembershipDatasourcesResponse = Shapes::StructureShape.new(name: 'BatchGetMembershipDatasourcesResponse')
23
28
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
24
29
  ByteValue = Shapes::IntegerShape.new(name: 'ByteValue')
25
30
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
@@ -27,6 +32,14 @@ module Aws::Detective
27
32
  CreateGraphResponse = Shapes::StructureShape.new(name: 'CreateGraphResponse')
28
33
  CreateMembersRequest = Shapes::StructureShape.new(name: 'CreateMembersRequest')
29
34
  CreateMembersResponse = Shapes::StructureShape.new(name: 'CreateMembersResponse')
35
+ DatasourcePackage = Shapes::StringShape.new(name: 'DatasourcePackage')
36
+ DatasourcePackageIngestDetail = Shapes::StructureShape.new(name: 'DatasourcePackageIngestDetail')
37
+ DatasourcePackageIngestDetails = Shapes::MapShape.new(name: 'DatasourcePackageIngestDetails')
38
+ DatasourcePackageIngestHistory = Shapes::MapShape.new(name: 'DatasourcePackageIngestHistory')
39
+ DatasourcePackageIngestState = Shapes::StringShape.new(name: 'DatasourcePackageIngestState')
40
+ DatasourcePackageIngestStates = Shapes::MapShape.new(name: 'DatasourcePackageIngestStates')
41
+ DatasourcePackageList = Shapes::ListShape.new(name: 'DatasourcePackageList')
42
+ DatasourcePackageUsageInfo = Shapes::StructureShape.new(name: 'DatasourcePackageUsageInfo')
30
43
  DeleteGraphRequest = Shapes::StructureShape.new(name: 'DeleteGraphRequest')
31
44
  DeleteMembersRequest = Shapes::StructureShape.new(name: 'DeleteMembersRequest')
32
45
  DeleteMembersResponse = Shapes::StructureShape.new(name: 'DeleteMembersResponse')
@@ -36,14 +49,20 @@ module Aws::Detective
36
49
  EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
37
50
  EmailMessage = Shapes::StringShape.new(name: 'EmailMessage')
38
51
  EnableOrganizationAdminAccountRequest = Shapes::StructureShape.new(name: 'EnableOrganizationAdminAccountRequest')
52
+ ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
53
+ ErrorCodeReason = Shapes::StringShape.new(name: 'ErrorCodeReason')
39
54
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
40
55
  GetMembersRequest = Shapes::StructureShape.new(name: 'GetMembersRequest')
41
56
  GetMembersResponse = Shapes::StructureShape.new(name: 'GetMembersResponse')
42
57
  Graph = Shapes::StructureShape.new(name: 'Graph')
43
58
  GraphArn = Shapes::StringShape.new(name: 'GraphArn')
59
+ GraphArnList = Shapes::ListShape.new(name: 'GraphArnList')
44
60
  GraphList = Shapes::ListShape.new(name: 'GraphList')
45
61
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
46
62
  InvitationType = Shapes::StringShape.new(name: 'InvitationType')
63
+ LastIngestStateChangeDates = Shapes::MapShape.new(name: 'LastIngestStateChangeDates')
64
+ ListDatasourcePackagesRequest = Shapes::StructureShape.new(name: 'ListDatasourcePackagesRequest')
65
+ ListDatasourcePackagesResponse = Shapes::StructureShape.new(name: 'ListDatasourcePackagesResponse')
47
66
  ListGraphsRequest = Shapes::StructureShape.new(name: 'ListGraphsRequest')
48
67
  ListGraphsResponse = Shapes::StructureShape.new(name: 'ListGraphsResponse')
49
68
  ListInvitationsRequest = Shapes::StructureShape.new(name: 'ListInvitationsRequest')
@@ -59,9 +78,13 @@ module Aws::Detective
59
78
  MemberDisabledReason = Shapes::StringShape.new(name: 'MemberDisabledReason')
60
79
  MemberResultsLimit = Shapes::IntegerShape.new(name: 'MemberResultsLimit')
61
80
  MemberStatus = Shapes::StringShape.new(name: 'MemberStatus')
81
+ MembershipDatasources = Shapes::StructureShape.new(name: 'MembershipDatasources')
82
+ MembershipDatasourcesList = Shapes::ListShape.new(name: 'MembershipDatasourcesList')
62
83
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
63
84
  Percentage = Shapes::FloatShape.new(name: 'Percentage')
64
85
  RejectInvitationRequest = Shapes::StructureShape.new(name: 'RejectInvitationRequest')
86
+ Resource = Shapes::StringShape.new(name: 'Resource')
87
+ ResourceList = Shapes::ListShape.new(name: 'ResourceList')
65
88
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
66
89
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
67
90
  StartMonitoringMemberRequest = Shapes::StructureShape.new(name: 'StartMonitoringMemberRequest')
@@ -72,14 +95,19 @@ module Aws::Detective
72
95
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
73
96
  TagValue = Shapes::StringShape.new(name: 'TagValue')
74
97
  Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
98
+ TimestampForCollection = Shapes::StructureShape.new(name: 'TimestampForCollection')
75
99
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
76
100
  UnprocessedAccount = Shapes::StructureShape.new(name: 'UnprocessedAccount')
77
101
  UnprocessedAccountList = Shapes::ListShape.new(name: 'UnprocessedAccountList')
102
+ UnprocessedGraph = Shapes::StructureShape.new(name: 'UnprocessedGraph')
103
+ UnprocessedGraphList = Shapes::ListShape.new(name: 'UnprocessedGraphList')
78
104
  UnprocessedReason = Shapes::StringShape.new(name: 'UnprocessedReason')
79
105
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
80
106
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
107
+ UpdateDatasourcePackagesRequest = Shapes::StructureShape.new(name: 'UpdateDatasourcePackagesRequest')
81
108
  UpdateOrganizationConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateOrganizationConfigurationRequest')
82
109
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
110
+ VolumeUsageByDatasourcePackage = Shapes::MapShape.new(name: 'VolumeUsageByDatasourcePackage')
83
111
 
84
112
  AcceptInvitationRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
85
113
  AcceptInvitationRequest.struct_class = Types::AcceptInvitationRequest
@@ -88,6 +116,8 @@ module Aws::Detective
88
116
  Account.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, required: true, location_name: "EmailAddress"))
89
117
  Account.struct_class = Types::Account
90
118
 
119
+ AccountIdExtendedList.member = Shapes::ShapeRef.new(shape: AccountId)
120
+
91
121
  AccountIdList.member = Shapes::ShapeRef.new(shape: AccountId)
92
122
 
93
123
  AccountList.member = Shapes::ShapeRef.new(shape: Account)
@@ -99,6 +129,21 @@ module Aws::Detective
99
129
 
100
130
  AdministratorList.member = Shapes::ShapeRef.new(shape: Administrator)
101
131
 
132
+ BatchGetGraphMemberDatasourcesRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
133
+ BatchGetGraphMemberDatasourcesRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIdExtendedList, required: true, location_name: "AccountIds"))
134
+ BatchGetGraphMemberDatasourcesRequest.struct_class = Types::BatchGetGraphMemberDatasourcesRequest
135
+
136
+ BatchGetGraphMemberDatasourcesResponse.add_member(:member_datasources, Shapes::ShapeRef.new(shape: MembershipDatasourcesList, location_name: "MemberDatasources"))
137
+ BatchGetGraphMemberDatasourcesResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccountList, location_name: "UnprocessedAccounts"))
138
+ BatchGetGraphMemberDatasourcesResponse.struct_class = Types::BatchGetGraphMemberDatasourcesResponse
139
+
140
+ BatchGetMembershipDatasourcesRequest.add_member(:graph_arns, Shapes::ShapeRef.new(shape: GraphArnList, required: true, location_name: "GraphArns"))
141
+ BatchGetMembershipDatasourcesRequest.struct_class = Types::BatchGetMembershipDatasourcesRequest
142
+
143
+ BatchGetMembershipDatasourcesResponse.add_member(:membership_datasources, Shapes::ShapeRef.new(shape: MembershipDatasourcesList, location_name: "MembershipDatasources"))
144
+ BatchGetMembershipDatasourcesResponse.add_member(:unprocessed_graphs, Shapes::ShapeRef.new(shape: UnprocessedGraphList, location_name: "UnprocessedGraphs"))
145
+ BatchGetMembershipDatasourcesResponse.struct_class = Types::BatchGetMembershipDatasourcesResponse
146
+
102
147
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
103
148
  ConflictException.struct_class = Types::ConflictException
104
149
 
@@ -118,6 +163,25 @@ module Aws::Detective
118
163
  CreateMembersResponse.add_member(:unprocessed_accounts, Shapes::ShapeRef.new(shape: UnprocessedAccountList, location_name: "UnprocessedAccounts"))
119
164
  CreateMembersResponse.struct_class = Types::CreateMembersResponse
120
165
 
166
+ DatasourcePackageIngestDetail.add_member(:datasource_package_ingest_state, Shapes::ShapeRef.new(shape: DatasourcePackageIngestState, location_name: "DatasourcePackageIngestState"))
167
+ DatasourcePackageIngestDetail.add_member(:last_ingest_state_change, Shapes::ShapeRef.new(shape: LastIngestStateChangeDates, location_name: "LastIngestStateChange"))
168
+ DatasourcePackageIngestDetail.struct_class = Types::DatasourcePackageIngestDetail
169
+
170
+ DatasourcePackageIngestDetails.key = Shapes::ShapeRef.new(shape: DatasourcePackage)
171
+ DatasourcePackageIngestDetails.value = Shapes::ShapeRef.new(shape: DatasourcePackageIngestDetail)
172
+
173
+ DatasourcePackageIngestHistory.key = Shapes::ShapeRef.new(shape: DatasourcePackage)
174
+ DatasourcePackageIngestHistory.value = Shapes::ShapeRef.new(shape: LastIngestStateChangeDates)
175
+
176
+ DatasourcePackageIngestStates.key = Shapes::ShapeRef.new(shape: DatasourcePackage)
177
+ DatasourcePackageIngestStates.value = Shapes::ShapeRef.new(shape: DatasourcePackageIngestState)
178
+
179
+ DatasourcePackageList.member = Shapes::ShapeRef.new(shape: DatasourcePackage)
180
+
181
+ DatasourcePackageUsageInfo.add_member(:volume_usage_in_bytes, Shapes::ShapeRef.new(shape: ByteValue, location_name: "VolumeUsageInBytes"))
182
+ DatasourcePackageUsageInfo.add_member(:volume_usage_update_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "VolumeUsageUpdateTime"))
183
+ DatasourcePackageUsageInfo.struct_class = Types::DatasourcePackageUsageInfo
184
+
121
185
  DeleteGraphRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
122
186
  DeleteGraphRequest.struct_class = Types::DeleteGraphRequest
123
187
 
@@ -153,11 +217,25 @@ module Aws::Detective
153
217
  Graph.add_member(:created_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreatedTime"))
154
218
  Graph.struct_class = Types::Graph
155
219
 
220
+ GraphArnList.member = Shapes::ShapeRef.new(shape: GraphArn)
221
+
156
222
  GraphList.member = Shapes::ShapeRef.new(shape: Graph)
157
223
 
158
224
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
159
225
  InternalServerException.struct_class = Types::InternalServerException
160
226
 
227
+ LastIngestStateChangeDates.key = Shapes::ShapeRef.new(shape: DatasourcePackageIngestState)
228
+ LastIngestStateChangeDates.value = Shapes::ShapeRef.new(shape: TimestampForCollection)
229
+
230
+ ListDatasourcePackagesRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
231
+ ListDatasourcePackagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
232
+ ListDatasourcePackagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MemberResultsLimit, location_name: "MaxResults"))
233
+ ListDatasourcePackagesRequest.struct_class = Types::ListDatasourcePackagesRequest
234
+
235
+ ListDatasourcePackagesResponse.add_member(:datasource_packages, Shapes::ShapeRef.new(shape: DatasourcePackageIngestDetails, location_name: "DatasourcePackages"))
236
+ ListDatasourcePackagesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
237
+ ListDatasourcePackagesResponse.struct_class = Types::ListDatasourcePackagesResponse
238
+
161
239
  ListGraphsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
162
240
  ListGraphsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MemberResultsLimit, location_name: "MaxResults"))
163
241
  ListGraphsRequest.struct_class = Types::ListGraphsRequest
@@ -206,22 +284,34 @@ module Aws::Detective
206
284
  MemberDetail.add_member(:disabled_reason, Shapes::ShapeRef.new(shape: MemberDisabledReason, location_name: "DisabledReason"))
207
285
  MemberDetail.add_member(:invited_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "InvitedTime"))
208
286
  MemberDetail.add_member(:updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "UpdatedTime"))
209
- MemberDetail.add_member(:volume_usage_in_bytes, Shapes::ShapeRef.new(shape: ByteValue, location_name: "VolumeUsageInBytes"))
210
- MemberDetail.add_member(:volume_usage_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "VolumeUsageUpdatedTime"))
211
- MemberDetail.add_member(:percent_of_graph_utilization, Shapes::ShapeRef.new(shape: Percentage, deprecated: true, location_name: "PercentOfGraphUtilization", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageInBytes instead."}))
212
- MemberDetail.add_member(:percent_of_graph_utilization_updated_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "PercentOfGraphUtilizationUpdatedTime", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageUpdatedTime instead."}))
287
+ MemberDetail.add_member(:volume_usage_in_bytes, Shapes::ShapeRef.new(shape: ByteValue, deprecated: true, location_name: "VolumeUsageInBytes", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
288
+ MemberDetail.add_member(:volume_usage_updated_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "VolumeUsageUpdatedTime", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
289
+ MemberDetail.add_member(:percent_of_graph_utilization, Shapes::ShapeRef.new(shape: Percentage, deprecated: true, location_name: "PercentOfGraphUtilization", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
290
+ MemberDetail.add_member(:percent_of_graph_utilization_updated_time, Shapes::ShapeRef.new(shape: Timestamp, deprecated: true, location_name: "PercentOfGraphUtilizationUpdatedTime", metadata: {"deprecatedMessage"=>"This property is deprecated. Use VolumeUsageByDatasourcePackage instead."}))
213
291
  MemberDetail.add_member(:invitation_type, Shapes::ShapeRef.new(shape: InvitationType, location_name: "InvitationType"))
292
+ MemberDetail.add_member(:volume_usage_by_datasource_package, Shapes::ShapeRef.new(shape: VolumeUsageByDatasourcePackage, location_name: "VolumeUsageByDatasourcePackage"))
293
+ MemberDetail.add_member(:datasource_package_ingest_states, Shapes::ShapeRef.new(shape: DatasourcePackageIngestStates, location_name: "DatasourcePackageIngestStates"))
214
294
  MemberDetail.struct_class = Types::MemberDetail
215
295
 
216
296
  MemberDetailList.member = Shapes::ShapeRef.new(shape: MemberDetail)
217
297
 
298
+ MembershipDatasources.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
299
+ MembershipDatasources.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, location_name: "GraphArn"))
300
+ MembershipDatasources.add_member(:datasource_package_ingest_history, Shapes::ShapeRef.new(shape: DatasourcePackageIngestHistory, location_name: "DatasourcePackageIngestHistory"))
301
+ MembershipDatasources.struct_class = Types::MembershipDatasources
302
+
303
+ MembershipDatasourcesList.member = Shapes::ShapeRef.new(shape: MembershipDatasources)
304
+
218
305
  RejectInvitationRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
219
306
  RejectInvitationRequest.struct_class = Types::RejectInvitationRequest
220
307
 
308
+ ResourceList.member = Shapes::ShapeRef.new(shape: Resource)
309
+
221
310
  ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
222
311
  ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
223
312
 
224
313
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
314
+ ServiceQuotaExceededException.add_member(:resources, Shapes::ShapeRef.new(shape: ResourceList, location_name: "Resources"))
225
315
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
226
316
 
227
317
  StartMonitoringMemberRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
@@ -239,6 +329,9 @@ module Aws::Detective
239
329
 
240
330
  TagResourceResponse.struct_class = Types::TagResourceResponse
241
331
 
332
+ TimestampForCollection.add_member(:timestamp, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Timestamp"))
333
+ TimestampForCollection.struct_class = Types::TimestampForCollection
334
+
242
335
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
243
336
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
244
337
 
@@ -248,19 +341,34 @@ module Aws::Detective
248
341
 
249
342
  UnprocessedAccountList.member = Shapes::ShapeRef.new(shape: UnprocessedAccount)
250
343
 
344
+ UnprocessedGraph.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, location_name: "GraphArn"))
345
+ UnprocessedGraph.add_member(:reason, Shapes::ShapeRef.new(shape: UnprocessedReason, location_name: "Reason"))
346
+ UnprocessedGraph.struct_class = Types::UnprocessedGraph
347
+
348
+ UnprocessedGraphList.member = Shapes::ShapeRef.new(shape: UnprocessedGraph)
349
+
251
350
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location: "uri", location_name: "ResourceArn"))
252
351
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
253
352
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
254
353
 
255
354
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
256
355
 
356
+ UpdateDatasourcePackagesRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
357
+ UpdateDatasourcePackagesRequest.add_member(:datasource_packages, Shapes::ShapeRef.new(shape: DatasourcePackageList, required: true, location_name: "DatasourcePackages"))
358
+ UpdateDatasourcePackagesRequest.struct_class = Types::UpdateDatasourcePackagesRequest
359
+
257
360
  UpdateOrganizationConfigurationRequest.add_member(:graph_arn, Shapes::ShapeRef.new(shape: GraphArn, required: true, location_name: "GraphArn"))
258
361
  UpdateOrganizationConfigurationRequest.add_member(:auto_enable, Shapes::ShapeRef.new(shape: Boolean, location_name: "AutoEnable"))
259
362
  UpdateOrganizationConfigurationRequest.struct_class = Types::UpdateOrganizationConfigurationRequest
260
363
 
261
364
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
365
+ ValidationException.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorCode, location_name: "ErrorCode"))
366
+ ValidationException.add_member(:error_code_reason, Shapes::ShapeRef.new(shape: ErrorCodeReason, location_name: "ErrorCodeReason"))
262
367
  ValidationException.struct_class = Types::ValidationException
263
368
 
369
+ VolumeUsageByDatasourcePackage.key = Shapes::ShapeRef.new(shape: DatasourcePackage)
370
+ VolumeUsageByDatasourcePackage.value = Shapes::ShapeRef.new(shape: DatasourcePackageUsageInfo)
371
+
264
372
 
265
373
  # @api private
266
374
  API = Seahorse::Model::Api.new.tap do |api|
@@ -291,6 +399,28 @@ module Aws::Detective
291
399
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
292
400
  end)
293
401
 
402
+ api.add_operation(:batch_get_graph_member_datasources, Seahorse::Model::Operation.new.tap do |o|
403
+ o.name = "BatchGetGraphMemberDatasources"
404
+ o.http_method = "POST"
405
+ o.http_request_uri = "/graph/datasources/get"
406
+ o.input = Shapes::ShapeRef.new(shape: BatchGetGraphMemberDatasourcesRequest)
407
+ o.output = Shapes::ShapeRef.new(shape: BatchGetGraphMemberDatasourcesResponse)
408
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
409
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
410
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
411
+ end)
412
+
413
+ api.add_operation(:batch_get_membership_datasources, Seahorse::Model::Operation.new.tap do |o|
414
+ o.name = "BatchGetMembershipDatasources"
415
+ o.http_method = "POST"
416
+ o.http_request_uri = "/membership/datasources/get"
417
+ o.input = Shapes::ShapeRef.new(shape: BatchGetMembershipDatasourcesRequest)
418
+ o.output = Shapes::ShapeRef.new(shape: BatchGetMembershipDatasourcesResponse)
419
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
420
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
421
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
422
+ end)
423
+
294
424
  api.add_operation(:create_graph, Seahorse::Model::Operation.new.tap do |o|
295
425
  o.name = "CreateGraph"
296
426
  o.http_method = "POST"
@@ -393,6 +523,23 @@ module Aws::Detective
393
523
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
394
524
  end)
395
525
 
526
+ api.add_operation(:list_datasource_packages, Seahorse::Model::Operation.new.tap do |o|
527
+ o.name = "ListDatasourcePackages"
528
+ o.http_method = "POST"
529
+ o.http_request_uri = "/graph/datasources/list"
530
+ o.input = Shapes::ShapeRef.new(shape: ListDatasourcePackagesRequest)
531
+ o.output = Shapes::ShapeRef.new(shape: ListDatasourcePackagesResponse)
532
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
533
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
534
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
535
+ o[:pager] = Aws::Pager.new(
536
+ limit_key: "max_results",
537
+ tokens: {
538
+ "next_token" => "next_token"
539
+ }
540
+ )
541
+ end)
542
+
396
543
  api.add_operation(:list_graphs, Seahorse::Model::Operation.new.tap do |o|
397
544
  o.name = "ListGraphs"
398
545
  o.http_method = "POST"
@@ -517,6 +664,18 @@ module Aws::Detective
517
664
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
518
665
  end)
519
666
 
667
+ api.add_operation(:update_datasource_packages, Seahorse::Model::Operation.new.tap do |o|
668
+ o.name = "UpdateDatasourcePackages"
669
+ o.http_method = "POST"
670
+ o.http_request_uri = "/graph/datasources/update"
671
+ o.input = Shapes::ShapeRef.new(shape: UpdateDatasourcePackagesRequest)
672
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
673
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
674
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
675
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
676
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
677
+ end)
678
+
520
679
  api.add_operation(:update_organization_configuration, Seahorse::Model::Operation.new.tap do |o|
521
680
  o.name = "UpdateOrganizationConfiguration"
522
681
  o.http_method = "POST"
@@ -0,0 +1,66 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Detective
11
+ # Endpoint parameters used to influence endpoints per request.
12
+ #
13
+ # @!attribute region
14
+ # The AWS region used to dispatch the request.
15
+ #
16
+ # @return [String]
17
+ #
18
+ # @!attribute use_dual_stack
19
+ # When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
20
+ #
21
+ # @return [Boolean]
22
+ #
23
+ # @!attribute use_fips
24
+ # When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
25
+ #
26
+ # @return [Boolean]
27
+ #
28
+ # @!attribute endpoint
29
+ # Override the endpoint used to send this request
30
+ #
31
+ # @return [String]
32
+ #
33
+ EndpointParameters = Struct.new(
34
+ :region,
35
+ :use_dual_stack,
36
+ :use_fips,
37
+ :endpoint,
38
+ ) do
39
+ include Aws::Structure
40
+
41
+ # @api private
42
+ class << self
43
+ PARAM_MAP = {
44
+ 'Region' => :region,
45
+ 'UseDualStack' => :use_dual_stack,
46
+ 'UseFIPS' => :use_fips,
47
+ 'Endpoint' => :endpoint,
48
+ }.freeze
49
+ end
50
+
51
+ def initialize(options = {})
52
+ self[:region] = options[:region]
53
+ self[:use_dual_stack] = options[:use_dual_stack]
54
+ self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
+ if self[:use_dual_stack].nil?
56
+ raise ArgumentError, "Missing required EndpointParameter: :use_dual_stack"
57
+ end
58
+ self[:use_fips] = options[:use_fips]
59
+ self[:use_fips] = false if self[:use_fips].nil?
60
+ if self[:use_fips].nil?
61
+ raise ArgumentError, "Missing required EndpointParameter: :use_fips"
62
+ end
63
+ self[:endpoint] = options[:endpoint]
64
+ end
65
+ end
66
+ end
@@ -0,0 +1,112 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::Detective
11
+ class EndpointProvider
12
+ def initialize(rule_set = nil)
13
+ @@rule_set ||= begin
14
+ endpoint_rules = Aws::Json.load(Base64.decode64(RULES))
15
+ Aws::Endpoints::RuleSet.new(
16
+ version: endpoint_rules['version'],
17
+ service_id: endpoint_rules['serviceId'],
18
+ parameters: endpoint_rules['parameters'],
19
+ rules: endpoint_rules['rules']
20
+ )
21
+ end
22
+ @provider = Aws::Endpoints::RulesProvider.new(rule_set || @@rule_set)
23
+ end
24
+
25
+ def resolve_endpoint(parameters)
26
+ @provider.resolve_endpoint(parameters)
27
+ end
28
+
29
+ # @api private
30
+ RULES = <<-JSON
31
+ eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
+ bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
+ dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
+ cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
+ dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
+ ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
+ ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
+ ZW5kcG9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