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

Class: Aws::ForecastService::Types::Schema

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

Overview

Note:

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

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

Defines the fields of a dataset. This object is specified in the CreateDataset request.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#attributesArray<Types::SchemaAttribute>

An array of attributes specifying the name and type of each field in a dataset.

Returns:

  • (Array<Types::SchemaAttribute>)

    An array of attributes specifying the name and type of each field in a dataset.