aws-sdk-frauddetector 1.38.0 → 1.40.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b515d5a92ba8893a691ed30d43efcaa213cd5192b72c6737e73e8dc88dcc5162
4
- data.tar.gz: 4522fa2083643e091dc3cb1dc429d08b44bd697dace87446ebf862e8ebebbf03
3
+ metadata.gz: e0ccbf41a1c2dd7369a4493bedabd5b49b7aeb8957ac3a33f0bc386a6de53f05
4
+ data.tar.gz: c4890e1ba4022f92cd6868603d3b973e262782a0fc9e1ad8dfc6d364089e2efb
5
5
  SHA512:
6
- metadata.gz: 40bbbd230556430db092e0e354f60b5f89bf250f8963bc7401365a0de23f8a229cc7cfdeaa7c358f9cb246eefea7dcf423d970408aaf340dbea3f522bd79f16a
7
- data.tar.gz: 222e52c158bfcb5d72c812e143eea2e43ee6d12ca6abcf15f84f6974bea57d4ca4a81faa9055634ed592bd6bdd0ba7a7a56366baf7d4a5612dd6f975f73340df
6
+ metadata.gz: 478e89b5942f06b49d8281bea8e0d71966b745ad414818f8d0905fc4c9e00c540db2e4d06f34d63b8bbd1dbbbc8392e7d87e68eb74cd096468d3c9adb3468704
7
+ data.tar.gz: c3f31bd1062e752a656575a2f203f959447560d9d758a575ebb6d84547ec6f1d54d495924333a76cd6d9fe2b37f449f576c6f093241d89e9296ce45aaa6ba9ff
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.40.0 (2023-05-31)
5
+ ------------------
6
+
7
+ * Feature - This release enables publishing event predictions from Amazon Fraud Detector (AFD) to Amazon EventBridge. For example, after getting predictions from AFD, Amazon EventBridge rules can be configured to trigger notification through an SNS topic, send a message with SES, or trigger Lambda workflows.
8
+
9
+ 1.39.0 (2023-02-15)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.38.0 (2023-02-06)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.38.0
1
+ 1.40.0
@@ -275,6 +275,11 @@ module Aws::FraudDetector
275
275
  # in the future.
276
276
  #
277
277
  #
278
+ # @option options [String] :sdk_ua_app_id
279
+ # A unique and opaque application ID that is appended to the
280
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
281
+ # maximum length of 50.
282
+ #
278
283
  # @option options [String] :secret_access_key
279
284
  #
280
285
  # @option options [String] :session_token
@@ -729,6 +734,67 @@ module Aws::FraudDetector
729
734
  req.send_request(options)
730
735
  end
731
736
 
737
+ # Creates a list.
738
+ #
739
+ # List is a set of input data for a variable in your event dataset. You
740
+ # use the input data in a rule that's associated with your detector.
741
+ # For more information, see [Lists][1].
742
+ #
743
+ #
744
+ #
745
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/lists.html
746
+ #
747
+ # @option params [required, String] :name
748
+ # The name of the list.
749
+ #
750
+ # @option params [Array<String>] :elements
751
+ # The names of the elements, if providing. You can also create an empty
752
+ # 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
+ #
758
+ # @option params [String] :variable_type
759
+ # The variable type of the list. You can only assign the variable type
760
+ # with String data type. For more information, see [Variable types][1].
761
+ #
762
+ #
763
+ #
764
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
765
+ #
766
+ # @option params [String] :description
767
+ # The description of the list.
768
+ #
769
+ # @option params [Array<Types::Tag>] :tags
770
+ # A collection of the key and value pairs.
771
+ #
772
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
773
+ #
774
+ # @example Request syntax with placeholder values
775
+ #
776
+ # resp = client.create_list({
777
+ # name: "noDashIdentifier", # required
778
+ # elements: ["Elements"],
779
+ # variable_type: "variableType",
780
+ # description: "description",
781
+ # tags: [
782
+ # {
783
+ # key: "tagKey", # required
784
+ # value: "tagValue", # required
785
+ # },
786
+ # ],
787
+ # })
788
+ #
789
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateList AWS API Documentation
790
+ #
791
+ # @overload create_list(params = {})
792
+ # @param [Hash] params ({})
793
+ def create_list(params = {}, options = {})
794
+ req = build_request(:create_list, params)
795
+ req.send_request(options)
796
+ end
797
+
732
798
  # Creates a model using the specified model type.
733
799
  #
734
800
  # @option params [required, String] :model_id
@@ -1259,6 +1325,31 @@ module Aws::FraudDetector
1259
1325
  req.send_request(options)
1260
1326
  end
1261
1327
 
1328
+ # Deletes the list, provided it is not used in a rule.
1329
+ #
1330
+ # When you delete a list, Amazon Fraud Detector permanently deletes that
1331
+ # list and the elements in the list.
1332
+ #
1333
+ # @option params [required, String] :name
1334
+ # The name of the list to delete.
1335
+ #
1336
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1337
+ #
1338
+ # @example Request syntax with placeholder values
1339
+ #
1340
+ # resp = client.delete_list({
1341
+ # name: "noDashIdentifier", # required
1342
+ # })
1343
+ #
1344
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteList AWS API Documentation
1345
+ #
1346
+ # @overload delete_list(params = {})
1347
+ # @param [Hash] params ({})
1348
+ def delete_list(params = {}, options = {})
1349
+ req = build_request(:delete_list, params)
1350
+ req.send_request(options)
1351
+ end
1352
+
1262
1353
  # Deletes a model.
