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.
Synopsis
- data DeleteDataSet = DeleteDataSet' {
- awsAccountId :: Text
- dataSetId :: Text
- newDeleteDataSet :: Text -> Text -> DeleteDataSet
- deleteDataSet_awsAccountId :: Lens' DeleteDataSet Text
- deleteDataSet_dataSetId :: Lens' DeleteDataSet Text
- data DeleteDataSetResponse = DeleteDataSetResponse' {}
- newDeleteDataSetResponse :: Int -> DeleteDataSetResponse
- deleteDataSetResponse_requestId :: Lens' DeleteDataSetResponse (Maybe Text)
- deleteDataSetResponse_arn :: Lens' DeleteDataSetResponse (Maybe Text)
- deleteDataSetResponse_dataSetId :: Lens' DeleteDataSetResponse (Maybe Text)
- deleteDataSetResponse_status :: Lens' DeleteDataSetResponse Int
Creating a Request
data DeleteDataSet Source #
See: newDeleteDataSet
smart constructor.
DeleteDataSet' | |
|
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:awsAccountId:DeleteDataSet'
, deleteDataSet_awsAccountId
- The Amazon Web Services account ID.
$sel:dataSetId:DeleteDataSet'
, deleteDataSet_dataSetId
- The ID for the dataset that you want to create. This ID is unique per
Amazon Web Services Region for each Amazon Web Services account.
Request Lenses
deleteDataSet_awsAccountId :: Lens' DeleteDataSet Text Source #
The Amazon Web Services account ID.
deleteDataSet_dataSetId :: Lens' DeleteDataSet Text Source #
The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
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:requestId:DeleteDataSetResponse'
, deleteDataSetResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:arn:DeleteDataSetResponse'
, deleteDataSetResponse_arn
- The Amazon Resource Name (ARN) of the dataset.
$sel:dataSetId:DeleteDataSet'
, deleteDataSetResponse_dataSetId
- The ID for the dataset that you want to create. This ID is unique per
Amazon Web Services Region for each Amazon Web Services account.
$sel:status:DeleteDataSetResponse'
, deleteDataSetResponse_status
- The HTTP status of the request.
Response Lenses
deleteDataSetResponse_requestId :: Lens' DeleteDataSetResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
deleteDataSetResponse_arn :: Lens' DeleteDataSetResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the dataset.
deleteDataSetResponse_dataSetId :: Lens' DeleteDataSetResponse (Maybe Text) Source #
The ID for the dataset that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
deleteDataSetResponse_status :: Lens' DeleteDataSetResponse Int Source #
The HTTP status of the request.