Skip to content

List Event Sources

cloudwatchevents_list_event_sources R Documentation

You can use this to see all the partner event sources that have been shared with your Amazon Web Services account

Description

You can use this to see all the partner event sources that have been shared with your Amazon Web Services account. For more information about partner event sources, see create_event_bus.

Usage

cloudwatchevents_list_event_sources(NamePrefix, NextToken, Limit)

Arguments

NamePrefix

Specifying this limits the results to only those partner event sources with names that start with the specified prefix.

NextToken

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

Limit

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.

Value

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"
)

Request syntax

svc$list_event_sources(
  NamePrefix = "string",
  NextToken = "string",
  Limit = 123
)