1263
1354
  #
1264
1355
  # You can delete models and model versions in Amazon Fraud Detector,
@@ -2230,6 +2321,7 @@ module Aws::FraudDetector
2230
2321
  # resp.event_types[0].last_updated_time #=> String
2231
2322
  # resp.event_types[0].created_time #=> String
2232
2323
  # resp.event_types[0].arn #=> String
2324
+ # resp.event_types[0].event_orchestration.event_bridge_enabled #=> Boolean
2233
2325
  # resp.next_token #=> String
2234
2326
  #
2235
2327
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventTypes AWS API Documentation
@@ -2375,6 +2467,94 @@ module Aws::FraudDetector
2375
2467
  req.send_request(options)
2376
2468
  end
2377
2469
 
2470
+ # Gets all the elements in the specified list.
2471
+ #
2472
+ # @option params [required, String] :name
2473
+ # The name of the list.
2474
+ #
2475
+ # @option params [String] :next_token
2476
+ # The next token for the subsequent request.
2477
+ #
2478
+ # @option params [Integer] :max_results
2479
+ # The maximum number of objects to return for the request.
2480
+ #
2481
+ # @return [Types::GetListElementsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2482
+ #
2483
+ # * {Types::GetListElementsResult#elements #elements} => Array&lt;String&gt;
2484
+ # * {Types::GetListElementsResult#next_token #next_token} => String
2485
+ #
2486
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2487
+ #
2488
+ # @example Request syntax with placeholder values
2489
+ #
2490
+ # resp = client.get_list_elements({
2491
+ # name: "noDashIdentifier", # required
2492
+ # next_token: "nextToken",
2493
+ # max_results: 1,
2494
+ # })
2495
+ #
2496
+ # @example Response structure
2497
+ #
2498
+ # resp.elements #=> Array
2499
+ # resp.elements[0] #=> String
2500
+ # resp.next_token #=> String
2501
+ #
2502
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListElements AWS API Documentation
2503
+ #
2504
+ # @overload get_list_elements(params = {})
2505
+ # @param [Hash] params ({})
2506
+ def get_list_elements(params = {}, options = {})
2507
+ req = build_request(:get_list_elements, params)
2508
+ req.send_request(options)
2509
+ end
2510
+
2511
+ # Gets the metadata of either all the lists under the account or the
2512
+ # specified list.
2513
+ #
2514
+ # @option params [String] :name
2515
+ # The name of the list.
2516
+ #
2517
+ # @option params [String] :next_token
2518
+ # The next token for the subsequent request.
2519
+ #
2520
+ # @option params [Integer] :max_results
2521
+ # The maximum number of objects to return for the request.
2522
+ #
2523
+ # @return [Types::GetListsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2524
+ #
2525
+ # * {Types::GetListsMetadataResult#lists #lists} => Array&lt;Types::AllowDenyList&gt;
2526
+ # * {Types::GetListsMetadataResult#next_token #next_token} => String
2527
+ #
2528
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2529
+ #
2530
+ # @example Request syntax with placeholder values
2531
+ #
2532
+ # resp = client.get_lists_metadata({
2533
+ # name: "noDashIdentifier",
2534
+ # next_token: "nextToken",
2535
+ # max_results: 1,
2536
+ # })
2537
+ #
2538
+ # @example Response structure
2539
+ #
2540
+ # resp.lists #=> Array
2541
+ # resp.lists[0].name #=> String
2542
+ # resp.lists[0].description #=> String
2543
+ # resp.lists[0].variable_type #=> String
2544
+ # resp.lists[0].created_time #=> String
2545
+ # resp.lists[0].updated_time #=> String
2546
+ # resp.lists[0].arn #=> String
2547
+ # resp.next_token #=> String
2548
+ #
2549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListsMetadata AWS API Documentation
2550
+ #
2551
+ # @overload get_lists_metadata(params = {})
2552
+ # @param [Hash] params ({})
2553
+ def get_lists_metadata(params = {}, options = {})
2554
+ req = build_request(:get_lists_metadata, params)
2555
+ req.send_request(options)
2556
+ end
2557
+
2378
2558
  # Gets the details of the specified model version.
2379
2559
  #
2380
2560
  # @option params [required, String] :model_id
@@ -2905,11 +3085,16 @@ module Aws::FraudDetector
2905
3085
  # merchant, account.
2906
3086
  #
2907
3087
  # @option params [String] :event_ingestion
2908
- # Specifies if ingenstion is enabled or disabled.
3088
+ # Specifies if ingestion is enabled or disabled.
2909
3089
  #
2910
3090
  # @option params [Array<Types::Tag>] :tags
2911
3091
  # A collection of key and value pairs.
2912
3092
  #
3093
+ # @option params [Types::EventOrchestration] :event_orchestration
3094
+ # Enables or disables event orchestration. If enabled, you can send
3095
+ # event predictions to select AWS services for downstream processing of
3096
+ # the events.
3097
+ #
2913
3098
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2914
3099
  #
