Paginators#
Index > IAMRolesAnywhere > Paginators
Auto-generated documentation for IAMRolesAnywhere type annotations stubs module mypy-boto3-rolesanywhere.
ListCrlsPaginator#
Type annotations and code completion for boto3.client("rolesanywhere").get_paginator("list_crls")
.
boto3 documentation
# ListCrlsPaginator usage example
from boto3.session import Session
from mypy_boto3_rolesanywhere.paginator import ListCrlsPaginator
def get_list_crls_paginator() -> ListCrlsPaginator:
return Session().client("rolesanywhere").get_paginator("list_crls")
# ListCrlsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_rolesanywhere.paginator import ListCrlsPaginator
session = Session()
client = Session().client("rolesanywhere") # (1)
paginator: ListCrlsPaginator = client.get_paginator("list_crls") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: IAMRolesAnywhereClient
- paginator: ListCrlsPaginator
- item: ListCrlsResponseTypeDef
paginate#
Type annotations and code completion for ListCrlsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
pageSize: int = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListCrlsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListRequestListCrlsPaginateTypeDef = { # (1)
"pageSize": ...,
}
parent.paginate(**kwargs)
ListProfilesPaginator#
Type annotations and code completion for boto3.client("rolesanywhere").get_paginator("list_profiles")
.
boto3 documentation
# ListProfilesPaginator usage example
from boto3.session import Session
from mypy_boto3_rolesanywhere.paginator import ListProfilesPaginator
def get_list_profiles_paginator() -> ListProfilesPaginator:
return Session().client("rolesanywhere").get_paginator("list_profiles")
# ListProfilesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_rolesanywhere.paginator import ListProfilesPaginator
session = Session()
client = Session().client("rolesanywhere") # (1)
paginator: ListProfilesPaginator = client.get_paginator("list_profiles") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: IAMRolesAnywhereClient
- paginator: ListProfilesPaginator
- item: ListProfilesResponseTypeDef
paginate#
Type annotations and code completion for ListProfilesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
pageSize: int = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListProfilesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListRequestListProfilesPaginateTypeDef = { # (1)
"pageSize": ...,
}
parent.paginate(**kwargs)
ListSubjectsPaginator#
Type annotations and code completion for boto3.client("rolesanywhere").get_paginator("list_subjects")
.
boto3 documentation
# ListSubjectsPaginator usage example
from boto3.session import Session
from mypy_boto3_rolesanywhere.paginator import ListSubjectsPaginator
def get_list_subjects_paginator() -> ListSubjectsPaginator:
return Session().client("rolesanywhere").get_paginator("list_subjects")
# ListSubjectsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_rolesanywhere.paginator import ListSubjectsPaginator
session = Session()
client = Session().client("rolesanywhere") # (1)
paginator: ListSubjectsPaginator = client.get_paginator("list_subjects") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: IAMRolesAnywhereClient
- paginator: ListSubjectsPaginator
- item: ListSubjectsResponseTypeDef
paginate#
Type annotations and code completion for ListSubjectsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
pageSize: int = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListSubjectsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListRequestListSubjectsPaginateTypeDef = { # (1)
"pageSize": ...,
}
parent.paginate(**kwargs)
ListTrustAnchorsPaginator#
Type annotations and code completion for boto3.client("rolesanywhere").get_paginator("list_trust_anchors")
.
boto3 documentation
# ListTrustAnchorsPaginator usage example
from boto3.session import Session
from mypy_boto3_rolesanywhere.paginator import ListTrustAnchorsPaginator
def get_list_trust_anchors_paginator() -> ListTrustAnchorsPaginator:
return Session().client("rolesanywhere").get_paginator("list_trust_anchors")
# ListTrustAnchorsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_rolesanywhere.paginator import ListTrustAnchorsPaginator
session = Session()
client = Session().client("rolesanywhere") # (1)
paginator: ListTrustAnchorsPaginator = client.get_paginator("list_trust_anchors") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: IAMRolesAnywhereClient
- paginator: ListTrustAnchorsPaginator
- item: ListTrustAnchorsResponseTypeDef
paginate#
Type annotations and code completion for ListTrustAnchorsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
pageSize: int = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListTrustAnchorsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListRequestListTrustAnchorsPaginateTypeDef = { # (1)
"pageSize": ...,
}
parent.paginate(**kwargs)