Skip to content

EventBridgeSchedulerClient.list_schedules

rboto-scheduler==0.4.0 · Service index · Types

Model summary (excerpt): Returns a paginated list of your EventBridge Scheduler schedules.

Install and imports

python -m pip install "rboto[scheduler]==0.4.0"
from rboto import EventBridgeSchedulerClient
from rboto_scheduler.types import (
    ListSchedulesOutput,
    ScheduleState,
)

Signature

async def list_schedules(
    *,
    group_name: str | None = None,
    name_prefix: str | None = None,
    state: ScheduleState | None = None,
    next_token: str | None = None,
    max_results: int | None = None,
) -> ListSchedulesOutput: ...

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)
group_name No If specified, only lists the schedules whose associated schedule group matches the given filter.
name_prefix No Schedule name prefix to return the filtered list of resources.
state No If specified, only lists the schedules whose current state matches the given filter.
next_token No The token returned by a previous call to retrieve the next set of results.
max_results No If specified, 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

ListSchedulesOutput.

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_token str | None Always present —
schedules list[ScheduleSummaryOutput] Always present ScheduleSummaryOutput

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

ListSchedulesOutput, ScheduleState

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

Pagination and streaming

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

Input cursors: next_token. Page-size argument: max_results.

No output stream.

Errors

Import from rboto_scheduler.exceptions:

InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.

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

Service guide · Pinned model