Paginators#
Auto-generated documentation for CloudHSM type annotations stubs module types-boto3-cloudhsm.
ListHapgsPaginator#
Type annotations and code completion for boto3.client("cloudhsm").get_paginator("list_hapgs")
.
boto3 documentation
# ListHapgsPaginator usage example
from boto3.session import Session
from types_boto3_cloudhsm.paginator import ListHapgsPaginator
def get_list_hapgs_paginator() -> ListHapgsPaginator:
return Session().client("cloudhsm").get_paginator("list_hapgs")
# ListHapgsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_cloudhsm.paginator import ListHapgsPaginator
session = Session()
client = Session().client("cloudhsm") # (1)
paginator: ListHapgsPaginator = client.get_paginator("list_hapgs") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudHSMClient
- paginator: ListHapgsPaginator
- item: ListHapgsResponseTypeDef
paginate#
Type annotations and code completion for ListHapgsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListHapgsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListHapgsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListHsmsPaginator#
Type annotations and code completion for boto3.client("cloudhsm").get_paginator("list_hsms")
.
boto3 documentation
# ListHsmsPaginator usage example
from boto3.session import Session
from types_boto3_cloudhsm.paginator import ListHsmsPaginator
def get_list_hsms_paginator() -> ListHsmsPaginator:
return Session().client("cloudhsm").get_paginator("list_hsms")
# ListHsmsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_cloudhsm.paginator import ListHsmsPaginator
session = Session()
client = Session().client("cloudhsm") # (1)
paginator: ListHsmsPaginator = client.get_paginator("list_hsms") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudHSMClient
- paginator: ListHsmsPaginator
- item: ListHsmsResponseTypeDef
paginate#
Type annotations and code completion for ListHsmsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListHsmsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListHsmsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListLunaClientsPaginator#
Type annotations and code completion for boto3.client("cloudhsm").get_paginator("list_luna_clients")
.
boto3 documentation
# ListLunaClientsPaginator usage example
from boto3.session import Session
from types_boto3_cloudhsm.paginator import ListLunaClientsPaginator
def get_list_luna_clients_paginator() -> ListLunaClientsPaginator:
return Session().client("cloudhsm").get_paginator("list_luna_clients")
# ListLunaClientsPaginator usage example with type annotations
from boto3.session import Session
from types_boto3_cloudhsm.paginator import ListLunaClientsPaginator
session = Session()
client = Session().client("cloudhsm") # (1)
paginator: ListLunaClientsPaginator = client.get_paginator("list_luna_clients") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: CloudHSMClient
- paginator: ListLunaClientsPaginator
- item: ListLunaClientsResponseTypeDef
paginate#
Type annotations and code completion for ListLunaClientsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListLunaClientsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListLunaClientsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)