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-aioboto3 for Organizations service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[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-aioboto3-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.client("organizations") as OrganizationsClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_organizations.client import OrganizationsClient


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

Paginators

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

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.

Usage example
from types_aiobotocore_organizations.literals import AccountJoinedMethodType

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

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_organizations.type_defs import AcceptHandshakeRequestRequestTypeDef

def get_value() -> AcceptHandshakeRequestRequestTypeDef:
    return {
        "HandshakeId": ...,
    }