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
)
[REQUIRED]
The name of the partner event source to display account information about.
dict
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
EventBridge.Client.exceptions.ResourceNotFoundException
EventBridge.Client.exceptions.InternalException
EventBridge.Client.exceptions.OperationDisabledException