aws-sdk-frauddetector 1.33.0 → 1.35.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8a094a9e5b30822d7895d08d72590c8a7383a9866933051d108a46856c636ad5
4
- data.tar.gz: d73cdd873e287e48814a284351510721734f6db99af9aacebb52edd157eb13b0
3
+ metadata.gz: a733de8a6680e47e4813196d0b04adad8fc5f396de12acc6ea0b6dd502bc2119
4
+ data.tar.gz: '0668e0ffd5f66777eaaeaee593365939d3e8d834f6afc9e984014d47267c71f3'
5
5
  SHA512:
6
- metadata.gz: d02cea09ce691547c5e730f78d9ccd6d73dfde9263b71abd9ad2b2c2b679514ba800871b45a11d1bbbc599c9c76486bd0b9428ae2aa556af9eae82e781d16c54
7
- data.tar.gz: fab68c139cad4f73d0845b92d55748d3381537f4871787a9ccaa256b210fdded884d930aeabe3703912bdd2592cf4882d4d2907033040d7291276a51d0edeb92
6
+ metadata.gz: '09c6bc6d7fcdedc8446ad71e7ca765d039bd0ef6d3d8b5ea973704e952e28532d4a41da59a2a8422cb9d0adc2469322e95144cabb5b121b5e00515237705ed34'
7
+ data.tar.gz: 215163ddc47feb3a839802c8f7825e127f29292fb61520153a4de8f75456b9fbd9fdef557d01860836d1d6a218410890876a158e779976b50f4bb582ecb9a5af
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.0 (2022-10-18)
5
+ ------------------
6
+
7
+ * Feature - Documentation Updates for Amazon Fraud Detector
8
+
9
+ 1.34.0 (2022-07-21)
10
+ ------------------
11
+
12
+ * Feature - The release introduces Account Takeover Insights (ATI) model. The ATI model detects fraud relating to account takeover. This release also adds support for new variable types: ARE_CREDENTIALS_VALID and SESSION_ID and adds new structures to Model Version APIs.
13
+
4
14
  1.33.0 (2022-06-10)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.33.0
1
+ 1.35.0
@@ -517,8 +517,16 @@ module Aws::FraudDetector
517
517
  #
518
518
  # @option params [required, String] :iam_role_arn
519
519
  # The ARN of the IAM role created for Amazon S3 bucket that holds your
520
- # data file. The IAM role must have read and write permissions to both
521
- # input and output S3 buckets.
520
+ # data file.
521
+ #
522
+ # The IAM role must have read permissions to your input S3 bucket and
523
+ # write permissions to your output S3 bucket. For more information about
524
+ # bucket permissions, see [User policy examples][1] in the *Amazon S3
525
+ # User Guide*.
526
+ #
527
+ #
528
+ #
529
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-policies-s3.html
522
530
  #
523
531
  # @option params [Array<Types::Tag>] :tags
524
532
  # A collection of key-value pairs associated with this request.
@@ -573,6 +581,15 @@ module Aws::FraudDetector
573
581
  # @option params [required, String] :iam_role_arn
574
582
  # The ARN of the IAM role to use for this job request.
575
583
  #
584
+ # The IAM Role must have read permissions to your input S3 bucket and
585
+ # write permissions to your output S3 bucket. For more information about
586
+ # bucket permissions, see [User policy examples][1] in the *Amazon S3
587
+ # User Guide*.
588
+ #
589
+ #
590
+ #
591
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-policies-s3.html
592
+ #
576
593
  # @option params [Array<Types::Tag>] :tags
577
594
  # A collection of key and value pairs.
578
595
  #
@@ -666,7 +683,7 @@ module Aws::FraudDetector
666
683
  # model_versions: [
667
684
  # {
668
685
  # model_id: "modelIdentifier", # required
669
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
686
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
670
687
  # model_version_number: "floatVersionString", # required
671
688
  # arn: "fraudDetectorArn",
672
689
  # },
@@ -718,7 +735,7 @@ module Aws::FraudDetector
718
735
  #
719
736
  # resp = client.create_model({
720
737
  # model_id: "modelIdentifier", # required
721
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
738
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
722
739
  # description: "description",
723
740
  # event_type_name: "string", # required
724
741
  # tags: [
@@ -775,12 +792,12 @@ module Aws::FraudDetector
775
792
  #
776
793
  # resp = client.create_model_version({
777
794
  # model_id: "modelIdentifier", # required
778
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
795
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
779
796
  # training_data_source: "EXTERNAL_EVENTS", # required, accepts EXTERNAL_EVENTS, INGESTED_EVENTS
780
797
  # training_data_schema: { # required
781
798
  # model_variables: ["string"], # required
782
- # label_schema: { # required
783
- # label_mapper: { # required
799
+ # label_schema: {
800
+ # label_mapper: {
784
801
  # "string" => ["string"],
785
802
  # },
786
803
  # unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT
@@ -807,7 +824,7 @@ module Aws::FraudDetector
807
824
  # @example Response structure
808
825
  #
809
826
  # resp.model_id #=> String
810
- # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
827
+ # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
811
828
  # resp.model_version_number #=> String
812
829
  # resp.status #=> String
813
830
  #
@@ -1245,7 +1262,7 @@ module Aws::FraudDetector
1245
1262
  #
1246
1263
  # resp = client.delete_model({
1247
1264
  # model_id: "modelIdentifier", # required
1248
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
1265
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
1249
1266
  # })
1250
1267
  #
1251
1268
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModel AWS API Documentation
@@ -1281,7 +1298,7 @@ module Aws::FraudDetector
1281
1298
  #
1282
1299
  # resp = client.delete_model_version({
1283
1300
  # model_id: "modelIdentifier", # required
1284
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
1301
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
1285
1302
  # model_version_number: "floatVersionString", # required
1286
1303
  # })
1287
1304
  #
@@ -1462,7 +1479,7 @@ module Aws::FraudDetector
1462
1479
  # resp = client.describe_model_versions({
1463
1480
  # model_id: "modelIdentifier",
1464
1481
  # model_version_number: "floatVersionString",
1465
- # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
1482
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
1466
1483
  # next_token: "string",
1467
1484
  # max_results: 1,
1468
1485
  # })
@@ -1471,7 +1488,7 @@ module Aws::FraudDetector
1471
1488
  #
1472
1489
  # resp.model_version_details #=> Array
1473
1490
  # resp.model_version_details[0].model_id #=> String
1474
- # resp.model_version_details[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
1491
+ # resp.model_version_details[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
1475
1492
  # resp.model_version_details[0].model_version_number #=> String
1476
1493
  # resp.model_version_details[0].status #=> String
1477
1494
  # resp.model_version_details[0].training_data_source #=> String, one of "EXTERNAL_EVENTS", "INGESTED_EVENTS"
@@ -1508,6 +1525,42 @@ module Aws::FraudDetector
1508
1525
  # resp.model_version_details[0].last_updated_time #=> String
1509
1526
  # resp.model_version_details[0].created_time #=> String
1510
1527
  # resp.model_version_details[0].arn #=> String
1528
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages #=> Array
1529
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages[0].title #=> String
1530
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages[0].content #=> String
1531
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages[0].type #=> String
1532
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages #=> Array
1533
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].field_name #=> String
1534
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].identifier #=> String
1535
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].title #=> String
1536
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].content #=> String
1537
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].type #=> String
1538
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points #=> Array
1539
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].fpr #=> Float
1540
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].precision #=> Float
1541
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].tpr #=> Float
1542
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].threshold #=> Float
1543
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.model_performance.auc #=> Float
1544
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points #=> Array
1545
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].fpr #=> Float
1546
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].precision #=> Float
1547
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].tpr #=> Float
1548
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].threshold #=> Float
1549
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.model_performance.auc #=> Float
1550
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points #=> Array
1551
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].cr #=> Float
1552
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].adr #=> Float
1553
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].threshold #=> Float
1554
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].atodr #=> Float
1555
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.model_performance.asi #=> Float
1556
+ # resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics #=> Array
1557
+ # resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics[0].variable_name #=> String
1558
+ # resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics[0].variable_type #=> String
1559
+ # resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics[0].variable_importance #=> Float
1560
+ # resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics #=> Array
1561
+ # resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics[0].variable_names #=> Array
1562
+ # resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics[0].variable_names[0] #=> String
1563
+ # resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics[0].aggregated_variables_importance #=> Float
1511
1564
  # resp.next_token #=> String
