Skip to content

Paginators#

Index > ServerlessApplicationRepository > Paginators

Auto-generated documentation for ServerlessApplicationRepository type annotations stubs module mypy-boto3-serverlessrepo.

ListApplicationDependenciesPaginator#

Type annotations and code completion for boto3.client("serverlessrepo").get_paginator("list_application_dependencies"). boto3 documentation

# ListApplicationDependenciesPaginator usage example

from boto3.session import Session

from mypy_boto3_serverlessrepo.paginator import ListApplicationDependenciesPaginator

def get_list_application_dependencies_paginator() -> ListApplicationDependenciesPaginator:
    return Session().client("serverlessrepo").get_paginator("list_application_dependencies")
# ListApplicationDependenciesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_serverlessrepo.paginator import ListApplicationDependenciesPaginator

session = Session()

client = Session().client("serverlessrepo")  # (1)
paginator: ListApplicationDependenciesPaginator = client.get_paginator("list_application_dependencies")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ServerlessApplicationRepositoryClient
  2. paginator: ListApplicationDependenciesPaginator
  3. item: ListApplicationDependenciesResponseTypeDef

paginate#

Type annotations and code completion for ListApplicationDependenciesPaginator.paginate method.

# paginate method definition

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

kwargs: ListApplicationDependenciesRequestListApplicationDependenciesPaginateTypeDef = {  # (1)
    "ApplicationId": ...,
}

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

ListApplicationVersionsPaginator#

Type annotations and code completion for boto3.client("serverlessrepo").get_paginator("list_application_versions"). boto3 documentation

# ListApplicationVersionsPaginator usage example

from boto3.session import Session

from mypy_boto3_serverlessrepo.paginator import ListApplicationVersionsPaginator

def get_list_application_versions_paginator() -> ListApplicationVersionsPaginator:
    return Session().client("serverlessrepo").get_paginator("list_application_versions")
# ListApplicationVersionsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_serverlessrepo.paginator import ListApplicationVersionsPaginator

session = Session()

client = Session().client("serverlessrepo")  # (1)
paginator: ListApplicationVersionsPaginator = client.get_paginator("list_application_versions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ServerlessApplicationRepositoryClient
  2. paginator: ListApplicationVersionsPaginator
  3. item: ListApplicationVersionsResponseTypeDef

paginate#

Type annotations and code completion for ListApplicationVersionsPaginator.paginate method.

# paginate method definition

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

kwargs: ListApplicationVersionsRequestListApplicationVersionsPaginateTypeDef = {  # (1)
    "ApplicationId": ...,
}

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

ListApplicationsPaginator#

Type annotations and code completion for boto3.client("serverlessrepo").get_paginator("list_applications"). boto3 documentation

# ListApplicationsPaginator usage example

from boto3.session import Session

from mypy_boto3_serverlessrepo.paginator import ListApplicationsPaginator

def get_list_applications_paginator() -> ListApplicationsPaginator:
    return Session().client("serverlessrepo").get_paginator("list_applications")
# ListApplicationsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_serverlessrepo.paginator import ListApplicationsPaginator

session = Session()

client = Session().client("serverlessrepo")  # (1)
paginator: ListApplicationsPaginator = client.get_paginator("list_applications")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: ServerlessApplicationRepositoryClient
  2. paginator: ListApplicationsPaginator
  3. item: ListApplicationsResponseTypeDef

paginate#

Type annotations and code completion for ListApplicationsPaginator.paginate method.

# paginate method definition

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

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

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