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 |
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
- data DescribeDatasetImportJob = DescribeDatasetImportJob' {}
- newDescribeDatasetImportJob :: Text -> DescribeDatasetImportJob
- describeDatasetImportJob_datasetImportJobArn :: Lens' DescribeDatasetImportJob Text
- data DescribeDatasetImportJobResponse = DescribeDatasetImportJobResponse' {
- creationTime :: Maybe POSIX
- status :: Maybe Text
- datasetImportJobName :: Maybe Text
- datasetArn :: Maybe Text
- timestampFormat :: Maybe Text
- dataSize :: Maybe Double
- estimatedTimeRemainingInMinutes :: Maybe Integer
- fieldStatistics :: Maybe (HashMap Text Statistics)
- dataSource :: Maybe DataSource
- datasetImportJobArn :: Maybe Text
- useGeolocationForTimeZone :: Maybe Bool
- message :: Maybe Text
- geolocationFormat :: Maybe Text
- timeZone :: Maybe Text
- lastModificationTime :: Maybe POSIX
- httpStatus :: Int
- newDescribeDatasetImportJobResponse :: Int -> DescribeDatasetImportJobResponse
- describeDatasetImportJobResponse_creationTime :: Lens' DescribeDatasetImportJobResponse (Maybe UTCTime)
- describeDatasetImportJobResponse_status :: Lens' DescribeDatasetImportJobResponse (Maybe Text)
- describeDatasetImportJobResponse_datasetImportJobName :: Lens' DescribeDatasetImportJobResponse (Maybe Text)
- describeDatasetImportJobResponse_datasetArn :: Lens' DescribeDatasetImportJobResponse (Maybe Text)
- describeDatasetImportJobResponse_timestampFormat :: Lens' DescribeDatasetImportJobResponse (Maybe Text)
- describeDatasetImportJobResponse_dataSize :: Lens' DescribeDatasetImportJobResponse (Maybe Double)
- describeDatasetImportJobResponse_estimatedTimeRemainingInMinutes :: Lens' DescribeDatasetImportJobResponse (Maybe Integer)
- describeDatasetImportJobResponse_fieldStatistics :: Lens' DescribeDatasetImportJobResponse (Maybe (HashMap Text Statistics))
- describeDatasetImportJobResponse_dataSource :: Lens' DescribeDatasetImportJobResponse (Maybe DataSource)
- describeDatasetImportJobResponse_datasetImportJobArn :: Lens' DescribeDatasetImportJobResponse (Maybe Text)
- describeDatasetImportJobResponse_useGeolocationForTimeZone :: Lens' DescribeDatasetImportJobResponse (Maybe Bool)
- describeDatasetImportJobResponse_message :: Lens' DescribeDatasetImportJobResponse (Maybe Text)
- describeDatasetImportJobResponse_geolocationFormat :: Lens' DescribeDatasetImportJobResponse (Maybe Text)
- describeDatasetImportJobResponse_timeZone :: Lens' DescribeDatasetImportJobResponse (Maybe Text)
- describeDatasetImportJobResponse_lastModificationTime :: Lens' DescribeDatasetImportJobResponse (Maybe UTCTime)
- describeDatasetImportJobResponse_httpStatus :: Lens' DescribeDatasetImportJobResponse Int
Creating a Request
data DescribeDatasetImportJob Source #
See: newDescribeDatasetImportJob
smart constructor.
DescribeDatasetImportJob' | |
|
Instances
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.
DescribeDatasetImportJobResponse' | |
|
Instances
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
- TheCreationTime
.CREATE_IN_PROGRESS
- The current timestamp.CREATE_STOPPING
- The current timestamp.CREATE_STOPPED
- When the job stopped.ACTIVE
orCREATE_FAILED
- When the job finished or failed.
$sel:httpStatus:DescribeDatasetImportJobResponse'
, describeDatasetImportJobResponse_httpStatus
- The response's http status code.
Response Lenses
describeDatasetImportJobResponse_creationTime :: Lens' DescribeDatasetImportJobResponse (Maybe UTCTime) Source #
When the dataset import job was created.
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_datasetImportJobName :: Lens' DescribeDatasetImportJobResponse (Maybe Text) Source #
The name of the dataset import job.
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_fieldStatistics :: Lens' DescribeDatasetImportJobResponse (Maybe (HashMap Text Statistics)) Source #
Statistical information about each field in the input data.
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_datasetImportJobArn :: Lens' DescribeDatasetImportJobResponse (Maybe Text) Source #
The ARN of the dataset import job.
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
- TheCreationTime
.CREATE_IN_PROGRESS
- The current timestamp.CREATE_STOPPING
- The current timestamp.CREATE_STOPPED
- When the job stopped.ACTIVE
orCREATE_FAILED
- When the job finished or failed.
describeDatasetImportJobResponse_httpStatus :: Lens' DescribeDatasetImportJobResponse Int Source #
The response's http status code.