1512
1565
  #
1513
1566
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeModelVersions AWS API Documentation
@@ -1707,7 +1760,7 @@ module Aws::FraudDetector
1707
1760
  # resp.external_model_endpoints[0] #=> String
1708
1761
  # resp.model_versions #=> Array
1709
1762
  # resp.model_versions[0].model_id #=> String
1710
- # resp.model_versions[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
1763
+ # resp.model_versions[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
1711
1764
  # resp.model_versions[0].model_version_number #=> String
1712
1765
  # resp.model_versions[0].arn #=> String
1713
1766
  # resp.rules #=> Array
@@ -1963,7 +2016,7 @@ module Aws::FraudDetector
1963
2016
  #
1964
2017
  # resp.model_scores #=> Array
1965
2018
  # resp.model_scores[0].model_version.model_id #=> String
1966
- # resp.model_scores[0].model_version.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
2019
+ # resp.model_scores[0].model_version.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
1967
2020
  # resp.model_scores[0].model_version.model_version_number #=> String
1968
2021
  # resp.model_scores[0].model_version.arn #=> String
1969
2022
  # resp.model_scores[0].scores #=> Hash
@@ -2081,6 +2134,11 @@ module Aws::FraudDetector
2081
2134
  # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.variable_impact_explanations[0].event_variable_name #=> String
2082
2135
  # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.variable_impact_explanations[0].relative_impact #=> String
2083
2136
  # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.variable_impact_explanations[0].log_odds_impact #=> Float
2137
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations #=> Array
2138
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].event_variable_names #=> Array
2139
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].event_variable_names[0] #=> String
2140
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].relative_impact #=> String
2141
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].log_odds_impact #=> Float
2084
2142
  # resp.evaluated_external_models #=> Array
2085
2143
  # resp.evaluated_external_models[0].model_endpoint #=> String
2086
2144
  # resp.evaluated_external_models[0].use_event_variables #=> Boolean
@@ -2323,14 +2381,14 @@ module Aws::FraudDetector
2323
2381
  #
2324
2382
  # resp = client.get_model_version({
2325
2383
  # model_id: "modelIdentifier", # required
2326
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
2384
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
2327
2385
  # model_version_number: "floatVersionString", # required
2328
2386
  # })
2329
2387
  #
2330
2388
  # @example Response structure
2331
2389
  #
2332
2390
  # resp.model_id #=> String
2333
- # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
2391
+ # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
2334
2392
  # resp.model_version_number #=> String
2335
2393
  # resp.training_data_source #=> String, one of "EXTERNAL_EVENTS", "INGESTED_EVENTS"
2336
2394
  # resp.training_data_schema.model_variables #=> Array
@@ -2391,7 +2449,7 @@ module Aws::FraudDetector
2391
2449
  #
2392
2450
  # resp = client.get_models({
2393
2451
  # model_id: "modelIdentifier",
2394
- # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
2452
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
2395
2453
  # next_token: "string",
2396
2454
  # max_results: 1,
2397
2455
  # })
@@ -2401,7 +2459,7 @@ module Aws::FraudDetector
2401
2459
  # resp.next_token #=> String
2402
2460
  # resp.models #=> Array
2403
2461
  # resp.models[0].model_id #=> String
2404
- # resp.models[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
2462
+ # resp.models[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
2405
2463
  # resp.models[0].description #=> String
2406
2464
  # resp.models[0].event_type_name #=> String
2407
2465
  # resp.models[0].created_time #=> String
@@ -2932,6 +2990,9 @@ module Aws::FraudDetector
2932
2990
  # @option params [required, String] :kms_encryption_key_arn
2933
2991
  # The KMS encryption key ARN.
2934
2992
  #
2993
+ # The KMS key must be single-Region key. Amazon Fraud Detector does not
2994
+ # support multi-Region KMS key.
2995
+ #
2935
2996
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2936
2997
  #
2937
2998
  # @example Request syntax with placeholder values
@@ -3196,7 +3257,7 @@ module Aws::FraudDetector
3196
3257
  # model_versions: [
3197
3258
  # {
3198
3259
  # model_id: "modelIdentifier", # required
3199
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
3260
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
3200
3261
  # model_version_number: "floatVersionString", # required
3201
3262
  # arn: "fraudDetectorArn",
3202
3263
  # },
@@ -3257,6 +3318,8 @@ module Aws::FraudDetector
3257
3318
  # @option params [required, String] :status
3258
3319
  # The new status.
3259
3320
  #
3321
+ # The only supported values are `ACTIVE` and `INACTIVE`
3322
+ #
3260
3323
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3261
3324
  #
3262
3325
  # @example Request syntax with placeholder values
@@ -3328,7 +3391,7 @@ module Aws::FraudDetector
3328
3391
  #
3329
3392
  # resp = client.update_model({
3330
3393
  # model_id: "modelIdentifier", # required
3331
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
3394
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
3332
3395
  # description: "description",
3333
3396
  # })
3334
3397
  #
@@ -3379,7 +3442,7 @@ module Aws::FraudDetector
3379
3442
  #
3380
3443
  # resp = client.update_model_version({
3381
3444
  # model_id: "modelIdentifier", # required
3382
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
3445
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
3383
3446
  # major_version_number: "wholeNumberVersionString", # required
3384
3447
  # external_events_detail: {
3385
3448
  # data_location: "s3BucketLocation", # required
@@ -3402,7 +3465,7 @@ module Aws::FraudDetector
3402
3465
  # @example Response structure
3403
3466
  #
3404
3467
  # resp.model_id #=> String
3405
- # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
3468
+ # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
3406
3469
  # resp.model_version_number #=> String
3407
3470
  # resp.status #=> String
3408
3471
  #
@@ -3443,7 +3506,7 @@ module Aws::FraudDetector
3443
3506
  #
3444
3507
  # resp = client.update_model_version_status({
3445
3508
  # model_id: "modelIdentifier", # required
3446
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
3509
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
3447
3510
  # model_version_number: "floatVersionString", # required
3448
3511
  # status: "ACTIVE", # required, accepts ACTIVE, INACTIVE, TRAINING_CANCELLED
3449
3512
  # })
@@ -3598,7 +3661,7 @@ module Aws::FraudDetector
3598
3661
  params: params,
3599
3662
  config: config)
3600
3663
  context[:gem_name] = 'aws-sdk-frauddetector'
3601
- context[:gem_version] = '1.33.0'
3664
+ context[:gem_version] = '1.35.0'
3602
3665
  Seahorse::Client::Request.new(handlers, context)
3603
3666
  end
3604
3667
 
@@ -13,7 +13,14 @@ module Aws::FraudDetector
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ ATIMetricDataPoint = Shapes::StructureShape.new(name: 'ATIMetricDataPoint')
17
+ ATIMetricDataPointsList = Shapes::ListShape.new(name: 'ATIMetricDataPointsList')
18
+ ATIModelPerformance = Shapes::StructureShape.new(name: 'ATIModelPerformance')
19
+ ATITrainingMetricsValue = Shapes::StructureShape.new(name: 'ATITrainingMetricsValue')
16
20
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
21
+ AggregatedLogOddsMetric = Shapes::StructureShape.new(name: 'AggregatedLogOddsMetric')
22
+ AggregatedVariablesImpactExplanation = Shapes::StructureShape.new(name: 'AggregatedVariablesImpactExplanation')
23
+ AggregatedVariablesImportanceMetrics = Shapes::StructureShape.new(name: 'AggregatedVariablesImportanceMetrics')
17
24
  AsyncJobStatus = Shapes::StringShape.new(name: 'AsyncJobStatus')
