EventBridge / Client / list_partner_event_source_accounts

list_partner_event_source_accounts#

EventBridge.Client.list_partner_event_source_accounts(**kwargs)#

An SaaS partner can use this operation to display the Amazon Web Services account ID that a particular partner event source name is associated with. This operation is not used by Amazon Web Services customers.

See also: AWS API Documentation

Request Syntax

response = client.list_partner_event_source_accounts(
    EventSourceName='string',
    NextToken='string',
    Limit=123
)
Parameters:
  • EventSourceName (string) –

    [REQUIRED]

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

  • NextToken (string) – The token returned by a previous call to this operation. Specifying this retrieves the next set of results.

  • Limit (integer) – 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.

Return type:

dict

Returns:

Response Syntax

{
    'PartnerEventSourceAccounts': [
        {
            'Account': 'string',
            'CreationTime': datetime(2015, 1, 1),
            'ExpirationTime': datetime(2015, 1, 1),
            'State': 'PENDING'|'ACTIVE'|'DELETED'
        },
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • PartnerEventSourceAccounts (list) –

      The list of partner event sources returned by the operation.

      • (dict) –

        The Amazon Web Services account that a partner event source has been offered to.

        • Account (string) –

          The Amazon Web Services account ID that the partner event source was offered to.

        • CreationTime (datetime) –

          The date and time the event source was created.

        • ExpirationTime (datetime) –

          The date and time that the event source will expire, if the Amazon Web Services account doesn’t create a matching event bus for it.

        • State (string) –

          The state of the event source. If it is ACTIVE, you have already created a matching event bus for this event source, and that event bus is active. If it is PENDING, either you haven’t yet created a matching event bus, or that event bus is deactivated. If it is 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.

Exceptions