--- id: types-boto3-sts version: "1.43.0" license: MIT license_treatment: permissive maintenance: active --- # types-boto3-sts — Type annotations for boto3 STS 1.43.0 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 502.6K/mo ## What it is and what it does types-boto3-sts is a type stub package that adds static type information to boto3's STS (Security Token Service) client. It was generated using mypy-boto3-builder 8.12.0 and is compatible with boto3 1.43.0. When installed, it enables type checkers like mypy and pyright, as well as IDEs like VSCode, PyCharm, and others, to understand and validate STS API calls at development time—providing autocomplete suggestions, catching type errors before runtime, and improving code clarity through explicit type annotations. The package is pure Python with minimal dependencies (only typing-extensions), making it lightweight and easy to install. It supports Python 3.9 through 3.14 and is actively maintained. You can use it standalone or as part of the broader types-boto3 ecosystem. The stub provides three main annotation layers: STSClient for type-annotating client objects, Literals for STS-specific enum values, and TypeDefs for structured request and response shapes. Use it for: - Enable IDE autocomplete and type checking for boto3 STS calls in VSCode, PyCharm, or other type-aware editors. - Catch STS API usage errors (wrong parameter types, missing required fields) during static analysis with mypy or pyright. - Document STS client method signatures and expected types in your codebase without writing manual annotations. - Improve code maintainability by letting type checkers verify that STS operations are called correctly across a large project. - Use STS Literals and TypeDefs to enforce type safety when building IAM assume-role workflows or token operations. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type annotations and IDE autocomplete support for boto3 STS (AWS Security Token Service) client operations, compatible with mypy, pyright, VSCode, PyCharm, and other type-aware tools. Yes. This is a low-friction, actively maintained type stub with no security vulnerabilities and permissive licensing. Install it if you use boto3 STS in a project where you want static type checking or IDE autocomplete support. It adds no runtime overhead and requires only typing-extensions as a dependency. ## Install pip install types-boto3-sts uv add types-boto3-sts poetry add types-boto3-sts ## Installing types-boto3-sts Before you install: Low friction: a pure-Python stub package with only typing-extensions as a runtime dependency. Actively maintained with recent releases; last commit 2026-06-22. License in practice: MIT license permits use in any project, including commercial and proprietary code, with minimal restrictions. Quickstart: pip install types-boto3-sts from boto3.session import Session from types_boto3_sts import STSClient client: STSClient = Session().client("sts") # Type checking and IDE autocomplete now work for STS operations Requires Python 3.9 or later; boto3 must be installed separately in your project. Verify before relying: - Whether the package works correctly with all listed IDE integrations (VSCode, PyCharm, Emacs, Sublime Text) in practice. - Performance impact in PyCharm when using full types-boto3 versus the lite variant (documentation mentions potential slowness). ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 502.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 sts type annotations, aws sts type stubs, boto3 type hints, sts client type checking, mypy boto3 sts, pyright boto3 stubs, aws security token service types, type-stubs, aws-sdk, boto3 [View on SkillFed](https://skillfed.io/packages/types-boto3-sts) · [View on PyPI](https://pypi.org/project/types-boto3-sts/)