18
25
  BatchCreateVariableError = Shapes::StructureShape.new(name: 'BatchCreateVariableError')
19
26
  BatchCreateVariableErrorList = Shapes::ListShape.new(name: 'BatchCreateVariableErrorList')
@@ -166,6 +173,8 @@ module Aws::FraudDetector
166
173
  Language = Shapes::StringShape.new(name: 'Language')
167
174
  ListEventPredictionsRequest = Shapes::StructureShape.new(name: 'ListEventPredictionsRequest')
168
175
  ListEventPredictionsResult = Shapes::StructureShape.new(name: 'ListEventPredictionsResult')
176
+ ListOfAggregatedLogOddsMetrics = Shapes::ListShape.new(name: 'ListOfAggregatedLogOddsMetrics')
177
+ ListOfAggregatedVariablesImpactExplanations = Shapes::ListShape.new(name: 'ListOfAggregatedVariablesImpactExplanations')
169
178
  ListOfEvaluatedExternalModels = Shapes::ListShape.new(name: 'ListOfEvaluatedExternalModels')
170
179
  ListOfEvaluatedModelVersions = Shapes::ListShape.new(name: 'ListOfEvaluatedModelVersions')
171
180
  ListOfEventPredictionSummaries = Shapes::ListShape.new(name: 'ListOfEventPredictionSummaries')
@@ -200,6 +209,10 @@ module Aws::FraudDetector
200
209
  ModelVersionStatus = Shapes::StringShape.new(name: 'ModelVersionStatus')
201
210
  NameList = Shapes::ListShape.new(name: 'NameList')
202
211
  NonEmptyListOfStrings = Shapes::ListShape.new(name: 'NonEmptyListOfStrings')
212
+ OFIMetricDataPoint = Shapes::StructureShape.new(name: 'OFIMetricDataPoint')
213
+ OFIMetricDataPointsList = Shapes::ListShape.new(name: 'OFIMetricDataPointsList')
214
+ OFIModelPerformance = Shapes::StructureShape.new(name: 'OFIModelPerformance')
215
+ OFITrainingMetricsValue = Shapes::StructureShape.new(name: 'OFITrainingMetricsValue')
203
216
  Outcome = Shapes::StructureShape.new(name: 'Outcome')
204
217
  OutcomeList = Shapes::ListShape.new(name: 'OutcomeList')
205
218
  OutcomesMaxResults = Shapes::IntegerShape.new(name: 'OutcomesMaxResults')
@@ -230,6 +243,10 @@ module Aws::FraudDetector
230
243
  RulesMaxResults = Shapes::IntegerShape.new(name: 'RulesMaxResults')
231
244
  SendEventRequest = Shapes::StructureShape.new(name: 'SendEventRequest')
232
245
  SendEventResult = Shapes::StructureShape.new(name: 'SendEventResult')
246
+ TFIMetricDataPoint = Shapes::StructureShape.new(name: 'TFIMetricDataPoint')
247
+ TFIMetricDataPointsList = Shapes::ListShape.new(name: 'TFIMetricDataPointsList')
248
+ TFIModelPerformance = Shapes::StructureShape.new(name: 'TFIModelPerformance')
249
+ TFITrainingMetricsValue = Shapes::StructureShape.new(name: 'TFITrainingMetricsValue')
233
250
  Tag = Shapes::StructureShape.new(name: 'Tag')
234
251
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
235
252
  TagResourceResult = Shapes::StructureShape.new(name: 'TagResourceResult')
@@ -238,7 +255,9 @@ module Aws::FraudDetector
238
255
  TrainingDataSchema = Shapes::StructureShape.new(name: 'TrainingDataSchema')
239
256
  TrainingDataSourceEnum = Shapes::StringShape.new(name: 'TrainingDataSourceEnum')
240
257
  TrainingMetrics = Shapes::StructureShape.new(name: 'TrainingMetrics')
258
+ TrainingMetricsV2 = Shapes::StructureShape.new(name: 'TrainingMetricsV2')
241
259
  TrainingResult = Shapes::StructureShape.new(name: 'TrainingResult')
260
+ TrainingResultV2 = Shapes::StructureShape.new(name: 'TrainingResultV2')
242
261
  UnlabeledEventsTreatment = Shapes::StringShape.new(name: 'UnlabeledEventsTreatment')
243
262
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
244
263
  UntagResourceResult = Shapes::StructureShape.new(name: 'UntagResourceResult')
@@ -318,9 +337,36 @@ module Aws::FraudDetector
318
337
  variableValue = Shapes::StringShape.new(name: 'variableValue')
319
338
  wholeNumberVersionString = Shapes::StringShape.new(name: 'wholeNumberVersionString')
320
339
 
340
+ ATIMetricDataPoint.add_member(:cr, Shapes::ShapeRef.new(shape: float, location_name: "cr"))
341
+ ATIMetricDataPoint.add_member(:adr, Shapes::ShapeRef.new(shape: float, location_name: "adr"))
342
+ ATIMetricDataPoint.add_member(:threshold, Shapes::ShapeRef.new(shape: float, location_name: "threshold"))
343
+ ATIMetricDataPoint.add_member(:atodr, Shapes::ShapeRef.new(shape: float, location_name: "atodr"))
344
+ ATIMetricDataPoint.struct_class = Types::ATIMetricDataPoint
345
+
346
+ ATIMetricDataPointsList.member = Shapes::ShapeRef.new(shape: ATIMetricDataPoint)
347
+
348
+ ATIModelPerformance.add_member(:asi, Shapes::ShapeRef.new(shape: float, location_name: "asi"))
349
+ ATIModelPerformance.struct_class = Types::ATIModelPerformance
350
+
351
+ ATITrainingMetricsValue.add_member(:metric_data_points, Shapes::ShapeRef.new(shape: ATIMetricDataPointsList, location_name: "metricDataPoints"))
352
+ ATITrainingMetricsValue.add_member(:model_performance, Shapes::ShapeRef.new(shape: ATIModelPerformance, location_name: "modelPerformance"))
353
+ ATITrainingMetricsValue.struct_class = Types::ATITrainingMetricsValue
354
+
321
355
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: string, required: true, location_name: "message"))
322
356
  AccessDeniedException.struct_class = Types::AccessDeniedException
323
357
 
358
+ AggregatedLogOddsMetric.add_member(:variable_names, Shapes::ShapeRef.new(shape: ListOfStrings, required: true, location_name: "variableNames"))
359
+ AggregatedLogOddsMetric.add_member(:aggregated_variables_importance, Shapes::ShapeRef.new(shape: float, required: true, location_name: "aggregatedVariablesImportance"))
360
+ AggregatedLogOddsMetric.struct_class = Types::AggregatedLogOddsMetric
361
+
362
+ AggregatedVariablesImpactExplanation.add_member(:event_variable_names, Shapes::ShapeRef.new(shape: ListOfStrings, location_name: "eventVariableNames"))
363
+ AggregatedVariablesImpactExplanation.add_member(:relative_impact, Shapes::ShapeRef.new(shape: string, location_name: "relativeImpact"))
364
+ AggregatedVariablesImpactExplanation.add_member(:log_odds_impact, Shapes::ShapeRef.new(shape: float, location_name: "logOddsImpact"))
365
+ AggregatedVariablesImpactExplanation.struct_class = Types::AggregatedVariablesImpactExplanation
366
+
367
+ AggregatedVariablesImportanceMetrics.add_member(:log_odds_metrics, Shapes::ShapeRef.new(shape: ListOfAggregatedLogOddsMetrics, location_name: "logOddsMetrics"))
368
+ AggregatedVariablesImportanceMetrics.struct_class = Types::AggregatedVariablesImportanceMetrics
369
+
324
370
  BatchCreateVariableError.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