2915
3100
  # @example Request syntax with placeholder values
@@ -2927,6 +3112,9 @@ module Aws::FraudDetector
2927
3112
  # value: "tagValue", # required
2928
3113
  # },
2929
3114
  # ],
3115
+ # event_orchestration: {
3116
+ # event_bridge_enabled: false, # required
3117
+ # },
2930
3118
  # })
2931
3119
  #
2932
3120
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEventType AWS API Documentation
@@ -3042,6 +3230,7 @@ module Aws::FraudDetector
3042
3230
  # The label description.
3043
3231
  #
3044
3232
  # @option params [Array<Types::Tag>] :tags
3233
+ # A collection of key and value pairs.
3045
3234
  #
3046
3235
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3047
3236
  #
@@ -3327,7 +3516,7 @@ module Aws::FraudDetector
3327
3516
  end
3328
3517
 
3329
3518
  # Updates the detector version’s status. You can perform the following
3330
- # promotions or demotions using `UpdateDetectorVersionStatus`\: `DRAFT`
3519
+ # promotions or demotions using `UpdateDetectorVersionStatus`: `DRAFT`
3331
3520
  # to `ACTIVE`, `ACTIVE` to `INACTIVE`, and `INACTIVE` to `ACTIVE`.
3332
3521
  #
3333
3522
  # @option params [required, String] :detector_id
@@ -3395,6 +3584,60 @@ module Aws::FraudDetector
3395
3584
  req.send_request(options)
3396
3585
  end
3397
3586
 
3587
+ # Updates a list.
3588
+ #
3589
+ # @option params [required, String] :name
3590
+ # The name of the list to update.
3591
+ #
3592
+ # @option params [Array<String>] :elements
3593
+ # One or more list elements to add or replace. If you are providing the
3594
+ # elements, make sure to specify the `updateMode` to use.
3595
+ #
3596
+ # If you are deleting all elements from the list, use `REPLACE` for the
3597
+ # `updateMode` and provide an empty list (0 elements).
3598
+ #
3599
+ # @option params [String] :description
3600
+ # The new description.
3601
+ #
3602
+ # @option params [String] :update_mode
3603
+ # The update mode (type).
3604
+ #
3605
+ # * Use `APPEND` if you are adding elements to the list.
3606
+ #
3607
+ # * Use `REPLACE` if you replacing existing elements in the list.
3608
+ #
3609
+ # * Use `REMOVE` if you are removing elements from the list.
3610
+ #
3611
+ # @option params [String] :variable_type
3612
+ # The variable type you want to assign to the list.
3613
+ #
3614
+ # <note markdown="1"> You cannot update a variable type of a list that already has a
3615
+ # variable type assigned to it. You can assign a variable type to a list
3616
+ # only if the list does not already have a variable type.
3617
+ #
3618
+ # </note>
3619
+ #
3620
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3621
+ #
3622
+ # @example Request syntax with placeholder values
3623
+ #
3624
+ # resp = client.update_list({
3625
+ # name: "noDashIdentifier", # required
3626
+ # elements: ["Elements"],
3627
+ # description: "description",
3628
+ # update_mode: "REPLACE", # accepts REPLACE, APPEND, REMOVE
3629
+ # variable_type: "variableType",
3630
+ # })
3631
+ #
3632
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateList AWS API Documentation
3633
+ #
3634
+ # @overload update_list(params = {})
3635
+ # @param [Hash] params ({})
3636
+ def update_list(params = {}, options = {})
3637
+ req = build_request(:update_list, params)
3638
+ req.send_request(options)
3639
+ end
3640
+
3398
3641
  # Updates model description.
3399
3642
  #
3400
3643
  # @option params [required, String] :model_id
@@ -3682,7 +3925,7 @@ module Aws::FraudDetector
3682
3925
  params: params,
3683
3926
  config: config)
3684
3927
  context[:gem_name] = 'aws-sdk-frauddetector'
3685
- context[:gem_version] = '1.38.0'
3928
+ context[:gem_version] = '1.40.0'
3686
3929
  Seahorse::Client::Request.new(handlers, context)
3687
3930
  end
3688
3931
 
@@ -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')
@@ -109,6 +117,7 @@ module Aws::FraudDetector
109
117
  Event = Shapes::StructureShape.new(name: 'Event')
110
118
  EventAttributeMap = Shapes::MapShape.new(name: 'EventAttributeMap')
111
119
  EventIngestion = Shapes::StringShape.new(name: 'EventIngestion')
120
+ EventOrchestration = Shapes::StructureShape.new(name: 'EventOrchestration')
112
121
  EventPredictionSummary = Shapes::StructureShape.new(name: 'EventPredictionSummary')
113
122
  EventPredictionsMaxResults = Shapes::IntegerShape.new(name: 'EventPredictionsMaxResults')
114
123
  EventType = Shapes::StructureShape.new(name: 'EventType')
@@ -150,6 +159,10 @@ module Aws::FraudDetector
150
159
  GetKMSEncryptionKeyResult = Shapes::StructureShape.new(name: 'GetKMSEncryptionKeyResult')
151
160
  GetLabelsRequest = Shapes::StructureShape.new(name: 'GetLabelsRequest')
152
161
  GetLabelsResult = Shapes::StructureShape.new(name: 'GetLabelsResult')
