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)
- client: DirectoryServiceDataClient
- paginator: ListGroupMembersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListGroupMembersRequestPaginateTypeDef = { # (1)
"DirectoryId": ...,
"SAMAccountName": ...,
}
parent.paginate(**kwargs)
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)
- client: DirectoryServiceDataClient
- paginator: ListGroupsForMemberPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListGroupsForMemberRequestPaginateTypeDef = { # (1)
"DirectoryId": ...,
"SAMAccountName": ...,
}
parent.paginate(**kwargs)
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)
- client: DirectoryServiceDataClient
- paginator: ListGroupsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListGroupsRequestPaginateTypeDef = { # (1)
"DirectoryId": ...,
}
parent.paginate(**kwargs)
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)
- client: DirectoryServiceDataClient
- paginator: ListUsersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListUsersRequestPaginateTypeDef = { # (1)
"DirectoryId": ...,
}
parent.paginate(**kwargs)
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)
- client: DirectoryServiceDataClient
- paginator: SearchGroupsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: SearchGroupsRequestPaginateTypeDef = { # (1)
"DirectoryId": ...,
"SearchAttributes": ...,
"SearchString": ...,
}
parent.paginate(**kwargs)
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)
- client: DirectoryServiceDataClient
- paginator: SearchUsersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: SearchUsersRequestPaginateTypeDef = { # (1)
"DirectoryId": ...,
"SearchAttributes": ...,
"SearchString": ...,
}
parent.paginate(**kwargs)