You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::FraudDetector::Types::CreateModelVersionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::FraudDetector::Types::CreateModelVersionRequest
- Defined in:
- (unknown)
Overview
Note:
When passing CreateModelVersionRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
model_id: "modelIdentifier", # required
model_type: "ONLINE_FRAUD_INSIGHTS", # required, accepts ONLINE_FRAUD_INSIGHTS
training_data_source: "EXTERNAL_EVENTS", # required, accepts EXTERNAL_EVENTS
training_data_schema: { # required
model_variables: ["string"], # required
label_schema: { # required
label_mapper: { # required
"string" => ["string"],
},
},
},
external_events_detail: {
data_location: "s3BucketLocation", # required
data_access_role_arn: "iamRoleArn", # required
},
tags: [
{
key: "tagKey", # required
value: "tagValue", # required
},
],
}
Instance Attribute Summary collapse
-
#external_events_detail ⇒ Types::ExternalEventsDetail
Details for the external events data used for model version training.
-
#model_id ⇒ String
The model ID.
-
#model_type ⇒ String
The model type.
-
#tags ⇒ Array<Types::Tag>
A collection of key and value pairs.
-
#training_data_schema ⇒ Types::TrainingDataSchema
The training data schema.
-
#training_data_source ⇒ String
The training data source location in Amazon S3.
Instance Attribute Details
#external_events_detail ⇒ Types::ExternalEventsDetail
Details for the external events data used for model version training.
Required if trainingDataSource
is EXTERNAL_EVENTS
.
#model_id ⇒ String
The model ID.
#model_type ⇒ String
The model type.
Possible values:
- ONLINE_FRAUD_INSIGHTS
#tags ⇒ Array<Types::Tag>
A collection of key and value pairs.
#training_data_schema ⇒ Types::TrainingDataSchema
The training data schema.
#training_data_source ⇒ String
The training data source location in Amazon S3.
Possible values:
- EXTERNAL_EVENTS