Skip to content

Paginators#

Index > AgentsforBedrock > Paginators

Auto-generated documentation for AgentsforBedrock type annotations stubs module mypy-boto3-bedrock-agent.

ListAgentActionGroupsPaginator#

Type annotations and code completion for boto3.client("bedrock-agent").get_paginator("list_agent_action_groups"). boto3 documentation

# ListAgentActionGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock_agent.paginator import ListAgentActionGroupsPaginator

def get_list_agent_action_groups_paginator() -> ListAgentActionGroupsPaginator:
    return Session().client("bedrock-agent").get_paginator("list_agent_action_groups")
# ListAgentActionGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock_agent.paginator import ListAgentActionGroupsPaginator

session = Session()

client = Session().client("bedrock-agent")  # (1)
paginator: ListAgentActionGroupsPaginator = client.get_paginator("list_agent_action_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: AgentsforBedrockClient
  2. paginator: ListAgentActionGroupsPaginator
  3. item: ListAgentActionGroupsResponseTypeDef

paginate#

Type annotations and code completion for ListAgentActionGroupsPaginator.paginate method.

# paginate method definition

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

kwargs: ListAgentActionGroupsRequestListAgentActionGroupsPaginateTypeDef = {  # (1)
    "agentId": ...,
    "agentVersion": ...,
}

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

ListAgentAliasesPaginator#

Type annotations and code completion for boto3.client("bedrock-agent").get_paginator("list_agent_aliases"). boto3 documentation

# ListAgentAliasesPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock_agent.paginator import ListAgentAliasesPaginator

def get_list_agent_aliases_paginator() -> ListAgentAliasesPaginator:
    return Session().client("bedrock-agent").get_paginator("list_agent_aliases")
# ListAgentAliasesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock_agent.paginator import ListAgentAliasesPaginator

session = Session()

client = Session().client("bedrock-agent")  # (1)
paginator: ListAgentAliasesPaginator = client.get_paginator("list_agent_aliases")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: AgentsforBedrockClient
  2. paginator: ListAgentAliasesPaginator
  3. item: ListAgentAliasesResponseTypeDef

paginate#

Type annotations and code completion for ListAgentAliasesPaginator.paginate method.

# paginate method definition

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

kwargs: ListAgentAliasesRequestListAgentAliasesPaginateTypeDef = {  # (1)
    "agentId": ...,
}

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

ListAgentKnowledgeBasesPaginator#

Type annotations and code completion for boto3.client("bedrock-agent").get_paginator("list_agent_knowledge_bases"). boto3 documentation

# ListAgentKnowledgeBasesPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock_agent.paginator import ListAgentKnowledgeBasesPaginator

def get_list_agent_knowledge_bases_paginator() -> ListAgentKnowledgeBasesPaginator:
    return Session().client("bedrock-agent").get_paginator("list_agent_knowledge_bases")
# ListAgentKnowledgeBasesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock_agent.paginator import ListAgentKnowledgeBasesPaginator

session = Session()

client = Session().client("bedrock-agent")  # (1)
paginator: ListAgentKnowledgeBasesPaginator = client.get_paginator("list_agent_knowledge_bases")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: AgentsforBedrockClient
  2. paginator: ListAgentKnowledgeBasesPaginator
  3. item: ListAgentKnowledgeBasesResponseTypeDef

paginate#

Type annotations and code completion for ListAgentKnowledgeBasesPaginator.paginate method.

# paginate method definition

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

kwargs: ListAgentKnowledgeBasesRequestListAgentKnowledgeBasesPaginateTypeDef = {  # (1)
    "agentId": ...,
    "agentVersion": ...,
}

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

ListAgentVersionsPaginator#

Type annotations and code completion for boto3.client("bedrock-agent").get_paginator("list_agent_versions"). boto3 documentation

# ListAgentVersionsPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock_agent.paginator import ListAgentVersionsPaginator

def get_list_agent_versions_paginator() -> ListAgentVersionsPaginator:
    return Session().client("bedrock-agent").get_paginator("list_agent_versions")
# ListAgentVersionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock_agent.paginator import ListAgentVersionsPaginator

session = Session()

client = Session().client("bedrock-agent")  # (1)
paginator: ListAgentVersionsPaginator = client.get_paginator("list_agent_versions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: AgentsforBedrockClient
  2. paginator: ListAgentVersionsPaginator
  3. item: ListAgentVersionsResponseTypeDef

paginate#

Type annotations and code completion for ListAgentVersionsPaginator.paginate method.

# paginate method definition

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

kwargs: ListAgentVersionsRequestListAgentVersionsPaginateTypeDef = {  # (1)
    "agentId": ...,
}

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

ListAgentsPaginator#

Type annotations and code completion for boto3.client("bedrock-agent").get_paginator("list_agents").