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)
- client: MediaPackageClient
- paginator: ListChannelsPaginator
- item: ListChannelsResponseTypeDef
paginate#
Type annotations and code completion for ListChannelsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListChannelsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListChannelsRequestListChannelsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
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)
- client: MediaPackageClient
- paginator: ListHarvestJobsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListHarvestJobsRequestListHarvestJobsPaginateTypeDef = { # (1)
"IncludeChannelId": ...,
}
parent.paginate(**kwargs)
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)
- client: MediaPackageClient
- paginator: ListOriginEndpointsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListOriginEndpointsRequestListOriginEndpointsPaginateTypeDef = { # (1)
"ChannelId": ...,
}
parent.paginate(**kwargs)