aws-sdk-frauddetector 1.48.0 → 1.49.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/types.rbs ADDED
@@ -0,0 +1,1486 @@
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::FraudDetector
9
+ module Types
10
+
11
+ class ATIMetricDataPoint
12
+ attr_accessor cr: ::Float
13
+ attr_accessor adr: ::Float
14
+ attr_accessor threshold: ::Float
15
+ attr_accessor atodr: ::Float
16
+ SENSITIVE: []
17
+ end
18
+
19
+ class ATIModelPerformance
20
+ attr_accessor asi: ::Float
21
+ SENSITIVE: []
22
+ end
23
+
24
+ class ATITrainingMetricsValue
25
+ attr_accessor metric_data_points: ::Array[Types::ATIMetricDataPoint]
26
+ attr_accessor model_performance: Types::ATIModelPerformance
27
+ SENSITIVE: []
28
+ end
29
+
30
+ class AccessDeniedException
31
+ attr_accessor message: ::String
32
+ SENSITIVE: []
33
+ end
34
+
35
+ class AggregatedLogOddsMetric
36
+ attr_accessor variable_names: ::Array[::String]
37
+ attr_accessor aggregated_variables_importance: ::Float
38
+ SENSITIVE: []
39
+ end
40
+
41
+ class AggregatedVariablesImpactExplanation
42
+ attr_accessor event_variable_names: ::Array[::String]
43
+ attr_accessor relative_impact: ::String
44
+ attr_accessor log_odds_impact: ::Float
45
+ SENSITIVE: []
46
+ end
47
+
48
+ class AggregatedVariablesImportanceMetrics
49
+ attr_accessor log_odds_metrics: ::Array[Types::AggregatedLogOddsMetric]
50
+ SENSITIVE: []
51
+ end
52
+
53
+ class AllowDenyList
54
+ attr_accessor name: ::String
55
+ attr_accessor description: ::String
56
+ attr_accessor variable_type: ::String
57
+ attr_accessor created_time: ::String
58
+ attr_accessor updated_time: ::String
59
+ attr_accessor arn: ::String
60
+ SENSITIVE: []
61
+ end
62
+
63
+ class BatchCreateVariableError
64
+ attr_accessor name: ::String
65
+ attr_accessor code: ::Integer
66
+ attr_accessor message: ::String
67
+ SENSITIVE: []
68
+ end
69
+
70
+ class BatchCreateVariableRequest
71
+ attr_accessor variable_entries: ::Array[Types::VariableEntry]
72
+ attr_accessor tags: ::Array[Types::Tag]
73
+ SENSITIVE: []
74
+ end
75
+
76
+ class BatchCreateVariableResult
77
+ attr_accessor errors: ::Array[Types::BatchCreateVariableError]
78
+ SENSITIVE: []
79
+ end
80
+
81
+ class BatchGetVariableError
82
+ attr_accessor name: ::String
83
+ attr_accessor code: ::Integer
84
+ attr_accessor message: ::String
85
+ SENSITIVE: []
86
+ end
87
+
88
+ class BatchGetVariableRequest
89
+ attr_accessor names: ::Array[::String]
90
+ SENSITIVE: []
91
+ end
92
+
93
+ class BatchGetVariableResult
94
+ attr_accessor variables: ::Array[Types::Variable]
95
+ attr_accessor errors: ::Array[Types::BatchGetVariableError]
96
+ SENSITIVE: []
97
+ end
98
+
99
+ class BatchImport
100
+ attr_accessor job_id: ::String
101
+ attr_accessor status: ("IN_PROGRESS_INITIALIZING" | "IN_PROGRESS" | "CANCEL_IN_PROGRESS" | "CANCELED" | "COMPLETE" | "FAILED")
102
+ attr_accessor failure_reason: ::String
103
+ attr_accessor start_time: ::String
104
+ attr_accessor completion_time: ::String
105
+ attr_accessor input_path: ::String
106
+ attr_accessor output_path: ::String
107
+ attr_accessor event_type_name: ::String
108
+ attr_accessor iam_role_arn: ::String
109
+ attr_accessor arn: ::String
110
+ attr_accessor processed_records_count: ::Integer
111
+ attr_accessor failed_records_count: ::Integer
112
+ attr_accessor total_records_count: ::Integer
113
+ SENSITIVE: []
114
+ end
115
+
116
+ class BatchPrediction
117
+ attr_accessor job_id: ::String
118
+ attr_accessor status: ("IN_PROGRESS_INITIALIZING" | "IN_PROGRESS" | "CANCEL_IN_PROGRESS" | "CANCELED" | "COMPLETE" | "FAILED")
119
+ attr_accessor failure_reason: ::String
120
+ attr_accessor start_time: ::String
121
+ attr_accessor completion_time: ::String
122
+ attr_accessor last_heartbeat_time: ::String
123
+ attr_accessor input_path: ::String
124
+ attr_accessor output_path: ::String
125
+ attr_accessor event_type_name: ::String
126
+ attr_accessor detector_name: ::String
127
+ attr_accessor detector_version: ::String
128
+ attr_accessor iam_role_arn: ::String
129
+ attr_accessor arn: ::String
130
+ attr_accessor processed_records_count: ::Integer
131
+ attr_accessor total_records_count: ::Integer
132
+ SENSITIVE: []
133
+ end
134
+
135
+ class CancelBatchImportJobRequest
136
+ attr_accessor job_id: ::String
137
+ SENSITIVE: []
138
+ end
139
+
140
+ class CancelBatchImportJobResult < Aws::EmptyStructure
141
+ end
142
+
143
+ class CancelBatchPredictionJobRequest
144
+ attr_accessor job_id: ::String
145
+ SENSITIVE: []
146
+ end
147
+
148
+ class CancelBatchPredictionJobResult < Aws::EmptyStructure
149
+ end
150
+
151
+ class ConflictException
152
+ attr_accessor message: ::String
153
+ SENSITIVE: []
154
+ end
155
+
156
+ class CreateBatchImportJobRequest
157
+ attr_accessor job_id: ::String
158
+ attr_accessor input_path: ::String
159
+ attr_accessor output_path: ::String
160
+ attr_accessor event_type_name: ::String
161
+ attr_accessor iam_role_arn: ::String
162
+ attr_accessor tags: ::Array[Types::Tag]
163
+ SENSITIVE: []
164
+ end
165
+
166
+ class CreateBatchImportJobResult < Aws::EmptyStructure
167
+ end
168
+
169
+ class CreateBatchPredictionJobRequest
170
+ attr_accessor job_id: ::String
171
+ attr_accessor input_path: ::String
172
+ attr_accessor output_path: ::String
173
+ attr_accessor event_type_name: ::String
174
+ attr_accessor detector_name: ::String
175
+ attr_accessor detector_version: ::String
176
+ attr_accessor iam_role_arn: ::String
177
+ attr_accessor tags: ::Array[Types::Tag]
178
+ SENSITIVE: []
179
+ end
180
+
181
+ class CreateBatchPredictionJobResult < Aws::EmptyStructure
182
+ end
183
+
184
+ class CreateDetectorVersionRequest
185
+ attr_accessor detector_id: ::String
186
+ attr_accessor description: ::String
187
+ attr_accessor external_model_endpoints: ::Array[::String]
188
+ attr_accessor rules: ::Array[Types::Rule]
189
+ attr_accessor model_versions: ::Array[Types::ModelVersion]
190
+ attr_accessor rule_execution_mode: ("ALL_MATCHED" | "FIRST_MATCHED")
191
+ attr_accessor tags: ::Array[Types::Tag]
192
+ SENSITIVE: []
193
+ end
194
+
195
+ class CreateDetectorVersionResult
196
+ attr_accessor detector_id: ::String
197
+ attr_accessor detector_version_id: ::String
198
+ attr_accessor status: ("DRAFT" | "ACTIVE" | "INACTIVE")
199
+ SENSITIVE: []
200
+ end
201
+
202
+ class CreateListRequest
203
+ attr_accessor name: ::String
204
+ attr_accessor elements: ::Array[::String]
205
+ attr_accessor variable_type: ::String
206
+ attr_accessor description: ::String
207
+ attr_accessor tags: ::Array[Types::Tag]
208
+ SENSITIVE: []
209
+ end
210
+
211
+ class CreateListResult < Aws::EmptyStructure
212
+ end
213
+
214
+ class CreateModelRequest
215
+ attr_accessor model_id: ::String
216
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
217
+ attr_accessor description: ::String
218
+ attr_accessor event_type_name: ::String
219
+ attr_accessor tags: ::Array[Types::Tag]
220
+ SENSITIVE: []
221
+ end
222
+
223
+ class CreateModelResult < Aws::EmptyStructure
224
+ end
225
+
226
+ class CreateModelVersionRequest
227
+ attr_accessor model_id: ::String
228
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
229
+ attr_accessor training_data_source: ("EXTERNAL_EVENTS" | "INGESTED_EVENTS")
230
+ attr_accessor training_data_schema: Types::TrainingDataSchema
231
+ attr_accessor external_events_detail: Types::ExternalEventsDetail
232
+ attr_accessor ingested_events_detail: Types::IngestedEventsDetail
233
+ attr_accessor tags: ::Array[Types::Tag]
234
+ SENSITIVE: []
235
+ end
236
+
237
+ class CreateModelVersionResult
238
+ attr_accessor model_id: ::String
239
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
240
+ attr_accessor model_version_number: ::String
241
+ attr_accessor status: ::String
242
+ SENSITIVE: []
243
+ end
244
+
245
+ class CreateRuleRequest
246
+ attr_accessor rule_id: ::String
247
+ attr_accessor detector_id: ::String
248
+ attr_accessor description: ::String
249
+ attr_accessor expression: ::String
250
+ attr_accessor language: ("DETECTORPL")
251
+ attr_accessor outcomes: ::Array[::String]
252
+ attr_accessor tags: ::Array[Types::Tag]
253
+ SENSITIVE: [:expression]
254
+ end
255
+
256
+ class CreateRuleResult
257
+ attr_accessor rule: Types::Rule
258
+ SENSITIVE: []
259
+ end
260
+
261
+ class CreateVariableRequest
262
+ attr_accessor name: ::String
263
+ attr_accessor data_type: ("STRING" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATETIME")
264
+ attr_accessor data_source: ("EVENT" | "MODEL_SCORE" | "EXTERNAL_MODEL_SCORE")
265
+ attr_accessor default_value: ::String
266
+ attr_accessor description: ::String
267
+ attr_accessor variable_type: ::String
268
+ attr_accessor tags: ::Array[Types::Tag]
269
+ SENSITIVE: []
270
+ end
271
+
272
+ class CreateVariableResult < Aws::EmptyStructure
273
+ end
274
+
275
+ class DataValidationMetrics
276
+ attr_accessor file_level_messages: ::Array[Types::FileValidationMessage]
277
+ attr_accessor field_level_messages: ::Array[Types::FieldValidationMessage]
278
+ SENSITIVE: []
279
+ end
280
+
281
+ class DeleteBatchImportJobRequest
282
+ attr_accessor job_id: ::String
283
+ SENSITIVE: []
284
+ end
285
+
286
+ class DeleteBatchImportJobResult < Aws::EmptyStructure
287
+ end
288
+
289
+ class DeleteBatchPredictionJobRequest
290
+ attr_accessor job_id: ::String
291
+ SENSITIVE: []
292
+ end
293
+
294
+ class DeleteBatchPredictionJobResult < Aws::EmptyStructure
295
+ end
296
+
297
+ class DeleteDetectorRequest
298
+ attr_accessor detector_id: ::String
299
+ SENSITIVE: []
300
+ end
301
+
302
+ class DeleteDetectorResult < Aws::EmptyStructure
303
+ end
304
+
305
+ class DeleteDetectorVersionRequest
306
+ attr_accessor detector_id: ::String
307
+ attr_accessor detector_version_id: ::String
308
+ SENSITIVE: []
309
+ end
310
+
311
+ class DeleteDetectorVersionResult < Aws::EmptyStructure
312
+ end
313
+
314
+ class DeleteEntityTypeRequest
315
+ attr_accessor name: ::String
316
+ SENSITIVE: []
317
+ end
318
+
319
+ class DeleteEntityTypeResult < Aws::EmptyStructure
320
+ end
321
+
322
+ class DeleteEventRequest
323
+ attr_accessor event_id: ::String
324
+ attr_accessor event_type_name: ::String
325
+ attr_accessor delete_audit_history: bool
326
+ SENSITIVE: []
327
+ end
328
+
329
+ class DeleteEventResult < Aws::EmptyStructure
330
+ end
331
+
332
+ class DeleteEventTypeRequest
333
+ attr_accessor name: ::String
334
+ SENSITIVE: []
335
+ end
336
+
337
+ class DeleteEventTypeResult < Aws::EmptyStructure
338
+ end
339
+
340
+ class DeleteEventsByEventTypeRequest
341
+ attr_accessor event_type_name: ::String
342
+ SENSITIVE: []
343
+ end
344
+
345
+ class DeleteEventsByEventTypeResult
346
+ attr_accessor event_type_name: ::String
347
+ attr_accessor events_deletion_status: ::String
348
+ SENSITIVE: []
349
+ end
350
+
351
+ class DeleteExternalModelRequest
352
+ attr_accessor model_endpoint: ::String
353
+ SENSITIVE: []
354
+ end
355
+
356
+ class DeleteExternalModelResult < Aws::EmptyStructure
357
+ end
358
+
359
+ class DeleteLabelRequest
360
+ attr_accessor name: ::String
361
+ SENSITIVE: []
362
+ end
363
+
364
+ class DeleteLabelResult < Aws::EmptyStructure
365
+ end
366
+
367
+ class DeleteListRequest
368
+ attr_accessor name: ::String
369
+ SENSITIVE: []
370
+ end
371
+
372
+ class DeleteListResult < Aws::EmptyStructure
373
+ end
374
+
375
+ class DeleteModelRequest
376
+ attr_accessor model_id: ::String
377
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
378
+ SENSITIVE: []
379
+ end
380
+
381
+ class DeleteModelResult < Aws::EmptyStructure
382
+ end
383
+
384
+ class DeleteModelVersionRequest
385
+ attr_accessor model_id: ::String
386
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
387
+ attr_accessor model_version_number: ::String
388
+ SENSITIVE: []
389
+ end
390
+
391
+ class DeleteModelVersionResult < Aws::EmptyStructure
392
+ end
393
+
394
+ class DeleteOutcomeRequest
395
+ attr_accessor name: ::String
396
+ SENSITIVE: []
397
+ end
398
+
399
+ class DeleteOutcomeResult < Aws::EmptyStructure
400
+ end
401
+
402
+ class DeleteRuleRequest
403
+ attr_accessor rule: Types::Rule
404
+ SENSITIVE: []
405
+ end
406
+
407
+ class DeleteRuleResult < Aws::EmptyStructure
408
+ end
409
+
410
+ class DeleteVariableRequest
411
+ attr_accessor name: ::String
412
+ SENSITIVE: []
413
+ end
414
+
415
+ class DeleteVariableResult < Aws::EmptyStructure
416
+ end
417
+
418
+ class DescribeDetectorRequest
419
+ attr_accessor detector_id: ::String
420
+ attr_accessor next_token: ::String
421
+ attr_accessor max_results: ::Integer
422
+ SENSITIVE: []
423
+ end
424
+
425
+ class DescribeDetectorResult
426
+ attr_accessor detector_id: ::String
427
+ attr_accessor detector_version_summaries: ::Array[Types::DetectorVersionSummary]
428
+ attr_accessor next_token: ::String
429
+ attr_accessor arn: ::String
430
+ SENSITIVE: []
431
+ end
432
+
433
+ class DescribeModelVersionsRequest
434
+ attr_accessor model_id: ::String
435
+ attr_accessor model_version_number: ::String
436
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
437
+ attr_accessor next_token: ::String
438
+ attr_accessor max_results: ::Integer
439
+ SENSITIVE: []
440
+ end
441
+
442
+ class DescribeModelVersionsResult
443
+ attr_accessor model_version_details: ::Array[Types::ModelVersionDetail]
444
+ attr_accessor next_token: ::String
445
+ SENSITIVE: []
446
+ end
447
+
448
+ class Detector
449
+ attr_accessor detector_id: ::String
450
+ attr_accessor description: ::String
451
+ attr_accessor event_type_name: ::String
452
+ attr_accessor last_updated_time: ::String
453
+ attr_accessor created_time: ::String
454
+ attr_accessor arn: ::String
455
+ SENSITIVE: []
456
+ end
457
+
458
+ class DetectorVersionSummary
459
+ attr_accessor detector_version_id: ::String
460
+ attr_accessor status: ("DRAFT" | "ACTIVE" | "INACTIVE")
461
+ attr_accessor description: ::String
462
+ attr_accessor last_updated_time: ::String
463
+ SENSITIVE: []
464
+ end
465
+
466
+ class Entity
467
+ attr_accessor entity_type: ::String
468
+ attr_accessor entity_id: ::String
469
+ SENSITIVE: []
470
+ end
471
+
472
+ class EntityType
473
+ attr_accessor name: ::String
474
+ attr_accessor description: ::String
475
+ attr_accessor last_updated_time: ::String
476
+ attr_accessor created_time: ::String
477
+ attr_accessor arn: ::String
478
+ SENSITIVE: []
479
+ end
480
+
481
+ class EvaluatedExternalModel
482
+ attr_accessor model_endpoint: ::String
483
+ attr_accessor use_event_variables: bool
484
+ attr_accessor input_variables: ::Hash[::String, ::String]
485
+ attr_accessor output_variables: ::Hash[::String, ::String]
486
+ SENSITIVE: [:input_variables, :output_variables]
487
+ end
488
+
489
+ class EvaluatedModelVersion
490
+ attr_accessor model_id: ::String
491
+ attr_accessor model_version: ::String
492
+ attr_accessor model_type: ::String
493
+ attr_accessor evaluations: ::Array[Types::ModelVersionEvaluation]
494
+ SENSITIVE: []
495
+ end
496
+
497
+ class EvaluatedRule
498
+ attr_accessor rule_id: ::String
499
+ attr_accessor rule_version: ::String
500
+ attr_accessor expression: ::String
501
+ attr_accessor expression_with_values: ::String
502
+ attr_accessor outcomes: ::Array[::String]
503
+ attr_accessor evaluated: bool
504
+ attr_accessor matched: bool
505
+ SENSITIVE: [:expression, :expression_with_values]
506
+ end
507
+
508
+ class Event
509
+ attr_accessor event_id: ::String
510
+ attr_accessor event_type_name: ::String
511
+ attr_accessor event_timestamp: ::String
512
+ attr_accessor event_variables: ::Hash[::String, ::String]
513
+ attr_accessor current_label: ::String
514
+ attr_accessor label_timestamp: ::String
515
+ attr_accessor entities: ::Array[Types::Entity]
516
+ SENSITIVE: []
517
+ end
518
+
519
+ class EventOrchestration
520
+ attr_accessor event_bridge_enabled: bool
521
+ SENSITIVE: []
522
+ end
523
+
524
+ class EventPredictionSummary
525
+ attr_accessor event_id: ::String
526
+ attr_accessor event_type_name: ::String
527
+ attr_accessor event_timestamp: ::String
528
+ attr_accessor prediction_timestamp: ::String
529
+ attr_accessor detector_id: ::String
530
+ attr_accessor detector_version_id: ::String
531
+ SENSITIVE: []
532
+ end
533
+
534
+ class EventType
535
+ attr_accessor name: ::String
536
+ attr_accessor description: ::String
537
+ attr_accessor event_variables: ::Array[::String]
538
+ attr_accessor labels: ::Array[::String]
539
+ attr_accessor entity_types: ::Array[::String]
540
+ attr_accessor event_ingestion: ("ENABLED" | "DISABLED")
541
+ attr_accessor ingested_event_statistics: Types::IngestedEventStatistics
542
+ attr_accessor last_updated_time: ::String
543
+ attr_accessor created_time: ::String
544
+ attr_accessor arn: ::String
545
+ attr_accessor event_orchestration: Types::EventOrchestration
546
+ SENSITIVE: []
547
+ end
548
+
549
+ class EventVariableSummary
550
+ attr_accessor name: ::String
551
+ attr_accessor value: ::String
552
+ attr_accessor source: ::String
553
+ SENSITIVE: [:name, :value, :source]
554
+ end
555
+
556
+ class ExternalEventsDetail
557
+ attr_accessor data_location: ::String
558
+ attr_accessor data_access_role_arn: ::String
559
+ SENSITIVE: []
560
+ end
561
+
562
+ class ExternalModel
563
+ attr_accessor model_endpoint: ::String
564
+ attr_accessor model_source: ("SAGEMAKER")
565
+ attr_accessor invoke_model_endpoint_role_arn: ::String
566
+ attr_accessor input_configuration: Types::ModelInputConfiguration
567
+ attr_accessor output_configuration: Types::ModelOutputConfiguration
568
+ attr_accessor model_endpoint_status: ("ASSOCIATED" | "DISSOCIATED")
569
+ attr_accessor last_updated_time: ::String
570
+ attr_accessor created_time: ::String
571
+ attr_accessor arn: ::String
572
+ SENSITIVE: []
573
+ end
574
+
575
+ class ExternalModelOutputs
576
+ attr_accessor external_model: Types::ExternalModelSummary
577
+ attr_accessor outputs: ::Hash[::String, ::String]
578
+ SENSITIVE: []
579
+ end
580
+
581
+ class ExternalModelSummary
582
+ attr_accessor model_endpoint: ::String
583
+ attr_accessor model_source: ("SAGEMAKER")
584
+ SENSITIVE: []
585
+ end
586
+
587
+ class FieldValidationMessage
588
+ attr_accessor field_name: ::String
589
+ attr_accessor identifier: ::String
590
+ attr_accessor title: ::String
591
+ attr_accessor content: ::String
592
+ attr_accessor type: ::String
593
+ SENSITIVE: []
594
+ end
595
+
596
+ class FileValidationMessage
597
+ attr_accessor title: ::String
598
+ attr_accessor content: ::String
599
+ attr_accessor type: ::String
600
+ SENSITIVE: []
601
+ end
602
+
603
+ class FilterCondition
604
+ attr_accessor value: ::String
605
+ SENSITIVE: []
606
+ end
607
+
608
+ class GetBatchImportJobsRequest
609
+ attr_accessor job_id: ::String
610
+ attr_accessor max_results: ::Integer
611
+ attr_accessor next_token: ::String
612
+ SENSITIVE: []
613
+ end
614
+
615
+ class GetBatchImportJobsResult
616
+ attr_accessor batch_imports: ::Array[Types::BatchImport]
617
+ attr_accessor next_token: ::String
618
+ SENSITIVE: []
619
+ end
620
+
621
+ class GetBatchPredictionJobsRequest
622
+ attr_accessor job_id: ::String
623
+ attr_accessor max_results: ::Integer
624
+ attr_accessor next_token: ::String
625
+ SENSITIVE: []
626
+ end
627
+
628
+ class GetBatchPredictionJobsResult
629
+ attr_accessor batch_predictions: ::Array[Types::BatchPrediction]
630
+ attr_accessor next_token: ::String
631
+ SENSITIVE: []
632
+ end
633
+
634
+ class GetDeleteEventsByEventTypeStatusRequest
635
+ attr_accessor event_type_name: ::String
636
+ SENSITIVE: []
637
+ end
638
+
639
+ class GetDeleteEventsByEventTypeStatusResult
640
+ attr_accessor event_type_name: ::String
641
+ attr_accessor events_deletion_status: ("IN_PROGRESS_INITIALIZING" | "IN_PROGRESS" | "CANCEL_IN_PROGRESS" | "CANCELED" | "COMPLETE" | "FAILED")
642
+ SENSITIVE: []
643
+ end
644
+
645
+ class GetDetectorVersionRequest
646
+ attr_accessor detector_id: ::String
647
+ attr_accessor detector_version_id: ::String
648
+ SENSITIVE: []
649
+ end
650
+
651
+ class GetDetectorVersionResult
652
+ attr_accessor detector_id: ::String
653
+ attr_accessor detector_version_id: ::String
654
+ attr_accessor description: ::String
655
+ attr_accessor external_model_endpoints: ::Array[::String]
656
+ attr_accessor model_versions: ::Array[Types::ModelVersion]
657
+ attr_accessor rules: ::Array[Types::Rule]
658
+ attr_accessor status: ("DRAFT" | "ACTIVE" | "INACTIVE")
659
+ attr_accessor last_updated_time: ::String
660
+ attr_accessor created_time: ::String
661
+ attr_accessor rule_execution_mode: ("ALL_MATCHED" | "FIRST_MATCHED")
662
+ attr_accessor arn: ::String
663
+ SENSITIVE: []
664
+ end
665
+
666
+ class GetDetectorsRequest
667
+ attr_accessor detector_id: ::String
668
+ attr_accessor next_token: ::String
669
+ attr_accessor max_results: ::Integer
670
+ SENSITIVE: []
671
+ end
672
+
673
+ class GetDetectorsResult
674
+ attr_accessor detectors: ::Array[Types::Detector]
675
+ attr_accessor next_token: ::String
676
+ SENSITIVE: []
677
+ end
678
+
679
+ class GetEntityTypesRequest
680
+ attr_accessor name: ::String
681
+ attr_accessor next_token: ::String
682
+ attr_accessor max_results: ::Integer
683
+ SENSITIVE: []
684
+ end
685
+
686
+ class GetEntityTypesResult
687
+ attr_accessor entity_types: ::Array[Types::EntityType]
688
+ attr_accessor next_token: ::String
689
+ SENSITIVE: []
690
+ end
691
+
692
+ class GetEventPredictionMetadataRequest
693
+ attr_accessor event_id: ::String
694
+ attr_accessor event_type_name: ::String
695
+ attr_accessor detector_id: ::String
696
+ attr_accessor detector_version_id: ::String
697
+ attr_accessor prediction_timestamp: ::String
698
+ SENSITIVE: []
699
+ end
700
+
701
+ class GetEventPredictionMetadataResult
702
+ attr_accessor event_id: ::String
703
+ attr_accessor event_type_name: ::String
704
+ attr_accessor entity_id: ::String
705
+ attr_accessor entity_type: ::String
706
+ attr_accessor event_timestamp: ::String
707
+ attr_accessor detector_id: ::String
708
+ attr_accessor detector_version_id: ::String
709
+ attr_accessor detector_version_status: ::String
710
+ attr_accessor event_variables: ::Array[Types::EventVariableSummary]
711
+ attr_accessor rules: ::Array[Types::EvaluatedRule]
712
+ attr_accessor rule_execution_mode: ("ALL_MATCHED" | "FIRST_MATCHED")
713
+ attr_accessor outcomes: ::Array[::String]
714
+ attr_accessor evaluated_model_versions: ::Array[Types::EvaluatedModelVersion]
715
+ attr_accessor evaluated_external_models: ::Array[Types::EvaluatedExternalModel]
716
+ attr_accessor prediction_timestamp: ::String
717
+ SENSITIVE: []
718
+ end
719
+
720
+ class GetEventPredictionRequest
721
+ attr_accessor detector_id: ::String
722
+ attr_accessor detector_version_id: ::String
723
+ attr_accessor event_id: ::String
724
+ attr_accessor event_type_name: ::String
725
+ attr_accessor entities: ::Array[Types::Entity]
726
+ attr_accessor event_timestamp: ::String
727
+ attr_accessor event_variables: ::Hash[::String, ::String]
728
+ attr_accessor external_model_endpoint_data_blobs: ::Hash[::String, Types::ModelEndpointDataBlob]
729
+ SENSITIVE: [:external_model_endpoint_data_blobs]
730
+ end
731
+
732
+ class GetEventPredictionResult
733
+ attr_accessor model_scores: ::Array[Types::ModelScores]
734
+ attr_accessor rule_results: ::Array[Types::RuleResult]
735
+ attr_accessor external_model_outputs: ::Array[Types::ExternalModelOutputs]
736
+ SENSITIVE: []
737
+ end
738
+
739
+ class GetEventRequest
740
+ attr_accessor event_id: ::String
741
+ attr_accessor event_type_name: ::String
742
+ SENSITIVE: []
743
+ end
744
+
745
+ class GetEventResult
746
+ attr_accessor event: Types::Event
747
+ SENSITIVE: []
748
+ end
749
+
750
+ class GetEventTypesRequest
751
+ attr_accessor name: ::String
752
+ attr_accessor next_token: ::String
753
+ attr_accessor max_results: ::Integer
754
+ SENSITIVE: []
755
+ end
756
+
757
+ class GetEventTypesResult
758
+ attr_accessor event_types: ::Array[Types::EventType]
759
+ attr_accessor next_token: ::String
760
+ SENSITIVE: []
761
+ end
762
+
763
+ class GetExternalModelsRequest
764
+ attr_accessor model_endpoint: ::String
765
+ attr_accessor next_token: ::String
766
+ attr_accessor max_results: ::Integer
767
+ SENSITIVE: []
768
+ end
769
+
770
+ class GetExternalModelsResult
771
+ attr_accessor external_models: ::Array[Types::ExternalModel]
772
+ attr_accessor next_token: ::String
773
+ SENSITIVE: []
774
+ end
775
+
776
+ class GetKMSEncryptionKeyResult
777
+ attr_accessor kms_key: Types::KMSKey
778
+ SENSITIVE: []
779
+ end
780
+
781
+ class GetLabelsRequest
782
+ attr_accessor name: ::String
783
+ attr_accessor next_token: ::String
784
+ attr_accessor max_results: ::Integer
785
+ SENSITIVE: []
786
+ end
787
+
788
+ class GetLabelsResult
789
+ attr_accessor labels: ::Array[Types::Label]
790
+ attr_accessor next_token: ::String
791
+ SENSITIVE: []
792
+ end
793
+
794
+ class GetListElementsRequest
795
+ attr_accessor name: ::String
796
+ attr_accessor next_token: ::String
797
+ attr_accessor max_results: ::Integer
798
+ SENSITIVE: []
799
+ end
800
+
801
+ class GetListElementsResult
802
+ attr_accessor elements: ::Array[::String]
803
+ attr_accessor next_token: ::String
804
+ SENSITIVE: []
805
+ end
806
+
807
+ class GetListsMetadataRequest
808
+ attr_accessor name: ::String
809
+ attr_accessor next_token: ::String
810
+ attr_accessor max_results: ::Integer
811
+ SENSITIVE: []
812
+ end
813
+
814
+ class GetListsMetadataResult
815
+ attr_accessor lists: ::Array[Types::AllowDenyList]
816
+ attr_accessor next_token: ::String
817
+ SENSITIVE: []
818
+ end
819
+
820
+ class GetModelVersionRequest
821
+ attr_accessor model_id: ::String
822
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
823
+ attr_accessor model_version_number: ::String
824
+ SENSITIVE: []
825
+ end
826
+
827
+ class GetModelVersionResult
828
+ attr_accessor model_id: ::String
829
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
830
+ attr_accessor model_version_number: ::String
831
+ attr_accessor training_data_source: ("EXTERNAL_EVENTS" | "INGESTED_EVENTS")
832
+ attr_accessor training_data_schema: Types::TrainingDataSchema
833
+ attr_accessor external_events_detail: Types::ExternalEventsDetail
834
+ attr_accessor ingested_events_detail: Types::IngestedEventsDetail
835
+ attr_accessor status: ::String
836
+ attr_accessor arn: ::String
837
+ SENSITIVE: []
838
+ end
839
+
840
+ class GetModelsRequest
841
+ attr_accessor model_id: ::String
842
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
843
+ attr_accessor next_token: ::String
844
+ attr_accessor max_results: ::Integer
845
+ SENSITIVE: []
846
+ end
847
+
848
+ class GetModelsResult
849
+ attr_accessor next_token: ::String
850
+ attr_accessor models: ::Array[Types::Model]
851
+ SENSITIVE: []
852
+ end
853
+
854
+ class GetOutcomesRequest
855
+ attr_accessor name: ::String
856
+ attr_accessor next_token: ::String
857
+ attr_accessor max_results: ::Integer
858
+ SENSITIVE: []
859
+ end
860
+
861
+ class GetOutcomesResult
862
+ attr_accessor outcomes: ::Array[Types::Outcome]
863
+ attr_accessor next_token: ::String
864
+ SENSITIVE: []
865
+ end
866
+
867
+ class GetRulesRequest
868
+ attr_accessor rule_id: ::String
869
+ attr_accessor detector_id: ::String
870
+ attr_accessor rule_version: ::String
871
+ attr_accessor next_token: ::String
872
+ attr_accessor max_results: ::Integer
873
+ SENSITIVE: []
874
+ end
875
+
876
+ class GetRulesResult
877
+ attr_accessor rule_details: ::Array[Types::RuleDetail]
878
+ attr_accessor next_token: ::String
879
+ SENSITIVE: []
880
+ end
881
+
882
+ class GetVariablesRequest
883
+ attr_accessor name: ::String
884
+ attr_accessor next_token: ::String
885
+ attr_accessor max_results: ::Integer
886
+ SENSITIVE: []
887
+ end
888
+
889
+ class GetVariablesResult
890
+ attr_accessor variables: ::Array[Types::Variable]
891
+ attr_accessor next_token: ::String
892
+ SENSITIVE: []
893
+ end
894
+
895
+ class IngestedEventStatistics
896
+ attr_accessor number_of_events: ::Integer
897
+ attr_accessor event_data_size_in_bytes: ::Integer
898
+ attr_accessor least_recent_event: ::String
899
+ attr_accessor most_recent_event: ::String
900
+ attr_accessor last_updated_time: ::String
901
+ SENSITIVE: []
902
+ end
903
+
904
+ class IngestedEventsDetail
905
+ attr_accessor ingested_events_time_window: Types::IngestedEventsTimeWindow
906
+ SENSITIVE: []
907
+ end
908
+
909
+ class IngestedEventsTimeWindow
910
+ attr_accessor start_time: ::String
911
+ attr_accessor end_time: ::String
912
+ SENSITIVE: []
913
+ end
914
+
915
+ class InternalServerException
916
+ attr_accessor message: ::String
917
+ SENSITIVE: []
918
+ end
919
+
920
+ class KMSKey
921
+ attr_accessor kms_encryption_key_arn: ::String
922
+ SENSITIVE: []
923
+ end
924
+
925
+ class Label
926
+ attr_accessor name: ::String
927
+ attr_accessor description: ::String
928
+ attr_accessor last_updated_time: ::String
929
+ attr_accessor created_time: ::String
930
+ attr_accessor arn: ::String
931
+ SENSITIVE: []
932
+ end
933
+
934
+ class LabelSchema
935
+ attr_accessor label_mapper: ::Hash[::String, ::Array[::String]]
936
+ attr_accessor unlabeled_events_treatment: ("IGNORE" | "FRAUD" | "LEGIT" | "AUTO")
937
+ SENSITIVE: []
938
+ end
939
+
940
+ class ListEventPredictionsRequest
941
+ attr_accessor event_id: Types::FilterCondition
942
+ attr_accessor event_type: Types::FilterCondition
943
+ attr_accessor detector_id: Types::FilterCondition
944
+ attr_accessor detector_version_id: Types::FilterCondition
945
+ attr_accessor prediction_time_range: Types::PredictionTimeRange
946
+ attr_accessor next_token: ::String
947
+ attr_accessor max_results: ::Integer
948
+ SENSITIVE: []
949
+ end
950
+
951
+ class ListEventPredictionsResult
952
+ attr_accessor event_prediction_summaries: ::Array[Types::EventPredictionSummary]
953
+ attr_accessor next_token: ::String
954
+ SENSITIVE: []
955
+ end
956
+
957
+ class ListTagsForResourceRequest
958
+ attr_accessor resource_arn: ::String
959
+ attr_accessor next_token: ::String
960
+ attr_accessor max_results: ::Integer
961
+ SENSITIVE: []
962
+ end
963
+
964
+ class ListTagsForResourceResult
965
+ attr_accessor tags: ::Array[Types::Tag]
966
+ attr_accessor next_token: ::String
967
+ SENSITIVE: []
968
+ end
969
+
970
+ class LogOddsMetric
971
+ attr_accessor variable_name: ::String
972
+ attr_accessor variable_type: ::String
973
+ attr_accessor variable_importance: ::Float
974
+ SENSITIVE: []
975
+ end
976
+
977
+ class MetricDataPoint
978
+ attr_accessor fpr: ::Float
979
+ attr_accessor precision: ::Float
980
+ attr_accessor tpr: ::Float
981
+ attr_accessor threshold: ::Float
982
+ SENSITIVE: []
983
+ end
984
+
985
+ class Model
986
+ attr_accessor model_id: ::String
987
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
988
+ attr_accessor description: ::String
989
+ attr_accessor event_type_name: ::String
990
+ attr_accessor created_time: ::String
991
+ attr_accessor last_updated_time: ::String
992
+ attr_accessor arn: ::String
993
+ SENSITIVE: []
994
+ end
995
+
996
+ class ModelEndpointDataBlob
997
+ attr_accessor byte_buffer: ::String
998
+ attr_accessor content_type: ::String
999
+ SENSITIVE: []
1000
+ end
1001
+
1002
+ class ModelInputConfiguration
1003
+ attr_accessor event_type_name: ::String
1004
+ attr_accessor format: ("TEXT_CSV" | "APPLICATION_JSON")
1005
+ attr_accessor use_event_variables: bool
1006
+ attr_accessor json_input_template: ::String
1007
+ attr_accessor csv_input_template: ::String
1008
+ SENSITIVE: []
1009
+ end
1010
+
1011
+ class ModelOutputConfiguration
1012
+ attr_accessor format: ("TEXT_CSV" | "APPLICATION_JSONLINES")
1013
+ attr_accessor json_key_to_variable_map: ::Hash[::String, ::String]
1014
+ attr_accessor csv_index_to_variable_map: ::Hash[::String, ::String]
1015
+ SENSITIVE: []
1016
+ end
1017
+
1018
+ class ModelScores
1019
+ attr_accessor model_version: Types::ModelVersion
1020
+ attr_accessor scores: ::Hash[::String, ::Float]
1021
+ SENSITIVE: []
1022
+ end
1023
+
1024
+ class ModelVersion
1025
+ attr_accessor model_id: ::String
1026
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
1027
+ attr_accessor model_version_number: ::String
1028
+ attr_accessor arn: ::String
1029
+ SENSITIVE: []
1030
+ end
1031
+
1032
+ class ModelVersionDetail
1033
+ attr_accessor model_id: ::String
1034
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
1035
+ attr_accessor model_version_number: ::String
1036
+ attr_accessor status: ::String
1037
+ attr_accessor training_data_source: ("EXTERNAL_EVENTS" | "INGESTED_EVENTS")
1038
+ attr_accessor training_data_schema: Types::TrainingDataSchema
1039
+ attr_accessor external_events_detail: Types::ExternalEventsDetail
1040
+ attr_accessor ingested_events_detail: Types::IngestedEventsDetail
1041
+ attr_accessor training_result: Types::TrainingResult
1042
+ attr_accessor last_updated_time: ::String
1043
+ attr_accessor created_time: ::String
1044
+ attr_accessor arn: ::String
1045
+ attr_accessor training_result_v2: Types::TrainingResultV2
1046
+ SENSITIVE: []
1047
+ end
1048
+
1049
+ class ModelVersionEvaluation
1050
+ attr_accessor output_variable_name: ::String
1051
+ attr_accessor evaluation_score: ::String
1052
+ attr_accessor prediction_explanations: Types::PredictionExplanations
1053
+ SENSITIVE: []
1054
+ end
1055
+
1056
+ class OFIMetricDataPoint
1057
+ attr_accessor fpr: ::Float
1058
+ attr_accessor precision: ::Float
1059
+ attr_accessor tpr: ::Float
1060
+ attr_accessor threshold: ::Float
1061
+ SENSITIVE: []
1062
+ end
1063
+
1064
+ class OFIModelPerformance
1065
+ attr_accessor auc: ::Float
1066
+ attr_accessor uncertainty_range: Types::UncertaintyRange
1067
+ SENSITIVE: []
1068
+ end
1069
+
1070
+ class OFITrainingMetricsValue
1071
+ attr_accessor metric_data_points: ::Array[Types::OFIMetricDataPoint]
1072
+ attr_accessor model_performance: Types::OFIModelPerformance
1073
+ SENSITIVE: []
1074
+ end
1075
+
1076
+ class Outcome
1077
+ attr_accessor name: ::String
1078
+ attr_accessor description: ::String
1079
+ attr_accessor last_updated_time: ::String
1080
+ attr_accessor created_time: ::String
1081
+ attr_accessor arn: ::String
1082
+ SENSITIVE: []
1083
+ end
1084
+
1085
+ class PredictionExplanations
1086
+ attr_accessor variable_impact_explanations: ::Array[Types::VariableImpactExplanation]
1087
+ attr_accessor aggregated_variables_impact_explanations: ::Array[Types::AggregatedVariablesImpactExplanation]
1088
+ SENSITIVE: []
1089
+ end
1090
+
1091
+ class PredictionTimeRange
1092
+ attr_accessor start_time: ::String
1093
+ attr_accessor end_time: ::String
1094
+ SENSITIVE: []
1095
+ end
1096
+
1097
+ class PutDetectorRequest
1098
+ attr_accessor detector_id: ::String
1099
+ attr_accessor description: ::String
1100
+ attr_accessor event_type_name: ::String
1101
+ attr_accessor tags: ::Array[Types::Tag]
1102
+ SENSITIVE: []
1103
+ end
1104
+
1105
+ class PutDetectorResult < Aws::EmptyStructure
1106
+ end
1107
+
1108
+ class PutEntityTypeRequest
1109
+ attr_accessor name: ::String
1110
+ attr_accessor description: ::String
1111
+ attr_accessor tags: ::Array[Types::Tag]
1112
+ SENSITIVE: []
1113
+ end
1114
+
1115
+ class PutEntityTypeResult < Aws::EmptyStructure
1116
+ end
1117
+
1118
+ class PutEventTypeRequest
1119
+ attr_accessor name: ::String
1120
+ attr_accessor description: ::String
1121
+ attr_accessor event_variables: ::Array[::String]
1122
+ attr_accessor labels: ::Array[::String]
1123
+ attr_accessor entity_types: ::Array[::String]
1124
+ attr_accessor event_ingestion: ("ENABLED" | "DISABLED")
1125
+ attr_accessor tags: ::Array[Types::Tag]
1126
+ attr_accessor event_orchestration: Types::EventOrchestration
1127
+ SENSITIVE: []
1128
+ end
1129
+
1130
+ class PutEventTypeResult < Aws::EmptyStructure
1131
+ end
1132
+
1133
+ class PutExternalModelRequest
1134
+ attr_accessor model_endpoint: ::String
1135
+ attr_accessor model_source: ("SAGEMAKER")
1136
+ attr_accessor invoke_model_endpoint_role_arn: ::String
1137
+ attr_accessor input_configuration: Types::ModelInputConfiguration
1138
+ attr_accessor output_configuration: Types::ModelOutputConfiguration
1139
+ attr_accessor model_endpoint_status: ("ASSOCIATED" | "DISSOCIATED")
1140
+ attr_accessor tags: ::Array[Types::Tag]
1141
+ SENSITIVE: []
1142
+ end
1143
+
1144
+ class PutExternalModelResult < Aws::EmptyStructure
1145
+ end
1146
+
1147
+ class PutKMSEncryptionKeyRequest
1148
+ attr_accessor kms_encryption_key_arn: ::String
1149
+ SENSITIVE: []
1150
+ end
1151
+
1152
+ class PutKMSEncryptionKeyResult < Aws::EmptyStructure
1153
+ end
1154
+
1155
+ class PutLabelRequest
1156
+ attr_accessor name: ::String
1157
+ attr_accessor description: ::String
1158
+ attr_accessor tags: ::Array[Types::Tag]
1159
+ SENSITIVE: []
1160
+ end
1161
+
1162
+ class PutLabelResult < Aws::EmptyStructure
1163
+ end
1164
+
1165
+ class PutOutcomeRequest
1166
+ attr_accessor name: ::String
1167
+ attr_accessor description: ::String
1168
+ attr_accessor tags: ::Array[Types::Tag]
1169
+ SENSITIVE: []
1170
+ end
1171
+
1172
+ class PutOutcomeResult < Aws::EmptyStructure
1173
+ end
1174
+
1175
+ class ResourceNotFoundException
1176
+ attr_accessor message: ::String
1177
+ SENSITIVE: []
1178
+ end
1179
+
1180
+ class ResourceUnavailableException
1181
+ attr_accessor message: ::String
1182
+ SENSITIVE: []
1183
+ end
1184
+
1185
+ class Rule
1186
+ attr_accessor detector_id: ::String
1187
+ attr_accessor rule_id: ::String
1188
+ attr_accessor rule_version: ::String
1189
+ SENSITIVE: []
1190
+ end
1191
+
1192
+ class RuleDetail
1193
+ attr_accessor rule_id: ::String
1194
+ attr_accessor description: ::String
1195
+ attr_accessor detector_id: ::String
1196
+ attr_accessor rule_version: ::String
1197
+ attr_accessor expression: ::String
1198
+ attr_accessor language: ("DETECTORPL")
1199
+ attr_accessor outcomes: ::Array[::String]
1200
+ attr_accessor last_updated_time: ::String
1201
+ attr_accessor created_time: ::String
1202
+ attr_accessor arn: ::String
1203
+ SENSITIVE: [:expression]
1204
+ end
1205
+
1206
+ class RuleResult
1207
+ attr_accessor rule_id: ::String
1208
+ attr_accessor outcomes: ::Array[::String]
1209
+ SENSITIVE: []
1210
+ end
1211
+
1212
+ class SendEventRequest
1213
+ attr_accessor event_id: ::String
1214
+ attr_accessor event_type_name: ::String
1215
+ attr_accessor event_timestamp: ::String
1216
+ attr_accessor event_variables: ::Hash[::String, ::String]
1217
+ attr_accessor assigned_label: ::String
1218
+ attr_accessor label_timestamp: ::String
1219
+ attr_accessor entities: ::Array[Types::Entity]
1220
+ SENSITIVE: []
1221
+ end
1222
+
1223
+ class SendEventResult < Aws::EmptyStructure
1224
+ end
1225
+
1226
+ class TFIMetricDataPoint
1227
+ attr_accessor fpr: ::Float
1228
+ attr_accessor precision: ::Float
1229
+ attr_accessor tpr: ::Float
1230
+ attr_accessor threshold: ::Float
1231
+ SENSITIVE: []
1232
+ end
1233
+
1234
+ class TFIModelPerformance
1235
+ attr_accessor auc: ::Float
1236
+ attr_accessor uncertainty_range: Types::UncertaintyRange
1237
+ SENSITIVE: []
1238
+ end
1239
+
1240
+ class TFITrainingMetricsValue
1241
+ attr_accessor metric_data_points: ::Array[Types::TFIMetricDataPoint]
1242
+ attr_accessor model_performance: Types::TFIModelPerformance
1243
+ SENSITIVE: []
1244
+ end
1245
+
1246
+ class Tag
1247
+ attr_accessor key: ::String
1248
+ attr_accessor value: ::String
1249
+ SENSITIVE: []
1250
+ end
1251
+
1252
+ class TagResourceRequest
1253
+ attr_accessor resource_arn: ::String
1254
+ attr_accessor tags: ::Array[Types::Tag]
1255
+ SENSITIVE: []
1256
+ end
1257
+
1258
+ class TagResourceResult < Aws::EmptyStructure
1259
+ end
1260
+
1261
+ class ThrottlingException
1262
+ attr_accessor message: ::String
1263
+ SENSITIVE: []
1264
+ end
1265
+
1266
+ class TrainingDataSchema
1267
+ attr_accessor model_variables: ::Array[::String]
1268
+ attr_accessor label_schema: Types::LabelSchema
1269
+ SENSITIVE: []
1270
+ end
1271
+
1272
+ class TrainingMetrics
1273
+ attr_accessor auc: ::Float
1274
+ attr_accessor metric_data_points: ::Array[Types::MetricDataPoint]
1275
+ SENSITIVE: []
1276
+ end
1277
+
1278
+ class TrainingMetricsV2
1279
+ attr_accessor ofi: Types::OFITrainingMetricsValue
1280
+ attr_accessor tfi: Types::TFITrainingMetricsValue
1281
+ attr_accessor ati: Types::ATITrainingMetricsValue
1282
+ SENSITIVE: []
1283
+ end
1284
+
1285
+ class TrainingResult
1286
+ attr_accessor data_validation_metrics: Types::DataValidationMetrics
1287
+ attr_accessor training_metrics: Types::TrainingMetrics
1288
+ attr_accessor variable_importance_metrics: Types::VariableImportanceMetrics
1289
+ SENSITIVE: []
1290
+ end
1291
+
1292
+ class TrainingResultV2
1293
+ attr_accessor data_validation_metrics: Types::DataValidationMetrics
1294
+ attr_accessor training_metrics_v2: Types::TrainingMetricsV2
1295
+ attr_accessor variable_importance_metrics: Types::VariableImportanceMetrics
1296
+ attr_accessor aggregated_variables_importance_metrics: Types::AggregatedVariablesImportanceMetrics
1297
+ SENSITIVE: []
1298
+ end
1299
+
1300
+ class UncertaintyRange
1301
+ attr_accessor lower_bound_value: ::Float
1302
+ attr_accessor upper_bound_value: ::Float
1303
+ SENSITIVE: []
1304
+ end
1305
+
1306
+ class UntagResourceRequest
1307
+ attr_accessor resource_arn: ::String
1308
+ attr_accessor tag_keys: ::Array[::String]
1309
+ SENSITIVE: []
1310
+ end
1311
+
1312
+ class UntagResourceResult < Aws::EmptyStructure
1313
+ end
1314
+
1315
+ class UpdateDetectorVersionMetadataRequest
1316
+ attr_accessor detector_id: ::String
1317
+ attr_accessor detector_version_id: ::String
1318
+ attr_accessor description: ::String
1319
+ SENSITIVE: []
1320
+ end
1321
+
1322
+ class UpdateDetectorVersionMetadataResult < Aws::EmptyStructure
1323
+ end
1324
+
1325
+ class UpdateDetectorVersionRequest
1326
+ attr_accessor detector_id: ::String
1327
+ attr_accessor detector_version_id: ::String
1328
+ attr_accessor external_model_endpoints: ::Array[::String]
1329
+ attr_accessor rules: ::Array[Types::Rule]
1330
+ attr_accessor description: ::String
1331
+ attr_accessor model_versions: ::Array[Types::ModelVersion]
1332
+ attr_accessor rule_execution_mode: ("ALL_MATCHED" | "FIRST_MATCHED")
1333
+ SENSITIVE: []
1334
+ end
1335
+
1336
+ class UpdateDetectorVersionResult < Aws::EmptyStructure
1337
+ end
1338
+
1339
+ class UpdateDetectorVersionStatusRequest
1340
+ attr_accessor detector_id: ::String
1341
+ attr_accessor detector_version_id: ::String
1342
+ attr_accessor status: ("DRAFT" | "ACTIVE" | "INACTIVE")
1343
+ SENSITIVE: []
1344
+ end
1345
+
1346
+ class UpdateDetectorVersionStatusResult < Aws::EmptyStructure
1347
+ end
1348
+
1349
+ class UpdateEventLabelRequest
1350
+ attr_accessor event_id: ::String
1351
+ attr_accessor event_type_name: ::String
1352
+ attr_accessor assigned_label: ::String
1353
+ attr_accessor label_timestamp: ::String
1354
+ SENSITIVE: []
1355
+ end
1356
+
1357
+ class UpdateEventLabelResult < Aws::EmptyStructure
1358
+ end
1359
+
1360
+ class UpdateListRequest
1361
+ attr_accessor name: ::String
1362
+ attr_accessor elements: ::Array[::String]
1363
+ attr_accessor description: ::String
1364
+ attr_accessor update_mode: ("REPLACE" | "APPEND" | "REMOVE")
1365
+ attr_accessor variable_type: ::String
1366
+ SENSITIVE: []
1367
+ end
1368
+
1369
+ class UpdateListResult < Aws::EmptyStructure
1370
+ end
1371
+
1372
+ class UpdateModelRequest
1373
+ attr_accessor model_id: ::String
1374
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
1375
+ attr_accessor description: ::String
1376
+ SENSITIVE: []
1377
+ end
1378
+
1379
+ class UpdateModelResult < Aws::EmptyStructure
1380
+ end
1381
+
1382
+ class UpdateModelVersionRequest
1383
+ attr_accessor model_id: ::String
1384
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
1385
+ attr_accessor major_version_number: ::String
1386
+ attr_accessor external_events_detail: Types::ExternalEventsDetail
1387
+ attr_accessor ingested_events_detail: Types::IngestedEventsDetail
1388
+ attr_accessor tags: ::Array[Types::Tag]
1389
+ SENSITIVE: []
1390
+ end
1391
+
1392
+ class UpdateModelVersionResult
1393
+ attr_accessor model_id: ::String
1394
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
1395
+ attr_accessor model_version_number: ::String
1396
+ attr_accessor status: ::String
1397
+ SENSITIVE: []
1398
+ end
1399
+
1400
+ class UpdateModelVersionStatusRequest
1401
+ attr_accessor model_id: ::String
1402
+ attr_accessor model_type: ("ONLINE_FRAUD_INSIGHTS" | "TRANSACTION_FRAUD_INSIGHTS" | "ACCOUNT_TAKEOVER_INSIGHTS")
1403
+ attr_accessor model_version_number: ::String
1404
+ attr_accessor status: ("ACTIVE" | "INACTIVE" | "TRAINING_CANCELLED")
1405
+ SENSITIVE: []
1406
+ end
1407
+
1408
+ class UpdateModelVersionStatusResult < Aws::EmptyStructure
1409
+ end
1410
+
1411
+ class UpdateRuleMetadataRequest
1412
+ attr_accessor rule: Types::Rule
1413
+ attr_accessor description: ::String
1414
+ SENSITIVE: []
1415
+ end
1416
+
1417
+ class UpdateRuleMetadataResult < Aws::EmptyStructure
1418
+ end
1419
+
1420
+ class UpdateRuleVersionRequest
1421
+ attr_accessor rule: Types::Rule
1422
+ attr_accessor description: ::String
1423
+ attr_accessor expression: ::String
1424
+ attr_accessor language: ("DETECTORPL")
1425
+ attr_accessor outcomes: ::Array[::String]
1426
+ attr_accessor tags: ::Array[Types::Tag]
1427
+ SENSITIVE: [:expression]
1428
+ end
1429
+
1430
+ class UpdateRuleVersionResult
1431
+ attr_accessor rule: Types::Rule
1432
+ SENSITIVE: []
1433
+ end
1434
+
1435
+ class UpdateVariableRequest
1436
+ attr_accessor name: ::String
1437
+ attr_accessor default_value: ::String
1438
+ attr_accessor description: ::String
1439
+ attr_accessor variable_type: ::String
1440
+ SENSITIVE: []
1441
+ end
1442
+
1443
+ class UpdateVariableResult < Aws::EmptyStructure
1444
+ end
1445
+
1446
+ class ValidationException
1447
+ attr_accessor message: ::String
1448
+ SENSITIVE: []
1449
+ end
1450
+
1451
+ class Variable
1452
+ attr_accessor name: ::String
1453
+ attr_accessor data_type: ("STRING" | "INTEGER" | "FLOAT" | "BOOLEAN" | "DATETIME")
1454
+ attr_accessor data_source: ("EVENT" | "MODEL_SCORE" | "EXTERNAL_MODEL_SCORE")
1455
+ attr_accessor default_value: ::String
1456
+ attr_accessor description: ::String
1457
+ attr_accessor variable_type: ::String
1458
+ attr_accessor last_updated_time: ::String
1459
+ attr_accessor created_time: ::String
1460
+ attr_accessor arn: ::String
1461
+ SENSITIVE: []
1462
+ end
1463
+
1464
+ class VariableEntry
1465
+ attr_accessor name: ::String
1466
+ attr_accessor data_type: ::String
1467
+ attr_accessor data_source: ::String
1468
+ attr_accessor default_value: ::String
1469
+ attr_accessor description: ::String
1470
+ attr_accessor variable_type: ::String
1471
+ SENSITIVE: []
1472
+ end
1473
+
1474
+ class VariableImpactExplanation
1475
+ attr_accessor event_variable_name: ::String
1476
+ attr_accessor relative_impact: ::String
1477
+ attr_accessor log_odds_impact: ::Float
1478
+ SENSITIVE: []
1479
+ end
1480
+
1481
+ class VariableImportanceMetrics
1482
+ attr_accessor log_odds_metrics: ::Array[Types::LogOddsMetric]
1483
+ SENSITIVE: []
1484
+ end
1485
+ end
1486
+ end