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 |
Updates the specified TagOption.
Synopsis
- data UpdateTagOption = UpdateTagOption' {}
- newUpdateTagOption :: Text -> UpdateTagOption
- updateTagOption_value :: Lens' UpdateTagOption (Maybe Text)
- updateTagOption_active :: Lens' UpdateTagOption (Maybe Bool)
- updateTagOption_id :: Lens' UpdateTagOption Text
- data UpdateTagOptionResponse = UpdateTagOptionResponse' {}
- newUpdateTagOptionResponse :: Int -> UpdateTagOptionResponse
- updateTagOptionResponse_tagOptionDetail :: Lens' UpdateTagOptionResponse (Maybe TagOptionDetail)
- updateTagOptionResponse_httpStatus :: Lens' UpdateTagOptionResponse Int
Creating a Request
data UpdateTagOption Source #
See: newUpdateTagOption
smart constructor.
Instances
Create a value of UpdateTagOption
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:value:UpdateTagOption'
, updateTagOption_value
- The updated value.
$sel:active:UpdateTagOption'
, updateTagOption_active
- The updated active state.
$sel:id:UpdateTagOption'
, updateTagOption_id
- The TagOption identifier.
Request Lenses
updateTagOption_value :: Lens' UpdateTagOption (Maybe Text) Source #
The updated value.
updateTagOption_active :: Lens' UpdateTagOption (Maybe Bool) Source #
The updated active state.
updateTagOption_id :: Lens' UpdateTagOption Text Source #
The TagOption identifier.
Destructuring the Response
data UpdateTagOptionResponse Source #
See: newUpdateTagOptionResponse
smart constructor.
UpdateTagOptionResponse' | |
|
Instances
newUpdateTagOptionResponse Source #
Create a value of UpdateTagOptionResponse
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:tagOptionDetail:UpdateTagOptionResponse'
, updateTagOptionResponse_tagOptionDetail
- Information about the TagOption.
$sel:httpStatus:UpdateTagOptionResponse'
, updateTagOptionResponse_httpStatus
- The response's http status code.
Response Lenses
updateTagOptionResponse_tagOptionDetail :: Lens' UpdateTagOptionResponse (Maybe TagOptionDetail) Source #
Information about the TagOption.
updateTagOptionResponse_httpStatus :: Lens' UpdateTagOptionResponse Int Source #
The response's http status code.