Skip to content

Paginators#

Index > WorkMail > Paginators

Auto-generated documentation for WorkMail type annotations stubs module mypy-boto3-workmail.

ListAliasesPaginator#

Type annotations and code completion for boto3.client("workmail").get_paginator("list_aliases"). boto3 documentation

# ListAliasesPaginator usage example

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListAliasesPaginator

def get_list_aliases_paginator() -> ListAliasesPaginator:
    return Session().client("workmail").get_paginator("list_aliases")
# ListAliasesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListAliasesPaginator

session = Session()

client = Session().client("workmail")  # (1)
paginator: ListAliasesPaginator = client.get_paginator("list_aliases")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: WorkMailClient
  2. paginator: ListAliasesPaginator
  3. item: ListAliasesResponseTypeDef

paginate#

Type annotations and code completion for ListAliasesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    OrganizationId: str,
    EntityId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListAliasesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAliasesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAliasesRequestListAliasesPaginateTypeDef = {  # (1)
    "OrganizationId": ...,
    "EntityId": ...,
}

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

ListAvailabilityConfigurationsPaginator#

Type annotations and code completion for boto3.client("workmail").get_paginator("list_availability_configurations"). boto3 documentation

# ListAvailabilityConfigurationsPaginator usage example

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListAvailabilityConfigurationsPaginator

def get_list_availability_configurations_paginator() -> ListAvailabilityConfigurationsPaginator:
    return Session().client("workmail").get_paginator("list_availability_configurations")
# ListAvailabilityConfigurationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListAvailabilityConfigurationsPaginator

session = Session()

client = Session().client("workmail")  # (1)
paginator: ListAvailabilityConfigurationsPaginator = client.get_paginator("list_availability_configurations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: WorkMailClient
  2. paginator: ListAvailabilityConfigurationsPaginator
  3. item: ListAvailabilityConfigurationsResponseTypeDef

paginate#

Type annotations and code completion for ListAvailabilityConfigurationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    OrganizationId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListAvailabilityConfigurationsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAvailabilityConfigurationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAvailabilityConfigurationsRequestListAvailabilityConfigurationsPaginateTypeDef = {  # (1)
    "OrganizationId": ...,
}

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

ListGroupMembersPaginator#

Type annotations and code completion for boto3.client("workmail").get_paginator("list_group_members"). boto3 documentation

# ListGroupMembersPaginator usage example

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListGroupMembersPaginator

def get_list_group_members_paginator() -> ListGroupMembersPaginator:
    return Session().client("workmail").get_paginator("list_group_members")
# ListGroupMembersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListGroupMembersPaginator

session = Session()

client = Session().client("workmail")  # (1)
paginator: ListGroupMembersPaginator = client.get_paginator("list_group_members")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: WorkMailClient
  2. paginator: ListGroupMembersPaginator
  3. item: ListGroupMembersResponseTypeDef

paginate#

Type annotations and code completion for ListGroupMembersPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    OrganizationId: str,
    GroupId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListGroupMembersResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListGroupMembersResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListGroupMembersRequestListGroupMembersPaginateTypeDef = {  # (1)
    "OrganizationId": ...,
    "GroupId": ...,
}

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

ListGroupsPaginator#

Type annotations and code completion for boto3.client("workmail").get_paginator("list_groups"). boto3 documentation

# ListGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListGroupsPaginator

def get_list_groups_paginator() -> ListGroupsPaginator:
    return Session().client("workmail").get_paginator("list_groups")
# ListGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListGroupsPaginator

session = Session()

client = Session().client("workmail")  # (1)
paginator: ListGroupsPaginator = client.get_paginator("list_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: WorkMailClient
  2. paginator: ListGroupsPaginator
  3. item: ListGroupsResponseTypeDef

paginate#

Type annotations and code completion for ListGroupsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    OrganizationId: str,
    Filters: ListGroupsFiltersTypeDef = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListGroupsResponseTypeDef]:  # (3)
    ...
  1. See ListGroupsFiltersTypeDef
  2. See PaginatorConfigTypeDef
  3. See ListGroupsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListGroupsRequestListGroupsPaginateTypeDef = {  # (1)
    "OrganizationId": ...,
}

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

ListMailboxPermissionsPaginator#

Type annotations and code completion for boto3.client("workmail").get_paginator("list_mailbox_permissions"). boto3 documentation

# ListMailboxPermissionsPaginator usage example

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListMailboxPermissionsPaginator

def get_list_mailbox_permissions_paginator() -> ListMailboxPermissionsPaginator:
    return Session().client("workmail").get_paginator("list_mailbox_permissions")
# ListMailboxPermissionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListMailboxPermissionsPaginator

session = Session()

client = Session().client("workmail")  # (1)
paginator: ListMailboxPermissionsPaginator = client.get_paginator("list_mailbox_permissions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: WorkMailClient
  2. paginator: ListMailboxPermissionsPaginator
  3. item: ListMailboxPermissionsResponseTypeDef

paginate#

Type annotations and code completion for ListMailboxPermissionsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    OrganizationId: str,
    EntityId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListMailboxPermissionsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListMailboxPermissionsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListMailboxPermissionsRequestListMailboxPermissionsPaginateTypeDef = {  # (1)
    "OrganizationId": ...,
    "EntityId": ...,
}

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

ListOrganizationsPaginator#

Type annotations and code completion for boto3.client("workmail").get_paginator("list_organizations"). boto3 documentation

# ListOrganizationsPaginator usage example

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListOrganizationsPaginator

def get_list_organizations_paginator() -> ListOrganizationsPaginator:
    return Session().client("workmail").get_paginator("list_organizations")
# ListOrganizationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_workmail.paginator import ListOrganizationsPaginator

session = Session()

client = Session().client("workmail")  # (1)
paginator: ListOrganizationsPaginator = client.get_paginator("list_organizations")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: WorkMailClient
  2. paginator: ListOrganizationsPaginator
  3. item: ListOrganizationsResponseTypeDef

paginate#

Type annotations and code completion for ListOrganizationsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListOrganizationsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListOrganizationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListOrganizationsRequestListOrganizationsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

ListResourceDelegatesPaginator#

Type annotations and code completion for boto3.client("workmail").get_paginator("list_resource_delegates").