325
371
  BatchCreateVariableError.add_member(:code, Shapes::ShapeRef.new(shape: integer, location_name: "code"))
326
372
  BatchCreateVariableError.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
@@ -952,7 +998,7 @@ module Aws::FraudDetector
952
998
  Label.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
953
999
  Label.struct_class = Types::Label
954
1000
 
955
- LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: labelMapper, required: true, location_name: "labelMapper"))
1001
+ LabelSchema.add_member(:label_mapper, Shapes::ShapeRef.new(shape: labelMapper, location_name: "labelMapper"))
956
1002
  LabelSchema.add_member(:unlabeled_events_treatment, Shapes::ShapeRef.new(shape: UnlabeledEventsTreatment, location_name: "unlabeledEventsTreatment"))
957
1003
  LabelSchema.struct_class = Types::LabelSchema
958
1004
 
@@ -969,6 +1015,10 @@ module Aws::FraudDetector
969
1015
  ListEventPredictionsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
970
1016
  ListEventPredictionsResult.struct_class = Types::ListEventPredictionsResult
971
1017
 
1018
+ ListOfAggregatedLogOddsMetrics.member = Shapes::ShapeRef.new(shape: AggregatedLogOddsMetric)
1019
+
1020
+ ListOfAggregatedVariablesImpactExplanations.member = Shapes::ShapeRef.new(shape: AggregatedVariablesImpactExplanation)
1021
+
972
1022
  ListOfEvaluatedExternalModels.member = Shapes::ShapeRef.new(shape: EvaluatedExternalModel)
973
1023
 
974
1024
  ListOfEvaluatedModelVersions.member = Shapes::ShapeRef.new(shape: EvaluatedModelVersion)
@@ -1064,6 +1114,7 @@ module Aws::FraudDetector
1064
1114
  ModelVersionDetail.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
1065
1115
  ModelVersionDetail.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
1066
1116
  ModelVersionDetail.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
1117
+ ModelVersionDetail.add_member(:training_result_v2, Shapes::ShapeRef.new(shape: TrainingResultV2, location_name: "trainingResultV2"))
1067
1118
  ModelVersionDetail.struct_class = Types::ModelVersionDetail
1068
1119
 
1069
1120
  ModelVersionEvaluation.add_member(:output_variable_name, Shapes::ShapeRef.new(shape: string, location_name: "outputVariableName"))
@@ -1075,6 +1126,21 @@ module Aws::FraudDetector
1075
1126
 
1076
1127
  NonEmptyListOfStrings.member = Shapes::ShapeRef.new(shape: string)
1077
1128
 
1129
+ OFIMetricDataPoint.add_member(:fpr, Shapes::ShapeRef.new(shape: float, location_name: "fpr"))
1130
+ OFIMetricDataPoint.add_member(:precision, Shapes::ShapeRef.new(shape: float, location_name: "precision"))
1131
+ OFIMetricDataPoint.add_member(:tpr, Shapes::ShapeRef.new(shape: float, location_name: "tpr"))
1132
+ OFIMetricDataPoint.add_member(:threshold, Shapes::ShapeRef.new(shape: float, location_name: "threshold"))
1133
+ OFIMetricDataPoint.struct_class = Types::OFIMetricDataPoint
1134
+
1135
+ OFIMetricDataPointsList.member = Shapes::ShapeRef.new(shape: OFIMetricDataPoint)
1136
+
1137
+ OFIModelPerformance.add_member(:auc, Shapes::ShapeRef.new(shape: float, location_name: "auc"))
1138
+ OFIModelPerformance.struct_class = Types::OFIModelPerformance
1139
+
1140
+ OFITrainingMetricsValue.add_member(:metric_data_points, Shapes::ShapeRef.new(shape: OFIMetricDataPointsList, location_name: "metricDataPoints"))
1141
+ OFITrainingMetricsValue.add_member(:model_performance, Shapes::ShapeRef.new(shape: OFIModelPerformance, location_name: "modelPerformance"))
1142
+ OFITrainingMetricsValue.struct_class = Types::OFITrainingMetricsValue
1143
+
1078
1144
  Outcome.add_member(:name, Shapes::ShapeRef.new(shape: identifier, location_name: "name"))
1079
1145
  Outcome.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
1080
1146
  Outcome.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
@@ -1085,6 +1151,7 @@ module Aws::FraudDetector
1085
1151
  OutcomeList.member = Shapes::ShapeRef.new(shape: Outcome)
1086
1152
 
1087
1153
  PredictionExplanations.add_member(:variable_impact_explanations, Shapes::ShapeRef.new(shape: listOfVariableImpactExplanations, location_name: "variableImpactExplanations"))
1154
+ PredictionExplanations.add_member(:aggregated_variables_impact_explanations, Shapes::ShapeRef.new(shape: ListOfAggregatedVariablesImpactExplanations, location_name: "aggregatedVariablesImpactExplanations"))
1088
1155
  PredictionExplanations.struct_class = Types::PredictionExplanations
1089
1156
 
1090
1157
  PredictionTimeRange.add_member(:start_time, Shapes::ShapeRef.new(shape: time, required: true, location_name: "startTime"))
@@ -1189,6 +1256,21 @@ module Aws::FraudDetector
1189
1256
 
1190
1257
  SendEventResult.struct_class = Types::SendEventResult
1191
1258
 
1259
+ TFIMetricDataPoint.add_member(:fpr, Shapes::ShapeRef.new(shape: float, location_name: "fpr"))
1260
+ TFIMetricDataPoint.add_member(:precision, Shapes::ShapeRef.new(shape: float, location_name: "precision"))
1261
+ TFIMetricDataPoint.add_member(:tpr, Shapes::ShapeRef.new(shape: float, location_name: "tpr"))
1262
+ TFIMetricDataPoint.add_member(:threshold, Shapes::ShapeRef.new(shape: float, location_name: "threshold"))
1263
+ TFIMetricDataPoint.struct_class = Types::TFIMetricDataPoint
1264
+
1265
+ TFIMetricDataPointsList.member = Shapes::ShapeRef.new(shape: TFIMetricDataPoint)
1266
+
1267
+ TFIModelPerformance.add_member(:auc, Shapes::ShapeRef.new(shape: float, location_name: "auc"))
1268
+ TFIModelPerformance.struct_class = Types::TFIModelPerformance
1269
+
1270
+ TFITrainingMetricsValue.add_member(:metric_data_points, Shapes::ShapeRef.new(shape: TFIMetricDataPointsList, location_name: "metricDataPoints"))
1271
+ TFITrainingMetricsValue.add_member(:model_performance, Shapes::ShapeRef.new(shape: TFIModelPerformance, location_name: "modelPerformance"))
1272
+ TFITrainingMetricsValue.struct_class = Types::TFITrainingMetricsValue
1273
+
1192
1274
  Tag.add_member(:key, Shapes::ShapeRef.new(shape: tagKey, required: true, location_name: "key"))
1193
1275
  Tag.add_member(:value, Shapes::ShapeRef.new(shape: tagValue, required: true, location_name: "value"))
1194
1276
  Tag.struct_class = Types::Tag
@@ -1203,18 +1285,29 @@ module Aws::FraudDetector
1203
1285
  ThrottlingException.struct_class = Types::ThrottlingException
1204
1286
 
1205
1287
  TrainingDataSchema.add_member(:model_variables, Shapes::ShapeRef.new(shape: ListOfStrings, required: true, location_name: "modelVariables"))
