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 the content of a dataset by applying a queryAction
(a SQL
query) or a containerAction
(executing a containerized application).
Synopsis
- data CreateDatasetContent = CreateDatasetContent' {
- versionId :: Maybe Text
- datasetName :: Text
- newCreateDatasetContent :: Text -> CreateDatasetContent
- createDatasetContent_versionId :: Lens' CreateDatasetContent (Maybe Text)
- createDatasetContent_datasetName :: Lens' CreateDatasetContent Text
- data CreateDatasetContentResponse = CreateDatasetContentResponse' {
- versionId :: Maybe Text
- httpStatus :: Int
- newCreateDatasetContentResponse :: Int -> CreateDatasetContentResponse
- createDatasetContentResponse_versionId :: Lens' CreateDatasetContentResponse (Maybe Text)
- createDatasetContentResponse_httpStatus :: Lens' CreateDatasetContentResponse Int
Creating a Request
data CreateDatasetContent Source #
See: newCreateDatasetContent
smart constructor.
CreateDatasetContent' | |
|
Instances
newCreateDatasetContent Source #
Create a value of CreateDatasetContent
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:versionId:CreateDatasetContent'
, createDatasetContent_versionId
- The version ID of the dataset content. To specify versionId
for a
dataset content, the dataset must use a
DeltaTimer
filter.
$sel:datasetName:CreateDatasetContent'
, createDatasetContent_datasetName
- The name of the dataset.
Request Lenses
createDatasetContent_versionId :: Lens' CreateDatasetContent (Maybe Text) Source #
The version ID of the dataset content. To specify versionId
for a
dataset content, the dataset must use a
DeltaTimer
filter.
createDatasetContent_datasetName :: Lens' CreateDatasetContent Text Source #
The name of the dataset.
Destructuring the Response
data CreateDatasetContentResponse Source #
See: newCreateDatasetContentResponse
smart constructor.
CreateDatasetContentResponse' | |
|
Instances
newCreateDatasetContentResponse Source #
Create a value of CreateDatasetContentResponse
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:versionId:CreateDatasetContent'
, createDatasetContentResponse_versionId
- The version ID of the dataset contents that are being created.
$sel:httpStatus:CreateDatasetContentResponse'
, createDatasetContentResponse_httpStatus
- The response's http status code.
Response Lenses
createDatasetContentResponse_versionId :: Lens' CreateDatasetContentResponse (Maybe Text) Source #
The version ID of the dataset contents that are being created.
createDatasetContentResponse_httpStatus :: Lens' CreateDatasetContentResponse Int Source #
The response's http status code.