aws-sdk-frauddetector 1.38.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-frauddetector/client.rb +229 -1
- data/lib/aws-sdk-frauddetector/client_api.rb +150 -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 +232 -0
- 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,11 @@
|
|
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
|
+
|
4
9
|
1.38.0 (2023-02-06)
|
5
10
|
------------------
|
6
11
|
|
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
|
@@ -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,
|
@@ -2375,6 +2461,94 @@ module Aws::FraudDetector
|
|
2375
2461
|
req.send_request(options)
|
2376
2462
|
end
|
2377
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
|
+
|
2378
2552
|
# Gets the details of the specified model version.
|
2379
2553
|
#
|
2380
2554
|
# @option params [required, String] :model_id
|
@@ -3395,6 +3569,60 @@ module Aws::FraudDetector
|
|
3395
3569
|
req.send_request(options)
|
3396
3570
|
end
|
3397
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
|
+
|
3398
3626
|
# Updates model description.
|
3399
3627
|
#
|
3400
3628
|
# @option params [required, String] :model_id
|
@@ -3682,7 +3910,7 @@ module Aws::FraudDetector
|
|
3682
3910
|
params: params,
|
3683
3911
|
config: config)
|
3684
3912
|
context[:gem_name] = 'aws-sdk-frauddetector'
|
3685
|
-
context[:gem_version] = '1.
|
3913
|
+
context[:gem_version] = '1.39.0'
|
3686
3914
|
Seahorse::Client::Request.new(handlers, context)
|
3687
3915
|
end
|
3688
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')
|
@@ -270,6 +285,8 @@ module Aws::FraudDetector
|
|
270
285
|
UpdateDetectorVersionStatusResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionStatusResult')
|
271
286
|
UpdateEventLabelRequest = Shapes::StructureShape.new(name: 'UpdateEventLabelRequest')
|
272
287
|
UpdateEventLabelResult = Shapes::StructureShape.new(name: 'UpdateEventLabelResult')
|
288
|
+
UpdateListRequest = Shapes::StructureShape.new(name: 'UpdateListRequest')
|
289
|
+
UpdateListResult = Shapes::StructureShape.new(name: 'UpdateListResult')
|
273
290
|
UpdateModelRequest = Shapes::StructureShape.new(name: 'UpdateModelRequest')
|
274
291
|
UpdateModelResult = Shapes::StructureShape.new(name: 'UpdateModelResult')
|
275
292
|
UpdateModelVersionRequest = Shapes::StructureShape.new(name: 'UpdateModelVersionRequest')
|
@@ -323,6 +340,8 @@ module Aws::FraudDetector
|
|
323
340
|
modelList = Shapes::ListShape.new(name: 'modelList')
|
324
341
|
modelVersionDetailList = Shapes::ListShape.new(name: 'modelVersionDetailList')
|
325
342
|
modelsMaxPageSize = Shapes::IntegerShape.new(name: 'modelsMaxPageSize')
|
343
|
+
nextToken = Shapes::StringShape.new(name: 'nextToken')
|
344
|
+
noDashIdentifier = Shapes::StringShape.new(name: 'noDashIdentifier')
|
326
345
|
ruleExpression = Shapes::StringShape.new(name: 'ruleExpression')
|
327
346
|
s3BucketLocation = Shapes::StringShape.new(name: 's3BucketLocation')
|
328
347
|
sageMakerEndpointIdentifier = Shapes::StringShape.new(name: 'sageMakerEndpointIdentifier')
|
@@ -335,6 +354,7 @@ module Aws::FraudDetector
|
|
335
354
|
time = Shapes::StringShape.new(name: 'time')
|
336
355
|
utcTimestampISO8601 = Shapes::StringShape.new(name: 'utcTimestampISO8601')
|
337
356
|
variableName = Shapes::StringShape.new(name: 'variableName')
|
357
|
+
variableType = Shapes::StringShape.new(name: 'variableType')
|
338
358
|
variableValue = Shapes::StringShape.new(name: 'variableValue')
|
339
359
|
wholeNumberVersionString = Shapes::StringShape.new(name: 'wholeNumberVersionString')
|
340
360
|
|
@@ -368,6 +388,16 @@ module Aws::FraudDetector
|
|
368
388
|
AggregatedVariablesImportanceMetrics.add_member(:log_odds_metrics, Shapes::ShapeRef.new(shape: ListOfAggregatedLogOddsMetrics, location_name: "logOddsMetrics"))
|
369
389
|
AggregatedVariablesImportanceMetrics.struct_class = Types::AggregatedVariablesImportanceMetrics
|
370
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
|
+
|
371
401
|
BatchCreateVariableError.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
|
372
402
|
BatchCreateVariableError.add_member(:code, Shapes::ShapeRef.new(shape: integer, location_name: "code"))
|
373
403
|
BatchCreateVariableError.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
|
@@ -481,6 +511,15 @@ module Aws::FraudDetector
|
|
481
511
|
CreateDetectorVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, location_name: "status"))
|
482
512
|
CreateDetectorVersionResult.struct_class = Types::CreateDetectorVersionResult
|
483
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
|
+
|
484
523
|
CreateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
485
524
|
CreateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
486
525
|
CreateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
|
@@ -590,6 +629,11 @@ module Aws::FraudDetector
|
|
590
629
|
|
591
630
|
DeleteLabelResult.struct_class = Types::DeleteLabelResult
|
592
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
|
+
|
593
637
|
DeleteModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
594
638
|
DeleteModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
595
639
|
DeleteModelRequest.struct_class = Types::DeleteModelRequest
|
@@ -658,6 +702,8 @@ module Aws::FraudDetector
|
|
658
702
|
|
659
703
|
DetectorVersionSummaryList.member = Shapes::ShapeRef.new(shape: DetectorVersionSummary)
|
660
704
|
|
705
|
+
ElementsList.member = Shapes::ShapeRef.new(shape: Elements)
|
706
|
+
|
661
707
|
Entity.add_member(:entity_type, Shapes::ShapeRef.new(shape: string, required: true, location_name: "entityType"))
|
662
708
|
Entity.add_member(:entity_id, Shapes::ShapeRef.new(shape: entityRestrictedString, required: true, location_name: "entityId"))
|
663
709
|
Entity.struct_class = Types::Entity
|
@@ -914,6 +960,24 @@ module Aws::FraudDetector
|
|
914
960
|
GetLabelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
|
915
961
|
GetLabelsResult.struct_class = Types::GetLabelsResult
|
916
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
|
+
|
917
981
|
GetModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
918
982
|
GetModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
919
983
|
GetModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, required: true, location_name: "modelVersionNumber"))
|
@@ -1354,6 +1418,15 @@ module Aws::FraudDetector
|
|
1354
1418
|
|
1355
1419
|
UpdateEventLabelResult.struct_class = Types::UpdateEventLabelResult
|
1356
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
|
+
|
1357
1430
|
UpdateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
1358
1431
|
UpdateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
1359
1432
|
UpdateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
|
@@ -1576,6 +1649,18 @@ module Aws::FraudDetector
|
|
1576
1649
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1577
1650
|
end)
|
1578
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
|
+
|
1579
1664
|
api.add_operation(:create_model, Seahorse::Model::Operation.new.tap do |o|
|
1580
1665
|
o.name = "CreateModel"
|
1581
1666
|
o.http_method = "POST"
|
@@ -1753,6 +1838,19 @@ module Aws::FraudDetector
|
|
1753
1838
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1754
1839
|
end)
|
1755
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
|
+
|
1756
1854
|
api.add_operation(:delete_model, Seahorse::Model::Operation.new.tap do |o|
|
1757
1855
|
o.name = "DeleteModel"
|
1758
1856
|
o.http_method = "POST"
|
@@ -2062,6 +2160,44 @@ module Aws::FraudDetector
|
|
2062
2160
|
)
|
2063
2161
|
end)
|
2064
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
|
+
|
2065
2201
|
api.add_operation(:get_model_version, Seahorse::Model::Operation.new.tap do |o|
|
2066
2202
|
o.name = "GetModelVersion"
|
2067
2203
|
o.http_method = "POST"
|
@@ -2372,6 +2508,20 @@ module Aws::FraudDetector
|
|
2372
2508
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2373
2509
|
end)
|
2374
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
|
+
|
2375
2525
|
api.add_operation(:update_model, Seahorse::Model::Operation.new.tap do |o|
|
2376
2526
|
o.name = "UpdateModel"
|
2377
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)
|
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]
|
@@ -4468,6 +4648,58 @@ module Aws::FraudDetector
|
|
4468
4648
|
#
|
4469
4649
|
class UpdateEventLabelResult < Aws::EmptyStructure; end
|
4470
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
|
+
|
4471
4703
|
# @!attribute [rw] model_id
|
4472
4704
|
# The model ID.
|
4473
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-02-
|
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
|