Paginators#
Index > ConnectCases > Paginators
Auto-generated documentation for ConnectCases type annotations stubs module mypy-boto3-connectcases.
SearchCasesPaginator#
Type annotations and code completion for boto3.client("connectcases").get_paginator("search_cases")
.
boto3 documentation
# SearchCasesPaginator usage example
from boto3.session import Session
from mypy_boto3_connectcases.paginator import SearchCasesPaginator
def get_search_cases_paginator() -> SearchCasesPaginator:
return Session().client("connectcases").get_paginator("search_cases")
# SearchCasesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_connectcases.paginator import SearchCasesPaginator
session = Session()
client = Session().client("connectcases") # (1)
paginator: SearchCasesPaginator = client.get_paginator("search_cases") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ConnectCasesClient
- paginator: SearchCasesPaginator
- item: SearchCasesResponseTypeDef
paginate#
Type annotations and code completion for SearchCasesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
domainId: str,
fields: Sequence[FieldIdentifierTypeDef] = ..., # (1)
filter: CaseFilterPaginatorTypeDef = ..., # (2)
searchTerm: str = ...,
sorts: Sequence[SortTypeDef] = ..., # (3)
PaginationConfig: PaginatorConfigTypeDef = ..., # (4)
) -> _PageIterator[SearchCasesResponseTypeDef]: # (5)
...
- See FieldIdentifierTypeDef
- See CaseFilterPaginatorTypeDef
- See SortTypeDef
- See PaginatorConfigTypeDef
- See SearchCasesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: SearchCasesRequestSearchCasesPaginateTypeDef = { # (1)
"domainId": ...,
}
parent.paginate(**kwargs)
SearchRelatedItemsPaginator#
Type annotations and code completion for boto3.client("connectcases").get_paginator("search_related_items")
.
boto3 documentation
# SearchRelatedItemsPaginator usage example
from boto3.session import Session
from mypy_boto3_connectcases.paginator import SearchRelatedItemsPaginator
def get_search_related_items_paginator() -> SearchRelatedItemsPaginator:
return Session().client("connectcases").get_paginator("search_related_items")
# SearchRelatedItemsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_connectcases.paginator import SearchRelatedItemsPaginator
session = Session()
client = Session().client("connectcases") # (1)
paginator: SearchRelatedItemsPaginator = client.get_paginator("search_related_items") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: ConnectCasesClient
- paginator: SearchRelatedItemsPaginator
- item: SearchRelatedItemsResponseTypeDef
paginate#
Type annotations and code completion for SearchRelatedItemsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
caseId: str,
domainId: str,
filters: Sequence[RelatedItemTypeFilterTypeDef] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[SearchRelatedItemsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: SearchRelatedItemsRequestSearchRelatedItemsPaginateTypeDef = { # (1)
"caseId": ...,
"domainId": ...,
}
parent.paginate(**kwargs)