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)
- client: WorkMailClient
- paginator: ListAliasesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAliasesRequestListAliasesPaginateTypeDef = { # (1)
"OrganizationId": ...,
"EntityId": ...,
}
parent.paginate(**kwargs)
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)
- client: WorkMailClient
- paginator: ListAvailabilityConfigurationsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAvailabilityConfigurationsRequestListAvailabilityConfigurationsPaginateTypeDef = { # (1)
"OrganizationId": ...,
}
parent.paginate(**kwargs)
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)
- client: WorkMailClient
- paginator: ListGroupMembersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListGroupMembersRequestListGroupMembersPaginateTypeDef = { # (1)
"OrganizationId": ...,
"GroupId": ...,
}
parent.paginate(**kwargs)
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)
- client: WorkMailClient
- paginator: ListGroupsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListGroupsRequestListGroupsPaginateTypeDef = { # (1)
"OrganizationId": ...,
}
parent.paginate(**kwargs)
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)
- client: WorkMailClient
- paginator: ListMailboxPermissionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListMailboxPermissionsRequestListMailboxPermissionsPaginateTypeDef = { # (1)
"OrganizationId": ...,
"EntityId": ...,
}
parent.paginate(**kwargs)
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)
- client: WorkMailClient
- paginator: ListOrganizationsPaginator
- item: ListOrganizationsResponseTypeDef
paginate#
Type annotations and code completion for ListOrganizationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListOrganizationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListOrganizationsRequestListOrganizationsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListPersonalAccessTokensPaginator#
Type annotations and code completion for boto3.client("workmail").get_paginator("list_personal_access_tokens")
.
boto3 documentation
# ListPersonalAccessTokensPaginator usage example
from boto3.session import Session
from mypy_boto3_workmail.paginator import ListPersonalAccessTokensPaginator
def get_list_personal_access_tokens_paginator() -> ListPersonalAccessTokensPaginator:
return Session().client("workmail").get_paginator("list_personal_access_tokens")
# ListPersonalAccessTokensPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_workmail.paginator import ListPersonalAccessTokensPaginator
session = Session()
client = Session().client("workmail") # (1)
paginator: ListPersonalAccessTokensPaginator = client.get_paginator("list_personal_access_tokens") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: WorkMailClient
- paginator: ListPersonalAccessTokensPaginator
- item: ListPersonalAccessTokensResponseTypeDef
paginate#
Type annotations and code completion for ListPersonalAccessTokensPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
OrganizationId: str,
UserId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListPersonalAccessTokensResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListPersonalAccessTokensRequestListPersonalAccessTokensPaginateTypeDef = { # (1)
"OrganizationId": ...,
}
parent.paginate(**kwargs)
ListResourceDelegatesPaginator#
Type annotations and code completion for boto3.client("workmail").get_paginator("list_resource_delegates")
.
boto3 documentation
# ListResourceDelegatesPaginator usage example
from boto3.session import Session
from mypy_boto3_workmail.paginator import ListResourceDelegatesPaginator
def get_list_resource_delegates_paginator() -> ListResourceDelegatesPaginator:
return Session().client("workmail").get_paginator("list_resource_delegates")
# ListResourceDelegatesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_workmail.paginator import ListResourceDelegatesPaginator
session = Session()
client = Session().client("workmail") # (1)
paginator: ListResourceDelegatesPaginator = client.get_paginator("list_resource_delegates") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: WorkMailClient
- paginator: ListResourceDelegatesPaginator
- item: ListResourceDelegatesResponseTypeDef
paginate#
Type annotations and code completion for ListResourceDelegatesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
OrganizationId: str,
ResourceId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListResourceDelegatesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListResourceDelegatesRequestListResourceDelegatesPaginateTypeDef = { # (1)
"OrganizationId": ...,
"ResourceId": ...,
}
parent.paginate(**kwargs)
ListResourcesPaginator#
Type annotations and code completion for boto3.client("workmail").get_paginator("list_resources")
.
boto3 documentation
# ListResourcesPaginator usage example
from boto3.session import Session
from mypy_boto3_workmail.paginator import ListResourcesPaginator
def get_list_resources_paginator() -> ListResourcesPaginator:
return Session().client("workmail").get_paginator("list_resources")
# ListResourcesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_workmail.paginator import ListResourcesPaginator
session = Session()
client = Session().client("workmail") # (1)
paginator: ListResourcesPaginator = client.get_paginator("list_resources") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: WorkMailClient
- paginator: ListResourcesPaginator
- item: ListResourcesResponseTypeDef
paginate#
Type annotations and code completion for ListResourcesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
OrganizationId: str,
Filters: ListResourcesFiltersTypeDef = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListResourcesResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListResourcesRequestListResourcesPaginateTypeDef = { # (1)
"OrganizationId": ...,
}
parent.paginate(**kwargs)
ListUsersPaginator#
Type annotations and code completion for boto3.client("workmail").get_paginator("list_users")
.
boto3 documentation
# ListUsersPaginator usage example
from boto3.session import Session
from mypy_boto3_workmail.paginator import ListUsersPaginator
def get_list_users_paginator() -> ListUsersPaginator:
return Session().client("workmail").get_paginator("list_users")
# ListUsersPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_workmail.paginator import ListUsersPaginator
session = Session()
client = Session().client("workmail") # (1)
paginator: ListUsersPaginator = client.get_paginator("list_users") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: WorkMailClient
- paginator: ListUsersPaginator
- item: ListUsersResponseTypeDef
paginate#
Type annotations and code completion for ListUsersPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
OrganizationId: str,
Filters: ListUsersFiltersTypeDef = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListUsersResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListUsersRequestListUsersPaginateTypeDef = { # (1)
"OrganizationId": ...,
}
parent.paginate(**kwargs)