1206
- TrainingDataSchema.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, required: true, location_name: "labelSchema"))
1288
+ TrainingDataSchema.add_member(:label_schema, Shapes::ShapeRef.new(shape: LabelSchema, location_name: "labelSchema"))
1207
1289
  TrainingDataSchema.struct_class = Types::TrainingDataSchema
1208
1290
 
1209
1291
  TrainingMetrics.add_member(:auc, Shapes::ShapeRef.new(shape: float, location_name: "auc"))
1210
1292
  TrainingMetrics.add_member(:metric_data_points, Shapes::ShapeRef.new(shape: metricDataPointsList, location_name: "metricDataPoints"))
1211
1293
  TrainingMetrics.struct_class = Types::TrainingMetrics
1212
1294
 
1295
+ TrainingMetricsV2.add_member(:ofi, Shapes::ShapeRef.new(shape: OFITrainingMetricsValue, location_name: "ofi"))
1296
+ TrainingMetricsV2.add_member(:tfi, Shapes::ShapeRef.new(shape: TFITrainingMetricsValue, location_name: "tfi"))
1297
+ TrainingMetricsV2.add_member(:ati, Shapes::ShapeRef.new(shape: ATITrainingMetricsValue, location_name: "ati"))
1298
+ TrainingMetricsV2.struct_class = Types::TrainingMetricsV2
1299
+
1213
1300
  TrainingResult.add_member(:data_validation_metrics, Shapes::ShapeRef.new(shape: DataValidationMetrics, location_name: "dataValidationMetrics"))
1214
1301
  TrainingResult.add_member(:training_metrics, Shapes::ShapeRef.new(shape: TrainingMetrics, location_name: "trainingMetrics"))
1215
1302
  TrainingResult.add_member(:variable_importance_metrics, Shapes::ShapeRef.new(shape: VariableImportanceMetrics, location_name: "variableImportanceMetrics"))
1216
1303
  TrainingResult.struct_class = Types::TrainingResult
1217
1304
 
1305
+ TrainingResultV2.add_member(:data_validation_metrics, Shapes::ShapeRef.new(shape: DataValidationMetrics, location_name: "dataValidationMetrics"))
1306
+ TrainingResultV2.add_member(:training_metrics_v2, Shapes::ShapeRef.new(shape: TrainingMetricsV2, location_name: "trainingMetricsV2"))
1307
+ TrainingResultV2.add_member(:variable_importance_metrics, Shapes::ShapeRef.new(shape: VariableImportanceMetrics, location_name: "variableImportanceMetrics"))
1308
+ TrainingResultV2.add_member(:aggregated_variables_importance_metrics, Shapes::ShapeRef.new(shape: AggregatedVariablesImportanceMetrics, location_name: "aggregatedVariablesImportanceMetrics"))
1309
+ TrainingResultV2.struct_class = Types::TrainingResultV2
1310
+
1218
1311
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, required: true, location_name: "resourceARN"))
1219
1312
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: tagKeyList, required: true, location_name: "tagKeys"))
1220
1313
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1353,7 +1446,7 @@ module Aws::FraudDetector
1353
1446
  labelList.member = Shapes::ShapeRef.new(shape: Label)
1354
1447
 
1355
1448
  labelMapper.key = Shapes::ShapeRef.new(shape: string)
1356
- labelMapper.value = Shapes::ShapeRef.new(shape: NonEmptyListOfStrings)
1449
+ labelMapper.value = Shapes::ShapeRef.new(shape: ListOfStrings)
1357
1450
 
1358
1451
  listOfEntities.member = Shapes::ShapeRef.new(shape: Entity)
1359
1452
 
@@ -10,6 +10,89 @@
10
10
  module Aws::FraudDetector
11
11
  module Types
12
12
 
13
+ # The Account Takeover Insights (ATI) model performance metrics data
14
+ # points.
15
+ #
16
+ # @!attribute [rw] cr
17
+ # The challenge rate. This indicates the percentage of login events
18
+ # that the model recommends to challenge such as one-time password,
19
+ # multi-factor authentication, and investigations.
20
+ # @return [Float]
21
+ #
22
+ # @!attribute [rw] adr
23
+ # The anomaly discovery rate. This metric quantifies the percentage of
24
+ # anomalies that can be detected by the model at the selected score
25
+ # threshold. A lower score threshold increases the percentage of
26
+ # anomalies captured by the model, but would also require challenging
27
+ # a larger percentage of login events, leading to a higher customer
28
+ # friction.
29
+ # @return [Float]
30
+ #
31
+ # @!attribute [rw] threshold
32
+ # The model's threshold that specifies an acceptable fraud capture
33
+ # rate. For example, a threshold of 500 means any model score 500 or
34
+ # above is labeled as fraud.
35
+ # @return [Float]
36
+ #
37
+ # @!attribute [rw] atodr
38
+ # The account takeover discovery rate. This metric quantifies the
39
+ # percentage of account compromise events that can be detected by the
40
+ # model at the selected score threshold. This metric is only available
41
+ # if 50 or more entities with at-least one labeled account takeover
42
+ # event is present in the ingested dataset.
43
+ # @return [Float]
44
+ #
45
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ATIMetricDataPoint AWS API Documentation
46
+ #
47
+ class ATIMetricDataPoint < Struct.new(
48
+ :cr,
49
+ :adr,
50
+ :threshold,
51
+ :atodr)
52
+ SENSITIVE = []
53
+ include Aws::Structure
54
+ end
55
+
56
+ # The Account Takeover Insights (ATI) model performance score.
57
+ #
58
+ # @!attribute [rw] asi
59
+ # The anomaly separation index (ASI) score. This metric summarizes the
60
+ # overall ability of the model to separate anomalous activities from
61
+ # the normal behavior. Depending on the business, a large fraction of
62
+ # these anomalous activities can be malicious and correspond to the
63
+ # account takeover attacks. A model with no separability power will
64
+ # have the lowest possible ASI score of 0.5, whereas the a model with
65
+ # a high separability power will have the highest possible ASI score
66
+ # of 1.0
67
+ # @return [Float]
68
+ #
69
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ATIModelPerformance AWS API Documentation
70
+ #
71
+ class ATIModelPerformance < Struct.new(
72
+ :asi)
73
+ SENSITIVE = []
74
+ include Aws::Structure
75
+ end
76
+
77
+ # The Account Takeover Insights (ATI) model training metric details.
78
+ #
79
+ # @!attribute [rw] metric_data_points
80
+ # The model's performance metrics data points.
81
+ # @return [Array<Types::ATIMetricDataPoint>]
82
+ #
83
+ # @!attribute [rw] model_performance
84
+ # The model's overall performance scores.
85
+ # @return [Types::ATIModelPerformance]
86
+ #
87
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ATITrainingMetricsValue AWS API Documentation
88
+ #
89
+ class ATITrainingMetricsValue < Struct.new(
90
+ :metric_data_points,
91
+ :model_performance)
92
+ SENSITIVE = []
93
+ include Aws::Structure
94
+ end
95
+
13
96
  # An exception indicating Amazon Fraud Detector does not have the needed
14
97
  # permissions. This can occur if you submit a request, such as
15
98
  # `PutExternalModel`, that specifies a role that is not in your account.
@@ -25,6 +108,96 @@ module Aws::FraudDetector
25
108
  include Aws::Structure
26
109
  end
27
110
 
