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

ListCallerAccessGrantsPaginator#

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

# ListCallerAccessGrantsPaginator usage example

from boto3.session import Session

from mypy_boto3_s3control.paginator import ListCallerAccessGrantsPaginator

def get_list_caller_access_grants_paginator() -> ListCallerAccessGrantsPaginator:
    return Session().client("s3control").get_paginator("list_caller_access_grants")
# ListCallerAccessGrantsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_s3control.paginator import ListCallerAccessGrantsPaginator

session = Session()

client = Session().client("s3control")  # (1)
paginator: ListCallerAccessGrantsPaginator = client.get_paginator("list_caller_access_grants")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: S3ControlClient
  2. paginator: ListCallerAccessGrantsPaginator
  3. item: ListCallerAccessGrantsResultTypeDef

paginate#

Type annotations and code completion for ListCallerAccessGrantsPaginator.paginate method.

# paginate method definition

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

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

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