162
+ GetListElementsRequest = Shapes::StructureShape.new(name: 'GetListElementsRequest')
163
+ GetListElementsResult = Shapes::StructureShape.new(name: 'GetListElementsResult')
164
+ GetListsMetadataRequest = Shapes::StructureShape.new(name: 'GetListsMetadataRequest')
165
+ GetListsMetadataResult = Shapes::StructureShape.new(name: 'GetListsMetadataResult')
153
166
  GetModelVersionRequest = Shapes::StructureShape.new(name: 'GetModelVersionRequest')
154
167
  GetModelVersionResult = Shapes::StructureShape.new(name: 'GetModelVersionResult')
155
168
  GetModelsRequest = Shapes::StructureShape.new(name: 'GetModelsRequest')
@@ -188,6 +201,9 @@ module Aws::FraudDetector
188
201
  ListOfStrings = Shapes::ListShape.new(name: 'ListOfStrings')
189
202
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
190
203
  ListTagsForResourceResult = Shapes::StructureShape.new(name: 'ListTagsForResourceResult')
204
+ ListUpdateMode = Shapes::StringShape.new(name: 'ListUpdateMode')
205
+ ListsElementsMaxResults = Shapes::IntegerShape.new(name: 'ListsElementsMaxResults')
206
+ ListsMetadataMaxResults = Shapes::IntegerShape.new(name: 'ListsMetadataMaxResults')
191
207
  LogOddsMetric = Shapes::StructureShape.new(name: 'LogOddsMetric')
192
208
  Long = Shapes::IntegerShape.new(name: 'Long')
193
209
  MapOfStrings = Shapes::MapShape.new(name: 'MapOfStrings')
@@ -270,6 +286,8 @@ module Aws::FraudDetector
270
286
  UpdateDetectorVersionStatusResult = Shapes::StructureShape.new(name: 'UpdateDetectorVersionStatusResult')
271
287
  UpdateEventLabelRequest = Shapes::StructureShape.new(name: 'UpdateEventLabelRequest')
272
288
  UpdateEventLabelResult = Shapes::StructureShape.new(name: 'UpdateEventLabelResult')
289
+ UpdateListRequest = Shapes::StructureShape.new(name: 'UpdateListRequest')
290
+ UpdateListResult = Shapes::StructureShape.new(name: 'UpdateListResult')
273
291
  UpdateModelRequest = Shapes::StructureShape.new(name: 'UpdateModelRequest')
274
292
  UpdateModelResult = Shapes::StructureShape.new(name: 'UpdateModelResult')
275
293
  UpdateModelVersionRequest = Shapes::StructureShape.new(name: 'UpdateModelVersionRequest')
@@ -323,6 +341,8 @@ module Aws::FraudDetector
323
341
  modelList = Shapes::ListShape.new(name: 'modelList')
324
342
  modelVersionDetailList = Shapes::ListShape.new(name: 'modelVersionDetailList')
325
343
  modelsMaxPageSize = Shapes::IntegerShape.new(name: 'modelsMaxPageSize')
344
+ nextToken = Shapes::StringShape.new(name: 'nextToken')
345
+ noDashIdentifier = Shapes::StringShape.new(name: 'noDashIdentifier')
326
346
  ruleExpression = Shapes::StringShape.new(name: 'ruleExpression')
327
347
  s3BucketLocation = Shapes::StringShape.new(name: 's3BucketLocation')
328
348
  sageMakerEndpointIdentifier = Shapes::StringShape.new(name: 'sageMakerEndpointIdentifier')
@@ -335,6 +355,7 @@ module Aws::FraudDetector
335
355
  time = Shapes::StringShape.new(name: 'time')
336
356
  utcTimestampISO8601 = Shapes::StringShape.new(name: 'utcTimestampISO8601')
337
357
  variableName = Shapes::StringShape.new(name: 'variableName')
358
+ variableType = Shapes::StringShape.new(name: 'variableType')
338
359
  variableValue = Shapes::StringShape.new(name: 'variableValue')
339
360
  wholeNumberVersionString = Shapes::StringShape.new(name: 'wholeNumberVersionString')
340
361
 
@@ -368,6 +389,16 @@ module Aws::FraudDetector
368
389
  AggregatedVariablesImportanceMetrics.add_member(:log_odds_metrics, Shapes::ShapeRef.new(shape: ListOfAggregatedLogOddsMetrics, location_name: "logOddsMetrics"))
369
390
  AggregatedVariablesImportanceMetrics.struct_class = Types::AggregatedVariablesImportanceMetrics
370
391
 
392
+ AllowDenyList.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, required: true, location_name: "name"))
393
+ AllowDenyList.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
394
+ AllowDenyList.add_member(:variable_type, Shapes::ShapeRef.new(shape: variableType, location_name: "variableType"))
395
+ AllowDenyList.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
396
+ AllowDenyList.add_member(:updated_time, Shapes::ShapeRef.new(shape: time, location_name: "updatedTime"))
397
+ AllowDenyList.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
398
+ AllowDenyList.struct_class = Types::AllowDenyList
399
+
400
+ AllowDenyLists.member = Shapes::ShapeRef.new(shape: AllowDenyList)
401
+
371
402
  BatchCreateVariableError.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
