libZSservicesZSamazonka-mlZSamazonka-ml
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

Read DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

Show 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 #

NFData DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

Methods

rnf :: DataSource -> () #

Hashable DataSource Source # 
Instance details

Defined in Amazonka.MachineLearning.Types.DataSource

FromJSON 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" "libZSservicesZSamazonka-mlZSamazonka-ml" 'False) (C1 ('MetaCons "DataSource'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EntityStatus)) :*: S1 ('MetaSel ('Just "numberOfFiles") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "lastUpdatedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "computeTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "dataSourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "rDSMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RDSMetadata)) :*: (S1 ('MetaSel ('Just "dataSizeInBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "startedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))) :*: (((S1 ('MetaSel ('Just "finishedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "createdByIamUser") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataLocationS3") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "computeStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "redshiftMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RedshiftMetadata)) :*: (S1 ('MetaSel ('Just "dataRearrangement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleARN") '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: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.

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

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

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

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

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

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

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

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

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

$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:name:DataSource', dataSource_name - A user-supplied name or description of the DataSource.

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

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

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

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

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

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.

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

The number of data files referenced by the DataSource.

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_createdAt :: Lens' DataSource (Maybe UTCTime) Source #

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

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

The ID that is assigned to the DataSource during creation.

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

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

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_name :: Lens' DataSource (Maybe Text) Source #

A user-supplied name or description of the DataSource.

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_computeStatistics :: Lens' DataSource (Maybe Bool) Source #

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

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

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

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

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