Skip to content

ElasticBeanstalk module

Index > ElasticBeanstalk

Auto-generated documentation for ElasticBeanstalk type annotations stubs module types-aiobotocore-elasticbeanstalk.

How to install

From PyPI with pip

Install types-aioboto3 for ElasticBeanstalk service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

ElasticBeanstalkClient

Type annotations and code completion for session.client("elasticbeanstalk") as ElasticBeanstalkClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_elasticbeanstalk.client import ElasticBeanstalkClient


session = Session()
async with session.client("elasticbeanstalk") as client:
    client: ElasticBeanstalkClient

Paginators

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

Usage example
from types_aiobotocore_elasticbeanstalk.paginator import DescribeApplicationVersionsPaginator

def get_describe_application_versions_paginator() -> DescribeApplicationVersionsPaginator:
    return client.get_paginator("describe_application_versions"))

Waiters

Type annotations and code completion for waiters from session.client("elasticbeanstalk").get_waiter("...").

Usage example
from types_aiobotocore_elasticbeanstalk.waiter import EnvironmentExistsWaiter

def get_environment_exists_waiter() -> EnvironmentExistsWaiter:
    return Session().client("elasticbeanstalk").get_waiter("environment_exists")

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_elasticbeanstalk.literals import ActionHistoryStatusType

def get_value() -> ActionHistoryStatusType:
    return "Completed"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_elasticbeanstalk.type_defs import AbortEnvironmentUpdateMessageRequestTypeDef

def get_value() -> AbortEnvironmentUpdateMessageRequestTypeDef:
    return {
        "EnvironmentId": ...,
    }