372
403
  BatchCreateVariableError.add_member(:code, Shapes::ShapeRef.new(shape: integer, location_name: "code"))
373
404
  BatchCreateVariableError.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "message"))
@@ -481,6 +512,15 @@ module Aws::FraudDetector
481
512
  CreateDetectorVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, location_name: "status"))
482
513
  CreateDetectorVersionResult.struct_class = Types::CreateDetectorVersionResult
483
514
 
515
+ CreateListRequest.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, required: true, location_name: "name"))
516
+ CreateListRequest.add_member(:elements, Shapes::ShapeRef.new(shape: ElementsList, location_name: "elements"))
517
+ CreateListRequest.add_member(:variable_type, Shapes::ShapeRef.new(shape: variableType, location_name: "variableType"))
518
+ CreateListRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
519
+ CreateListRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
520
+ CreateListRequest.struct_class = Types::CreateListRequest
521
+
522
+ CreateListResult.struct_class = Types::CreateListResult
523
+
484
524
  CreateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
485
525
  CreateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
486
526
  CreateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
@@ -590,6 +630,11 @@ module Aws::FraudDetector
590
630
 
591
631
  DeleteLabelResult.struct_class = Types::DeleteLabelResult
592
632
 
633
+ DeleteListRequest.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, required: true, location_name: "name"))
634
+ DeleteListRequest.struct_class = Types::DeleteListRequest
635
+
636
+ DeleteListResult.struct_class = Types::DeleteListResult
637
+
593
638
  DeleteModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
594
639
  DeleteModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
595
640
  DeleteModelRequest.struct_class = Types::DeleteModelRequest
@@ -658,6 +703,8 @@ module Aws::FraudDetector
658
703
 
659
704
  DetectorVersionSummaryList.member = Shapes::ShapeRef.new(shape: DetectorVersionSummary)
660
705
 
706
+ ElementsList.member = Shapes::ShapeRef.new(shape: Elements)
707
+
661
708
  Entity.add_member(:entity_type, Shapes::ShapeRef.new(shape: string, required: true, location_name: "entityType"))
662
709
  Entity.add_member(:entity_id, Shapes::ShapeRef.new(shape: entityRestrictedString, required: true, location_name: "entityId"))
663
710
  Entity.struct_class = Types::Entity
@@ -704,6 +751,9 @@ module Aws::FraudDetector
704
751
  EventAttributeMap.key = Shapes::ShapeRef.new(shape: attributeKey)
705
752
  EventAttributeMap.value = Shapes::ShapeRef.new(shape: attributeValue)
706
753
 
754
+ EventOrchestration.add_member(:event_bridge_enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "eventBridgeEnabled"))
755
+ EventOrchestration.struct_class = Types::EventOrchestration
756
+
707
757
  EventPredictionSummary.add_member(:event_id, Shapes::ShapeRef.new(shape: identifier, location_name: "eventId"))
708
758
  EventPredictionSummary.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, location_name: "eventTypeName"))
709
759
  EventPredictionSummary.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: time, location_name: "eventTimestamp"))
@@ -722,6 +772,7 @@ module Aws::FraudDetector
722
772
  EventType.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
723
773
  EventType.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
724
774
  EventType.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
775
+ EventType.add_member(:event_orchestration, Shapes::ShapeRef.new(shape: EventOrchestration, location_name: "eventOrchestration"))
725
776
  EventType.struct_class = Types::EventType
726
777
 
727
778
  EventVariableMap.key = Shapes::ShapeRef.new(shape: variableName)
@@ -914,6 +965,24 @@ module Aws::FraudDetector
914
965
  GetLabelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
915
966
  GetLabelsResult.struct_class = Types::GetLabelsResult
916
967
 
968
+ GetListElementsRequest.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, required: true, location_name: "name"))
969
+ GetListElementsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
970
+ GetListElementsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListsElementsMaxResults, location_name: "maxResults"))
971
+ GetListElementsRequest.struct_class = Types::GetListElementsRequest
972
+
973
+ GetListElementsResult.add_member(:elements, Shapes::ShapeRef.new(shape: ElementsList, location_name: "elements"))
974
+ GetListElementsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
975
+ GetListElementsResult.struct_class = Types::GetListElementsResult
976
+
977
+ GetListsMetadataRequest.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, location_name: "name"))
978
+ GetListsMetadataRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
979
+ GetListsMetadataRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ListsMetadataMaxResults, location_name: "maxResults"))
980
+ GetListsMetadataRequest.struct_class = Types::GetListsMetadataRequest
981
+
982
+ GetListsMetadataResult.add_member(:lists, Shapes::ShapeRef.new(shape: AllowDenyLists, location_name: "lists"))
983
+ GetListsMetadataResult.add_member(:next_token, Shapes::ShapeRef.new(shape: nextToken, location_name: "nextToken"))
984
+ GetListsMetadataResult.struct_class = Types::GetListsMetadataResult
985
+
917
986
  GetModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
918
987
  GetModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
919
988
  GetModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, required: true, location_name: "modelVersionNumber"))
@@ -1182,6 +1251,7 @@ module Aws::FraudDetector
1182
1251
  PutEventTypeRequest.add_member(:entity_types, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, required: true, location_name: "entityTypes"))
