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, which you can use to retrieve the next set of results.
The value of
nextTokenis a unique pagination token for each page. To retrieve the next page of results, make the call again using the returned token. Keep all other arguments unchanged.Using an expired pagination token results in an
HTTP 400 InvalidTokenerror. -
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"
)