aws-sdk-frauddetector 1.39.0 → 1.41.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-frauddetector/client.rb +26 -9
- data/lib/aws-sdk-frauddetector/client_api.rb +6 -0
- data/lib/aws-sdk-frauddetector/types.rb +35 -7
- data/lib/aws-sdk-frauddetector.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad147d47eb186a02ad585439ab91f5eafd0f115489d969c7ba6f5c30e0e0cd7a
|
4
|
+
data.tar.gz: 3a4ed9341208206444b321dc6a37d3ce0622ba6b1d19a023cabb68ce649165b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fa0ab22cc26463feb8253a97274f810eb0553f5295bf95dd198413f1b7099517dee6e62d85fc0b44bdee672729c8ed25eec9621c8c8aae88169a25af33729e4
|
7
|
+
data.tar.gz: 81463486e8a80c53bd2fc49256c2749a3598e724b4a41779767409f7a6bad3a62c0310aedb3a468f43e151db4d40e0c7d6b42498c676feae4130d14a86638ce7
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.41.0 (2023-06-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Added new variable types, new DateTime data type, and new rules engine functions for interacting and working with DateTime data types.
|
8
|
+
|
9
|
+
1.40.0 (2023-05-31)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* 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.
|
13
|
+
|
4
14
|
1.39.0 (2023-02-15)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.41.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
|
@@ -447,7 +452,7 @@ module Aws::FraudDetector
|
|
447
452
|
#
|
448
453
|
# resp.variables #=> Array
|
449
454
|
# resp.variables[0].name #=> String
|
450
|
-
# resp.variables[0].data_type #=> String, one of "STRING", "INTEGER", "FLOAT", "BOOLEAN"
|
455
|
+
# resp.variables[0].data_type #=> String, one of "STRING", "INTEGER", "FLOAT", "BOOLEAN", "DATETIME"
|
451
456
|
# resp.variables[0].data_source #=> String, one of "EVENT", "MODEL_SCORE", "EXTERNAL_MODEL_SCORE"
|
452
457
|
# resp.variables[0].default_value #=> String
|
453
458
|
# resp.variables[0].description #=> String
|
@@ -980,7 +985,7 @@ module Aws::FraudDetector
|
|
980
985
|
# The name of the variable.
|
981
986
|
#
|
982
987
|
# @option params [required, String] :data_type
|
983
|
-
# The data type.
|
988
|
+
# The data type of the variable.
|
984
989
|
#
|
985
990
|
# @option params [required, String] :data_source
|
986
991
|
# The source of the data.
|
@@ -1016,7 +1021,7 @@ module Aws::FraudDetector
|
|
1016
1021
|
#
|
1017
1022
|
# resp = client.create_variable({
|
1018
1023
|
# name: "string", # required
|
1019
|
-
# data_type: "STRING", # required, accepts STRING, INTEGER, FLOAT, BOOLEAN
|
1024
|
+
# data_type: "STRING", # required, accepts STRING, INTEGER, FLOAT, BOOLEAN, DATETIME
|
1020
1025
|
# data_source: "EVENT", # required, accepts EVENT, MODEL_SCORE, EXTERNAL_MODEL_SCORE
|
1021
1026
|
# default_value: "string", # required
|
1022
1027
|
# description: "string",
|
@@ -1174,7 +1179,9 @@ module Aws::FraudDetector
|
|
1174
1179
|
#
|
1175
1180
|
# When you delete an event, Amazon Fraud Detector permanently deletes
|
1176
1181
|
# that event and the event data is no longer stored in Amazon Fraud
|
1177
|
-
# Detector.
|
1182
|
+
# Detector. If `deleteAuditHistory` is `True`, event data is available
|
1183
|
+
# through search for up to 30 seconds after the delete operation is
|
1184
|
+
# completed.
|
1178
1185
|
#
|
1179
1186
|
# @option params [required, String] :event_id
|
1180
1187
|
# The ID of the event to delete.
|
@@ -1184,7 +1191,7 @@ module Aws::FraudDetector
|
|
1184
1191
|
#
|
1185
1192
|
# @option params [Boolean] :delete_audit_history
|
1186
1193
|
# Specifies whether or not to delete any predictions associated with the
|
1187
|
-
# event.
|
1194
|
+
# event. If set to `True`,
|
1188
1195
|
#
|
1189
1196
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1190
1197
|
#
|
@@ -2316,6 +2323,7 @@ module Aws::FraudDetector
|
|
2316
2323
|
# resp.event_types[0].last_updated_time #=> String
|
2317
2324
|
# resp.event_types[0].created_time #=> String
|
2318
2325
|
# resp.event_types[0].arn #=> String
|
2326
|
+
# resp.event_types[0].event_orchestration.event_bridge_enabled #=> Boolean
|
2319
2327
|
# resp.next_token #=> String
|
2320
2328
|
#
|
2321
2329
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/GetEventTypes AWS API Documentation
|
@@ -2823,7 +2831,7 @@ module Aws::FraudDetector
|
|
2823
2831
|
#
|
2824
2832
|
# resp.variables #=> Array
|
2825
2833
|
# resp.variables[0].name #=> String
|
2826
|
-
# resp.variables[0].data_type #=> String, one of "STRING", "INTEGER", "FLOAT", "BOOLEAN"
|
2834
|
+
# resp.variables[0].data_type #=> String, one of "STRING", "INTEGER", "FLOAT", "BOOLEAN", "DATETIME"
|
2827
2835
|
# resp.variables[0].data_source #=> String, one of "EVENT", "MODEL_SCORE", "EXTERNAL_MODEL_SCORE"
|
2828
2836
|
# resp.variables[0].default_value #=> String
|
2829
2837
|
# resp.variables[0].description #=> String
|
@@ -3079,11 +3087,16 @@ module Aws::FraudDetector
|
|
3079
3087
|
# merchant, account.
|
3080
3088
|
#
|
3081
3089
|
# @option params [String] :event_ingestion
|
3082
|
-
# Specifies if
|
3090
|
+
# Specifies if ingestion is enabled or disabled.
|
3083
3091
|
#
|
3084
3092
|
# @option params [Array<Types::Tag>] :tags
|
3085
3093
|
# A collection of key and value pairs.
|
3086
3094
|
#
|
3095
|
+
# @option params [Types::EventOrchestration] :event_orchestration
|
3096
|
+
# Enables or disables event orchestration. If enabled, you can send
|
3097
|
+
# event predictions to select AWS services for downstream processing of
|
3098
|
+
# the events.
|
3099
|
+
#
|
3087
3100
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3088
3101
|
#
|
3089
3102
|
# @example Request syntax with placeholder values
|
@@ -3101,6 +3114,9 @@ module Aws::FraudDetector
|
|
3101
3114
|
# value: "tagValue", # required
|
3102
3115
|
# },
|
3103
3116
|
# ],
|
3117
|
+
# event_orchestration: {
|
3118
|
+
# event_bridge_enabled: false, # required
|
3119
|
+
# },
|
3104
3120
|
# })
|
3105
3121
|
#
|
3106
3122
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEventType AWS API Documentation
|
@@ -3216,6 +3232,7 @@ module Aws::FraudDetector
|
|
3216
3232
|
# The label description.
|
3217
3233
|
#
|
3218
3234
|
# @option params [Array<Types::Tag>] :tags
|
3235
|
+
# A collection of key and value pairs.
|
3219
3236
|
#
|
3220
3237
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
3221
3238
|
#
|
@@ -3501,7 +3518,7 @@ module Aws::FraudDetector
|
|
3501
3518
|
end
|
3502
3519
|
|
3503
3520
|
# Updates the detector version’s status. You can perform the following
|
3504
|
-
# promotions or demotions using `UpdateDetectorVersionStatus
|
3521
|
+
# promotions or demotions using `UpdateDetectorVersionStatus`: `DRAFT`
|
3505
3522
|
# to `ACTIVE`, `ACTIVE` to `INACTIVE`, and `INACTIVE` to `ACTIVE`.
|
3506
3523
|
#
|
3507
3524
|
# @option params [required, String] :detector_id
|
@@ -3910,7 +3927,7 @@ module Aws::FraudDetector
|
|
3910
3927
|
params: params,
|
3911
3928
|
config: config)
|
3912
3929
|
context[:gem_name] = 'aws-sdk-frauddetector'
|
3913
|
-
context[:gem_version] = '1.
|
3930
|
+
context[:gem_version] = '1.41.0'
|
3914
3931
|
Seahorse::Client::Request.new(handlers, context)
|
3915
3932
|
end
|
3916
3933
|
|
@@ -117,6 +117,7 @@ module Aws::FraudDetector
|
|
117
117
|
Event = Shapes::StructureShape.new(name: 'Event')
|
118
118
|
EventAttributeMap = Shapes::MapShape.new(name: 'EventAttributeMap')
|
119
119
|
EventIngestion = Shapes::StringShape.new(name: 'EventIngestion')
|
120
|
+
EventOrchestration = Shapes::StructureShape.new(name: 'EventOrchestration')
|
120
121
|
EventPredictionSummary = Shapes::StructureShape.new(name: 'EventPredictionSummary')
|
121
122
|
EventPredictionsMaxResults = Shapes::IntegerShape.new(name: 'EventPredictionsMaxResults')
|
122
123
|
EventType = Shapes::StructureShape.new(name: 'EventType')
|
@@ -750,6 +751,9 @@ module Aws::FraudDetector
|
|
750
751
|
EventAttributeMap.key = Shapes::ShapeRef.new(shape: attributeKey)
|
751
752
|
EventAttributeMap.value = Shapes::ShapeRef.new(shape: attributeValue)
|
752
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
|
+
|
753
757
|
EventPredictionSummary.add_member(:event_id, Shapes::ShapeRef.new(shape: identifier, location_name: "eventId"))
|
754
758
|
EventPredictionSummary.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, location_name: "eventTypeName"))
|
755
759
|
EventPredictionSummary.add_member(:event_timestamp, Shapes::ShapeRef.new(shape: time, location_name: "eventTimestamp"))
|
@@ -768,6 +772,7 @@ module Aws::FraudDetector
|
|
768
772
|
EventType.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: time, location_name: "lastUpdatedTime"))
|
769
773
|
EventType.add_member(:created_time, Shapes::ShapeRef.new(shape: time, location_name: "createdTime"))
|
770
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"))
|
771
776
|
EventType.struct_class = Types::EventType
|
772
777
|
|
773
778
|
EventVariableMap.key = Shapes::ShapeRef.new(shape: variableName)
|
@@ -1246,6 +1251,7 @@ module Aws::FraudDetector
|
|
1246
1251
|
PutEventTypeRequest.add_member(:entity_types, Shapes::ShapeRef.new(shape: NonEmptyListOfStrings, required: true, location_name: "entityTypes"))
|
1247
1252
|
PutEventTypeRequest.add_member(:event_ingestion, Shapes::ShapeRef.new(shape: EventIngestion, location_name: "eventIngestion"))
|
1248
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"))
|
1249
1255
|
PutEventTypeRequest.struct_class = Types::PutEventTypeRequest
|
1250
1256
|
|
1251
1257
|
PutEventTypeResult.struct_class = Types::PutEventTypeResult
|
@@ -956,7 +956,7 @@ module Aws::FraudDetector
|
|
956
956
|
# @return [String]
|
957
957
|
#
|
958
958
|
# @!attribute [rw] data_type
|
959
|
-
# The data type.
|
959
|
+
# The data type of the variable.
|
960
960
|
# @return [String]
|
961
961
|
#
|
962
962
|
# @!attribute [rw] data_source
|
@@ -1125,7 +1125,7 @@ module Aws::FraudDetector
|
|
1125
1125
|
#
|
1126
1126
|
# @!attribute [rw] delete_audit_history
|
1127
1127
|
# Specifies whether or not to delete any predictions associated with
|
1128
|
-
# the event.
|
1128
|
+
# the event. If set to `True`,
|
1129
1129
|
# @return [Boolean]
|
1130
1130
|
#
|
1131
1131
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/DeleteEventRequest AWS API Documentation
|
@@ -1704,6 +1704,21 @@ module Aws::FraudDetector
|
|
1704
1704
|
include Aws::Structure
|
1705
1705
|
end
|
1706
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
|
+
|
1707
1722
|
# Information about the summary of an event prediction.
|
1708
1723
|
#
|
1709
1724
|
# @!attribute [rw] event_id
|
@@ -1789,6 +1804,10 @@ module Aws::FraudDetector
|
|
1789
1804
|
# The entity type ARN.
|
1790
1805
|
# @return [String]
|
1791
1806
|
#
|
1807
|
+
# @!attribute [rw] event_orchestration
|
1808
|
+
# The event orchestration status.
|
1809
|
+
# @return [Types::EventOrchestration]
|
1810
|
+
#
|
1792
1811
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/EventType AWS API Documentation
|
1793
1812
|
#
|
1794
1813
|
class EventType < Struct.new(
|
@@ -1801,7 +1820,8 @@ module Aws::FraudDetector
|
|
1801
1820
|
:ingested_event_statistics,
|
1802
1821
|
:last_updated_time,
|
1803
1822
|
:created_time,
|
1804
|
-
:arn
|
1823
|
+
:arn,
|
1824
|
+
:event_orchestration)
|
1805
1825
|
SENSITIVE = []
|
1806
1826
|
include Aws::Structure
|
1807
1827
|
end
|
@@ -3178,7 +3198,7 @@ module Aws::FraudDetector
|
|
3178
3198
|
# “Fraud”. This is recommended when most of the events in your
|
3179
3199
|
# dataset are fraudulent.
|
3180
3200
|
#
|
3181
|
-
# * Use `LEGIT`
|
3201
|
+
# * Use `LEGIT` if you want to categorize all unlabeled events as
|
3182
3202
|
# “Legit”. This is recommended when most of the events in your
|
3183
3203
|
# dataset are legitimate.
|
3184
3204
|
#
|
@@ -3886,13 +3906,19 @@ module Aws::FraudDetector
|
|
3886
3906
|
# @return [Array<String>]
|
3887
3907
|
#
|
3888
3908
|
# @!attribute [rw] event_ingestion
|
3889
|
-
# Specifies if
|
3909
|
+
# Specifies if ingestion is enabled or disabled.
|
3890
3910
|
# @return [String]
|
3891
3911
|
#
|
3892
3912
|
# @!attribute [rw] tags
|
3893
3913
|
# A collection of key and value pairs.
|
3894
3914
|
# @return [Array<Types::Tag>]
|
3895
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
|
+
#
|
3896
3922
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutEventTypeRequest AWS API Documentation
|
3897
3923
|
#
|
3898
3924
|
class PutEventTypeRequest < Struct.new(
|
@@ -3902,7 +3928,8 @@ module Aws::FraudDetector
|
|
3902
3928
|
:labels,
|
3903
3929
|
:entity_types,
|
3904
3930
|
:event_ingestion,
|
3905
|
-
:tags
|
3931
|
+
:tags,
|
3932
|
+
:event_orchestration)
|
3906
3933
|
SENSITIVE = []
|
3907
3934
|
include Aws::Structure
|
3908
3935
|
end
|
@@ -3985,6 +4012,7 @@ module Aws::FraudDetector
|
|
3985
4012
|
# @return [String]
|
3986
4013
|
#
|
3987
4014
|
# @!attribute [rw] tags
|
4015
|
+
# A collection of key and value pairs.
|
3988
4016
|
# @return [Array<Types::Tag>]
|
3989
4017
|
#
|
3990
4018
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/PutLabelRequest AWS API Documentation
|
@@ -4470,7 +4498,7 @@ module Aws::FraudDetector
|
|
4470
4498
|
# @return [Float]
|
4471
4499
|
#
|
4472
4500
|
# @!attribute [rw] upper_bound_value
|
4473
|
-
# The
|
4501
|
+
# The upper bound value of the area under curve (auc).
|
4474
4502
|
# @return [Float]
|
4475
4503
|
#
|
4476
4504
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/UncertaintyRange AWS API Documentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-frauddetector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.41.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-05 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.
|
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.
|
32
|
+
version: 3.174.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|