Skip to content

Paginators#

Index > S3Control > Paginators

Auto-generated documentation for S3Control type annotations stubs module mypy-boto3-s3control.

ListAccessPointsForObjectLambdaPaginator#

Type annotations and code completion for boto3.client("s3control").get_paginator("list_access_points_for_object_lambda"). boto3 documentation

# ListAccessPointsForObjectLambdaPaginator usage example

from boto3.session import Session

from mypy_boto3_s3control.paginator import ListAccessPointsForObjectLambdaPaginator

def get_list_access_points_for_object_lambda_paginator() -> ListAccessPointsForObjectLambdaPaginator:
    return Session().client("s3control").get_paginator("list_access_points_for_object_lambda")
# ListAccessPointsForObjectLambdaPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_s3control.paginator import ListAccessPointsForObjectLambdaPaginator

session = Session()

client = Session().client("s3control")  # (1)
paginator: ListAccessPointsForObjectLambdaPaginator = client.get_paginator("list_access_points_for_object_lambda")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: S3ControlClient
  2. paginator: ListAccessPointsForObjectLambdaPaginator
  3. item: ListAccessPointsForObjectLambdaResultTypeDef

paginate#

Type annotations and code completion for ListAccessPointsForObjectLambdaPaginator.paginate method.

# paginate method definition

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

kwargs: ListAccessPointsForObjectLambdaRequestListAccessPointsForObjectLambdaPaginateTypeDef = {  # (1)
    "AccountId": ...,
}

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