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

Class: Aws::Personalize::Types::DataSource

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb

Overview

Note:

When making an API call, you may pass DataSource data as a hash:

{
  data_location: "S3Location",
}

Describes the data source that contains the data to upload to a dataset.

Instance Attribute Summary collapse

Instance Attribute Details

#data_locationString

The path to the Amazon S3 bucket where the data that you want to upload to your dataset is stored. For example:

s3://bucket-name/training-data.csv

Returns:

  • (String)


821
822
823
824
# File 'gems/aws-sdk-personalize/lib/aws-sdk-personalize/types.rb', line 821

class DataSource < Struct.new(
  :data_location)
  include Aws::Structure
end