| 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.StartTrigger
Description
Starts an existing trigger. See Triggering Jobs for information about how different types of trigger are started.
Synopsis
- data StartTrigger = StartTrigger' {}
- newStartTrigger :: Text -> StartTrigger
- startTrigger_name :: Lens' StartTrigger Text
- data StartTriggerResponse = StartTriggerResponse' {
- name :: Maybe Text
- httpStatus :: Int
- newStartTriggerResponse :: Int -> StartTriggerResponse
- startTriggerResponse_name :: Lens' StartTriggerResponse (Maybe Text)
- startTriggerResponse_httpStatus :: Lens' StartTriggerResponse Int
Creating a Request
data StartTrigger Source #
See: newStartTrigger smart constructor.
Constructors
| StartTrigger' | |
Instances
Arguments
| :: Text | |
| -> StartTrigger |
Create a value of StartTrigger 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:
StartTrigger, startTrigger_name - The name of the trigger to start.
Request Lenses
startTrigger_name :: Lens' StartTrigger Text Source #
The name of the trigger to start.
Destructuring the Response
data StartTriggerResponse Source #
See: newStartTriggerResponse smart constructor.
Constructors
| StartTriggerResponse' | |
Fields
| |
Instances
newStartTriggerResponse Source #
Arguments
| :: Int | |
| -> StartTriggerResponse |
Create a value of StartTriggerResponse 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:
StartTrigger, startTriggerResponse_name - The name of the trigger that was started.
$sel:httpStatus:StartTriggerResponse', startTriggerResponse_httpStatus - The response's http status code.
Response Lenses
startTriggerResponse_name :: Lens' StartTriggerResponse (Maybe Text) Source #
The name of the trigger that was started.
startTriggerResponse_httpStatus :: Lens' StartTriggerResponse Int Source #
The response's http status code.