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


3324
3325
3326
3327
3328
3329
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 3324

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

#attribute_typeString

The data type of the field.

Returns:

  • (String)


3324
3325
3326
3327
3328
3329
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 3324

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