aws-sdk-frauddetector 1.8.0 → 1.9.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 +1 -1
- data/lib/aws-sdk-frauddetector/client.rb +15 -18
- data/lib/aws-sdk-frauddetector/client_api.rb +18 -18
- data/lib/aws-sdk-frauddetector/types.rb +22 -26
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10fbb14e6a72176e19c784edb837788a0961051693362de27d5fd6ab444f038d
|
4
|
+
data.tar.gz: 0c1a6fab3d9029f545ffce2b11d471837c703a5e80f6e9f0ca93c614d261eceb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '06977ab1626ac168bc04d6179068a01f376b1bf925cf70d20b0d7612e487ebaf7ac9f5f48ab7aae5a2735f07345abbeffe2b77b016fce444086b37e694d8cb3b'
|
7
|
+
data.tar.gz: 426fdca25adfc3899760039b8ef2f0dd41734857882ac8b1c34491f4d98b9633f610b2be57ece34cdf78ffe8d2ea9fcd693a98b5a05b25c97a708a809693a966
|
@@ -473,7 +473,7 @@ module Aws::FraudDetector
|
|
473
473
|
# ],
|
474
474
|
# model_versions: [
|
475
475
|
# {
|
476
|
-
# model_id: "
|
476
|
+
# model_id: "modelIdentifier", # required
|
477
477
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
478
478
|
# model_version_number: "nonEmptyString", # required
|
479
479
|
# arn: "fraudDetectorArn",
|
@@ -525,7 +525,7 @@ module Aws::FraudDetector
|
|
525
525
|
# @example Request syntax with placeholder values
|
526
526
|
#
|
527
527
|
# resp = client.create_model({
|
528
|
-
# model_id: "
|
528
|
+
# model_id: "modelIdentifier", # required
|
529
529
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
530
530
|
# description: "description",
|
531
531
|
# event_type_name: "string", # required
|
@@ -578,7 +578,7 @@ module Aws::FraudDetector
|
|
578
578
|
# @example Request syntax with placeholder values
|
579
579
|
#
|
580
580
|
# resp = client.create_model_version({
|
581
|
-
# model_id: "
|
581
|
+
# model_id: "modelIdentifier", # required
|
582
582
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
583
583
|
# training_data_source: "EXTERNAL_EVENTS", # required, accepts EXTERNAL_EVENTS
|
584
584
|
# training_data_schema: { # required
|
@@ -920,7 +920,7 @@ module Aws::FraudDetector
|
|
920
920
|
# @example Request syntax with placeholder values
|
921
921
|
#
|
922
922
|
# resp = client.describe_model_versions({
|
923
|
-
# model_id: "
|
923
|
+
# model_id: "modelIdentifier",
|
924
924
|
# model_version_number: "floatVersionString",
|
925
925
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS
|
926
926
|
# next_token: "string",
|
@@ -1181,8 +1181,8 @@ module Aws::FraudDetector
|
|
1181
1181
|
# event_type_name: "string", # required
|
1182
1182
|
# entities: [ # required
|
1183
1183
|
# {
|
1184
|
-
# entity_type: "string",
|
1185
|
-
# entity_id: "identifier",
|
1184
|
+
# entity_type: "string", # required
|
1185
|
+
# entity_id: "identifier", # required
|
1186
1186
|
# },
|
1187
1187
|
# ],
|
1188
1188
|
# event_timestamp: "string", # required
|
@@ -1313,9 +1313,9 @@ module Aws::FraudDetector
|
|
1313
1313
|
#
|
1314
1314
|
# resp.external_models #=> Array
|
1315
1315
|
# resp.external_models[0].model_endpoint #=> String
|
1316
|
-
# resp.external_models[0].event_type_name #=> String
|
1317
1316
|
# resp.external_models[0].model_source #=> String, one of "SAGEMAKER"
|
1318
1317
|
# resp.external_models[0].invoke_model_endpoint_role_arn #=> String
|
1318
|
+
# resp.external_models[0].input_configuration.event_type_name #=> String
|
1319
1319
|
# resp.external_models[0].input_configuration.format #=> String, one of "TEXT_CSV", "APPLICATION_JSON"
|
1320
1320
|
# resp.external_models[0].input_configuration.use_event_variables #=> Boolean
|
1321
1321
|
# resp.external_models[0].input_configuration.json_input_template #=> String
|
@@ -1437,7 +1437,7 @@ module Aws::FraudDetector
|
|
1437
1437
|
# @example Request syntax with placeholder values
|
1438
1438
|
#
|
1439
1439
|
# resp = client.get_model_version({
|
1440
|
-
# model_id: "
|
1440
|
+
# model_id: "modelIdentifier", # required
|
1441
1441
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
1442
1442
|
# model_version_number: "floatVersionString", # required
|
1443
1443
|
# })
|
@@ -1502,7 +1502,7 @@ module Aws::FraudDetector
|
|
1502
1502
|
# @example Request syntax with placeholder values
|
1503
1503
|
#
|
1504
1504
|
# resp = client.get_models({
|
1505
|
-
# model_id: "
|
1505
|
+
# model_id: "modelIdentifier",
|
1506
1506
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # accepts ONLINE_FRAUD_INSIGHTS
|
1507
1507
|
# next_token: "string",
|
1508
1508
|
# max_results: 1,
|
@@ -1886,9 +1886,6 @@ module Aws::FraudDetector
|
|
1886
1886
|
# @option params [required, String] :model_endpoint
|
1887
1887
|
# The model endpoints name.
|
1888
1888
|
#
|
1889
|
-
# @option params [String] :event_type_name
|
1890
|
-
# The event type name.
|
1891
|
-
#
|
1892
1889
|
# @option params [required, String] :model_source
|
1893
1890
|
# The source of the model.
|
1894
1891
|
#
|
@@ -1913,10 +1910,10 @@ module Aws::FraudDetector
|
|
1913
1910
|
#
|
1914
1911
|
# resp = client.put_external_model({
|
1915
1912
|
# model_endpoint: "sageMakerEndpointIdentifier", # required
|
1916
|
-
# event_type_name: "identifier",
|
1917
1913
|
# model_source: "SAGEMAKER", # required, accepts SAGEMAKER
|
1918
1914
|
# invoke_model_endpoint_role_arn: "string", # required
|
1919
1915
|
# input_configuration: { # required
|
1916
|
+
# event_type_name: "identifier",
|
1920
1917
|
# format: "TEXT_CSV", # accepts TEXT_CSV, APPLICATION_JSON
|
1921
1918
|
# use_event_variables: false, # required
|
1922
1919
|
# json_input_template: "string",
|
@@ -2157,7 +2154,7 @@ module Aws::FraudDetector
|
|
2157
2154
|
# description: "description",
|
2158
2155
|
# model_versions: [
|
2159
2156
|
# {
|
2160
|
-
# model_id: "
|
2157
|
+
# model_id: "modelIdentifier", # required
|
2161
2158
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
2162
2159
|
# model_version_number: "nonEmptyString", # required
|
2163
2160
|
# arn: "fraudDetectorArn",
|
@@ -2255,7 +2252,7 @@ module Aws::FraudDetector
|
|
2255
2252
|
# @example Request syntax with placeholder values
|
2256
2253
|
#
|
2257
2254
|
# resp = client.update_model({
|
2258
|
-
# model_id: "
|
2255
|
+
# model_id: "modelIdentifier", # required
|
2259
2256
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
2260
2257
|
# description: "description",
|
2261
2258
|
# })
|
@@ -2301,7 +2298,7 @@ module Aws::FraudDetector
|
|
2301
2298
|
# @example Request syntax with placeholder values
|
2302
2299
|
#
|
2303
2300
|
# resp = client.update_model_version({
|
2304
|
-
# model_id: "
|
2301
|
+
# model_id: "modelIdentifier", # required
|
2305
2302
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
2306
2303
|
# major_version_number: "wholeNumberVersionString", # required
|
2307
2304
|
# external_events_detail: {
|
@@ -2357,7 +2354,7 @@ module Aws::FraudDetector
|
|
2357
2354
|
# @example Request syntax with placeholder values
|
2358
2355
|
#
|
2359
2356
|
# resp = client.update_model_version_status({
|
2360
|
-
# model_id: "
|
2357
|
+
# model_id: "modelIdentifier", # required
|
2361
2358
|
# model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
|
2362
2359
|
# model_version_number: "floatVersionString", # required
|
2363
2360
|
# status: "ACTIVE", # required, accepts ACTIVE, INACTIVE
|
@@ -2513,7 +2510,7 @@ module Aws::FraudDetector
|
|
2513
2510
|
params: params,
|
2514
2511
|
config: config)
|
2515
2512
|
context[:gem_name] = 'aws-sdk-frauddetector'
|
2516
|
-
context[:gem_version] = '1.
|
2513
|
+
context[:gem_version] = '1.9.0'
|
2517
2514
|
Seahorse::Client::Request.new(handlers, context)
|
2518
2515
|
end
|
2519
2516
|
|
@@ -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
|
@@ -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
|
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.9.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-07-
|
11
|
+
date: 2020-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|