Skip to content

LambdaClient.list_event_source_mappings

rboto-lambda==0.4.0 · Service index · Types

Model summary (excerpt): Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a single event source.

Install and imports

python -m pip install "rboto[lambda]==0.4.0"
from rboto import LambdaClient
from rboto_lambda.types import (
    ListEventSourceMappingsOutput,
)

Signature

async def list_event_source_mappings(
    *,
    event_source_arn: str | None = None,
    function_name: str | None = None,
    marker: str | None = None,
    max_items: int | None = None,
) -> ListEventSourceMappingsOutput: ...

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_arn No The Amazon Resource Name (ARN) of the event source. Amazon Kinesis – The ARN of the data stream or a stream consumer. Amazon DynamoDB Streams – The ARN of the stream. Amazon Simple Queue Service – The ARN of the queue. Amazon Managed Streaming for Apache Kafka – The ARN of the cluster or the ARN of the VPC connection (for cross-account event source mappings ). Amazon MQ – The ARN of the...
function_name No The name or ARN of the Lambda function. Name formats Function name – MyFunction . Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction . Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD . Partial ARN – 123456789012:function:MyFunction . The length constraint applies only to the full ARN. If you specify only the function name, it's...
marker No A pagination token returned by a previous call.
max_items No The maximum number of event source mappings to return. Note that ListEventSourceMappings returns a maximum of 100 items in each response, even if you set the number higher.

Output

ListEventSourceMappingsOutput.

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
next_marker str | None Always present —
event_source_mappings list[EventSourceMappingConfiguration] | None Always present EventSourceMappingConfiguration

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

ListEventSourceMappingsOutput

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

client.paginators.list_event_source_mappings(...) accepts the same arguments and returns AsyncIterator[ListEventSourceMappingsOutput]. Direct calls return one page. Pages preserve the Output representation above.

Input cursors: marker. Page-size argument: max_items.

No output stream.

Errors

Import from rboto_lambda.exceptions:

InvalidParameterValueError, ResourceNotFoundError, ServiceError, TooManyRequestsError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model