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 |
Retrieves details about a replay. Use DescribeReplay
to determine the
progress of a running replay. A replay processes events to replay based
on the time in the event, and replays them using 1 minute intervals. If
you use StartReplay
and specify an EventStartTime
and an
EventEndTime
that covers a 20 minute time range, the events are
replayed from the first minute of that 20 minute range first. Then the
events from the second minute are replayed. You can use DescribeReplay
to determine the progress of a replay. The value returned for
EventLastReplayedTime
indicates the time within the specified time
range associated with the last event replayed.
Synopsis
- data DescribeReplay = DescribeReplay' {
- replayName :: Text
- newDescribeReplay :: Text -> DescribeReplay
- describeReplay_replayName :: Lens' DescribeReplay Text
- data DescribeReplayResponse = DescribeReplayResponse' {
- description :: Maybe Text
- destination :: Maybe ReplayDestination
- eventEndTime :: Maybe POSIX
- eventLastReplayedTime :: Maybe POSIX
- eventSourceArn :: Maybe Text
- eventStartTime :: Maybe POSIX
- replayArn :: Maybe Text
- replayEndTime :: Maybe POSIX
- replayName :: Maybe Text
- replayStartTime :: Maybe POSIX
- state :: Maybe ReplayState
- stateReason :: Maybe Text
- httpStatus :: Int
- newDescribeReplayResponse :: Int -> DescribeReplayResponse
- describeReplayResponse_description :: Lens' DescribeReplayResponse (Maybe Text)
- describeReplayResponse_destination :: Lens' DescribeReplayResponse (Maybe ReplayDestination)
- describeReplayResponse_eventEndTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
- describeReplayResponse_eventLastReplayedTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
- describeReplayResponse_eventSourceArn :: Lens' DescribeReplayResponse (Maybe Text)
- describeReplayResponse_eventStartTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
- describeReplayResponse_replayArn :: Lens' DescribeReplayResponse (Maybe Text)
- describeReplayResponse_replayEndTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
- describeReplayResponse_replayName :: Lens' DescribeReplayResponse (Maybe Text)
- describeReplayResponse_replayStartTime :: Lens' DescribeReplayResponse (Maybe UTCTime)
- describeReplayResponse_state :: Lens' DescribeReplayResponse (Maybe ReplayState)
- describeReplayResponse_stateReason :: Lens' DescribeReplayResponse (Maybe Text)
- describeReplayResponse_httpStatus :: Lens' DescribeReplayResponse Int
Creating a Request
data DescribeReplay Source #
See: newDescribeReplay
smart constructor.
DescribeReplay' | |
|
Instances
Create a value of DescribeReplay
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:
DescribeReplay
, describeReplay_replayName
- The name of the replay to retrieve.
Request Lenses
describeReplay_replayName :: Lens' DescribeReplay Text Source #
The name of the replay to retrieve.
Destructuring the Response
data DescribeReplayResponse Source #
See: newDescribeReplayResponse
smart constructor.
DescribeReplayResponse' | |
|
Instances
newDescribeReplayResponse Source #
Create a value of DescribeReplayResponse
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:
DescribeReplayResponse
, describeReplayResponse_description
- The description of the replay.
$sel:destination:DescribeReplayResponse'
, describeReplayResponse_destination
- A ReplayDestination
object that contains details about the replay.
DescribeReplayResponse
, describeReplayResponse_eventEndTime
- The time stamp for the last event that was replayed from the archive.
DescribeReplayResponse
, describeReplayResponse_eventLastReplayedTime
- The time that the event was last replayed.
DescribeReplayResponse
, describeReplayResponse_eventSourceArn
- The ARN of the archive events were replayed from.
DescribeReplayResponse
, describeReplayResponse_eventStartTime
- The time stamp of the first event that was last replayed from the
archive.
$sel:replayArn:DescribeReplayResponse'
, describeReplayResponse_replayArn
- The ARN of the replay.
DescribeReplayResponse
, describeReplayResponse_replayEndTime
- A time stamp for the time that the replay stopped.
DescribeReplay
, describeReplayResponse_replayName
- The name of the replay.
DescribeReplayResponse
, describeReplayResponse_replayStartTime
- A time stamp for the time that the replay started.
DescribeReplayResponse
, describeReplayResponse_state
- The current state of the replay.
DescribeReplayResponse
, describeReplayResponse_stateReason
- The reason that the replay is in the current state.
$sel:httpStatus:DescribeReplayResponse'
, describeReplayResponse_httpStatus
- The response's http status code.
Response Lenses
describeReplayResponse_description :: Lens' DescribeReplayResponse (Maybe Text) Source #
The description of the replay.
describeReplayResponse_destination :: Lens' DescribeReplayResponse (Maybe ReplayDestination) Source #
A ReplayDestination
object that contains details about the replay.
describeReplayResponse_eventEndTime :: Lens' DescribeReplayResponse (Maybe UTCTime) Source #
The time stamp for the last event that was replayed from the archive.
describeReplayResponse_eventLastReplayedTime :: Lens' DescribeReplayResponse (Maybe UTCTime) Source #
The time that the event was last replayed.
describeReplayResponse_eventSourceArn :: Lens' DescribeReplayResponse (Maybe Text) Source #
The ARN of the archive events were replayed from.
describeReplayResponse_eventStartTime :: Lens' DescribeReplayResponse (Maybe UTCTime) Source #
The time stamp of the first event that was last replayed from the archive.
describeReplayResponse_replayArn :: Lens' DescribeReplayResponse (Maybe Text) Source #
The ARN of the replay.
describeReplayResponse_replayEndTime :: Lens' DescribeReplayResponse (Maybe UTCTime) Source #
A time stamp for the time that the replay stopped.
describeReplayResponse_replayName :: Lens' DescribeReplayResponse (Maybe Text) Source #
The name of the replay.
describeReplayResponse_replayStartTime :: Lens' DescribeReplayResponse (Maybe UTCTime) Source #
A time stamp for the time that the replay started.
describeReplayResponse_state :: Lens' DescribeReplayResponse (Maybe ReplayState) Source #
The current state of the replay.
describeReplayResponse_stateReason :: Lens' DescribeReplayResponse (Maybe Text) Source #
The reason that the replay is in the current state.
describeReplayResponse_httpStatus :: Lens' DescribeReplayResponse Int Source #
The response's http status code.