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)
- client: S3ControlClient
- paginator: ListAccessPointsForObjectLambdaPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAccessPointsForObjectLambdaRequestPaginateTypeDef = { # (1)
"AccountId": ...,
}
parent.paginate(**kwargs)
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)
- client: S3ControlClient
- paginator: ListCallerAccessGrantsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListCallerAccessGrantsRequestPaginateTypeDef = { # (1)
"AccountId": ...,
}
parent.paginate(**kwargs)