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

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("...").

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("...").

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.

Usage example
from types_aiobotocore_proton.literals import ComponentDeletedWaiterName

def get_value() -> ComponentDeletedWaiterName:
    return "component_deleted"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_proton.type_defs import AcceptEnvironmentAccountConnectionInputRequestTypeDef

def get_value() -> AcceptEnvironmentAccountConnectionInputRequestTypeDef:
    return {
        "id": ...,
    }