Skip to content

AppRunner module

Index > AppRunner

Auto-generated documentation for AppRunner type annotations stubs module types-aiobotocore-apprunner.

How to install

From PyPI with pip

Install types-aioboto3 for AppRunner service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[apprunner]'


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

AppRunnerClient

Type annotations and code completion for session.client("apprunner") as AppRunnerClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_apprunner.client import AppRunnerClient


session = Session()
async with session.client("apprunner") as client:
    client: AppRunnerClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_apprunner.literals import AutoScalingConfigurationStatusType

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

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_apprunner.type_defs import AssociateCustomDomainRequestRequestTypeDef

def get_value() -> AssociateCustomDomainRequestRequestTypeDef:
    return {
        "ServiceArn": ...,
        "DomainName": ...,
    }