Skip to content

Organizations module#

Index > Organizations

Auto-generated documentation for Organizations type annotations stubs module types-aiobotocore-organizations.

How to install#

From PyPI with pip#

Install types-aiobotocore for Organizations service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[organizations]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[organizations]'


# standalone installation
python -m pip install types-aiobotocore-organizations

How to uninstall#

python -m pip uninstall -y types-aiobotocore-organizations

Usage#

Code samples can be found in Examples.

OrganizationsClient#

Type annotations and code completion for session.create_client("organizations") as OrganizationsClient boto3 documentation

# OrganizationsClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_organizations.client import OrganizationsClient


session = get_session()
async with session.create_client("organizations") as client:
    client: OrganizationsClient

Paginators#

Type annotations and code completion for paginators from session.create_client("organizations").get_paginator("...").

# ListAWSServiceAccessForOrganizationPaginator usage example

from types_aiobotocore_organizations.paginator import ListAWSServiceAccessForOrganizationPaginator

def get_list_aws_service_access_for_organization_paginator() -> ListAWSServiceAccessForOrganizationPaginator:
    return client.get_paginator("list_aws_service_access_for_organization"))

Literals#

Type annotations for literals used in methods and schema.

# AccountJoinedMethodType usage example

from types_aiobotocore_organizations.literals import AccountJoinedMethodType

def get_value() -> AccountJoinedMethodType:
    return "CREATED"

Type definitions#

Type annotations for type definitions used in methods and schema.