Skip to content

Paginators

Index > S3Outposts > Paginators

Auto-generated documentation for S3Outposts type annotations stubs module mypy-boto3-s3outposts.

ListEndpointsPaginator

Type annotations and code completion for boto3.client("s3outposts").get_paginator("list_endpoints"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_s3outposts.paginator import ListEndpointsPaginator

def get_list_endpoints_paginator() -> ListEndpointsPaginator:
    return Session().client("s3outposts").get_paginator("list_endpoints")
Usage example
from boto3.session import Session

from mypy_boto3_s3outposts.paginator import ListEndpointsPaginator

session = Session()

client = Session().client("s3outposts")  # (1)
paginator: ListEndpointsPaginator = client.get_paginator("list_endpoints")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: S3OutpostsClient
  2. paginator: ListEndpointsPaginator
  3. item: ListEndpointsResultTypeDef

paginate

Type annotations and code completion for ListEndpointsPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListEndpointsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListEndpointsResultTypeDef
Usage example with kwargs
kwargs: ListEndpointsRequestListEndpointsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

ListSharedEndpointsPaginator

Type annotations and code completion for boto3.client("s3outposts").get_paginator("list_shared_endpoints"). boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_s3outposts.paginator import ListSharedEndpointsPaginator

def get_list_shared_endpoints_paginator() -> ListSharedEndpointsPaginator:
    return Session().client("s3outposts").get_paginator("list_shared_endpoints")
Usage example
from boto3.session import Session

from mypy_boto3_s3outposts.paginator import ListSharedEndpointsPaginator

session = Session()

client = Session().client("s3outposts")  # (1)
paginator: ListSharedEndpointsPaginator = client.get_paginator("list_shared_endpoints")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: S3OutpostsClient
  2. paginator: ListSharedEndpointsPaginator
  3. item: ListSharedEndpointsResultTypeDef

paginate

Type annotations and code completion for ListSharedEndpointsPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    OutpostId: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListSharedEndpointsResultTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListSharedEndpointsResultTypeDef
Usage example with kwargs
kwargs: ListSharedEndpointsRequestListSharedEndpointsPaginateTypeDef = {  # (1)
    "OutpostId": ...,
}

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