Skip to content

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

kwargs: ListRequestListCrlsPaginateTypeDef = {  # (1)
    "pageSize": ...,
}

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

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

kwargs: ListRequestListProfilesPaginateTypeDef = {  # (1)
    "pageSize": ...,
}

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

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

kwargs: ListRequestListSubjectsPaginateTypeDef = {  # (1)
    "pageSize": ...,
}

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

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

kwargs: ListRequestListTrustAnchorsPaginateTypeDef = {  # (1)
    "pageSize": ...,
}

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