Skip to content

Paginators#

Index > IAM > Paginators

Auto-generated documentation for IAM type annotations stubs module mypy-boto3-iam.

GetAccountAuthorizationDetailsPaginator#

Type annotations and code completion for boto3.client("iam").get_paginator("get_account_authorization_details"). boto3 documentation

# GetAccountAuthorizationDetailsPaginator usage example

from boto3.session import Session

from mypy_boto3_iam.paginator import GetAccountAuthorizationDetailsPaginator

def get_get_account_authorization_details_paginator() -> GetAccountAuthorizationDetailsPaginator:
    return Session().client("iam").get_paginator("get_account_authorization_details")
# GetAccountAuthorizationDetailsPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iam.paginator import GetAccountAuthorizationDetailsPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: GetAccountAuthorizationDetailsPaginator = client.get_paginator("get_account_authorization_details")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: GetAccountAuthorizationDetailsPaginator
  3. item: GetAccountAuthorizationDetailsResponseTypeDef

paginate#

Type annotations and code completion for GetAccountAuthorizationDetailsPaginator.paginate method.

# paginate method definition

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

kwargs: GetAccountAuthorizationDetailsRequestGetAccountAuthorizationDetailsPaginateTypeDef = {  # (1)
    "Filter": ...,
}

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

GetGroupPaginator#

Type annotations and code completion for boto3.client("iam").get_paginator("get_group"). boto3 documentation

# GetGroupPaginator usage example

from boto3.session import Session

from mypy_boto3_iam.paginator import GetGroupPaginator

def get_get_group_paginator() -> GetGroupPaginator:
    return Session().client("iam").get_paginator("get_group")
# GetGroupPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iam.paginator import GetGroupPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: GetGroupPaginator = client.get_paginator("get_group")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: GetGroupPaginator
  3. item: GetGroupResponseTypeDef

paginate#

Type annotations and code completion for GetGroupPaginator.paginate method.

# paginate method definition

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

kwargs: GetGroupRequestGetGroupPaginateTypeDef = {  # (1)
    "GroupName": ...,
}

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

ListAccessKeysPaginator#

Type annotations and code completion for boto3.client("iam").get_paginator("list_access_keys").