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: ListAWSServiceAccessForOrganizationRequestPaginateTypeDef = { # (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: ListAccountsForParentRequestPaginateTypeDef = { # (1)
"ParentId": ...,
}
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: ListAccountsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
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: ListChildrenRequestPaginateTypeDef = { # (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: ListCreateAccountStatusRequestPaginateTypeDef = { # (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: ListDelegatedAdministratorsRequestPaginateTypeDef = { # (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: ListDelegatedServicesForAccountRequestPaginateTypeDef = { # (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: ListHandshakesForAccountResponsePaginatorTypeDef
paginate#
Type annotations and code completion for ListHandshakesForAccountPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filter: HandshakeFilterTypeDef = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListHandshakesForAccountResponsePaginatorTypeDef]: # (3)
...
- See HandshakeFilterTypeDef
- See PaginatorConfigTypeDef
- See ListHandshakesForAccountResponsePaginatorTypeDef
# paginate method usage example with argument unpacking
kwargs: ListHandshakesForAccountRequestPaginateTypeDef = { # (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: ListHandshakesForOrganizationResponsePaginatorTypeDef
paginate#
Type annotations and code completion for ListHandshakesForOrganizationPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filter: HandshakeFilterTypeDef = ..., # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListHandshakesForOrganizationResponsePaginatorTypeDef]: # (3)
...
- See HandshakeFilterTypeDef
- See PaginatorConfigTypeDef
- See ListHandshakesForOrganizationResponsePaginatorTypeDef
# paginate method usage example with argument unpacking
kwargs: ListHandshakesForOrganizationRequestPaginateTypeDef = { # (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: ListOrganizationalUnitsForParentRequestPaginateTypeDef = { # (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: ListParentsRequestPaginateTypeDef = { # (1)
"ChildId": ...,
}
parent.paginate(**kwargs)
ListPoliciesForTargetPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_policies_for_target")
.
boto3 documentation
# ListPoliciesForTargetPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListPoliciesForTargetPaginator
def get_list_policies_for_target_paginator() -> ListPoliciesForTargetPaginator:
return Session().client("organizations").get_paginator("list_policies_for_target")
# ListPoliciesForTargetPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListPoliciesForTargetPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListPoliciesForTargetPaginator = client.get_paginator("list_policies_for_target") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListPoliciesForTargetPaginator
- item: ListPoliciesForTargetResponseTypeDef
paginate#
Type annotations and code completion for ListPoliciesForTargetPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
TargetId: str,
Filter: PolicyTypeType, # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListPoliciesForTargetResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListPoliciesForTargetRequestPaginateTypeDef = { # (1)
"TargetId": ...,
"Filter": ...,
}
parent.paginate(**kwargs)
ListPoliciesPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_policies")
.
boto3 documentation
# ListPoliciesPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListPoliciesPaginator
def get_list_policies_paginator() -> ListPoliciesPaginator:
return Session().client("organizations").get_paginator("list_policies")
# ListPoliciesPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListPoliciesPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListPoliciesPaginator = client.get_paginator("list_policies") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListPoliciesPaginator
- item: ListPoliciesResponseTypeDef
paginate#
Type annotations and code completion for ListPoliciesPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
Filter: PolicyTypeType, # (1)
PaginationConfig: PaginatorConfigTypeDef = ..., # (2)
) -> PageIterator[ListPoliciesResponseTypeDef]: # (3)
...
# paginate method usage example with argument unpacking
kwargs: ListPoliciesRequestPaginateTypeDef = { # (1)
"Filter": ...,
}
parent.paginate(**kwargs)
ListRootsPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_roots")
.
boto3 documentation
# ListRootsPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListRootsPaginator
def get_list_roots_paginator() -> ListRootsPaginator:
return Session().client("organizations").get_paginator("list_roots")
# ListRootsPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListRootsPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListRootsPaginator = client.get_paginator("list_roots") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListRootsPaginator
- item: ListRootsResponseTypeDef
paginate#
Type annotations and code completion for ListRootsPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListRootsResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListRootsRequestPaginateTypeDef = { # (1)
"PaginationConfig": ...,
}
parent.paginate(**kwargs)
ListTagsForResourcePaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_tags_for_resource")
.
boto3 documentation
# ListTagsForResourcePaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListTagsForResourcePaginator
def get_list_tags_for_resource_paginator() -> ListTagsForResourcePaginator:
return Session().client("organizations").get_paginator("list_tags_for_resource")
# ListTagsForResourcePaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListTagsForResourcePaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListTagsForResourcePaginator
- item: ListTagsForResourceResponseTypeDef
paginate#
Type annotations and code completion for ListTagsForResourcePaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
ResourceId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListTagsForResourceResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListTagsForResourceRequestPaginateTypeDef = { # (1)
"ResourceId": ...,
}
parent.paginate(**kwargs)
ListTargetsForPolicyPaginator#
Type annotations and code completion for boto3.client("organizations").get_paginator("list_targets_for_policy")
.
boto3 documentation
# ListTargetsForPolicyPaginator usage example
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListTargetsForPolicyPaginator
def get_list_targets_for_policy_paginator() -> ListTargetsForPolicyPaginator:
return Session().client("organizations").get_paginator("list_targets_for_policy")
# ListTargetsForPolicyPaginator usage example with type annotations
from boto3.session import Session
from mypy_boto3_organizations.paginator import ListTargetsForPolicyPaginator
session = Session()
client = Session().client("organizations") # (1)
paginator: ListTargetsForPolicyPaginator = client.get_paginator("list_targets_for_policy") # (2)
for item in paginator.paginate(...):
print(item) # (3)
- client: OrganizationsClient
- paginator: ListTargetsForPolicyPaginator
- item: ListTargetsForPolicyResponseTypeDef
paginate#
Type annotations and code completion for ListTargetsForPolicyPaginator.paginate
method.
# paginate method definition
def paginate(
self,
*,
PolicyId: str,
PaginationConfig: PaginatorConfigTypeDef = ..., # (1)
) -> PageIterator[ListTargetsForPolicyResponseTypeDef]: # (2)
...
# paginate method usage example with argument unpacking
kwargs: ListTargetsForPolicyRequestPaginateTypeDef = { # (1)
"PolicyId": ...,
}
parent.paginate(**kwargs)