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 an Amazon Forecast dataset created using the CreateDataset operation.
In addition to listing the parameters specified in the CreateDataset
request, this operation includes the following dataset properties:
CreationTime
LastModificationTime
Status
Synopsis
- data DescribeDataset = DescribeDataset' {
- datasetArn :: Text
- newDescribeDataset :: Text -> DescribeDataset
- describeDataset_datasetArn :: Lens' DescribeDataset Text
- data DescribeDatasetResponse = DescribeDatasetResponse' {}
- newDescribeDatasetResponse :: Int -> DescribeDatasetResponse
- describeDatasetResponse_creationTime :: Lens' DescribeDatasetResponse (Maybe UTCTime)
- describeDatasetResponse_status :: Lens' DescribeDatasetResponse (Maybe Text)
- describeDatasetResponse_dataFrequency :: Lens' DescribeDatasetResponse (Maybe Text)
- describeDatasetResponse_datasetArn :: Lens' DescribeDatasetResponse (Maybe Text)
- describeDatasetResponse_domain :: Lens' DescribeDatasetResponse (Maybe Domain)
- describeDatasetResponse_schema :: Lens' DescribeDatasetResponse (Maybe Schema)
- describeDatasetResponse_datasetType :: Lens' DescribeDatasetResponse (Maybe DatasetType)
- describeDatasetResponse_datasetName :: Lens' DescribeDatasetResponse (Maybe Text)
- describeDatasetResponse_encryptionConfig :: Lens' DescribeDatasetResponse (Maybe EncryptionConfig)
- describeDatasetResponse_lastModificationTime :: Lens' DescribeDatasetResponse (Maybe UTCTime)
- describeDatasetResponse_httpStatus :: Lens' DescribeDatasetResponse Int
Creating a Request
data DescribeDataset Source #
See: newDescribeDataset
smart constructor.
DescribeDataset' | |
|
Instances
Create a value of DescribeDataset
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:datasetArn:DescribeDataset'
, describeDataset_datasetArn
- The Amazon Resource Name (ARN) of the dataset.
Request Lenses
describeDataset_datasetArn :: Lens' DescribeDataset Text Source #
The Amazon Resource Name (ARN) of the dataset.
Destructuring the Response
data DescribeDatasetResponse Source #
See: newDescribeDatasetResponse
smart constructor.
DescribeDatasetResponse' | |
|
Instances
newDescribeDatasetResponse Source #
Create a value of DescribeDatasetResponse
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:DescribeDatasetResponse'
, describeDatasetResponse_creationTime
- When the dataset was created.
$sel:status:DescribeDatasetResponse'
, describeDatasetResponse_status
- The status of the dataset. States include:
ACTIVE
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
UPDATE_PENDING
,UPDATE_IN_PROGRESS
,UPDATE_FAILED
The UPDATE
states apply while data is imported to the dataset from a
call to the CreateDatasetImportJob operation and reflect the status of
the dataset import job. For example, when the import job status is
CREATE_IN_PROGRESS
, the status of the dataset is UPDATE_IN_PROGRESS
.
The Status
of the dataset must be ACTIVE
before you can import
training data.
$sel:dataFrequency:DescribeDatasetResponse'
, describeDatasetResponse_dataFrequency
- The frequency of data collection.
Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "M" indicates every month and "30min" indicates every 30 minutes.
$sel:datasetArn:DescribeDataset'
, describeDatasetResponse_datasetArn
- The Amazon Resource Name (ARN) of the dataset.
$sel:domain:DescribeDatasetResponse'
, describeDatasetResponse_domain
- The domain associated with the dataset.
$sel:schema:DescribeDatasetResponse'
, describeDatasetResponse_schema
- An array of SchemaAttribute
objects that specify the dataset fields.
Each SchemaAttribute
specifies the name and data type of a field.
$sel:datasetType:DescribeDatasetResponse'
, describeDatasetResponse_datasetType
- The dataset type.
$sel:datasetName:DescribeDatasetResponse'
, describeDatasetResponse_datasetName
- The name of the dataset.
$sel:encryptionConfig:DescribeDatasetResponse'
, describeDatasetResponse_encryptionConfig
- The AWS Key Management Service (KMS) key and the AWS Identity and Access
Management (IAM) role that Amazon Forecast can assume to access the key.
$sel:lastModificationTime:DescribeDatasetResponse'
, describeDatasetResponse_lastModificationTime
- When you create a dataset, LastModificationTime
is the same as
CreationTime
. While data is being imported to the dataset,
LastModificationTime
is the current time of the DescribeDataset
call. After a CreateDatasetImportJob operation has finished,
LastModificationTime
is when the import job completed or failed.
$sel:httpStatus:DescribeDatasetResponse'
, describeDatasetResponse_httpStatus
- The response's http status code.
Response Lenses
describeDatasetResponse_creationTime :: Lens' DescribeDatasetResponse (Maybe UTCTime) Source #
When the dataset was created.
describeDatasetResponse_status :: Lens' DescribeDatasetResponse (Maybe Text) Source #
The status of the dataset. States include:
ACTIVE
CREATE_PENDING
,CREATE_IN_PROGRESS
,CREATE_FAILED
DELETE_PENDING
,DELETE_IN_PROGRESS
,DELETE_FAILED
UPDATE_PENDING
,UPDATE_IN_PROGRESS
,UPDATE_FAILED
The UPDATE
states apply while data is imported to the dataset from a
call to the CreateDatasetImportJob operation and reflect the status of
the dataset import job. For example, when the import job status is
CREATE_IN_PROGRESS
, the status of the dataset is UPDATE_IN_PROGRESS
.
The Status
of the dataset must be ACTIVE
before you can import
training data.
describeDatasetResponse_dataFrequency :: Lens' DescribeDatasetResponse (Maybe Text) Source #
The frequency of data collection.
Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "M" indicates every month and "30min" indicates every 30 minutes.
describeDatasetResponse_datasetArn :: Lens' DescribeDatasetResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dataset.
describeDatasetResponse_domain :: Lens' DescribeDatasetResponse (Maybe Domain) Source #
The domain associated with the dataset.
describeDatasetResponse_schema :: Lens' DescribeDatasetResponse (Maybe Schema) Source #
An array of SchemaAttribute
objects that specify the dataset fields.
Each SchemaAttribute
specifies the name and data type of a field.
describeDatasetResponse_datasetType :: Lens' DescribeDatasetResponse (Maybe DatasetType) Source #
The dataset type.
describeDatasetResponse_datasetName :: Lens' DescribeDatasetResponse (Maybe Text) Source #
The name of the dataset.
describeDatasetResponse_encryptionConfig :: Lens' DescribeDatasetResponse (Maybe EncryptionConfig) Source #
The AWS Key Management Service (KMS) key and the AWS Identity and Access Management (IAM) role that Amazon Forecast can assume to access the key.
describeDatasetResponse_lastModificationTime :: Lens' DescribeDatasetResponse (Maybe UTCTime) Source #
When you create a dataset, LastModificationTime
is the same as
CreationTime
. While data is being imported to the dataset,
LastModificationTime
is the current time of the DescribeDataset
call. After a CreateDatasetImportJob operation has finished,
LastModificationTime
is when the import job completed or failed.
describeDatasetResponse_httpStatus :: Lens' DescribeDatasetResponse Int Source #
The response's http status code.