mypy-boto3-shield
Type annotations for boto3 Shield 1.43.0 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package is a type-stub library that adds static type annotations to boto3's Shield AWS service client. It enables IDE autocomplete, type checking with mypy and pyright, and compile-time error detection when working with Shield API calls—without requiring explicit type annotations in your code.
The stubs are generated from boto3 1.43.0 using mypy-boto3-builder and support modern Python versions (3.9–3.14). It integrates with VSCode (via Pylance), PyCharm, Emacs, Sublime Text, and command-line type checkers. The package is designed as a development-only dependency and can be safely imported only during type checking to avoid production overhead.
Use it for:
- Enable IDE autocomplete and inline documentation when writing boto3 Shield client code in VSCode or PyCharm.
- Catch Shield API call errors at development time using mypy or pyright instead of at runtime.
- Provide type hints for Shield paginators and service resource types in large AWS projects.
- Verify correct argument types and return values for Shield operations before deployment.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations and IDE autocomplete support for the boto3 Shield AWS service, compatible with mypy, pyright, VSCode, PyCharm, and other type-checking tools.
Yes, if you use boto3 Shield and want type safety and IDE support. Install friction is minimal, maintenance is active, and the MIT license carries no restrictions. The package is stable (Production/Stable status) and has no known vulnerabilities. Caveat: PyCharm users should monitor performance with Literal overloads (documented issue PY-40997) and may prefer boto3-stubs-lite as a workaround.
Install
mypy-boto3-shield on PyPI
pip
pip install mypy-boto3-shielduv
uv add mypy-boto3-shieldpoetry
poetry add mypy-boto3-shieldInstalling mypy-boto3-shield
Before you install
Low install friction with a single runtime dependency (typing-extensions). Actively maintained with recent releases; last commit 2026-06-22 and production-stable status.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.
Quickstart
# Install
python -m pip install mypy-boto3-shield
# Use with type checking
from boto3.session import Session
from mypy_boto3_shield import ShieldClient
client: ShieldClient = Session().client("shield")
Requires Python 3.9 or later; boto3 must be installed separately to use the Shield client.
Verify before relying
- Whether the package works correctly with all listed IDE integrations (VSCode, PyCharm, Emacs, Sublime Text) in practice.
- Performance impact when used with PyCharm (documentation warns of potential slowness with Literal overloads).
- Compatibility with boto3 versions other than 1.43.0.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — typing-extensions |
| Maintenance | actively maintained — 107 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 256,186/month — #8,466 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_shield-1.43.0-py3-none-any.whl
Keywords: boto3, shield, boto3-stubs, type-annotations, mypy, typeshed, autocomplete
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
mypy-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-codeguruprofilerProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-security-irProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-iotProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
boto3-stubsProvides type stubs and annotations for boto3…
permissive · top 1,000 on PyPI
boto3-stubs-liteProvides type annotations for boto3 1.43.72,…
permissive · top 15,000 on PyPI
mypy-boto3-pinpointProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-support-appProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-configProvides type annotations and IDE…
permissive · top 15,000 on PyPI