Skip to content

Paginators#

Index > IAM > Paginators

Auto-generated documentation for IAM type annotations stubs module types-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 types_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 types_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: GetAccountAuthorizationDetailsRequestPaginateTypeDef = {  # (1)
    "Filter": ...,
}

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

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 types_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 types_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: GetGroupRequestPaginateTypeDef = {  # (1)
    "GroupName": ...,
}

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

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 types_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 types_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: ListAccessKeysRequestPaginateTypeDef = {  # (1)
    "UserName": ...,
}

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

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 types_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 types_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: ListAccountAliasesRequestPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

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

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 types_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 types_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: ListAttachedGroupPoliciesRequestPaginateTypeDef = {  # (1)
    "GroupName": ...,
}

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

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 types_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 types_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]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAttachedRolePoliciesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAttachedRolePoliciesRequestPaginateTypeDef = {  # (1)
    "RoleName": ...,
}

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

ListAttachedUserPoliciesPaginator#

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

# ListAttachedUserPoliciesPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListAttachedUserPoliciesPaginator

def get_list_attached_user_policies_paginator() -> ListAttachedUserPoliciesPaginator:
    return Session().client("iam").get_paginator("list_attached_user_policies")
# ListAttachedUserPoliciesPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

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

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

ListEntitiesForPolicyPaginator#

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

# ListEntitiesForPolicyPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListEntitiesForPolicyPaginator

def get_list_entities_for_policy_paginator() -> ListEntitiesForPolicyPaginator:
    return Session().client("iam").get_paginator("list_entities_for_policy")
# ListEntitiesForPolicyPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate 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
# paginate method usage example with argument unpacking

kwargs: ListEntitiesForPolicyRequestPaginateTypeDef = {  # (1)
    "PolicyArn": ...,
}

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

ListGroupPoliciesPaginator#

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

# ListGroupPoliciesPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListGroupPoliciesPaginator

def get_list_group_policies_paginator() -> ListGroupPoliciesPaginator:
    return Session().client("iam").get_paginator("list_group_policies")
# ListGroupPoliciesPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

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

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

ListGroupsForUserPaginator#

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

# ListGroupsForUserPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListGroupsForUserPaginator

def get_list_groups_for_user_paginator() -> ListGroupsForUserPaginator:
    return Session().client("iam").get_paginator("list_groups_for_user")
# ListGroupsForUserPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

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

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

ListGroupsPaginator#

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

# ListGroupsPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListGroupsPaginator

def get_list_groups_paginator() -> ListGroupsPaginator:
    return Session().client("iam").get_paginator("list_groups")
# ListGroupsPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

kwargs: ListGroupsRequestPaginateTypeDef = {  # (1)
    "PathPrefix": ...,
}

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

ListInstanceProfileTagsPaginator#

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

# ListInstanceProfileTagsPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListInstanceProfileTagsPaginator

def get_list_instance_profile_tags_paginator() -> ListInstanceProfileTagsPaginator:
    return Session().client("iam").get_paginator("list_instance_profile_tags")
# ListInstanceProfileTagsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_iam.paginator import ListInstanceProfileTagsPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListInstanceProfileTagsPaginator = client.get_paginator("list_instance_profile_tags")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListInstanceProfileTagsPaginator
  3. item: ListInstanceProfileTagsResponseTypeDef

paginate#

Type annotations and code completion for ListInstanceProfileTagsPaginator.paginate method.

# paginate method definition

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

kwargs: ListInstanceProfileTagsRequestPaginateTypeDef = {  # (1)
    "InstanceProfileName": ...,
}

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

ListInstanceProfilesForRolePaginator#

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

# ListInstanceProfilesForRolePaginator usage example

from boto3.session import Session

from types_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")
# ListInstanceProfilesForRolePaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

kwargs: ListInstanceProfilesForRoleRequestPaginateTypeDef = {  # (1)
    "RoleName": ...,
}

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

