Registry /
type-stubs / mypy-boto3-elasticbeanstalk
Install & Compatibility
Where this runs
tested against v1.43.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.5MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 1.8s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ElasticBeanstalkClient
✓ from mypy_boto3_elasticbeanstalk import ElasticBeanstalkClient
✗ from mypy_boto3_elasticbeanstalk import ElasticBeanstalkClient
This quickstart demonstrates how to obtain a type-hinted ElasticBeanstalk client using `boto3` and then call a method, leveraging the provided type stubs for improved development experience.
import boto3
from mypy_boto3_elasticbeanstalk.client import ElasticBeanstalkClient
# Get a typed ElasticBeanstalk client
elb_client: ElasticBeanstalkClient = boto3.client("elasticbeanstalk")
# Example: List applications (result will be fully typed)
response = elb_client.describe_applications()
print(f"Found {len(response['Applications'])} ElasticBeanstalk applications:")
for app in response['Applications']:
print(f"- {app['ApplicationName']}")
Debug
Known issues
breakingSupport for Python 3.8 has been removed in `mypy-boto3-builder` version 8.12.0, which was used to generate this package version. Users on Python 3.8 will need to upgrade to Python 3.9 or newer.fixUpgrade your Python environment to 3.9 or a later version.
affects: mypy-boto3-builder >= 8.12.0 (and packages generated by it, including mypy-boto3-elasticbeanstalk >= 1.42.x)
breakingThe `mypy-boto3-builder` migrated to PEP 561 packages in version 8.12.0. While this improves discoverability for type checkers, it changes the internal package structure. If you have custom type checking configurations or older MyPy versions, you might need to adjust them.fixEnsure your MyPy configuration is up-to-date and type checkers can properly locate `py.typed` files. Re-running type checks after upgrading should reveal any issues.
affects: mypy-boto3-builder >= 8.12.0 (and packages generated by it, including mypy-boto3-elasticbeanstalk >= 1.42.x)
breakingSome generated `TypeDef` names underwent breaking changes in `mypy-boto3-builder` 8.9.0 (e.g., `CreateDistributionRequestRequestTypeDef` changed to `CreateDistributionRequestTypeDef`). While not specific to ElasticBeanstalk in the release notes, this change pattern could apply to other service definitions.fixReview your code for direct imports or usage of `TypeDef` names from `mypy_boto3_elasticbeanstalk.type_defs` and adjust them according to the latest definitions in the generated stub files.
affects: mypy-boto3-builder >= 8.9.0 (and packages generated by it)
gotchaThese stubs provide type hints for `boto3`. To use them effectively, you must also have `boto3` installed in your environment. The stubs do not include the runtime functionality of `boto3` itself.fixEnsure `pip install boto3` is executed alongside `pip install mypy-boto3-elasticbeanstalk`.
affects: All versions
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the actual AWS SDK runtime; these stubs provide type hints for it.