skillfed

mypy-boto3-shield

Type annotations for boto3 Shield 1.43.0 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-shield v1.43.0 256.2K downloads/30d#8,466 on PyPI670
Permissive license MIT Active released

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-shield

uv

uv add mypy-boto3-shield

poetry

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 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

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTyping :: Stubs Only

Tags

boto3 type stubsaws shield type annotationsboto3 ide autocompletemypy boto3 stubspython aws type hints
type-stubsaws-sdkide-support

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

mypy-boto3-ec2

Provides type annotations and IDE autocomplete…

permissive · top 5,000 on PyPI

mypy-boto3-codeguruprofiler

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-connect

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-security-ir

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-iot

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

boto3-stubs

Provides type stubs and annotations for boto3…

permissive · top 1,000 on PyPI

boto3-stubs-lite

Provides type annotations for boto3 1.43.72,…

permissive · top 15,000 on PyPI

mypy-boto3-pinpoint

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-support-app

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-config

Provides type annotations and IDE…

permissive · top 15,000 on PyPI