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 |
Deletes the content of the specified dataset.
Synopsis
- data DeleteDatasetContent = DeleteDatasetContent' {
- versionId :: Maybe Text
- datasetName :: Text
- newDeleteDatasetContent :: Text -> DeleteDatasetContent
- deleteDatasetContent_versionId :: Lens' DeleteDatasetContent (Maybe Text)
- deleteDatasetContent_datasetName :: Lens' DeleteDatasetContent Text
- data DeleteDatasetContentResponse = DeleteDatasetContentResponse' {
- newDeleteDatasetContentResponse :: DeleteDatasetContentResponse
Creating a Request
data DeleteDatasetContent Source #
See: newDeleteDatasetContent
smart constructor.
DeleteDatasetContent' | |
|
Instances
newDeleteDatasetContent Source #
Create a value of DeleteDatasetContent
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:DeleteDatasetContent'
, deleteDatasetContent_versionId
- The version of the dataset whose content is deleted. You can also use
the strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or
latest successfully completed data set. If not specified,
"$LATEST_SUCCEEDED" is the default.
$sel:datasetName:DeleteDatasetContent'
, deleteDatasetContent_datasetName
- The name of the dataset whose content is deleted.
Request Lenses
deleteDatasetContent_versionId :: Lens' DeleteDatasetContent (Maybe Text) Source #
The version of the dataset whose content is deleted. You can also use the strings "$LATEST" or "$LATEST_SUCCEEDED" to delete the latest or latest successfully completed data set. If not specified, "$LATEST_SUCCEEDED" is the default.
deleteDatasetContent_datasetName :: Lens' DeleteDatasetContent Text Source #
The name of the dataset whose content is deleted.
Destructuring the Response
data DeleteDatasetContentResponse Source #
See: newDeleteDatasetContentResponse
smart constructor.
Instances
newDeleteDatasetContentResponse :: DeleteDatasetContentResponse Source #
Create a value of DeleteDatasetContentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.