aws-sdk-frauddetector 1.8.0 → 1.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-frauddetector.rb +3 -2
- data/lib/aws-sdk-frauddetector/client.rb +38 -27
- data/lib/aws-sdk-frauddetector/client_api.rb +18 -18
- data/lib/aws-sdk-frauddetector/types.rb +25 -29
- 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: 6c122a60e0a449c477ac87afa7d94274b3e29f5ba31f0d91fa40b40d77db0a87
|
4
|
+
data.tar.gz: ab1fa242d75d7def0d70dada9a57866886c0b5ad8a1a36cf2040bc622bb70ef7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f78edb5b90171c368c3fabf3f055955ac37a90e6c0ec995527471aed223bf6fe5aa3e4ce26c61d1d04222793ec440bb6fb01fc72176eb61faa5dc2c8e7d157d8
|
7
|
+
data.tar.gz: 41f1a8782a4743df2beeab41d97c97347f08cded362b7039f62e0d9b75aefe5f7c357e929e7797adce3d86155e7c0d78a6392c43ca8f9818cc78bc0af408f362
|
@@ -7,6 +7,7 @@
|
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
10
|
+
|
10
11
|
require 'aws-sdk-core'
|
11
12
|
require 'aws-sigv4'
|
12
13
|
|
@@ -44,9 +45,9 @@ require_relative 'aws-sdk-frauddetector/customizations'
|
|
44
45
|
#
|
45
46
|
# See {Errors} for more information.
|
46
47
|
#
|
47
|
-
#
|
48
|
+
# @!group service
|
48
49
|
module Aws::FraudDetector
|
49
50
|
|
50
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.13.0'
|
51
52
|
|
52
53
|
end
|
@@ -85,13 +85,28 @@ module Aws::FraudDetector
|
|
85
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
86
86
|
# credentials.
|
87
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
88
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
89
103
|
# from an EC2 IMDS on an EC2 instance.
|
90
104
|
#
|
91
|
-
# * `Aws::
|
92
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
93
107
|
#
|
94
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
95
110
|
#
|
96
111
|
# When `:credentials` are not configured directly, the following
|
97
112
|
# locations will be searched for credentials:
|
@@ -101,10 +116,10 @@ module Aws::FraudDetector
|
|
101
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
102
117
|
# * `~/.aws/credentials`
|
103
118
|
# * `~/.aws/config`
|
104
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
105
|
-
# very aggressive. Construct and pass an instance of
|
106
|
-
# `Aws::InstanceProfileCredentails`
|
107
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
108
123
|
#
|
109
124
|
# @option options [required, String] :region
|
110
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -473,7 +488,7 @@ module Aws::FraudDetector
|
|
473
488
|
# ],
|
474
489
|
# model_versions: [
|
475
490
|
# {
|
476
|
-
# model_id: "
|
491
|
+
# model_id: "modelIdentifier", # required
|
477
492
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
478
493
|
# model_version_number: "nonEmptyString", # required
|
479
494
|
# arn: "fraudDetectorArn",
|
@@ -525,7 +540,7 @@ module Aws::FraudDetector
|
|
525
540
|
# @example Request syntax with placeholder values
|
526
541
|
#
|
527
542
|
# resp = client.create_model({
|
528
|
-
# model_id: "
|
543
|
+
# model_id: "modelIdentifier", # required
|
529
544
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
530
545
|
# description: "description",
|
531
546
|
# event_type_name: "string", # required
|
@@ -578,7 +593,7 @@ module Aws::FraudDetector
|
|
578
593
|
# @example Request syntax with placeholder values
|
579
594
|
#
|
580
595
|
# resp = client.create_model_version({
|
581
|
-
# model_id: "
|
596
|
+
# model_id: "modelIdentifier", # required
|
582
597
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
583
598
|
# training_data_source: "EXTERNAL_EVENTS", # required, accepts EXTERNAL_EVENTS
|
584
599
|
# training_data_schema: { # required
|
@@ -703,8 +718,7 @@ module Aws::FraudDetector
|
|
703
718
|
# FREE_FORM_TEXT | IP_ADDRESS | NUMERIC | ORDER_ID | PAYMENT_TYPE |
|
704
719
|
# PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 |
|
705
720
|
# SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY | SHIPPING_NAME
|
706
|
-
# | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT
|
707
|
-
# SHIPPING_ZIP | USERAGENT`
|
721
|
+
# | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP | USERAGENT`
|
708
722
|
#
|
709
723
|
#
|
710
724
|
#
|
@@ -920,7 +934,7 @@ module Aws::FraudDetector
|
|
920
934
|
# @example Request syntax with placeholder values
|
921
935
|
#
|
922
936
|
# resp = client.describe_model_versions({
|
923
|
-
# model_id: "
|
937
|
+
# model_id: "modelIdentifier",
|
924
938
|
# model_version_number: "floatVersionString",
|
925
939
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS
|
926
940
|
# next_token: "string",
|
@@ -1181,8 +1195,8 @@ module Aws::FraudDetector
|
|
1181
1195
|
# event_type_name: "string", # required
|
1182
1196
|
# entities: [ # required
|
1183
1197
|
# {
|
1184
|
-
# entity_type: "string",
|
1185
|
-
# entity_id: "identifier",
|
1198
|
+
# entity_type: "string", # required
|
1199
|
+
# entity_id: "identifier", # required
|
1186
1200
|
# },
|
1187
1201
|
# ],
|
1188
1202
|
# event_timestamp: "string", # required
|
@@ -1313,9 +1327,9 @@ module Aws::FraudDetector
|
|
1313
1327
|
#
|
1314
1328
|
# resp.external_models #=> Array
|
1315
1329
|
# resp.external_models[0].model_endpoint #=> String
|
1316
|
-
# resp.external_models[0].event_type_name #=> String
|
1317
1330
|
# resp.external_models[0].model_source #=> String, one of "SAGEMAKER"
|
1318
1331
|
# resp.external_models[0].invoke_model_endpoint_role_arn #=> String
|
1332
|
+
# resp.external_models[0].input_configuration.event_type_name #=> String
|
1319
1333
|
# resp.external_models[0].input_configuration.format #=> String, one of "TEXT_CSV", "APPLICATION_JSON"
|
1320
1334
|
# resp.external_models[0].input_configuration.use_event_variables #=> Boolean
|
1321
1335
|
# resp.external_models[0].input_configuration.json_input_template #=> String
|
@@ -1437,7 +1451,7 @@ module Aws::FraudDetector
|
|
1437
1451
|
# @example Request syntax with placeholder values
|
1438
1452
|
#
|
1439
1453
|
# resp = client.get_model_version({
|
1440
|
-
# model_id: "
|
1454
|
+
# model_id: "modelIdentifier", # required
|
1441
1455
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
1442
1456
|
# model_version_number: "floatVersionString", # required
|
1443
1457
|
# })
|
@@ -1502,7 +1516,7 @@ module Aws::FraudDetector
|
|
1502
1516
|
# @example Request syntax with placeholder values
|
1503
1517
|
#
|
1504
1518
|
# resp = client.get_models({
|
1505
|
-
# model_id: "
|
1519
|
+
# model_id: "modelIdentifier",
|
1506
1520
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS
|
1507
1521
|
# next_token: "string",
|
1508
1522
|
# max_results: 1,
|
@@ -1886,9 +1900,6 @@ module Aws::FraudDetector
|
|
1886
1900
|
# @option params [required, String] :model_endpoint
|
1887
1901
|
# The model endpoints name.
|
1888
1902
|
#
|
1889
|
-
# @option params [String] :event_type_name
|
1890
|
-
# The event type name.
|
1891
|
-
#
|
1892
1903
|
# @option params [required, String] :model_source
|
1893
1904
|
# The source of the model.
|
1894
1905
|
#
|
@@ -1913,10 +1924,10 @@ module Aws::FraudDetector
|
|
1913
1924
|
#
|
1914
1925
|
# resp = client.put_external_model({
|
1915
1926
|
# model_endpoint: "sageMakerEndpointIdentifier", # required
|
1916
|
-
# event_type_name: "identifier",
|
1917
1927
|
# model_source: "SAGEMAKER", # required, accepts SAGEMAKER
|
1918
1928
|
# invoke_model_endpoint_role_arn: "string", # required
|
1919
1929
|
# input_configuration: { # required
|
1930
|
+
# event_type_name: "identifier",
|
1920
1931
|
# format: "TEXT_CSV", # accepts TEXT_CSV, APPLICATION_JSON
|
1921
1932
|
# use_event_variables: false, # required
|
1922
1933
|
# json_input_template: "string",
|
@@ -2157,7 +2168,7 @@ module Aws::FraudDetector
|
|
2157
2168
|
# description: "description",
|
2158
2169
|
# model_versions: [
|
2159
2170
|
# {
|
2160
|
-
# model_id: "
|
2171
|
+
# model_id: "modelIdentifier", # required
|
2161
2172
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
2162
2173
|
# model_version_number: "nonEmptyString", # required
|
2163
2174
|
# arn: "fraudDetectorArn",
|
@@ -2255,7 +2266,7 @@ module Aws::FraudDetector
|
|
2255
2266
|
# @example Request syntax with placeholder values
|
2256
2267
|
#
|
2257
2268
|
# resp = client.update_model({
|
2258
|
-
# model_id: "
|
2269
|
+
# model_id: "modelIdentifier", # required
|
2259
2270
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
2260
2271
|
# description: "description",
|
2261
2272
|
# })
|
@@ -2301,7 +2312,7 @@ module Aws::FraudDetector
|
|
2301
2312
|
# @example Request syntax with placeholder values
|
2302
2313
|
#
|
2303
2314
|
# resp = client.update_model_version({
|
2304
|
-
# model_id: "
|
2315
|
+
# model_id: "modelIdentifier", # required
|
2305
2316
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
2306
2317
|
# major_version_number: "wholeNumberVersionString", # required
|
2307
2318
|
# external_events_detail: {
|
@@ -2357,7 +2368,7 @@ module Aws::FraudDetector
|
|
2357
2368
|
# @example Request syntax with placeholder values
|
2358
2369
|
#
|
2359
2370
|
# resp = client.update_model_version_status({
|
2360
|
-
# model_id: "
|
2371
|
+
# model_id: "modelIdentifier", # required
|
2361
2372
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
2362
2373
|
# model_version_number: "floatVersionString", # required
|
2363
2374
|
# status: "ACTIVE", # required, accepts ACTIVE, INACTIVE
|
@@ -2513,7 +2524,7 @@ module Aws::FraudDetector
|
|
2513
2524
|
params: params,
|
2514
2525
|
config: config)
|
2515
2526
|
context[:gem_name] = 'aws-sdk-frauddetector'
|
2516
|
-
context[:gem_version] = '1.
|
2527
|
+
context[:gem_version] = '1.13.0'
|
2517
2528
|
Seahorse::Client::Request.new(handlers, context)
|
2518
2529
|
end
|
2519
2530
|
|
@@ -203,6 +203,7 @@ module Aws::FraudDetector
|
|
203
203
|
labelsMaxResults = Shapes::IntegerShape.new(name: 'labelsMaxResults')
|
204
204
|
listOfEntities = Shapes::ListShape.new(name: 'listOfEntities')
|
205
205
|
metricDataPointsList = Shapes::ListShape.new(name: 'metricDataPointsList')
|
206
|
+
modelIdentifier = Shapes::StringShape.new(name: 'modelIdentifier')
|
206
207
|
modelList = Shapes::ListShape.new(name: 'modelList')
|
207
208
|
modelVersionDetailList = Shapes::ListShape.new(name: 'modelVersionDetailList')
|
208
209
|
modelsMaxPageSize = Shapes::IntegerShape.new(name: 'modelsMaxPageSize')
|
@@ -268,7 +269,7 @@ module Aws::FraudDetector
|
|
268
269
|
CreateDetectorVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: DetectorVersionStatus, location_name: "status"))
|
269
270
|
CreateDetectorVersionResult.struct_class = Types::CreateDetectorVersionResult
|
270
271
|
|
271
|
-
CreateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
272
|
+
CreateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
272
273
|
CreateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
273
274
|
CreateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
|
274
275
|
CreateModelRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, required: true, location_name: "eventTypeName"))
|
@@ -277,7 +278,7 @@ module Aws::FraudDetector
|
|
277
278
|
|
278
279
|
CreateModelResult.struct_class = Types::CreateModelResult
|
279
280
|
|
280
|
-
CreateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
281
|
+
CreateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
281
282
|
CreateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
282
283
|
CreateModelVersionRequest.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSourceEnum, required: true, location_name: "trainingDataSource"))
|
283
284
|
CreateModelVersionRequest.add_member(:training_data_schema, Shapes::ShapeRef.new(shape: TrainingDataSchema, required: true, location_name: "trainingDataSchema"))
|
@@ -285,7 +286,7 @@ module Aws::FraudDetector
|
|
285
286
|
CreateModelVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
|
286
287
|
CreateModelVersionRequest.struct_class = Types::CreateModelVersionRequest
|
287
288
|
|
288
|
-
CreateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
289
|
+
CreateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
|
289
290
|
CreateModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
|
290
291
|
CreateModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, location_name: "modelVersionNumber"))
|
291
292
|
CreateModelVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
|
@@ -354,7 +355,7 @@ module Aws::FraudDetector
|
|
354
355
|
DescribeDetectorResult.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
|
355
356
|
DescribeDetectorResult.struct_class = Types::DescribeDetectorResult
|
356
357
|
|
357
|
-
DescribeModelVersionsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
358
|
+
DescribeModelVersionsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
|
358
359
|
DescribeModelVersionsRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
|
359
360
|
DescribeModelVersionsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
|
360
361
|
DescribeModelVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
|
@@ -383,8 +384,8 @@ module Aws::FraudDetector
|
|
383
384
|
|
384
385
|
DetectorVersionSummaryList.member = Shapes::ShapeRef.new(shape: DetectorVersionSummary)
|
385
386
|
|
386
|
-
Entity.add_member(:entity_type, Shapes::ShapeRef.new(shape: string, location_name: "entityType"))
|
387
|
-
Entity.add_member(:entity_id, Shapes::ShapeRef.new(shape: identifier, location_name: "entityId"))
|
387
|
+
Entity.add_member(:entity_type, Shapes::ShapeRef.new(shape: string, required: true, location_name: "entityType"))
|
388
|
+
Entity.add_member(:entity_id, Shapes::ShapeRef.new(shape: identifier, required: true, location_name: "entityId"))
|
388
389
|
Entity.struct_class = Types::Entity
|
389
390
|
|
390
391
|
EntityType.add_member(:name, Shapes::ShapeRef.new(shape: string, location_name: "name"))
|
@@ -412,7 +413,6 @@ module Aws::FraudDetector
|
|
412
413
|
ExternalEventsDetail.struct_class = Types::ExternalEventsDetail
|
413
414
|
|
414
415
|
ExternalModel.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: string, location_name: "modelEndpoint"))
|
415
|
-
ExternalModel.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, location_name: "eventTypeName"))
|
416
416
|
ExternalModel.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, location_name: "modelSource"))
|
417
417
|
ExternalModel.add_member(:invoke_model_endpoint_role_arn, Shapes::ShapeRef.new(shape: string, location_name: "invokeModelEndpointRoleArn"))
|
418
418
|
ExternalModel.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, location_name: "inputConfiguration"))
|
@@ -519,12 +519,12 @@ module Aws::FraudDetector
|
|
519
519
|
GetLabelsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
|
520
520
|
GetLabelsResult.struct_class = Types::GetLabelsResult
|
521
521
|
|
522
|
-
GetModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
522
|
+
GetModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
523
523
|
GetModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
524
524
|
GetModelVersionRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, required: true, location_name: "modelVersionNumber"))
|
525
525
|
GetModelVersionRequest.struct_class = Types::GetModelVersionRequest
|
526
526
|
|
527
|
-
GetModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
527
|
+
GetModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
|
528
528
|
GetModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
|
529
529
|
GetModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
|
530
530
|
GetModelVersionResult.add_member(:training_data_source, Shapes::ShapeRef.new(shape: TrainingDataSourceEnum, location_name: "trainingDataSource"))
|
@@ -534,7 +534,7 @@ module Aws::FraudDetector
|
|
534
534
|
GetModelVersionResult.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
|
535
535
|
GetModelVersionResult.struct_class = Types::GetModelVersionResult
|
536
536
|
|
537
|
-
GetModelsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
537
|
+
GetModelsRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
|
538
538
|
GetModelsRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
|
539
539
|
GetModelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: string, location_name: "nextToken"))
|
540
540
|
GetModelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: modelsMaxPageSize, location_name: "maxResults"))
|
@@ -615,7 +615,7 @@ module Aws::FraudDetector
|
|
615
615
|
MetricDataPoint.add_member(:threshold, Shapes::ShapeRef.new(shape: float, location_name: "threshold"))
|
616
616
|
MetricDataPoint.struct_class = Types::MetricDataPoint
|
617
617
|
|
618
|
-
Model.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
618
|
+
Model.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
|
619
619
|
Model.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
|
620
620
|
Model.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
|
621
621
|
Model.add_member(:event_type_name, Shapes::ShapeRef.new(shape: string, location_name: "eventTypeName"))
|
@@ -628,6 +628,7 @@ module Aws::FraudDetector
|
|
628
628
|
ModelEndpointDataBlob.add_member(:content_type, Shapes::ShapeRef.new(shape: contentType, location_name: "contentType"))
|
629
629
|
ModelEndpointDataBlob.struct_class = Types::ModelEndpointDataBlob
|
630
630
|
|
631
|
+
ModelInputConfiguration.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, location_name: "eventTypeName"))
|
631
632
|
ModelInputConfiguration.add_member(:format, Shapes::ShapeRef.new(shape: ModelInputDataFormat, location_name: "format"))
|
632
633
|
ModelInputConfiguration.add_member(:use_event_variables, Shapes::ShapeRef.new(shape: UseEventVariables, required: true, location_name: "useEventVariables"))
|
633
634
|
ModelInputConfiguration.add_member(:json_input_template, Shapes::ShapeRef.new(shape: string, location_name: "jsonInputTemplate"))
|
@@ -646,13 +647,13 @@ module Aws::FraudDetector
|
|
646
647
|
ModelScores.add_member(:scores, Shapes::ShapeRef.new(shape: ModelPredictionMap, location_name: "scores"))
|
647
648
|
ModelScores.struct_class = Types::ModelScores
|
648
649
|
|
649
|
-
ModelVersion.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
650
|
+
ModelVersion.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
650
651
|
ModelVersion.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
651
652
|
ModelVersion.add_member(:model_version_number, Shapes::ShapeRef.new(shape: nonEmptyString, required: true, location_name: "modelVersionNumber"))
|
652
653
|
ModelVersion.add_member(:arn, Shapes::ShapeRef.new(shape: fraudDetectorArn, location_name: "arn"))
|
653
654
|
ModelVersion.struct_class = Types::ModelVersion
|
654
655
|
|
655
|
-
ModelVersionDetail.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
656
|
+
ModelVersionDetail.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
|
656
657
|
ModelVersionDetail.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
|
657
658
|
ModelVersionDetail.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
|
658
659
|
ModelVersionDetail.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
|
@@ -704,7 +705,6 @@ module Aws::FraudDetector
|
|
704
705
|
PutEventTypeResult.struct_class = Types::PutEventTypeResult
|
705
706
|
|
706
707
|
PutExternalModelRequest.add_member(:model_endpoint, Shapes::ShapeRef.new(shape: sageMakerEndpointIdentifier, required: true, location_name: "modelEndpoint"))
|
707
|
-
PutExternalModelRequest.add_member(:event_type_name, Shapes::ShapeRef.new(shape: identifier, location_name: "eventTypeName"))
|
708
708
|
PutExternalModelRequest.add_member(:model_source, Shapes::ShapeRef.new(shape: ModelSource, required: true, location_name: "modelSource"))
|
709
709
|
PutExternalModelRequest.add_member(:invoke_model_endpoint_role_arn, Shapes::ShapeRef.new(shape: string, required: true, location_name: "invokeModelEndpointRoleArn"))
|
710
710
|
PutExternalModelRequest.add_member(:input_configuration, Shapes::ShapeRef.new(shape: ModelInputConfiguration, required: true, location_name: "inputConfiguration"))
|
@@ -818,27 +818,27 @@ module Aws::FraudDetector
|
|
818
818
|
|
819
819
|
UpdateDetectorVersionStatusResult.struct_class = Types::UpdateDetectorVersionStatusResult
|
820
820
|
|
821
|
-
UpdateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
821
|
+
UpdateModelRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
822
822
|
UpdateModelRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
823
823
|
UpdateModelRequest.add_member(:description, Shapes::ShapeRef.new(shape: description, location_name: "description"))
|
824
824
|
UpdateModelRequest.struct_class = Types::UpdateModelRequest
|
825
825
|
|
826
826
|
UpdateModelResult.struct_class = Types::UpdateModelResult
|
827
827
|
|
828
|
-
UpdateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
828
|
+
UpdateModelVersionRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
829
829
|
UpdateModelVersionRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
830
830
|
UpdateModelVersionRequest.add_member(:major_version_number, Shapes::ShapeRef.new(shape: wholeNumberVersionString, required: true, location_name: "majorVersionNumber"))
|
831
831
|
UpdateModelVersionRequest.add_member(:external_events_detail, Shapes::ShapeRef.new(shape: ExternalEventsDetail, location_name: "externalEventsDetail"))
|
832
832
|
UpdateModelVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: tagList, location_name: "tags"))
|
833
833
|
UpdateModelVersionRequest.struct_class = Types::UpdateModelVersionRequest
|
834
834
|
|
835
|
-
UpdateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
835
|
+
UpdateModelVersionResult.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, location_name: "modelId"))
|
836
836
|
UpdateModelVersionResult.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, location_name: "modelType"))
|
837
837
|
UpdateModelVersionResult.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, location_name: "modelVersionNumber"))
|
838
838
|
UpdateModelVersionResult.add_member(:status, Shapes::ShapeRef.new(shape: string, location_name: "status"))
|
839
839
|
UpdateModelVersionResult.struct_class = Types::UpdateModelVersionResult
|
840
840
|
|
841
|
-
UpdateModelVersionStatusRequest.add_member(:model_id, Shapes::ShapeRef.new(shape:
|
841
|
+
UpdateModelVersionStatusRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: modelIdentifier, required: true, location_name: "modelId"))
|
842
842
|
UpdateModelVersionStatusRequest.add_member(:model_type, Shapes::ShapeRef.new(shape: ModelTypeEnum, required: true, location_name: "modelType"))
|
843
843
|
UpdateModelVersionStatusRequest.add_member(:model_version_number, Shapes::ShapeRef.new(shape: floatVersionString, required: true, location_name: "modelVersionNumber"))
|
844
844
|
UpdateModelVersionStatusRequest.add_member(:status, Shapes::ShapeRef.new(shape: ModelVersionStatus, required: true, location_name: "status"))
|
@@ -201,7 +201,7 @@ module Aws::FraudDetector
|
|
201
201
|
# ],
|
202
202
|
# model_versions: [
|
203
203
|
# {
|
204
|
-
# model_id: "
|
204
|
+
# model_id: "modelIdentifier", # required
|
205
205
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
206
206
|
# model_version_number: "nonEmptyString", # required
|
207
207
|
# arn: "fraudDetectorArn",
|
@@ -299,7 +299,7 @@ module Aws::FraudDetector
|
|
299
299
|
# data as a hash:
|
300
300
|
#
|
301
301
|
# {
|
302
|
-
# model_id: "
|
302
|
+
# model_id: "modelIdentifier", # required
|
303
303
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
304
304
|
# description: "description",
|
305
305
|
# event_type_name: "string", # required
|
@@ -351,7 +351,7 @@ module Aws::FraudDetector
|
|
351
351
|
# data as a hash:
|
352
352
|
#
|
353
353
|
# {
|
354
|
-
# model_id: "
|
354
|
+
# model_id: "modelIdentifier", # required
|
355
355
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
356
356
|
# training_data_source: "EXTERNAL_EVENTS", # required, accepts EXTERNAL_EVENTS
|
357
357
|
# training_data_schema: { # required
|
@@ -560,7 +560,7 @@ module Aws::FraudDetector
|
|
560
560
|
# PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 |
|
561
561
|
# SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY |
|
562
562
|
# SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP |
|
563
|
-
# USERAGENT
|
563
|
+
# USERAGENT`
|
564
564
|
#
|
565
565
|
#
|
566
566
|
#
|
@@ -778,7 +778,7 @@ module Aws::FraudDetector
|
|
778
778
|
# data as a hash:
|
779
779
|
#
|
780
780
|
# {
|
781
|
-
# model_id: "
|
781
|
+
# model_id: "modelIdentifier",
|
782
782
|
# model_version_number: "floatVersionString",
|
783
783
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS
|
784
784
|
# next_token: "string",
|
@@ -908,8 +908,8 @@ module Aws::FraudDetector
|
|
908
908
|
# data as a hash:
|
909
909
|
#
|
910
910
|
# {
|
911
|
-
# entity_type: "string",
|
912
|
-
# entity_id: "identifier",
|
911
|
+
# entity_type: "string", # required
|
912
|
+
# entity_id: "identifier", # required
|
913
913
|
# }
|
914
914
|
#
|
915
915
|
# @!attribute [rw] entity_type
|
@@ -1047,10 +1047,6 @@ module Aws::FraudDetector
|
|
1047
1047
|
# The Amazon SageMaker model endpoints.
|
1048
1048
|
# @return [String]
|
1049
1049
|
#
|
1050
|
-
# @!attribute [rw] event_type_name
|
1051
|
-
# The event type names.
|
1052
|
-
# @return [String]
|
1053
|
-
#
|
1054
1050
|
# @!attribute [rw] model_source
|
1055
1051
|
# The source of the model.
|
1056
1052
|
# @return [String]
|
@@ -1087,7 +1083,6 @@ module Aws::FraudDetector
|
|
1087
1083
|
#
|
1088
1084
|
class ExternalModel < Struct.new(
|
1089
1085
|
:model_endpoint,
|
1090
|
-
:event_type_name,
|
1091
1086
|
:model_source,
|
1092
1087
|
:invoke_model_endpoint_role_arn,
|
1093
1088
|
:input_configuration,
|
@@ -1362,8 +1357,8 @@ module Aws::FraudDetector
|
|
1362
1357
|
# event_type_name: "string", # required
|
1363
1358
|
# entities: [ # required
|
1364
1359
|
# {
|
1365
|
-
# entity_type: "string",
|
1366
|
-
# entity_id: "identifier",
|
1360
|
+
# entity_type: "string", # required
|
1361
|
+
# entity_id: "identifier", # required
|
1367
1362
|
# },
|
1368
1363
|
# ],
|
1369
1364
|
# event_timestamp: "string", # required
|
@@ -1612,7 +1607,7 @@ module Aws::FraudDetector
|
|
1612
1607
|
# data as a hash:
|
1613
1608
|
#
|
1614
1609
|
# {
|
1615
|
-
# model_id: "
|
1610
|
+
# model_id: "modelIdentifier", # required
|
1616
1611
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
1617
1612
|
# model_version_number: "floatVersionString", # required
|
1618
1613
|
# }
|
@@ -1690,7 +1685,7 @@ module Aws::FraudDetector
|
|
1690
1685
|
# data as a hash:
|
1691
1686
|
#
|
1692
1687
|
# {
|
1693
|
-
# model_id: "
|
1688
|
+
# model_id: "modelIdentifier",
|
1694
1689
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS
|
1695
1690
|
# next_token: "string",
|
1696
1691
|
# max_results: 1,
|
@@ -2151,12 +2146,17 @@ module Aws::FraudDetector
|
|
2151
2146
|
# data as a hash:
|
2152
2147
|
#
|
2153
2148
|
# {
|
2149
|
+
# event_type_name: "identifier",
|
2154
2150
|
# format: "TEXT_CSV", # accepts TEXT_CSV, APPLICATION_JSON
|
2155
2151
|
# use_event_variables: false, # required
|
2156
2152
|
# json_input_template: "string",
|
2157
2153
|
# csv_input_template: "string",
|
2158
2154
|
# }
|
2159
2155
|
#
|
2156
|
+
# @!attribute [rw] event_type_name
|
2157
|
+
# The event type name.
|
2158
|
+
# @return [String]
|
2159
|
+
#
|
2160
2160
|
# @!attribute [rw] format
|
2161
2161
|
# The format of the model input configuration. The format differs
|
2162
2162
|
# depending on if it is passed through to SageMaker or constructed by
|
@@ -2184,6 +2184,7 @@ module Aws::FraudDetector
|
|
2184
2184
|
# @see http://docs.aws.amazon.com/goto/WebAPI/frauddetector-2019-11-15/ModelInputConfiguration AWS API Documentation
|
2185
2185
|
#
|
2186
2186
|
class ModelInputConfiguration < Struct.new(
|
2187
|
+
:event_type_name,
|
2187
2188
|
:format,
|
2188
2189
|
:use_event_variables,
|
2189
2190
|
:json_input_template,
|
@@ -2256,7 +2257,7 @@ module Aws::FraudDetector
|
|
2256
2257
|
# data as a hash:
|
2257
2258
|
#
|
2258
2259
|
# {
|
2259
|
-
# model_id: "
|
2260
|
+
# model_id: "modelIdentifier", # required
|
2260
2261
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
2261
2262
|
# model_version_number: "nonEmptyString", # required
|
2262
2263
|
# arn: "fraudDetectorArn",
|
@@ -2537,10 +2538,10 @@ module Aws::FraudDetector
|
|
2537
2538
|
#
|
2538
2539
|
# {
|
2539
2540
|
# model_endpoint: "sageMakerEndpointIdentifier", # required
|
2540
|
-
# event_type_name: "identifier",
|
2541
2541
|
# model_source: "SAGEMAKER", # required, accepts SAGEMAKER
|
2542
2542
|
# invoke_model_endpoint_role_arn: "string", # required
|
2543
2543
|
# input_configuration: { # required
|
2544
|
+
# event_type_name: "identifier",
|
2544
2545
|
# format: "TEXT_CSV", # accepts TEXT_CSV, APPLICATION_JSON
|
2545
2546
|
# use_event_variables: false, # required
|
2546
2547
|
# json_input_template: "string",
|
@@ -2568,10 +2569,6 @@ module Aws::FraudDetector
|
|
2568
2569
|
# The model endpoints name.
|
2569
2570
|
# @return [String]
|
2570
2571
|
#
|
2571
|
-
# @!attribute [rw] event_type_name
|
2572
|
-
# The event type name.
|
2573
|
-
# @return [String]
|
2574
|
-
#
|
2575
2572
|
# @!attribute [rw] model_source
|
2576
2573
|
# The source of the model.
|
2577
2574
|
# @return [String]
|
@@ -2600,7 +2597,6 @@ module Aws::FraudDetector
|
|
2600
2597
|
#
|
2601
2598
|
class PutExternalModelRequest < Struct.new(
|
2602
2599
|
:model_endpoint,
|
2603
|
-
:event_type_name,
|
2604
2600
|
:model_source,
|
2605
2601
|
:invoke_model_endpoint_role_arn,
|
2606
2602
|
:input_configuration,
|
@@ -3068,7 +3064,7 @@ module Aws::FraudDetector
|
|
3068
3064
|
# description: "description",
|
3069
3065
|
# model_versions: [
|
3070
3066
|
# {
|
3071
|
-
# model_id: "
|
3067
|
+
# model_id: "modelIdentifier", # required
|
3072
3068
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
3073
3069
|
# model_version_number: "nonEmptyString", # required
|
3074
3070
|
# arn: "fraudDetectorArn",
|
@@ -3175,7 +3171,7 @@ module Aws::FraudDetector
|
|
3175
3171
|
# data as a hash:
|
3176
3172
|
#
|
3177
3173
|
# {
|
3178
|
-
# model_id: "
|
3174
|
+
# model_id: "modelIdentifier", # required
|
3179
3175
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
3180
3176
|
# description: "description",
|
3181
3177
|
# }
|
@@ -3210,7 +3206,7 @@ module Aws::FraudDetector
|
|
3210
3206
|
# data as a hash:
|
3211
3207
|
#
|
3212
3208
|
# {
|
3213
|
-
# model_id: "
|
3209
|
+
# model_id: "modelIdentifier", # required
|
3214
3210
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
3215
3211
|
# major_version_number: "wholeNumberVersionString", # required
|
3216
3212
|
# external_events_detail: {
|
@@ -3288,7 +3284,7 @@ module Aws::FraudDetector
|
|
3288
3284
|
# data as a hash:
|
3289
3285
|
#
|
3290
3286
|
# {
|
3291
|
-
# model_id: "
|
3287
|
+
# model_id: "modelIdentifier", # required
|
3292
3288
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
3293
3289
|
# model_version_number: "floatVersionString", # required
|
3294
3290
|
# status: "ACTIVE", # required, accepts ACTIVE, INACTIVE
|
@@ -3524,7 +3520,7 @@ module Aws::FraudDetector
|
|
3524
3520
|
# PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 |
|
3525
3521
|
# SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY |
|
3526
3522
|
# SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP |
|
3527
|
-
# USERAGENT
|
3523
|
+
# USERAGENT `
|
3528
3524
|
# @return [String]
|
3529
3525
|
#
|
3530
3526
|
# @!attribute [rw] last_updated_time
|
@@ -3602,7 +3598,7 @@ module Aws::FraudDetector
|
|
3602
3598
|
# PHONE_NUMBER | PRICE | PRODUCT_CATEGORY | SHIPPING_ADDRESS_L1 |
|
3603
3599
|
# SHIPPING_ADDRESS_L2 | SHIPPING_CITY | SHIPPING_COUNTRY |
|
3604
3600
|
# SHIPPING_NAME | SHIPPING_PHONE | SHIPPING_STATE | SHIPPING_ZIP |
|
3605
|
-
# USERAGENT
|
3601
|
+
# USERAGENT `
|
3606
3602
|
#
|
3607
3603
|
#
|
3608
3604
|
#
|
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.13.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: 2020-
|
11
|
+
date: 2020-09-30 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.109.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.109.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|