Class: Aws::ForecastService::Types::SchemaAttribute
- Inherits:
-
Struct
- Object
- Struct
- Aws::ForecastService::Types::SchemaAttribute
- Defined in:
- gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb
Overview
Note:
When making an API call, you may pass SchemaAttribute data as a hash:
{
attribute_name: "Name",
attribute_type: "string", # accepts string, integer, float, timestamp, geolocation
}
An attribute of a schema, which defines a dataset field. A schema
attribute is required for every field in a dataset. The Schema
object contains an array of SchemaAttribute
objects.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#attribute_name ⇒ String
The name of the dataset field.
-
#attribute_type ⇒ String
The data type of the field.
Instance Attribute Details
#attribute_name ⇒ String
The name of the dataset field.
6291 6292 6293 6294 6295 6296 |
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 6291 class SchemaAttribute < Struct.new( :attribute_name, :attribute_type) SENSITIVE = [] include Aws::Structure end |
#attribute_type ⇒ String
The data type of the field.
For a related time series dataset, other than date, item_id, and forecast dimensions attributes, all attributes should be of numerical type (integer/float).
6291 6292 6293 6294 6295 6296 |
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 6291 class SchemaAttribute < Struct.new( :attribute_name, :attribute_type) SENSITIVE = [] include Aws::Structure end |