Paginators#
Auto-generated documentation for QConnect type annotations stubs module mypy-boto3-qconnect.
ListAIAgentVersionsPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_ai_agent_versions")
.
boto3 documentation
# ListAIAgentVersionsPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAIAgentVersionsPaginator
def get_list_ai_agent_versions_paginator() -> ListAIAgentVersionsPaginator:
return Session().client("qconnect").get_paginator("list_ai_agent_versions")
# ListAIAgentVersionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAIAgentVersionsPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListAIAgentVersionsPaginator = client.get_paginator("list_ai_agent_versions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListAIAgentVersionsPaginator
- item: ListAIAgentVersionsResponseTypeDef
paginate#
Type annotations and code completion for ListAIAgentVersionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
aiAgentId: str,
assistantId: str,
origin: OriginType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListAIAgentVersionsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListAIAgentVersionsRequestListAIAgentVersionsPaginateTypeDef = { # (1)
"aiAgentId": ...,
"assistantId": ...,
}
parent.paginate(**kwargs)
ListAIAgentsPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_ai_agents")
.
boto3 documentation
# ListAIAgentsPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAIAgentsPaginator
def get_list_ai_agents_paginator() -> ListAIAgentsPaginator:
return Session().client("qconnect").get_paginator("list_ai_agents")
# ListAIAgentsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAIAgentsPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListAIAgentsPaginator = client.get_paginator("list_ai_agents") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListAIAgentsPaginator
- item: ListAIAgentsResponseTypeDef
paginate#
Type annotations and code completion for ListAIAgentsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
assistantId: str,
origin: OriginType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListAIAgentsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListAIAgentsRequestListAIAgentsPaginateTypeDef = { # (1)
"assistantId": ...,
}
parent.paginate(**kwargs)
ListAIPromptVersionsPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_ai_prompt_versions")
.
boto3 documentation
# ListAIPromptVersionsPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAIPromptVersionsPaginator
def get_list_ai_prompt_versions_paginator() -> ListAIPromptVersionsPaginator:
return Session().client("qconnect").get_paginator("list_ai_prompt_versions")
# ListAIPromptVersionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAIPromptVersionsPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListAIPromptVersionsPaginator = client.get_paginator("list_ai_prompt_versions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListAIPromptVersionsPaginator
- item: ListAIPromptVersionsResponseTypeDef
paginate#
Type annotations and code completion for ListAIPromptVersionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
aiPromptId: str,
assistantId: str,
origin: OriginType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListAIPromptVersionsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListAIPromptVersionsRequestListAIPromptVersionsPaginateTypeDef = { # (1)
"aiPromptId": ...,
"assistantId": ...,
}
parent.paginate(**kwargs)
ListAIPromptsPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_ai_prompts")
.
boto3 documentation
# ListAIPromptsPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAIPromptsPaginator
def get_list_ai_prompts_paginator() -> ListAIPromptsPaginator:
return Session().client("qconnect").get_paginator("list_ai_prompts")
# ListAIPromptsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListAIPromptsPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListAIPromptsPaginator = client.get_paginator("list_ai_prompts") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListAIPromptsPaginator
- item: ListAIPromptsResponseTypeDef
paginate#
Type annotations and code completion for ListAIPromptsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
assistantId: str,
origin: OriginType = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListAIPromptsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListAIPromptsRequestListAIPromptsPaginateTypeDef = { # (1)
"assistantId": ...,
}
parent.paginate(**kwargs)
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)
...
# paginate method usage example with argument unpacking
kwargs: ListKnowledgeBasesRequestListKnowledgeBasesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListMessageTemplateVersionsPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_message_template_versions")
.
boto3 documentation
# ListMessageTemplateVersionsPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListMessageTemplateVersionsPaginator
def get_list_message_template_versions_paginator() -> ListMessageTemplateVersionsPaginator:
return Session().client("qconnect").get_paginator("list_message_template_versions")
# ListMessageTemplateVersionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListMessageTemplateVersionsPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListMessageTemplateVersionsPaginator = client.get_paginator("list_message_template_versions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListMessageTemplateVersionsPaginator
- item: ListMessageTemplateVersionsResponseTypeDef
paginate#
Type annotations and code completion for ListMessageTemplateVersionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
knowledgeBaseId: str,
messageTemplateId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListMessageTemplateVersionsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListMessageTemplateVersionsRequestListMessageTemplateVersionsPaginateTypeDef = { # (1)
"knowledgeBaseId": ...,
"messageTemplateId": ...,
}
parent.paginate(**kwargs)
ListMessageTemplatesPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_message_templates")
.
boto3 documentation
# ListMessageTemplatesPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListMessageTemplatesPaginator
def get_list_message_templates_paginator() -> ListMessageTemplatesPaginator:
return Session().client("qconnect").get_paginator("list_message_templates")
# ListMessageTemplatesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListMessageTemplatesPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListMessageTemplatesPaginator = client.get_paginator("list_message_templates") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListMessageTemplatesPaginator
- item: ListMessageTemplatesResponseTypeDef
paginate#
Type annotations and code completion for ListMessageTemplatesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
knowledgeBaseId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListMessageTemplatesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListMessageTemplatesRequestListMessageTemplatesPaginateTypeDef = { # (1)
"knowledgeBaseId": ...,
}
parent.paginate(**kwargs)
ListQuickResponsesPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("list_quick_responses")
.
boto3 documentation
# ListQuickResponsesPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListQuickResponsesPaginator
def get_list_quick_responses_paginator() -> ListQuickResponsesPaginator:
return Session().client("qconnect").get_paginator("list_quick_responses")
# ListQuickResponsesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import ListQuickResponsesPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: ListQuickResponsesPaginator = client.get_paginator("list_quick_responses") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: ListQuickResponsesPaginator
- item: ListQuickResponsesResponseTypeDef
paginate#
Type annotations and code completion for ListQuickResponsesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
knowledgeBaseId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListQuickResponsesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListQuickResponsesRequestListQuickResponsesPaginateTypeDef = { # (1)
"knowledgeBaseId": ...,
}
parent.paginate(**kwargs)
QueryAssistantPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("query_assistant")
.
boto3 documentation
# QueryAssistantPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import QueryAssistantPaginator
def get_query_assistant_paginator() -> QueryAssistantPaginator:
return Session().client("qconnect").get_paginator("query_assistant")
# QueryAssistantPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import QueryAssistantPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: QueryAssistantPaginator = client.get_paginator("query_assistant") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: QueryAssistantPaginator
- item: QueryAssistantResponsePaginatorTypeDef
paginate#
Type annotations and code completion for QueryAssistantPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
assistantId: str,
overrideKnowledgeBaseSearchType: KnowledgeBaseSearchTypeType = ..., # (1)
queryCondition: Sequence[QueryConditionTypeDef] = ..., # (2)
queryInputData: QueryInputDataTypeDef = ..., # (3)
queryText: str = ...,
sessionId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (4)
) -> _PageIterator[QueryAssistantResponsePaginatorTypeDef]: # (5)
...
- See KnowledgeBaseSearchTypeType
- See QueryConditionTypeDef
- See QueryInputDataTypeDef
- See PaginatorConfigTypeDef
- See QueryAssistantResponsePaginatorTypeDef
# paginate method usage example with argument unpacking
kwargs: QueryAssistantRequestQueryAssistantPaginateTypeDef = { # (1)
"assistantId": ...,
}
parent.paginate(**kwargs)
SearchContentPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("search_content")
.
boto3 documentation
# SearchContentPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import SearchContentPaginator
def get_search_content_paginator() -> SearchContentPaginator:
return Session().client("qconnect").get_paginator("search_content")
# SearchContentPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import SearchContentPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: SearchContentPaginator = client.get_paginator("search_content") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: SearchContentPaginator
- item: SearchContentResponseTypeDef
paginate#
Type annotations and code completion for SearchContentPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
knowledgeBaseId: str,
searchExpression: SearchExpressionTypeDef, # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[SearchContentResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: SearchContentRequestSearchContentPaginateTypeDef = { # (1)
"knowledgeBaseId": ...,
"searchExpression": ...,
}
parent.paginate(**kwargs)
SearchMessageTemplatesPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("search_message_templates")
.
boto3 documentation
# SearchMessageTemplatesPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import SearchMessageTemplatesPaginator
def get_search_message_templates_paginator() -> SearchMessageTemplatesPaginator:
return Session().client("qconnect").get_paginator("search_message_templates")
# SearchMessageTemplatesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import SearchMessageTemplatesPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: SearchMessageTemplatesPaginator = client.get_paginator("search_message_templates") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: SearchMessageTemplatesPaginator
- item: SearchMessageTemplatesResponseTypeDef
paginate#
Type annotations and code completion for SearchMessageTemplatesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
knowledgeBaseId: str,
searchExpression: MessageTemplateSearchExpressionTypeDef, # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[SearchMessageTemplatesResponseTypeDef]: # (3)
...
- See MessageTemplateSearchExpressionTypeDef
- See PaginatorConfigTypeDef
- See SearchMessageTemplatesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: SearchMessageTemplatesRequestSearchMessageTemplatesPaginateTypeDef = { # (1)
"knowledgeBaseId": ...,
"searchExpression": ...,
}
parent.paginate(**kwargs)
SearchQuickResponsesPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("search_quick_responses")
.
boto3 documentation
# SearchQuickResponsesPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import SearchQuickResponsesPaginator
def get_search_quick_responses_paginator() -> SearchQuickResponsesPaginator:
return Session().client("qconnect").get_paginator("search_quick_responses")
# SearchQuickResponsesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import SearchQuickResponsesPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: SearchQuickResponsesPaginator = client.get_paginator("search_quick_responses") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: SearchQuickResponsesPaginator
- item: SearchQuickResponsesResponseTypeDef
paginate#
Type annotations and code completion for SearchQuickResponsesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
knowledgeBaseId: str,
searchExpression: QuickResponseSearchExpressionTypeDef, # (1)
attributes: Mapping[str, str] = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[SearchQuickResponsesResponseTypeDef]: # (3)
...
- See QuickResponseSearchExpressionTypeDef
- See PaginatorConfigTypeDef
- See SearchQuickResponsesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: SearchQuickResponsesRequestSearchQuickResponsesPaginateTypeDef = { # (1)
"knowledgeBaseId": ...,
"searchExpression": ...,
}
parent.paginate(**kwargs)
SearchSessionsPaginator#
Type annotations and code completion for boto3.client("qconnect").get_paginator("search_sessions")
.
boto3 documentation
# SearchSessionsPaginator usage example
from boto3.session import Session
from mypy_boto3_qconnect.paginator import SearchSessionsPaginator
def get_search_sessions_paginator() -> SearchSessionsPaginator:
return Session().client("qconnect").get_paginator("search_sessions")
# SearchSessionsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_qconnect.paginator import SearchSessionsPaginator
session = Session()
client = Session().client("qconnect") # (1)
paginator: SearchSessionsPaginator = client.get_paginator("search_sessions") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: QConnectClient
- paginator: SearchSessionsPaginator
- item: SearchSessionsResponseTypeDef
paginate#
Type annotations and code completion for SearchSessionsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
assistantId: str,
searchExpression: SearchExpressionTypeDef, # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[SearchSessionsResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: SearchSessionsRequestSearchSessionsPaginateTypeDef = { # (1)
"assistantId": ...,
"searchExpression": ...,
}
parent.paginate(**kwargs)