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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

[1]: docs.aws.amazon.com/forecast/latest/dg/API_Schema.html

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 '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 'lib/aws-sdk-forecastservice/types.rb', line 6256

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