libZSservicesZSamazonka-forecastZSamazonka-forecast
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.Forecast.Types.DatasetImportJobSummary

Description

 
Synopsis

Documentation

data DatasetImportJobSummary Source #

Provides a summary of the dataset import job properties used in the ListDatasetImportJobs operation. To get the complete set of properties, call the DescribeDatasetImportJob operation, and provide the DatasetImportJobArn.

See: newDatasetImportJobSummary smart constructor.

Constructors

DatasetImportJobSummary' 

Fields

  • creationTime :: Maybe POSIX

    When the dataset import job was created.

  • status :: Maybe Text

    The status of the dataset import job. States include:

    • ACTIVE
    • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED
    • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
    • CREATE_STOPPING, CREATE_STOPPED
  • datasetImportJobName :: Maybe Text

    The name of the dataset import job.

  • dataSource :: Maybe DataSource

    The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3 bucket.

    If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

  • datasetImportJobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the dataset import job.

  • message :: Maybe Text

    If an error occurred, an informational message about the error.

  • lastModificationTime :: Maybe POSIX

    The last time the resource was modified. The timestamp depends on the status of the job:

    • CREATE_PENDING - The CreationTime.
    • CREATE_IN_PROGRESS - The current timestamp.
    • CREATE_STOPPING - The current timestamp.
    • CREATE_STOPPED - When the job stopped.
    • ACTIVE or CREATE_FAILED - When the job finished or failed.

Instances

Instances details
Eq DatasetImportJobSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.DatasetImportJobSummary

Read DatasetImportJobSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.DatasetImportJobSummary

Show DatasetImportJobSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.DatasetImportJobSummary

Generic DatasetImportJobSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.DatasetImportJobSummary

Associated Types

type Rep DatasetImportJobSummary :: Type -> Type #

NFData DatasetImportJobSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.DatasetImportJobSummary

Methods

rnf :: DatasetImportJobSummary -> () #

Hashable DatasetImportJobSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.DatasetImportJobSummary

FromJSON DatasetImportJobSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.DatasetImportJobSummary

type Rep DatasetImportJobSummary Source # 
Instance details

Defined in Amazonka.Forecast.Types.DatasetImportJobSummary

type Rep DatasetImportJobSummary = D1 ('MetaData "DatasetImportJobSummary" "Amazonka.Forecast.Types.DatasetImportJobSummary" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "DatasetImportJobSummary'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "datasetImportJobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSource)) :*: S1 ('MetaSel ('Just "datasetImportJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lastModificationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX))))))

newDatasetImportJobSummary :: DatasetImportJobSummary Source #

Create a value of DatasetImportJobSummary 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:creationTime:DatasetImportJobSummary', datasetImportJobSummary_creationTime - When the dataset import job was created.

$sel:status:DatasetImportJobSummary', datasetImportJobSummary_status - The status of the dataset import job. States include:

  • ACTIVE
  • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED
  • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  • CREATE_STOPPING, CREATE_STOPPED

$sel:datasetImportJobName:DatasetImportJobSummary', datasetImportJobSummary_datasetImportJobName - The name of the dataset import job.

$sel:dataSource:DatasetImportJobSummary', datasetImportJobSummary_dataSource - The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3 bucket.

If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

$sel:datasetImportJobArn:DatasetImportJobSummary', datasetImportJobSummary_datasetImportJobArn - The Amazon Resource Name (ARN) of the dataset import job.

$sel:message:DatasetImportJobSummary', datasetImportJobSummary_message - If an error occurred, an informational message about the error.

$sel:lastModificationTime:DatasetImportJobSummary', datasetImportJobSummary_lastModificationTime - The last time the resource was modified. The timestamp depends on the status of the job:

  • CREATE_PENDING - The CreationTime.
  • CREATE_IN_PROGRESS - The current timestamp.
  • CREATE_STOPPING - The current timestamp.
  • CREATE_STOPPED - When the job stopped.
  • ACTIVE or CREATE_FAILED - When the job finished or failed.

datasetImportJobSummary_status :: Lens' DatasetImportJobSummary (Maybe Text) Source #

The status of the dataset import job. States include:

  • ACTIVE
  • CREATE_PENDING, CREATE_IN_PROGRESS, CREATE_FAILED
  • DELETE_PENDING, DELETE_IN_PROGRESS, DELETE_FAILED
  • CREATE_STOPPING, CREATE_STOPPED

datasetImportJobSummary_dataSource :: Lens' DatasetImportJobSummary (Maybe DataSource) Source #

The location of the training data to import and an AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the data. The training data must be stored in an Amazon S3 bucket.

If encryption is used, DataSource includes an AWS Key Management Service (KMS) key.

datasetImportJobSummary_datasetImportJobArn :: Lens' DatasetImportJobSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the dataset import job.

datasetImportJobSummary_message :: Lens' DatasetImportJobSummary (Maybe Text) Source #

If an error occurred, an informational message about the error.

datasetImportJobSummary_lastModificationTime :: Lens' DatasetImportJobSummary (Maybe UTCTime) Source #

The last time the resource was modified. The timestamp depends on the status of the job:

  • CREATE_PENDING - The CreationTime.
  • CREATE_IN_PROGRESS - The current timestamp.
  • CREATE_STOPPING - The current timestamp.
  • CREATE_STOPPED - When the job stopped.
  • ACTIVE or CREATE_FAILED - When the job finished or failed.