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 |
Starts the specified replay. Events are not necessarily replayed in the
exact same order that they were added to the archive. A replay processes
events to replay based on the time in the event, and replays them using
1 minute intervals. If you 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 StartReplay = StartReplay' {}
- newStartReplay :: Text -> Text -> UTCTime -> UTCTime -> ReplayDestination -> StartReplay
- startReplay_description :: Lens' StartReplay (Maybe Text)
- startReplay_replayName :: Lens' StartReplay Text
- startReplay_eventSourceArn :: Lens' StartReplay Text
- startReplay_eventStartTime :: Lens' StartReplay UTCTime
- startReplay_eventEndTime :: Lens' StartReplay UTCTime
- startReplay_destination :: Lens' StartReplay ReplayDestination
- data StartReplayResponse = StartReplayResponse' {}
- newStartReplayResponse :: Int -> StartReplayResponse
- startReplayResponse_state :: Lens' StartReplayResponse (Maybe ReplayState)
- startReplayResponse_replayStartTime :: Lens' StartReplayResponse (Maybe UTCTime)
- startReplayResponse_replayArn :: Lens' StartReplayResponse (Maybe Text)
- startReplayResponse_stateReason :: Lens' StartReplayResponse (Maybe Text)
- startReplayResponse_httpStatus :: Lens' StartReplayResponse Int
Creating a Request
data StartReplay Source #
See: newStartReplay
smart constructor.
StartReplay' | |
|
Instances
:: Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> ReplayDestination | |
-> StartReplay |
Create a value of StartReplay
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:description:StartReplay'
, startReplay_description
- A description for the replay to start.
$sel:replayName:StartReplay'
, startReplay_replayName
- The name of the replay to start.
$sel:eventSourceArn:StartReplay'
, startReplay_eventSourceArn
- The ARN of the archive to replay events from.
$sel:eventStartTime:StartReplay'
, startReplay_eventStartTime
- A time stamp for the time to start replaying events. Only events that
occurred between the EventStartTime
and EventEndTime
are replayed.
$sel:eventEndTime:StartReplay'
, startReplay_eventEndTime
- A time stamp for the time to stop replaying events. Only events that
occurred between the EventStartTime
and EventEndTime
are replayed.
$sel:destination:StartReplay'
, startReplay_destination
- A ReplayDestination
object that includes details about the destination
for the replay.
Request Lenses
startReplay_description :: Lens' StartReplay (Maybe Text) Source #
A description for the replay to start.
startReplay_replayName :: Lens' StartReplay Text Source #
The name of the replay to start.
startReplay_eventSourceArn :: Lens' StartReplay Text Source #
The ARN of the archive to replay events from.
startReplay_eventStartTime :: Lens' StartReplay UTCTime Source #
A time stamp for the time to start replaying events. Only events that
occurred between the EventStartTime
and EventEndTime
are replayed.
startReplay_eventEndTime :: Lens' StartReplay UTCTime Source #
A time stamp for the time to stop replaying events. Only events that
occurred between the EventStartTime
and EventEndTime
are replayed.
startReplay_destination :: Lens' StartReplay ReplayDestination Source #
A ReplayDestination
object that includes details about the destination
for the replay.
Destructuring the Response
data StartReplayResponse Source #
See: newStartReplayResponse
smart constructor.
StartReplayResponse' | |
|
Instances
newStartReplayResponse Source #
Create a value of StartReplayResponse
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:StartReplayResponse'
, startReplayResponse_state
- The state of the replay.
$sel:replayStartTime:StartReplayResponse'
, startReplayResponse_replayStartTime
- The time at which the replay started.
$sel:replayArn:StartReplayResponse'
, startReplayResponse_replayArn
- The ARN of the replay.
$sel:stateReason:StartReplayResponse'
, startReplayResponse_stateReason
- The reason that the replay is in the state.
$sel:httpStatus:StartReplayResponse'
, startReplayResponse_httpStatus
- The response's http status code.
Response Lenses
startReplayResponse_state :: Lens' StartReplayResponse (Maybe ReplayState) Source #
The state of the replay.
startReplayResponse_replayStartTime :: Lens' StartReplayResponse (Maybe UTCTime) Source #
The time at which the replay started.
startReplayResponse_replayArn :: Lens' StartReplayResponse (Maybe Text) Source #
The ARN of the replay.
startReplayResponse_stateReason :: Lens' StartReplayResponse (Maybe Text) Source #
The reason that the replay is in the state.
startReplayResponse_httpStatus :: Lens' StartReplayResponse Int Source #
The response's http status code.