| 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.DeleteOutcome
Description
Deletes an outcome.
You cannot delete an outcome that is used in a rule version.
When you delete an outcome, Amazon Fraud Detector permanently deletes that outcome and the data is no longer stored in Amazon Fraud Detector.
Synopsis
- data DeleteOutcome = DeleteOutcome' {}
- newDeleteOutcome :: Text -> DeleteOutcome
- deleteOutcome_name :: Lens' DeleteOutcome Text
- data DeleteOutcomeResponse = DeleteOutcomeResponse' {
- httpStatus :: Int
- newDeleteOutcomeResponse :: Int -> DeleteOutcomeResponse
- deleteOutcomeResponse_httpStatus :: Lens' DeleteOutcomeResponse Int
Creating a Request
data DeleteOutcome Source #
See: newDeleteOutcome smart constructor.
Constructors
| DeleteOutcome' | |
Instances
Arguments
| :: Text | |
| -> DeleteOutcome |
Create a value of DeleteOutcome 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:
DeleteOutcome, deleteOutcome_name - The name of the outcome to delete.
Request Lenses
deleteOutcome_name :: Lens' DeleteOutcome Text Source #
The name of the outcome to delete.
Destructuring the Response
data DeleteOutcomeResponse Source #
See: newDeleteOutcomeResponse smart constructor.
Constructors
| DeleteOutcomeResponse' | |
Fields
| |
Instances
newDeleteOutcomeResponse Source #
Create a value of DeleteOutcomeResponse 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:DeleteOutcomeResponse', deleteOutcomeResponse_httpStatus - The response's http status code.
Response Lenses
deleteOutcomeResponse_httpStatus :: Lens' DeleteOutcomeResponse Int Source #
The response's http status code.