Skip to content

Paginators#

Index > MediaPackage > Paginators

Auto-generated documentation for MediaPackage type annotations stubs module mypy-boto3-mediapackage.

ListChannelsPaginator#

Type annotations and code completion for boto3.client("mediapackage").get_paginator("list_channels"). boto3 documentation

# ListChannelsPaginator usage example

from boto3.session import Session

from mypy_boto3_mediapackage.paginator import ListChannelsPaginator

def get_list_channels_paginator() -> ListChannelsPaginator:
    return Session().client("mediapackage").get_paginator("list_channels")
# ListChannelsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_mediapackage.paginator import ListChannelsPaginator

session = Session()

client = Session().client("mediapackage")  # (1)
paginator: ListChannelsPaginator = client.get_paginator("list_channels")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MediaPackageClient
  2. paginator: ListChannelsPaginator
  3. item: ListChannelsResponseTypeDef

paginate#

Type annotations and code completion for ListChannelsPaginator.paginate method.

# paginate method definition

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

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

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

ListHarvestJobsPaginator#

Type annotations and code completion for boto3.client("mediapackage").get_paginator("list_harvest_jobs"). boto3 documentation

# ListHarvestJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_mediapackage.paginator import ListHarvestJobsPaginator

def get_list_harvest_jobs_paginator() -> ListHarvestJobsPaginator:
    return Session().client("mediapackage").get_paginator("list_harvest_jobs")
# ListHarvestJobsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_mediapackage.paginator import ListHarvestJobsPaginator

session = Session()

client = Session().client("mediapackage")  # (1)
paginator: ListHarvestJobsPaginator = client.get_paginator("list_harvest_jobs")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MediaPackageClient
  2. paginator: ListHarvestJobsPaginator
  3. item: ListHarvestJobsResponseTypeDef

paginate#

Type annotations and code completion for ListHarvestJobsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    IncludeChannelId: str = ...,
    IncludeStatus: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> PageIterator[ListHarvestJobsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListHarvestJobsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListHarvestJobsRequestPaginateTypeDef = {  # (1)
    "IncludeChannelId": ...,
}

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

ListOriginEndpointsPaginator#

Type annotations and code completion for boto3.client("mediapackage").get_paginator("list_origin_endpoints"). boto3 documentation

# ListOriginEndpointsPaginator usage example

from boto3.session import Session

from mypy_boto3_mediapackage.paginator import ListOriginEndpointsPaginator

def get_list_origin_endpoints_paginator() -> ListOriginEndpointsPaginator:
    return Session().client("mediapackage").get_paginator("list_origin_endpoints")
# ListOriginEndpointsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_mediapackage.paginator import ListOriginEndpointsPaginator

session = Session()

client = Session().client("mediapackage")  # (1)
paginator: ListOriginEndpointsPaginator = client.get_paginator("list_origin_endpoints")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: MediaPackageClient
  2. paginator: ListOriginEndpointsPaginator
  3. item: ListOriginEndpointsResponseTypeDef

paginate#

Type annotations and code completion for ListOriginEndpointsPaginator.paginate method.

# paginate method definition

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

kwargs: ListOriginEndpointsRequestPaginateTypeDef = {  # (1)
    "ChannelId": ...,
}

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