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)
- client: AgentRegistryControlClient
- paginator: ListRegistriesPaginator
- 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)
...
- See
Sequence[RegistryFilterTypeDef] - See PaginatorConfigTypeDef
- See
PageIterator[ListRegistriesResponseTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListRegistriesRequestPaginateTypeDef = { # (1)
"filters": ...,
}
parent.paginate(**kwargs)
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)
- client: AgentRegistryControlClient
- paginator: ListRegistryRecordsPaginator
- 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)
...
- See
Sequence[RegistryRecordFilterTypeDef] - See PaginatorConfigTypeDef
- See
PageIterator[ListRegistryRecordsResponseTypeDef]
# paginate method usage example with argument unpacking
kwargs: ListRegistryRecordsRequestPaginateTypeDef = { # (1)
"registryId": ...,
}
parent.paginate(**kwargs)