111
+ # The log odds metric details.
112
+ #
113
+ # Account Takeover Insights (ATI) model uses event variables from the
114
+ # login data you provide to continuously calculate a set of variables
115
+ # (aggregated variables) based on historical events. For example, your
116
+ # ATI model might calculate the number of times an user has logged in
117
+ # using the same IP address. In this case, event variables used to
118
+ # derive the aggregated variables are `IP address` and `user`.
119
+ #
120
+ # @!attribute [rw] variable_names
121
+ # The names of all the variables.
122
+ # @return [Array<String>]
123
+ #
124
+ # @!attribute [rw] aggregated_variables_importance
125
+ # The relative importance of the variables in the list to the other
126
+ # event variable.
127
+ # @return [Float]
128
+ #
129
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/AggregatedLogOddsMetric AWS API Documentation
130
+ #
131
+ class AggregatedLogOddsMetric < Struct.new(
132
+ :variable_names,
133
+ :aggregated_variables_importance)
134
+ SENSITIVE = []
135
+ include Aws::Structure
136
+ end
137
+
138
+ # The details of the impact of aggregated variables on the prediction
139
+ # score.
140
+ #
141
+ # Account Takeover Insights (ATI) model uses the login data you provide
142
+ # to continuously calculate a set of variables (aggregated variables)
143
+ # based on historical events. For example, the model might calculate the
144
+ # number of times an user has logged in using the same IP address. In
145
+ # this case, event variables used to derive the aggregated variables are
146
+ # `IP address` and `user`.
147
+ #
148
+ # @!attribute [rw] event_variable_names
149
+ # The names of all the event variables that were used to derive the
150
+ # aggregated variables.
151
+ # @return [Array<String>]
152
+ #
153
+ # @!attribute [rw] relative_impact
154
+ # The relative impact of the aggregated variables in terms of
155
+ # magnitude on the prediction scores.
156
+ # @return [String]
157
+ #
158
+ # @!attribute [rw] log_odds_impact
159
+ # The raw, uninterpreted value represented as log-odds of the fraud.
160
+ # These values are usually between -10 to +10, but range from
161
+ # -infinity to +infinity.
162
+ #
163
+ # * A positive value indicates that the variables drove the risk score
164
+ # up.
165
+ #
166
+ # * A negative value indicates that the variables drove the risk score
167
+ # down.
168
+ # @return [Float]
169
+ #
170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/AggregatedVariablesImpactExplanation AWS API Documentation
171
+ #
172
+ class AggregatedVariablesImpactExplanation < Struct.new(
173
+ :event_variable_names,
174
+ :relative_impact,
175
+ :log_odds_impact)
176
+ SENSITIVE = []
177
+ include Aws::Structure
178
+ end
179
+
180
+ # The details of the relative importance of the aggregated variables.
181
+ #
182
+ # Account Takeover Insights (ATI) model uses event variables from the
183
+ # login data you provide to continuously calculate a set of variables
184
+ # (aggregated variables) based on historical events. For example, your
185
+ # ATI model might calculate the number of times an user has logged in
186
+ # using the same IP address. In this case, event variables used to
187
+ # derive the aggregated variables are `IP address` and `user`.
188
+ #
189
+ # @!attribute [rw] log_odds_metrics
190
+ # List of variables' metrics.
191
+ # @return [Array<Types::AggregatedLogOddsMetric>]
192
+ #
193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/AggregatedVariablesImportanceMetrics AWS API Documentation
194
+ #
195
+ class AggregatedVariablesImportanceMetrics < Struct.new(
196
+ :log_odds_metrics)
197
+ SENSITIVE = []
198
+ include Aws::Structure
199
+ end
200
+
28
201
  # Provides the error of the batch create variable API.
29
202
  #
30
203
  # @!attribute [rw] name
@@ -419,8 +592,16 @@ module Aws::FraudDetector
419
592
  #
420
593
  # @!attribute [rw] iam_role_arn
421
594
  # The ARN of the IAM role created for Amazon S3 bucket that holds your
422
- # data file. The IAM role must have read and write permissions to both
423
- # input and output S3 buckets.
595
+ # data file.
596
+ #
597
+ # The IAM role must have read permissions to your input S3 bucket and
598
+ # write permissions to your output S3 bucket. For more information
599
+ # about bucket permissions, see [User policy examples][1] in the
600
+ # *Amazon S3 User Guide*.
601
+ #
602
+ #
603
+ #
604
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-policies-s3.html
424
605
  # @return [String]
425
606
  #
426
607
  # @!attribute [rw] tags
@@ -489,6 +670,15 @@ module Aws::FraudDetector
489
670
  #
490
671
  # @!attribute [rw] iam_role_arn
491
672
  # The ARN of the IAM role to use for this job request.
673
+ #
674
+ # The IAM Role must have read permissions to your input S3 bucket and
675
+ # write permissions to your output S3 bucket. For more information
676
+ # about bucket permissions, see [User policy examples][1] in the
677
+ # *Amazon S3 User Guide*.
678
+ #
679
+ #
680
+ #
681
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-policies-s3.html
492
682
  # @return [String]
493
683
  #
494
684
  # @!attribute [rw] tags
@@ -531,7 +721,7 @@ module Aws::FraudDetector
531
721
  # model_versions: [
532
722
  # {
533
723
  # model_id: "modelIdentifier", # required
534
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
724
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
535
725
  # model_version_number: "floatVersionString", # required
536
726
  # arn: "fraudDetectorArn",
537
727
  # },
@@ -629,7 +819,7 @@ module Aws::FraudDetector
629
819
  #
630
820
  # {
631
821
  # model_id: "modelIdentifier", # required
632
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
822
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
633
823
  # description: "description",
634
824
  # event_type_name: "string", # required
635
825
  # tags: [
@@ -681,12 +871,12 @@ module Aws::FraudDetector
681
871
  #
682
872
  # {
683
873
  # model_id: "modelIdentifier", # required
684
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
874
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
685
875
  # training_data_source: "EXTERNAL_EVENTS", # required, accepts EXTERNAL_EVENTS, INGESTED_EVENTS
686
876
  # training_data_schema: { # required
687
877
  # model_variables: ["string"], # required
688
- # label_schema: { # required
689
- # label_mapper: { # required
878
+ # label_schema: {
879
+ # label_mapper: {
690
880
  # "string" => ["string"],
691
881
  # },
692
882
  # unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT
@@ -931,10 +1121,10 @@ module Aws::FraudDetector
931
1121
  #
932
1122
  class CreateVariableResult < Aws::EmptyStructure; end
933
1123
 
934
- # The model training validation messages.
1124
+ # The model training data validation metrics.
935
1125
  #
936
1126
  # @!attribute [rw] file_level_messages
937
- # The file-specific model training validation messages.
1127
+ # The file-specific model training data validation messages.
938
1128
  # @return [Array<Types::FileValidationMessage>]
939
1129
  #
940
1130
  # @!attribute [rw] field_level_messages
@@ -1217,7 +1407,7 @@ module Aws::FraudDetector
1217
1407
  #
1218
1408
  # {
1219
1409
  # model_id: "modelIdentifier", # required
1220
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
1410
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
1221
1411
  # }
1222
1412
  #
1223
1413
  # @!attribute [rw] model_id
@@ -1246,7 +1436,7 @@ module Aws::FraudDetector
1246
1436
  #
1247
1437
  # {
1248
1438
  # model_id: "modelIdentifier", # required
1249
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
1439
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
1250
1440
  # model_version_number: "floatVersionString", # required
1251
1441
  # }
1252
1442
  #
@@ -1413,7 +1603,7 @@ module Aws::FraudDetector
1413
1603
  # {
1414
1604
  # model_id: "modelIdentifier",
1415
1605
  # model_version_number: "floatVersionString",
1416
- # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
1606
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
1417
1607
  # next_token: "string",
1418
1608
  # max_results: 1,
1419
1609
  # }
@@ -2868,7 +3058,7 @@ module Aws::FraudDetector
2868
3058
  #
2869
3059
  # {
2870
3060
  # model_id: "modelIdentifier", # required
2871
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
3061
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
2872
3062
  # model_version_number: "floatVersionString", # required
