| 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.CloudWatchEvents.CancelReplay
Description
Cancels the specified replay.
Synopsis
- data CancelReplay = CancelReplay' {
- replayName :: Text
- newCancelReplay :: Text -> CancelReplay
- cancelReplay_replayName :: Lens' CancelReplay Text
- data CancelReplayResponse = CancelReplayResponse' {
- replayArn :: Maybe Text
- state :: Maybe ReplayState
- stateReason :: Maybe Text
- httpStatus :: Int
- newCancelReplayResponse :: Int -> CancelReplayResponse
- cancelReplayResponse_replayArn :: Lens' CancelReplayResponse (Maybe Text)
- cancelReplayResponse_state :: Lens' CancelReplayResponse (Maybe ReplayState)
- cancelReplayResponse_stateReason :: Lens' CancelReplayResponse (Maybe Text)
- cancelReplayResponse_httpStatus :: Lens' CancelReplayResponse Int
Creating a Request
data CancelReplay Source #
See: newCancelReplay smart constructor.
Constructors
| CancelReplay' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> CancelReplay |
Create a value of CancelReplay 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:
CancelReplay, cancelReplay_replayName - The name of the replay to cancel.
Request Lenses
cancelReplay_replayName :: Lens' CancelReplay Text Source #
The name of the replay to cancel.
Destructuring the Response
data CancelReplayResponse Source #
See: newCancelReplayResponse smart constructor.
Constructors
| CancelReplayResponse' | |
Fields
| |
Instances
newCancelReplayResponse Source #
Arguments
| :: Int | |
| -> CancelReplayResponse |
Create a value of CancelReplayResponse 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:replayArn:CancelReplayResponse', cancelReplayResponse_replayArn - The ARN of the replay to cancel.
CancelReplayResponse, cancelReplayResponse_state - The current state of the replay.
CancelReplayResponse, cancelReplayResponse_stateReason - The reason that the replay is in the current state.
$sel:httpStatus:CancelReplayResponse', cancelReplayResponse_httpStatus - The response's http status code.
Response Lenses
cancelReplayResponse_replayArn :: Lens' CancelReplayResponse (Maybe Text) Source #
The ARN of the replay to cancel.
cancelReplayResponse_state :: Lens' CancelReplayResponse (Maybe ReplayState) Source #
The current state of the replay.
cancelReplayResponse_stateReason :: Lens' CancelReplayResponse (Maybe Text) Source #
The reason that the replay is in the current state.
cancelReplayResponse_httpStatus :: Lens' CancelReplayResponse Int Source #
The response's http status code.