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.DescribeDatasetImportJob

Description

Describes a dataset import job created using the CreateDatasetImportJob operation.

In addition to listing the parameters provided in the CreateDatasetImportJob request, this operation includes the following properties:

  • CreationTime
  • LastModificationTime
  • DataSize
  • FieldStatistics
  • Status
  • Message - If an error occurred, information about the error.
Synopsis

Creating a Request

data DescribeDatasetImportJob Source #

See: newDescribeDatasetImportJob smart constructor.

Constructors

DescribeDatasetImportJob' 

Fields

Instances

Instances details
Eq DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

Read DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

Show DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

Generic DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

Associated Types

type Rep DescribeDatasetImportJob :: Type -> Type #

NFData DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

Hashable DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

ToJSON DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

AWSRequest DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

ToHeaders DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

ToPath DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

ToQuery DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

type Rep DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

type Rep DescribeDatasetImportJob = D1 ('MetaData "DescribeDatasetImportJob" "Amazonka.Forecast.DescribeDatasetImportJob" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "DescribeDatasetImportJob'" 'PrefixI 'True) (S1 ('MetaSel ('Just "datasetImportJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DescribeDatasetImportJob Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

newDescribeDatasetImportJob Source #

Create a value of DescribeDatasetImportJob 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:datasetImportJobArn:DescribeDatasetImportJob', describeDatasetImportJob_datasetImportJobArn - The Amazon Resource Name (ARN) of the dataset import job.

Request Lenses

describeDatasetImportJob_datasetImportJobArn :: Lens' DescribeDatasetImportJob Text Source #

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

Destructuring the Response

data DescribeDatasetImportJobResponse Source #

See: newDescribeDatasetImportJobResponse smart constructor.

Constructors

DescribeDatasetImportJobResponse' 

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.

  • datasetArn :: Maybe Text

    The Amazon Resource Name (ARN) of the dataset that the training data was imported to.

  • timestampFormat :: Maybe Text

    The format of timestamps in the dataset. The format that you specify depends on the DataFrequency specified when the dataset was created. The following formats are supported

    • "yyyy-MM-dd"

      For the following data frequencies: Y, M, W, and D

    • "yyyy-MM-dd HH:mm:ss"

      For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D

  • dataSize :: Maybe Double

    The size of the dataset in gigabytes (GB) after the import job has finished.

  • estimatedTimeRemainingInMinutes :: Maybe Integer

    The estimated time remaining in minutes for the dataset import job to complete.

  • fieldStatistics :: Maybe (HashMap Text Statistics)

    Statistical information about each field in the input data.

  • 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.

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

  • datasetImportJobArn :: Maybe Text

    The ARN of the dataset import job.

  • useGeolocationForTimeZone :: Maybe Bool

    Whether TimeZone is automatically derived from the geolocation attribute.

  • message :: Maybe Text

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

  • geolocationFormat :: Maybe Text

    The format of the geolocation attribute. Valid Values:"LAT_LONG" and "CC_POSTALCODE".

  • timeZone :: Maybe Text

    The single time zone applied to every item in the dataset

  • 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.
  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq DescribeDatasetImportJobResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

Read DescribeDatasetImportJobResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

Show DescribeDatasetImportJobResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

Generic DescribeDatasetImportJobResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

Associated Types

type Rep DescribeDatasetImportJobResponse :: Type -> Type #

NFData DescribeDatasetImportJobResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

type Rep DescribeDatasetImportJobResponse Source # 
Instance details

Defined in Amazonka.Forecast.DescribeDatasetImportJob

type Rep DescribeDatasetImportJobResponse = D1 ('MetaData "DescribeDatasetImportJobResponse" "Amazonka.Forecast.DescribeDatasetImportJob" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "DescribeDatasetImportJobResponse'" '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 "datasetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "timestampFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "dataSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "estimatedTimeRemainingInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "fieldStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Statistics)))))) :*: (((S1 ('MetaSel ('Just "dataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataSource)) :*: S1 ('MetaSel ('Just "datasetImportJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "useGeolocationForTimeZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "geolocationFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timeZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lastModificationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDescribeDatasetImportJobResponse Source #

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

$sel:status:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_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:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_datasetImportJobName - The name of the dataset import job.

$sel:datasetArn:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_datasetArn - The Amazon Resource Name (ARN) of the dataset that the training data was imported to.

$sel:timestampFormat:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_timestampFormat - The format of timestamps in the dataset. The format that you specify depends on the DataFrequency specified when the dataset was created. The following formats are supported

  • "yyyy-MM-dd"

    For the following data frequencies: Y, M, W, and D

  • "yyyy-MM-dd HH:mm:ss"

    For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D

$sel:dataSize:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_dataSize - The size of the dataset in gigabytes (GB) after the import job has finished.

$sel:estimatedTimeRemainingInMinutes:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_estimatedTimeRemainingInMinutes - The estimated time remaining in minutes for the dataset import job to complete.

$sel:fieldStatistics:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_fieldStatistics - Statistical information about each field in the input data.

$sel:dataSource:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_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.

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

$sel:datasetImportJobArn:DescribeDatasetImportJob', describeDatasetImportJobResponse_datasetImportJobArn - The ARN of the dataset import job.

$sel:useGeolocationForTimeZone:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_useGeolocationForTimeZone - Whether TimeZone is automatically derived from the geolocation attribute.

$sel:message:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_message - If an error occurred, an informational message about the error.

$sel:geolocationFormat:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_geolocationFormat - The format of the geolocation attribute. Valid Values:"LAT_LONG" and "CC_POSTALCODE".

$sel:timeZone:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_timeZone - The single time zone applied to every item in the dataset

$sel:lastModificationTime:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_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.

$sel:httpStatus:DescribeDatasetImportJobResponse', describeDatasetImportJobResponse_httpStatus - The response's http status code.

Response Lenses

describeDatasetImportJobResponse_status :: Lens' DescribeDatasetImportJobResponse (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

describeDatasetImportJobResponse_datasetArn :: Lens' DescribeDatasetImportJobResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the dataset that the training data was imported to.

describeDatasetImportJobResponse_timestampFormat :: Lens' DescribeDatasetImportJobResponse (Maybe Text) Source #

The format of timestamps in the dataset. The format that you specify depends on the DataFrequency specified when the dataset was created. The following formats are supported

  • "yyyy-MM-dd"

    For the following data frequencies: Y, M, W, and D

  • "yyyy-MM-dd HH:mm:ss"

    For the following data frequencies: H, 30min, 15min, and 1min; and optionally, for: Y, M, W, and D

describeDatasetImportJobResponse_dataSize :: Lens' DescribeDatasetImportJobResponse (Maybe Double) Source #

The size of the dataset in gigabytes (GB) after the import job has finished.

describeDatasetImportJobResponse_estimatedTimeRemainingInMinutes :: Lens' DescribeDatasetImportJobResponse (Maybe Integer) Source #

The estimated time remaining in minutes for the dataset import job to complete.

describeDatasetImportJobResponse_dataSource :: Lens' DescribeDatasetImportJobResponse (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.

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

describeDatasetImportJobResponse_useGeolocationForTimeZone :: Lens' DescribeDatasetImportJobResponse (Maybe Bool) Source #

Whether TimeZone is automatically derived from the geolocation attribute.

describeDatasetImportJobResponse_message :: Lens' DescribeDatasetImportJobResponse (Maybe Text) Source #

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

describeDatasetImportJobResponse_geolocationFormat :: Lens' DescribeDatasetImportJobResponse (Maybe Text) Source #

The format of the geolocation attribute. Valid Values:"LAT_LONG" and "CC_POSTALCODE".

describeDatasetImportJobResponse_timeZone :: Lens' DescribeDatasetImportJobResponse (Maybe Text) Source #

The single time zone applied to every item in the dataset

describeDatasetImportJobResponse_lastModificationTime :: Lens' DescribeDatasetImportJobResponse (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.