EventBridgeSchedulerClient.list_schedule_groups
rboto-scheduler==0.4.0 · Service index · Types
Model summary (excerpt): Returns a paginated list of your schedule groups.
Install and imports
from rboto import EventBridgeSchedulerClient
from rboto_scheduler.types import (
ListScheduleGroupsOutput,
)
Signature
async def list_schedule_groups(
*,
name_prefix: str | None = None,
next_token: str | None = None,
max_results: int | None = None,
) -> ListScheduleGroupsOutput: ...
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) |
|---|---|---|
name_prefix |
No | The name prefix that you can use to return a filtered list of your schedule groups. |
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
ListScheduleGroupsOutput.
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 | — |
schedule_groups |
list[ScheduleGroupSummaryOutput] |
Always present | ScheduleGroupSummaryOutput |
| 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
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
client.paginators.list_schedule_groups(...) accepts the same arguments and returns AsyncIterator[ListScheduleGroupsOutput]. 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, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.