aws-sdk-frauddetector 1.48.0 → 1.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/sig/client.rbs ADDED
@@ -0,0 +1,1199 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module FraudDetector
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?active_endpoint_cache: bool,
19
+ ?adaptive_retry_wait_to_fill: bool,
20
+ ?client_side_monitoring: bool,
21
+ ?client_side_monitoring_client_id: String,
22
+ ?client_side_monitoring_host: String,
23
+ ?client_side_monitoring_port: Integer,
24
+ ?client_side_monitoring_publisher: untyped,
25
+ ?convert_params: bool,
26
+ ?correct_clock_skew: bool,
27
+ ?defaults_mode: String,
28
+ ?disable_host_prefix_injection: bool,
29
+ ?disable_request_compression: bool,
30
+ ?endpoint: String,
31
+ ?endpoint_cache_max_entries: Integer,
32
+ ?endpoint_cache_max_threads: Integer,
33
+ ?endpoint_cache_poll_interval: Integer,
34
+ ?endpoint_discovery: bool,
35
+ ?ignore_configured_endpoint_urls: bool,
36
+ ?log_formatter: untyped,
37
+ ?log_level: Symbol,
38
+ ?logger: untyped,
39
+ ?max_attempts: Integer,
40
+ ?profile: String,
41
+ ?request_min_compression_size_bytes: Integer,
42
+ ?retry_backoff: Proc,
43
+ ?retry_base_delay: Float,
44
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
45
+ ?retry_limit: Integer,
46
+ ?retry_max_delay: Integer,
47
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
48
+ ?sdk_ua_app_id: String,
49
+ ?secret_access_key: String,
50
+ ?session_token: String,
51
+ ?simple_json: bool,
52
+ ?stub_responses: untyped,
53
+ ?token_provider: untyped,
54
+ ?use_dualstack_endpoint: bool,
55
+ ?use_fips_endpoint: bool,
56
+ ?validate_params: bool,
57
+ ?endpoint_provider: untyped,
58
+ ?http_proxy: String,
59
+ ?http_open_timeout: (Float | Integer),
60
+ ?http_read_timeout: (Float | Integer),
61
+ ?http_idle_timeout: (Float | Integer),
62
+ ?http_continue_timeout: (Float | Integer),
63
+ ?ssl_timeout: (Float | Integer | nil),
64
+ ?http_wire_trace: bool,
65
+ ?ssl_verify_peer: bool,
66
+ ?ssl_ca_bundle: String,
67
+ ?ssl_ca_directory: String,
68
+ ?ssl_ca_store: String,
69
+ ?on_chunk_received: Proc,
70
+ ?on_chunk_sent: Proc,
71
+ ?raise_response_errors: bool
72
+ ) -> instance
73
+ | (?Hash[Symbol, untyped]) -> instance
74
+
75
+
76
+ interface _BatchCreateVariableResponseSuccess
77
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchCreateVariableResult]
78
+ def errors: () -> ::Array[Types::BatchCreateVariableError]
79
+ end
80
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#batch_create_variable-instance_method
81
+ def batch_create_variable: (
82
+ variable_entries: Array[
83
+ {
84
+ name: ::String?,
85
+ data_type: ::String?,
86
+ data_source: ::String?,
87
+ default_value: ::String?,
88
+ description: ::String?,
89
+ variable_type: ::String?
90
+ },
91
+ ],
92
+ ?tags: Array[
93
+ {
94
+ key: ::String,
95
+ value: ::String
96
+ },
97
+ ]
98
+ ) -> _BatchCreateVariableResponseSuccess
99
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCreateVariableResponseSuccess
100
+
101
+ interface _BatchGetVariableResponseSuccess
102
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetVariableResult]
103
+ def variables: () -> ::Array[Types::Variable]
104
+ def errors: () -> ::Array[Types::BatchGetVariableError]
105
+ end
106
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#batch_get_variable-instance_method
107
+ def batch_get_variable: (
108
+ names: Array[::String]
109
+ ) -> _BatchGetVariableResponseSuccess
110
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetVariableResponseSuccess
111
+
112
+ interface _CancelBatchImportJobResponseSuccess
113
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelBatchImportJobResult]
114
+ end
115
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#cancel_batch_import_job-instance_method
116
+ def cancel_batch_import_job: (
117
+ job_id: ::String
118
+ ) -> _CancelBatchImportJobResponseSuccess
119
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelBatchImportJobResponseSuccess
120
+
121
+ interface _CancelBatchPredictionJobResponseSuccess
122
+ include ::Seahorse::Client::_ResponseSuccess[Types::CancelBatchPredictionJobResult]
123
+ end
124
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#cancel_batch_prediction_job-instance_method
125
+ def cancel_batch_prediction_job: (
126
+ job_id: ::String
127
+ ) -> _CancelBatchPredictionJobResponseSuccess
128
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CancelBatchPredictionJobResponseSuccess
129
+
130
+ interface _CreateBatchImportJobResponseSuccess
131
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateBatchImportJobResult]
132
+ end
133
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#create_batch_import_job-instance_method
134
+ def create_batch_import_job: (
135
+ job_id: ::String,
136
+ input_path: ::String,
137
+ output_path: ::String,
138
+ event_type_name: ::String,
139
+ iam_role_arn: ::String,
140
+ ?tags: Array[
141
+ {
142
+ key: ::String,
143
+ value: ::String
144
+ },
145
+ ]
146
+ ) -> _CreateBatchImportJobResponseSuccess
147
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBatchImportJobResponseSuccess
148
+
149
+ interface _CreateBatchPredictionJobResponseSuccess
150
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateBatchPredictionJobResult]
151
+ end
152
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#create_batch_prediction_job-instance_method
153
+ def create_batch_prediction_job: (
154
+ job_id: ::String,
155
+ input_path: ::String,
156
+ output_path: ::String,
157
+ event_type_name: ::String,
158
+ detector_name: ::String,
159
+ ?detector_version: ::String,
160
+ iam_role_arn: ::String,
161
+ ?tags: Array[
162
+ {
163
+ key: ::String,
164
+ value: ::String
165
+ },
166
+ ]
167
+ ) -> _CreateBatchPredictionJobResponseSuccess
168
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateBatchPredictionJobResponseSuccess
169
+
170
+ interface _CreateDetectorVersionResponseSuccess
171
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateDetectorVersionResult]
172
+ def detector_id: () -> ::String
173
+ def detector_version_id: () -> ::String
174
+ def status: () -> ("DRAFT" | "ACTIVE" | "INACTIVE")
175
+ end
176
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#create_detector_version-instance_method
177
+ def create_detector_version: (
178
+ detector_id: ::String,
179
+ ?description: ::String,
180
+ ?external_model_endpoints: Array[::String],
181
+ rules: Array[
182
+ {
183
+ detector_id: ::String,
184
+ rule_id: ::String,
185
+ rule_version: ::String
186
+ },
187
+ ],
188
+ ?model_versions: Array[
189
+ {
190
+ model_id: ::String,
191
+ model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"),
192
+ model_version_number: ::String,
193
+ arn: ::String?
194
+ },
195
+ ],
196
+ ?rule_execution_mode: ("ALL_MATCHED" | "FIRST_MATCHED"),
197
+ ?tags: Array[
198
+ {
199
+ key: ::String,
200
+ value: ::String
201
+ },
202
+ ]
203
+ ) -> _CreateDetectorVersionResponseSuccess
204
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateDetectorVersionResponseSuccess
205
+
206
+ interface _CreateListResponseSuccess
207
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateListResult]
208
+ end
209
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#create_list-instance_method
210
+ def create_list: (
211
+ name: ::String,
212
+ ?elements: Array[::String],
213
+ ?variable_type: ::String,
214
+ ?description: ::String,
215
+ ?tags: Array[
216
+ {
217
+ key: ::String,
218
+ value: ::String
219
+ },
220
+ ]
221
+ ) -> _CreateListResponseSuccess
222
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateListResponseSuccess
223
+
224
+ interface _CreateModelResponseSuccess
225
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelResult]
226
+ end
227
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#create_model-instance_method
228
+ def create_model: (
229
+ model_id: ::String,
230
+ model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"),
231
+ ?description: ::String,
232
+ event_type_name: ::String,
233
+ ?tags: Array[
234
+ {
235
+ key: ::String,
236
+ value: ::String
237
+ },
238
+ ]
239
+ ) -> _CreateModelResponseSuccess
240
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelResponseSuccess
241
+
242
+ interface _CreateModelVersionResponseSuccess
243
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateModelVersionResult]
244
+ def model_id: () -> ::String
245
+ def model_type: () -> ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
246
+ def model_version_number: () -> ::String
247
+ def status: () -> ::String
248
+ end
249
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#create_model_version-instance_method
250
+ def create_model_version: (
251
+ model_id: ::String,
252
+ model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"),
253
+ training_data_source: ("EXTERNAL_EVENTS" | "INGESTED_EVENTS"),
254
+ training_data_schema: {
255
+ model_variables: Array[::String],
256
+ label_schema: {
257
+ label_mapper: Hash[::String, Array[::String]]?,
258
+ unlabeled_events_treatment: ("IGNORE" | "FRAUD" | "LEGIT" | "AUTO")?
259
+ }?
260
+ },
261
+ ?external_events_detail: {
262
+ data_location: ::String,
263
+ data_access_role_arn: ::String
264
+ },
265
+ ?ingested_events_detail: {
266
+ ingested_events_time_window: {
267
+ start_time: ::String,
268
+ end_time: ::String
269
+ }
270
+ },
271
+ ?tags: Array[
272
+ {
273
+ key: ::String,
274
+ value: ::String
275
+ },
276
+ ]
277
+ ) -> _CreateModelVersionResponseSuccess
278
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateModelVersionResponseSuccess
279
+
280
+ interface _CreateRuleResponseSuccess
281
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateRuleResult]
282
+ def rule: () -> Types::Rule
283
+ end
284
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#create_rule-instance_method
285
+ def create_rule: (
286
+ rule_id: ::String,
287
+ detector_id: ::String,
288
+ ?description: ::String,
289
+ expression: ::String,
290
+ language: ("DETECTORPL"),
291
+ outcomes: Array[::String],
292
+ ?tags: Array[
293
+ {
294
+ key: ::String,
295
+ value: ::String
296
+ },
297
+ ]
298
+ ) -> _CreateRuleResponseSuccess
299
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRuleResponseSuccess
300
+
301
+ interface _CreateVariableResponseSuccess
302
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateVariableResult]
303
+ end
304
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#create_variable-instance_method
305
+ def create_variable: (
306
+ name: ::String,
307
+ data_type: ("STRING" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATETIME"),
308
+ data_source: ("EVENT" | "MODEL_SCORE" | "EXTERNAL_MODEL_SCORE"),
309
+ default_value: ::String,
310
+ ?description: ::String,
311
+ ?variable_type: ::String,
312
+ ?tags: Array[
313
+ {
314
+ key: ::String,
315
+ value: ::String
316
+ },
317
+ ]
318
+ ) -> _CreateVariableResponseSuccess
319
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateVariableResponseSuccess
320
+
321
+ interface _DeleteBatchImportJobResponseSuccess
322
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBatchImportJobResult]
323
+ end
324
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_batch_import_job-instance_method
325
+ def delete_batch_import_job: (
326
+ job_id: ::String
327
+ ) -> _DeleteBatchImportJobResponseSuccess
328
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBatchImportJobResponseSuccess
329
+
330
+ interface _DeleteBatchPredictionJobResponseSuccess
331
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteBatchPredictionJobResult]
332
+ end
333
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_batch_prediction_job-instance_method
334
+ def delete_batch_prediction_job: (
335
+ job_id: ::String
336
+ ) -> _DeleteBatchPredictionJobResponseSuccess
337
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteBatchPredictionJobResponseSuccess
338
+
339
+ interface _DeleteDetectorResponseSuccess
340
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDetectorResult]
341
+ end
342
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_detector-instance_method
343
+ def delete_detector: (
344
+ detector_id: ::String
345
+ ) -> _DeleteDetectorResponseSuccess
346
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDetectorResponseSuccess
347
+
348
+ interface _DeleteDetectorVersionResponseSuccess
349
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteDetectorVersionResult]
350
+ end
351
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_detector_version-instance_method
352
+ def delete_detector_version: (
353
+ detector_id: ::String,
354
+ detector_version_id: ::String
355
+ ) -> _DeleteDetectorVersionResponseSuccess
356
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteDetectorVersionResponseSuccess
357
+
358
+ interface _DeleteEntityTypeResponseSuccess
359
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEntityTypeResult]
360
+ end
361
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_entity_type-instance_method
362
+ def delete_entity_type: (
363
+ name: ::String
364
+ ) -> _DeleteEntityTypeResponseSuccess
365
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEntityTypeResponseSuccess
366
+
367
+ interface _DeleteEventResponseSuccess
368
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEventResult]
369
+ end
370
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_event-instance_method
371
+ def delete_event: (
372
+ event_id: ::String,
373
+ event_type_name: ::String,
374
+ ?delete_audit_history: bool
375
+ ) -> _DeleteEventResponseSuccess
376
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEventResponseSuccess
377
+
378
+ interface _DeleteEventTypeResponseSuccess
379
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEventTypeResult]
380
+ end
381
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_event_type-instance_method
382
+ def delete_event_type: (
383
+ name: ::String
384
+ ) -> _DeleteEventTypeResponseSuccess
385
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEventTypeResponseSuccess
386
+
387
+ interface _DeleteEventsByEventTypeResponseSuccess
388
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteEventsByEventTypeResult]
389
+ def event_type_name: () -> ::String
390
+ def events_deletion_status: () -> ::String
391
+ end
392
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_events_by_event_type-instance_method
393
+ def delete_events_by_event_type: (
394
+ event_type_name: ::String
395
+ ) -> _DeleteEventsByEventTypeResponseSuccess
396
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteEventsByEventTypeResponseSuccess
397
+
398
+ interface _DeleteExternalModelResponseSuccess
399
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteExternalModelResult]
400
+ end
401
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_external_model-instance_method
402
+ def delete_external_model: (
403
+ model_endpoint: ::String
404
+ ) -> _DeleteExternalModelResponseSuccess
405
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteExternalModelResponseSuccess
406
+
407
+ interface _DeleteLabelResponseSuccess
408
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteLabelResult]
409
+ end
410
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_label-instance_method
411
+ def delete_label: (
412
+ name: ::String
413
+ ) -> _DeleteLabelResponseSuccess
414
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteLabelResponseSuccess
415
+
416
+ interface _DeleteListResponseSuccess
417
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteListResult]
418
+ end
419
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_list-instance_method
420
+ def delete_list: (
421
+ name: ::String
422
+ ) -> _DeleteListResponseSuccess
423
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteListResponseSuccess
424
+
425
+ interface _DeleteModelResponseSuccess
426
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteModelResult]
427
+ end
428
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_model-instance_method
429
+ def delete_model: (
430
+ model_id: ::String,
431
+ model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
432
+ ) -> _DeleteModelResponseSuccess
433
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteModelResponseSuccess
434
+
435
+ interface _DeleteModelVersionResponseSuccess
436
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteModelVersionResult]
437
+ end
438
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_model_version-instance_method
439
+ def delete_model_version: (
440
+ model_id: ::String,
441
+ model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"),
442
+ model_version_number: ::String
443
+ ) -> _DeleteModelVersionResponseSuccess
444
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteModelVersionResponseSuccess
445
+
446
+ interface _DeleteOutcomeResponseSuccess
447
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteOutcomeResult]
448
+ end
449
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_outcome-instance_method
450
+ def delete_outcome: (
451
+ name: ::String
452
+ ) -> _DeleteOutcomeResponseSuccess
453
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteOutcomeResponseSuccess
454
+
455
+ interface _DeleteRuleResponseSuccess
456
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteRuleResult]
457
+ end
458
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_rule-instance_method
459
+ def delete_rule: (
460
+ rule: {
461
+ detector_id: ::String,
462
+ rule_id: ::String,
463
+ rule_version: ::String
464
+ }
465
+ ) -> _DeleteRuleResponseSuccess
466
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRuleResponseSuccess
467
+
468
+ interface _DeleteVariableResponseSuccess
469
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteVariableResult]
470
+ end
471
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#delete_variable-instance_method
472
+ def delete_variable: (
473
+ name: ::String
474
+ ) -> _DeleteVariableResponseSuccess
475
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteVariableResponseSuccess
476
+
477
+ interface _DescribeDetectorResponseSuccess
478
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDetectorResult]
479
+ def detector_id: () -> ::String
480
+ def detector_version_summaries: () -> ::Array[Types::DetectorVersionSummary]
481
+ def next_token: () -> ::String
482
+ def arn: () -> ::String
483
+ end
484
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#describe_detector-instance_method
485
+ def describe_detector: (
486
+ detector_id: ::String,
487
+ ?next_token: ::String,
488
+ ?max_results: ::Integer
489
+ ) -> _DescribeDetectorResponseSuccess
490
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDetectorResponseSuccess
491
+
492
+ interface _DescribeModelVersionsResponseSuccess
493
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeModelVersionsResult]
494
+ def model_version_details: () -> ::Array[Types::ModelVersionDetail]
495
+ def next_token: () -> ::String
496
+ end
497
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#describe_model_versions-instance_method
498
+ def describe_model_versions: (
499
+ ?model_id: ::String,
500
+ ?model_version_number: ::String,
501
+ ?model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"),
502
+ ?next_token: ::String,
503
+ ?max_results: ::Integer
504
+ ) -> _DescribeModelVersionsResponseSuccess
505
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeModelVersionsResponseSuccess
506
+
507
+ interface _GetBatchImportJobsResponseSuccess
508
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBatchImportJobsResult]
509
+ def batch_imports: () -> ::Array[Types::BatchImport]
510
+ def next_token: () -> ::String
511
+ end
512
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_batch_import_jobs-instance_method
513
+ def get_batch_import_jobs: (
514
+ ?job_id: ::String,
515
+ ?max_results: ::Integer,
516
+ ?next_token: ::String
517
+ ) -> _GetBatchImportJobsResponseSuccess
518
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBatchImportJobsResponseSuccess
519
+
520
+ interface _GetBatchPredictionJobsResponseSuccess
521
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetBatchPredictionJobsResult]
522
+ def batch_predictions: () -> ::Array[Types::BatchPrediction]
523
+ def next_token: () -> ::String
524
+ end
525
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_batch_prediction_jobs-instance_method
526
+ def get_batch_prediction_jobs: (
527
+ ?job_id: ::String,
528
+ ?max_results: ::Integer,
529
+ ?next_token: ::String
530
+ ) -> _GetBatchPredictionJobsResponseSuccess
531
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetBatchPredictionJobsResponseSuccess
532
+
533
+ interface _GetDeleteEventsByEventTypeStatusResponseSuccess
534
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDeleteEventsByEventTypeStatusResult]
535
+ def event_type_name: () -> ::String
536
+ def events_deletion_status: () -> ("IN_PROGRESS_INITIALIZING" | "IN_PROGRESS" | "CANCEL_IN_PROGRESS" | "CANCELED" | "COMPLETE" | "FAILED")
537
+ end
538
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_delete_events_by_event_type_status-instance_method
539
+ def get_delete_events_by_event_type_status: (
540
+ event_type_name: ::String
541
+ ) -> _GetDeleteEventsByEventTypeStatusResponseSuccess
542
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDeleteEventsByEventTypeStatusResponseSuccess
543
+
544
+ interface _GetDetectorVersionResponseSuccess
545
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDetectorVersionResult]
546
+ def detector_id: () -> ::String
547
+ def detector_version_id: () -> ::String
548
+ def description: () -> ::String
549
+ def external_model_endpoints: () -> ::Array[::String]
550
+ def model_versions: () -> ::Array[Types::ModelVersion]
551
+ def rules: () -> ::Array[Types::Rule]
552
+ def status: () -> ("DRAFT" | "ACTIVE" | "INACTIVE")
553
+ def last_updated_time: () -> ::String
554
+ def created_time: () -> ::String
555
+ def rule_execution_mode: () -> ("ALL_MATCHED" | "FIRST_MATCHED")
556
+ def arn: () -> ::String
557
+ end
558
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_detector_version-instance_method
559
+ def get_detector_version: (
560
+ detector_id: ::String,
561
+ detector_version_id: ::String
562
+ ) -> _GetDetectorVersionResponseSuccess
563
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDetectorVersionResponseSuccess
564
+
565
+ interface _GetDetectorsResponseSuccess
566
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetDetectorsResult]
567
+ def detectors: () -> ::Array[Types::Detector]
568
+ def next_token: () -> ::String
569
+ end
570
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_detectors-instance_method
571
+ def get_detectors: (
572
+ ?detector_id: ::String,
573
+ ?next_token: ::String,
574
+ ?max_results: ::Integer
575
+ ) -> _GetDetectorsResponseSuccess
576
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetDetectorsResponseSuccess
577
+
578
+ interface _GetEntityTypesResponseSuccess
579
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEntityTypesResult]
580
+ def entity_types: () -> ::Array[Types::EntityType]
581
+ def next_token: () -> ::String
582
+ end
583
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_entity_types-instance_method
584
+ def get_entity_types: (
585
+ ?name: ::String,
586
+ ?next_token: ::String,
587
+ ?max_results: ::Integer
588
+ ) -> _GetEntityTypesResponseSuccess
589
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEntityTypesResponseSuccess
590
+
591
+ interface _GetEventResponseSuccess
592
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEventResult]
593
+ def event: () -> Types::Event
594
+ end
595
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_event-instance_method
596
+ def get_event: (
597
+ event_id: ::String,
598
+ event_type_name: ::String
599
+ ) -> _GetEventResponseSuccess
600
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEventResponseSuccess
601
+
602
+ interface _GetEventPredictionResponseSuccess
603
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEventPredictionResult]
604
+ def model_scores: () -> ::Array[Types::ModelScores]
605
+ def rule_results: () -> ::Array[Types::RuleResult]
606
+ def external_model_outputs: () -> ::Array[Types::ExternalModelOutputs]
607
+ end
608
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_event_prediction-instance_method
609
+ def get_event_prediction: (
610
+ detector_id: ::String,
611
+ ?detector_version_id: ::String,
612
+ event_id: ::String,
613
+ event_type_name: ::String,
614
+ entities: Array[
615
+ {
616
+ entity_type: ::String,
617
+ entity_id: ::String
618
+ },
619
+ ],
620
+ event_timestamp: ::String,
621
+ event_variables: Hash[::String, ::String],
622
+ ?external_model_endpoint_data_blobs: Hash[::String, {
623
+ byte_buffer: ::String?,
624
+ content_type: ::String?
625
+ }]
626
+ ) -> _GetEventPredictionResponseSuccess
627
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEventPredictionResponseSuccess
628
+
629
+ interface _GetEventPredictionMetadataResponseSuccess
630
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEventPredictionMetadataResult]
631
+ def event_id: () -> ::String
632
+ def event_type_name: () -> ::String
633
+ def entity_id: () -> ::String
634
+ def entity_type: () -> ::String
635
+ def event_timestamp: () -> ::String
636
+ def detector_id: () -> ::String
637
+ def detector_version_id: () -> ::String
638
+ def detector_version_status: () -> ::String
639
+ def event_variables: () -> ::Array[Types::EventVariableSummary]
640
+ def rules: () -> ::Array[Types::EvaluatedRule]
641
+ def rule_execution_mode: () -> ("ALL_MATCHED" | "FIRST_MATCHED")
642
+ def outcomes: () -> ::Array[::String]
643
+ def evaluated_model_versions: () -> ::Array[Types::EvaluatedModelVersion]
644
+ def evaluated_external_models: () -> ::Array[Types::EvaluatedExternalModel]
645
+ def prediction_timestamp: () -> ::String
646
+ end
647
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_event_prediction_metadata-instance_method
648
+ def get_event_prediction_metadata: (
649
+ event_id: ::String,
650
+ event_type_name: ::String,
651
+ detector_id: ::String,
652
+ detector_version_id: ::String,
653
+ prediction_timestamp: ::String
654
+ ) -> _GetEventPredictionMetadataResponseSuccess
655
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEventPredictionMetadataResponseSuccess
656
+
657
+ interface _GetEventTypesResponseSuccess
658
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetEventTypesResult]
659
+ def event_types: () -> ::Array[Types::EventType]
660
+ def next_token: () -> ::String
661
+ end
662
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_event_types-instance_method
663
+ def get_event_types: (
664
+ ?name: ::String,
665
+ ?next_token: ::String,
666
+ ?max_results: ::Integer
667
+ ) -> _GetEventTypesResponseSuccess
668
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetEventTypesResponseSuccess
669
+
670
+ interface _GetExternalModelsResponseSuccess
671
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetExternalModelsResult]
672
+ def external_models: () -> ::Array[Types::ExternalModel]
673
+ def next_token: () -> ::String
674
+ end
675
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_external_models-instance_method
676
+ def get_external_models: (
677
+ ?model_endpoint: ::String,
678
+ ?next_token: ::String,
679
+ ?max_results: ::Integer
680
+ ) -> _GetExternalModelsResponseSuccess
681
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetExternalModelsResponseSuccess
682
+
683
+ interface _GetKMSEncryptionKeyResponseSuccess
684
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetKMSEncryptionKeyResult]
685
+ def kms_key: () -> Types::KMSKey
686
+ end
687
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_kms_encryption_key-instance_method
688
+ def get_kms_encryption_key: () -> _GetKMSEncryptionKeyResponseSuccess
689
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetKMSEncryptionKeyResponseSuccess
690
+
691
+ interface _GetLabelsResponseSuccess
692
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetLabelsResult]
693
+ def labels: () -> ::Array[Types::Label]
694
+ def next_token: () -> ::String
695
+ end
696
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_labels-instance_method
697
+ def get_labels: (
698
+ ?name: ::String,
699
+ ?next_token: ::String,
700
+ ?max_results: ::Integer
701
+ ) -> _GetLabelsResponseSuccess
702
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetLabelsResponseSuccess
703
+
704
+ interface _GetListElementsResponseSuccess
705
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetListElementsResult]
706
+ def elements: () -> ::Array[::String]
707
+ def next_token: () -> ::String
708
+ end
709
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_list_elements-instance_method
710
+ def get_list_elements: (
711
+ name: ::String,
712
+ ?next_token: ::String,
713
+ ?max_results: ::Integer
714
+ ) -> _GetListElementsResponseSuccess
715
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetListElementsResponseSuccess
716
+
717
+ interface _GetListsMetadataResponseSuccess
718
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetListsMetadataResult]
719
+ def lists: () -> ::Array[Types::AllowDenyList]
720
+ def next_token: () -> ::String
721
+ end
722
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_lists_metadata-instance_method
723
+ def get_lists_metadata: (
724
+ ?name: ::String,
725
+ ?next_token: ::String,
726
+ ?max_results: ::Integer
727
+ ) -> _GetListsMetadataResponseSuccess
728
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetListsMetadataResponseSuccess
729
+
730
+ interface _GetModelVersionResponseSuccess
731
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetModelVersionResult]
732
+ def model_id: () -> ::String
733
+ def model_type: () -> ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
734
+ def model_version_number: () -> ::String
735
+ def training_data_source: () -> ("EXTERNAL_EVENTS" | "INGESTED_EVENTS")
736
+ def training_data_schema: () -> Types::TrainingDataSchema
737
+ def external_events_detail: () -> Types::ExternalEventsDetail
738
+ def ingested_events_detail: () -> Types::IngestedEventsDetail
739
+ def status: () -> ::String
740
+ def arn: () -> ::String
741
+ end
742
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_model_version-instance_method
743
+ def get_model_version: (
744
+ model_id: ::String,
745
+ model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"),
746
+ model_version_number: ::String
747
+ ) -> _GetModelVersionResponseSuccess
748
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelVersionResponseSuccess
749
+
750
+ interface _GetModelsResponseSuccess
751
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetModelsResult]
752
+ def next_token: () -> ::String
753
+ def models: () -> ::Array[Types::Model]
754
+ end
755
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_models-instance_method
756
+ def get_models: (
757
+ ?model_id: ::String,
758
+ ?model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"),
759
+ ?next_token: ::String,
760
+ ?max_results: ::Integer
761
+ ) -> _GetModelsResponseSuccess
762
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetModelsResponseSuccess
763
+
764
+ interface _GetOutcomesResponseSuccess
765
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetOutcomesResult]
766
+ def outcomes: () -> ::Array[Types::Outcome]
767
+ def next_token: () -> ::String
768
+ end
769
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_outcomes-instance_method
770
+ def get_outcomes: (
771
+ ?name: ::String,
772
+ ?next_token: ::String,
773
+ ?max_results: ::Integer
774
+ ) -> _GetOutcomesResponseSuccess
775
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetOutcomesResponseSuccess
776
+
777
+ interface _GetRulesResponseSuccess
778
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetRulesResult]
779
+ def rule_details: () -> ::Array[Types::RuleDetail]
780
+ def next_token: () -> ::String
781
+ end
782
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_rules-instance_method
783
+ def get_rules: (
784
+ ?rule_id: ::String,
785
+ detector_id: ::String,
786
+ ?rule_version: ::String,
787
+ ?next_token: ::String,
788
+ ?max_results: ::Integer
789
+ ) -> _GetRulesResponseSuccess
790
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRulesResponseSuccess
791
+
792
+ interface _GetVariablesResponseSuccess
793
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetVariablesResult]
794
+ def variables: () -> ::Array[Types::Variable]
795
+ def next_token: () -> ::String
796
+ end
797
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#get_variables-instance_method
798
+ def get_variables: (
799
+ ?name: ::String,
800
+ ?next_token: ::String,
801
+ ?max_results: ::Integer
802
+ ) -> _GetVariablesResponseSuccess
803
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetVariablesResponseSuccess
804
+
805
+ interface _ListEventPredictionsResponseSuccess
806
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListEventPredictionsResult]
807
+ def event_prediction_summaries: () -> ::Array[Types::EventPredictionSummary]
808
+ def next_token: () -> ::String
809
+ end
810
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#list_event_predictions-instance_method
811
+ def list_event_predictions: (
812
+ ?event_id: {
813
+ value: ::String?
814
+ },
815
+ ?event_type: {
816
+ value: ::String?
817
+ },
818
+ ?detector_id: {
819
+ value: ::String?
820
+ },
821
+ ?detector_version_id: {
822
+ value: ::String?
823
+ },
824
+ ?prediction_time_range: {
825
+ start_time: ::String,
826
+ end_time: ::String
827
+ },
828
+ ?next_token: ::String,
829
+ ?max_results: ::Integer
830
+ ) -> _ListEventPredictionsResponseSuccess
831
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListEventPredictionsResponseSuccess
832
+
833
+ interface _ListTagsForResourceResponseSuccess
834
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResult]
835
+ def tags: () -> ::Array[Types::Tag]
836
+ def next_token: () -> ::String
837
+ end
838
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#list_tags_for_resource-instance_method
839
+ def list_tags_for_resource: (
840
+ resource_arn: ::String,
841
+ ?next_token: ::String,
842
+ ?max_results: ::Integer
843
+ ) -> _ListTagsForResourceResponseSuccess
844
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
845
+
846
+ interface _PutDetectorResponseSuccess
847
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutDetectorResult]
848
+ end
849
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#put_detector-instance_method
850
+ def put_detector: (
851
+ detector_id: ::String,
852
+ ?description: ::String,
853
+ event_type_name: ::String,
854
+ ?tags: Array[
855
+ {
856
+ key: ::String,
857
+ value: ::String
858
+ },
859
+ ]
860
+ ) -> _PutDetectorResponseSuccess
861
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutDetectorResponseSuccess
862
+
863
+ interface _PutEntityTypeResponseSuccess
864
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutEntityTypeResult]
865
+ end
866
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#put_entity_type-instance_method
867
+ def put_entity_type: (
868
+ name: ::String,
869
+ ?description: ::String,
870
+ ?tags: Array[
871
+ {
872
+ key: ::String,
873
+ value: ::String
874
+ },
875
+ ]
876
+ ) -> _PutEntityTypeResponseSuccess
877
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEntityTypeResponseSuccess
878
+
879
+ interface _PutEventTypeResponseSuccess
880
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutEventTypeResult]
881
+ end
882
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#put_event_type-instance_method
883
+ def put_event_type: (
884
+ name: ::String,
885
+ ?description: ::String,
886
+ event_variables: Array[::String],
887
+ ?labels: Array[::String],
888
+ entity_types: Array[::String],
889
+ ?event_ingestion: ("ENABLED" | "DISABLED"),
890
+ ?tags: Array[
891
+ {
892
+ key: ::String,
893
+ value: ::String
894
+ },
895
+ ],
896
+ ?event_orchestration: {
897
+ event_bridge_enabled: bool
898
+ }
899
+ ) -> _PutEventTypeResponseSuccess
900
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutEventTypeResponseSuccess
901
+
902
+ interface _PutExternalModelResponseSuccess
903
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutExternalModelResult]
904
+ end
905
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#put_external_model-instance_method
906
+ def put_external_model: (
907
+ model_endpoint: ::String,
908
+ model_source: ("SAGEMAKER"),
909
+ invoke_model_endpoint_role_arn: ::String,
910
+ input_configuration: {
911
+ event_type_name: ::String?,
912
+ format: ("TEXT_CSV" | "APPLICATION_JSON")?,
913
+ use_event_variables: bool,
914
+ json_input_template: ::String?,
915
+ csv_input_template: ::String?
916
+ },
917
+ output_configuration: {
918
+ format: ("TEXT_CSV" | "APPLICATION_JSONLINES"),
919
+ json_key_to_variable_map: Hash[::String, ::String]?,
920
+ csv_index_to_variable_map: Hash[::String, ::String]?
921
+ },
922
+ model_endpoint_status: ("ASSOCIATED" | "DISSOCIATED"),
923
+ ?tags: Array[
924
+ {
925
+ key: ::String,
926
+ value: ::String
927
+ },
928
+ ]
929
+ ) -> _PutExternalModelResponseSuccess
930
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutExternalModelResponseSuccess
931
+
932
+ interface _PutKMSEncryptionKeyResponseSuccess
933
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutKMSEncryptionKeyResult]
934
+ end
935
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#put_kms_encryption_key-instance_method
936
+ def put_kms_encryption_key: (
937
+ kms_encryption_key_arn: ::String
938
+ ) -> _PutKMSEncryptionKeyResponseSuccess
939
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutKMSEncryptionKeyResponseSuccess
940
+
941
+ interface _PutLabelResponseSuccess
942
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutLabelResult]
943
+ end
944
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#put_label-instance_method
945
+ def put_label: (
946
+ name: ::String,
947
+ ?description: ::String,
948
+ ?tags: Array[
949
+ {
950
+ key: ::String,
951
+ value: ::String
952
+ },
953
+ ]
954
+ ) -> _PutLabelResponseSuccess
955
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutLabelResponseSuccess
956
+
957
+ interface _PutOutcomeResponseSuccess
958
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutOutcomeResult]
959
+ end
960
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#put_outcome-instance_method
961
+ def put_outcome: (
962
+ name: ::String,
963
+ ?description: ::String,
964
+ ?tags: Array[
965
+ {
966
+ key: ::String,
967
+ value: ::String
968
+ },
969
+ ]
970
+ ) -> _PutOutcomeResponseSuccess
971
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutOutcomeResponseSuccess
972
+
973
+ interface _SendEventResponseSuccess
974
+ include ::Seahorse::Client::_ResponseSuccess[Types::SendEventResult]
975
+ end
976
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#send_event-instance_method
977
+ def send_event: (
978
+ event_id: ::String,
979
+ event_type_name: ::String,
980
+ event_timestamp: ::String,
981
+ event_variables: Hash[::String, ::String],
982
+ ?assigned_label: ::String,
983
+ ?label_timestamp: ::String,
984
+ entities: Array[
985
+ {
986
+ entity_type: ::String,
987
+ entity_id: ::String
988
+ },
989
+ ]
990
+ ) -> _SendEventResponseSuccess
991
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SendEventResponseSuccess
992
+
993
+ interface _TagResourceResponseSuccess
994
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResult]
995
+ end
996
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#tag_resource-instance_method
997
+ def tag_resource: (
998
+ resource_arn: ::String,
999
+ tags: Array[
1000
+ {
1001
+ key: ::String,
1002
+ value: ::String
1003
+ },
1004
+ ]
1005
+ ) -> _TagResourceResponseSuccess
1006
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
1007
+
1008
+ interface _UntagResourceResponseSuccess
1009
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResult]
1010
+ end
1011
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#untag_resource-instance_method
1012
+ def untag_resource: (
1013
+ resource_arn: ::String,
1014
+ tag_keys: Array[::String]
1015
+ ) -> _UntagResourceResponseSuccess
1016
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
1017
+
1018
+ interface _UpdateDetectorVersionResponseSuccess
1019
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDetectorVersionResult]
1020
+ end
1021
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#update_detector_version-instance_method
1022
+ def update_detector_version: (
1023
+ detector_id: ::String,
1024
+ detector_version_id: ::String,
1025
+ external_model_endpoints: Array[::String],
1026
+ rules: Array[
1027
+ {
1028
+ detector_id: ::String,
1029
+ rule_id: ::String,
1030
+ rule_version: ::String
1031
+ },
1032
+ ],
1033
+ ?description: ::String,
1034
+ ?model_versions: Array[
1035
+ {
1036
+ model_id: ::String,
1037
+ model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"),
1038
+ model_version_number: ::String,
1039
+ arn: ::String?
1040
+ },
1041
+ ],
1042
+ ?rule_execution_mode: ("ALL_MATCHED" | "FIRST_MATCHED")
1043
+ ) -> _UpdateDetectorVersionResponseSuccess
1044
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDetectorVersionResponseSuccess
1045
+
1046
+ interface _UpdateDetectorVersionMetadataResponseSuccess
1047
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDetectorVersionMetadataResult]
1048
+ end
1049
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#update_detector_version_metadata-instance_method
1050
+ def update_detector_version_metadata: (
1051
+ detector_id: ::String,
1052
+ detector_version_id: ::String,
1053
+ description: ::String
1054
+ ) -> _UpdateDetectorVersionMetadataResponseSuccess
1055
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDetectorVersionMetadataResponseSuccess
1056
+
1057
+ interface _UpdateDetectorVersionStatusResponseSuccess
1058
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDetectorVersionStatusResult]
1059
+ end
1060
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#update_detector_version_status-instance_method
1061
+ def update_detector_version_status: (
1062
+ detector_id: ::String,
1063
+ detector_version_id: ::String,
1064
+ status: ("DRAFT" | "ACTIVE" | "INACTIVE")
1065
+ ) -> _UpdateDetectorVersionStatusResponseSuccess
1066
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDetectorVersionStatusResponseSuccess
1067
+
1068
+ interface _UpdateEventLabelResponseSuccess
1069
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateEventLabelResult]
1070
+ end
1071
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#update_event_label-instance_method
1072
+ def update_event_label: (
1073
+ event_id: ::String,
1074
+ event_type_name: ::String,
1075
+ assigned_label: ::String,
1076
+ label_timestamp: ::String
1077
+ ) -> _UpdateEventLabelResponseSuccess
1078
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventLabelResponseSuccess
1079
+
1080
+ interface _UpdateListResponseSuccess
1081
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateListResult]
1082
+ end
1083
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#update_list-instance_method
1084
+ def update_list: (
1085
+ name: ::String,
1086
+ ?elements: Array[::String],
1087
+ ?description: ::String,
1088
+ ?update_mode: ("REPLACE" | "APPEND" | "REMOVE"),
1089
+ ?variable_type: ::String
1090
+ ) -> _UpdateListResponseSuccess
1091
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateListResponseSuccess
1092
+
1093
+ interface _UpdateModelResponseSuccess
1094
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateModelResult]
1095
+ end
1096
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#update_model-instance_method
1097
+ def update_model: (
1098
+ model_id: ::String,
1099
+ model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"),
1100
+ ?description: ::String
1101
+ ) -> _UpdateModelResponseSuccess
1102
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateModelResponseSuccess
1103
+
1104
+ interface _UpdateModelVersionResponseSuccess
1105
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateModelVersionResult]
1106
+ def model_id: () -> ::String
1107
+ def model_type: () -> ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
1108
+ def model_version_number: () -> ::String
1109
+ def status: () -> ::String
1110
+ end
1111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#update_model_version-instance_method
1112
+ def update_model_version: (
1113
+ model_id: ::String,
1114
+ model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"),
1115
+ major_version_number: ::String,
1116
+ ?external_events_detail: {
1117
+ data_location: ::String,
1118
+ data_access_role_arn: ::String
1119
+ },
1120
+ ?ingested_events_detail: {
1121
+ ingested_events_time_window: {
1122
+ start_time: ::String,
1123
+ end_time: ::String
1124
+ }
1125
+ },
1126
+ ?tags: Array[
1127
+ {
1128
+ key: ::String,
1129
+ value: ::String
1130
+ },
1131
+ ]
1132
+ ) -> _UpdateModelVersionResponseSuccess
1133
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateModelVersionResponseSuccess
1134
+
1135
+ interface _UpdateModelVersionStatusResponseSuccess
1136
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateModelVersionStatusResult]
1137
+ end
1138
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#update_model_version_status-instance_method
1139
+ def update_model_version_status: (
1140
+ model_id: ::String,
1141
+ model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS"),
1142
+ model_version_number: ::String,
1143
+ status: ("ACTIVE" | "INACTIVE" | "TRAINING_CANCELLED")
1144
+ ) -> _UpdateModelVersionStatusResponseSuccess
1145
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateModelVersionStatusResponseSuccess
1146
+
1147
+ interface _UpdateRuleMetadataResponseSuccess
1148
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRuleMetadataResult]
1149
+ end
1150
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#update_rule_metadata-instance_method
1151
+ def update_rule_metadata: (
1152
+ rule: {
1153
+ detector_id: ::String,
1154
+ rule_id: ::String,
1155
+ rule_version: ::String
1156
+ },
1157
+ description: ::String
1158
+ ) -> _UpdateRuleMetadataResponseSuccess
1159
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRuleMetadataResponseSuccess
1160
+
1161
+ interface _UpdateRuleVersionResponseSuccess
1162
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateRuleVersionResult]
1163
+ def rule: () -> Types::Rule
1164
+ end
1165
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#update_rule_version-instance_method
1166
+ def update_rule_version: (
1167
+ rule: {
1168
+ detector_id: ::String,
1169
+ rule_id: ::String,
1170
+ rule_version: ::String
1171
+ },
1172
+ ?description: ::String,
1173
+ expression: ::String,
1174
+ language: ("DETECTORPL"),
1175
+ outcomes: Array[::String],
1176
+ ?tags: Array[
1177
+ {
1178
+ key: ::String,
1179
+ value: ::String
1180
+ },
1181
+ ]
1182
+ ) -> _UpdateRuleVersionResponseSuccess
1183
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateRuleVersionResponseSuccess
1184
+
1185
+ interface _UpdateVariableResponseSuccess
1186
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateVariableResult]
1187
+ end
1188
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/FraudDetector/Client.html#update_variable-instance_method
1189
+ def update_variable: (
1190
+ name: ::String,
1191
+ ?default_value: ::String,
1192
+ ?description: ::String,
1193
+ ?variable_type: ::String
1194
+ ) -> _UpdateVariableResponseSuccess
1195
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateVariableResponseSuccess
1196
+ end
1197
+ end
1198
+ end
1199
+