Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Modify one of your existing presets.
Synopsis
- updatePreset :: Text -> UpdatePreset
- data UpdatePreset
- upSettings :: Lens' UpdatePreset (Maybe PresetSettings)
- upCategory :: Lens' UpdatePreset (Maybe Text)
- upDescription :: Lens' UpdatePreset (Maybe Text)
- upName :: Lens' UpdatePreset Text
- updatePresetResponse :: Int -> UpdatePresetResponse
- data UpdatePresetResponse
- uprsPreset :: Lens' UpdatePresetResponse (Maybe Preset)
- uprsResponseStatus :: Lens' UpdatePresetResponse Int
Creating a Request
:: Text | |
-> UpdatePreset |
Creates a value of UpdatePreset
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upSettings
- Undocumented member.upCategory
- The new category for the preset, if you are changing it.upDescription
- The new description for the preset, if you are changing it.upName
- The name of the preset you are modifying.
data UpdatePreset Source #
See: updatePreset
smart constructor.
Instances
Request Lenses
upSettings :: Lens' UpdatePreset (Maybe PresetSettings) Source #
Undocumented member.
upCategory :: Lens' UpdatePreset (Maybe Text) Source #
The new category for the preset, if you are changing it.
upDescription :: Lens' UpdatePreset (Maybe Text) Source #
The new description for the preset, if you are changing it.
Destructuring the Response
Creates a value of UpdatePresetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uprsPreset
- Undocumented member.uprsResponseStatus
- -- | The response status code.
data UpdatePresetResponse Source #
See: updatePresetResponse
smart constructor.
Instances
Response Lenses
uprsPreset :: Lens' UpdatePresetResponse (Maybe Preset) Source #
Undocumented member.
uprsResponseStatus :: Lens' UpdatePresetResponse Int Source #
- - | The response status code.