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"). boto3 documentation

# ListAccessKeysPaginator usage example

from boto3.session import Session

from mypy_boto3_iam.paginator import ListAccessKeysPaginator

def get_list_access_keys_paginator() -> ListAccessKeysPaginator:
    return Session().client("iam").get_paginator("list_access_keys")
# ListAccessKeysPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iam.paginator import ListAccessKeysPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListAccessKeysPaginator = client.get_paginator("list_access_keys")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListAccessKeysPaginator
  3. item: ListAccessKeysResponseTypeDef

paginate#

Type annotations and code completion for ListAccessKeysPaginator.paginate method.

# paginate method definition

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

kwargs: ListAccessKeysRequestListAccessKeysPaginateTypeDef = {  # (1)
    "UserName": ...,
}

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

ListAccountAliasesPaginator#

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

# ListAccountAliasesPaginator usage example

from boto3.session import Session

from mypy_boto3_iam.paginator import ListAccountAliasesPaginator

def get_list_account_aliases_paginator() -> ListAccountAliasesPaginator:
    return Session().client("iam").get_paginator("list_account_aliases")
# ListAccountAliasesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iam.paginator import ListAccountAliasesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListAccountAliasesPaginator = client.get_paginator("list_account_aliases")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListAccountAliasesPaginator
  3. item: ListAccountAliasesResponseTypeDef

paginate#

Type annotations and code completion for ListAccountAliasesPaginator.paginate method.

# paginate method definition

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

kwargs: ListAccountAliasesRequestListAccountAliasesPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

ListAttachedGroupPoliciesPaginator#

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

# ListAttachedGroupPoliciesPaginator usage example

from boto3.session import Session

from mypy_boto3_iam.paginator import ListAttachedGroupPoliciesPaginator

def get_list_attached_group_policies_paginator() -> ListAttachedGroupPoliciesPaginator:
    return Session().client("iam").get_paginator("list_attached_group_policies")
# ListAttachedGroupPoliciesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iam.paginator import ListAttachedGroupPoliciesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListAttachedGroupPoliciesPaginator = client.get_paginator("list_attached_group_policies")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListAttachedGroupPoliciesPaginator
  3. item: ListAttachedGroupPoliciesResponseTypeDef

paginate#

Type annotations and code completion for ListAttachedGroupPoliciesPaginator.paginate method.

# paginate method definition

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

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

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

ListAttachedRolePoliciesPaginator#

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

# ListAttachedRolePoliciesPaginator usage example

from boto3.session import Session

from mypy_boto3_iam.paginator import ListAttachedRolePoliciesPaginator

def get_list_attached_role_policies_paginator() -> ListAttachedRolePoliciesPaginator:
    return Session().client("iam").get_paginator("list_attached_role_policies")
# ListAttachedRolePoliciesPaginator usage example with type annotations

from boto3.session import Session

from mypy_boto3_iam.paginator import ListAttachedRolePoliciesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListAttachedRolePoliciesPaginator = client.get_paginator("list_attached_role_policies")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListAttachedRolePoliciesPaginator
  3. item: ListAttachedRolePoliciesResponseTypeDef

paginate#

Type annotations and code completion for ListAttachedRolePoliciesPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    RoleName: str,
    PathPrefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListAttachedRolePoliciesResponseTypeDef