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")
.
boto3 documentation
# ListCreateAccountStatusPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListCreateAccountStatusPaginator
def get_list_create_account_status_paginator() -> ListCreateAccountStatusPaginator:
return Session().client("organizations").get_paginator("list_create_account_status")
# ListCreateAccountStatusPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListCreateAccountStatusPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListCreateAccountStatusPaginator = client.get_paginator("list_create_account_status") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListCreateAccountStatusPaginator
- item: ListCreateAccountStatusResponseTypeDef
paginate#
Type annotations and code completion for ListCreateAccountStatusPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
States: Sequence[CreateAccountStateType] = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListCreateAccountStatusResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListCreateAccountStatusRequestListCreateAccountStatusPaginateTypeDef = { # (1)
"States": ...,
}
parent.paginate(**kwargs)
ListDelegatedAdministratorsPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_delegated_administrators")
.
boto3 documentation
# ListDelegatedAdministratorsPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListDelegatedAdministratorsPaginator
def get_list_delegated_administrators_paginator() -> ListDelegatedAdministratorsPaginator:
return Session().client("organizations").get_paginator("list_delegated_administrators")
# ListDelegatedAdministratorsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListDelegatedAdministratorsPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListDelegatedAdministratorsPaginator = client.get_paginator("list_delegated_administrators") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListDelegatedAdministratorsPaginator
- item: ListDelegatedAdministratorsResponseTypeDef
paginate#
Type annotations and code completion for ListDelegatedAdministratorsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ServicePrincipal: str = ...,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListDelegatedAdministratorsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListDelegatedAdministratorsRequestListDelegatedAdministratorsPaginateTypeDef = { # (1)
"ServicePrincipal": ...,
}
parent.paginate(**kwargs)
ListDelegatedServicesForAccountPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_delegated_services_for_account")
.
boto3 documentation
# ListDelegatedServicesForAccountPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListDelegatedServicesForAccountPaginator
def get_list_delegated_services_for_account_paginator() -> ListDelegatedServicesForAccountPaginator:
return Session().client("organizations").get_paginator("list_delegated_services_for_account")
# ListDelegatedServicesForAccountPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListDelegatedServicesForAccountPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListDelegatedServicesForAccountPaginator = client.get_paginator("list_delegated_services_for_account") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListDelegatedServicesForAccountPaginator
- item: ListDelegatedServicesForAccountResponseTypeDef
paginate#
Type annotations and code completion for ListDelegatedServicesForAccountPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
AccountId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListDelegatedServicesForAccountResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListDelegatedServicesForAccountRequestListDelegatedServicesForAccountPaginateTypeDef = { # (1)
"AccountId": ...,
}
parent.paginate(**kwargs)
ListHandshakesForAccountPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_handshakes_for_account")
.
boto3 documentation
# ListHandshakesForAccountPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListHandshakesForAccountPaginator
def get_list_handshakes_for_account_paginator() -> ListHandshakesForAccountPaginator:
return Session().client("organizations").get_paginator("list_handshakes_for_account")
# ListHandshakesForAccountPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListHandshakesForAccountPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListHandshakesForAccountPaginator = client.get_paginator("list_handshakes_for_account") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListHandshakesForAccountPaginator
- item: ListHandshakesForAccountResponseTypeDef
paginate#
Type annotations and code completion for ListHandshakesForAccountPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filter: HandshakeFilterTypeDef = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListHandshakesForAccountResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListHandshakesForAccountRequestListHandshakesForAccountPaginateTypeDef = { # (1)
"Filter": ...,
}
parent.paginate(**kwargs)
ListHandshakesForOrganizationPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_handshakes_for_organization")
.
boto3 documentation
# ListHandshakesForOrganizationPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListHandshakesForOrganizationPaginator
def get_list_handshakes_for_organization_paginator() -> ListHandshakesForOrganizationPaginator:
return Session().client("organizations").get_paginator("list_handshakes_for_organization")
# ListHandshakesForOrganizationPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListHandshakesForOrganizationPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListHandshakesForOrganizationPaginator = client.get_paginator("list_handshakes_for_organization") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListHandshakesForOrganizationPaginator
- item: ListHandshakesForOrganizationResponseTypeDef
paginate#
Type annotations and code completion for ListHandshakesForOrganizationPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filter: HandshakeFilterTypeDef = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> _PageIterator[ListHandshakesForOrganizationResponseTypeDef]: # (3)
...
- See HandshakeFilterTypeDef
- See PaginatorConfigTypeDef
- See ListHandshakesForOrganizationResponseTypeDef
# paginate method usage example with argument unpacking
kwargs: ListHandshakesForOrganizationRequestListHandshakesForOrganizationPaginateTypeDef = { # (1)
"Filter": ...,
}
parent.paginate(**kwargs)
ListOrganizationalUnitsForParentPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_organizational_units_for_parent")
.
boto3 documentation
# ListOrganizationalUnitsForParentPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListOrganizationalUnitsForParentPaginator
def get_list_organizational_units_for_parent_paginator() -> ListOrganizationalUnitsForParentPaginator:
return Session().client("organizations").get_paginator("list_organizational_units_for_parent")
# ListOrganizationalUnitsForParentPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListOrganizationalUnitsForParentPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListOrganizationalUnitsForParentPaginator = client.get_paginator("list_organizational_units_for_parent") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListOrganizationalUnitsForParentPaginator
- item: ListOrganizationalUnitsForParentResponseTypeDef
paginate#
Type annotations and code completion for ListOrganizationalUnitsForParentPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ParentId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListOrganizationalUnitsForParentResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListOrganizationalUnitsForParentRequestListOrganizationalUnitsForParentPaginateTypeDef = { # (1)
"ParentId": ...,
}
parent.paginate(**kwargs)
ListParentsPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_parents")
.
boto3 documentation
# ListParentsPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListParentsPaginator
def get_list_parents_paginator() -> ListParentsPaginator:
return Session().client("organizations").get_paginator("list_parents")
# ListParentsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListParentsPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListParentsPaginator = client.get_paginator("list_parents") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListParentsPaginator
- item: ListParentsResponseTypeDef
paginate#
Type annotations and code completion for ListParentsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ChildId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> _PageIterator[ListParentsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListParentsRequestListParentsPaginateTypeDef = { # (1)
"ChildId": ...,
}
parent.paginate(**kwargs)