Skip to content

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)
  1. client: OrganizationsClient
  2. paginator: ListAWSServiceAccessForOrganizationPaginator
  3. item: ListAWSServiceAccessForOrganizationResponseTypeDef

paginate#

Type annotations and code completion for ListAWSServiceAccessForOrganizationPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListAWSServiceAccessForOrganizationResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAWSServiceAccessForOrganizationResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAWSServiceAccessForOrganizationRequestListAWSServiceAccessForOrganizationPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListAWSServiceAccessForOrganizationRequestListAWSServiceAccessForOrganizationPaginateTypeDef

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)
  1. client: OrganizationsClient
  2. paginator: ListAccountsPaginator
  3. item: ListAccountsResponseTypeDef

paginate#

Type annotations and code completion for ListAccountsPaginator.paginate method.

# paginate method definition

def paginate(
    self,
    *,
    PaginationConfig: PaginatorConfigTypeDef = ...,  # (1)
) -> _PageIterator[ListAccountsResponseTypeDef]:  # (2)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAccountsResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAccountsRequestListAccountsPaginateTypeDef = {  # (1)
    "PaginationConfig": ...,
}

parent.paginate(**kwargs)
  1. See ListAccountsRequestListAccountsPaginateTypeDef

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)
  1. client: OrganizationsClient
  2. paginator: ListAccountsForParentPaginator
  3. 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)
    ...
  1. See PaginatorConfigTypeDef
  2. See ListAccountsForParentResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListAccountsForParentRequestListAccountsForParentPaginateTypeDef = {  # (1)
    "ParentId": ...,
}

parent.paginate(**kwargs)
  1. See ListAccountsForParentRequestListAccountsForParentPaginateTypeDef

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)
  1. client: OrganizationsClient
  2. paginator: ListChildrenPaginator
  3. 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)
    ...
  1. See ChildTypeType
  2. See PaginatorConfigTypeDef
  3. See ListChildrenResponseTypeDef
# paginate method usage example with argument unpacking

kwargs: ListChildrenRequestListChildrenPaginateTypeDef = {  # (1)
    "ParentId": ...,
    "ChildType": ...,
}

parent.paginate(**kwargs)
  1. See ListChildrenRequestListChildrenPaginateTypeDef

ListCreateAccountStatusPaginator#

Type annotations and code completion for boto3.client("organizations").get_paginator("list_create_account_status").