1183
1252
  PutEventTypeRequest.add_member(:event_ingestion, Shapes::ShapeRef.new(shape: EventIngestion, location_name: "eventIngestion"))
1184
1253
  PutEventTypeRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
1254
+ PutEventTypeRequest.add_member(:event_orchestration, Shapes::ShapeRef.new(shape: EventOrchestration, location_name: "eventOrchestration"))
1185
1255
  PutEventTypeRequest.struct_class = Types::PutEventTypeRequest
1186
1256
 
1187
1257
  PutEventTypeResult.struct_class = Types::PutEventTypeResult
@@ -1354,6 +1424,15 @@ module Aws::FraudDetector
1354
1424
 
1355
1425
  UpdateEventLabelResult.struct_class = Types::UpdateEventLabelResult
1356
1426
 
1427
+ UpdateListRequest.add_member(:name, Shapes::ShapeRef.new(shape: noDashIdentifier, required: true, location_name: "name"))
1428
+ UpdateListRequest.add_member(:elements, Shapes::ShapeRef.new(shape: ElementsList, location_name: "elements"))
1429
+ UpdateListRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
1430
+ UpdateListRequest.add_member(:update_mode, Shapes::ShapeRef.new(shape: ListUpdateMode, location_name: "updateMode"))
1431
+ UpdateListRequest.add_member(:variable_type, Shapes::ShapeRef.new(shape: variableType, location_name: "variableType"))
1432
+ UpdateListRequest.struct_class = Types::UpdateListRequest
1433
+
1434
+ UpdateListResult.struct_class = Types::UpdateListResult
1435
+
1357
1436
  UpdateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
1358
1437
  UpdateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
1359
1438
  UpdateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
@@ -1576,6 +1655,18 @@ module Aws::FraudDetector
1576
1655
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1577
1656
  end)
1578
1657
 
1658
+ api.add_operation(:create_list, Seahorse::Model::Operation.new.tap do |o|
1659
+ o.name = "CreateList"
1660
+ o.http_method = "POST"
1661
+ o.http_request_uri = "/"
1662
+ o.input = Shapes::ShapeRef.new(shape: CreateListRequest)
1663
+ o.output = Shapes::ShapeRef.new(shape: CreateListResult)
1664
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1665
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1666
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1667
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1668
+ end)
1669
+
1579
1670
  api.add_operation(:create_model, Seahorse::Model::Operation.new.tap do |o|
1580
1671
  o.name = "CreateModel"
1581
1672
  o.http_method = "POST"
@@ -1753,6 +1844,19 @@ module Aws::FraudDetector
1753
1844
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1754
1845
  end)
1755
1846
 
1847
+ api.add_operation(:delete_list, Seahorse::Model::Operation.new.tap do |o|
1848
+ o.name = "DeleteList"
1849
+ o.http_method = "POST"
1850
+ o.http_request_uri = "/"
1851
+ o.input = Shapes::ShapeRef.new(shape: DeleteListRequest)
1852
+ o.output = Shapes::ShapeRef.new(shape: DeleteListResult)
1853
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1854
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1855
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1856
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1857
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1858
+ end)
1859
+
1756
1860
  api.add_operation(:delete_model, Seahorse::Model::Operation.new.tap do |o|
1757
1861
  o.name = "DeleteModel"
1758
1862
  o.http_method = "POST"
@@ -2062,6 +2166,44 @@ module Aws::FraudDetector
2062
2166
  )
2063
2167
  end)
2064
2168
 
2169
+ api.add_operation(:get_list_elements, Seahorse::Model::Operation.new.tap do |o|
2170
+ o.name = "GetListElements"
2171
+ o.http_method = "POST"
2172
+ o.http_request_uri = "/"
2173
+ o.input = Shapes::ShapeRef.new(shape: GetListElementsRequest)
2174
+ o.output = Shapes::ShapeRef.new(shape: GetListElementsResult)
2175
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2176
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2177
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2178
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2179
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2180
+ o[:pager] = Aws::Pager.new(
2181
+ limit_key: "max_results",
2182
+ tokens: {
2183
+ "next_token" => "next_token"
2184
+ }
2185
+ )
2186
+ end)
2187
+
2188
+ api.add_operation(:get_lists_metadata, Seahorse::Model::Operation.new.tap do |o|
2189
+ o.name = "GetListsMetadata"
2190
+ o.http_method = "POST"
2191
+ o.http_request_uri = "/"
2192
+ o.input = Shapes::ShapeRef.new(shape: GetListsMetadataRequest)
2193
+ o.output = Shapes::ShapeRef.new(shape: GetListsMetadataResult)
2194
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2195
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2196
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2197
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2198
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2199
+ o[:pager] = Aws::Pager.new(
2200
+ limit_key: "max_results",
2201
+ tokens: {
2202
+ "next_token" => "next_token"
2203
+ }
2204
+ )
2205
+ end)
2206
+
2065
2207
  api.add_operation(:get_model_version, Seahorse::Model::Operation.new.tap do |o|
2066
2208
  o.name = "GetModelVersion"
2067
2209
  o.http_method = "POST"
@@ -2372,6 +2514,20 @@ module Aws::FraudDetector
2372
2514
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2373
2515
  end)
2374
2516
 