2873
3063
  # }
2874
3064
  #
@@ -2975,7 +3165,7 @@ module Aws::FraudDetector
2975
3165
  #
2976
3166
  # {
2977
3167
  # model_id: "modelIdentifier",
2978
- # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
3168
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
2979
3169
  # next_token: "string",
2980
3170
  # max_results: 1,
2981
3171
  # }
@@ -3332,7 +3522,7 @@ module Aws::FraudDetector
3332
3522
  # data as a hash:
3333
3523
  #
3334
3524
  # {
3335
- # label_mapper: { # required
3525
+ # label_mapper: {
3336
3526
  # "string" => ["string"],
3337
3527
  # },
3338
3528
  # unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT
@@ -3754,7 +3944,7 @@ module Aws::FraudDetector
3754
3944
  #
3755
3945
  # {
3756
3946
  # model_id: "modelIdentifier", # required
3757
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
3947
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
3758
3948
  # model_version_number: "floatVersionString", # required
3759
3949
  # arn: "fraudDetectorArn",
3760
3950
  # }
@@ -3840,6 +4030,11 @@ module Aws::FraudDetector
3840
4030
  # The model version ARN.
3841
4031
  # @return [String]
3842
4032
  #
4033
+ # @!attribute [rw] training_result_v2
4034
+ # The training result details. The details include the relative
4035
+ # importance of the variables.
4036
+ # @return [Types::TrainingResultV2]
4037
+ #
3843
4038
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ModelVersionDetail AWS API Documentation
3844
4039
  #
3845
4040
  class ModelVersionDetail < Struct.new(
@@ -3854,7 +4049,8 @@ module Aws::FraudDetector
3854
4049
  :training_result,
3855
4050
  :last_updated_time,
3856
4051
  :created_time,
3857
- :arn)
4052
+ :arn,
4053
+ :training_result_v2)
3858
4054
  SENSITIVE = []
3859
4055
  include Aws::Structure
3860
4056
  end
@@ -3883,6 +4079,75 @@ module Aws::FraudDetector
3883
4079
  include Aws::Structure
3884
4080
  end
3885
4081
 
4082
+ # The Online Fraud Insights (OFI) model performance metrics data points.
4083
+ #
4084
+ # @!attribute [rw] fpr
4085
+ # The false positive rate. This is the percentage of total legitimate
4086
+ # events that are incorrectly predicted as fraud.
4087
+ # @return [Float]
4088
+ #
4089
+ # @!attribute [rw] precision
4090
+ # The percentage of fraud events correctly predicted as fraudulent as
4091
+ # compared to all events predicted as fraudulent.
4092
+ # @return [Float]
4093
+ #
4094
+ # @!attribute [rw] tpr
4095
+ # The true positive rate. This is the percentage of total fraud the
4096
+ # model detects. Also known as capture rate.
4097
+ # @return [Float]
4098
+ #
4099
+ # @!attribute [rw] threshold
4100
+ # The model threshold that specifies an acceptable fraud capture rate.
4101
+ # For example, a threshold of 500 means any model score 500 or above
4102
+ # is labeled as fraud.
4103
+ # @return [Float]
4104
+ #
4105
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/OFIMetricDataPoint AWS API Documentation
4106
+ #
4107
+ class OFIMetricDataPoint < Struct.new(
4108
+ :fpr,
4109
+ :precision,
4110
+ :tpr,
4111
+ :threshold)
4112
+ SENSITIVE = []
4113
+ include Aws::Structure
4114
+ end
4115
+
4116
+ # The Online Fraud Insights (OFI) model performance score.
4117
+ #
4118
+ # @!attribute [rw] auc
4119
+ # The area under the curve (auc). This summarizes the total positive
4120
+ # rate (tpr) and false positive rate (FPR) across all possible model
4121
+ # score thresholds.
4122
+ # @return [Float]
4123
+ #
4124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/OFIModelPerformance AWS API Documentation
4125
+ #
4126
+ class OFIModelPerformance < Struct.new(
4127
+ :auc)
4128
+ SENSITIVE = []
4129
+ include Aws::Structure
4130
+ end
4131
+
4132
+ # The Online Fraud Insights (OFI) model training metric details.
4133
+ #
4134
+ # @!attribute [rw] metric_data_points
4135
+ # The model's performance metrics data points.
4136
+ # @return [Array<Types::OFIMetricDataPoint>]
4137
+ #
4138
+ # @!attribute [rw] model_performance
4139
+ # The model's overall performance score.
4140
+ # @return [Types::OFIModelPerformance]
4141
+ #
4142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/OFITrainingMetricsValue AWS API Documentation
4143
+ #
4144
+ class OFITrainingMetricsValue < Struct.new(
4145
+ :metric_data_points,
4146
+ :model_performance)
4147
+ SENSITIVE = []
4148
+ include Aws::Structure
4149
+ end
4150
+
3886
4151
  # The outcome.
3887
4152
  #
3888
4153
  # @!attribute [rw] name
@@ -3924,10 +4189,23 @@ module Aws::FraudDetector
3924
4189
  # The details of the event variable's impact on the prediction score.
3925
4190
  # @return [Array<Types::VariableImpactExplanation>]
3926
4191
  #
4192
+ # @!attribute [rw] aggregated_variables_impact_explanations
4193
+ # The details of the aggregated variables impact on the prediction
4194
+ # score.
4195
+ #
4196
+ # Account Takeover Insights (ATI) model uses event variables from the
4197
+ # login data you provide to continuously calculate a set of variables
4198
+ # (aggregated variables) based on historical events. For example, your
4199
+ # ATI model might calculate the number of times an user has logged in
4200
+ # using the same IP address. In this case, event variables used to
4201
+ # derive the aggregated variables are `IP address` and `user`.
4202
+ # @return [Array<Types::AggregatedVariablesImpactExplanation>]
4203
+ #
3927
4204
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PredictionExplanations AWS API Documentation
3928
4205
  #
3929
4206
  class PredictionExplanations < Struct.new(
3930
- :variable_impact_explanations)
4207
+ :variable_impact_explanations,
4208
+ :aggregated_variables_impact_explanations)
3931
4209
  SENSITIVE = []
3932
4210
  include Aws::Structure
3933
4211
  end
@@ -4199,6 +4477,9 @@ module Aws::FraudDetector
4199
4477
  #
4200
4478
  # @!attribute [rw] kms_encryption_key_arn
4201
4479
  # The KMS encryption key ARN.
4480
+ #
4481
+ # The KMS key must be single-Region key. Amazon Fraud Detector does
4482
+ # not support multi-Region KMS key.
4202
4483
  # @return [String]
4203
4484
  #
4204
4485
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutKMSEncryptionKeyRequest AWS API Documentation
@@ -4501,6 +4782,76 @@ module Aws::FraudDetector
4501
4782
  #
4502
4783
  class SendEventResult < Aws::EmptyStructure; end
4503
4784
 
