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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    Filter: Sequence[EntityTypeType] = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[GetAccountAuthorizationDetailsResponseTypeDef]:  # (3)
    ...
  1. See EntityTypeType
  2. See PaginatorConfigTypeDef
  3. See GetAccountAuthorizationDetailsResponseTypeDef
Usage example with kwargs
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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    GroupName: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[GetGroupResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See GetGroupResponseTypeDef
Usage example with kwargs
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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    UserName: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListAccessKeysResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAccessKeysResponseTypeDef
Usage example with kwargs
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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListAccountAliasesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAccountAliasesResponseTypeDef
Usage example with kwargs
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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    GroupName: str,
    PathPrefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListAttachedGroupPoliciesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAttachedGroupPoliciesResponseTypeDef
Usage example with kwargs
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

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")
Usage example
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.

Method definition
def paginate(
    self,
    *,
    RoleName: str,
    PathPrefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListAttachedRolePoliciesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAttachedRolePoliciesResponseTypeDef
Usage example with kwargs
kwargs: ListAttachedRolePoliciesRequestListAttachedRolePoliciesPaginateTypeDef = {  # (1)
    "RoleName": ...,
}

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

ListAttachedUserPoliciesPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListAttachedUserPoliciesPaginator

def get_list_attached_user_policies_paginator() -> ListAttachedUserPoliciesPaginator:
    return Session().client("iam").get_paginator("list_attached_user_policies")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListAttachedUserPoliciesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListAttachedUserPoliciesPaginator = client.get_paginator("list_attached_user_policies")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListAttachedUserPoliciesPaginator
  3. item: ListAttachedUserPoliciesResponseTypeDef

paginate

Type annotations and code completion for ListAttachedUserPoliciesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    UserName: str,
    PathPrefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListAttachedUserPoliciesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAttachedUserPoliciesResponseTypeDef
Usage example with kwargs
kwargs: ListAttachedUserPoliciesRequestListAttachedUserPoliciesPaginateTypeDef = {  # (1)
    "UserName": ...,
}

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

ListEntitiesForPolicyPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListEntitiesForPolicyPaginator

def get_list_entities_for_policy_paginator() -> ListEntitiesForPolicyPaginator:
    return Session().client("iam").get_paginator("list_entities_for_policy")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListEntitiesForPolicyPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListEntitiesForPolicyPaginator = client.get_paginator("list_entities_for_policy")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListEntitiesForPolicyPaginator
  3. item: ListEntitiesForPolicyResponseTypeDef

paginate

Type annotations and code completion for ListEntitiesForPolicyPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    PolicyArn: str,
    EntityFilter: EntityTypeType = ...,  # (1)
    PathPrefix: str = ...,
    PolicyUsageFilter: PolicyUsageTypeType = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[ListEntitiesForPolicyResponseTypeDef]:  # (4)
    ...
  1. See EntityTypeType
  2. See PolicyUsageTypeType
  3. See PaginatorConfigTypeDef
  4. See ListEntitiesForPolicyResponseTypeDef
Usage example with kwargs
kwargs: ListEntitiesForPolicyRequestListEntitiesForPolicyPaginateTypeDef = {  # (1)
    "PolicyArn": ...,
}

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

ListGroupPoliciesPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListGroupPoliciesPaginator

def get_list_group_policies_paginator() -> ListGroupPoliciesPaginator:
    return Session().client("iam").get_paginator("list_group_policies")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListGroupPoliciesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListGroupPoliciesPaginator = client.get_paginator("list_group_policies")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListGroupPoliciesPaginator
  3. item: ListGroupPoliciesResponseTypeDef

paginate

Type annotations and code completion for ListGroupPoliciesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    GroupName: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListGroupPoliciesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListGroupPoliciesResponseTypeDef
Usage example with kwargs
kwargs: ListGroupPoliciesRequestListGroupPoliciesPaginateTypeDef = {  # (1)
    "GroupName": ...,
}

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

ListGroupsPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListGroupsPaginator

def get_list_groups_paginator() -> ListGroupsPaginator:
    return Session().client("iam").get_paginator("list_groups")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListGroupsPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListGroupsPaginator = client.get_paginator("list_groups")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListGroupsPaginator
  3. item: ListGroupsResponseTypeDef

paginate

Type annotations and code completion for ListGroupsPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    PathPrefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListGroupsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListGroupsResponseTypeDef
Usage example with kwargs
kwargs: ListGroupsRequestListGroupsPaginateTypeDef = {  # (1)
    "PathPrefix": ...,
}

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

ListGroupsForUserPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListGroupsForUserPaginator

def get_list_groups_for_user_paginator() -> ListGroupsForUserPaginator:
    return Session().client("iam").get_paginator("list_groups_for_user")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListGroupsForUserPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListGroupsForUserPaginator = client.get_paginator("list_groups_for_user")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListGroupsForUserPaginator
  3. item: ListGroupsForUserResponseTypeDef

paginate

Type annotations and code completion for ListGroupsForUserPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    UserName: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListGroupsForUserResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListGroupsForUserResponseTypeDef
Usage example with kwargs
kwargs: ListGroupsForUserRequestListGroupsForUserPaginateTypeDef = {  # (1)
    "UserName": ...,
}

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

ListInstanceProfilesPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListInstanceProfilesPaginator

def get_list_instance_profiles_paginator() -> ListInstanceProfilesPaginator:
    return Session().client("iam").get_paginator("list_instance_profiles")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListInstanceProfilesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListInstanceProfilesPaginator = client.get_paginator("list_instance_profiles")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListInstanceProfilesPaginator
  3. item: ListInstanceProfilesResponseTypeDef

paginate

Type annotations and code completion for ListInstanceProfilesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    PathPrefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListInstanceProfilesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListInstanceProfilesResponseTypeDef
Usage example with kwargs
kwargs: ListInstanceProfilesRequestListInstanceProfilesPaginateTypeDef = {  # (1)
    "PathPrefix": ...,
}

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

ListInstanceProfilesForRolePaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListInstanceProfilesForRolePaginator

def get_list_instance_profiles_for_role_paginator() -> ListInstanceProfilesForRolePaginator:
    return Session().client("iam").get_paginator("list_instance_profiles_for_role")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListInstanceProfilesForRolePaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListInstanceProfilesForRolePaginator = client.get_paginator("list_instance_profiles_for_role")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListInstanceProfilesForRolePaginator
  3. item: ListInstanceProfilesForRoleResponseTypeDef

paginate

Type annotations and code completion for ListInstanceProfilesForRolePaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    RoleName: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListInstanceProfilesForRoleResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListInstanceProfilesForRoleResponseTypeDef
Usage example with kwargs
kwargs: ListInstanceProfilesForRoleRequestListInstanceProfilesForRolePaginateTypeDef = {  # (1)
    "RoleName": ...,
}

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

ListMFADevicesPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListMFADevicesPaginator

def get_list_mfa_devices_paginator() -> ListMFADevicesPaginator:
    return Session().client("iam").get_paginator("list_mfa_devices")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListMFADevicesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListMFADevicesPaginator = client.get_paginator("list_mfa_devices")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListMFADevicesPaginator
  3. item: ListMFADevicesResponseTypeDef

paginate

Type annotations and code completion for ListMFADevicesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    UserName: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListMFADevicesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListMFADevicesResponseTypeDef
Usage example with kwargs
kwargs: ListMFADevicesRequestListMFADevicesPaginateTypeDef = {  # (1)
    "UserName": ...,
}

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

ListPoliciesPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListPoliciesPaginator

def get_list_policies_paginator() -> ListPoliciesPaginator:
    return Session().client("iam").get_paginator("list_policies")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListPoliciesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListPoliciesPaginator = client.get_paginator("list_policies")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListPoliciesPaginator
  3. item: ListPoliciesResponseTypeDef

paginate

Type annotations and code completion for ListPoliciesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    Scope: policyScopeTypeType = ...,  # (1)
    OnlyAttached: bool = ...,
    PathPrefix: str = ...,
    PolicyUsageFilter: PolicyUsageTypeType = ...,  # (2)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (3)
) -> _PageIterator[ListPoliciesResponseTypeDef]:  # (4)
    ...
  1. See policyScopeTypeType
  2. See PolicyUsageTypeType
  3. See PaginatorConfigTypeDef
  4. See ListPoliciesResponseTypeDef
Usage example with kwargs
kwargs: ListPoliciesRequestListPoliciesPaginateTypeDef = {  # (1)
    "Scope": ...,
}

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

ListPolicyVersionsPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListPolicyVersionsPaginator

def get_list_policy_versions_paginator() -> ListPolicyVersionsPaginator:
    return Session().client("iam").get_paginator("list_policy_versions")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListPolicyVersionsPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListPolicyVersionsPaginator = client.get_paginator("list_policy_versions")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListPolicyVersionsPaginator
  3. item: ListPolicyVersionsResponseTypeDef

paginate

Type annotations and code completion for ListPolicyVersionsPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    PolicyArn: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListPolicyVersionsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListPolicyVersionsResponseTypeDef
Usage example with kwargs
kwargs: ListPolicyVersionsRequestListPolicyVersionsPaginateTypeDef = {  # (1)
    "PolicyArn": ...,
}

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

ListRolePoliciesPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListRolePoliciesPaginator

def get_list_role_policies_paginator() -> ListRolePoliciesPaginator:
    return Session().client("iam").get_paginator("list_role_policies")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListRolePoliciesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListRolePoliciesPaginator = client.get_paginator("list_role_policies")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListRolePoliciesPaginator
  3. item: ListRolePoliciesResponseTypeDef

paginate

Type annotations and code completion for ListRolePoliciesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    RoleName: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListRolePoliciesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListRolePoliciesResponseTypeDef
Usage example with kwargs
kwargs: ListRolePoliciesRequestListRolePoliciesPaginateTypeDef = {  # (1)
    "RoleName": ...,
}

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

ListRolesPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListRolesPaginator

def get_list_roles_paginator() -> ListRolesPaginator:
    return Session().client("iam").get_paginator("list_roles")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListRolesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListRolesPaginator = client.get_paginator("list_roles")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListRolesPaginator
  3. item: ListRolesResponseTypeDef

paginate

Type annotations and code completion for ListRolesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    PathPrefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListRolesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListRolesResponseTypeDef
Usage example with kwargs
kwargs: ListRolesRequestListRolesPaginateTypeDef = {  # (1)
    "PathPrefix": ...,
}

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

ListSSHPublicKeysPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListSSHPublicKeysPaginator

def get_list_ssh_public_keys_paginator() -> ListSSHPublicKeysPaginator:
    return Session().client("iam").get_paginator("list_ssh_public_keys")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListSSHPublicKeysPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListSSHPublicKeysPaginator = client.get_paginator("list_ssh_public_keys")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListSSHPublicKeysPaginator
  3. item: ListSSHPublicKeysResponseTypeDef

paginate

Type annotations and code completion for ListSSHPublicKeysPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    UserName: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListSSHPublicKeysResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListSSHPublicKeysResponseTypeDef
Usage example with kwargs
kwargs: ListSSHPublicKeysRequestListSSHPublicKeysPaginateTypeDef = {  # (1)
    "UserName": ...,
}

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

ListServerCertificatesPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListServerCertificatesPaginator

def get_list_server_certificates_paginator() -> ListServerCertificatesPaginator:
    return Session().client("iam").get_paginator("list_server_certificates")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListServerCertificatesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListServerCertificatesPaginator = client.get_paginator("list_server_certificates")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListServerCertificatesPaginator
  3. item: ListServerCertificatesResponseTypeDef

paginate

Type annotations and code completion for ListServerCertificatesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    PathPrefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListServerCertificatesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListServerCertificatesResponseTypeDef
Usage example with kwargs
kwargs: ListServerCertificatesRequestListServerCertificatesPaginateTypeDef = {  # (1)
    "PathPrefix": ...,
}

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

ListSigningCertificatesPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListSigningCertificatesPaginator

def get_list_signing_certificates_paginator() -> ListSigningCertificatesPaginator:
    return Session().client("iam").get_paginator("list_signing_certificates")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListSigningCertificatesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListSigningCertificatesPaginator = client.get_paginator("list_signing_certificates")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListSigningCertificatesPaginator
  3. item: ListSigningCertificatesResponseTypeDef

paginate

Type annotations and code completion for ListSigningCertificatesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    UserName: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListSigningCertificatesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListSigningCertificatesResponseTypeDef
Usage example with kwargs
kwargs: ListSigningCertificatesRequestListSigningCertificatesPaginateTypeDef = {  # (1)
    "UserName": ...,
}

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

ListUserPoliciesPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListUserPoliciesPaginator

def get_list_user_policies_paginator() -> ListUserPoliciesPaginator:
    return Session().client("iam").get_paginator("list_user_policies")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListUserPoliciesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListUserPoliciesPaginator = client.get_paginator("list_user_policies")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListUserPoliciesPaginator
  3. item: ListUserPoliciesResponseTypeDef

paginate

Type annotations and code completion for ListUserPoliciesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    UserName: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListUserPoliciesResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListUserPoliciesResponseTypeDef
Usage example with kwargs
kwargs: ListUserPoliciesRequestListUserPoliciesPaginateTypeDef = {  # (1)
    "UserName": ...,
}

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

ListUserTagsPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListUserTagsPaginator

def get_list_user_tags_paginator() -> ListUserTagsPaginator:
    return Session().client("iam").get_paginator("list_user_tags")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListUserTagsPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListUserTagsPaginator = client.get_paginator("list_user_tags")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListUserTagsPaginator
  3. item: ListUserTagsResponseTypeDef

paginate

Type annotations and code completion for ListUserTagsPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    UserName: str,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListUserTagsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListUserTagsResponseTypeDef
Usage example with kwargs
kwargs: ListUserTagsRequestListUserTagsPaginateTypeDef = {  # (1)
    "UserName": ...,
}

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

ListUsersPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListUsersPaginator

def get_list_users_paginator() -> ListUsersPaginator:
    return Session().client("iam").get_paginator("list_users")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListUsersPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListUsersPaginator = client.get_paginator("list_users")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListUsersPaginator
  3. item: ListUsersResponseTypeDef

paginate

Type annotations and code completion for ListUsersPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    PathPrefix: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListUsersResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListUsersResponseTypeDef
Usage example with kwargs
kwargs: ListUsersRequestListUsersPaginateTypeDef = {  # (1)
    "PathPrefix": ...,
}

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

ListVirtualMFADevicesPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListVirtualMFADevicesPaginator

def get_list_virtual_mfa_devices_paginator() -> ListVirtualMFADevicesPaginator:
    return Session().client("iam").get_paginator("list_virtual_mfa_devices")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import ListVirtualMFADevicesPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListVirtualMFADevicesPaginator = client.get_paginator("list_virtual_mfa_devices")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListVirtualMFADevicesPaginator
  3. item: ListVirtualMFADevicesResponseTypeDef

paginate

Type annotations and code completion for ListVirtualMFADevicesPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    AssignmentStatus: assignmentStatusTypeType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[ListVirtualMFADevicesResponseTypeDef]:  # (3)
    ...
  1. See assignmentStatusTypeType
  2. See PaginatorConfigTypeDef
  3. See ListVirtualMFADevicesResponseTypeDef
Usage example with kwargs
kwargs: ListVirtualMFADevicesRequestListVirtualMFADevicesPaginateTypeDef = {  # (1)
    "AssignmentStatus": ...,
}

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

SimulateCustomPolicyPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import SimulateCustomPolicyPaginator

def get_simulate_custom_policy_paginator() -> SimulateCustomPolicyPaginator:
    return Session().client("iam").get_paginator("simulate_custom_policy")
Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import SimulateCustomPolicyPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: SimulateCustomPolicyPaginator = client.get_paginator("simulate_custom_policy")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: SimulateCustomPolicyPaginator
  3. item: SimulatePolicyResponseTypeDef

paginate

Type annotations and code completion for SimulateCustomPolicyPaginator.paginate method.

Method definition
def paginate(
    self,
    *,
    PolicyInputList: Sequence[str],
    ActionNames: Sequence[str],
    PermissionsBoundaryPolicyInputList: Sequence[str] = ...,
    ResourceArns: Sequence[str] = ...,
    ResourcePolicy: str = ...,
    ResourceOwner: str = ...,
    CallerArn: str = ...,
    ContextEntries: Sequence[ContextEntryTypeDef] = ...,  # (1)
    ResourceHandlingOption: str = ...,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> _PageIterator[SimulatePolicyResponseTypeDef]:  # (3)
    ...
  1. See ContextEntryTypeDef
  2. See PaginatorConfigTypeDef
  3. See SimulatePolicyResponseTypeDef
Usage example with kwargs
kwargs: SimulateCustomPolicyRequestSimulateCustomPolicyPaginateTypeDef = {  # (1)
    "PolicyInputList": ...,
    "ActionNames": ...,
}

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

SimulatePrincipalPolicyPaginator

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

Usage example
from boto3.session import Session

from mypy_boto3_iam.paginator import SimulatePrincipalPolicyPaginator

def get_simulate_principal_policy_paginator() -> SimulatePrincipalPolicyPaginator:
    return Session().client("iam").get_paginator("simulate_principal_policy")
Usage example
from boto3.session import Session