Paginators#
Index > Organizations > Paginators
Auto-generated documentation for Organizations type annotations stubs module mypy-boto3-organizations.
ListAWSServiceAccessForOrganizationPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_aws_service_access_for_organization")
.
boto3 documentation
# ListAWSServiceAccessForOrganizationPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListAWSServiceAccessForOrganizationPaginator
def get_list_aws_service_access_for_organization_paginator() -> ListAWSServiceAccessForOrganizationPaginator:
return Session().client("organizations").get_paginator("list_aws_service_access_for_organization")
# ListAWSServiceAccessForOrganizationPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListAWSServiceAccessForOrganizationPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListAWSServiceAccessForOrganizationPaginator = client.get_paginator("list_aws_service_access_for_organization") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListAWSServiceAccessForOrganizationPaginator
- item: ListAWSServiceAccessForOrganizationResponseTypeDef
paginate#
Type annotations and code completion for ListAWSServiceAccessForOrganizationPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListAWSServiceAccessForOrganizationResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListAWSServiceAccessForOrganizationRequestListAWSServiceAccessForOrganizationPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListAccountsPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_accounts")
.
boto3 documentation
# ListAccountsPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListAccountsPaginator
def get_list_accounts_paginator() -> ListAccountsPaginator:
return Session().client("organizations").get_paginator("list_accounts")
# ListAccountsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListAccountsPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListAccountsPaginator = client.get_paginator("list_accounts") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListAccountsPaginator
- item: ListAccountsResponseTypeDef
paginate#
Type annotations and code completion for ListAccountsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListAccountsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListAccountsRequestListAccountsPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListAccountsForParentPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_accounts_for_parent")
.
boto3 documentation
# ListAccountsForParentPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListAccountsForParentPaginator
def get_list_accounts_for_parent_paginator() -> ListAccountsForParentPaginator:
return Session().client("organizations").get_paginator("list_accounts_for_parent")
# ListAccountsForParentPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListAccountsForParentPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListAccountsForParentPaginator = client.get_paginator("list_accounts_for_parent") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListAccountsForParentPaginator
- item: ListAccountsForParentResponseTypeDef
paginate#
Type annotations and code completion for ListAccountsForParentPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ParentId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListAccountsForParentResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListAccountsForParentRequestListAccountsForParentPaginateTypeDef = { # (1)
"ParentId": ...,
}
parent.paginate(**kwargs)
ListChildrenPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_children")
.
boto3 documentation
# ListChildrenPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListChildrenPaginator
def get_list_children_paginator() -> ListChildrenPaginator:
return Session().client("organizations").get_paginator("list_children")
# ListChildrenPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListChildrenPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListChildrenPaginator = client.get_paginator("list_children") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListChildrenPaginator
- item: ListChildrenResponseTypeDef
paginate#
Type annotations and code completion for ListChildrenPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ParentId: str,
ChildType: ChildTypeType, # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListChildrenResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListChildrenRequestListChildrenPaginateTypeDef = { # (1)
"ParentId": ...,
"ChildType": ...,
}
parent.paginate(**kwargs)
ListCreateAccountStatusPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_create_account_status")
.