Skip to content

Paginators#

Index > AgentRegistryControl > Paginators

Auto-generated documentation for AgentRegistryControl type annotations stubs module mypy-boto3-agent-registry-control.

ListRegistriesPaginator#

Type annotations and code completion for boto3.client("agent-registry-control").get_paginator("list_registries"). boto3 documentation

# ListRegistriesPaginator usage example

from boto3.session import Session

from mypy_boto3_agent_registry_control.paginator import ListRegistriesPaginator

def get_list_registries_paginator() -> ListRegistriesPaginator:
    return Session().client("agent-registry-control").get_paginator("list_registries")
# ListRegistriesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_agent_registry_control.paginator import ListRegistriesPaginator

session = Session()

client = Session().client("agent-registry-control")  # (1)
paginator: ListRegistriesPaginator = client.get_paginator("list_registries")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: AgentRegistryControlClient
  2. paginator: ListRegistriesPaginator
  3. item: PageIterator[ListRegistriesResponseTypeDef]

paginate#

Type annotations and code completion for ListRegistriesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    filters: Sequence[RegistryFilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> botocore.paginate.PageIterator[ListRegistriesResponseTypeDef]:  # (3)
    ...
  1. See Sequence[RegistryFilterTypeDef]
  2. See PaginatorConfigTypeDef
  3. See PageIterator[ListRegistriesResponseTypeDef]
# paginate method usage example with argument unpacking

kwargs: ListRegistriesRequestPaginateTypeDef = {  # (1)
    "filters": ...,
}

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

ListRegistryRecordsPaginator#

Type annotations and code completion for boto3.client("agent-registry-control").get_paginator("list_registry_records"). boto3 documentation

# ListRegistryRecordsPaginator usage example

from boto3.session import Session

from mypy_boto3_agent_registry_control.paginator import ListRegistryRecordsPaginator

def get_list_registry_records_paginator() -> ListRegistryRecordsPaginator:
    return Session().client("agent-registry-control").get_paginator("list_registry_records")
# ListRegistryRecordsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_agent_registry_control.paginator import ListRegistryRecordsPaginator

session = Session()

client = Session().client("agent-registry-control")  # (1)
paginator: ListRegistryRecordsPaginator = client.get_paginator("list_registry_records")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: AgentRegistryControlClient
  2. paginator: ListRegistryRecordsPaginator
  3. item: PageIterator[ListRegistryRecordsResponseTypeDef]

paginate#

Type annotations and code completion for ListRegistryRecordsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    registryId: str,
    filters: Sequence[RegistryRecordFilterTypeDef] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> botocore.paginate.PageIterator[ListRegistryRecordsResponseTypeDef]:  # (3)
    ...
  1. See Sequence[RegistryRecordFilterTypeDef]
  2. See PaginatorConfigTypeDef
  3. See PageIterator[ListRegistryRecordsResponseTypeDef]
# paginate method usage example with argument unpacking

kwargs: ListRegistryRecordsRequestPaginateTypeDef = {  # (1)
    "registryId": ...,
}

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