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

# ListEndpointsPaginator 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")
# ListEndpointsPaginator usage example with type annotations

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.

# paginate method definition

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

kwargs: ListEndpointsRequestListEndpointsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

ListOutpostsWithS3Paginator#

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

# ListOutpostsWithS3Paginator usage example

from boto3.session import Session

from mypy_boto3_s3outposts.paginator import ListOutpostsWithS3Paginator

def get_list_outposts_with_s3_paginator() -> ListOutpostsWithS3Paginator:
    return Session().client("s3outposts").get_paginator("list_outposts_with_s3")
# ListOutpostsWithS3Paginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_s3outposts.paginator import ListOutpostsWithS3Paginator

session = Session()

client = Session().client("s3outposts")  # (1)
paginator: ListOutpostsWithS3Paginator = client.get_paginator("list_outposts_with_s3")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: S3OutpostsClient
  2. paginator: ListOutpostsWithS3Paginator
  3. item: ListOutpostsWithS3ResultTypeDef

paginate#

Type annotations and code completion for ListOutpostsWithS3Paginator.paginate method.

# paginate method definition

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

kwargs: ListOutpostsWithS3RequestListOutpostsWithS3PaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

ListSharedEndpointsPaginator#

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

# ListSharedEndpointsPaginator 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")
# ListSharedEndpointsPaginator usage example with type annotations

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.

# paginate method definition

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

kwargs: ListSharedEndpointsRequestListSharedEndpointsPaginateTypeDef = {  # (1)
    "OutpostId": ...,
}

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