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

Class: Aws::ForecastService::Types::DataSource

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

Overview

Note:

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

{
  s3_config: { # required
    path: "S3Path", # required
    role_arn: "Arn", # required
    kms_key_arn: "KMSKeyArn",
  },
}

The source of your training data, an AWS Identity and Access Management (IAM) role that allows Amazon Forecast to access the data and, optionally, an AWS Key Management Service (KMS) key. This object is submitted in the CreateDatasetImportJob request.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#s3_configTypes::S3Config

The path to the training data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.

Returns:

  • (Types::S3Config)

    The path to the training data stored in an Amazon Simple Storage Service (Amazon S3) bucket along with the credentials to access the data.