aws-sdk-frauddetector 1.28.0 → 1.46.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,11 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
27
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
28
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
29
  require 'aws-sdk-core/plugins/http_checksum.rb'
30
- require 'aws-sdk-core/plugins/signature_v4.rb'
30
+ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
31
+ require 'aws-sdk-core/plugins/request_compression.rb'
32
+ require 'aws-sdk-core/plugins/defaults_mode.rb'
33
+ require 'aws-sdk-core/plugins/recursion_detection.rb'
34
+ require 'aws-sdk-core/plugins/sign.rb'
31
35
  require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
32
36
 
33
37
  Aws::Plugins::GlobalConfiguration.add_identifier(:frauddetector)
@@ -73,8 +77,13 @@ module Aws::FraudDetector
73
77
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
74
78
  add_plugin(Aws::Plugins::TransferEncoding)
75
79
  add_plugin(Aws::Plugins::HttpChecksum)
76
- add_plugin(Aws::Plugins::SignatureV4)
80
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
81
+ add_plugin(Aws::Plugins::RequestCompression)
82
+ add_plugin(Aws::Plugins::DefaultsMode)
83
+ add_plugin(Aws::Plugins::RecursionDetection)
84
+ add_plugin(Aws::Plugins::Sign)
77
85
  add_plugin(Aws::Plugins::Protocols::JsonRpc)
86
+ add_plugin(Aws::FraudDetector::Plugins::Endpoints)
78
87
 
79
88
  # @overload initialize(options)
80
89
  # @param [Hash] options
@@ -175,10 +184,18 @@ module Aws::FraudDetector
175
184
  # Used only in `standard` and adaptive retry modes. Specifies whether to apply
176
185
  # a clock skew correction and retry requests with skewed client clocks.
177
186
  #
187
+ # @option options [String] :defaults_mode ("legacy")
188
+ # See {Aws::DefaultsModeConfiguration} for a list of the
189
+ # accepted modes and the configuration defaults that are included.
190
+ #
178
191
  # @option options [Boolean] :disable_host_prefix_injection (false)
179
192
  # Set to true to disable SDK automatically adding host prefix
180
193
  # to default service endpoint when available.
181
194
  #
195
+ # @option options [Boolean] :disable_request_compression (false)
196
+ # When set to 'true' the request body will not be compressed
197
+ # for supported operations.
198
+ #
182
199
  # @option options [String] :endpoint
183
200
  # The client endpoint is normally constructed from the `:region`
184
201
  # option. You should only configure an `:endpoint` when connecting
@@ -199,6 +216,10 @@ module Aws::FraudDetector
199
216
  # @option options [Boolean] :endpoint_discovery (false)
200
217
  # When set to `true`, endpoint discovery will be enabled for operations when available.
201
218
  #
219
+ # @option options [Boolean] :ignore_configured_endpoint_urls
220
+ # Setting to true disables use of endpoint URLs provided via environment
221
+ # variables and the shared configuration file.
222
+ #
202
223
  # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
203
224
  # The log formatter.
204
225
  #
@@ -219,6 +240,11 @@ module Aws::FraudDetector
219
240
  # Used when loading credentials from the shared credentials file
220
241
  # at HOME/.aws/credentials. When not specified, 'default' is used.
221
242
  #
243
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
244
+ # The minimum size in bytes that triggers compression for request
245
+ # bodies. The value must be non-negative integer value between 0
246
+ # and 10485780 bytes inclusive.
247
+ #
222
248
  # @option options [Proc] :retry_backoff
223
249
  # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
224
250
  # This option is only used in the `legacy` retry mode.
@@ -264,6 +290,11 @@ module Aws::FraudDetector
264
290
  # in the future.
265
291
  #
266
292
  #
293
+ # @option options [String] :sdk_ua_app_id
294
+ # A unique and opaque application ID that is appended to the
295
+ # User-Agent header as app/<sdk_ua_app_id>. It should have a
296
+ # maximum length of 50.
297
+ #
267
298
  # @option options [String] :secret_access_key
268
299
  #
269
300
  # @option options [String] :session_token
@@ -287,6 +318,19 @@ module Aws::FraudDetector
287
318
  # ** Please note ** When response stubbing is enabled, no HTTP
288
319
  # requests are made, and retries are disabled.
289
320
  #
321
+ # @option options [Aws::TokenProvider] :token_provider
322
+ # A Bearer Token Provider. This can be an instance of any one of the
323
+ # following classes:
324
+ #
325
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
326
+ # tokens.
327
+ #
328
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
329
+ # access token generated from `aws login`.
330
+ #
331
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
332
+ # will be used to search for tokens configured for your profile in shared configuration files.
333
+ #
290
334
  # @option options [Boolean] :use_dualstack_endpoint
291
335
  # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
292
336
  # will be used if available.
@@ -300,6 +344,9 @@ module Aws::FraudDetector
300
344
  # When `true`, request parameters are validated before
301
345
  # sending the request.
302
346
  #
