aws-sdk-frauddetector 1.37.0 → 1.38.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-frauddetector/client.rb +8 -4
- data/lib/aws-sdk-frauddetector/client_api.rb +7 -0
- data/lib/aws-sdk-frauddetector/endpoint_provider.rb +1 -1
- data/lib/aws-sdk-frauddetector/types.rb +53 -2
- data/lib/aws-sdk-frauddetector.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b515d5a92ba8893a691ed30d43efcaa213cd5192b72c6737e73e8dc88dcc5162
|
4
|
+
data.tar.gz: 4522fa2083643e091dc3cb1dc429d08b44bd697dace87446ebf862e8ebebbf03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40bbbd230556430db092e0e354f60b5f89bf250f8963bc7401365a0de23f8a229cc7cfdeaa7c358f9cb246eefea7dcf423d970408aaf340dbea3f522bd79f16a
|
7
|
+
data.tar.gz: 222e52c158bfcb5d72c812e143eea2e43ee6d12ca6abcf15f84f6974bea57d4ca4a81faa9055634ed592bd6bdd0ba7a7a56366baf7d4a5612dd6f975f73340df
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.38.0 (2023-02-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - My AWS Service (Amazon Fraud Detector) - This release introduces Cold Start Model Training which optimizes training for small datasets and adds intelligent methods for treating unlabeled data. You can now train Online Fraud Insights or Transaction Fraud Insights models with minimal historical-data.
|
8
|
+
|
4
9
|
1.37.0 (2023-01-18)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.38.0
|
@@ -817,7 +817,7 @@ module Aws::FraudDetector
|
|
817
817
|
# label_mapper: {
|
818
818
|
# "string" => ["string"],
|
819
819
|
# },
|
820
|
-
# unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT
|
820
|
+
# unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT, AUTO
|
821
821
|
# },
|
822
822
|
# },
|
823
823
|
# external_events_detail: {
|
@@ -1514,7 +1514,7 @@ module Aws::FraudDetector
|
|
1514
1514
|
# resp.model_version_details[0].training_data_schema.label_schema.label_mapper #=> Hash
|
1515
1515
|
# resp.model_version_details[0].training_data_schema.label_schema.label_mapper["string"] #=> Array
|
1516
1516
|
# resp.model_version_details[0].training_data_schema.label_schema.label_mapper["string"][0] #=> String
|
1517
|
-
# resp.model_version_details[0].training_data_schema.label_schema.unlabeled_events_treatment #=> String, one of "IGNORE", "FRAUD", "LEGIT"
|
1517
|
+
# resp.model_version_details[0].training_data_schema.label_schema.unlabeled_events_treatment #=> String, one of "IGNORE", "FRAUD", "LEGIT", "AUTO"
|
1518
1518
|
# resp.model_version_details[0].external_events_detail.data_location #=> String
|
1519
1519
|
# resp.model_version_details[0].external_events_detail.data_access_role_arn #=> String
|
1520
1520
|
# resp.model_version_details[0].ingested_events_detail.ingested_events_time_window.start_time #=> String
|
@@ -1558,12 +1558,16 @@ module Aws::FraudDetector
|
|
1558
1558
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].tpr #=> Float
|
1559
1559
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].threshold #=> Float
|
1560
1560
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.model_performance.auc #=> Float
|
1561
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.model_performance.uncertainty_range.lower_bound_value #=> Float
|
1562
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.model_performance.uncertainty_range.upper_bound_value #=> Float
|
1561
1563
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points #=> Array
|
1562
1564
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].fpr #=> Float
|
1563
1565
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].precision #=> Float
|
1564
1566
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].tpr #=> Float
|
1565
1567
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].threshold #=> Float
|
1566
1568
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.model_performance.auc #=> Float
|
1569
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.model_performance.uncertainty_range.lower_bound_value #=> Float
|
1570
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.model_performance.uncertainty_range.upper_bound_value #=> Float
|
1567
1571
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points #=> Array
|
1568
1572
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].cr #=> Float
|
1569
1573
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].adr #=> Float
|
@@ -2413,7 +2417,7 @@ module Aws::FraudDetector
|
|
2413
2417
|
# resp.training_data_schema.label_schema.label_mapper #=> Hash
|
2414
2418
|
# resp.training_data_schema.label_schema.label_mapper["string"] #=> Array
|
2415
2419
|
# resp.training_data_schema.label_schema.label_mapper["string"][0] #=> String
|
2416
|
-
# resp.training_data_schema.label_schema.unlabeled_events_treatment #=> String, one of "IGNORE", "FRAUD", "LEGIT"
|
2420
|
+
# resp.training_data_schema.label_schema.unlabeled_events_treatment #=> String, one of "IGNORE", "FRAUD", "LEGIT", "AUTO"
|
2417
2421
|
# resp.external_events_detail.data_location #=> String
|
2418
2422
|
# resp.external_events_detail.data_access_role_arn #=> String
|
2419
2423
|
# resp.ingested_events_detail.ingested_events_time_window.start_time #=> String
|
@@ -3678,7 +3682,7 @@ module Aws::FraudDetector
|
|
3678
3682
|
params: params,
|
3679
3683
|
config: config)
|
3680
3684
|
context[:gem_name] = 'aws-sdk-frauddetector'
|
3681
|
-
context[:gem_version] = '1.
|
3685
|
+
context[:gem_version] = '1.38.0'
|
3682
3686
|
Seahorse::Client::Request.new(handlers, context)
|
3683
3687
|
end
|
3684
3688
|
|
@@ -258,6 +258,7 @@ module Aws::FraudDetector
|
|
258
258
|
TrainingMetricsV2 = Shapes::StructureShape.new(name: 'TrainingMetricsV2')
|
259
259
|
TrainingResult = Shapes::StructureShape.new(name: 'TrainingResult')
|
260
260
|
TrainingResultV2 = Shapes::StructureShape.new(name: 'TrainingResultV2')
|
261
|
+
UncertaintyRange = Shapes::StructureShape.new(name: 'UncertaintyRange')
|
261
262
|
UnlabeledEventsTreatment = Shapes::StringShape.new(name: 'UnlabeledEventsTreatment')
|
262
263
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
263
264
|
UntagResourceResult = Shapes::StructureShape.new(name: 'UntagResourceResult')
|
@@ -1135,6 +1136,7 @@ module Aws::FraudDetector
|
|
1135
1136
|
OFIMetricDataPointsList.member = Shapes::ShapeRef.new(shape: OFIMetricDataPoint)
|
1136
1137
|
|
1137
1138
|
OFIModelPerformance.add_member(:auc, Shapes::ShapeRef.new(shape: float, location_name: "auc"))
|
1139
|
+
OFIModelPerformance.add_member(:uncertainty_range, Shapes::ShapeRef.new(shape: UncertaintyRange, location_name: "uncertaintyRange"))
|
1138
1140
|
OFIModelPerformance.struct_class = Types::OFIModelPerformance
|
1139
1141
|
|
1140
1142
|
OFITrainingMetricsValue.add_member(:metric_data_points, Shapes::ShapeRef.new(shape: OFIMetricDataPointsList, location_name: "metricDataPoints"))
|
@@ -1265,6 +1267,7 @@ module Aws::FraudDetector
|
|
1265
1267
|
TFIMetricDataPointsList.member = Shapes::ShapeRef.new(shape: TFIMetricDataPoint)
|
1266
1268
|
|
1267
1269
|
TFIModelPerformance.add_member(:auc, Shapes::ShapeRef.new(shape: float, location_name: "auc"))
|
1270
|
+
TFIModelPerformance.add_member(:uncertainty_range, Shapes::ShapeRef.new(shape: UncertaintyRange, location_name: "uncertaintyRange"))
|
1268
1271
|
TFIModelPerformance.struct_class = Types::TFIModelPerformance
|
1269
1272
|
|
1270
1273
|
TFITrainingMetricsValue.add_member(:metric_data_points, Shapes::ShapeRef.new(shape: TFIMetricDataPointsList, location_name: "metricDataPoints"))
|
@@ -1308,6 +1311,10 @@ module Aws::FraudDetector
|
|
1308
1311
|
TrainingResultV2.add_member(:aggregated_variables_importance_metrics, Shapes::ShapeRef.new(shape: AggregatedVariablesImportanceMetrics, location_name: "aggregatedVariablesImportanceMetrics"))
|
1309
1312
|
TrainingResultV2.struct_class = Types::TrainingResultV2
|
1310
1313
|
|
1314
|
+
UncertaintyRange.add_member(:lower_bound_value, Shapes::ShapeRef.new(shape: float, required: true, location_name: "lowerBoundValue"))
|
1315
|
+
UncertaintyRange.add_member(:upper_bound_value, Shapes::ShapeRef.new(shape: float, required: true, location_name: "upperBoundValue"))
|
1316
|
+
UncertaintyRange.struct_class = Types::UncertaintyRange
|
1317
|
+
|
1311
1318
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, required: true, location_name: "resourceARN"))
|
1312
1319
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: tagKeyList, required: true, location_name: "tagKeys"))
|
1313
1320
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -15,7 +15,7 @@ module Aws::FraudDetector
|
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
17
|
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint)
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
19
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
20
|
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
21
|
end
|
@@ -2989,6 +2989,24 @@ module Aws::FraudDetector
|
|
2989
2989
|
#
|
2990
2990
|
# @!attribute [rw] unlabeled_events_treatment
|
2991
2991
|
# The action to take for unlabeled events.
|
2992
|
+
#
|
2993
|
+
# * Use `IGNORE` if you want the unlabeled events to be ignored. This
|
2994
|
+
# is recommended when the majority of the events in the dataset are
|
2995
|
+
# labeled.
|
2996
|
+
#
|
2997
|
+
# * Use `FRAUD` if you want to categorize all unlabeled events as
|
2998
|
+
# “Fraud”. This is recommended when most of the events in your
|
2999
|
+
# dataset are fraudulent.
|
3000
|
+
#
|
3001
|
+
# * Use `LEGIT` f you want to categorize all unlabeled events as
|
3002
|
+
# “Legit”. This is recommended when most of the events in your
|
3003
|
+
# dataset are legitimate.
|
3004
|
+
#
|
3005
|
+
# * Use `AUTO` if you want Amazon Fraud Detector to decide how to use
|
3006
|
+
# the unlabeled data. This is recommended when there is significant
|
3007
|
+
# unlabeled events in the dataset.
|
3008
|
+
#
|
3009
|
+
# By default, Amazon Fraud Detector ignores the unlabeled data.
|
2992
3010
|
# @return [String]
|
2993
3011
|
#
|
2994
3012
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/LabelSchema AWS API Documentation
|
@@ -3493,10 +3511,16 @@ module Aws::FraudDetector
|
|
3493
3511
|
# score thresholds.
|
3494
3512
|
# @return [Float]
|
3495
3513
|
#
|
3514
|
+
# @!attribute [rw] uncertainty_range
|
3515
|
+
# Indicates the range of area under curve (auc) expected from the OFI
|
3516
|
+
# model. A range greater than 0.1 indicates higher model uncertainity.
|
3517
|
+
# @return [Types::UncertaintyRange]
|
3518
|
+
#
|
3496
3519
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/OFIModelPerformance AWS API Documentation
|
3497
3520
|
#
|
3498
3521
|
class OFIModelPerformance < Struct.new(
|
3499
|
-
:auc
|
3522
|
+
:auc,
|
3523
|
+
:uncertainty_range)
|
3500
3524
|
SENSITIVE = []
|
3501
3525
|
include Aws::Structure
|
3502
3526
|
end
|
@@ -4046,10 +4070,16 @@ module Aws::FraudDetector
|
|
4046
4070
|
# score thresholds.
|
4047
4071
|
# @return [Float]
|
4048
4072
|
#
|
4073
|
+
# @!attribute [rw] uncertainty_range
|
4074
|
+
# Indicates the range of area under curve (auc) expected from the TFI
|
4075
|
+
# model. A range greater than 0.1 indicates higher model uncertainity.
|
4076
|
+
# @return [Types::UncertaintyRange]
|
4077
|
+
#
|
4049
4078
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TFIModelPerformance AWS API Documentation
|
4050
4079
|
#
|
4051
4080
|
class TFIModelPerformance < Struct.new(
|
4052
|
-
:auc
|
4081
|
+
:auc,
|
4082
|
+
:uncertainty_range)
|
4053
4083
|
SENSITIVE = []
|
4054
4084
|
include Aws::Structure
|
4055
4085
|
end
|
@@ -4251,6 +4281,27 @@ module Aws::FraudDetector
|
|
4251
4281
|
include Aws::Structure
|
4252
4282
|
end
|
4253
4283
|
|
4284
|
+
# Range of area under curve (auc) expected from the model. A range
|
4285
|
+
# greater than 0.1 indicates higher model uncertainity. A range is the
|
4286
|
+
# difference between upper and lower bound of auc.
|
4287
|
+
#
|
4288
|
+
# @!attribute [rw] lower_bound_value
|
4289
|
+
# The lower bound value of the area under curve (auc).
|
4290
|
+
# @return [Float]
|
4291
|
+
#
|
4292
|
+
# @!attribute [rw] upper_bound_value
|
4293
|
+
# The lower bound value of the area under curve (auc).
|
4294
|
+
# @return [Float]
|
4295
|
+
#
|
4296
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UncertaintyRange AWS API Documentation
|
4297
|
+
#
|
4298
|
+
class UncertaintyRange < Struct.new(
|
4299
|
+
:lower_bound_value,
|
4300
|
+
:upper_bound_value)
|
4301
|
+
SENSITIVE = []
|
4302
|
+
include Aws::Structure
|
4303
|
+
end
|
4304
|
+
|
4254
4305
|
# @!attribute [rw] resource_arn
|
4255
4306
|
# The ARN of the resource from which to remove the tag.
|
4256
4307
|
# @return [String]
|
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.38.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: 2023-
|
11
|
+
date: 2023-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|