Skip to content

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)
  1. client: MediaPackageVodClient
  2. paginator: ListAssetsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAssetsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAssetsRequestListAssetsPaginateTypeDef = {  # (1)
    "PackagingGroupId": ...,
}

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

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)
  1. client: MediaPackageVodClient
  2. paginator: ListPackagingConfigurationsPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListPackagingConfigurationsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListPackagingConfigurationsRequestListPackagingConfigurationsPaginateTypeDef = {  # (1)
    "PackagingGroupId": ...,
}

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

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)
  1. client: MediaPackageVodClient
  2. paginator: ListPackagingGroupsPaginator
  3. item: ListPackagingGroupsResponseTypeDef

paginate#

Type annotations and code completion for ListPackagingGroupsPaginator.paginate method.

# paginate method definition

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

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

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