Paginators#
Auto-generated documentation for QConnect type annotations stubs module mypy-boto3-qconnect.
ListAssistantAssociationsPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_assistant_associations")
.
boto3 documentation
# ListAssistantAssociationsPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAssistantAssociationsPaginator
def get_list_assistant_associations_paginator() -> ListAssistantAssociationsPaginator:
return Session().client("qconnect").get_paginator("list_assistant_associations")
# ListAssistantAssociationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAssistantAssociationsPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListAssistantAssociationsPaginator = client.get_paginator("list_assistant_associations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListAssistantAssociationsPaginator
- item: ListAssistantAssociationsResponseTypeDef
paginate#
Type annotations and code completion for ListAssistantAssociationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
assistantId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListAssistantAssociationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListAssistantAssociationsRequestListAssistantAssociationsPaginateTypeDef = { # (1)
"assistantId": ...,
}
parent.paginate(**kwargs)
ListAssistantsPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_assistants")
.
boto3 documentation
# ListAssistantsPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAssistantsPaginator
def get_list_assistants_paginator() -> ListAssistantsPaginator:
return Session().client("qconnect").get_paginator("list_assistants")
# ListAssistantsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAssistantsPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListAssistantsPaginator = client.get_paginator("list_assistants") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListAssistantsPaginator
- item: ListAssistantsResponseTypeDef
paginate#
Type annotations and code completion for ListAssistantsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListAssistantsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListAssistantsRequestListAssistantsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListContentAssociationsPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_content_associations")
.
boto3 documentation
# ListContentAssociationsPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListContentAssociationsPaginator
def get_list_content_associations_paginator() -> ListContentAssociationsPaginator:
return Session().client("qconnect").get_paginator("list_content_associations")
# ListContentAssociationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListContentAssociationsPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListContentAssociationsPaginator = client.get_paginator("list_content_associations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListContentAssociationsPaginator
- item: ListContentAssociationsResponseTypeDef
paginate#
Type annotations and code completion for ListContentAssociationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
contentId: str,
knowledgeBaseId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListContentAssociationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListContentAssociationsRequestListContentAssociationsPaginateTypeDef = { # (1)
"contentId": ...,
"knowledgeBaseId": ...,
}
parent.paginate(**kwargs)
ListContentsPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_contents")
.
boto3 documentation
# ListContentsPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListContentsPaginator
def get_list_contents_paginator() -> ListContentsPaginator:
return Session().client("qconnect").get_paginator("list_contents")
# ListContentsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListContentsPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListContentsPaginator = client.get_paginator("list_contents") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListContentsPaginator
- item: ListContentsResponseTypeDef
paginate#
Type annotations and code completion for ListContentsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
knowledgeBaseId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListContentsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListContentsRequestListContentsPaginateTypeDef = { # (1)
"knowledgeBaseId": ...,
}
parent.paginate(**kwargs)
ListImportJobsPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_import_jobs")
.
boto3 documentation
# ListImportJobsPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListImportJobsPaginator
def get_list_import_jobs_paginator() -> ListImportJobsPaginator:
return Session().client("qconnect").get_paginator("list_import_jobs")
# ListImportJobsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListImportJobsPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListImportJobsPaginator = client.get_paginator("list_import_jobs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListImportJobsPaginator
- item: ListImportJobsResponseTypeDef
paginate#
Type annotations and code completion for ListImportJobsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
knowledgeBaseId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListImportJobsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListImportJobsRequestListImportJobsPaginateTypeDef = { # (1)
"knowledgeBaseId": ...,
}
parent.paginate(**kwargs)
ListKnowledgeBasesPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_knowledge_bases")
.
boto3 documentation
# ListKnowledgeBasesPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListKnowledgeBasesPaginator
def get_list_knowledge_bases_paginator() -> ListKnowledgeBasesPaginator:
return Session().client("qconnect").get_paginator("list_knowledge_bases")
# ListKnowledgeBasesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListKnowledgeBasesPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListKnowledgeBasesPaginator = client.get_paginator("list_knowledge_bases") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListKnowledgeBasesPaginator
- item: ListKnowledgeBasesResponseTypeDef
paginate#
Type annotations and code completion for ListKnowledgeBasesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListKnowledgeBasesResponseTypeDef]: # (2)
...