347
+ # @option options [Aws::FraudDetector::EndpointProvider] :endpoint_provider
348
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::FraudDetector::EndpointParameters`
349
+ #
303
350
  # @option options [URI::HTTP,String] :http_proxy A proxy to send
304
351
  # requests through. Formatted like 'http://proxy.com:123'.
305
352
  #
@@ -307,7 +354,7 @@ module Aws::FraudDetector
307
354
  # seconds to wait when opening a HTTP session before raising a
308
355
  # `Timeout::Error`.
309
356
  #
310
- # @option options [Integer] :http_read_timeout (60) The default
357
+ # @option options [Float] :http_read_timeout (60) The default
311
358
  # number of seconds to wait for response data. This value can
312
359
  # safely be set per-request on the session.
313
360
  #
@@ -323,6 +370,9 @@ module Aws::FraudDetector
323
370
  # disables this behaviour. This value can safely be set per
324
371
  # request on the session.
325
372
  #
373
+ # @option options [Float] :ssl_timeout (nil) Sets the SSL timeout
374
+ # in seconds.
375
+ #
326
376
  # @option options [Boolean] :http_wire_trace (false) When `true`,
327
377
  # HTTP debug output will be sent to the `:logger`.
328
378
  #
@@ -417,7 +467,7 @@ module Aws::FraudDetector
417
467
  #
418
468
  # resp.variables #=> Array
419
469
  # resp.variables[0].name #=> String
420
- # resp.variables[0].data_type #=> String, one of "STRING", "INTEGER", "FLOAT", "BOOLEAN"
470
+ # resp.variables[0].data_type #=> String, one of "STRING", "INTEGER", "FLOAT", "BOOLEAN", "DATETIME"
421
471
  # resp.variables[0].data_source #=> String, one of "EVENT", "MODEL_SCORE", "EXTERNAL_MODEL_SCORE"
422
472
  # resp.variables[0].default_value #=> String
423
473
  # resp.variables[0].description #=> String
@@ -504,8 +554,16 @@ module Aws::FraudDetector
504
554
  #
505
555
  # @option params [required, String] :iam_role_arn
506
556
  # The ARN of the IAM role created for Amazon S3 bucket that holds your
507
- # data file. The IAM role must have read and write permissions to both
508
- # input and output S3 buckets.
557
+ # data file.
558
+ #
559
+ # The IAM role must have read permissions to your input S3 bucket and
560
+ # write permissions to your output S3 bucket. For more information about
561
+ # bucket permissions, see [User policy examples][1] in the *Amazon S3
562
+ # User Guide*.
563
+ #
564
+ #
565
+ #
566
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-policies-s3.html
509
567
  #
510
568
  # @option params [Array<Types::Tag>] :tags
511
569
  # A collection of key-value pairs associated with this request.
@@ -560,6 +618,15 @@ module Aws::FraudDetector
560
618
  # @option params [required, String] :iam_role_arn
561
619
  # The ARN of the IAM role to use for this job request.
562
620
  #
621
+ # The IAM Role must have read permissions to your input S3 bucket and
622
+ # write permissions to your output S3 bucket. For more information about
623
+ # bucket permissions, see [User policy examples][1] in the *Amazon S3
624
+ # User Guide*.
625
+ #
626
+ #
627
+ #
628
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/example-policies-s3.html
629
+ #
563
630
  # @option params [Array<Types::Tag>] :tags
564
631
  # A collection of key and value pairs.
565
632
  #
@@ -653,7 +720,7 @@ module Aws::FraudDetector
653
720
  # model_versions: [
654
721
  # {
655
722
  # model_id: "modelIdentifier", # required
656
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
723
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
657
724
  # model_version_number: "floatVersionString", # required
658
725
  # arn: "fraudDetectorArn",
659
726
  # },
@@ -682,6 +749,67 @@ module Aws::FraudDetector
682
749
  req.send_request(options)
683
750
  end
684
751
 
752
+ # Creates a list.
753
+ #
754
+ # List is a set of input data for a variable in your event dataset. You
755
+ # use the input data in a rule that's associated with your detector.
756
+ # For more information, see [Lists][1].
757
+ #
758
+ #
759
+ #
760
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/lists.html
761
+ #
762
+ # @option params [required, String] :name
763
+ # The name of the list.
764
+ #
765
+ # @option params [Array<String>] :elements
766
+ # The names of the elements, if providing. You can also create an empty
767
+ # list and add elements later using the [UpdateList][1] API.
768
+ #
769
+ #
770
+ #
771
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/api/API_Updatelist.html
772
+ #
773
+ # @option params [String] :variable_type
774
+ # The variable type of the list. You can only assign the variable type
775
+ # with String data type. For more information, see [Variable types][1].
776
+ #
777
+ #
778
+ #
779
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types
780
+ #
781
+ # @option params [String] :description
782
+ # The description of the list.
783
+ #
784
+ # @option params [Array<Types::Tag>] :tags
785
+ # A collection of the key and value pairs.
786
+ #
787
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
788
+ #
789
+ # @example Request syntax with placeholder values
790
+ #
791
+ # resp = client.create_list({
792
+ # name: "noDashIdentifier", # required
793
+ # elements: ["Elements"],
794
+ # variable_type: "variableType",
795
+ # description: "description",
796
+ # tags: [
797
+ # {
798
+ # key: "tagKey", # required
799
+ # value: "tagValue", # required
800
+ # },
801
+ # ],
802
+ # })
803
+ #
804
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/CreateList AWS API Documentation
805
+ #
806
+ # @overload create_list(params = {})
807
+ # @param [Hash] params ({})
808
+ def create_list(params = {}, options = {})
809
+ req = build_request(:create_list, params)
810
+ req.send_request(options)
811
+ end
812
+
685
813
  # Creates a model using the specified model type.
686
814
  #
687
815
  # @option params [required, String] :model_id
@@ -705,7 +833,7 @@ module Aws::FraudDetector
705
833
  #
706
834
  # resp = client.create_model({
707
835
  # model_id: "modelIdentifier", # required
708
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
836
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
709
837
  # description: "description",
710
838
  # event_type_name: "string", # required
711
839
  # tags: [
@@ -762,15 +890,15 @@ module Aws::FraudDetector
762
890
  #
763
891
  # resp = client.create_model_version({
764
892
  # model_id: "modelIdentifier", # required
765
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
893
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
766
894
  # training_data_source: "EXTERNAL_EVENTS", # required, accepts EXTERNAL_EVENTS, INGESTED_EVENTS
767
895
  # training_data_schema: { # required
768
896
  # model_variables: ["string"], # required
769
- # label_schema: { # required
770
- # label_mapper: { # required
897
+ # label_schema: {
898
+ # label_mapper: {
771
899
  # "string" => ["string"],
772
900
  # },
773
- # unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT
901
+ # unlabeled_events_treatment: "IGNORE", # accepts IGNORE, FRAUD, LEGIT, AUTO
774
902
  # },
775
903
  # },
776
904
  # external_events_detail: {
@@ -794,7 +922,7 @@ module Aws::FraudDetector
794
922
  # @example Response structure
795
923
  #
796
924
  # resp.model_id #=> String
797
- # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
925
+ # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
798
926
  # resp.model_version_number #=> String
799
927
  # resp.status #=> String
800
928
  #
@@ -872,7 +1000,7 @@ module Aws::FraudDetector
872
1000
  # The name of the variable.
873
1001
  #
874
1002
  # @option params [required, String] :data_type
875
- # The data type.
1003
+ # The data type of the variable.
876
1004
  #
877
1005
  # @option params [required, String] :data_source
878
1006
  # The source of the data.
@@ -908,7 +1036,7 @@ module Aws::FraudDetector
908
1036
  #
909
1037
  # resp = client.create_variable({
910
1038
  # name: "string", # required
911
- # data_type: "STRING", # required, accepts STRING, INTEGER, FLOAT, BOOLEAN
1039
+ # data_type: "STRING", # required, accepts STRING, INTEGER, FLOAT, BOOLEAN, DATETIME
912
1040
  # data_source: "EVENT", # required, accepts EVENT, MODEL_SCORE, EXTERNAL_MODEL_SCORE
913
1041
  # default_value: "string", # required
914
1042
  # description: "string",
@@ -930,7 +1058,8 @@ module Aws::FraudDetector
930
1058
  req.send_request(options)
931
1059
  end
932
1060
 
933
- # Deletes data that was batch imported to Amazon Fraud Detector.
1061
+ # Deletes the specified batch import job ID record. This action does not
1062
+ # delete the data that was batch imported.
934
1063
  #
935
1064
  # @option params [required, String] :job_id
936
1065
  # The ID of the batch import job to delete.
@@ -1065,7 +1194,9 @@ module Aws::FraudDetector
1065
1194
  #
1066
1195
  # When you delete an event, Amazon Fraud Detector permanently deletes
1067
1196
  # that event and the event data is no longer stored in Amazon Fraud
1068
- # Detector.
1197
+ # Detector. If `deleteAuditHistory` is `True`, event data is available
1198
+ # through search for up to 30 seconds after the delete operation is
1199
+ # completed.
1069
1200
  #
1070
1201
  # @option params [required, String] :event_id
1071
1202
  # The ID of the event to delete.
@@ -1075,7 +1206,7 @@ module Aws::FraudDetector
1075
1206
  #
1076
1207
  # @option params [Boolean] :delete_audit_history
1077
1208
  # Specifies whether or not to delete any predictions associated with the
1078
- # event.
1209
+ # event. If set to `True`,
1079
1210
  #
1080
1211
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1081
1212
  #
@@ -1211,6 +1342,31 @@ module Aws::FraudDetector
1211
1342
  req.send_request(options)
1212
1343
  end
1213
1344
 
1345
+ # Deletes the list, provided it is not used in a rule.
1346
+ #
1347
+ # When you delete a list, Amazon Fraud Detector permanently deletes that
1348
+ # list and the elements in the list.
1349
+ #
1350
+ # @option params [required, String] :name
1351
+ # The name of the list to delete.
1352
+ #
1353
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1354
+ #
1355
+ # @example Request syntax with placeholder values
1356
+ #
1357
+ # resp = client.delete_list({
1358
+ # name: "noDashIdentifier", # required
1359
+ # })
1360
+ #
1361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteList AWS API Documentation
1362
+ #
1363
+ # @overload delete_list(params = {})
1364
+ # @param [Hash] params ({})
1365
+ def delete_list(params = {}, options = {})
1366
+ req = build_request(:delete_list, params)
1367
+ req.send_request(options)
1368
+ end
1369
+
1214
1370
  # Deletes a model.
1215
1371
  #
1216
1372
  # You can delete models and model versions in Amazon Fraud Detector,
@@ -1231,7 +1387,7 @@ module Aws::FraudDetector
1231
1387
  #
1232
1388
  # resp = client.delete_model({
1233
1389
  # model_id: "modelIdentifier", # required
1234
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
1390
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
1235
1391
  # })
1236
1392
  #
1237
1393
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteModel AWS API Documentation
@@ -1267,7 +1423,7 @@ module Aws::FraudDetector
1267
1423
  #
1268
1424
  # resp = client.delete_model_version({
1269
1425
  # model_id: "modelIdentifier", # required
1270
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
1426
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
1271
1427
  # model_version_number: "floatVersionString", # required
1272
1428
  # })
1273
1429
  #
@@ -1448,7 +1604,7 @@ module Aws::FraudDetector
1448
1604
  # resp = client.describe_model_versions({
1449
1605
  # model_id: "modelIdentifier",
1450
1606
  # model_version_number: "floatVersionString",
1451
- # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
1607
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
1452
1608
  # next_token: "string",
1453
1609
  # max_results: 1,
1454
1610
  # })
@@ -1457,7 +1613,7 @@ module Aws::FraudDetector
1457
1613
  #
1458
1614
  # resp.model_version_details #=> Array
1459
1615
  # resp.model_version_details[0].model_id #=> String
1460
- # resp.model_version_details[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
1616
+ # resp.model_version_details[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
1461
1617
  # resp.model_version_details[0].model_version_number #=> String
1462
1618
  # resp.model_version_details[0].status #=> String
1463
1619
  # resp.model_version_details[0].training_data_source #=> String, one of "EXTERNAL_EVENTS", "INGESTED_EVENTS"
@@ -1466,7 +1622,7 @@ module Aws::FraudDetector
1466
1622
  # resp.model_version_details[0].training_data_schema.label_schema.label_mapper #=> Hash
1467
1623
  # resp.model_version_details[0].training_data_schema.label_schema.label_mapper["string"] #=> Array
1468
1624
  # resp.model_version_details[0].training_data_schema.label_schema.label_mapper["string"][0] #=> String
1469
- # resp.model_version_details[0].training_data_schema.label_schema.unlabeled_events_treatment #=> String, one of "IGNORE", "FRAUD", "LEGIT"
1625
+ # resp.model_version_details[0].training_data_schema.label_schema.unlabeled_events_treatment #=> String, one of "IGNORE", "FRAUD", "LEGIT", "AUTO"
1470
1626
  # resp.model_version_details[0].external_events_detail.data_location #=> String
1471
1627
  # resp.model_version_details[0].external_events_detail.data_access_role_arn #=> String
1472
1628
  # resp.model_version_details[0].ingested_events_detail.ingested_events_time_window.start_time #=> String
@@ -1494,6 +1650,46 @@ module Aws::FraudDetector
1494
1650
  # resp.model_version_details[0].last_updated_time #=> String
1495
1651
  # resp.model_version_details[0].created_time #=> String
1496
1652
  # resp.model_version_details[0].arn #=> String
1653
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages #=> Array
1654
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages[0].title #=> String
1655
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages[0].content #=> String
1656
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.file_level_messages[0].type #=> String
1657
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages #=> Array
1658
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].field_name #=> String
1659
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].identifier #=> String
1660
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].title #=> String
1661
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].content #=> String
1662
+ # resp.model_version_details[0].training_result_v2.data_validation_metrics.field_level_messages[0].type #=> String
1663
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points #=> Array
1664
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].fpr #=> Float
1665
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].precision #=> Float
1666
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].tpr #=> Float
1667
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.metric_data_points[0].threshold #=> Float
1668
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.model_performance.auc #=> Float
1669
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.model_performance.uncertainty_range.lower_bound_value #=> Float
1670
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ofi.model_performance.uncertainty_range.upper_bound_value #=> Float
1671
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points #=> Array
1672
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].fpr #=> Float
1673
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].precision #=> Float
1674
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].tpr #=> Float
1675
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.metric_data_points[0].threshold #=> Float
1676
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.model_performance.auc #=> Float
1677
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.model_performance.uncertainty_range.lower_bound_value #=> Float
1678
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.tfi.model_performance.uncertainty_range.upper_bound_value #=> Float
1679
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points #=> Array
1680
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].cr #=> Float
1681
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].adr #=> Float
1682
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].threshold #=> Float
1683
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.metric_data_points[0].atodr #=> Float
1684
+ # resp.model_version_details[0].training_result_v2.training_metrics_v2.ati.model_performance.asi #=> Float
1685
+ # resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics #=> Array
1686
+ # resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics[0].variable_name #=> String
1687
+ # resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics[0].variable_type #=> String
1688
+ # resp.model_version_details[0].training_result_v2.variable_importance_metrics.log_odds_metrics[0].variable_importance #=> Float
1689
+ # resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics #=> Array
1690
+ # resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics[0].variable_names #=> Array
1691
+ # resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics[0].variable_names[0] #=> String
1692
+ # resp.model_version_details[0].training_result_v2.aggregated_variables_importance_metrics.log_odds_metrics[0].aggregated_variables_importance #=> Float
1497
1693
  # resp.next_token #=> String
1498
1694
  #
1499
1695
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DescribeModelVersions AWS API Documentation
@@ -1693,7 +1889,7 @@ module Aws::FraudDetector
1693
1889
  # resp.external_model_endpoints[0] #=> String
1694
1890
  # resp.model_versions #=> Array
1695
1891
  # resp.model_versions[0].model_id #=> String
1696
- # resp.model_versions[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
1892
+ # resp.model_versions[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
1697
1893
  # resp.model_versions[0].model_version_number #=> String
1698
1894
  # resp.model_versions[0].arn #=> String
1699
1895
  # resp.rules #=> Array
@@ -1949,7 +2145,7 @@ module Aws::FraudDetector
1949
2145
  #
1950
2146
  # resp.model_scores #=> Array
1951
2147
  # resp.model_scores[0].model_version.model_id #=> String
1952
- # resp.model_scores[0].model_version.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
2148
+ # resp.model_scores[0].model_version.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
1953
2149
  # resp.model_scores[0].model_version.model_version_number #=> String
1954
2150
  # resp.model_scores[0].model_version.arn #=> String
1955
2151
  # resp.model_scores[0].scores #=> Hash
@@ -1973,6 +2169,123 @@ module Aws::FraudDetector
1973
2169
  req.send_request(options)
1974
2170
  end
1975
2171
 
2172
+ # Gets details of the past fraud predictions for the specified event ID,
2173
+ # event type, detector ID, and detector version ID that was generated in
2174
+ # the specified time period.
2175
+ #
2176
+ # @option params [required, String] :event_id
2177
+ # The event ID.
2178
+ #
2179
+ # @option params [required, String] :event_type_name
2180
+ # The event type associated with the detector specified for the
2181
+ # prediction.
2182
+ #
2183
+ # @option params [required, String] :detector_id
2184
+ # The detector ID.
2185
+ #
2186
+ # @option params [required, String] :detector_version_id
2187
+ # The detector version ID.
2188
+ #
2189
+ # @option params [required, String] :prediction_timestamp
2190
+ # The timestamp that defines when the prediction was generated. The
2191
+ # timestamp must be specified using ISO 8601 standard in UTC.
2192
+ #
2193
+ # We recommend calling [ListEventPredictions][1] first, and using the
2194
+ # `predictionTimestamp` value in the response to provide an accurate
2195
+ # prediction timestamp value.
2196
+ #
2197
+ #
2198
+ #
2199
+ # [1]: https://docs.aws.amazon.com/frauddetector/latest/api/API_ListEventPredictions.html
2200
+ #
2201
+ # @return [Types::GetEventPredictionMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2202
+ #
2203
+ # * {Types::GetEventPredictionMetadataResult#event_id #event_id} => String
2204
+ # * {Types::GetEventPredictionMetadataResult#event_type_name #event_type_name} => String
2205
+ # * {Types::GetEventPredictionMetadataResult#entity_id #entity_id} => String
2206
+ # * {Types::GetEventPredictionMetadataResult#entity_type #entity_type} => String
2207
+ # * {Types::GetEventPredictionMetadataResult#event_timestamp #event_timestamp} => String
2208
+ # * {Types::GetEventPredictionMetadataResult#detector_id #detector_id} => String
2209
+ # * {Types::GetEventPredictionMetadataResult#detector_version_id #detector_version_id} => String
2210
+ # * {Types::GetEventPredictionMetadataResult#detector_version_status #detector_version_status} => String
2211
+ # * {Types::GetEventPredictionMetadataResult#event_variables #event_variables} => Array&lt;Types::EventVariableSummary&gt;
2212
+ # * {Types::GetEventPredictionMetadataResult#rules #rules} => Array&lt;Types::EvaluatedRule&gt;
2213
+ # * {Types::GetEventPredictionMetadataResult#rule_execution_mode #rule_execution_mode} => String
2214
+ # * {Types::GetEventPredictionMetadataResult#outcomes #outcomes} => Array&lt;String&gt;
2215
+ # * {Types::GetEventPredictionMetadataResult#evaluated_model_versions #evaluated_model_versions} => Array&lt;Types::EvaluatedModelVersion&gt;
2216
+ # * {Types::GetEventPredictionMetadataResult#evaluated_external_models #evaluated_external_models} => Array&lt;Types::EvaluatedExternalModel&gt;
2217
+ # * {Types::GetEventPredictionMetadataResult#prediction_timestamp #prediction_timestamp} => String
2218
+ #
2219
+ # @example Request syntax with placeholder values
2220
+ #
2221
+ # resp = client.get_event_prediction_metadata({
2222
+ # event_id: "identifier", # required
2223
+ # event_type_name: "identifier", # required
2224
+ # detector_id: "identifier", # required
2225
+ # detector_version_id: "wholeNumberVersionString", # required
2226
+ # prediction_timestamp: "time", # required
2227
+ # })
2228
+ #
2229
+ # @example Response structure
2230
+ #
2231
+ # resp.event_id #=> String
2232
+ # resp.event_type_name #=> String
2233
+ # resp.entity_id #=> String
2234
+ # resp.entity_type #=> String
2235
+ # resp.event_timestamp #=> String
2236
+ # resp.detector_id #=> String
2237
+ # resp.detector_version_id #=> String
2238
+ # resp.detector_version_status #=> String
2239
+ # resp.event_variables #=> Array
2240
+ # resp.event_variables[0].name #=> String
2241
+ # resp.event_variables[0].value #=> String
2242
+ # resp.event_variables[0].source #=> String
2243
+ # resp.rules #=> Array
2244
+ # resp.rules[0].rule_id #=> String
2245
+ # resp.rules[0].rule_version #=> String
2246
+ # resp.rules[0].expression #=> String
2247
+ # resp.rules[0].expression_with_values #=> String
2248
+ # resp.rules[0].outcomes #=> Array
2249
+ # resp.rules[0].outcomes[0] #=> String
2250
+ # resp.rules[0].evaluated #=> Boolean
2251
+ # resp.rules[0].matched #=> Boolean
2252
+ # resp.rule_execution_mode #=> String, one of "ALL_MATCHED", "FIRST_MATCHED"
2253
+ # resp.outcomes #=> Array
2254
+ # resp.outcomes[0] #=> String
2255
+ # resp.evaluated_model_versions #=> Array
2256
+ # resp.evaluated_model_versions[0].model_id #=> String
2257
+ # resp.evaluated_model_versions[0].model_version #=> String
2258
+ # resp.evaluated_model_versions[0].model_type #=> String
2259
+ # resp.evaluated_model_versions[0].evaluations #=> Array
2260
+ # resp.evaluated_model_versions[0].evaluations[0].output_variable_name #=> String
2261
+ # resp.evaluated_model_versions[0].evaluations[0].evaluation_score #=> String
2262
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.variable_impact_explanations #=> Array
2263
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.variable_impact_explanations[0].event_variable_name #=> String
2264
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.variable_impact_explanations[0].relative_impact #=> String
2265
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.variable_impact_explanations[0].log_odds_impact #=> Float
2266
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations #=> Array
2267
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].event_variable_names #=> Array
2268
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].event_variable_names[0] #=> String
2269
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].relative_impact #=> String
2270
+ # resp.evaluated_model_versions[0].evaluations[0].prediction_explanations.aggregated_variables_impact_explanations[0].log_odds_impact #=> Float
2271
+ # resp.evaluated_external_models #=> Array
2272
+ # resp.evaluated_external_models[0].model_endpoint #=> String
2273
+ # resp.evaluated_external_models[0].use_event_variables #=> Boolean
2274
+ # resp.evaluated_external_models[0].input_variables #=> Hash
2275
+ # resp.evaluated_external_models[0].input_variables["string"] #=> String
2276
+ # resp.evaluated_external_models[0].output_variables #=> Hash
2277
+ # resp.evaluated_external_models[0].output_variables["string"] #=> String
2278
+ # resp.prediction_timestamp #=> String
2279
+ #
2280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventPredictionMetadata AWS API Documentation
2281
+ #
2282
+ # @overload get_event_prediction_metadata(params = {})
2283
+ # @param [Hash] params ({})
2284
+ def get_event_prediction_metadata(params = {}, options = {})
2285
+ req = build_request(:get_event_prediction_metadata, params)
2286
+ req.send_request(options)
2287
+ end
2288
+
1976
2289
  # Gets all event types or a specific event type if name is provided.
1977
2290
  # This is a paginated API. If you provide a null `maxResults`, this
1978
2291
  # action retrieves a maximum of 10 records per page. If you provide a
@@ -2025,6 +2338,7 @@ module Aws::FraudDetector
2025
2338
  # resp.event_types[0].last_updated_time #=> String
2026
2339
  # resp.event_types[0].created_time #=> String
2027
2340
  # resp.event_types[0].arn #=> String
2341
+ # resp.event_types[0].event_orchestration.event_bridge_enabled #=> Boolean
2028
2342
  # resp.next_token #=> String
2029
2343
  #
2030
2344
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventTypes AWS API Documentation
@@ -2170,6 +2484,94 @@ module Aws::FraudDetector
2170
2484
  req.send_request(options)
2171
2485
  end
2172
2486
 
2487
+ # Gets all the elements in the specified list.
2488
+ #
2489
+ # @option params [required, String] :name
2490
+ # The name of the list.
2491
+ #
2492
+ # @option params [String] :next_token
2493
+ # The next token for the subsequent request.
2494
+ #
2495
+ # @option params [Integer] :max_results
2496
+ # The maximum number of objects to return for the request.
2497
+ #
2498
+ # @return [Types::GetListElementsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2499
+ #
2500
+ # * {Types::GetListElementsResult#elements #elements} => Array&lt;String&gt;
2501
+ # * {Types::GetListElementsResult#next_token #next_token} => String
2502
+ #
2503
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2504
+ #
2505
+ # @example Request syntax with placeholder values
2506
+ #
2507
+ # resp = client.get_list_elements({
2508
+ # name: "noDashIdentifier", # required
2509
+ # next_token: "nextToken",
2510
+ # max_results: 1,
2511
+ # })
2512
+ #
2513
+ # @example Response structure
2514
+ #
2515
+ # resp.elements #=> Array
2516
+ # resp.elements[0] #=> String
2517
+ # resp.next_token #=> String
2518
+ #
2519
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListElements AWS API Documentation
2520
+ #
2521
+ # @overload get_list_elements(params = {})
2522
+ # @param [Hash] params ({})
2523
+ def get_list_elements(params = {}, options = {})
2524
+ req = build_request(:get_list_elements, params)
2525
+ req.send_request(options)
2526
+ end
2527
+
2528
+ # Gets the metadata of either all the lists under the account or the
2529
+ # specified list.
2530
+ #
2531
+ # @option params [String] :name
2532
+ # The name of the list.
2533
+ #
2534
+ # @option params [String] :next_token
2535
+ # The next token for the subsequent request.
2536
+ #
2537
+ # @option params [Integer] :max_results
2538
+ # The maximum number of objects to return for the request.
2539
+ #
2540
+ # @return [Types::GetListsMetadataResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2541
+ #
2542
+ # * {Types::GetListsMetadataResult#lists #lists} => Array&lt;Types::AllowDenyList&gt;
2543
+ # * {Types::GetListsMetadataResult#next_token #next_token} => String
2544
+ #
2545
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2546
+ #
2547
+ # @example Request syntax with placeholder values
2548
+ #
2549
+ # resp = client.get_lists_metadata({
2550
+ # name: "noDashIdentifier",
2551
+ # next_token: "nextToken",
2552
+ # max_results: 1,
2553
+ # })
2554
+ #
2555
+ # @example Response structure
2556
+ #
2557
+ # resp.lists #=> Array
2558
+ # resp.lists[0].name #=> String
2559
+ # resp.lists[0].description #=> String
2560
+ # resp.lists[0].variable_type #=> String
2561
+ # resp.lists[0].created_time #=> String
2562
+ # resp.lists[0].updated_time #=> String
2563
+ # resp.lists[0].arn #=> String
2564
+ # resp.next_token #=> String
2565
+ #
2566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetListsMetadata AWS API Documentation
2567
+ #
2568
+ # @overload get_lists_metadata(params = {})
2569
+ # @param [Hash] params ({})
2570
+ def get_lists_metadata(params = {}, options = {})
2571
+ req = build_request(:get_lists_metadata, params)
2572
+ req.send_request(options)
2573
+ end
2574
+
2173
2575
  # Gets the details of the specified model version.
2174
2576
  #
2175
2577
  # @option params [required, String] :model_id
@@ -2197,14 +2599,14 @@ module Aws::FraudDetector
2197
2599
  #
2198
2600
  # resp = client.get_model_version({
2199
2601
  # model_id: "modelIdentifier", # required
2200
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
2602
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
2201
2603
  # model_version_number: "floatVersionString", # required
2202
2604
  # })
2203
2605
  #
2204
2606
  # @example Response structure
2205
2607
  #
2206
2608
  # resp.model_id #=> String
2207
- # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
2609
+ # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
2208
2610
  # resp.model_version_number #=> String
2209
2611
  # resp.training_data_source #=> String, one of "EXTERNAL_EVENTS", "INGESTED_EVENTS"
2210
2612
  # resp.training_data_schema.model_variables #=> Array
@@ -2212,7 +2614,7 @@ module Aws::FraudDetector
2212
2614
  # resp.training_data_schema.label_schema.label_mapper #=> Hash
2213
2615
  # resp.training_data_schema.label_schema.label_mapper["string"] #=> Array
2214
2616
  # resp.training_data_schema.label_schema.label_mapper["string"][0] #=> String
2215
- # resp.training_data_schema.label_schema.unlabeled_events_treatment #=> String, one of "IGNORE", "FRAUD", "LEGIT"
2617
+ # resp.training_data_schema.label_schema.unlabeled_events_treatment #=> String, one of "IGNORE", "FRAUD", "LEGIT", "AUTO"
2216
2618
  # resp.external_events_detail.data_location #=> String
2217
2619
  # resp.external_events_detail.data_access_role_arn #=> String
2218
2620
  # resp.ingested_events_detail.ingested_events_time_window.start_time #=> String
@@ -2265,7 +2667,7 @@ module Aws::FraudDetector
2265
2667
  #
2266
2668
  # resp = client.get_models({
2267
2669
  # model_id: "modelIdentifier",
2268
- # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
2670
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
2269
2671
  # next_token: "string",
2270
2672
  # max_results: 1,
2271
2673
  # })
@@ -2275,7 +2677,7 @@ module Aws::FraudDetector
2275
2677
  # resp.next_token #=> String
2276
2678
  # resp.models #=> Array
2277
2679
  # resp.models[0].model_id #=> String
2278
- # resp.models[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
2680
+ # resp.models[0].model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
2279
2681
  # resp.models[0].description #=> String
2280
2682
  # resp.models[0].event_type_name #=> String
2281
2683
  # resp.models[0].created_time #=> String
@@ -2444,7 +2846,7 @@ module Aws::FraudDetector
2444
2846
  #
2445
2847
  # resp.variables #=> Array
2446
2848
  # resp.variables[0].name #=> String
2447
- # resp.variables[0].data_type #=> String, one of "STRING", "INTEGER", "FLOAT", "BOOLEAN"
2849
+ # resp.variables[0].data_type #=> String, one of "STRING", "INTEGER", "FLOAT", "BOOLEAN", "DATETIME"
2448
2850
  # resp.variables[0].data_source #=> String, one of "EVENT", "MODEL_SCORE", "EXTERNAL_MODEL_SCORE"
2449
2851
  # resp.variables[0].default_value #=> String
2450
2852
  # resp.variables[0].description #=> String
@@ -2463,6 +2865,94 @@ module Aws::FraudDetector
2463
2865
  req.send_request(options)
2464
2866
  end
2465
2867
 
2868
+ # Gets a list of past predictions. The list can be filtered by detector
2869
+ # ID, detector version ID, event ID, event type, or by specifying a time
2870
+ # period. If filter is not specified, the most recent prediction is
2871
+ # returned.
2872
+ #
2873
+ # For example, the following filter lists all past predictions for `xyz`
2874
+ # event type - `\{ "eventType":\{ "value": "xyz" \}” \} `
2875
+ #
2876
+ # This is a paginated API. If you provide a null `maxResults`, this
2877
+ # action will retrieve a maximum of 10 records per page. If you provide
2878
+ # a `maxResults`, the value must be between 50 and 100. To get the next
2879
+ # page results, provide the `nextToken` from the response as part of
2880
+ # your request. A null `nextToken` fetches the records from the
2881
+ # beginning.
2882
+ #
2883
+ # @option params [Types::FilterCondition] :event_id
2884
+ # The event ID.
2885
+ #
2886
+ # @option params [Types::FilterCondition] :event_type
2887
+ # The event type associated with the detector.
2888
+ #
2889
+ # @option params [Types::FilterCondition] :detector_id
2890
+ # The detector ID.
2891
+ #
2892
+ # @option params [Types::FilterCondition] :detector_version_id
2893
+ # The detector version ID.
2894
+ #
2895
+ # @option params [Types::PredictionTimeRange] :prediction_time_range
2896
+ # The time period for when the predictions were generated.
2897
+ #
2898
+ # @option params [String] :next_token
2899
+ # Identifies the next page of results to return. Use the token to make
2900
+ # the call again to retrieve the next page. Keep all other arguments
2901
+ # unchanged. Each pagination token expires after 24 hours.
2902
+ #
2903
+ # @option params [Integer] :max_results
2904
+ # The maximum number of predictions to return for the request.
2905
+ #
2906
+ # @return [Types::ListEventPredictionsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2907
+ #
2908
+ # * {Types::ListEventPredictionsResult#event_prediction_summaries #event_prediction_summaries} => Array&lt;Types::EventPredictionSummary&gt;
2909
+ # * {Types::ListEventPredictionsResult#next_token #next_token} => String
2910
+ #
2911
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2912
+ #
2913
+ # @example Request syntax with placeholder values
2914
+ #
2915
+ # resp = client.list_event_predictions({
2916
+ # event_id: {
2917
+ # value: "filterString",
2918
+ # },
2919
+ # event_type: {
2920
+ # value: "filterString",
2921
+ # },
2922
+ # detector_id: {
2923
+ # value: "filterString",
2924
+ # },
2925
+ # detector_version_id: {
2926
+ # value: "filterString",
2927
+ # },
2928
+ # prediction_time_range: {
2929
+ # start_time: "time", # required
2930
+ # end_time: "time", # required
2931
+ # },
2932
+ # next_token: "string",
2933
+ # max_results: 1,
2934
+ # })
2935
+ #
2936
+ # @example Response structure
2937
+ #
2938
+ # resp.event_prediction_summaries #=> Array
2939
+ # resp.event_prediction_summaries[0].event_id #=> String
2940
+ # resp.event_prediction_summaries[0].event_type_name #=> String
2941
+ # resp.event_prediction_summaries[0].event_timestamp #=> String
2942
+ # resp.event_prediction_summaries[0].prediction_timestamp #=> String
2943
+ # resp.event_prediction_summaries[0].detector_id #=> String
2944
+ # resp.event_prediction_summaries[0].detector_version_id #=> String
2945
+ # resp.next_token #=> String
2946
+ #
2947
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ListEventPredictions AWS API Documentation
2948
+ #
2949
+ # @overload list_event_predictions(params = {})
2950
+ # @param [Hash] params ({})
2951
+ def list_event_predictions(params = {}, options = {})
2952
+ req = build_request(:list_event_predictions, params)
2953
+ req.send_request(options)
2954
+ end
2955
+
2466
2956
  # Lists all tags associated with the resource. This is a paginated API.
2467
2957
  # To get the next page results, provide the pagination token from the
2468
2958
  # response as part of your request. A null pagination token fetches the
@@ -2612,11 +3102,16 @@ module Aws::FraudDetector
2612
3102
  # merchant, account.
2613
3103
  #
2614
3104
  # @option params [String] :event_ingestion
2615
- # Specifies if ingenstion is enabled or disabled.
3105
+ # Specifies if ingestion is enabled or disabled.
2616
3106
  #
2617
3107
  # @option params [Array<Types::Tag>] :tags
2618
3108
  # A collection of key and value pairs.
2619
3109
  #
3110
+ # @option params [Types::EventOrchestration] :event_orchestration
3111
+ # Enables or disables event orchestration. If enabled, you can send
3112
+ # event predictions to select AWS services for downstream processing of
3113
+ # the events.
3114
+ #
2620
3115
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2621
3116
  #
2622
3117
  # @example Request syntax with placeholder values
@@ -2634,6 +3129,9 @@ module Aws::FraudDetector
2634
3129
  # value: "tagValue", # required
2635
3130
  # },
2636
3131
  # ],
3132
+ # event_orchestration: {
3133
+ # event_bridge_enabled: false, # required
3134
+ # },
2637
3135
  # })
2638
3136
  #
2639
3137
  # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEventType AWS API Documentation
@@ -2718,6 +3216,9 @@ module Aws::FraudDetector
2718
3216
  # @option params [required, String] :kms_encryption_key_arn
2719
3217
  # The KMS encryption key ARN.
2720
3218
  #
3219
+ # The KMS key must be single-Region key. Amazon Fraud Detector does not
3220
+ # support multi-Region KMS key.
3221
+ #
2721
3222
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2722
3223
  #
2723
3224
  # @example Request syntax with placeholder values
@@ -2746,6 +3247,7 @@ module Aws::FraudDetector
2746
3247
  # The label description.
2747
3248
  #
2748
3249
  # @option params [Array<Types::Tag>] :tags
3250
+ # A collection of key and value pairs.
2749
3251
  #
2750
3252
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2751
3253
  #
@@ -2982,7 +3484,7 @@ module Aws::FraudDetector
2982
3484
  # model_versions: [
2983
3485
  # {
2984
3486
  # model_id: "modelIdentifier", # required
2985
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
3487
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
2986
3488
  # model_version_number: "floatVersionString", # required
2987
3489
  # arn: "fraudDetectorArn",
2988
3490
  # },
@@ -3031,7 +3533,7 @@ module Aws::FraudDetector
3031
3533
  end
3032
3534
 
3033
3535
  # Updates the detector version’s status. You can perform the following
3034
- # promotions or demotions using `UpdateDetectorVersionStatus`\: `DRAFT`
3536
+ # promotions or demotions using `UpdateDetectorVersionStatus`: `DRAFT`
3035
3537
  # to `ACTIVE`, `ACTIVE` to `INACTIVE`, and `INACTIVE` to `ACTIVE`.
3036
3538
  #
3037
3539
  # @option params [required, String] :detector_id
@@ -3043,6 +3545,8 @@ module Aws::FraudDetector
3043
3545
  # @option params [required, String] :status
3044
3546
  # The new status.
3045
3547
  #
3548
+ # The only supported values are `ACTIVE` and `INACTIVE`
3549
+ #
3046
3550
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3047
3551
  #
3048
3552
  # @example Request syntax with placeholder values
@@ -3097,6 +3601,60 @@ module Aws::FraudDetector
3097
3601
  req.send_request(options)
3098
3602
  end
3099
3603
 
3604
+ # Updates a list.
3605
+ #
3606
+ # @option params [required, String] :name
3607
+ # The name of the list to update.
3608
+ #
3609
+ # @option params [Array<String>] :elements
3610
+ # One or more list elements to add or replace. If you are providing the
3611
+ # elements, make sure to specify the `updateMode` to use.
3612
+ #
3613
+ # If you are deleting all elements from the list, use `REPLACE` for the
3614
+ # `updateMode` and provide an empty list (0 elements).
3615
+ #
3616
+ # @option params [String] :description
3617
+ # The new description.
3618
+ #
3619
+ # @option params [String] :update_mode
3620
+ # The update mode (type).
3621
+ #
3622
+ # * Use `APPEND` if you are adding elements to the list.
3623
+ #
3624
+ # * Use `REPLACE` if you replacing existing elements in the list.
3625
+ #
3626
+ # * Use `REMOVE` if you are removing elements from the list.
3627
+ #
3628
+ # @option params [String] :variable_type
3629
+ # The variable type you want to assign to the list.
3630
+ #
3631
+ # <note markdown="1"> You cannot update a variable type of a list that already has a
3632
+ # variable type assigned to it. You can assign a variable type to a list
3633
+ # only if the list does not already have a variable type.
3634
+ #
3635
+ # </note>
3636
+ #
3637
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
3638
+ #
3639
+ # @example Request syntax with placeholder values
3640
+ #
3641
+ # resp = client.update_list({
3642
+ # name: "noDashIdentifier", # required
3643
+ # elements: ["Elements"],
3644
+ # description: "description",
3645
+ # update_mode: "REPLACE", # accepts REPLACE, APPEND, REMOVE
3646
+ # variable_type: "variableType",
3647
+ # })
3648
+ #
3649
+ # @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UpdateList AWS API Documentation
3650
+ #
3651
+ # @overload update_list(params = {})
3652
+ # @param [Hash] params ({})
3653
+ def update_list(params = {}, options = {})
3654
+ req = build_request(:update_list, params)
3655
+ req.send_request(options)
3656
+ end
3657
+
3100
3658
  # Updates model description.
3101
3659
  #
3102
3660
  # @option params [required, String] :model_id
@@ -3114,7 +3672,7 @@ module Aws::FraudDetector
3114
3672
  #
3115
3673
  # resp = client.update_model({
3116
3674
  # model_id: "modelIdentifier", # required
3117
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
3675
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
3118
3676
  # description: "description",
3119
3677
  # })
3120
3678
  #
@@ -3165,7 +3723,7 @@ module Aws::FraudDetector
3165
3723
  #
3166
3724
  # resp = client.update_model_version({
3167
3725
  # model_id: "modelIdentifier", # required
3168
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
3726
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
3169
3727
  # major_version_number: "wholeNumberVersionString", # required
3170
3728
  # external_events_detail: {
3171
3729
  # data_location: "s3BucketLocation", # required
@@ -3188,7 +3746,7 @@ module Aws::FraudDetector
3188
3746
  # @example Response structure
3189
3747
  #
3190
3748
  # resp.model_id #=> String
3191
- # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS"
3749
+ # resp.model_type #=> String, one of "ONLINE_FRAUD_INSIGHTS", "TRANSACTION_FRAUD_INSIGHTS", "ACCOUNT_TAKEOVER_INSIGHTS"
3192
3750
  # resp.model_version_number #=> String
3193
3751
  # resp.status #=> String
3194
3752
  #
@@ -3205,9 +3763,11 @@ module Aws::FraudDetector
3205
3763
  #
3206
3764
  # You can perform the following status updates:
3207
3765
  #
3208
- # 1. Change the `TRAINING_COMPLETE` status to `ACTIVE`.
3766
+ # 1. Change the `TRAINING_IN_PROGRESS` status to `TRAINING_CANCELLED`.
3767
+ #
3768
+ # 2. Change the `TRAINING_COMPLETE` status to `ACTIVE`.
3209
3769
  #
3210
- # 2. Change `ACTIVE` to `INACTIVE`.
3770
+ # 3. Change `ACTIVE` to `INACTIVE`.
3211
3771
  #
3212
3772
  # @option params [required, String] :model_id
3213
3773
  # The model ID of the model version to update.
@@ -3227,7 +3787,7 @@ module Aws::FraudDetector
3227
3787
  #
3228
3788
  # resp = client.update_model_version_status({
3229
3789
  # model_id: "modelIdentifier", # required
3230
- # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS
3790
+ # model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS, TRANSACTION_FRAUD_INSIGHTS, ACCOUNT_TAKEOVER_INSIGHTS
3231
3791
  # model_version_number: "floatVersionString", # required
3232
3792
  # status: "ACTIVE", # required, accepts ACTIVE, INACTIVE, TRAINING_CANCELLED
3233
3793
  # })
@@ -3382,7 +3942,7 @@ module Aws::FraudDetector
3382
3942
  params: params,
3383
3943
  config: config)
3384
3944
  context[:gem_name] = 'aws-sdk-frauddetector'
3385
- context[:gem_version] = '1.28.0'
3945
+ context[:gem_version] = '1.46.0'
3386
3946
  Seahorse::Client::Request.new(handlers, context)
3387
3947
  end
3388
3948