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.StopTrigger
Description
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.
Constructors
StopTrigger' | |
Instances
Arguments
:: Text | |
-> StopTrigger |
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:
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.
Constructors
StopTriggerResponse' | |
Fields
|
Instances
newStopTriggerResponse Source #
Arguments
:: Int | |
-> StopTriggerResponse |
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:
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.