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 |
Stops a specified trigger.
Synopsis
- data StopTrigger = StopTrigger' {}
- newStopTrigger :: Text -> StopTrigger
- stopTrigger_name :: Lens' StopTrigger Text
- data StopTriggerResponse = StopTriggerResponse' {
- name :: Maybe Text
- httpStatus :: Int
- newStopTriggerResponse :: Int -> StopTriggerResponse
- stopTriggerResponse_name :: Lens' StopTriggerResponse (Maybe Text)
- stopTriggerResponse_httpStatus :: Lens' StopTriggerResponse Int
Creating a Request
data StopTrigger Source #
See: newStopTrigger
smart constructor.
Instances
Create a value of StopTrigger
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:StopTrigger'
, stopTrigger_name
- The name of the trigger to stop.
Request Lenses
stopTrigger_name :: Lens' StopTrigger Text Source #
The name of the trigger to stop.
Destructuring the Response
data StopTriggerResponse Source #
See: newStopTriggerResponse
smart constructor.
StopTriggerResponse' | |
|
Instances
newStopTriggerResponse Source #
Create a value of StopTriggerResponse
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:StopTrigger'
, stopTriggerResponse_name
- The name of the trigger that was stopped.
$sel:httpStatus:StopTriggerResponse'
, stopTriggerResponse_httpStatus
- The response's http status code.
Response Lenses
stopTriggerResponse_name :: Lens' StopTriggerResponse (Maybe Text) Source #
The name of the trigger that was stopped.
stopTriggerResponse_httpStatus :: Lens' StopTriggerResponse Int Source #
The response's http status code.