Paginators#
Auto-generated documentation for IAM type annotations stubs module mypy-boto3-iam.
GetAccountAuthorizationDetailsPaginator#
Type annotations and code completion for boto3.client("iam").get_paginator("get_account_authorization_details")
.
boto3 documentation
# GetAccountAuthorizationDetailsPaginator usage example
from boto3.session import Session
from mypy_boto3_iam.paginator import GetAccountAuthorizationDetailsPaginator
def get_get_account_authorization_details_paginator() -> GetAccountAuthorizationDetailsPaginator:
return Session().client("iam").get_paginator("get_account_authorization_details")
# GetAccountAuthorizationDetailsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_iam.paginator import GetAccountAuthorizationDetailsPaginator
session = Session()
client = Session().client("iam") # (1)
paginator: GetAccountAuthorizationDetailsPaginator = client.get_paginator("get_account_authorization_details") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: IAMClient
- paginator: GetAccountAuthorizationDetailsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetAccountAuthorizationDetailsRequestGetAccountAuthorizationDetailsPaginateTypeDef = { # (1)
"Filter": ...,
}
parent.paginate(**kwargs)
GetGroupPaginator#
Type annotations and code completion for boto3.client("iam").get_paginator("get_group")
.
boto3 documentation
# GetGroupPaginator usage example
from boto3.session import Session
from mypy_boto3_iam.paginator import GetGroupPaginator
def get_get_group_paginator() -> GetGroupPaginator:
return Session().client("iam").get_paginator("get_group")
# GetGroupPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_iam.paginator import GetGroupPaginator
session = Session()
client = Session().client("iam") # (1)
paginator: GetGroupPaginator = client.get_paginator("get_group") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: IAMClient
- paginator: GetGroupPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: GetGroupRequestGetGroupPaginateTypeDef = { # (1)
"GroupName": ...,
}
parent.paginate(**kwargs)
ListAccessKeysPaginator#
Type annotations and code completion for boto3.client("iam").get_paginator("list_access_keys")
.
boto3 documentation
# ListAccessKeysPaginator usage example
from boto3.session import Session
from mypy_boto3_iam.paginator import ListAccessKeysPaginator
def get_list_access_keys_paginator() -> ListAccessKeysPaginator:
return Session().client("iam").get_paginator("list_access_keys")
# ListAccessKeysPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_iam.paginator import ListAccessKeysPaginator
session = Session()
client = Session().client("iam") # (1)
paginator: ListAccessKeysPaginator = client.get_paginator("list_access_keys") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: IAMClient
- paginator: ListAccessKeysPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAccessKeysRequestListAccessKeysPaginateTypeDef = { # (1)
"UserName": ...,
}
parent.paginate(**kwargs)
ListAccountAliasesPaginator#
Type annotations and code completion for boto3.client("iam").get_paginator("list_account_aliases")
.
boto3 documentation
# ListAccountAliasesPaginator usage example
from boto3.session import Session
from mypy_boto3_iam.paginator import ListAccountAliasesPaginator
def get_list_account_aliases_paginator() -> ListAccountAliasesPaginator:
return Session().client("iam").get_paginator("list_account_aliases")
# ListAccountAliasesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_iam.paginator import ListAccountAliasesPaginator
session = Session()
client = Session().client("iam") # (1)
paginator: ListAccountAliasesPaginator = client.get_paginator("list_account_aliases") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: IAMClient
- paginator: ListAccountAliasesPaginator
- item: ListAccountAliasesResponseTypeDef
paginate#
Type annotations and code completion for ListAccountAliasesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListAccountAliasesResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListAccountAliasesRequestListAccountAliasesPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListAttachedGroupPoliciesPaginator#
Type annotations and code completion for boto3.client("iam").get_paginator("list_attached_group_policies")
.
boto3 documentation
# ListAttachedGroupPoliciesPaginator usage example
from boto3.session import Session
from mypy_boto3_iam.paginator import ListAttachedGroupPoliciesPaginator
def get_list_attached_group_policies_paginator() -> ListAttachedGroupPoliciesPaginator:
return Session().client("iam").get_paginator("list_attached_group_policies")
# ListAttachedGroupPoliciesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_iam.paginator import ListAttachedGroupPoliciesPaginator
session = Session()
client = Session().client("iam") # (1)
paginator: ListAttachedGroupPoliciesPaginator = client.get_paginator("list_attached_group_policies") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: IAMClient
- paginator: ListAttachedGroupPoliciesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAttachedGroupPoliciesRequestListAttachedGroupPoliciesPaginateTypeDef = { # (1)
"GroupName": ...,
}
parent.paginate(**kwargs)
ListAttachedRolePoliciesPaginator#
Type annotations and code completion for boto3.client("iam").get_paginator("list_attached_role_policies")
.
boto3 documentation
# ListAttachedRolePoliciesPaginator usage example
from boto3.session import Session
from mypy_boto3_iam.paginator import ListAttachedRolePoliciesPaginator
def get_list_attached_role_policies_paginator() -> ListAttachedRolePoliciesPaginator:
return Session().client("iam").get_paginator("list_attached_role_policies")
# ListAttachedRolePoliciesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_iam.paginator import ListAttachedRolePoliciesPaginator
session = Session()
client = Session().client("iam") # (1)
paginator: ListAttachedRolePoliciesPaginator = client.get_paginator("list_attached_role_policies") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: IAMClient
- paginator: ListAttachedRolePoliciesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAttachedRolePoliciesRequestListAttachedRolePoliciesPaginateTypeDef = { # (1)
"RoleName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListAttachedUserPoliciesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListAttachedUserPoliciesRequestListAttachedUserPoliciesPaginateTypeDef = { # (1)
"UserName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListEntitiesForPolicyPaginator
- 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)
...
- See EntityTypeType
- See PolicyUsageTypeType
- See PaginatorConfigTypeDef
- See ListEntitiesForPolicyResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListEntitiesForPolicyRequestListEntitiesForPolicyPaginateTypeDef = { # (1)
"PolicyArn": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListGroupPoliciesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListGroupPoliciesRequestListGroupPoliciesPaginateTypeDef = { # (1)
"GroupName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListGroupsForUserPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListGroupsForUserRequestListGroupsForUserPaginateTypeDef = { # (1)
"UserName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListGroupsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListGroupsRequestListGroupsPaginateTypeDef = { # (1)
"PathPrefix": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: IAMClient
- paginator: ListInstanceProfileTagsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListInstanceProfileTagsRequestListInstanceProfileTagsPaginateTypeDef = { # (1)
"InstanceProfileName": ...,
}
parent.paginate(**kwargs)
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 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")
# ListInstanceProfilesForRolePaginator usage example with type annotations
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)
- client: IAMClient
- paginator: ListInstanceProfilesForRolePaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListInstanceProfilesForRoleRequestListInstanceProfilesForRolePaginateTypeDef = { # (1)
"RoleName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListInstanceProfilesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListInstanceProfilesRequestListInstanceProfilesPaginateTypeDef = { # (1)
"PathPrefix": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: IAMClient
- paginator: ListMFADeviceTagsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListMFADeviceTagsRequestListMFADeviceTagsPaginateTypeDef = { # (1)
"SerialNumber": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListMFADevicesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListMFADevicesRequestListMFADevicesPaginateTypeDef = { # (1)
"UserName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: IAMClient
- paginator: ListOpenIDConnectProviderTagsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListOpenIDConnectProviderTagsRequestListOpenIDConnectProviderTagsPaginateTypeDef = { # (1)
"OpenIDConnectProviderArn": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListPoliciesPaginator
- 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)
...
- See PolicyScopeTypeType
- See PolicyUsageTypeType
- See PaginatorConfigTypeDef
- See ListPoliciesResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListPoliciesRequestListPoliciesPaginateTypeDef = { # (1)
"Scope": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: IAMClient
- paginator: ListPolicyTagsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListPolicyTagsRequestListPolicyTagsPaginateTypeDef = { # (1)
"PolicyArn": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListPolicyVersionsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListPolicyVersionsRequestListPolicyVersionsPaginateTypeDef = { # (1)
"PolicyArn": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListRolePoliciesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListRolePoliciesRequestListRolePoliciesPaginateTypeDef = { # (1)
"RoleName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: IAMClient
- paginator: ListRoleTagsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListRoleTagsRequestListRoleTagsPaginateTypeDef = { # (1)
"RoleName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListRolesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListRolesRequestListRolesPaginateTypeDef = { # (1)
"PathPrefix": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: IAMClient
- paginator: ListSAMLProviderTagsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListSAMLProviderTagsRequestListSAMLProviderTagsPaginateTypeDef = { # (1)
"SAMLProviderArn": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListSSHPublicKeysPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListSSHPublicKeysRequestListSSHPublicKeysPaginateTypeDef = { # (1)
"UserName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: IAMClient
- paginator: ListServerCertificateTagsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListServerCertificateTagsRequestListServerCertificateTagsPaginateTypeDef = { # (1)
"ServerCertificateName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListServerCertificatesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListServerCertificatesRequestListServerCertificatesPaginateTypeDef = { # (1)
"PathPrefix": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListSigningCertificatesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListSigningCertificatesRequestListSigningCertificatesPaginateTypeDef = { # (1)
"UserName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListUserPoliciesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListUserPoliciesRequestListUserPoliciesPaginateTypeDef = { # (1)
"UserName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListUserTagsPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListUserTagsRequestListUserTagsPaginateTypeDef = { # (1)
"UserName": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListUsersPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListUsersRequestListUsersPaginateTypeDef = { # (1)
"PathPrefix": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: ListVirtualMFADevicesPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: ListVirtualMFADevicesRequestListVirtualMFADevicesPaginateTypeDef = { # (1)
"AssignmentStatus": ...,
}
parent.paginate(**kwargs)
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 mypy_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 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)
- client: IAMClient
- paginator: SimulateCustomPolicyPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: SimulateCustomPolicyRequestSimulateCustomPolicyPaginateTypeDef = { # (1)
"PolicyInputList": ...,
"ActionNames": ...,
}
parent.paginate(**kwargs)
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 mypy_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 mypy_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)
- client: IAMClient
- paginator: SimulatePrincipalPolicyPaginator
- 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)
...
# paginate method usage example with argument unpacking
kwargs: SimulatePrincipalPolicyRequestSimulatePrincipalPolicyPaginateTypeDef = { # (1)
"PolicySourceArn": ...,
"ActionNames": ...,
}
parent.paginate(**kwargs)