| 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.ServiceCatalog.UpdateTagOption
Description
Updates the specified TagOption.
Synopsis
- data UpdateTagOption = UpdateTagOption' {}
- newUpdateTagOption :: Text -> UpdateTagOption
- updateTagOption_active :: Lens' UpdateTagOption (Maybe Bool)
- updateTagOption_value :: Lens' UpdateTagOption (Maybe Text)
- 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.
Constructors
| UpdateTagOption' | |
Instances
Arguments
| :: Text | |
| -> UpdateTagOption |
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:
UpdateTagOption, updateTagOption_active - The updated active state.
UpdateTagOption, updateTagOption_value - The updated value.
UpdateTagOption, updateTagOption_id - The TagOption identifier.
Request Lenses
updateTagOption_active :: Lens' UpdateTagOption (Maybe Bool) Source #
The updated active state.
updateTagOption_value :: Lens' UpdateTagOption (Maybe Text) Source #
The updated value.
updateTagOption_id :: Lens' UpdateTagOption Text Source #
The TagOption identifier.
Destructuring the Response
data UpdateTagOptionResponse Source #
See: newUpdateTagOptionResponse smart constructor.
Constructors
| UpdateTagOptionResponse' | |
Fields
| |
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.