2517
+ api.add_operation(:update_list, Seahorse::Model::Operation.new.tap do |o|
2518
+ o.name = "UpdateList"
2519
+ o.http_method = "POST"
2520
+ o.http_request_uri = "/"
2521
+ o.input = Shapes::ShapeRef.new(shape: UpdateListRequest)
2522
+ o.output = Shapes::ShapeRef.new(shape: UpdateListResult)
2523
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2524
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2525
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2526
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2527
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2528
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2529
+ end)
2530
+
2375
2531
  api.add_operation(:update_model, Seahorse::Model::Operation.new.tap do |o|
2376
2532
  o.name = "UpdateModel"
2377
2533
  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 (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
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
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://frauddetector.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
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
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
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]
@@ -1602,6 +1704,21 @@ module Aws::FraudDetector
1602
1704
  include Aws::Structure
1603
1705
  end
1604
1706
 
1707
+ # The event orchestration status.
1708
+ #
1709
+ # @!attribute [rw] event_bridge_enabled
1710
+ # Specifies if event orchestration is enabled through Amazon
1711
+ # EventBridge.
1712
+ # @return [Boolean]
1713
+ #
1714
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/EventOrchestration AWS API Documentation
1715
+ #
1716
+ class EventOrchestration < Struct.new(
1717
+ :event_bridge_enabled)
1718
+ SENSITIVE = []
1719
+ include Aws::Structure
1720
+ end
1721
+
1605
1722
  # Information about the summary of an event prediction.
1606
1723
  #
1607
1724
  # @!attribute [rw] event_id
@@ -1687,6 +1804,10 @@ module Aws::FraudDetector
1687
1804
  # The entity type ARN.
1688
1805
  # @return [String]
1689
1806
  #
1807
+ # @!attribute [rw] event_orchestration
1808
+ # The event orchestration status.
1809
+ # @return [Types::EventOrchestration]
1810
+ #
1690
1811
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/EventType AWS API Documentation
1691
1812
  #
1692
1813
  class EventType < Struct.new(
@@ -1699,7 +1820,8 @@ module Aws::FraudDetector
1699
1820
  :ingested_event_statistics,
1700
1821
  :last_updated_time,
1701
1822
  :created_time,
1702
- :arn)
1823
+ :arn,
1824
+ :event_orchestration)
1703
1825
  SENSITIVE = []
1704
1826
  include Aws::Structure
1705
1827
  end
@@ -2576,6 +2698,84 @@ module Aws::FraudDetector
2576
2698
  include Aws::Structure
2577
2699
  end
2578
2700
 
2701
+ # @!attribute [rw] name
2702
+ # The name of the list.
2703
+ # @return [String]
2704
+ #
2705
+ # @!attribute [rw] next_token
2706
+ # The next token for the subsequent request.
2707
+ # @return [String]
2708
+ #
2709
+ # @!attribute [rw] max_results
2710
+ # The maximum number of objects to return for the request.
2711
+ # @return [Integer]
2712
+ #
2713
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListElementsRequest AWS API Documentation
2714
+ #
2715
+ class GetListElementsRequest < Struct.new(
2716
+ :name,
2717
+ :next_token,
2718
+ :max_results)
2719
+ SENSITIVE = []
2720
+ include Aws::Structure
2721
+ end
2722
+
2723
+ # @!attribute [rw] elements
2724
+ # The list elements.
2725
+ # @return [Array<String>]
2726
+ #
2727
+ # @!attribute [rw] next_token
2728
+ # The next page token.
2729
+ # @return [String]
2730
+ #
2731
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListElementsResult AWS API Documentation
2732
+ #
2733
+ class GetListElementsResult < Struct.new(
2734
+ :elements,
2735
+ :next_token)
2736
+ SENSITIVE = []
2737
+ include Aws::Structure
2738
+ end
2739
+
2740
+ # @!attribute [rw] name
2741
+ # The name of the list.
2742
+ # @return [String]
2743
+ #
2744
+ # @!attribute [rw] next_token
2745
+ # The next token for the subsequent request.
2746
+ # @return [String]
2747
+ #
2748
+ # @!attribute [rw] max_results
2749
+ # The maximum number of objects to return for the request.
2750
+ # @return [Integer]
2751
+ #
2752
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListsMetadataRequest AWS API Documentation
2753
+ #
2754
+ class GetListsMetadataRequest < Struct.new(
2755
+ :name,
2756
+ :next_token,
2757
+ :max_results)
2758
+ SENSITIVE = []
2759
+ include Aws::Structure
2760
+ end
2761
+
2762
+ # @!attribute [rw] lists
2763
+ # The metadata of the specified list or all lists under the account.
2764
+ # @return [Array<Types::AllowDenyList>]
2765
+ #
2766
+ # @!attribute [rw] next_token
2767
+ # The next page token.
2768
+ # @return [String]
2769
+ #
2770
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListsMetadataResult AWS API Documentation
2771
+ #
2772
+ class GetListsMetadataResult < Struct.new(
2773
+ :lists,
2774
+ :next_token)
2775
+ SENSITIVE = []
2776
+ include Aws::Structure
2777
+ end
2778
+
2579
2779
  # @!attribute [rw] model_id
2580
2780
  # The model ID.
2581
2781
  # @return [String]
@@ -2998,7 +3198,7 @@ module Aws::FraudDetector
2998
3198
  # “Fraud”. This is recommended when most of the events in your
