Skip to content

Paginators#

Index > Mediapackagev2 > Paginators

Auto-generated documentation for Mediapackagev2 type annotations stubs module mypy-boto3-mediapackagev2.

ListChannelGroupsPaginator#

Type annotations and code completion for boto3.client("mediapackagev2").get_paginator("list_channel_groups"). boto3 documentation

# ListChannelGroupsPaginator usage example

from boto3.session import Session

from mypy_boto3_mediapackagev2.paginator import ListChannelGroupsPaginator

def get_list_channel_groups_paginator() -> ListChannelGroupsPaginator:
    return Session().client("mediapackagev2").get_paginator("list_channel_groups")
# ListChannelGroupsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_mediapackagev2.paginator import ListChannelGroupsPaginator

session = Session()

client = Session().client("mediapackagev2")  # (1)
paginator: ListChannelGroupsPaginator = client.get_paginator("list_channel_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: Mediapackagev2Client
  2. paginator: ListChannelGroupsPaginator
  3. item: ListChannelGroupsResponseTypeDef

paginate#

Type annotations and code completion for ListChannelGroupsPaginator.paginate method.

# paginate method definition

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

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

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

ListChannelsPaginator#

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

# ListChannelsPaginator usage example

from boto3.session import Session

from mypy_boto3_mediapackagev2.paginator import ListChannelsPaginator

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

from boto3.session import Session

from mypy_boto3_mediapackagev2.paginator import ListChannelsPaginator

session = Session()

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

paginate#

Type annotations and code completion for ListChannelsPaginator.paginate method.

# paginate method definition

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

kwargs: ListChannelsRequestListChannelsPaginateTypeDef = {  # (1)
    "ChannelGroupName": ...,
}

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

ListHarvestJobsPaginator#

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

# ListHarvestJobsPaginator usage example

from boto3.session import Session

from mypy_boto3_mediapackagev2.paginator import ListHarvestJobsPaginator

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

from boto3.session import Session

from mypy_boto3_mediapackagev2.paginator import ListHarvestJobsPaginator

session = Session()

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

paginate#

Type annotations and code completion for ListHarvestJobsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    ChannelGroupName: str,
    ChannelName: str = ...,
    OriginEndpointName: str = ...,
    Status: HarvestJobStatusType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListHarvestJobsResponseTypeDef]:  # (3)
    ...
  1. See HarvestJobStatusType
  2. See PaginatorConfigTypeDef
  3. See ListHarvestJobsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListHarvestJobsRequestListHarvestJobsPaginateTypeDef = {  # (1)
    "ChannelGroupName": ...,
}

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

ListOriginEndpointsPaginator#

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

# ListOriginEndpointsPaginator usage example

from boto3.session import Session

from mypy_boto3_mediapackagev2.paginator import ListOriginEndpointsPaginator

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

from boto3.session import Session

from mypy_boto3_mediapackagev2.paginator import ListOriginEndpointsPaginator

session = Session()

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

paginate#

Type annotations and code completion for ListOriginEndpointsPaginator.paginate method.

# paginate method definition

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

kwargs: ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef = {  # (1)
    "ChannelGroupName": ...,
    "ChannelName": ...,
}

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