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 |
Cancels the specified replay.
Synopsis
- data CancelReplay = CancelReplay' {
- replayName :: Text
- newCancelReplay :: Text -> CancelReplay
- cancelReplay_replayName :: Lens' CancelReplay Text
- data CancelReplayResponse = CancelReplayResponse' {
- state :: Maybe ReplayState
- replayArn :: Maybe Text
- stateReason :: Maybe Text
- httpStatus :: Int
- newCancelReplayResponse :: Int -> CancelReplayResponse
- cancelReplayResponse_state :: Lens' CancelReplayResponse (Maybe ReplayState)
- cancelReplayResponse_replayArn :: Lens' CancelReplayResponse (Maybe Text)
- cancelReplayResponse_stateReason :: Lens' CancelReplayResponse (Maybe Text)
- cancelReplayResponse_httpStatus :: Lens' CancelReplayResponse Int
Creating a Request
data CancelReplay Source #
See: newCancelReplay
smart constructor.
CancelReplay' | |
|
Instances
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:
$sel:replayName: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.
CancelReplayResponse' | |
|
Instances
newCancelReplayResponse Source #
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:state:CancelReplayResponse'
, cancelReplayResponse_state
- The current state of the replay.
$sel:replayArn:CancelReplayResponse'
, cancelReplayResponse_replayArn
- The ARN of the replay to cancel.
$sel:stateReason: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_state :: Lens' CancelReplayResponse (Maybe ReplayState) Source #
The current state of the replay.
cancelReplayResponse_replayArn :: Lens' CancelReplayResponse (Maybe Text) Source #
The ARN of the replay to cancel.
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.