AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Class: Aws::MachineLearning::Types::PredictInput

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

Overview

Note:

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

{
  ml_model_id: "EntityId", # required
  record: { # required
    "VariableName" => "VariableValue",
  },
  predict_endpoint: "VipURL", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ml_model_idString

A unique identifier of the MLModel.

Returns:

  • (String)


2949
2950
2951
2952
2953
2954
2955
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 2949

class PredictInput < Struct.new(
  :ml_model_id,
  :record,
  :predict_endpoint)
  SENSITIVE = []
  include Aws::Structure
end

#predict_endpointString

Returns:

  • (String)


2949
2950
2951
2952
2953
2954
2955
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 2949

class PredictInput < Struct.new(
  :ml_model_id,
  :record,
  :predict_endpoint)
  SENSITIVE = []
  include Aws::Structure
end

#recordHash<String,String>

A map of variable name-value pairs that represent an observation.

Returns:

  • (Hash<String,String>)


2949
2950
2951
2952
2953
2954
2955
# File 'gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/types.rb', line 2949

class PredictInput < Struct.new(
  :ml_model_id,
  :record,
  :predict_endpoint)
  SENSITIVE = []
  include Aws::Structure
end