2999
3199
  # dataset are fraudulent.
3000
3200
  #
3001
- # * Use `LEGIT` f you want to categorize all unlabeled events as
3201
+ # * Use `LEGIT` if you want to categorize all unlabeled events as
3002
3202
  # “Legit”. This is recommended when most of the events in your
3003
3203
  # dataset are legitimate.
3004
3204
  #
@@ -3706,13 +3906,19 @@ module Aws::FraudDetector
3706
3906
  # @return [Array<String>]
3707
3907
  #
3708
3908
  # @!attribute [rw] event_ingestion
3709
- # Specifies if ingenstion is enabled or disabled.
3909
+ # Specifies if ingestion is enabled or disabled.
3710
3910
  # @return [String]
3711
3911
  #
3712
3912
  # @!attribute [rw] tags
3713
3913
  # A collection of key and value pairs.
3714
3914
  # @return [Array<Types::Tag>]
3715
3915
  #
3916
+ # @!attribute [rw] event_orchestration
3917
+ # Enables or disables event orchestration. If enabled, you can send
3918
+ # event predictions to select AWS services for downstream processing
3919
+ # of the events.
3920
+ # @return [Types::EventOrchestration]
3921
+ #
3716
3922
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEventTypeRequest AWS API Documentation
3717
3923
  #
3718
3924
  class PutEventTypeRequest < Struct.new(
@@ -3722,7 +3928,8 @@ module Aws::FraudDetector
3722
3928
  :labels,
3723
3929
  :entity_types,
3724
3930
  :event_ingestion,
3725
- :tags)
3931
+ :tags,
3932
+ :event_orchestration)
3726
3933
  SENSITIVE = []
3727
3934
  include Aws::Structure
3728
3935
  end
@@ -3805,6 +4012,7 @@ module Aws::FraudDetector
3805
4012
  # @return [String]
3806
4013
  #
3807
4014
  # @!attribute [rw] tags
4015
+ # A collection of key and value pairs.
3808
4016
  # @return [Array<Types::Tag>]
3809
4017
  #
3810
4018
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutLabelRequest AWS API Documentation
@@ -4290,7 +4498,7 @@ module Aws::FraudDetector
4290
4498
  # @return [Float]
4291
4499
  #
4292
4500
  # @!attribute [rw] upper_bound_value
4293
- # The lower bound value of the area under curve (auc).
4501
+ # The upper bound value of the area under curve (auc).
4294
4502
  # @return [Float]
4295
4503
  #
4296
4504
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UncertaintyRange AWS API Documentation
@@ -4468,6 +4676,58 @@ module Aws::FraudDetector
4468
4676
  #
4469
4677
  class UpdateEventLabelResult < Aws::EmptyStructure; end
4470
4678
 
4679
+ # @!attribute [rw] name
4680
+ # The name of the list to update.
4681
+ # @return [String]
4682
+ #
4683
+ # @!attribute [rw] elements
4684
+ # One or more list elements to add or replace. If you are providing
4685
+ # the elements, make sure to specify the `updateMode` to use.
4686
+ #
4687
+ # If you are deleting all elements from the list, use `REPLACE` for
4688
+ # the `updateMode` and provide an empty list (0 elements).
4689
+ # @return [Array<String>]
4690
+ #
4691
+ # @!attribute [rw] description
4692
+ # The new description.
4693
+ # @return [String]
4694
+ #
4695
+ # @!attribute [rw] update_mode
4696
+ # The update mode (type).
4697
+ #
4698
+ # * Use `APPEND` if you are adding elements to the list.
4699
+ #
4700
+ # * Use `REPLACE` if you replacing existing elements in the list.
4701
+ #
4702
+ # * Use `REMOVE` if you are removing elements from the list.
4703
+ # @return [String]
4704
+ #
4705
+ # @!attribute [rw] variable_type
4706
+ # The variable type you want to assign to the list.
4707
+ #
4708
+ # <note markdown="1"> You cannot update a variable type of a list that already has a
4709
+ # variable type assigned to it. You can assign a variable type to a
4710
+ # list only if the list does not already have a variable type.
4711
+ #
4712
+ # </note>
4713
+ # @return [String]
4714
+ #
4715
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateListRequest AWS API Documentation
4716
+ #
4717
+ class UpdateListRequest < Struct.new(
4718
+ :name,
4719
+ :elements,
4720
+ :description,
4721
+ :update_mode,
4722
+ :variable_type)
4723
+ SENSITIVE = []
4724
+ include Aws::Structure
4725
+ end
4726
+
4727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateListResult AWS API Documentation
4728
+ #
4729
+ class UpdateListResult < Aws::EmptyStructure; end
4730
+
4471
4731
  # @!attribute [rw] model_id
4472
4732
  # The model ID.
4473
4733
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-frauddetector/customizations'
52
52
  # @!group service
53
53
  module Aws::FraudDetector
54
54
 
55
- GEM_VERSION = '1.38.0'
55
+ GEM_VERSION = '1.40.0'
56
56
 
57
57
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-frauddetector
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.38.0
4
+ version: 1.40.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-06 00:00:00.000000000 Z
11
+ date: 2023-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.165.0
22
+ version: 3.174.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.165.0
32
+ version: 3.174.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement