Skip to content

Paginators#

Index > BedrockRuntime > Paginators

Auto-generated documentation for BedrockRuntime type annotations stubs module mypy-boto3-bedrock-runtime.

ListAsyncInvokesPaginator#

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

# ListAsyncInvokesPaginator usage example

from boto3.session import Session

from mypy_boto3_bedrock_runtime.paginator import ListAsyncInvokesPaginator

def get_list_async_invokes_paginator() -> ListAsyncInvokesPaginator:
    return Session().client("bedrock-runtime").get_paginator("list_async_invokes")
# ListAsyncInvokesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_bedrock_runtime.paginator import ListAsyncInvokesPaginator

session = Session()

client = Session().client("bedrock-runtime")  # (1)
paginator: ListAsyncInvokesPaginator = client.get_paginator("list_async_invokes")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: BedrockRuntimeClient
  2. paginator: ListAsyncInvokesPaginator
  3. item: ListAsyncInvokesResponseTypeDef

paginate#

Type annotations and code completion for ListAsyncInvokesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    submitTimeAfter: TimestampTypeDef = ...,
    submitTimeBefore: TimestampTypeDef = ...,
    statusEquals: AsyncInvokeStatusType = ...,  # (1)
    sortBy: SortAsyncInvocationByType = ...,  # (2)
    sortOrder: SortOrderType = ...,  # (3)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (4)
) -> _PageIterator[ListAsyncInvokesResponseTypeDef]:  # (5)
    ...
  1. See AsyncInvokeStatusType
  2. See SortAsyncInvocationByType
  3. See SortOrderType
  4. See PaginatorConfigTypeDef
  5. See ListAsyncInvokesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAsyncInvokesRequestListAsyncInvokesPaginateTypeDef = {  # (1)
    "submitTimeAfter": ...,
}

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