Skip to content

List Event Sources

eventbridge_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

eventbridge_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, which you can use to retrieve the next set of results.

The value of nextToken is 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 InvalidToken⁠ error.

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
)