Skip to content

Paginators#

Index > DirectoryServiceData > Paginators

Auto-generated documentation for DirectoryServiceData type annotations stubs module mypy-boto3-ds-data.

ListGroupMembersPaginator#

Type annotations and code completion for boto3.client("ds-data").get_paginator("list_group_members"). boto3 documentation

# ListGroupMembersPaginator usage example

from boto3.session import Session

from mypy_boto3_ds_data.paginator import ListGroupMembersPaginator

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

from boto3.session import Session

from mypy_boto3_ds_data.paginator import ListGroupMembersPaginator

session = Session()

client = Session().client("ds-data")  # (1)
paginator: ListGroupMembersPaginator = client.get_paginator("list_group_members")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceDataClient
  2. paginator: ListGroupMembersPaginator
  3. item: ListGroupMembersResultTypeDef

paginate#

Type annotations and code completion for ListGroupMembersPaginator.paginate method.

# paginate method definition

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

kwargs: ListGroupMembersRequestListGroupMembersPaginateTypeDef = {  # (1)
    "DirectoryId": ...,
    "SAMAccountName": ...,
}

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

ListGroupsForMemberPaginator#

Type annotations and code completion for boto3.client("ds-data").get_paginator("list_groups_for_member"). boto3 documentation

# ListGroupsForMemberPaginator usage example

from boto3.session import Session

from mypy_boto3_ds_data.paginator import ListGroupsForMemberPaginator

def get_list_groups_for_member_paginator() -> ListGroupsForMemberPaginator:
    return Session().client("ds-data").get_paginator("list_groups_for_member")
# ListGroupsForMemberPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ds_data.paginator import ListGroupsForMemberPaginator

session = Session()

client = Session().client("ds-data")  # (1)
paginator: ListGroupsForMemberPaginator = client.get_paginator("list_groups_for_member")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceDataClient
  2. paginator: ListGroupsForMemberPaginator
  3. item: ListGroupsForMemberResultTypeDef

paginate#

Type annotations and code completion for ListGroupsForMemberPaginator.paginate method.

# paginate method definition

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

kwargs: ListGroupsForMemberRequestListGroupsForMemberPaginateTypeDef = {  # (1)
    "DirectoryId": ...,
    "SAMAccountName": ...,
}

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

ListGroupsPaginator#

Type annotations and code completion for boto3.client("ds-data").get_paginator("list_groups"). boto3 documentation

# ListGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_ds_data.paginator import ListGroupsPaginator

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

from boto3.session import Session

from mypy_boto3_ds_data.paginator import ListGroupsPaginator

session = Session()

client = Session().client("ds-data")  # (1)
paginator: ListGroupsPaginator = client.get_paginator("list_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceDataClient
  2. paginator: ListGroupsPaginator
  3. item: ListGroupsResultTypeDef

paginate#

Type annotations and code completion for ListGroupsPaginator.paginate method.

# paginate method definition

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

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

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

ListUsersPaginator#

Type annotations and code completion for boto3.client("ds-data").get_paginator("list_users"). boto3 documentation

# ListUsersPaginator usage example

from boto3.session import Session

from mypy_boto3_ds_data.paginator import ListUsersPaginator

def get_list_users_paginator() -> ListUsersPaginator:
    return Session().client("ds-data").get_paginator("list_users")
# ListUsersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ds_data.paginator import ListUsersPaginator

session = Session()

client = Session().client("ds-data")  # (1)
paginator: ListUsersPaginator = client.get_paginator("list_users")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceDataClient
  2. paginator: ListUsersPaginator
  3. item: ListUsersResultTypeDef

paginate#

Type annotations and code completion for ListUsersPaginator.paginate method.

# paginate method definition

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

kwargs: ListUsersRequestListUsersPaginateTypeDef = {  # (1)
    "DirectoryId": ...,
}

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

SearchGroupsPaginator#

Type annotations and code completion for boto3.client("ds-data").get_paginator("search_groups"). boto3 documentation

# SearchGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_ds_data.paginator import SearchGroupsPaginator

def get_search_groups_paginator() -> SearchGroupsPaginator:
    return Session().client("ds-data").get_paginator("search_groups")
# SearchGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ds_data.paginator import SearchGroupsPaginator

session = Session()

client = Session().client("ds-data")  # (1)
paginator: SearchGroupsPaginator = client.get_paginator("search_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceDataClient
  2. paginator: SearchGroupsPaginator
  3. item: SearchGroupsResultTypeDef

paginate#

Type annotations and code completion for SearchGroupsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DirectoryId: str,
    SearchAttributes: Sequence[str],
    SearchString: str,
    Realm: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[SearchGroupsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See SearchGroupsResultTypeDef
# paginate method usage example with argument unpacking

kwargs: SearchGroupsRequestSearchGroupsPaginateTypeDef = {  # (1)
    "DirectoryId": ...,
    "SearchAttributes": ...,
    "SearchString": ...,
}

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

SearchUsersPaginator#

Type annotations and code completion for boto3.client("ds-data").get_paginator("search_users"). boto3 documentation

# SearchUsersPaginator usage example

from boto3.session import Session

from mypy_boto3_ds_data.paginator import SearchUsersPaginator

def get_search_users_paginator() -> SearchUsersPaginator:
    return Session().client("ds-data").get_paginator("search_users")
# SearchUsersPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_ds_data.paginator import SearchUsersPaginator

session = Session()

client = Session().client("ds-data")  # (1)
paginator: SearchUsersPaginator = client.get_paginator("search_users")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: DirectoryServiceDataClient
  2. paginator: SearchUsersPaginator
  3. item: SearchUsersResultTypeDef

paginate#

Type annotations and code completion for SearchUsersPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    DirectoryId: str,
    SearchAttributes: Sequence[str],
    SearchString: str,
    Realm: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[SearchUsersResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See SearchUsersResultTypeDef
# paginate method usage example with argument unpacking

kwargs: SearchUsersRequestSearchUsersPaginateTypeDef = {  # (1)
    "DirectoryId": ...,
    "SearchAttributes": ...,
    "SearchString": ...,
}

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