Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DataSource = DataSource' {
- status :: Maybe EntityStatus
- numberOfFiles :: Maybe Integer
- lastUpdatedAt :: Maybe POSIX
- createdAt :: Maybe POSIX
- computeTime :: Maybe Integer
- dataSourceId :: Maybe Text
- rDSMetadata :: Maybe RDSMetadata
- dataSizeInBytes :: Maybe Integer
- startedAt :: Maybe POSIX
- finishedAt :: Maybe POSIX
- createdByIamUser :: Maybe Text
- name :: Maybe Text
- dataLocationS3 :: Maybe Text
- computeStatistics :: Maybe Bool
- message :: Maybe Text
- redshiftMetadata :: Maybe RedshiftMetadata
- dataRearrangement :: Maybe Text
- roleARN :: Maybe Text
- newDataSource :: DataSource
- dataSource_status :: Lens' DataSource (Maybe EntityStatus)
- dataSource_numberOfFiles :: Lens' DataSource (Maybe Integer)
- dataSource_lastUpdatedAt :: Lens' DataSource (Maybe UTCTime)
- dataSource_createdAt :: Lens' DataSource (Maybe UTCTime)
- dataSource_computeTime :: Lens' DataSource (Maybe Integer)
- dataSource_dataSourceId :: Lens' DataSource (Maybe Text)
- dataSource_rDSMetadata :: Lens' DataSource (Maybe RDSMetadata)
- dataSource_dataSizeInBytes :: Lens' DataSource (Maybe Integer)
- dataSource_startedAt :: Lens' DataSource (Maybe UTCTime)
- dataSource_finishedAt :: Lens' DataSource (Maybe UTCTime)
- dataSource_createdByIamUser :: Lens' DataSource (Maybe Text)
- dataSource_name :: Lens' DataSource (Maybe Text)
- dataSource_dataLocationS3 :: Lens' DataSource (Maybe Text)
- dataSource_computeStatistics :: Lens' DataSource (Maybe Bool)
- dataSource_message :: Lens' DataSource (Maybe Text)
- dataSource_redshiftMetadata :: Lens' DataSource (Maybe RedshiftMetadata)
- dataSource_dataRearrangement :: Lens' DataSource (Maybe Text)
- dataSource_roleARN :: Lens' DataSource (Maybe Text)
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.
DataSource' | |
|
Instances
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_computeTime :: Lens' DataSource (Maybe Integer) Source #
Undocumented member.
dataSource_dataSourceId :: Lens' DataSource (Maybe Text) Source #
The ID that is assigned to the DataSource
during creation.
dataSource_rDSMetadata :: Lens' DataSource (Maybe RDSMetadata) Source #
Undocumented member.
dataSource_dataSizeInBytes :: Lens' DataSource (Maybe Integer) Source #
The total number of observations contained in the data files that the
DataSource
references.
dataSource_startedAt :: Lens' DataSource (Maybe UTCTime) Source #
Undocumented member.
dataSource_finishedAt :: Lens' DataSource (Maybe UTCTime) Source #
Undocumented member.
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_redshiftMetadata :: Lens' DataSource (Maybe RedshiftMetadata) Source #
Undocumented member.
dataSource_dataRearrangement :: Lens' DataSource (Maybe Text) Source #
A JSON string that represents the splitting and rearrangement
requirement used when this DataSource
was created.
dataSource_roleARN :: Lens' DataSource (Maybe Text) Source #
Undocumented member.