Amazon EventBridge
API Reference (API Version 2015-10-07)

ListPartnerEventSourceAccounts

An SaaS partner can use this operation to display the AWS account ID that a particular partner event source name is associated with.

Note

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

Request Syntax

{ "EventSourceName": "string", "Limit": number, "NextToken": "string" }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

EventSourceName

The name of the partner event source to display account information about.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 256.

Pattern: aws\.partner(/[\.\-_A-Za-z0-9]+){2,}

Required: Yes

Limit

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.

Type: Integer

Valid Range: Minimum value of 1. Maximum value of 100.

Required: No

NextToken

The token returned by a previous call to this operation. Specifying this retrieves the next set of results.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

Required: No

Response Syntax

{ "NextToken": "string", "PartnerEventSourceAccounts": [ { "Account": "string", "CreationTime": number, "ExpirationTime": number, "State": "string" } ] }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

NextToken

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 2048.

PartnerEventSourceAccounts

The list of partner event sources returned by the operation.

Type: Array of PartnerEventSourceAccount objects

Errors

For information about the errors that are common to all actions, see Common Errors.

InternalException

This exception occurs due to unexpected causes.

HTTP Status Code: 500

ResourceNotFoundException

An entity that you specified doesn't exist.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: