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

Class: Aws::ForecastService::Types::CreateDatasetGroupRequest

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 CreateDatasetGroupRequest data as a hash:

{
  dataset_group_name: "Name", # required
  domain: "RETAIL", # required, accepts RETAIL, CUSTOM, INVENTORY_PLANNING, EC2_CAPACITY, WORK_FORCE, WEB_TRAFFIC, METRICS
  dataset_arns: ["Arn"],
}

Instance Attribute Summary collapse

Instance Attribute Details

#dataset_arnsArray<String>

An array of Amazon Resource Names (ARNs) of the datasets that you want to include in the dataset group.

Returns:

  • (Array<String>)


140
141
142
143
144
145
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 140

class CreateDatasetGroupRequest < Struct.new(
  :dataset_group_name,
  :domain,
  :dataset_arns)
  include Aws::Structure
end

#dataset_group_nameString

A name for the dataset group.

Returns:

  • (String)


140
141
142
143
144
145
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 140

class CreateDatasetGroupRequest < Struct.new(
  :dataset_group_name,
  :domain,
  :dataset_arns)
  include Aws::Structure
end

#domainString

The domain associated with the dataset group. The Domain and DatasetType that you choose determine the fields that must be present in the training data that you import to the dataset. For example, if you choose the RETAIL domain and TARGET_TIME_SERIES as the DatasetType, Amazon Forecast requires item_id, timestamp, and demand fields to be present in your data. For more information, see howitworks-datasets-groups.

Returns:

  • (String)


140
141
142
143
144
145
# File 'gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/types.rb', line 140

class CreateDatasetGroupRequest < Struct.new(
  :dataset_group_name,
  :domain,
  :dataset_arns)
  include Aws::Structure
end