You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SchemaAttribute as input to an Aws::Client method, you can use a vanilla Hash:

{
  attribute_name: "Name",
  attribute_type: "string", # accepts string, integer, float, timestamp
}

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.

Instance Attribute Summary collapse

Instance Attribute Details

#attribute_nameString

The name of the dataset field.

Returns:

  • (String)

    The name of the dataset field.

#attribute_typeString

The data type of the field.

Possible values:

  • string
  • integer
  • float
  • timestamp

Returns:

  • (String)

    The data type of the field.