Registry / type-stubs / mypy-boto3-verifiedpermissions

mypy-boto3-verifiedpermissions

JSON →
library1.43.13pypypi✓ verified 29d ago

mypy-boto3-verifiedpermissions provides type annotations for the boto3 VerifiedPermissions service. It is part of the `mypy-boto3-builder` ecosystem, which generates type stubs for all boto3 services. The current version is 1.42.73, and releases are frequent, aligning with boto3 and AWS service updates, typically several times a month.

pip install mypy-boto3-verifiedpermissions boto3
INSTALL
IMPORT
SIG · MYPY-BOTO3-VERIFIE
M
mypy-boto3-verifiedpermissions
type-stubspythonv1.43.13
Install
3.7s avg
Import
605ms
Disk
50MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
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
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.632s · 52MB
glibc
py 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.
fix
Upgrade 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.
fix
Review 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.
fix
Ensure `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.
fix
Consult 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.
Agent activity
24 hits · last 30 days
node
21
OpenAI (training)
2
Resources
mypy-boto3-verifiedpermissions — pip install mypy-boto3-verifiedpermissions · libregistry