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

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

# ProtonClient usage example

from aioboto3.session import Session

from types_aiobotocore_proton.client import ProtonClient


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

Paginators#

Type annotations and code completion for paginators from session.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.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.