Paginators#
Index > EventBridgeScheduler > Paginators
Auto-generated documentation for EventBridgeScheduler type annotations stubs module types-aiobotocore-scheduler.
ListScheduleGroupsPaginator#
Type annotations and code completion for session.create_client("scheduler").get_paginator("list_schedule_groups")
.
boto3 documentation
# ListScheduleGroupsPaginator usage example
from aiobotocore.session import get_session
from types_aiobotocore_scheduler.paginator import ListScheduleGroupsPaginator
session = get_session()
async with session.create_client("scheduler") as client: # (1)
paginator: ListScheduleGroupsPaginator = client.get_paginator("list_schedule_groups") # (2)
async for item in paginator.paginate(...):
item: ListScheduleGroupsOutputTypeDef
print(item) # (3)
- client: EventBridgeSchedulerClient
- paginator: ListScheduleGroupsPaginator
- item: ListScheduleGroupsOutputTypeDef
paginate#
Type annotations and code completion for ListScheduleGroupsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
NamePrefix: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> AsyncIterator[ListScheduleGroupsOutputTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListScheduleGroupsInputListScheduleGroupsPaginateTypeDef = { # (1)
"NamePrefix": ...,
}
parent.paginate(**kwargs)
ListSchedulesPaginator#
Type annotations and code completion for session.create_client("scheduler").get_paginator("list_schedules")
.
boto3 documentation
# ListSchedulesPaginator usage example
from aiobotocore.session import get_session
from types_aiobotocore_scheduler.paginator import ListSchedulesPaginator
session = get_session()
async with session.create_client("scheduler") as client: # (1)
paginator: ListSchedulesPaginator = client.get_paginator("list_schedules") # (2)
async for item in paginator.paginate(...):
item: ListSchedulesOutputTypeDef
print(item) # (3)
- client: EventBridgeSchedulerClient
- paginator: ListSchedulesPaginator
- item: ListSchedulesOutputTypeDef
paginate#
Type annotations and code completion for ListSchedulesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
GroupName: str = ...,
NamePrefix: str = ...,
State: ScheduleStateType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> AsyncIterator[ListSchedulesOutputTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListSchedulesInputListSchedulesPaginateTypeDef = { # (1)
"GroupName": ...,
}
parent.paginate(**kwargs)