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 |
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' {
- datasetSchema :: Maybe DatasetSchema
- serverSideKmsKeyId :: Maybe Text
- tags :: Maybe [Tag]
- datasetName :: Text
- clientToken :: Text
- newCreateDataset :: Text -> Text -> CreateDataset
- createDataset_datasetSchema :: Lens' CreateDataset (Maybe DatasetSchema)
- createDataset_serverSideKmsKeyId :: Lens' CreateDataset (Maybe Text)
- createDataset_tags :: Lens' CreateDataset (Maybe [Tag])
- createDataset_datasetName :: Lens' CreateDataset Text
- createDataset_clientToken :: Lens' CreateDataset Text
- data CreateDatasetResponse = CreateDatasetResponse' {
- datasetArn :: Maybe Text
- datasetName :: Maybe Text
- status :: Maybe DatasetStatus
- httpStatus :: Int
- newCreateDatasetResponse :: Int -> CreateDatasetResponse
- createDatasetResponse_datasetArn :: Lens' CreateDatasetResponse (Maybe Text)
- createDatasetResponse_datasetName :: Lens' CreateDatasetResponse (Maybe Text)
- createDatasetResponse_status :: Lens' CreateDatasetResponse (Maybe DatasetStatus)
- createDatasetResponse_httpStatus :: Lens' CreateDatasetResponse Int
Creating a Request
data CreateDataset Source #
See: newCreateDataset
smart constructor.
CreateDataset' | |
|
Instances
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: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:serverSideKmsKeyId:CreateDataset'
, createDataset_serverSideKmsKeyId
- Provides the identifier of the KMS key used to encrypt dataset data by
Amazon Lookout for Equipment.
$sel:tags:CreateDataset'
, createDataset_tags
- Any tags associated with the ingested data described in the dataset.
CreateDataset
, createDataset_datasetName
- The name of the dataset being created.
$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_datasetSchema :: Lens' CreateDataset (Maybe DatasetSchema) Source #
A JSON description of the data that is in each time series dataset, including names, column names, and data types.
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_tags :: Lens' CreateDataset (Maybe [Tag]) Source #
Any tags associated with the ingested data described in the dataset.
createDataset_datasetName :: Lens' CreateDataset Text Source #
The name of the dataset being created.
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:
CreateDatasetResponse
, createDatasetResponse_datasetArn
- The Amazon Resource Name (ARN) of the dataset being created.
CreateDataset
, createDatasetResponse_datasetName
- The name of the dataset being created.
CreateDatasetResponse
, createDatasetResponse_status
- Indicates the status of the CreateDataset
operation.
$sel:httpStatus:CreateDatasetResponse'
, createDatasetResponse_httpStatus
- The response's http status code.
Response Lenses
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_status :: Lens' CreateDatasetResponse (Maybe DatasetStatus) Source #
Indicates the status of the CreateDataset
operation.
createDatasetResponse_httpStatus :: Lens' CreateDatasetResponse Int Source #
The response's http status code.