| 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.PutOutcome
Description
Creates or updates an outcome.
Synopsis
- data PutOutcome = PutOutcome' {}
- newPutOutcome :: Text -> PutOutcome
- putOutcome_description :: Lens' PutOutcome (Maybe Text)
- putOutcome_tags :: Lens' PutOutcome (Maybe [Tag])
- putOutcome_name :: Lens' PutOutcome Text
- data PutOutcomeResponse = PutOutcomeResponse' {
- httpStatus :: Int
- newPutOutcomeResponse :: Int -> PutOutcomeResponse
- putOutcomeResponse_httpStatus :: Lens' PutOutcomeResponse Int
Creating a Request
data PutOutcome Source #
See: newPutOutcome smart constructor.
Constructors
| PutOutcome' | |
Instances
Arguments
| :: Text | |
| -> PutOutcome |
Create a value of PutOutcome 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:
PutOutcome, putOutcome_description - The outcome description.
$sel:tags:PutOutcome', putOutcome_tags - A collection of key and value pairs.
PutOutcome, putOutcome_name - The name of the outcome.
Request Lenses
putOutcome_description :: Lens' PutOutcome (Maybe Text) Source #
The outcome description.
putOutcome_tags :: Lens' PutOutcome (Maybe [Tag]) Source #
A collection of key and value pairs.
putOutcome_name :: Lens' PutOutcome Text Source #
The name of the outcome.
Destructuring the Response
data PutOutcomeResponse Source #
See: newPutOutcomeResponse smart constructor.
Constructors
| PutOutcomeResponse' | |
Fields
| |
Instances
newPutOutcomeResponse Source #
Arguments
| :: Int | |
| -> PutOutcomeResponse |
Create a value of PutOutcomeResponse 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:PutOutcomeResponse', putOutcomeResponse_httpStatus - The response's http status code.
Response Lenses
putOutcomeResponse_httpStatus :: Lens' PutOutcomeResponse Int Source #
The response's http status code.