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 |
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.
Instances
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:
$sel:description:PutOutcome'
, putOutcome_description
- The outcome description.
$sel:tags:PutOutcome'
, putOutcome_tags
- A collection of key and value pairs.
$sel:name: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.
PutOutcomeResponse' | |
|
Instances
newPutOutcomeResponse Source #
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.