| 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.Glue.UpdateTrigger
Description
Updates a trigger definition.
Synopsis
- data UpdateTrigger = UpdateTrigger' {}
- newUpdateTrigger :: Text -> TriggerUpdate -> UpdateTrigger
- updateTrigger_name :: Lens' UpdateTrigger Text
- updateTrigger_triggerUpdate :: Lens' UpdateTrigger TriggerUpdate
- data UpdateTriggerResponse = UpdateTriggerResponse' {
- trigger :: Maybe Trigger
- httpStatus :: Int
- newUpdateTriggerResponse :: Int -> UpdateTriggerResponse
- updateTriggerResponse_trigger :: Lens' UpdateTriggerResponse (Maybe Trigger)
- updateTriggerResponse_httpStatus :: Lens' UpdateTriggerResponse Int
Creating a Request
data UpdateTrigger Source #
See: newUpdateTrigger smart constructor.
Constructors
| UpdateTrigger' | |
Fields
| |
Instances
Create a value of UpdateTrigger 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:
UpdateTrigger, updateTrigger_name - The name of the trigger to update.
$sel:triggerUpdate:UpdateTrigger', updateTrigger_triggerUpdate - The new values with which to update the trigger.
Request Lenses
updateTrigger_name :: Lens' UpdateTrigger Text Source #
The name of the trigger to update.
updateTrigger_triggerUpdate :: Lens' UpdateTrigger TriggerUpdate Source #
The new values with which to update the trigger.
Destructuring the Response
data UpdateTriggerResponse Source #
See: newUpdateTriggerResponse smart constructor.
Constructors
| UpdateTriggerResponse' | |
Fields
| |
Instances
newUpdateTriggerResponse Source #
Create a value of UpdateTriggerResponse 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:
UpdateTriggerResponse, updateTriggerResponse_trigger - The resulting trigger definition.
$sel:httpStatus:UpdateTriggerResponse', updateTriggerResponse_httpStatus - The response's http status code.
Response Lenses
updateTriggerResponse_trigger :: Lens' UpdateTriggerResponse (Maybe Trigger) Source #
The resulting trigger definition.
updateTriggerResponse_httpStatus :: Lens' UpdateTriggerResponse Int Source #
The response's http status code.