Skip to content

List Replays

cloudwatchevents_list_replays R Documentation

Lists your replays

Description

Lists your replays. You can either list all the replays or you can provide a prefix to match to the replay names. Filter parameters are exclusive.

Usage

cloudwatchevents_list_replays(NamePrefix, State, EventSourceArn,
  NextToken, Limit)

Arguments

NamePrefix

A name prefix to filter the replays returned. Only replays with name that match the prefix are returned.

State

The state of the replay.

EventSourceArn

The ARN of the archive from which the events are replayed.

NextToken

The token returned by a previous call to retrieve the next set of results.

Limit

The maximum number of replays to retrieve.

Value

A list with the following syntax:

list(
  Replays = list(
    list(
      ReplayName = "string",
      EventSourceArn = "string",
      State = "STARTING"|"RUNNING"|"CANCELLING"|"COMPLETED"|"CANCELLED"|"FAILED",
      StateReason = "string",
      EventStartTime = as.POSIXct(
        "2015-01-01"
      ),
      EventEndTime = as.POSIXct(
        "2015-01-01"
      ),
      EventLastReplayedTime = as.POSIXct(
        "2015-01-01"
      ),
      ReplayStartTime = as.POSIXct(
        "2015-01-01"
      ),
      ReplayEndTime = as.POSIXct(
        "2015-01-01"
      )
    )
  ),
  NextToken = "string"
)

Request syntax

svc$list_replays(
  NamePrefix = "string",
  State = "STARTING"|"RUNNING"|"CANCELLING"|"COMPLETED"|"CANCELLED"|"FAILED",
  EventSourceArn = "string",
  NextToken = "string",
  Limit = 123
)