ListInstanceProfilesPaginator#

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

# ListInstanceProfilesPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListInstanceProfilesPaginator

def get_list_instance_profiles_paginator() -> ListInstanceProfilesPaginator:
    return Session().client("iam").get_paginator("list_instance_profiles")
# ListInstanceProfilesPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

kwargs: ListInstanceProfilesRequestPaginateTypeDef = {  # (1)
    "PathPrefix": ...,
}

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

ListMFADeviceTagsPaginator#

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

# ListMFADeviceTagsPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListMFADeviceTagsPaginator

def get_list_mfa_device_tags_paginator() -> ListMFADeviceTagsPaginator:
    return Session().client("iam").get_paginator("list_mfa_device_tags")
# ListMFADeviceTagsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_iam.paginator import ListMFADeviceTagsPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListMFADeviceTagsPaginator = client.get_paginator("list_mfa_device_tags")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListMFADeviceTagsPaginator
  3. item: ListMFADeviceTagsResponseTypeDef

paginate#

Type annotations and code completion for ListMFADeviceTagsPaginator.paginate method.

# paginate method definition

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

kwargs: ListMFADeviceTagsRequestPaginateTypeDef = {  # (1)
    "SerialNumber": ...,
}

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

ListMFADevicesPaginator#

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

# ListMFADevicesPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListMFADevicesPaginator

def get_list_mfa_devices_paginator() -> ListMFADevicesPaginator:
    return Session().client("iam").get_paginator("list_mfa_devices")
# ListMFADevicesPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

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

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

ListOpenIDConnectProviderTagsPaginator#

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

# ListOpenIDConnectProviderTagsPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListOpenIDConnectProviderTagsPaginator

def get_list_open_id_connect_provider_tags_paginator() -> ListOpenIDConnectProviderTagsPaginator:
    return Session().client("iam").get_paginator("list_open_id_connect_provider_tags")
# ListOpenIDConnectProviderTagsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_iam.paginator import ListOpenIDConnectProviderTagsPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListOpenIDConnectProviderTagsPaginator = client.get_paginator("list_open_id_connect_provider_tags")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListOpenIDConnectProviderTagsPaginator
  3. item: ListOpenIDConnectProviderTagsResponseTypeDef

paginate#

Type annotations and code completion for ListOpenIDConnectProviderTagsPaginator.paginate method.

# paginate method definition

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

kwargs: ListOpenIDConnectProviderTagsRequestPaginateTypeDef = {  # (1)
    "OpenIDConnectProviderArn": ...,
}

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

ListPoliciesPaginator#

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

# ListPoliciesPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListPoliciesPaginator

def get_list_policies_paginator() -> ListPoliciesPaginator:
    return Session().client("iam").get_paginator("list_policies")
# ListPoliciesPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate 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
# paginate method usage example with argument unpacking

kwargs: ListPoliciesRequestPaginateTypeDef = {  # (1)
    "Scope": ...,
}

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

ListPolicyTagsPaginator#

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

# ListPolicyTagsPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListPolicyTagsPaginator

def get_list_policy_tags_paginator() -> ListPolicyTagsPaginator:
    return Session().client("iam").get_paginator("list_policy_tags")
# ListPolicyTagsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_iam.paginator import ListPolicyTagsPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListPolicyTagsPaginator = client.get_paginator("list_policy_tags")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListPolicyTagsPaginator
  3. item: ListPolicyTagsResponseTypeDef

paginate#

Type annotations and code completion for ListPolicyTagsPaginator.paginate method.

# paginate method definition

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

kwargs: ListPolicyTagsRequestPaginateTypeDef = {  # (1)
    "PolicyArn": ...,
}

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

ListPolicyVersionsPaginator#

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

# ListPolicyVersionsPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListPolicyVersionsPaginator

def get_list_policy_versions_paginator() -> ListPolicyVersionsPaginator:
    return Session().client("iam").get_paginator("list_policy_versions")
# ListPolicyVersionsPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

kwargs: ListPolicyVersionsRequestPaginateTypeDef = {  # (1)
    "PolicyArn": ...,
}

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

ListRolePoliciesPaginator#

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

# ListRolePoliciesPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListRolePoliciesPaginator

def get_list_role_policies_paginator() -> ListRolePoliciesPaginator:
    return Session().client("iam").get_paginator("list_role_policies")
# ListRolePoliciesPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

kwargs: ListRolePoliciesRequestPaginateTypeDef = {  # (1)
    "RoleName": ...,
}

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

ListRoleTagsPaginator#

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

# ListRoleTagsPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListRoleTagsPaginator

def get_list_role_tags_paginator() -> ListRoleTagsPaginator:
    return Session().client("iam").get_paginator("list_role_tags")
# ListRoleTagsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_iam.paginator import ListRoleTagsPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListRoleTagsPaginator = client.get_paginator("list_role_tags")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListRoleTagsPaginator
  3. item: ListRoleTagsResponseTypeDef

paginate#

Type annotations and code completion for ListRoleTagsPaginator.paginate method.

# paginate method definition

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

kwargs: ListRoleTagsRequestPaginateTypeDef = {  # (1)
    "RoleName": ...,
}

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

ListRolesPaginator#

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

# ListRolesPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListRolesPaginator

def get_list_roles_paginator() -> ListRolesPaginator:
    return Session().client("iam").get_paginator("list_roles")
# ListRolesPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

kwargs: ListRolesRequestPaginateTypeDef = {  # (1)
    "PathPrefix": ...,
}

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

ListSAMLProviderTagsPaginator#

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

# ListSAMLProviderTagsPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListSAMLProviderTagsPaginator

def get_list_saml_provider_tags_paginator() -> ListSAMLProviderTagsPaginator:
    return Session().client("iam").get_paginator("list_saml_provider_tags")
# ListSAMLProviderTagsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_iam.paginator import ListSAMLProviderTagsPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListSAMLProviderTagsPaginator = client.get_paginator("list_saml_provider_tags")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListSAMLProviderTagsPaginator
  3. item: ListSAMLProviderTagsResponseTypeDef

paginate#

Type annotations and code completion for ListSAMLProviderTagsPaginator.paginate method.

# paginate method definition

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

kwargs: ListSAMLProviderTagsRequestPaginateTypeDef = {  # (1)
    "SAMLProviderArn": ...,
}

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

ListSSHPublicKeysPaginator#

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

# ListSSHPublicKeysPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListSSHPublicKeysPaginator

def get_list_ssh_public_keys_paginator() -> ListSSHPublicKeysPaginator:
    return Session().client("iam").get_paginator("list_ssh_public_keys")
# ListSSHPublicKeysPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

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

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

ListServerCertificateTagsPaginator#

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

# ListServerCertificateTagsPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListServerCertificateTagsPaginator

def get_list_server_certificate_tags_paginator() -> ListServerCertificateTagsPaginator:
    return Session().client("iam").get_paginator("list_server_certificate_tags")
# ListServerCertificateTagsPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_iam.paginator import ListServerCertificateTagsPaginator

session = Session()

client = Session().client("iam")  # (1)
paginator: ListServerCertificateTagsPaginator = client.get_paginator("list_server_certificate_tags")  # (2)
for item in paginator.paginate(...):
    print(item)  # (3)
  1. client: IAMClient
  2. paginator: ListServerCertificateTagsPaginator
  3. item: ListServerCertificateTagsResponseTypeDef

paginate#

Type annotations and code completion for ListServerCertificateTagsPaginator.paginate method.

# paginate method definition

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

kwargs: ListServerCertificateTagsRequestPaginateTypeDef = {  # (1)
    "ServerCertificateName": ...,
}

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

ListServerCertificatesPaginator#

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

# ListServerCertificatesPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListServerCertificatesPaginator

def get_list_server_certificates_paginator() -> ListServerCertificatesPaginator:
    return Session().client("iam").get_paginator("list_server_certificates")
# ListServerCertificatesPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

kwargs: ListServerCertificatesRequestPaginateTypeDef = {  # (1)
    "PathPrefix": ...,
}

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

ListSigningCertificatesPaginator#

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

# ListSigningCertificatesPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListSigningCertificatesPaginator

def get_list_signing_certificates_paginator() -> ListSigningCertificatesPaginator:
    return Session().client("iam").get_paginator("list_signing_certificates")
# ListSigningCertificatesPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

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

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

ListUserPoliciesPaginator#

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

# ListUserPoliciesPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListUserPoliciesPaginator

def get_list_user_policies_paginator() -> ListUserPoliciesPaginator:
    return Session().client("iam").get_paginator("list_user_policies")
# ListUserPoliciesPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

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

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

ListUserTagsPaginator#

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

# ListUserTagsPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListUserTagsPaginator

def get_list_user_tags_paginator() -> ListUserTagsPaginator:
    return Session().client("iam").get_paginator("list_user_tags")
# ListUserTagsPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

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

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

ListUsersPaginator#

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

# ListUsersPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListUsersPaginator

def get_list_users_paginator() -> ListUsersPaginator:
    return Session().client("iam").get_paginator("list_users")
# ListUsersPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

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

kwargs: ListUsersRequestPaginateTypeDef = {  # (1)
    "PathPrefix": ...,
}

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

ListVirtualMFADevicesPaginator#

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

# ListVirtualMFADevicesPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import ListVirtualMFADevicesPaginator

def get_list_virtual_mfa_devices_paginator() -> ListVirtualMFADevicesPaginator:
    return Session().client("iam").get_paginator("list_virtual_mfa_devices")
# ListVirtualMFADevicesPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate method definition

def paginate(
    self,
    *,
    AssignmentStatus: AssignmentStatusTypeType = ...,  # (1)
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (2)
) -> PageIterator[ListVirtualMFADevicesResponseTypeDef]:  # (3)
    ...
  1. See AssignmentStatusTypeType
  2. See PaginatorConfigTypeDef
  3. See ListVirtualMFADevicesResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListVirtualMFADevicesRequestPaginateTypeDef = {  # (1)
    "AssignmentStatus": ...,
}

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

SimulateCustomPolicyPaginator#

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

# SimulateCustomPolicyPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import SimulateCustomPolicyPaginator

def get_simulate_custom_policy_paginator() -> SimulateCustomPolicyPaginator:
    return Session().client("iam").get_paginator("simulate_custom_policy")
# SimulateCustomPolicyPaginator usage example with type annotations

from boto3.session import Session

from types_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.

# paginate 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
# paginate method usage example with argument unpacking

kwargs: SimulateCustomPolicyRequestPaginateTypeDef = {  # (1)
    "PolicyInputList": ...,
    "ActionNames": ...,
}

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

SimulatePrincipalPolicyPaginator#

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

# SimulatePrincipalPolicyPaginator usage example

from boto3.session import Session

from types_boto3_iam.paginator import SimulatePrincipalPolicyPaginator

def get_simulate_principal_policy_paginator() -> SimulatePrincipalPolicyPaginator:
    return Session().client("iam").get_paginator("simulate_principal_policy")
# SimulatePrincipalPolicyPaginator usage example with type annotations

from boto3.session import Session

from types_boto3_iam.paginator import SimulatePrincipalPolicyPaginator

session = Session()

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

paginate#

Type annotations and code completion for SimulatePrincipalPolicyPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PolicySourceArn: str,
    ActionNames: Sequence[str],
    PolicyInputList: 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
# paginate method usage example with argument unpacking

kwargs: SimulatePrincipalPolicyRequestPaginateTypeDef = {  # (1)
    "PolicySourceArn": ...,
    "ActionNames": ...,
}

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