Registry /
type-stubs / mypy-boto3-verifiedpermissions
Install & Compatibility
Where this runs
tested against v1.43.13 · 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.632s · 52MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.7s · import 0.578s · 53MB
50MB installed
● package 50MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
VerifiedPermissionsClient
✓ from mypy_boto3_verifiedpermissions import VerifiedPermissionsClient
Used for type-hinting the boto3 client object.
PolicyStoreItemTypeDef
✓ from mypy_boto3_verifiedpermissions.type_defs import PolicyStoreItemTypeDef
✗ from mypy_boto3_verifiedpermissions import PolicyStoreItemTypeDef
Specific TypeDefs are typically found in the `type_defs` submodule, not directly under the package root.
Demonstrates how to initialize a `boto3` client for AWS Verified Permissions and apply the type hint provided by `mypy-boto3-verifiedpermissions`.
import boto3
from mypy_boto3_verifiedpermissions import VerifiedPermissionsClient
# Ensure boto3 is configured, e.g., via AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, etc.
# or an AWS credentials file.
# For a runnable example, we'll use a dummy client call that won't require real auth if the service is not used.
client: VerifiedPermissionsClient = boto3.client("verifiedpermissions")
try:
# Example: Listing policy stores. This call requires actual AWS credentials and permissions.
response = client.list_policy_stores()
print(f"Successfully listed policy stores: {response.get('PolicyStores', [])}")
except Exception as e:
print(f"Could not list policy stores (this is expected without proper AWS configuration or permissions): {e}")
Debug
Known issues
breakingPython 3.8 support has been removed. All `mypy-boto3` packages now require Python 3.9 or newer.fixUpgrade your Python environment to 3.9 or later.
affects: mypy-boto3-builder 8.12.0+
breakingTypeDef names for method arguments (e.g., `CreateDistributionRequestRequestTypeDef`) were shortened, and conflicting TypeDef `Extra` postfixes were reordered. This might break direct imports or references to these specific TypeDefs.fixReview your code for imports of specific TypeDefs and update their names according to the new convention (e.g., `CreateDistributionRequestTypeDef`).
affects: mypy-boto3-builder 8.9.0+
gotchaThis package provides only type stubs; it does not include `boto3` itself. `boto3` must be installed separately for your application to function at runtime.fixEnsure `boto3` is included in your project's `install_requires` or `requirements.txt`.
affects: All
deprecatedWhile not directly affecting `verifiedpermissions`, the `sms-voice` service stub was removed and replaced by `pinpoint-sms-voice` (as of builder v8.11.0). Be aware that other AWS service names or structures might change in future `mypy-boto3-builder` updates.fixConsult the `mypy-boto3-builder` release notes for other services you use to stay informed about potential renames or deprecations.
affects: mypy-boto3-builder 8.11.0+
Upgrade
Version history
1.43.13latest on PyPI · released May 21, 2026
Audit
Dependencies
boto3requiredProvides the actual runtime functionality for AWS API calls. This library only provides type stubs.
mypyoptionalThe static type checker this library is designed for.