Copyright | (c) 2013-2021 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 |
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.
Instances
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:
$sel:name: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.
StartTriggerResponse' | |
|
Instances
newStartTriggerResponse Source #
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:
$sel:name: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.