Skip to content

Paginators#

Index > AugmentedAIRuntime > Paginators

Auto-generated documentation for AugmentedAIRuntime type annotations stubs module mypy-boto3-sagemaker-a2i-runtime.

ListHumanLoopsPaginator#

Type annotations and code completion for boto3.client("sagemaker-a2i-runtime").get_paginator("list_human_loops"). boto3 documentation

# ListHumanLoopsPaginator usage example

from boto3.session import Session

from mypy_boto3_sagemaker_a2i_runtime.paginator import ListHumanLoopsPaginator

def get_list_human_loops_paginator() -> ListHumanLoopsPaginator:
    return Session().client("sagemaker-a2i-runtime").get_paginator("list_human_loops")
# ListHumanLoopsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_sagemaker_a2i_runtime.paginator import ListHumanLoopsPaginator

session = Session()

client = Session().client("sagemaker-a2i-runtime")  # (1)
paginator: ListHumanLoopsPaginator = client.get_paginator("list_human_loops")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: AugmentedAIRuntimeClient
  2. paginator: ListHumanLoopsPaginator
  3. item: ListHumanLoopsResponseTypeDef

paginate#

Type annotations and code completion for ListHumanLoopsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    FlowDefinitionArn: str,
    CreationTimeAfter: TimestampTypeDef = ...,
    CreationTimeBefore: TimestampTypeDef = ...,
    SortOrder: SortOrderType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[ListHumanLoopsResponseTypeDef]:  # (3)
    ...
  1. See SortOrderType
  2. See PaginatorConfigTypeDef
  3. See ListHumanLoopsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListHumanLoopsRequestPaginateTypeDef = {  # (1)
    "FlowDefinitionArn": ...,
}

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