| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Forecast.DescribeDataset
Description
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_dataFrequency :: Lens' DescribeDatasetResponse (Maybe Text)
- describeDatasetResponse_datasetArn :: Lens' DescribeDatasetResponse (Maybe Text)
- describeDatasetResponse_datasetName :: Lens' DescribeDatasetResponse (Maybe Text)
- describeDatasetResponse_datasetType :: Lens' DescribeDatasetResponse (Maybe DatasetType)
- describeDatasetResponse_domain :: Lens' DescribeDatasetResponse (Maybe Domain)
- describeDatasetResponse_encryptionConfig :: Lens' DescribeDatasetResponse (Maybe EncryptionConfig)
- describeDatasetResponse_lastModificationTime :: Lens' DescribeDatasetResponse (Maybe UTCTime)
- describeDatasetResponse_schema :: Lens' DescribeDatasetResponse (Maybe Schema)
- describeDatasetResponse_status :: Lens' DescribeDatasetResponse (Maybe Text)
- describeDatasetResponse_httpStatus :: Lens' DescribeDatasetResponse Int
Creating a Request
data DescribeDataset Source #
See: newDescribeDataset smart constructor.
Constructors
| DescribeDataset' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> DescribeDataset |
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:
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.
Constructors
| DescribeDatasetResponse' | |
Fields
| |
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:
DescribeDatasetResponse, describeDatasetResponse_creationTime - When the dataset was created.
$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.
DescribeDataset, describeDatasetResponse_datasetArn - The Amazon Resource Name (ARN) of the dataset.
DescribeDatasetResponse, describeDatasetResponse_datasetName - The name of the dataset.
DescribeDatasetResponse, describeDatasetResponse_datasetType - The dataset type.
DescribeDatasetResponse, describeDatasetResponse_domain - The domain associated with 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.
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.
DescribeDatasetResponse, describeDatasetResponse_schema - An array of SchemaAttribute objects that specify the dataset fields.
Each SchemaAttribute specifies the name and data type of a field.
DescribeDatasetResponse, describeDatasetResponse_status - The status of the dataset. States include:
ACTIVE
CREATE_PENDING,CREATE_IN_PROGRESS,CREATE_FAILEDDELETE_PENDING,DELETE_IN_PROGRESS,DELETE_FAILEDUPDATE_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: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_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_datasetName :: Lens' DescribeDatasetResponse (Maybe Text) Source #
The name of the dataset.
describeDatasetResponse_datasetType :: Lens' DescribeDatasetResponse (Maybe DatasetType) Source #
The dataset type.
describeDatasetResponse_domain :: Lens' DescribeDatasetResponse (Maybe Domain) Source #
The domain associated with 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_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_status :: Lens' DescribeDatasetResponse (Maybe Text) Source #
The status of the dataset. States include:
ACTIVE
CREATE_PENDING,CREATE_IN_PROGRESS,CREATE_FAILEDDELETE_PENDING,DELETE_IN_PROGRESS,DELETE_FAILEDUPDATE_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_httpStatus :: Lens' DescribeDatasetResponse Int Source #
The response's http status code.