amazonka-personalize-2.0: Amazon Personalize SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Personalize.Types.DataSource

Description

 
Synopsis

Documentation

data DataSource Source #

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

See: newDataSource smart constructor.

Constructors

DataSource' 

Fields

  • dataLocation :: Maybe Text

    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/folder-name/

Instances

Instances details
FromJSON DataSource Source # 
Instance details

Defined in Amazonka.Personalize.Types.DataSource

ToJSON DataSource Source # 
Instance details

Defined in Amazonka.Personalize.Types.DataSource

Generic DataSource Source # 
Instance details

Defined in Amazonka.Personalize.Types.DataSource

Associated Types

type Rep DataSource :: Type -> Type #

Read DataSource Source # 
Instance details

Defined in Amazonka.Personalize.Types.DataSource

Show DataSource Source # 
Instance details

Defined in Amazonka.Personalize.Types.DataSource

NFData DataSource Source # 
Instance details

Defined in Amazonka.Personalize.Types.DataSource

Methods

rnf :: DataSource -> () #

Eq DataSource Source # 
Instance details

Defined in Amazonka.Personalize.Types.DataSource

Hashable DataSource Source # 
Instance details

Defined in Amazonka.Personalize.Types.DataSource

type Rep DataSource Source # 
Instance details

Defined in Amazonka.Personalize.Types.DataSource

type Rep DataSource = D1 ('MetaData "DataSource" "Amazonka.Personalize.Types.DataSource" "amazonka-personalize-2.0-9kdbGNMxU7zEIoXPqEwwTg" 'False) (C1 ('MetaCons "DataSource'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dataLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newDataSource :: DataSource Source #

Create a value of DataSource with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dataLocation:DataSource', dataSource_dataLocation - 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/folder-name/

dataSource_dataLocation :: Lens' DataSource (Maybe Text) Source #

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/folder-name/