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 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.
Instances
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:
$sel:name: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.
DeleteOutcomeResponse' | |
|
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.