aws-sdk-frauddetector 1.37.0 → 1.39.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-frauddetector/client.rb +236 -4
- data/lib/aws-sdk-frauddetector/client_api.rb +157 -0
- data/lib/aws-sdk-frauddetector/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-frauddetector/endpoint_provider.rb +27 -24
- data/lib/aws-sdk-frauddetector/endpoints.rb +70 -0
- data/lib/aws-sdk-frauddetector/plugins/endpoints.rb +10 -0
- data/lib/aws-sdk-frauddetector/types.rb +285 -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: 965af7b56d51d902addff2c633a853a2cd660849702b16e8e063703dc17d5fa6
|
4
|
+
data.tar.gz: f8a6cd374aa29eab1b4ac19e3a284118f46af54725e6601631a1cda1c36cbd97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5333b03780d689714e0f8c5ef53865595930122595f2ffc4088ab0e85a172a7f31004d79c56512a507c878aefb96946c3b7b18e3a9ae42d1edcff9b0c74b6572
|
7
|
+
data.tar.gz: 5bc52c509d666d921325eee7e51b187bbeb2c7da9b5be65f8f4986edc50c2e1434c3ffa1bed7c1178343b871da332c189fbe185e1542011d444dea1e4f504f99
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.39.0 (2023-02-15)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces Lists feature which allows customers to reference a set of values in Fraud Detector's rules. With Lists, customers can dynamically manage these attributes in real time. Lists can be created/deleted and its contents can be modified using the Fraud Detector API.
|
8
|
+
|
9
|
+
1.38.0 (2023-02-06)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.37.0 (2023-01-18)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.39.0
|
@@ -729,6 +729,67 @@ module Aws::FraudDetector
|
|
729
729
|
req.send_request(options)
|
730
730
|
end
|
731
731
|
|
732
|
+
# Creates a list.
|
733
|
+
#
|
734
|
+
# List is a set of input data for a variable in your event dataset. You
|
735
|
+
# use the input data in a rule that's associated with your detector.
|
736
|
+
# For more information, see [Lists][1].
|
737
|
+
#
|
738
|
+
#
|
739
|
+
#
|
740
|
+
# [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/lists.html
|
741
|
+
#
|
742
|
+
# @option params [required, String] :name
|
743
|
+
# The name of the list.
|
744
|
+
#
|
745
|
+
# @option params [Array<String>] :elements
|
746
|
+
# The names of the elements, if providing. You can also create an empty
|
747
|
+
# list and add elements later using the [UpdateList][1] API.
|
748
|
+
#
|
749
|
+
#
|
750
|
+
#
|
751
|
+
# [1]: https://docs.aws.amazon.com/frauddetector/latest/api/API_Updatelist.html
|
752
|
+
#
|
753
|
+
# @option params [String] :variable_type
|
754
|
+
# The variable type of the list. You can only assign the variable type
|
755
|
+
# with String data type. For more information, see [Variable types][1].
|
756
|
+
#
|
757
|
+
#
|
758
|
+
#
|
759
|
+
# [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
|
760
|
+
#
|
761
|
+
# @option params [String] :description
|
762
|
+
# The description of the list.
|
763
|
+
#
|
764
|
+
# @option params [Array<Types::Tag>] :tags
|
765
|
+
# A collection of the key and value pairs.
|
766
|
+
#
|
767
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
768
|
+
#
|
769
|
+
# @example Request syntax with placeholder values
|
770
|
+
#
|
771
|
+
# resp = client.create_list({
|
772
|
+
# name: "noDashIdentifier", # required
|
773
|
+
# elements: ["Elements"],
|
774
|
+
# variable_type: "variableType",
|
775
|
+
# description: "description",
|
776
|
+
# tags: [
|
777
|
+
# {
|
778
|
+
# key: "tagKey", # required
|
779
|
+
# value: "tagValue", # required
|
780
|
+
# },
|
781
|
+
# ],
|
782
|
+
# })
|
783
|
+
#
|
784
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateList AWS API Documentation
|
785
|
+
#
|
786
|
+
# @overload create_list(params = {})
|
787
|
+
# @param [Hash] params ({})
|
788
|
+
def create_list(params = {}, options = {})
|
789
|
+
req = build_request(:create_list, params)
|
790
|
+
req.send_request(options)
|
791
|
+
end
|
792
|
+
|
732
793
|
# Creates a model using the specified model type.
|
733
794
|
#
|
734
795
|
# @option params [required, String] :model_id
|
@@ -817,7 +878,7 @@ module Aws::FraudDetector
|
|
817
878
|
# label_mapper: {
|
818
879
|
# "string" => ["string"],
|
819
880
|
# },
|
820
|
-
# unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT
|
881
|
+
# unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT, AUTO
|
821
882
|
# },
|
822
883
|
# },
|
823
884
|
# external_events_detail: {
|
@@ -1259,6 +1320,31 @@ module Aws::FraudDetector
|
|
1259
1320
|
req.send_request(options)
|
1260
1321
|
end
|
1261
1322
|
|
1323
|
+
# Deletes the list, provided it is not used in a rule.
|
1324
|
+
#
|
1325
|
+
# When you delete a list, Amazon Fraud Detector permanently deletes that
|
1326
|
+
# list and the elements in the list.
|
1327
|
+
#
|
1328
|
+
# @option params [required, String] :name
|
1329
|
+
# The name of the list to delete.
|
1330
|
+
#
|
1331
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1332
|
+
#
|
1333
|
+
# @example Request syntax with placeholder values
|
1334
|
+
#
|
1335
|
+
# resp = client.delete_list({
|
1336
|
+
# name: "noDashIdentifier", # required
|
1337
|
+
# })
|
1338
|
+
#
|
1339
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteList AWS API Documentation
|
1340
|
+
#
|
1341
|
+
# @overload delete_list(params = {})
|
1342
|
+
# @param [Hash] params ({})
|
1343
|
+
def delete_list(params = {}, options = {})
|
1344
|
+
req = build_request(:delete_list, params)
|
1345
|
+
req.send_request(options)
|
1346
|
+
end
|
1347
|
+
|
1262
1348
|
# Deletes a model.
|
1263
1349
|
#
|
1264
1350
|
# You can delete models and model versions in Amazon Fraud Detector,
|
@@ -1514,7 +1600,7 @@ module Aws::FraudDetector
|
|
1514
1600
|
# resp.model_version_details[0].training_data_schema.label_schema.label_mapper #=> Hash
|
1515
1601
|
# resp.model_version_details[0].training_data_schema.label_schema.label_mapper["string"] #=> Array
|
1516
1602
|
# 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"
|
1603
|
+
# resp.model_version_details[0].training_data_schema.label_schema.unlabeled_events_treatment #=> String, one of "IGNORE", "FRAUD", "LEGIT", "AUTO"
|
1518
1604
|
# resp.model_version_details[0].external_events_detail.data_location #=> String
|
1519
1605
|
# resp.model_version_details[0].external_events_detail.data_access_role_arn #=> String
|
1520
1606
|
# resp.model_version_details[0].ingested_events_detail.ingested_events_time_window.start_time #=> String
|
@@ -1558,12 +1644,16 @@ module Aws::FraudDetector
|
|
1558
1644
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].tpr #=> Float
|
1559
1645
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].threshold #=> Float
|
1560
1646
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.model_performance.auc #=> Float
|
1647
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.model_performance.uncertainty_range.lower_bound_value #=> Float
|
1648
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.model_performance.uncertainty_range.upper_bound_value #=> Float
|
1561
1649
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points #=> Array
|
1562
1650
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].fpr #=> Float
|
1563
1651
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].precision #=> Float
|
1564
1652
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].tpr #=> Float
|
1565
1653
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].threshold #=> Float
|
1566
1654
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.model_performance.auc #=> Float
|
1655
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.model_performance.uncertainty_range.lower_bound_value #=> Float
|
1656
|
+
# resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.model_performance.uncertainty_range.upper_bound_value #=> Float
|
1567
1657
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points #=> Array
|
1568
1658
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].cr #=> Float
|
1569
1659
|
# resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].adr #=> Float
|
@@ -2371,6 +2461,94 @@ module Aws::FraudDetector
|
|
2371
2461
|
req.send_request(options)
|
2372
2462
|
end
|
2373
2463
|
|
2464
|
+
# Gets all the elements in the specified list.
|
2465
|
+
#
|
2466
|
+
# @option params [required, String] :name
|
2467
|
+
# The name of the list.
|
2468
|
+
#
|
2469
|
+
# @option params [String] :next_token
|
2470
|
+
# The next token for the subsequent request.
|
2471
|
+
#
|
2472
|
+
# @option params [Integer] :max_results
|
2473
|
+
# The maximum number of objects to return for the request.
|
2474
|
+
#
|
2475
|
+
# @return [Types::GetListElementsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2476
|
+
#
|
2477
|
+
# * {Types::GetListElementsResult#elements #elements} => Array<String>
|
2478
|
+
# * {Types::GetListElementsResult#next_token #next_token} => String
|
2479
|
+
#
|
2480
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2481
|
+
#
|
2482
|
+
# @example Request syntax with placeholder values
|
2483
|
+
#
|
2484
|
+
# resp = client.get_list_elements({
|
2485
|
+
# name: "noDashIdentifier", # required
|
2486
|
+
# next_token: "nextToken",
|
2487
|
+
# max_results: 1,
|
2488
|
+
# })
|
2489
|
+
#
|
2490
|
+
# @example Response structure
|
2491
|
+
#
|
2492
|
+
# resp.elements #=> Array
|
2493
|
+
# resp.elements[0] #=> String
|
2494
|
+
# resp.next_token #=> String
|
2495
|
+
#
|
2496
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListElements AWS API Documentation
|
2497
|
+
#
|
2498
|
+
# @overload get_list_elements(params = {})
|
2499
|
+
# @param [Hash] params ({})
|
2500
|
+
def get_list_elements(params = {}, options = {})
|
2501
|
+
req = build_request(:get_list_elements, params)
|
2502
|
+
req.send_request(options)
|
2503
|
+
end
|
2504
|
+
|
2505
|
+
# Gets the metadata of either all the lists under the account or the
|
2506
|
+
# specified list.
|
2507
|
+
#
|
2508
|
+
# @option params [String] :name
|
2509
|
+
# The name of the list.
|
2510
|
+
#
|
2511
|
+
# @option params [String] :next_token
|
2512
|
+
# The next token for the subsequent request.
|
2513
|
+
#
|
2514
|
+
# @option params [Integer] :max_results
|
2515
|
+
# The maximum number of objects to return for the request.
|
2516
|
+
#
|
2517
|
+
# @return [Types::GetListsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2518
|
+
#
|
2519
|
+
# * {Types::GetListsMetadataResult#lists #lists} => Array<Types::AllowDenyList>
|
2520
|
+
# * {Types::GetListsMetadataResult#next_token #next_token} => String
|
2521
|
+
#
|
2522
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2523
|
+
#
|
2524
|
+
# @example Request syntax with placeholder values
|
2525
|
+
#
|
2526
|
+
# resp = client.get_lists_metadata({
|
2527
|
+
# name: "noDashIdentifier",
|
2528
|
+
# next_token: "nextToken",
|
2529
|
+
# max_results: 1,
|
2530
|
+
# })
|
2531
|
+
#
|
2532
|
+
# @example Response structure
|
2533
|
+
#
|
2534
|
+
# resp.lists #=> Array
|
2535
|
+
# resp.lists[0].name #=> String
|
2536
|
+
# resp.lists[0].description #=> String
|
2537
|
+
# resp.lists[0].variable_type #=> String
|
2538
|
+
# resp.lists[0].created_time #=> String
|
2539
|
+
# resp.lists[0].updated_time #=> String
|
2540
|
+
# resp.lists[0].arn #=> String
|
2541
|
+
# resp.next_token #=> String
|
2542
|
+
#
|
2543
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListsMetadata AWS API Documentation
|
2544
|
+
#
|
2545
|
+
# @overload get_lists_metadata(params = {})
|
2546
|
+
# @param [Hash] params ({})
|
2547
|
+
def get_lists_metadata(params = {}, options = {})
|
2548
|
+
req = build_request(:get_lists_metadata, params)
|
2549
|
+
req.send_request(options)
|
2550
|
+
end
|
2551
|
+
|
2374
2552
|
# Gets the details of the specified model version.
|
2375
2553
|
#
|
2376
2554
|
# @option params [required, String] :model_id
|
@@ -2413,7 +2591,7 @@ module Aws::FraudDetector
|
|
2413
2591
|
# resp.training_data_schema.label_schema.label_mapper #=> Hash
|
2414
2592
|
# resp.training_data_schema.label_schema.label_mapper["string"] #=> Array
|
2415
2593
|
# 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"
|
2594
|
+
# resp.training_data_schema.label_schema.unlabeled_events_treatment #=> String, one of "IGNORE", "FRAUD", "LEGIT", "AUTO"
|
2417
2595
|
# resp.external_events_detail.data_location #=> String
|
2418
2596
|
# resp.external_events_detail.data_access_role_arn #=> String
|
2419
2597
|
# resp.ingested_events_detail.ingested_events_time_window.start_time #=> String
|
@@ -3391,6 +3569,60 @@ module Aws::FraudDetector
|
|
3391
3569
|
req.send_request(options)
|
3392
3570
|
end
|
3393
3571
|
|
3572
|
+
# Updates a list.
|
3573
|
+
#
|
3574
|
+
# @option params [required, String] :name
|
3575
|
+
# The name of the list to update.
|
3576
|
+
#
|
3577
|
+
# @option params [Array<String>] :elements
|
3578
|
+
# One or more list elements to add or replace. If you are providing the
|
3579
|
+
# elements, make sure to specify the `updateMode` to use.
|
3580
|
+
#
|
3581
|
+
# If you are deleting all elements from the list, use `REPLACE` for the
|
3582
|
+
# `updateMode` and provide an empty list (0 elements).
|
3583
|
+
#
|
3584
|
+
# @option params [String] :description
|
3585
|
+
# The new description.
|
3586
|
+
#
|
3587
|
+
# @option params [String] :update_mode
|
3588
|
+
# The update mode (type).
|
3589
|
+
#
|
3590
|
+
# * Use `APPEND` if you are adding elements to the list.
|
3591
|
+
#
|
3592
|
+
# * Use `REPLACE` if you replacing existing elements in the list.
|
3593
|
+
#
|
3594
|
+
# * Use `REMOVE` if you are removing elements from the list.
|
3595
|
+
#
|
3596
|
+
# @option params [String] :variable_type
|
3597
|
+
# The variable type you want to assign to the list.
|
3598
|
+
#
|
3599
|
+
# <note markdown="1"> You cannot update a variable type of a list that already has a
|
3600
|
+
# variable type assigned to it. You can assign a variable type to a list
|
3601
|
+
# only if the list does not already have a variable type.
|
3602
|
+
#
|
3603
|
+
# </note>
|
3604
|
+
#
|
3605
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3606
|
+
#
|
3607
|
+
# @example Request syntax with placeholder values
|
3608
|
+
#
|
3609
|
+
# resp = client.update_list({
|
3610
|
+
# name: "noDashIdentifier", # required
|
3611
|
+
# elements: ["Elements"],
|
3612
|
+
# description: "description",
|
3613
|
+
# update_mode: "REPLACE", # accepts REPLACE, APPEND, REMOVE
|
3614
|
+
# variable_type: "variableType",
|
3615
|
+
# })
|
3616
|
+
#
|
3617
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateList AWS API Documentation
|
3618
|
+
#
|
3619
|
+
# @overload update_list(params = {})
|
3620
|
+
# @param [Hash] params ({})
|
3621
|
+
def update_list(params = {}, options = {})
|
3622
|
+
req = build_request(:update_list, params)
|
3623
|
+
req.send_request(options)
|
3624
|
+
end
|
3625
|
+
|
3394
3626
|
# Updates model description.
|
3395
3627
|
#
|
3396
3628
|
# @option params [required, String] :model_id
|
@@ -3678,7 +3910,7 @@ module Aws::FraudDetector
|
|
3678
3910
|
params: params,
|
3679
3911
|
config: config)
|
3680
3912
|
context[:gem_name] = 'aws-sdk-frauddetector'
|
3681
|
-
context[:gem_version] = '1.
|
3913
|
+
context[:gem_version] = '1.39.0'
|
3682
3914
|
Seahorse::Client::Request.new(handlers, context)
|
3683
3915
|
end
|
3684
3916
|
|
@@ -21,6 +21,8 @@ module Aws::FraudDetector
|
|
21
21
|
AggregatedLogOddsMetric = Shapes::StructureShape.new(name: 'AggregatedLogOddsMetric')
|
22
22
|
AggregatedVariablesImpactExplanation = Shapes::StructureShape.new(name: 'AggregatedVariablesImpactExplanation')
|
23
23
|
AggregatedVariablesImportanceMetrics = Shapes::StructureShape.new(name: 'AggregatedVariablesImportanceMetrics')
|
24
|
+
AllowDenyList = Shapes::StructureShape.new(name: 'AllowDenyList')
|
25
|
+
AllowDenyLists = Shapes::ListShape.new(name: 'AllowDenyLists')
|
24
26
|
AsyncJobStatus = Shapes::StringShape.new(name: 'AsyncJobStatus')
|
25
27
|
BatchCreateVariableError = Shapes::StructureShape.new(name: 'BatchCreateVariableError')
|
26
28
|
BatchCreateVariableErrorList = Shapes::ListShape.new(name: 'BatchCreateVariableErrorList')
|
@@ -46,6 +48,8 @@ module Aws::FraudDetector
|
|
46
48
|
CreateBatchPredictionJobResult = Shapes::StructureShape.new(name: 'CreateBatchPredictionJobResult')
|
47
49
|
CreateDetectorVersionRequest = Shapes::StructureShape.new(name: 'CreateDetectorVersionRequest')
|
48
50
|
CreateDetectorVersionResult = Shapes::StructureShape.new(name: 'CreateDetectorVersionResult')
|
51
|
+
CreateListRequest = Shapes::StructureShape.new(name: 'CreateListRequest')
|
52
|
+
CreateListResult = Shapes::StructureShape.new(name: 'CreateListResult')
|
49
53
|
CreateModelRequest = Shapes::StructureShape.new(name: 'CreateModelRequest')
|
50
54
|
CreateModelResult = Shapes::StructureShape.new(name: 'CreateModelResult')
|
51
55
|
CreateModelVersionRequest = Shapes::StructureShape.new(name: 'CreateModelVersionRequest')
|
@@ -79,6 +83,8 @@ module Aws::FraudDetector
|
|
79
83
|
DeleteExternalModelResult = Shapes::StructureShape.new(name: 'DeleteExternalModelResult')
|
80
84
|
DeleteLabelRequest = Shapes::StructureShape.new(name: 'DeleteLabelRequest')
|
81
85
|
DeleteLabelResult = Shapes::StructureShape.new(name: 'DeleteLabelResult')
|
86
|
+
DeleteListRequest = Shapes::StructureShape.new(name: 'DeleteListRequest')
|
87
|
+
DeleteListResult = Shapes::StructureShape.new(name: 'DeleteListResult')
|
82
88
|
DeleteModelRequest = Shapes::StructureShape.new(name: 'DeleteModelRequest')
|
83
89
|
DeleteModelResult = Shapes::StructureShape.new(name: 'DeleteModelResult')
|
84
90
|
DeleteModelVersionRequest = Shapes::StructureShape.new(name: 'DeleteModelVersionRequest')
|
@@ -100,6 +106,8 @@ module Aws::FraudDetector
|
|
100
106
|
DetectorVersionSummary = Shapes::StructureShape.new(name: 'DetectorVersionSummary')
|
101
107
|
DetectorVersionSummaryList = Shapes::ListShape.new(name: 'DetectorVersionSummaryList')
|
102
108
|
DetectorsMaxResults = Shapes::IntegerShape.new(name: 'DetectorsMaxResults')
|
109
|
+
Elements = Shapes::StringShape.new(name: 'Elements')
|
110
|
+
ElementsList = Shapes::ListShape.new(name: 'ElementsList')
|
103
111
|
Entity = Shapes::StructureShape.new(name: 'Entity')
|
104
112
|
EntityType = Shapes::StructureShape.new(name: 'EntityType')
|
105
113
|
EvaluatedExternalModel = Shapes::StructureShape.new(name: 'EvaluatedExternalModel')
|
@@ -150,6 +158,10 @@ module Aws::FraudDetector
|
|
150
158
|
GetKMSEncryptionKeyResult = Shapes::StructureShape.new(name: 'GetKMSEncryptionKeyResult')
|
151
159
|
GetLabelsRequest = Shapes::StructureShape.new(name: 'GetLabelsRequest')
|
152
160
|
GetLabelsResult = Shapes::StructureShape.new(name: 'GetLabelsResult')
|
161
|
+
GetListElementsRequest = Shapes::StructureShape.new(name: 'GetListElementsRequest')
|
162
|
+
GetListElementsResult = Shapes::StructureShape.new(name: 'GetListElementsResult')
|
163
|
+
GetListsMetadataRequest = Shapes::StructureShape.new(name: 'GetListsMetadataRequest')
|
164
|
+
GetListsMetadataResult = Shapes::StructureShape.new(name: 'GetListsMetadataResult')
|
153
165
|
GetModelVersionRequest = Shapes::StructureShape.new(name: 'GetModelVersionRequest')
|
154
166
|
GetModelVersionResult = Shapes::StructureShape.new(name: 'GetModelVersionResult')
|
155
167
|
GetModelsRequest = Shapes::StructureShape.new(name: 'GetModelsRequest')
|
@@ -188,6 +200,9 @@ module Aws::FraudDetector
|
|
188
200
|
ListOfStrings = Shapes::ListShape.new(name: 'ListOfStrings')
|
189
201
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
190
202
|
ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
|
203
|
+
ListUpdateMode = Shapes::StringShape.new(name: 'ListUpdateMode')
|
204
|
+
ListsElementsMaxResults = Shapes::IntegerShape.new(name: 'ListsElementsMaxResults')
|
205
|
+
ListsMetadataMaxResults = Shapes::IntegerShape.new(name: 'ListsMetadataMaxResults')
|
191
206
|
LogOddsMetric = Shapes::StructureShape.new(name: 'LogOddsMetric')
|
192
207
|
Long = Shapes::IntegerShape.new(name: 'Long')
|
193
208
|
MapOfStrings = Shapes::MapShape.new(name: 'MapOfStrings')
|
@@ -258,6 +273,7 @@ module Aws::FraudDetector
|
|
258
273
|
TrainingMetricsV2 = Shapes::StructureShape.new(name: 'TrainingMetricsV2')
|
259
274
|
TrainingResult = Shapes::StructureShape.new(name: 'TrainingResult')
|
260
275
|
TrainingResultV2 = Shapes::StructureShape.new(name: 'TrainingResultV2')
|
276
|
+
UncertaintyRange = Shapes::StructureShape.new(name: 'UncertaintyRange')
|
261
277
|
UnlabeledEventsTreatment = Shapes::StringShape.new(name: 'UnlabeledEventsTreatment')
|
262
278
|
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
263
279
|
UntagResourceResult = Shapes::StructureShape.new(name: 'UntagResourceResult')
|
@@ -269,6 +285,8 @@ module Aws::FraudDetector
|
|
269
285
|
UpdateDetectorVersionStatusResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionStatusResult')
|
270
286
|
UpdateEventLabelRequest = Shapes::StructureShape.new(name: 'UpdateEventLabelRequest')
|
271
287
|
UpdateEventLabelResult = Shapes::StructureShape.new(name: 'UpdateEventLabelResult')
|
288
|
+
UpdateListRequest = Shapes::StructureShape.new(name: 'UpdateListRequest')
|
289
|
+
UpdateListResult = Shapes::StructureShape.new(name: 'UpdateListResult')
|
272
290
|
UpdateModelRequest = Shapes::StructureShape.new(name: 'UpdateModelRequest')
|
273
291
|
UpdateModelResult = Shapes::StructureShape.new(name: 'UpdateModelResult')
|
274
292
|
UpdateModelVersionRequest = Shapes::StructureShape.new(name: 'UpdateModelVersionRequest')
|
@@ -322,6 +340,8 @@ module Aws::FraudDetector
|
|
322
340
|
modelList = Shapes::ListShape.new(name: 'modelList')
|
323
341
|
modelVersionDetailList = Shapes::ListShape.new(name: 'modelVersionDetailList')
|
324
342
|
modelsMaxPageSize = Shapes::IntegerShape.new(name: 'modelsMaxPageSize')
|
343
|
+
nextToken = Shapes::StringShape.new(name: 'nextToken')
|
344
|
+
noDashIdentifier = Shapes::StringShape.new(name: 'noDashIdentifier')
|
325
345
|
ruleExpression = Shapes::StringShape.new(name: 'ruleExpression')
|
326
346
|
s3BucketLocation = Shapes::StringShape.new(name: 's3BucketLocation')
|
327
347
|
sageMakerEndpointIdentifier = Shapes::StringShape.new(name: 'sageMakerEndpointIdentifier')
|
@@ -334,6 +354,7 @@ module Aws::FraudDetector
|
|
334
354
|
time = Shapes::StringShape.new(name: 'time')
|
335
355
|
utcTimestampISO8601 = Shapes::StringShape.new(name: 'utcTimestampISO8601')
|
336
356
|
variableName = Shapes::StringShape.new(name: 'variableName')
|
357
|
+
variableType = Shapes::StringShape.new(name: 'variableType')
|
337
358
|
variableValue = Shapes::StringShape.new(name: 'variableValue')
|
338
359
|
wholeNumberVersionString = Shapes::StringShape.new(name: 'wholeNumberVersionString')
|
339
360
|
|
@@ -367,6 +388,16 @@ module Aws::FraudDetector
|
|
367
388
|
AggregatedVariablesImportanceMetrics.add_member(:log_odds_metrics, Shapes::ShapeRef.new(shape: ListOfAggregatedLogOddsMetrics, location_name: "logOddsMetrics"))
|
368
389
|
AggregatedVariablesImportanceMetrics.struct_class = Types::AggregatedVariablesImportanceMetrics
|
369
390
|
|
391
|
+
AllowDenyList.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, required: true, location_name: "name"))
|
392
|
+
AllowDenyList.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
|
393
|
+
AllowDenyList.add_member(:variable_type, Shapes::ShapeRef.new(shape: variableType, location_name: "variableType"))
|
394
|
+
AllowDenyList.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
|
395
|
+
AllowDenyList.add_member(:updated_time, Shapes::ShapeRef.new(shape: time, location_name: "updatedTime"))
|
396
|
+
AllowDenyList.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
|
397
|
+
AllowDenyList.struct_class = Types::AllowDenyList
|
398
|
+
|
399
|
+
AllowDenyLists.member = Shapes::ShapeRef.new(shape: AllowDenyList)
|
400
|
+
|
370
401
|
BatchCreateVariableError.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
|
371
402
|
BatchCreateVariableError.add_member(:code, Shapes::ShapeRef.new(shape: integer, location_name: "code"))
|
372
403
|
BatchCreateVariableError.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
@@ -480,6 +511,15 @@ module Aws::FraudDetector
|
|
480
511
|
CreateDetectorVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, location_name: "status"))
|
481
512
|
CreateDetectorVersionResult.struct_class = Types::CreateDetectorVersionResult
|
482
513
|
|
514
|
+
CreateListRequest.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, required: true, location_name: "name"))
|
515
|
+
CreateListRequest.add_member(:elements, Shapes::ShapeRef.new(shape: ElementsList, location_name: "elements"))
|
516
|
+
CreateListRequest.add_member(:variable_type, Shapes::ShapeRef.new(shape: variableType, location_name: "variableType"))
|
517
|
+
CreateListRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
|
518
|
+
CreateListRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
|
519
|
+
CreateListRequest.struct_class = Types::CreateListRequest
|
520
|
+
|
521
|
+
CreateListResult.struct_class = Types::CreateListResult
|
522
|
+
|
483
523
|
CreateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
484
524
|
CreateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
485
525
|
CreateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
|
@@ -589,6 +629,11 @@ module Aws::FraudDetector
|
|
589
629
|
|
590
630
|
DeleteLabelResult.struct_class = Types::DeleteLabelResult
|
591
631
|
|
632
|
+
DeleteListRequest.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, required: true, location_name: "name"))
|
633
|
+
DeleteListRequest.struct_class = Types::DeleteListRequest
|
634
|
+
|
635
|
+
DeleteListResult.struct_class = Types::DeleteListResult
|
636
|
+
|
592
637
|
DeleteModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
593
638
|
DeleteModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
594
639
|
DeleteModelRequest.struct_class = Types::DeleteModelRequest
|
@@ -657,6 +702,8 @@ module Aws::FraudDetector
|
|
657
702
|
|
658
703
|
DetectorVersionSummaryList.member = Shapes::ShapeRef.new(shape: DetectorVersionSummary)
|
659
704
|
|
705
|
+
ElementsList.member = Shapes::ShapeRef.new(shape: Elements)
|
706
|
+
|
660
707
|
Entity.add_member(:entity_type, Shapes::ShapeRef.new(shape: string, required: true, location_name: "entityType"))
|
661
708
|
Entity.add_member(:entity_id, Shapes::ShapeRef.new(shape: entityRestrictedString, required: true, location_name: "entityId"))
|
662
709
|
Entity.struct_class = Types::Entity
|
@@ -913,6 +960,24 @@ module Aws::FraudDetector
|
|
913
960
|
GetLabelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
|
914
961
|
GetLabelsResult.struct_class = Types::GetLabelsResult
|
915
962
|
|
963
|
+
GetListElementsRequest.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, required: true, location_name: "name"))
|
964
|
+
GetListElementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
965
|
+
GetListElementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListsElementsMaxResults, location_name: "maxResults"))
|
966
|
+
GetListElementsRequest.struct_class = Types::GetListElementsRequest
|
967
|
+
|
968
|
+
GetListElementsResult.add_member(:elements, Shapes::ShapeRef.new(shape: ElementsList, location_name: "elements"))
|
969
|
+
GetListElementsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
970
|
+
GetListElementsResult.struct_class = Types::GetListElementsResult
|
971
|
+
|
972
|
+
GetListsMetadataRequest.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, location_name: "name"))
|
973
|
+
GetListsMetadataRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
974
|
+
GetListsMetadataRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListsMetadataMaxResults, location_name: "maxResults"))
|
975
|
+
GetListsMetadataRequest.struct_class = Types::GetListsMetadataRequest
|
976
|
+
|
977
|
+
GetListsMetadataResult.add_member(:lists, Shapes::ShapeRef.new(shape: AllowDenyLists, location_name: "lists"))
|
978
|
+
GetListsMetadataResult.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
|
979
|
+
GetListsMetadataResult.struct_class = Types::GetListsMetadataResult
|
980
|
+
|
916
981
|
GetModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
917
982
|
GetModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
918
983
|
GetModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, required: true, location_name: "modelVersionNumber"))
|
@@ -1135,6 +1200,7 @@ module Aws::FraudDetector
|
|
1135
1200
|
OFIMetricDataPointsList.member = Shapes::ShapeRef.new(shape: OFIMetricDataPoint)
|
1136
1201
|
|
1137
1202
|
OFIModelPerformance.add_member(:auc, Shapes::ShapeRef.new(shape: float, location_name: "auc"))
|
1203
|
+
OFIModelPerformance.add_member(:uncertainty_range, Shapes::ShapeRef.new(shape: UncertaintyRange, location_name: "uncertaintyRange"))
|
1138
1204
|
OFIModelPerformance.struct_class = Types::OFIModelPerformance
|
1139
1205
|
|
1140
1206
|
OFITrainingMetricsValue.add_member(:metric_data_points, Shapes::ShapeRef.new(shape: OFIMetricDataPointsList, location_name: "metricDataPoints"))
|
@@ -1265,6 +1331,7 @@ module Aws::FraudDetector
|
|
1265
1331
|
TFIMetricDataPointsList.member = Shapes::ShapeRef.new(shape: TFIMetricDataPoint)
|
1266
1332
|
|
1267
1333
|
TFIModelPerformance.add_member(:auc, Shapes::ShapeRef.new(shape: float, location_name: "auc"))
|
1334
|
+
TFIModelPerformance.add_member(:uncertainty_range, Shapes::ShapeRef.new(shape: UncertaintyRange, location_name: "uncertaintyRange"))
|
1268
1335
|
TFIModelPerformance.struct_class = Types::TFIModelPerformance
|
1269
1336
|
|
1270
1337
|
TFITrainingMetricsValue.add_member(:metric_data_points, Shapes::ShapeRef.new(shape: TFIMetricDataPointsList, location_name: "metricDataPoints"))
|
@@ -1308,6 +1375,10 @@ module Aws::FraudDetector
|
|
1308
1375
|
TrainingResultV2.add_member(:aggregated_variables_importance_metrics, Shapes::ShapeRef.new(shape: AggregatedVariablesImportanceMetrics, location_name: "aggregatedVariablesImportanceMetrics"))
|
1309
1376
|
TrainingResultV2.struct_class = Types::TrainingResultV2
|
1310
1377
|
|
1378
|
+
UncertaintyRange.add_member(:lower_bound_value, Shapes::ShapeRef.new(shape: float, required: true, location_name: "lowerBoundValue"))
|
1379
|
+
UncertaintyRange.add_member(:upper_bound_value, Shapes::ShapeRef.new(shape: float, required: true, location_name: "upperBoundValue"))
|
1380
|
+
UncertaintyRange.struct_class = Types::UncertaintyRange
|
1381
|
+
|
1311
1382
|
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, required: true, location_name: "resourceARN"))
|
1312
1383
|
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: tagKeyList, required: true, location_name: "tagKeys"))
|
1313
1384
|
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
@@ -1347,6 +1418,15 @@ module Aws::FraudDetector
|
|
1347
1418
|
|
1348
1419
|
UpdateEventLabelResult.struct_class = Types::UpdateEventLabelResult
|
1349
1420
|
|
1421
|
+
UpdateListRequest.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, required: true, location_name: "name"))
|
1422
|
+
UpdateListRequest.add_member(:elements, Shapes::ShapeRef.new(shape: ElementsList, location_name: "elements"))
|
1423
|
+
UpdateListRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
|
1424
|
+
UpdateListRequest.add_member(:update_mode, Shapes::ShapeRef.new(shape: ListUpdateMode, location_name: "updateMode"))
|
1425
|
+
UpdateListRequest.add_member(:variable_type, Shapes::ShapeRef.new(shape: variableType, location_name: "variableType"))
|
1426
|
+
UpdateListRequest.struct_class = Types::UpdateListRequest
|
1427
|
+
|
1428
|
+
UpdateListResult.struct_class = Types::UpdateListResult
|
1429
|
+
|
1350
1430
|
UpdateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
1351
1431
|
UpdateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
1352
1432
|
UpdateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
|
@@ -1569,6 +1649,18 @@ module Aws::FraudDetector
|
|
1569
1649
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1570
1650
|
end)
|
1571
1651
|
|
1652
|
+
api.add_operation(:create_list, Seahorse::Model::Operation.new.tap do |o|
|
1653
|
+
o.name = "CreateList"
|
1654
|
+
o.http_method = "POST"
|
1655
|
+
o.http_request_uri = "/"
|
1656
|
+
o.input = Shapes::ShapeRef.new(shape: CreateListRequest)
|
1657
|
+
o.output = Shapes::ShapeRef.new(shape: CreateListResult)
|
1658
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1659
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1660
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1661
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1662
|
+
end)
|
1663
|
+
|
1572
1664
|
api.add_operation(:create_model, Seahorse::Model::Operation.new.tap do |o|
|
1573
1665
|
o.name = "CreateModel"
|
1574
1666
|
o.http_method = "POST"
|
@@ -1746,6 +1838,19 @@ module Aws::FraudDetector
|
|
1746
1838
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1747
1839
|
end)
|
1748
1840
|
|
1841
|
+
api.add_operation(:delete_list, Seahorse::Model::Operation.new.tap do |o|
|
1842
|
+
o.name = "DeleteList"
|
1843
|
+
o.http_method = "POST"
|
1844
|
+
o.http_request_uri = "/"
|
1845
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteListRequest)
|
1846
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteListResult)
|
1847
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1848
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1849
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
1850
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1851
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1852
|
+
end)
|
1853
|
+
|
1749
1854
|
api.add_operation(:delete_model, Seahorse::Model::Operation.new.tap do |o|
|
1750
1855
|
o.name = "DeleteModel"
|
1751
1856
|
o.http_method = "POST"
|
@@ -2055,6 +2160,44 @@ module Aws::FraudDetector
|
|
2055
2160
|
)
|
2056
2161
|
end)
|
2057
2162
|
|
2163
|
+
api.add_operation(:get_list_elements, Seahorse::Model::Operation.new.tap do |o|
|
2164
|
+
o.name = "GetListElements"
|
2165
|
+
o.http_method = "POST"
|
2166
|
+
o.http_request_uri = "/"
|
2167
|
+
o.input = Shapes::ShapeRef.new(shape: GetListElementsRequest)
|
2168
|
+
o.output = Shapes::ShapeRef.new(shape: GetListElementsResult)
|
2169
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2170
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2171
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2172
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2173
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2174
|
+
o[:pager] = Aws::Pager.new(
|
2175
|
+
limit_key: "max_results",
|
2176
|
+
tokens: {
|
2177
|
+
"next_token" => "next_token"
|
2178
|
+
}
|
2179
|
+
)
|
2180
|
+
end)
|
2181
|
+
|
2182
|
+
api.add_operation(:get_lists_metadata, Seahorse::Model::Operation.new.tap do |o|
|
2183
|
+
o.name = "GetListsMetadata"
|
2184
|
+
o.http_method = "POST"
|
2185
|
+
o.http_request_uri = "/"
|
2186
|
+
o.input = Shapes::ShapeRef.new(shape: GetListsMetadataRequest)
|
2187
|
+
o.output = Shapes::ShapeRef.new(shape: GetListsMetadataResult)
|
2188
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2189
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2190
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2191
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2192
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2193
|
+
o[:pager] = Aws::Pager.new(
|
2194
|
+
limit_key: "max_results",
|
2195
|
+
tokens: {
|
2196
|
+
"next_token" => "next_token"
|
2197
|
+
}
|
2198
|
+
)
|
2199
|
+
end)
|
2200
|
+
|
2058
2201
|
api.add_operation(:get_model_version, Seahorse::Model::Operation.new.tap do |o|
|
2059
2202
|
o.name = "GetModelVersion"
|
2060
2203
|
o.http_method = "POST"
|
@@ -2365,6 +2508,20 @@ module Aws::FraudDetector
|
|
2365
2508
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2366
2509
|
end)
|
2367
2510
|
|
2511
|
+
api.add_operation(:update_list, Seahorse::Model::Operation.new.tap do |o|
|
2512
|
+
o.name = "UpdateList"
|
2513
|
+
o.http_method = "POST"
|
2514
|
+
o.http_request_uri = "/"
|
2515
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateListRequest)
|
2516
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateListResult)
|
2517
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2518
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2519
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2520
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2521
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2522
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2523
|
+
end)
|
2524
|
+
|
2368
2525
|
api.add_operation(:update_model, Seahorse::Model::Operation.new.tap do |o|
|
2369
2526
|
o.name = "UpdateModel"
|
2370
2527
|
o.http_method = "POST"
|
@@ -50,9 +50,6 @@ module Aws::FraudDetector
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
-
if self[:region].nil?
|
54
|
-
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
-
end
|
56
53
|
self[:use_dual_stack] = options[:use_dual_stack]
|
57
54
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
58
55
|
if self[:use_dual_stack].nil?
|
@@ -14,36 +14,39 @@ module Aws::FraudDetector
|
|
14
14
|
use_dual_stack = parameters.use_dual_stack
|
15
15
|
use_fips = parameters.use_fips
|
16
16
|
endpoint = parameters.endpoint
|
17
|
-
if
|
18
|
-
if Aws::Endpoints::Matchers.set?(endpoint) && (url = Aws::Endpoints::Matchers.parse_url(endpoint))
|
19
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
-
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
-
end
|
22
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
-
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
-
end
|
25
|
-
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
-
end
|
27
|
-
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
-
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
-
return Aws::Endpoints::Endpoint.new(url: "https://frauddetector-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
-
end
|
31
|
-
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
-
end
|
17
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
33
18
|
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
-
|
35
|
-
return Aws::Endpoints::Endpoint.new(url: "https://frauddetector-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
36
|
-
end
|
37
|
-
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
19
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
38
20
|
end
|
39
21
|
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
40
|
-
|
41
|
-
|
22
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
23
|
+
end
|
24
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
25
|
+
end
|
26
|
+
if Aws::Endpoints::Matchers.set?(region)
|
27
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
29
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
30
|
+
return Aws::Endpoints::Endpoint.new(url: "https://frauddetector-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
31
|
+
end
|
32
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
33
|
+
end
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
35
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://frauddetector-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
39
|
+
end
|
40
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
41
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
42
|
+
return Aws::Endpoints::Endpoint.new(url: "https://frauddetector.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
43
|
+
end
|
44
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
42
45
|
end
|
43
|
-
|
46
|
+
return Aws::Endpoints::Endpoint.new(url: "https://frauddetector.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
44
47
|
end
|
45
|
-
return Aws::Endpoints::Endpoint.new(url: "https://frauddetector.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
46
48
|
end
|
49
|
+
raise ArgumentError, "Invalid Configuration: Missing Region"
|
47
50
|
raise ArgumentError, 'No endpoint could be resolved'
|
48
51
|
|
49
52
|
end
|
@@ -109,6 +109,20 @@ module Aws::FraudDetector
|
|
109
109
|
end
|
110
110
|
end
|
111
111
|
|
112
|
+
class CreateList
|
113
|
+
def self.build(context)
|
114
|
+
unless context.config.regional_endpoint
|
115
|
+
endpoint = context.config.endpoint.to_s
|
116
|
+
end
|
117
|
+
Aws::FraudDetector::EndpointParameters.new(
|
118
|
+
region: context.config.region,
|
119
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
120
|
+
use_fips: context.config.use_fips_endpoint,
|
121
|
+
endpoint: endpoint,
|
122
|
+
)
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
112
126
|
class CreateModel
|
113
127
|
def self.build(context)
|
114
128
|
unless context.config.regional_endpoint
|
@@ -305,6 +319,20 @@ module Aws::FraudDetector
|
|
305
319
|
end
|
306
320
|
end
|
307
321
|
|
322
|
+
class DeleteList
|
323
|
+
def self.build(context)
|
324
|
+
unless context.config.regional_endpoint
|
325
|
+
endpoint = context.config.endpoint.to_s
|
326
|
+
end
|
327
|
+
Aws::FraudDetector::EndpointParameters.new(
|
328
|
+
region: context.config.region,
|
329
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
330
|
+
use_fips: context.config.use_fips_endpoint,
|
331
|
+
endpoint: endpoint,
|
332
|
+
)
|
333
|
+
end
|
334
|
+
end
|
335
|
+
|
308
336
|
class DeleteModel
|
309
337
|
def self.build(context)
|
310
338
|
unless context.config.regional_endpoint
|
@@ -585,6 +613,34 @@ module Aws::FraudDetector
|
|
585
613
|
end
|
586
614
|
end
|
587
615
|
|
616
|
+
class GetListElements
|
617
|
+
def self.build(context)
|
618
|
+
unless context.config.regional_endpoint
|
619
|
+
endpoint = context.config.endpoint.to_s
|
620
|
+
end
|
621
|
+
Aws::FraudDetector::EndpointParameters.new(
|
622
|
+
region: context.config.region,
|
623
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
624
|
+
use_fips: context.config.use_fips_endpoint,
|
625
|
+
endpoint: endpoint,
|
626
|
+
)
|
627
|
+
end
|
628
|
+
end
|
629
|
+
|
630
|
+
class GetListsMetadata
|
631
|
+
def self.build(context)
|
632
|
+
unless context.config.regional_endpoint
|
633
|
+
endpoint = context.config.endpoint.to_s
|
634
|
+
end
|
635
|
+
Aws::FraudDetector::EndpointParameters.new(
|
636
|
+
region: context.config.region,
|
637
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
638
|
+
use_fips: context.config.use_fips_endpoint,
|
639
|
+
endpoint: endpoint,
|
640
|
+
)
|
641
|
+
end
|
642
|
+
end
|
643
|
+
|
588
644
|
class GetModelVersion
|
589
645
|
def self.build(context)
|
590
646
|
unless context.config.regional_endpoint
|
@@ -879,6 +935,20 @@ module Aws::FraudDetector
|
|
879
935
|
end
|
880
936
|
end
|
881
937
|
|
938
|
+
class UpdateList
|
939
|
+
def self.build(context)
|
940
|
+
unless context.config.regional_endpoint
|
941
|
+
endpoint = context.config.endpoint.to_s
|
942
|
+
end
|
943
|
+
Aws::FraudDetector::EndpointParameters.new(
|
944
|
+
region: context.config.region,
|
945
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
946
|
+
use_fips: context.config.use_fips_endpoint,
|
947
|
+
endpoint: endpoint,
|
948
|
+
)
|
949
|
+
end
|
950
|
+
end
|
951
|
+
|
882
952
|
class UpdateModel
|
883
953
|
def self.build(context)
|
884
954
|
unless context.config.regional_endpoint
|
@@ -70,6 +70,8 @@ module Aws::FraudDetector
|
|
70
70
|
Aws::FraudDetector::Endpoints::CreateBatchPredictionJob.build(context)
|
71
71
|
when :create_detector_version
|
72
72
|
Aws::FraudDetector::Endpoints::CreateDetectorVersion.build(context)
|
73
|
+
when :create_list
|
74
|
+
Aws::FraudDetector::Endpoints::CreateList.build(context)
|
73
75
|
when :create_model
|
74
76
|
Aws::FraudDetector::Endpoints::CreateModel.build(context)
|
75
77
|
when :create_model_version
|
@@ -98,6 +100,8 @@ module Aws::FraudDetector
|
|
98
100
|
Aws::FraudDetector::Endpoints::DeleteExternalModel.build(context)
|
99
101
|
when :delete_label
|
100
102
|
Aws::FraudDetector::Endpoints::DeleteLabel.build(context)
|
103
|
+
when :delete_list
|
104
|
+
Aws::FraudDetector::Endpoints::DeleteList.build(context)
|
101
105
|
when :delete_model
|
102
106
|
Aws::FraudDetector::Endpoints::DeleteModel.build(context)
|
103
107
|
when :delete_model_version
|
@@ -138,6 +142,10 @@ module Aws::FraudDetector
|
|
138
142
|
Aws::FraudDetector::Endpoints::GetKMSEncryptionKey.build(context)
|
139
143
|
when :get_labels
|
140
144
|
Aws::FraudDetector::Endpoints::GetLabels.build(context)
|
145
|
+
when :get_list_elements
|
146
|
+
Aws::FraudDetector::Endpoints::GetListElements.build(context)
|
147
|
+
when :get_lists_metadata
|
148
|
+
Aws::FraudDetector::Endpoints::GetListsMetadata.build(context)
|
141
149
|
when :get_model_version
|
142
150
|
Aws::FraudDetector::Endpoints::GetModelVersion.build(context)
|
143
151
|
when :get_models
|
@@ -180,6 +188,8 @@ module Aws::FraudDetector
|
|
180
188
|
Aws::FraudDetector::Endpoints::UpdateDetectorVersionStatus.build(context)
|
181
189
|
when :update_event_label
|
182
190
|
Aws::FraudDetector::Endpoints::UpdateEventLabel.build(context)
|
191
|
+
when :update_list
|
192
|
+
Aws::FraudDetector::Endpoints::UpdateList.build(context)
|
183
193
|
when :update_model
|
184
194
|
Aws::FraudDetector::Endpoints::UpdateModel.build(context)
|
185
195
|
when :update_model_version
|
@@ -198,6 +198,45 @@ module Aws::FraudDetector
|
|
198
198
|
include Aws::Structure
|
199
199
|
end
|
200
200
|
|
201
|
+
# The metadata of a list.
|
202
|
+
#
|
203
|
+
# @!attribute [rw] name
|
204
|
+
# The name of the list.
|
205
|
+
# @return [String]
|
206
|
+
#
|
207
|
+
# @!attribute [rw] description
|
208
|
+
# The description of the list.
|
209
|
+
# @return [String]
|
210
|
+
#
|
211
|
+
# @!attribute [rw] variable_type
|
212
|
+
# The variable type of the list.
|
213
|
+
# @return [String]
|
214
|
+
#
|
215
|
+
# @!attribute [rw] created_time
|
216
|
+
# The time the list was created.
|
217
|
+
# @return [String]
|
218
|
+
#
|
219
|
+
# @!attribute [rw] updated_time
|
220
|
+
# The time the list was last updated.
|
221
|
+
# @return [String]
|
222
|
+
#
|
223
|
+
# @!attribute [rw] arn
|
224
|
+
# The ARN of the list.
|
225
|
+
# @return [String]
|
226
|
+
#
|
227
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/AllowDenyList AWS API Documentation
|
228
|
+
#
|
229
|
+
class AllowDenyList < Struct.new(
|
230
|
+
:name,
|
231
|
+
:description,
|
232
|
+
:variable_type,
|
233
|
+
:created_time,
|
234
|
+
:updated_time,
|
235
|
+
:arn)
|
236
|
+
SENSITIVE = []
|
237
|
+
include Aws::Structure
|
238
|
+
end
|
239
|
+
|
201
240
|
# Provides the error of the batch create variable API.
|
202
241
|
#
|
203
242
|
# @!attribute [rw] name
|
@@ -704,6 +743,53 @@ module Aws::FraudDetector
|
|
704
743
|
include Aws::Structure
|
705
744
|
end
|
706
745
|
|
746
|
+
# @!attribute [rw] name
|
747
|
+
# The name of the list.
|
748
|
+
# @return [String]
|
749
|
+
#
|
750
|
+
# @!attribute [rw] elements
|
751
|
+
# The names of the elements, if providing. You can also create an
|
752
|
+
# empty list and add elements later using the [UpdateList][1] API.
|
753
|
+
#
|
754
|
+
#
|
755
|
+
#
|
756
|
+
# [1]: https://docs.aws.amazon.com/frauddetector/latest/api/API_Updatelist.html
|
757
|
+
# @return [Array<String>]
|
758
|
+
#
|
759
|
+
# @!attribute [rw] variable_type
|
760
|
+
# The variable type of the list. You can only assign the variable type
|
761
|
+
# with String data type. For more information, see [Variable
|
762
|
+
# types][1].
|
763
|
+
#
|
764
|
+
#
|
765
|
+
#
|
766
|
+
# [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
|
767
|
+
# @return [String]
|
768
|
+
#
|
769
|
+
# @!attribute [rw] description
|
770
|
+
# The description of the list.
|
771
|
+
# @return [String]
|
772
|
+
#
|
773
|
+
# @!attribute [rw] tags
|
774
|
+
# A collection of the key and value pairs.
|
775
|
+
# @return [Array<Types::Tag>]
|
776
|
+
#
|
777
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateListRequest AWS API Documentation
|
778
|
+
#
|
779
|
+
class CreateListRequest < Struct.new(
|
780
|
+
:name,
|
781
|
+
:elements,
|
782
|
+
:variable_type,
|
783
|
+
:description,
|
784
|
+
:tags)
|
785
|
+
SENSITIVE = []
|
786
|
+
include Aws::Structure
|
787
|
+
end
|
788
|
+
|
789
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateListResult AWS API Documentation
|
790
|
+
#
|
791
|
+
class CreateListResult < Aws::EmptyStructure; end
|
792
|
+
|
707
793
|
# @!attribute [rw] model_id
|
708
794
|
# The model ID.
|
709
795
|
# @return [String]
|
@@ -1133,6 +1219,22 @@ module Aws::FraudDetector
|
|
1133
1219
|
#
|
1134
1220
|
class DeleteLabelResult < Aws::EmptyStructure; end
|
1135
1221
|
|
1222
|
+
# @!attribute [rw] name
|
1223
|
+
# The name of the list to delete.
|
1224
|
+
# @return [String]
|
1225
|
+
#
|
1226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteListRequest AWS API Documentation
|
1227
|
+
#
|
1228
|
+
class DeleteListRequest < Struct.new(
|
1229
|
+
:name)
|
1230
|
+
SENSITIVE = []
|
1231
|
+
include Aws::Structure
|
1232
|
+
end
|
1233
|
+
|
1234
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteListResult AWS API Documentation
|
1235
|
+
#
|
1236
|
+
class DeleteListResult < Aws::EmptyStructure; end
|
1237
|
+
|
1136
1238
|
# @!attribute [rw] model_id
|
1137
1239
|
# The model ID of the model to delete.
|
1138
1240
|
# @return [String]
|
@@ -2576,6 +2678,84 @@ module Aws::FraudDetector
|
|
2576
2678
|
include Aws::Structure
|
2577
2679
|
end
|
2578
2680
|
|
2681
|
+
# @!attribute [rw] name
|
2682
|
+
# The name of the list.
|
2683
|
+
# @return [String]
|
2684
|
+
#
|
2685
|
+
# @!attribute [rw] next_token
|
2686
|
+
# The next token for the subsequent request.
|
2687
|
+
# @return [String]
|
2688
|
+
#
|
2689
|
+
# @!attribute [rw] max_results
|
2690
|
+
# The maximum number of objects to return for the request.
|
2691
|
+
# @return [Integer]
|
2692
|
+
#
|
2693
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListElementsRequest AWS API Documentation
|
2694
|
+
#
|
2695
|
+
class GetListElementsRequest < Struct.new(
|
2696
|
+
:name,
|
2697
|
+
:next_token,
|
2698
|
+
:max_results)
|
2699
|
+
SENSITIVE = []
|
2700
|
+
include Aws::Structure
|
2701
|
+
end
|
2702
|
+
|
2703
|
+
# @!attribute [rw] elements
|
2704
|
+
# The list elements.
|
2705
|
+
# @return [Array<String>]
|
2706
|
+
#
|
2707
|
+
# @!attribute [rw] next_token
|
2708
|
+
# The next page token.
|
2709
|
+
# @return [String]
|
2710
|
+
#
|
2711
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListElementsResult AWS API Documentation
|
2712
|
+
#
|
2713
|
+
class GetListElementsResult < Struct.new(
|
2714
|
+
:elements,
|
2715
|
+
:next_token)
|
2716
|
+
SENSITIVE = []
|
2717
|
+
include Aws::Structure
|
2718
|
+
end
|
2719
|
+
|
2720
|
+
# @!attribute [rw] name
|
2721
|
+
# The name of the list.
|
2722
|
+
# @return [String]
|
2723
|
+
#
|
2724
|
+
# @!attribute [rw] next_token
|
2725
|
+
# The next token for the subsequent request.
|
2726
|
+
# @return [String]
|
2727
|
+
#
|
2728
|
+
# @!attribute [rw] max_results
|
2729
|
+
# The maximum number of objects to return for the request.
|
2730
|
+
# @return [Integer]
|
2731
|
+
#
|
2732
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListsMetadataRequest AWS API Documentation
|
2733
|
+
#
|
2734
|
+
class GetListsMetadataRequest < Struct.new(
|
2735
|
+
:name,
|
2736
|
+
:next_token,
|
2737
|
+
:max_results)
|
2738
|
+
SENSITIVE = []
|
2739
|
+
include Aws::Structure
|
2740
|
+
end
|
2741
|
+
|
2742
|
+
# @!attribute [rw] lists
|
2743
|
+
# The metadata of the specified list or all lists under the account.
|
2744
|
+
# @return [Array<Types::AllowDenyList>]
|
2745
|
+
#
|
2746
|
+
# @!attribute [rw] next_token
|
2747
|
+
# The next page token.
|
2748
|
+
# @return [String]
|
2749
|
+
#
|
2750
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListsMetadataResult AWS API Documentation
|
2751
|
+
#
|
2752
|
+
class GetListsMetadataResult < Struct.new(
|
2753
|
+
:lists,
|
2754
|
+
:next_token)
|
2755
|
+
SENSITIVE = []
|
2756
|
+
include Aws::Structure
|
2757
|
+
end
|
2758
|
+
|
2579
2759
|
# @!attribute [rw] model_id
|
2580
2760
|
# The model ID.
|
2581
2761
|
# @return [String]
|
@@ -2989,6 +3169,24 @@ module Aws::FraudDetector
|
|
2989
3169
|
#
|
2990
3170
|
# @!attribute [rw] unlabeled_events_treatment
|
2991
3171
|
# The action to take for unlabeled events.
|
3172
|
+
#
|
3173
|
+
# * Use `IGNORE` if you want the unlabeled events to be ignored. This
|
3174
|
+
# is recommended when the majority of the events in the dataset are
|
3175
|
+
# labeled.
|
3176
|
+
#
|
3177
|
+
# * Use `FRAUD` if you want to categorize all unlabeled events as
|
3178
|
+
# “Fraud”. This is recommended when most of the events in your
|
3179
|
+
# dataset are fraudulent.
|
3180
|
+
#
|
3181
|
+
# * Use `LEGIT` f you want to categorize all unlabeled events as
|
3182
|
+
# “Legit”. This is recommended when most of the events in your
|
3183
|
+
# dataset are legitimate.
|
3184
|
+
#
|
3185
|
+
# * Use `AUTO` if you want Amazon Fraud Detector to decide how to use
|
3186
|
+
# the unlabeled data. This is recommended when there is significant
|
3187
|
+
# unlabeled events in the dataset.
|
3188
|
+
#
|
3189
|
+
# By default, Amazon Fraud Detector ignores the unlabeled data.
|
2992
3190
|
# @return [String]
|
2993
3191
|
#
|
2994
3192
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/LabelSchema AWS API Documentation
|
@@ -3493,10 +3691,16 @@ module Aws::FraudDetector
|
|
3493
3691
|
# score thresholds.
|
3494
3692
|
# @return [Float]
|
3495
3693
|
#
|
3694
|
+
# @!attribute [rw] uncertainty_range
|
3695
|
+
# Indicates the range of area under curve (auc) expected from the OFI
|
3696
|
+
# model. A range greater than 0.1 indicates higher model uncertainity.
|
3697
|
+
# @return [Types::UncertaintyRange]
|
3698
|
+
#
|
3496
3699
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/OFIModelPerformance AWS API Documentation
|
3497
3700
|
#
|
3498
3701
|
class OFIModelPerformance < Struct.new(
|
3499
|
-
:auc
|
3702
|
+
:auc,
|
3703
|
+
:uncertainty_range)
|
3500
3704
|
SENSITIVE = []
|
3501
3705
|
include Aws::Structure
|
3502
3706
|
end
|
@@ -4046,10 +4250,16 @@ module Aws::FraudDetector
|
|
4046
4250
|
# score thresholds.
|
4047
4251
|
# @return [Float]
|
4048
4252
|
#
|
4253
|
+
# @!attribute [rw] uncertainty_range
|
4254
|
+
# Indicates the range of area under curve (auc) expected from the TFI
|
4255
|
+
# model. A range greater than 0.1 indicates higher model uncertainity.
|
4256
|
+
# @return [Types::UncertaintyRange]
|
4257
|
+
#
|
4049
4258
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/TFIModelPerformance AWS API Documentation
|
4050
4259
|
#
|
4051
4260
|
class TFIModelPerformance < Struct.new(
|
4052
|
-
:auc
|
4261
|
+
:auc,
|
4262
|
+
:uncertainty_range)
|
4053
4263
|
SENSITIVE = []
|
4054
4264
|
include Aws::Structure
|
4055
4265
|
end
|
@@ -4251,6 +4461,27 @@ module Aws::FraudDetector
|
|
4251
4461
|
include Aws::Structure
|
4252
4462
|
end
|
4253
4463
|
|
4464
|
+
# Range of area under curve (auc) expected from the model. A range
|
4465
|
+
# greater than 0.1 indicates higher model uncertainity. A range is the
|
4466
|
+
# difference between upper and lower bound of auc.
|
4467
|
+
#
|
4468
|
+
# @!attribute [rw] lower_bound_value
|
4469
|
+
# The lower bound value of the area under curve (auc).
|
4470
|
+
# @return [Float]
|
4471
|
+
#
|
4472
|
+
# @!attribute [rw] upper_bound_value
|
4473
|
+
# The lower bound value of the area under curve (auc).
|
4474
|
+
# @return [Float]
|
4475
|
+
#
|
4476
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UncertaintyRange AWS API Documentation
|
4477
|
+
#
|
4478
|
+
class UncertaintyRange < Struct.new(
|
4479
|
+
:lower_bound_value,
|
4480
|
+
:upper_bound_value)
|
4481
|
+
SENSITIVE = []
|
4482
|
+
include Aws::Structure
|
4483
|
+
end
|
4484
|
+
|
4254
4485
|
# @!attribute [rw] resource_arn
|
4255
4486
|
# The ARN of the resource from which to remove the tag.
|
4256
4487
|
# @return [String]
|
@@ -4417,6 +4648,58 @@ module Aws::FraudDetector
|
|
4417
4648
|
#
|
4418
4649
|
class UpdateEventLabelResult < Aws::EmptyStructure; end
|
4419
4650
|
|
4651
|
+
# @!attribute [rw] name
|
4652
|
+
# The name of the list to update.
|
4653
|
+
# @return [String]
|
4654
|
+
#
|
4655
|
+
# @!attribute [rw] elements
|
4656
|
+
# One or more list elements to add or replace. If you are providing
|
4657
|
+
# the elements, make sure to specify the `updateMode` to use.
|
4658
|
+
#
|
4659
|
+
# If you are deleting all elements from the list, use `REPLACE` for
|
4660
|
+
# the `updateMode` and provide an empty list (0 elements).
|
4661
|
+
# @return [Array<String>]
|
4662
|
+
#
|
4663
|
+
# @!attribute [rw] description
|
4664
|
+
# The new description.
|
4665
|
+
# @return [String]
|
4666
|
+
#
|
4667
|
+
# @!attribute [rw] update_mode
|
4668
|
+
# The update mode (type).
|
4669
|
+
#
|
4670
|
+
# * Use `APPEND` if you are adding elements to the list.
|
4671
|
+
#
|
4672
|
+
# * Use `REPLACE` if you replacing existing elements in the list.
|
4673
|
+
#
|
4674
|
+
# * Use `REMOVE` if you are removing elements from the list.
|
4675
|
+
# @return [String]
|
4676
|
+
#
|
4677
|
+
# @!attribute [rw] variable_type
|
4678
|
+
# The variable type you want to assign to the list.
|
4679
|
+
#
|
4680
|
+
# <note markdown="1"> You cannot update a variable type of a list that already has a
|
4681
|
+
# variable type assigned to it. You can assign a variable type to a
|
4682
|
+
# list only if the list does not already have a variable type.
|
4683
|
+
#
|
4684
|
+
# </note>
|
4685
|
+
# @return [String]
|
4686
|
+
#
|
4687
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateListRequest AWS API Documentation
|
4688
|
+
#
|
4689
|
+
class UpdateListRequest < Struct.new(
|
4690
|
+
:name,
|
4691
|
+
:elements,
|
4692
|
+
:description,
|
4693
|
+
:update_mode,
|
4694
|
+
:variable_type)
|
4695
|
+
SENSITIVE = []
|
4696
|
+
include Aws::Structure
|
4697
|
+
end
|
4698
|
+
|
4699
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateListResult AWS API Documentation
|
4700
|
+
#
|
4701
|
+
class UpdateListResult < Aws::EmptyStructure; end
|
4702
|
+
|
4420
4703
|
# @!attribute [rw] model_id
|
4421
4704
|
# The model ID.
|
4422
4705
|
# @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.39.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-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|