Class: Aws::ForecastService::Types::SchemaAttribute

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

Overview

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

Instance Attribute Details

#attribute_nameString

The name of the dataset field.

Returns:

  • (String)


6256
6257
6258
6259
6260
6261
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 6256

class SchemaAttribute < Struct.new(
  :attribute_name,
  :attribute_type)
  SENSITIVE = []
  include Aws::Structure
end

#attribute_typeString

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).

Returns:

  • (String)


6256
6257
6258
6259
6260
6261
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 6256

class SchemaAttribute < Struct.new(
  :attribute_name,
  :attribute_type)
  SENSITIVE = []
  include Aws::Structure
end