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)
- client: ServerlessApplicationRepositoryClient
- paginator: ListApplicationDependenciesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListApplicationDependenciesRequestListApplicationDependenciesPaginateTypeDef = { # (1)
"ApplicationId": ...,
}
parent.paginate(**kwargs)
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)
- client: ServerlessApplicationRepositoryClient
- paginator: ListApplicationVersionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListApplicationVersionsRequestListApplicationVersionsPaginateTypeDef = { # (1)
"ApplicationId": ...,
}
parent.paginate(**kwargs)
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)
- client: ServerlessApplicationRepositoryClient
- paginator: ListApplicationsPaginator
- item: ListApplicationsResponseTypeDef
paginate#
Type annotations and code completion for ListApplicationsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListApplicationsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListApplicationsRequestListApplicationsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)