Paginators#
Index > MediaPackageVod > Paginators
Auto-generated documentation for MediaPackageVod type annotations stubs module mypy-boto3-mediapackage-vod.
ListAssetsPaginator#
Type annotations and code completion for boto3.client("mediapackage-vod").get_paginator("list_assets")
.
boto3 documentation
# ListAssetsPaginator usage example
from boto3.session import Session
from mypy_boto3_mediapackage_vod.paginator import ListAssetsPaginator
def get_list_assets_paginator() -> ListAssetsPaginator:
return Session().client("mediapackage-vod").get_paginator("list_assets")
# ListAssetsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mediapackage_vod.paginator import ListAssetsPaginator
session = Session()
client = Session().client("mediapackage-vod") # (1)
paginator: ListAssetsPaginator = client.get_paginator("list_assets") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MediaPackageVodClient
- paginator: ListAssetsPaginator
- item: ListAssetsResponseTypeDef
paginate#
Type annotations and code completion for ListAssetsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PackagingGroupId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListAssetsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListAssetsRequestPaginateTypeDef = { # (1)
"PackagingGroupId": ...,
}
parent.paginate(**kwargs)
ListPackagingConfigurationsPaginator#
Type annotations and code completion for boto3.client("mediapackage-vod").get_paginator("list_packaging_configurations")
.
boto3 documentation
# ListPackagingConfigurationsPaginator usage example
from boto3.session import Session
from mypy_boto3_mediapackage_vod.paginator import ListPackagingConfigurationsPaginator
def get_list_packaging_configurations_paginator() -> ListPackagingConfigurationsPaginator:
return Session().client("mediapackage-vod").get_paginator("list_packaging_configurations")
# ListPackagingConfigurationsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mediapackage_vod.paginator import ListPackagingConfigurationsPaginator
session = Session()
client = Session().client("mediapackage-vod") # (1)
paginator: ListPackagingConfigurationsPaginator = client.get_paginator("list_packaging_configurations") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MediaPackageVodClient
- paginator: ListPackagingConfigurationsPaginator
- item: ListPackagingConfigurationsResponseTypeDef
paginate#
Type annotations and code completion for ListPackagingConfigurationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PackagingGroupId: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListPackagingConfigurationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListPackagingConfigurationsRequestPaginateTypeDef = { # (1)
"PackagingGroupId": ...,
}
parent.paginate(**kwargs)
ListPackagingGroupsPaginator#
Type annotations and code completion for boto3.client("mediapackage-vod").get_paginator("list_packaging_groups")
.
boto3 documentation
# ListPackagingGroupsPaginator usage example
from boto3.session import Session
from mypy_boto3_mediapackage_vod.paginator import ListPackagingGroupsPaginator
def get_list_packaging_groups_paginator() -> ListPackagingGroupsPaginator:
return Session().client("mediapackage-vod").get_paginator("list_packaging_groups")
# ListPackagingGroupsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_mediapackage_vod.paginator import ListPackagingGroupsPaginator
session = Session()
client = Session().client("mediapackage-vod") # (1)
paginator: ListPackagingGroupsPaginator = client.get_paginator("list_packaging_groups") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: MediaPackageVodClient
- paginator: ListPackagingGroupsPaginator
- item: ListPackagingGroupsResponseTypeDef
paginate#
Type annotations and code completion for ListPackagingGroupsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListPackagingGroupsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListPackagingGroupsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)