You can use this to see all the partner event sources that have been
shared with your AWS account. For more information about partner event
sources, see create_event_bus
.
cloudwatchevents_list_event_sources(NamePrefix, NextToken, Limit)
A list with the following syntax:
list(
EventSources = list(
list(
Arn = "string",
CreatedBy = "string",
CreationTime = as.POSIXct(
"2015-01-01"
),
ExpirationTime = as.POSIXct(
"2015-01-01"
),
Name = "string",
State = "PENDING"|"ACTIVE"|"DELETED"
)
),
NextToken = "string"
)
Specifying this limits the results to only those partner event sources with names that start with the specified prefix.
The token returned by a previous call to retrieve the next set of results.
Specifying this limits the number of results returned by this operation. The operation also returns a NextToken which you can use in a subsequent operation to retrieve the next set of results.
svc$list_event_sources(
NamePrefix = "string",
NextToken = "string",
Limit = 123
)