Skip to content

Proton module#

Index > Proton

Auto-generated documentation for Proton type annotations stubs module types-aiobotocore-proton.

How to install#

From PyPI with pip#

Install types-aiobotocore for Proton service.

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


# 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[proton]'


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

ProtonClient#

Type annotations and code completion for session.create_client("proton") as ProtonClient boto3 documentation

# ProtonClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_proton.client import ProtonClient


session = get_session()
async with session.create_client("proton") as client:
    client: ProtonClient

Paginators#

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

# ListComponentOutputsPaginator usage example

from types_aiobotocore_proton.paginator import ListComponentOutputsPaginator

def get_list_component_outputs_paginator() -> ListComponentOutputsPaginator:
    return client.get_paginator("list_component_outputs"))

Waiters#

Type annotations and code completion for waiters from session.create_client("proton").get_waiter("...").

# ComponentDeletedWaiter usage example

from types_aiobotocore_proton.waiter import ComponentDeletedWaiter

def get_component_deleted_waiter() -> ComponentDeletedWaiter:
    return Session().client("proton").get_waiter("component_deleted")

Literals#

Type annotations for literals used in methods and schema.

# BlockerStatusType usage example

from types_aiobotocore_proton.literals import BlockerStatusType

def get_value() -> BlockerStatusType:
    return "ACTIVE"

Type definitions#

Type annotations for type definitions used in methods and schema.