EventBridgeClient.list_partner_event_source_accounts
rboto-eventbridge==0.4.0 · Service index · Types
Model summary (excerpt): 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.
Install and imports
from rboto import EventBridgeClient
from rboto_eventbridge.types import (
ListPartnerEventSourceAccountsOutput,
)
Signature
async def list_partner_event_source_accounts(
*,
event_source_name: str,
next_token: str | None = None,
limit: int | None = None,
) -> ListPartnerEventSourceAccountsOutput: ...
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
event_source_name |
Yes | The name of the partner event source to display account information about. |
next_token |
No | 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 |
No | 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. |
Output
ListPartnerEventSourceAccountsOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
partner_event_source_accounts |
list[PartnerEventSourceAccountOutput] | None |
Always present | PartnerEventSourceAccountOutput |
next_token |
str | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
ListPartnerEventSourceAccountsOutput
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_eventbridge.exceptions:
InternalError, OperationDisabledError, ResourceNotFoundError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.