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 label.
You cannot delete labels that are included in an event type in Amazon Fraud Detector.
You cannot delete a label assigned to an event ID. You must first delete the relevant event ID.
When you delete a label, Amazon Fraud Detector permanently deletes that label and the data is no longer stored in Amazon Fraud Detector.
Synopsis
Creating a Request
data DeleteLabel Source #
See: newDeleteLabel
smart constructor.
Instances
Create a value of DeleteLabel
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:DeleteLabel'
, deleteLabel_name
- The name of the label to delete.
Request Lenses
deleteLabel_name :: Lens' DeleteLabel Text Source #
The name of the label to delete.
Destructuring the Response
data DeleteLabelResponse Source #
See: newDeleteLabelResponse
smart constructor.
DeleteLabelResponse' | |
|
Instances
newDeleteLabelResponse Source #
Create a value of DeleteLabelResponse
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:DeleteLabelResponse'
, deleteLabelResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLabelResponse_httpStatus :: Lens' DeleteLabelResponse Int Source #
The response's http status code.