--- id: mypy-boto3-shield version: "1.43.0" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-shield — Type annotations for boto3 Shield 1.43.0 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 256.2K/mo ## 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 above — 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 pip install mypy-boto3-shield uv add mypy-boto3-shield poetry add mypy-boto3-shield ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 256.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 type stubs, aws shield type annotations, boto3 ide autocomplete, mypy boto3 stubs, python aws type hints, type-stubs, aws-sdk, ide-support [View on SkillFed](https://skillfed.io/packages/mypy-boto3-shield) · [View on PyPI](https://pypi.org/project/mypy-boto3-shield/)