4785
+ # The performance metrics data points for Transaction Fraud Insights
4786
+ # (TFI) model.
4787
+ #
4788
+ # @!attribute [rw] fpr
4789
+ # The false positive rate. This is the percentage of total legitimate
4790
+ # events that are incorrectly predicted as fraud.
4791
+ # @return [Float]
4792
+ #
4793
+ # @!attribute [rw] precision
4794
+ # The percentage of fraud events correctly predicted as fraudulent as
4795
+ # compared to all events predicted as fraudulent.
4796
+ # @return [Float]
4797
+ #
4798
+ # @!attribute [rw] tpr
4799
+ # The true positive rate. This is the percentage of total fraud the
4800
+ # model detects. Also known as capture rate.
4801
+ # @return [Float]
4802
+ #
4803
+ # @!attribute [rw] threshold
4804
+ # The model threshold that specifies an acceptable fraud capture rate.
4805
+ # For example, a threshold of 500 means any model score 500 or above
4806
+ # is labeled as fraud.
4807
+ # @return [Float]
4808
+ #
4809
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TFIMetricDataPoint AWS API Documentation
4810
+ #
4811
+ class TFIMetricDataPoint < Struct.new(
4812
+ :fpr,
4813
+ :precision,
4814
+ :tpr,
4815
+ :threshold)
4816
+ SENSITIVE = []
4817
+ include Aws::Structure
4818
+ end
4819
+
4820
+ # The Transaction Fraud Insights (TFI) model performance score.
4821
+ #
4822
+ # @!attribute [rw] auc
4823
+ # The area under the curve (auc). This summarizes the total positive
4824
+ # rate (tpr) and false positive rate (FPR) across all possible model
4825
+ # score thresholds.
4826
+ # @return [Float]
4827
+ #
4828
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TFIModelPerformance AWS API Documentation
4829
+ #
4830
+ class TFIModelPerformance < Struct.new(
4831
+ :auc)
4832
+ SENSITIVE = []
4833
+ include Aws::Structure
4834
+ end
4835
+
4836
+ # The Transaction Fraud Insights (TFI) model training metric details.
4837
+ #
4838
+ # @!attribute [rw] metric_data_points
4839
+ # The model's performance metrics data points.
4840
+ # @return [Array<Types::TFIMetricDataPoint>]
4841
+ #
4842
+ # @!attribute [rw] model_performance
4843
+ # The model performance score.
4844
+ # @return [Types::TFIModelPerformance]
4845
+ #
4846
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TFITrainingMetricsValue AWS API Documentation
4847
+ #
4848
+ class TFITrainingMetricsValue < Struct.new(
4849
+ :metric_data_points,
4850
+ :model_performance)
4851
+ SENSITIVE = []
4852
+ include Aws::Structure
4853
+ end
4854
+
4504
4855
  # A key and value pair.
4505
4856
  #
4506
4857
  # @note When making an API call, you may pass Tag
@@ -4582,8 +4933,8 @@ module Aws::FraudDetector
4582
4933
  #
4583
4934
  # {
4584
4935
  # model_variables: ["string"], # required
4585
- # label_schema: { # required
4586
- # label_mapper: { # required
4936
+ # label_schema: {
4937
+ # label_mapper: {
4587
4938
  # "string" => ["string"],
4588
4939
  # },
4589
4940
  # unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT
@@ -4629,6 +4980,30 @@ module Aws::FraudDetector
4629
4980
  include Aws::Structure
4630
4981
  end
4631
4982
 
4983
+ # The training metrics details.
4984
+ #
4985
+ # @!attribute [rw] ofi
4986
+ # The Online Fraud Insights (OFI) model training metric details.
4987
+ # @return [Types::OFITrainingMetricsValue]
4988
+ #
4989
+ # @!attribute [rw] tfi
4990
+ # The Transaction Fraud Insights (TFI) model training metric details.
4991
+ # @return [Types::TFITrainingMetricsValue]
4992
+ #
4993
+ # @!attribute [rw] ati
4994
+ # The Account Takeover Insights (ATI) model training metric details.
4995
+ # @return [Types::ATITrainingMetricsValue]
4996
+ #
4997
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TrainingMetricsV2 AWS API Documentation
4998
+ #
4999
+ class TrainingMetricsV2 < Struct.new(
5000
+ :ofi,
5001
+ :tfi,
5002
+ :ati)
5003
+ SENSITIVE = []
5004
+ include Aws::Structure
5005
+ end
5006
+
4632
5007
  # The training result details.
4633
5008
  #
4634
5009
  # @!attribute [rw] data_validation_metrics
@@ -4653,6 +5028,42 @@ module Aws::FraudDetector
4653
5028
  include Aws::Structure
4654
5029
  end
4655
5030
 
5031
+ # The training result details.
5032
+ #
5033
+ # @!attribute [rw] data_validation_metrics
5034
+ # The model training data validation metrics.
5035
+ # @return [Types::DataValidationMetrics]
5036
+ #
5037
+ # @!attribute [rw] training_metrics_v2
5038
+ # The training metric details.
5039
+ # @return [Types::TrainingMetricsV2]
5040
+ #
5041
+ # @!attribute [rw] variable_importance_metrics
5042
+ # The variable importance metrics details.
5043
+ # @return [Types::VariableImportanceMetrics]
5044
+ #
5045
+ # @!attribute [rw] aggregated_variables_importance_metrics
5046
+ # The variable importance metrics of the aggregated variables.
5047
+ #
5048
+ # Account Takeover Insights (ATI) model uses event variables from the
5049
+ # login data you provide to continuously calculate a set of variables
5050
+ # (aggregated variables) based on historical events. For example, your
5051
+ # ATI model might calculate the number of times an user has logged in
5052
+ # using the same IP address. In this case, event variables used to
5053
+ # derive the aggregated variables are `IP address` and `user`.
5054
+ # @return [Types::AggregatedVariablesImportanceMetrics]
5055
+ #
5056
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TrainingResultV2 AWS API Documentation
5057
+ #
5058
+ class TrainingResultV2 < Struct.new(
5059
+ :data_validation_metrics,
5060
+ :training_metrics_v2,
5061
+ :variable_importance_metrics,
5062
+ :aggregated_variables_importance_metrics)
5063
+ SENSITIVE = []
5064
+ include Aws::Structure
5065
+ end
5066
+
4656
5067
  # @note When making an API call, you may pass UntagResourceRequest
4657
5068
  # data as a hash:
4658
5069
  #
@@ -4735,7 +5146,7 @@ module Aws::FraudDetector
4735
5146
  # model_versions: [
4736
5147
  # {
4737
5148
  # model_id: "modelIdentifier", # required
4738
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
5149
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
4739
5150
  # model_version_number: "floatVersionString", # required
4740
5151
  # arn: "fraudDetectorArn",
4741
5152
  # },
@@ -4821,6 +5232,8 @@ module Aws::FraudDetector
4821
5232
  #
4822
5233
  # @!attribute [rw] status
4823
5234
  # The new status.
5235
+ #
5236
+ # The only supported values are `ACTIVE` and `INACTIVE`
4824
5237
  # @return [String]
4825
5238
  #
4826
5239
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateDetectorVersionStatusRequest AWS API Documentation
@@ -4884,7 +5297,7 @@ module Aws::FraudDetector
4884
5297
  #
4885
5298
  # {
4886
5299
  # model_id: "modelIdentifier", # required
4887
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
5300
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
4888
5301
  # description: "description",
4889
5302
  # }
4890
5303
  #
@@ -4919,7 +5332,7 @@ module Aws::FraudDetector
4919
5332
  #
4920
5333
  # {
4921
5334
  # model_id: "modelIdentifier", # required
4922
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
5335
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
4923
5336
  # major_version_number: "wholeNumberVersionString", # required
4924
5337
  # external_events_detail: {
4925
5338
  # data_location: "s3BucketLocation", # required
@@ -5010,7 +5423,7 @@ module Aws::FraudDetector
5010
5423
  #
5011
5424
  # {
5012
5425
  # model_id: "modelIdentifier", # required
5013
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
5426
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
5014
5427
  # model_version_number: "floatVersionString", # required
5015
5428
  # status: "ACTIVE", # required, accepts ACTIVE, INACTIVE, TRAINING_CANCELLED
5016
5429
  # }
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-frauddetector/customizations'
48
48
  # @!group service
49
49
  module Aws::FraudDetector
50
50
 
51
- GEM_VERSION = '1.33.0'
51
+ GEM_VERSION = '1.35.0'
52
52
 
53
53
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-frauddetector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.0
4
+ version: 1.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-10 00:00:00.000000000 Z
11
+ date: 2022-10-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core