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 a dataset from DataBrew.
Synopsis
- data DeleteDataset = DeleteDataset' {}
- newDeleteDataset :: Text -> DeleteDataset
- deleteDataset_name :: Lens' DeleteDataset Text
- data DeleteDatasetResponse = DeleteDatasetResponse' {
- httpStatus :: Int
- name :: Text
- newDeleteDatasetResponse :: Int -> Text -> DeleteDatasetResponse
- deleteDatasetResponse_httpStatus :: Lens' DeleteDatasetResponse Int
- deleteDatasetResponse_name :: Lens' DeleteDatasetResponse Text
Creating a Request
data DeleteDataset Source #
See: newDeleteDataset
smart constructor.
Instances
Create a value of DeleteDataset
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:name:DeleteDataset'
, deleteDataset_name
- The name of the dataset to be deleted.
Request Lenses
deleteDataset_name :: Lens' DeleteDataset Text Source #
The name of the dataset to be deleted.
Destructuring the Response
data DeleteDatasetResponse Source #
See: newDeleteDatasetResponse
smart constructor.
DeleteDatasetResponse' | |
|
Instances
newDeleteDatasetResponse Source #
Create a value of DeleteDatasetResponse
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:httpStatus:DeleteDatasetResponse'
, deleteDatasetResponse_httpStatus
- The response's http status code.
$sel:name:DeleteDataset'
, deleteDatasetResponse_name
- The name of the dataset that you deleted.
Response Lenses
deleteDatasetResponse_httpStatus :: Lens' DeleteDatasetResponse Int Source #
The response's http status code.
deleteDatasetResponse_name :: Lens' DeleteDatasetResponse Text Source #
The name of the dataset that you deleted.