List Archives
| cloudwatchevents_list_archives | R Documentation |
Lists your archives¶
Description¶
Lists your archives. You can either list all the archives or you can provide a prefix to match to the archive names. Filter parameters are exclusive.
Usage¶
Arguments¶
NamePrefixA name prefix to filter the archives returned. Only archives with name that match the prefix are returned.
EventSourceArnThe ARN of the event source associated with the archive.
StateThe state of the archive.
NextTokenThe token returned by a previous call to retrieve the next set of results.
LimitThe maximum number of results to return.
Value¶
A list with the following syntax:
list(
Archives = list(
list(
ArchiveName = "string",
EventSourceArn = "string",
State = "ENABLED"|"DISABLED"|"CREATING"|"UPDATING"|"CREATE_FAILED"|"UPDATE_FAILED",
StateReason = "string",
RetentionDays = 123,
SizeBytes = 123,
EventCount = 123,
CreationTime = as.POSIXct(
"2015-01-01"
)
)
),
NextToken = "string"
)