amazonka-ml-2.0: Amazon Machine Learning 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.MachineLearning.Types.DataSource

Description

 
Synopsis

Documentation

data DataSource Source #

Represents the output of the GetDataSource operation.

The content consists of the detailed metadata and data file information and the current status of the DataSource.

See: newDataSource smart constructor.

Constructors

DataSource' 

Fields

Instances

Instances details
FromJSON DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

Generic DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

Associated Types

type Rep DataSource :: Type -> Type #

Read DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

Show DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

NFData DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

Methods

rnf :: DataSource -> () #

Eq DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

Hashable DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

type Rep DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

type Rep DataSource = D1 ('MetaData "DataSource" "Amazonka.MachineLearning.Types.DataSource" "amazonka-ml-2.0-A3JLJ63WvmfHxGBBIqhdRA" 'False) (C1 ('MetaCons "DataSource'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "computeStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "computeTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "createdByIamUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "dataLocationS3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataRearrangement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dataSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "dataSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "finishedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))) :*: (((S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "numberOfFiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: ((S1 ('MetaSel ('Just "rDSMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RDSMetadata)) :*: S1 ('MetaSel ('Just "redshiftMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RedshiftMetadata))) :*: (S1 ('MetaSel ('Just "roleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "startedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntityStatus))))))))

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:computeStatistics:DataSource', dataSource_computeStatistics - The parameter is true if statistics need to be generated from the observation data.

$sel:computeTime:DataSource', dataSource_computeTime - Undocumented member.

$sel:createdAt:DataSource', dataSource_createdAt - The time that the DataSource was created. The time is expressed in epoch time.

$sel:createdByIamUser:DataSource', dataSource_createdByIamUser - The AWS user account from which the DataSource was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.

$sel:dataLocationS3:DataSource', dataSource_dataLocationS3 - The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a DataSource.

$sel:dataRearrangement:DataSource', dataSource_dataRearrangement - A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created.

$sel:dataSizeInBytes:DataSource', dataSource_dataSizeInBytes - The total number of observations contained in the data files that the DataSource references.

$sel:dataSourceId:DataSource', dataSource_dataSourceId - The ID that is assigned to the DataSource during creation.

$sel:finishedAt:DataSource', dataSource_finishedAt - Undocumented member.

$sel:lastUpdatedAt:DataSource', dataSource_lastUpdatedAt - The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.

$sel:message:DataSource', dataSource_message - A description of the most recent details about creating the DataSource.

$sel:name:DataSource', dataSource_name - A user-supplied name or description of the DataSource.

$sel:numberOfFiles:DataSource', dataSource_numberOfFiles - The number of data files referenced by the DataSource.

$sel:rDSMetadata:DataSource', dataSource_rDSMetadata - Undocumented member.

$sel:redshiftMetadata:DataSource', dataSource_redshiftMetadata - Undocumented member.

$sel:roleARN:DataSource', dataSource_roleARN - Undocumented member.

$sel:startedAt:DataSource', dataSource_startedAt - Undocumented member.

$sel:status:DataSource', dataSource_status - The current status of the DataSource. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create a DataSource.
  • INPROGRESS - The creation process is underway.
  • FAILED - The request to create a DataSource did not run to completion. It is not usable.
  • COMPLETED - The creation process completed successfully.
  • DELETED - The DataSource is marked as deleted. It is not usable.

dataSource_computeStatistics :: Lens' DataSource (Maybe Bool) Source #

The parameter is true if statistics need to be generated from the observation data.

dataSource_createdAt :: Lens' DataSource (Maybe UTCTime) Source #

The time that the DataSource was created. The time is expressed in epoch time.

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

The AWS user account from which the DataSource was created. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account.

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

The location and name of the data in Amazon Simple Storage Service (Amazon S3) that is used by a DataSource.

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

A JSON string that represents the splitting and rearrangement requirement used when this DataSource was created.

dataSource_dataSizeInBytes :: Lens' DataSource (Maybe Integer) Source #

The total number of observations contained in the data files that the DataSource references.

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

The ID that is assigned to the DataSource during creation.

dataSource_lastUpdatedAt :: Lens' DataSource (Maybe UTCTime) Source #

The time of the most recent edit to the BatchPrediction. The time is expressed in epoch time.

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

A description of the most recent details about creating the DataSource.

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

A user-supplied name or description of the DataSource.

dataSource_numberOfFiles :: Lens' DataSource (Maybe Integer) Source #

The number of data files referenced by the DataSource.

dataSource_status :: Lens' DataSource (Maybe EntityStatus) Source #

The current status of the DataSource. This element can have one of the following values:

  • PENDING - Amazon Machine Learning (Amazon ML) submitted a request to create a DataSource.
  • INPROGRESS - The creation process is underway.
  • FAILED - The request to create a DataSource did not run to completion. It is not usable.
  • COMPLETED - The creation process completed successfully.
  • DELETED - The DataSource is marked as deleted. It is not usable.