Class: Aws::FraudDetector::Types::ModelInputConfiguration

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb

Overview

Note:

When making an API call, you may pass ModelInputConfiguration data as a hash:

{
  format: "TEXT_CSV", # accepts TEXT_CSV, APPLICATION_JSON
  is_opaque: false, # required
  json_input_template: "string",
  csv_input_template: "string",
}

The model input configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#csv_input_templateString

Template for constructing the CSV input-data sent to SageMaker. At event-evaluation, the placeholders for variable-names in the template will be replaced with the variable values before being sent to SageMaker.

Returns:

  • (String)


1470
1471
1472
1473
1474
1475
1476
1477
# File 'gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb', line 1470

class ModelInputConfiguration < Struct.new(
  :format,
  :is_opaque,
  :json_input_template,
  :csv_input_template)
  SENSITIVE = []
  include Aws::Structure
end

#formatString

The format of the model input configuration. The format differs depending on if it is passed through to SageMaker or constructed by Amazon Fraud Detector.

Returns:

  • (String)


1470
1471
1472
1473
1474
1475
1476
1477
# File 'gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb', line 1470

class ModelInputConfiguration < Struct.new(
  :format,
  :is_opaque,
  :json_input_template,
  :csv_input_template)
  SENSITIVE = []
  include Aws::Structure
end

#is_opaqueBoolean

For an opaque-model, the input to the model will be a ByteBuffer blob provided in the getPrediction request, and will be passed to SageMaker as-is. For non-opaque models, the input will be constructed by Amazon Fraud Detector based on the model-configuration.

Returns:

  • (Boolean)


1470
1471
1472
1473
1474
1475
1476
1477
# File 'gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb', line 1470

class ModelInputConfiguration < Struct.new(
  :format,
  :is_opaque,
  :json_input_template,
  :csv_input_template)
  SENSITIVE = []
  include Aws::Structure
end

#json_input_templateString

Template for constructing the JSON input-data sent to SageMaker. At event-evaluation, the placeholders for variable names in the template will be replaced with the variable values before being sent to SageMaker.

Returns:

  • (String)


1470
1471
1472
1473
1474
1475
1476
1477
# File 'gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/types.rb', line 1470

class ModelInputConfiguration < Struct.new(
  :format,
  :is_opaque,
  :json_input_template,
  :csv_input_template)
  SENSITIVE = []
  include Aws::Structure
end