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 |
Updates a trigger definition.
Synopsis
- updateTrigger :: Text -> TriggerUpdate -> UpdateTrigger
- data UpdateTrigger
- utName :: Lens' UpdateTrigger Text
- utTriggerUpdate :: Lens' UpdateTrigger TriggerUpdate
- updateTriggerResponse :: Int -> UpdateTriggerResponse
- data UpdateTriggerResponse
- updrsTrigger :: Lens' UpdateTriggerResponse (Maybe Trigger)
- updrsResponseStatus :: Lens' UpdateTriggerResponse Int
Creating a Request
Creates a value of UpdateTrigger
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
utName
- The name of the trigger to update.utTriggerUpdate
- The new values with which to update the trigger.
data UpdateTrigger Source #
See: updateTrigger
smart constructor.
Instances
Request Lenses
utTriggerUpdate :: Lens' UpdateTrigger TriggerUpdate Source #
The new values with which to update the trigger.
Destructuring the Response
updateTriggerResponse Source #
Creates a value of UpdateTriggerResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
updrsTrigger
- The resulting trigger definition.updrsResponseStatus
- -- | The response status code.
data UpdateTriggerResponse Source #
See: updateTriggerResponse
smart constructor.
Instances
Response Lenses
updrsTrigger :: Lens' UpdateTriggerResponse (Maybe Trigger) Source #
The resulting trigger definition.
updrsResponseStatus :: Lens' UpdateTriggerResponse Int Source #
- - | The response status code.