| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FraudDetector.DeleteLabel
Description
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.
Constructors
| DeleteLabel' | |
Instances
Arguments
| :: Text | |
| -> DeleteLabel |
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:
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.
Constructors
| DeleteLabelResponse' | |
Fields
| |
Instances
newDeleteLabelResponse Source #
Arguments
| :: Int | |
| -> DeleteLabelResponse |
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.