Skip to content

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)
  1. client: EventBridgeSchedulerClient
  2. paginator: ListScheduleGroupsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListScheduleGroupsOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListScheduleGroupsInputListScheduleGroupsPaginateTypeDef = {  # (1)
    "NamePrefix": ...,
}

parent.paginate(**kwargs)
  1. See ListScheduleGroupsInputListScheduleGroupsPaginateTypeDef

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)
  1. client: EventBridgeSchedulerClient
  2. paginator: ListSchedulesPaginator
  3. 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)
    ...
  1. See ScheduleStateType
  2. See PaginatorConfigTypeDef
  3. See ListSchedulesOutputTypeDef
# paginate method usage example with argument unpacking

kwargs: ListSchedulesInputListSchedulesPaginateTypeDef = {  # (1)
    "GroupName": ...,
}

parent.paginate(**kwargs)
  1. See ListSchedulesInputListSchedulesPaginateTypeDef