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 |
Creates a container for a collection of data being ingested for analysis. The dataset contains the metadata describing where the data is and what the data actually looks like. In other words, it contains the location of the data source, the data schema, and other information. A dataset also contains any tags associated with the ingested data.
Synopsis
- data CreateDataset = CreateDataset' {
- tags :: Maybe [Tag]
- serverSideKmsKeyId :: Maybe Text
- datasetName :: Text
- datasetSchema :: DatasetSchema
- clientToken :: Text
- newCreateDataset :: Text -> DatasetSchema -> Text -> CreateDataset
- createDataset_tags :: Lens' CreateDataset (Maybe [Tag])
- createDataset_serverSideKmsKeyId :: Lens' CreateDataset (Maybe Text)
- createDataset_datasetName :: Lens' CreateDataset Text
- createDataset_datasetSchema :: Lens' CreateDataset DatasetSchema
- createDataset_clientToken :: Lens' CreateDataset Text
- data CreateDatasetResponse = CreateDatasetResponse' {
- status :: Maybe DatasetStatus
- datasetArn :: Maybe Text
- datasetName :: Maybe Text
- httpStatus :: Int
- newCreateDatasetResponse :: Int -> CreateDatasetResponse
- createDatasetResponse_status :: Lens' CreateDatasetResponse (Maybe DatasetStatus)
- createDatasetResponse_datasetArn :: Lens' CreateDatasetResponse (Maybe Text)
- createDatasetResponse_datasetName :: Lens' CreateDatasetResponse (Maybe Text)
- createDatasetResponse_httpStatus :: Lens' CreateDatasetResponse Int
Creating a Request
data CreateDataset Source #
See: newCreateDataset
smart constructor.
CreateDataset' | |
|
Instances
:: Text | |
-> DatasetSchema | |
-> Text | |
-> CreateDataset |
Create a value of CreateDataset
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:tags:CreateDataset'
, createDataset_tags
- Any tags associated with the ingested data described in the dataset.
$sel:serverSideKmsKeyId:CreateDataset'
, createDataset_serverSideKmsKeyId
- Provides the identifier of the KMS key used to encrypt dataset data by
Amazon Lookout for Equipment.
$sel:datasetName:CreateDataset'
, createDataset_datasetName
- The name of the dataset being created.
$sel:datasetSchema:CreateDataset'
, createDataset_datasetSchema
- A JSON description of the data that is in each time series dataset,
including names, column names, and data types.
$sel:clientToken:CreateDataset'
, createDataset_clientToken
- A unique identifier for the request. If you do not set the client
request token, Amazon Lookout for Equipment generates one.
Request Lenses
createDataset_tags :: Lens' CreateDataset (Maybe [Tag]) Source #
Any tags associated with the ingested data described in the dataset.
createDataset_serverSideKmsKeyId :: Lens' CreateDataset (Maybe Text) Source #
Provides the identifier of the KMS key used to encrypt dataset data by Amazon Lookout for Equipment.
createDataset_datasetName :: Lens' CreateDataset Text Source #
The name of the dataset being created.
createDataset_datasetSchema :: Lens' CreateDataset DatasetSchema Source #
A JSON description of the data that is in each time series dataset, including names, column names, and data types.
createDataset_clientToken :: Lens' CreateDataset Text Source #
A unique identifier for the request. If you do not set the client request token, Amazon Lookout for Equipment generates one.
Destructuring the Response
data CreateDatasetResponse Source #
See: newCreateDatasetResponse
smart constructor.
CreateDatasetResponse' | |
|
Instances
newCreateDatasetResponse Source #
Create a value of CreateDatasetResponse
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:status:CreateDatasetResponse'
, createDatasetResponse_status
- Indicates the status of the CreateDataset
operation.
$sel:datasetArn:CreateDatasetResponse'
, createDatasetResponse_datasetArn
- The Amazon Resource Name (ARN) of the dataset being created.
$sel:datasetName:CreateDataset'
, createDatasetResponse_datasetName
- The name of the dataset being created.
$sel:httpStatus:CreateDatasetResponse'
, createDatasetResponse_httpStatus
- The response's http status code.
Response Lenses
createDatasetResponse_status :: Lens' CreateDatasetResponse (Maybe DatasetStatus) Source #
Indicates the status of the CreateDataset
operation.
createDatasetResponse_datasetArn :: Lens' CreateDatasetResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dataset being created.
createDatasetResponse_datasetName :: Lens' CreateDatasetResponse (Maybe Text) Source #
The name of the dataset being created.
createDatasetResponse_httpStatus :: Lens' CreateDatasetResponse Int Source #
The response's http status code.