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