aws-sdk-frauddetector 1.31.0 → 1.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-frauddetector/client.rb +81 -26
- data/lib/aws-sdk-frauddetector/client_api.rb +96 -3
- data/lib/aws-sdk-frauddetector/types.rb +423 -23
- data/lib/aws-sdk-frauddetector.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4af4018b79650dba88c791f86d08b9791750ca33a1ea3ad8addade51587284bb
|
4
|
+
data.tar.gz: '080b13143480e89d84d5ca241f886f9ebd41531dfd67541df13ba54b9d628384'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e3426d3fcab51b18ac957b279a217ee0d980c06e911eb1a7d4c4b35add813269f02fc66118965914838a20919091c9b409062562d55ea14bb89ec35d43263aeb
|
7
|
+
data.tar.gz: 510c3fc7f95f2a30b72fd16f734da50b50474c29a239aab7595e9a00abd0aeb219cb447de72f4c7f11d2c5569eb7c45746d90458e7bcff9a4303a29ef14c261e
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.34.0 (2022-07-21)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* 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.
|
8
|
+
|
9
|
+
1.33.0 (2022-06-10)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation updates for Amazon Fraud Detector (AWSHawksNest)
|
13
|
+
|
14
|
+
1.32.0 (2022-02-24)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.31.0 (2022-02-03)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.34.0
|
@@ -27,6 +27,7 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
31
32
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
32
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
@@ -75,6 +76,7 @@ module Aws::FraudDetector
|
|
75
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
76
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
77
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
78
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
79
81
|
add_plugin(Aws::Plugins::RecursionDetection)
|
80
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
@@ -664,7 +666,7 @@ module Aws::FraudDetector
|
|
664
666
|
# model_versions: [
|
665
667
|
# {
|
666
668
|
# model_id: "modelIdentifier", # required
|
667
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
669
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
668
670
|
# model_version_number: "floatVersionString", # required
|
669
671
|
# arn: "fraudDetectorArn",
|
670
672
|
# },
|
@@ -716,7 +718,7 @@ module Aws::FraudDetector
|
|
716
718
|
#
|
717
719
|
# resp = client.create_model({
|
718
720
|
# model_id: "modelIdentifier", # required
|
719
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
721
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
720
722
|
# description: "description",
|
721
723
|
# event_type_name: "string", # required
|
722
724
|
# tags: [
|
@@ -773,12 +775,12 @@ module Aws::FraudDetector
|
|
773
775
|
#
|
774
776
|
# resp = client.create_model_version({
|
775
777
|
# model_id: "modelIdentifier", # required
|
776
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
778
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
777
779
|
# training_data_source: "EXTERNAL_EVENTS", # required, accepts EXTERNAL_EVENTS, INGESTED_EVENTS
|
778
780
|
# training_data_schema: { # required
|
779
781
|
# model_variables: ["string"], # required
|
780
|
-
# label_schema: {
|
781
|
-
# label_mapper: {
|
782
|
+
# label_schema: {
|
783
|
+
# label_mapper: {
|
782
784
|
# "string" => ["string"],
|
783
785
|
# },
|
784
786
|
# unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT
|
@@ -805,7 +807,7 @@ module Aws::FraudDetector
|
|
805
807
|
# @example Response structure
|
806
808
|
#
|
807
809
|
# resp.model_id #=> String
|
808
|
-
# resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
|
810
|
+
# resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
|
809
811
|
# resp.model_version_number #=> String
|
810
812
|
# resp.status #=> String
|
811
813
|
#
|
@@ -941,7 +943,8 @@ module Aws::FraudDetector
|
|
941
943
|
req.send_request(options)
|
942
944
|
end
|
943
945
|
|
944
|
-
# Deletes
|
946
|
+
# Deletes the specified batch import job ID record. This action does not
|
947
|
+
# delete the data that was batch imported.
|
945
948
|
#
|
946
949
|
# @option params [required, String] :job_id
|
947
950
|
# The ID of the batch import job to delete.
|
@@ -1242,7 +1245,7 @@ module Aws::FraudDetector
|
|
1242
1245
|
#
|
1243
1246
|
# resp = client.delete_model({
|
1244
1247
|
# model_id: "modelIdentifier", # required
|
1245
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
1248
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
1246
1249
|
# })
|
1247
1250
|
#
|
1248
1251
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModel AWS API Documentation
|
@@ -1278,7 +1281,7 @@ module Aws::FraudDetector
|
|
1278
1281
|
#
|
1279
1282
|
# resp = client.delete_model_version({
|
1280
1283
|
# model_id: "modelIdentifier", # required
|
1281
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
1284
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
1282
1285
|
# model_version_number: "floatVersionString", # required
|
1283
1286
|
# })
|
1284
1287
|
#
|
@@ -1459,7 +1462,7 @@ module Aws::FraudDetector
|
|
1459
1462
|
# resp = client.describe_model_versions({
|
1460
1463
|
# model_id: "modelIdentifier",
|
1461
1464
|
# model_version_number: "floatVersionString",
|
1462
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
1465
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
1463
1466
|
# next_token: "string",
|
1464
1467
|
# max_results: 1,
|
1465
1468
|
# })
|
@@ -1468,7 +1471,7 @@ module Aws::FraudDetector
|
|
1468
1471
|
#
|
1469
1472
|
# resp.model_version_details #=> Array
|
1470
1473
|
# resp.model_version_details[0].model_id #=> String
|
1471
|
-
# resp.model_version_details[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
|
1474
|
+
# resp.model_version_details[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
|
1472
1475
|
# resp.model_version_details[0].model_version_number #=> String
|
1473
1476
|
# resp.model_version_details[0].status #=> String
|
1474
1477
|
# resp.model_version_details[0].training_data_source #=> String, one of "EXTERNAL_EVENTS", "INGESTED_EVENTS"
|
@@ -1505,6 +1508,42 @@ module Aws::FraudDetector
|
|
1505
1508
|
# resp.model_version_details[0].last_updated_time #=> String
|
1506
1509
|
# resp.model_version_details[0].created_time #=> String
|
1507
1510
|
# resp.model_version_details[0].arn #=> String
|
1511
|
+
# resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages #=> Array
|
1512
|
+
# resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages[0].title #=> String
|
1513
|
+
# resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages[0].content #=> String
|
1514
|
+
# resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages[0].type #=> String
|
1515
|
+
# resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages #=> Array
|
1516
|
+
# resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].field_name #=> String
|
1517
|
+
# resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].identifier #=> String
|
1518
|
+
# resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].title #=> String
|
1519
|
+
# resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].content #=> String
|
1520
|
+
# resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].type #=> String
|
1521
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points #=> Array
|
1522
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].fpr #=> Float
|
1523
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].precision #=> Float
|
1524
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].tpr #=> Float
|
1525
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].threshold #=> Float
|
1526
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.model_performance.auc #=> Float
|
1527
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points #=> Array
|
1528
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].fpr #=> Float
|
1529
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].precision #=> Float
|
1530
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].tpr #=> Float
|
1531
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].threshold #=> Float
|
1532
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.model_performance.auc #=> Float
|
1533
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points #=> Array
|
1534
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].cr #=> Float
|
1535
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].adr #=> Float
|
1536
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].threshold #=> Float
|
1537
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].atodr #=> Float
|
1538
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.model_performance.asi #=> Float
|
1539
|
+
# resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics #=> Array
|
1540
|
+
# resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics[0].variable_name #=> String
|
1541
|
+
# resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics[0].variable_type #=> String
|
1542
|
+
# resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics[0].variable_importance #=> Float
|
1543
|
+
# resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics #=> Array
|
1544
|
+
# resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics[0].variable_names #=> Array
|
1545
|
+
# resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics[0].variable_names[0] #=> String
|
1546
|
+
# resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics[0].aggregated_variables_importance #=> Float
|
1508
1547
|
# resp.next_token #=> String
|
1509
1548
|
#
|
1510
1549
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeModelVersions AWS API Documentation
|
@@ -1704,7 +1743,7 @@ module Aws::FraudDetector
|
|
1704
1743
|
# resp.external_model_endpoints[0] #=> String
|
1705
1744
|
# resp.model_versions #=> Array
|
1706
1745
|
# resp.model_versions[0].model_id #=> String
|
1707
|
-
# resp.model_versions[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
|
1746
|
+
# resp.model_versions[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
|
1708
1747
|
# resp.model_versions[0].model_version_number #=> String
|
1709
1748
|
# resp.model_versions[0].arn #=> String
|
1710
1749
|
# resp.rules #=> Array
|
@@ -1960,7 +1999,7 @@ module Aws::FraudDetector
|
|
1960
1999
|
#
|
1961
2000
|
# resp.model_scores #=> Array
|
1962
2001
|
# resp.model_scores[0].model_version.model_id #=> String
|
1963
|
-
# resp.model_scores[0].model_version.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
|
2002
|
+
# resp.model_scores[0].model_version.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
|
1964
2003
|
# resp.model_scores[0].model_version.model_version_number #=> String
|
1965
2004
|
# resp.model_scores[0].model_version.arn #=> String
|
1966
2005
|
# resp.model_scores[0].scores #=> Hash
|
@@ -2002,7 +2041,16 @@ module Aws::FraudDetector
|
|
2002
2041
|
# The detector version ID.
|
2003
2042
|
#
|
2004
2043
|
# @option params [required, String] :prediction_timestamp
|
2005
|
-
# The timestamp that defines when the prediction was generated.
|
2044
|
+
# The timestamp that defines when the prediction was generated. The
|
2045
|
+
# timestamp must be specified using ISO 8601 standard in UTC.
|
2046
|
+
#
|
2047
|
+
# We recommend calling [ListEventPredictions][1] first, and using the
|
2048
|
+
# `predictionTimestamp` value in the response to provide an accurate
|
2049
|
+
# prediction timestamp value.
|
2050
|
+
#
|
2051
|
+
#
|
2052
|
+
#
|
2053
|
+
# [1]: https://docs.aws.amazon.com/frauddetector/latest/api/API_ListEventPredictions.html
|
2006
2054
|
#
|
2007
2055
|
# @return [Types::GetEventPredictionMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2008
2056
|
#
|
@@ -2069,6 +2117,11 @@ module Aws::FraudDetector
|
|
2069
2117
|
# resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.variable_impact_explanations[0].event_variable_name #=> String
|
2070
2118
|
# resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.variable_impact_explanations[0].relative_impact #=> String
|
2071
2119
|
# resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.variable_impact_explanations[0].log_odds_impact #=> Float
|
2120
|
+
# resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations #=> Array
|
2121
|
+
# resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].event_variable_names #=> Array
|
2122
|
+
# resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].event_variable_names[0] #=> String
|
2123
|
+
# resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].relative_impact #=> String
|
2124
|
+
# resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].log_odds_impact #=> Float
|
2072
2125
|
# resp.evaluated_external_models #=> Array
|
2073
2126
|
# resp.evaluated_external_models[0].model_endpoint #=> String
|
2074
2127
|
# resp.evaluated_external_models[0].use_event_variables #=> Boolean
|
@@ -2311,14 +2364,14 @@ module Aws::FraudDetector
|
|
2311
2364
|
#
|
2312
2365
|
# resp = client.get_model_version({
|
2313
2366
|
# model_id: "modelIdentifier", # required
|
2314
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
2367
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
2315
2368
|
# model_version_number: "floatVersionString", # required
|
2316
2369
|
# })
|
2317
2370
|
#
|
2318
2371
|
# @example Response structure
|
2319
2372
|
#
|
2320
2373
|
# resp.model_id #=> String
|
2321
|
-
# resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
|
2374
|
+
# resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
|
2322
2375
|
# resp.model_version_number #=> String
|
2323
2376
|
# resp.training_data_source #=> String, one of "EXTERNAL_EVENTS", "INGESTED_EVENTS"
|
2324
2377
|
# resp.training_data_schema.model_variables #=> Array
|
@@ -2379,7 +2432,7 @@ module Aws::FraudDetector
|
|
2379
2432
|
#
|
2380
2433
|
# resp = client.get_models({
|
2381
2434
|
# model_id: "modelIdentifier",
|
2382
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
2435
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
2383
2436
|
# next_token: "string",
|
2384
2437
|
# max_results: 1,
|
2385
2438
|
# })
|
@@ -2389,7 +2442,7 @@ module Aws::FraudDetector
|
|
2389
2442
|
# resp.next_token #=> String
|
2390
2443
|
# resp.models #=> Array
|
2391
2444
|
# resp.models[0].model_id #=> String
|
2392
|
-
# resp.models[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
|
2445
|
+
# resp.models[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
|
2393
2446
|
# resp.models[0].description #=> String
|
2394
2447
|
# resp.models[0].event_type_name #=> String
|
2395
2448
|
# resp.models[0].created_time #=> String
|
@@ -3184,7 +3237,7 @@ module Aws::FraudDetector
|
|
3184
3237
|
# model_versions: [
|
3185
3238
|
# {
|
3186
3239
|
# model_id: "modelIdentifier", # required
|
3187
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
3240
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
3188
3241
|
# model_version_number: "floatVersionString", # required
|
3189
3242
|
# arn: "fraudDetectorArn",
|
3190
3243
|
# },
|
@@ -3316,7 +3369,7 @@ module Aws::FraudDetector
|
|
3316
3369
|
#
|
3317
3370
|
# resp = client.update_model({
|
3318
3371
|
# model_id: "modelIdentifier", # required
|
3319
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
3372
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
3320
3373
|
# description: "description",
|
3321
3374
|
# })
|
3322
3375
|
#
|
@@ -3367,7 +3420,7 @@ module Aws::FraudDetector
|
|
3367
3420
|
#
|
3368
3421
|
# resp = client.update_model_version({
|
3369
3422
|
# model_id: "modelIdentifier", # required
|
3370
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
3423
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
3371
3424
|
# major_version_number: "wholeNumberVersionString", # required
|
3372
3425
|
# external_events_detail: {
|
3373
3426
|
# data_location: "s3BucketLocation", # required
|
@@ -3390,7 +3443,7 @@ module Aws::FraudDetector
|
|
3390
3443
|
# @example Response structure
|
3391
3444
|
#
|
3392
3445
|
# resp.model_id #=> String
|
3393
|
-
# resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
|
3446
|
+
# resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
|
3394
3447
|
# resp.model_version_number #=> String
|
3395
3448
|
# resp.status #=> String
|
3396
3449
|
#
|
@@ -3407,9 +3460,11 @@ module Aws::FraudDetector
|
|
3407
3460
|
#
|
3408
3461
|
# You can perform the following status updates:
|
3409
3462
|
#
|
3410
|
-
# 1. Change the `
|
3463
|
+
# 1. Change the `TRAINING_IN_PROGRESS` status to `TRAINING_CANCELLED`.
|
3464
|
+
#
|
3465
|
+
# 2. Change the `TRAINING_COMPLETE` status to `ACTIVE`.
|
3411
3466
|
#
|
3412
|
-
#
|
3467
|
+
# 3. Change `ACTIVE` to `INACTIVE`.
|
3413
3468
|
#
|
3414
3469
|
# @option params [required, String] :model_id
|
3415
3470
|
# The model ID of the model version to update.
|
@@ -3429,7 +3484,7 @@ module Aws::FraudDetector
|
|
3429
3484
|
#
|
3430
3485
|
# resp = client.update_model_version_status({
|
3431
3486
|
# model_id: "modelIdentifier", # required
|
3432
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
3487
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
3433
3488
|
# model_version_number: "floatVersionString", # required
|
3434
3489
|
# status: "ACTIVE", # required, accepts ACTIVE, INACTIVE, TRAINING_CANCELLED
|
3435
3490
|
# })
|
@@ -3584,7 +3639,7 @@ module Aws::FraudDetector
|
|
3584
3639
|
params: params,
|
3585
3640
|
config: config)
|
3586
3641
|
context[:gem_name] = 'aws-sdk-frauddetector'
|
3587
|
-
context[:gem_version] = '1.
|
3642
|
+
context[:gem_version] = '1.34.0'
|
3588
3643
|
Seahorse::Client::Request.new(handlers, context)
|
3589
3644
|
end
|
3590
3645
|
|
@@ -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,
|
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,
|
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:
|
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
|
@@ -531,7 +704,7 @@ module Aws::FraudDetector
|
|
531
704
|
# model_versions: [
|
532
705
|
# {
|
533
706
|
# model_id: "modelIdentifier", # required
|
534
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
707
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
535
708
|
# model_version_number: "floatVersionString", # required
|
536
709
|
# arn: "fraudDetectorArn",
|
537
710
|
# },
|
@@ -629,7 +802,7 @@ module Aws::FraudDetector
|
|
629
802
|
#
|
630
803
|
# {
|
631
804
|
# model_id: "modelIdentifier", # required
|
632
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
805
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
633
806
|
# description: "description",
|
634
807
|
# event_type_name: "string", # required
|
635
808
|
# tags: [
|
@@ -681,12 +854,12 @@ module Aws::FraudDetector
|
|
681
854
|
#
|
682
855
|
# {
|
683
856
|
# model_id: "modelIdentifier", # required
|
684
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
857
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
685
858
|
# training_data_source: "EXTERNAL_EVENTS", # required, accepts EXTERNAL_EVENTS, INGESTED_EVENTS
|
686
859
|
# training_data_schema: { # required
|
687
860
|
# model_variables: ["string"], # required
|
688
|
-
# label_schema: {
|
689
|
-
# label_mapper: {
|
861
|
+
# label_schema: {
|
862
|
+
# label_mapper: {
|
690
863
|
# "string" => ["string"],
|
691
864
|
# },
|
692
865
|
# unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT
|
@@ -931,10 +1104,10 @@ module Aws::FraudDetector
|
|
931
1104
|
#
|
932
1105
|
class CreateVariableResult < Aws::EmptyStructure; end
|
933
1106
|
|
934
|
-
# The model training validation
|
1107
|
+
# The model training data validation metrics.
|
935
1108
|
#
|
936
1109
|
# @!attribute [rw] file_level_messages
|
937
|
-
# The file-specific model training validation messages.
|
1110
|
+
# The file-specific model training data validation messages.
|
938
1111
|
# @return [Array<Types::FileValidationMessage>]
|
939
1112
|
#
|
940
1113
|
# @!attribute [rw] field_level_messages
|
@@ -1217,7 +1390,7 @@ module Aws::FraudDetector
|
|
1217
1390
|
#
|
1218
1391
|
# {
|
1219
1392
|
# model_id: "modelIdentifier", # required
|
1220
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
1393
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
1221
1394
|
# }
|
1222
1395
|
#
|
1223
1396
|
# @!attribute [rw] model_id
|
@@ -1246,7 +1419,7 @@ module Aws::FraudDetector
|
|
1246
1419
|
#
|
1247
1420
|
# {
|
1248
1421
|
# model_id: "modelIdentifier", # required
|
1249
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
1422
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
1250
1423
|
# model_version_number: "floatVersionString", # required
|
1251
1424
|
# }
|
1252
1425
|
#
|
@@ -1413,7 +1586,7 @@ module Aws::FraudDetector
|
|
1413
1586
|
# {
|
1414
1587
|
# model_id: "modelIdentifier",
|
1415
1588
|
# model_version_number: "floatVersionString",
|
1416
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
1589
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
1417
1590
|
# next_token: "string",
|
1418
1591
|
# max_results: 1,
|
1419
1592
|
# }
|
@@ -2433,7 +2606,16 @@ module Aws::FraudDetector
|
|
2433
2606
|
# @return [String]
|
2434
2607
|
#
|
2435
2608
|
# @!attribute [rw] prediction_timestamp
|
2436
|
-
# The timestamp that defines when the prediction was generated.
|
2609
|
+
# The timestamp that defines when the prediction was generated. The
|
2610
|
+
# timestamp must be specified using ISO 8601 standard in UTC.
|
2611
|
+
#
|
2612
|
+
# We recommend calling [ListEventPredictions][1] first, and using the
|
2613
|
+
# `predictionTimestamp` value in the response to provide an accurate
|
2614
|
+
# prediction timestamp value.
|
2615
|
+
#
|
2616
|
+
#
|
2617
|
+
#
|
2618
|
+
# [1]: https://docs.aws.amazon.com/frauddetector/latest/api/API_ListEventPredictions.html
|
2437
2619
|
# @return [String]
|
2438
2620
|
#
|
2439
2621
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPredictionMetadataRequest AWS API Documentation
|
@@ -2859,7 +3041,7 @@ module Aws::FraudDetector
|
|
2859
3041
|
#
|
2860
3042
|
# {
|
2861
3043
|
# model_id: "modelIdentifier", # required
|
2862
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
3044
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
2863
3045
|
# model_version_number: "floatVersionString", # required
|
2864
3046
|
# }
|
2865
3047
|
#
|
@@ -2966,7 +3148,7 @@ module Aws::FraudDetector
|
|
2966
3148
|
#
|
2967
3149
|
# {
|
2968
3150
|
# model_id: "modelIdentifier",
|
2969
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
3151
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
2970
3152
|
# next_token: "string",
|
2971
3153
|
# max_results: 1,
|
2972
3154
|
# }
|
@@ -3323,7 +3505,7 @@ module Aws::FraudDetector
|
|
3323
3505
|
# data as a hash:
|
3324
3506
|
#
|
3325
3507
|
# {
|
3326
|
-
# label_mapper: {
|
3508
|
+
# label_mapper: {
|
3327
3509
|
# "string" => ["string"],
|
3328
3510
|
# },
|
3329
3511
|
# unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT
|
@@ -3745,7 +3927,7 @@ module Aws::FraudDetector
|
|
3745
3927
|
#
|
3746
3928
|
# {
|
3747
3929
|
# model_id: "modelIdentifier", # required
|
3748
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
3930
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
3749
3931
|
# model_version_number: "floatVersionString", # required
|
3750
3932
|
# arn: "fraudDetectorArn",
|
3751
3933
|
# }
|
@@ -3831,6 +4013,11 @@ module Aws::FraudDetector
|
|
3831
4013
|
# The model version ARN.
|
3832
4014
|
# @return [String]
|
3833
4015
|
#
|
4016
|
+
# @!attribute [rw] training_result_v2
|
4017
|
+
# The training result details. The details include the relative
|
4018
|
+
# importance of the variables.
|
4019
|
+
# @return [Types::TrainingResultV2]
|
4020
|
+
#
|
3834
4021
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ModelVersionDetail AWS API Documentation
|
3835
4022
|
#
|
3836
4023
|
class ModelVersionDetail < Struct.new(
|
@@ -3845,7 +4032,8 @@ module Aws::FraudDetector
|
|
3845
4032
|
:training_result,
|
3846
4033
|
:last_updated_time,
|
3847
4034
|
:created_time,
|
3848
|
-
:arn
|
4035
|
+
:arn,
|
4036
|
+
:training_result_v2)
|
3849
4037
|
SENSITIVE = []
|
3850
4038
|
include Aws::Structure
|
3851
4039
|
end
|
@@ -3874,6 +4062,75 @@ module Aws::FraudDetector
|
|
3874
4062
|
include Aws::Structure
|
3875
4063
|
end
|
3876
4064
|
|
4065
|
+
# The Online Fraud Insights (OFI) model performance metrics data points.
|
4066
|
+
#
|
4067
|
+
# @!attribute [rw] fpr
|
4068
|
+
# The false positive rate. This is the percentage of total legitimate
|
4069
|
+
# events that are incorrectly predicted as fraud.
|
4070
|
+
# @return [Float]
|
4071
|
+
#
|
4072
|
+
# @!attribute [rw] precision
|
4073
|
+
# The percentage of fraud events correctly predicted as fraudulent as
|
4074
|
+
# compared to all events predicted as fraudulent.
|
4075
|
+
# @return [Float]
|
4076
|
+
#
|
4077
|
+
# @!attribute [rw] tpr
|
4078
|
+
# The true positive rate. This is the percentage of total fraud the
|
4079
|
+
# model detects. Also known as capture rate.
|
4080
|
+
# @return [Float]
|
4081
|
+
#
|
4082
|
+
# @!attribute [rw] threshold
|
4083
|
+
# The model threshold that specifies an acceptable fraud capture rate.
|
4084
|
+
# For example, a threshold of 500 means any model score 500 or above
|
4085
|
+
# is labeled as fraud.
|
4086
|
+
# @return [Float]
|
4087
|
+
#
|
4088
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/OFIMetricDataPoint AWS API Documentation
|
4089
|
+
#
|
4090
|
+
class OFIMetricDataPoint < Struct.new(
|
4091
|
+
:fpr,
|
4092
|
+
:precision,
|
4093
|
+
:tpr,
|
4094
|
+
:threshold)
|
4095
|
+
SENSITIVE = []
|
4096
|
+
include Aws::Structure
|
4097
|
+
end
|
4098
|
+
|
4099
|
+
# The Online Fraud Insights (OFI) model performance score.
|
4100
|
+
#
|
4101
|
+
# @!attribute [rw] auc
|
4102
|
+
# The area under the curve (auc). This summarizes the total positive
|
4103
|
+
# rate (tpr) and false positive rate (FPR) across all possible model
|
4104
|
+
# score thresholds.
|
4105
|
+
# @return [Float]
|
4106
|
+
#
|
4107
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/OFIModelPerformance AWS API Documentation
|
4108
|
+
#
|
4109
|
+
class OFIModelPerformance < Struct.new(
|
4110
|
+
:auc)
|
4111
|
+
SENSITIVE = []
|
4112
|
+
include Aws::Structure
|
4113
|
+
end
|
4114
|
+
|
4115
|
+
# The Online Fraud Insights (OFI) model training metric details.
|
4116
|
+
#
|
4117
|
+
# @!attribute [rw] metric_data_points
|
4118
|
+
# The model's performance metrics data points.
|
4119
|
+
# @return [Array<Types::OFIMetricDataPoint>]
|
4120
|
+
#
|
4121
|
+
# @!attribute [rw] model_performance
|
4122
|
+
# The model's overall performance score.
|
4123
|
+
# @return [Types::OFIModelPerformance]
|
4124
|
+
#
|
4125
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/OFITrainingMetricsValue AWS API Documentation
|
4126
|
+
#
|
4127
|
+
class OFITrainingMetricsValue < Struct.new(
|
4128
|
+
:metric_data_points,
|
4129
|
+
:model_performance)
|
4130
|
+
SENSITIVE = []
|
4131
|
+
include Aws::Structure
|
4132
|
+
end
|
4133
|
+
|
3877
4134
|
# The outcome.
|
3878
4135
|
#
|
3879
4136
|
# @!attribute [rw] name
|
@@ -3915,10 +4172,23 @@ module Aws::FraudDetector
|
|
3915
4172
|
# The details of the event variable's impact on the prediction score.
|
3916
4173
|
# @return [Array<Types::VariableImpactExplanation>]
|
3917
4174
|
#
|
4175
|
+
# @!attribute [rw] aggregated_variables_impact_explanations
|
4176
|
+
# The details of the aggregated variables impact on the prediction
|
4177
|
+
# score.
|
4178
|
+
#
|
4179
|
+
# Account Takeover Insights (ATI) model uses event variables from the
|
4180
|
+
# login data you provide to continuously calculate a set of variables
|
4181
|
+
# (aggregated variables) based on historical events. For example, your
|
4182
|
+
# ATI model might calculate the number of times an user has logged in
|
4183
|
+
# using the same IP address. In this case, event variables used to
|
4184
|
+
# derive the aggregated variables are `IP address` and `user`.
|
4185
|
+
# @return [Array<Types::AggregatedVariablesImpactExplanation>]
|
4186
|
+
#
|
3918
4187
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PredictionExplanations AWS API Documentation
|
3919
4188
|
#
|
3920
4189
|
class PredictionExplanations < Struct.new(
|
3921
|
-
:variable_impact_explanations
|
4190
|
+
:variable_impact_explanations,
|
4191
|
+
:aggregated_variables_impact_explanations)
|
3922
4192
|
SENSITIVE = []
|
3923
4193
|
include Aws::Structure
|
3924
4194
|
end
|
@@ -4492,6 +4762,76 @@ module Aws::FraudDetector
|
|
4492
4762
|
#
|
4493
4763
|
class SendEventResult < Aws::EmptyStructure; end
|
4494
4764
|
|
4765
|
+
# The performance metrics data points for Transaction Fraud Insights
|
4766
|
+
# (TFI) model.
|
4767
|
+
#
|
4768
|
+
# @!attribute [rw] fpr
|
4769
|
+
# The false positive rate. This is the percentage of total legitimate
|
4770
|
+
# events that are incorrectly predicted as fraud.
|
4771
|
+
# @return [Float]
|
4772
|
+
#
|
4773
|
+
# @!attribute [rw] precision
|
4774
|
+
# The percentage of fraud events correctly predicted as fraudulent as
|
4775
|
+
# compared to all events predicted as fraudulent.
|
4776
|
+
# @return [Float]
|
4777
|
+
#
|
4778
|
+
# @!attribute [rw] tpr
|
4779
|
+
# The true positive rate. This is the percentage of total fraud the
|
4780
|
+
# model detects. Also known as capture rate.
|
4781
|
+
# @return [Float]
|
4782
|
+
#
|
4783
|
+
# @!attribute [rw] threshold
|
4784
|
+
# The model threshold that specifies an acceptable fraud capture rate.
|
4785
|
+
# For example, a threshold of 500 means any model score 500 or above
|
4786
|
+
# is labeled as fraud.
|
4787
|
+
# @return [Float]
|
4788
|
+
#
|
4789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TFIMetricDataPoint AWS API Documentation
|
4790
|
+
#
|
4791
|
+
class TFIMetricDataPoint < Struct.new(
|
4792
|
+
:fpr,
|
4793
|
+
:precision,
|
4794
|
+
:tpr,
|
4795
|
+
:threshold)
|
4796
|
+
SENSITIVE = []
|
4797
|
+
include Aws::Structure
|
4798
|
+
end
|
4799
|
+
|
4800
|
+
# The Transaction Fraud Insights (TFI) model performance score.
|
4801
|
+
#
|
4802
|
+
# @!attribute [rw] auc
|
4803
|
+
# The area under the curve (auc). This summarizes the total positive
|
4804
|
+
# rate (tpr) and false positive rate (FPR) across all possible model
|
4805
|
+
# score thresholds.
|
4806
|
+
# @return [Float]
|
4807
|
+
#
|
4808
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TFIModelPerformance AWS API Documentation
|
4809
|
+
#
|
4810
|
+
class TFIModelPerformance < Struct.new(
|
4811
|
+
:auc)
|
4812
|
+
SENSITIVE = []
|
4813
|
+
include Aws::Structure
|
4814
|
+
end
|
4815
|
+
|
4816
|
+
# The Transaction Fraud Insights (TFI) model training metric details.
|
4817
|
+
#
|
4818
|
+
# @!attribute [rw] metric_data_points
|
4819
|
+
# The model's performance metrics data points.
|
4820
|
+
# @return [Array<Types::TFIMetricDataPoint>]
|
4821
|
+
#
|
4822
|
+
# @!attribute [rw] model_performance
|
4823
|
+
# The model performance score.
|
4824
|
+
# @return [Types::TFIModelPerformance]
|
4825
|
+
#
|
4826
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TFITrainingMetricsValue AWS API Documentation
|
4827
|
+
#
|
4828
|
+
class TFITrainingMetricsValue < Struct.new(
|
4829
|
+
:metric_data_points,
|
4830
|
+
:model_performance)
|
4831
|
+
SENSITIVE = []
|
4832
|
+
include Aws::Structure
|
4833
|
+
end
|
4834
|
+
|
4495
4835
|
# A key and value pair.
|
4496
4836
|
#
|
4497
4837
|
# @note When making an API call, you may pass Tag
|
@@ -4573,8 +4913,8 @@ module Aws::FraudDetector
|
|
4573
4913
|
#
|
4574
4914
|
# {
|
4575
4915
|
# model_variables: ["string"], # required
|
4576
|
-
# label_schema: {
|
4577
|
-
# label_mapper: {
|
4916
|
+
# label_schema: {
|
4917
|
+
# label_mapper: {
|
4578
4918
|
# "string" => ["string"],
|
4579
4919
|
# },
|
4580
4920
|
# unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT
|
@@ -4620,6 +4960,30 @@ module Aws::FraudDetector
|
|
4620
4960
|
include Aws::Structure
|
4621
4961
|
end
|
4622
4962
|
|
4963
|
+
# The training metrics details.
|
4964
|
+
#
|
4965
|
+
# @!attribute [rw] ofi
|
4966
|
+
# The Online Fraud Insights (OFI) model training metric details.
|
4967
|
+
# @return [Types::OFITrainingMetricsValue]
|
4968
|
+
#
|
4969
|
+
# @!attribute [rw] tfi
|
4970
|
+
# The Transaction Fraud Insights (TFI) model training metric details.
|
4971
|
+
# @return [Types::TFITrainingMetricsValue]
|
4972
|
+
#
|
4973
|
+
# @!attribute [rw] ati
|
4974
|
+
# The Account Takeover Insights (ATI) model training metric details.
|
4975
|
+
# @return [Types::ATITrainingMetricsValue]
|
4976
|
+
#
|
4977
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TrainingMetricsV2 AWS API Documentation
|
4978
|
+
#
|
4979
|
+
class TrainingMetricsV2 < Struct.new(
|
4980
|
+
:ofi,
|
4981
|
+
:tfi,
|
4982
|
+
:ati)
|
4983
|
+
SENSITIVE = []
|
4984
|
+
include Aws::Structure
|
4985
|
+
end
|
4986
|
+
|
4623
4987
|
# The training result details.
|
4624
4988
|
#
|
4625
4989
|
# @!attribute [rw] data_validation_metrics
|
@@ -4644,6 +5008,42 @@ module Aws::FraudDetector
|
|
4644
5008
|
include Aws::Structure
|
4645
5009
|
end
|
4646
5010
|
|
5011
|
+
# The training result details.
|
5012
|
+
#
|
5013
|
+
# @!attribute [rw] data_validation_metrics
|
5014
|
+
# The model training data validation metrics.
|
5015
|
+
# @return [Types::DataValidationMetrics]
|
5016
|
+
#
|
5017
|
+
# @!attribute [rw] training_metrics_v2
|
5018
|
+
# The training metric details.
|
5019
|
+
# @return [Types::TrainingMetricsV2]
|
5020
|
+
#
|
5021
|
+
# @!attribute [rw] variable_importance_metrics
|
5022
|
+
# The variable importance metrics details.
|
5023
|
+
# @return [Types::VariableImportanceMetrics]
|
5024
|
+
#
|
5025
|
+
# @!attribute [rw] aggregated_variables_importance_metrics
|
5026
|
+
# The variable importance metrics of the aggregated variables.
|
5027
|
+
#
|
5028
|
+
# Account Takeover Insights (ATI) model uses event variables from the
|
5029
|
+
# login data you provide to continuously calculate a set of variables
|
5030
|
+
# (aggregated variables) based on historical events. For example, your
|
5031
|
+
# ATI model might calculate the number of times an user has logged in
|
5032
|
+
# using the same IP address. In this case, event variables used to
|
5033
|
+
# derive the aggregated variables are `IP address` and `user`.
|
5034
|
+
# @return [Types::AggregatedVariablesImportanceMetrics]
|
5035
|
+
#
|
5036
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TrainingResultV2 AWS API Documentation
|
5037
|
+
#
|
5038
|
+
class TrainingResultV2 < Struct.new(
|
5039
|
+
:data_validation_metrics,
|
5040
|
+
:training_metrics_v2,
|
5041
|
+
:variable_importance_metrics,
|
5042
|
+
:aggregated_variables_importance_metrics)
|
5043
|
+
SENSITIVE = []
|
5044
|
+
include Aws::Structure
|
5045
|
+
end
|
5046
|
+
|
4647
5047
|
# @note When making an API call, you may pass UntagResourceRequest
|
4648
5048
|
# data as a hash:
|
4649
5049
|
#
|
@@ -4726,7 +5126,7 @@ module Aws::FraudDetector
|
|
4726
5126
|
# model_versions: [
|
4727
5127
|
# {
|
4728
5128
|
# model_id: "modelIdentifier", # required
|
4729
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
5129
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
4730
5130
|
# model_version_number: "floatVersionString", # required
|
4731
5131
|
# arn: "fraudDetectorArn",
|
4732
5132
|
# },
|
@@ -4875,7 +5275,7 @@ module Aws::FraudDetector
|
|
4875
5275
|
#
|
4876
5276
|
# {
|
4877
5277
|
# model_id: "modelIdentifier", # required
|
4878
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
5278
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
4879
5279
|
# description: "description",
|
4880
5280
|
# }
|
4881
5281
|
#
|
@@ -4910,7 +5310,7 @@ module Aws::FraudDetector
|
|
4910
5310
|
#
|
4911
5311
|
# {
|
4912
5312
|
# model_id: "modelIdentifier", # required
|
4913
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
5313
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
4914
5314
|
# major_version_number: "wholeNumberVersionString", # required
|
4915
5315
|
# external_events_detail: {
|
4916
5316
|
# data_location: "s3BucketLocation", # required
|
@@ -5001,7 +5401,7 @@ module Aws::FraudDetector
|
|
5001
5401
|
#
|
5002
5402
|
# {
|
5003
5403
|
# model_id: "modelIdentifier", # required
|
5004
|
-
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
|
5404
|
+
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
|
5005
5405
|
# model_version_number: "floatVersionString", # required
|
5006
5406
|
# status: "ACTIVE", # required, accepts ACTIVE, INACTIVE, TRAINING_CANCELLED
|
5007
5407
|
# }
|
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.
|
4
|
+
version: 1.34.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-
|
11
|
+
date: 2022-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.127.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|