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

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

Inherits:
Struct
  • Object
show all
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
}

An attribute of a schema, which defines a field of a dataset. 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)


2807
2808
2809
2810
2811
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 2807

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

#attribute_typeString

The data type of the field.

Returns:

  • (String)


2807
2808
2809
2810
2811
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 2807

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