Table Of Contents

Feedback

User Guide

First time using the AWS CLI? See the User Guide for help getting started.

[ aws . events ]

list-event-sources

Description

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 CreateEventBus .

Note

This operation is run by AWS customers, not by SaaS partners.

See also: AWS API Documentation

See 'aws help' for descriptions of global parameters.

Synopsis

  list-event-sources
[--name-prefix <value>]
[--next-token <value>]
[--limit <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton <value>]

Options

--name-prefix (string)

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

--next-token (string)

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

--limit (integer)

Specifying this limits the number of results returned by this operation. The operation also returns a NextToken that you can use in a subsequent operation to retrieve the next set of results.

--cli-input-json (string) Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally.

--generate-cli-skeleton (string) Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value input, prints a sample input JSON that can be used as an argument for --cli-input-json. If provided with the value output, it validates the command inputs and returns a sample output JSON for that command.

See 'aws help' for descriptions of global parameters.

Output

EventSources -> (list)

The list of event sources.

(structure)

A partner event source is created by an SaaS partner. If a customer creates a partner event bus that matches this event source, that AWS account can receive events from the partner's applications or services.

Arn -> (string)

The ARN of the event source.

CreatedBy -> (string)

The name of the partner that created the event source.

CreationTime -> (timestamp)

The date and time when the event source was created.

ExpirationTime -> (timestamp)

The date and time when the event source will expire if the AWS account doesn't create a matching event bus for it.

Name -> (string)

The name of the event source.

State -> (string)

The state of the event source. If it's ACTIVE , you have already created a matching event bus for this event source, and that event bus is active. If it's PENDING , either you haven't yet created a matching event bus, or that event bus is deactivated. If it's DELETED , you have created a matching event bus, but the event source has since been deleted.

NextToken -> (string)

A token you can use in a subsequent operation to retrieve the next set of results.