Registry / type-stubs / mypy-boto3-chime-sdk-voice

mypy-boto3-chime-sdk-voice

JSON →
library1.43.50pypypi✓ verified 22d ago

This library provides type annotations for the AWS boto3 Chime SDK Voice service client. It ensures that your boto3 calls for `chime-sdk-voice` are type-checked by `mypy`, preventing common runtime errors and improving developer experience with autocompletion. The current version is 1.42.3, generated by `mypy-boto3-builder` and released frequently to align with boto3/botocore updates.

pip install mypy-boto3-chime-sdk-voice
INSTALL
IMPORT
SIG · MYPY-BOTO3-CHIME-S
M
mypy-boto3-chime-sdk-voice
type-stubspythonv1.43.50
Install
1.7s avg
Import
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.43.50 · 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.103.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.6MB
glibc
py 3.103.910 runs
installs and imports cleanly · install 1.7s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ChimeSDKVoiceClient
from mypy_boto3_chime_sdk_voice import ChimeSDKVoiceClient
from mypy_boto3_chime_sdk_voice import ChimeSDKVoiceClient

This quickstart demonstrates how to get a type-hinted ChimeSDKVoice client using `mypy-boto3-chime-sdk-voice` and perform a basic operation. The explicit type annotation `client: ChimeSDKVoiceClient` is essential for mypy to correctly apply the type information.

import boto3 from mypy_boto3_chime_sdk_voice.client import ChimeSDKVoiceClient # It's crucial to annotate the client variable for mypy to pick up the types client: ChimeSDKVoiceClient = boto3.client("chime-sdk-voice") # Now, 'client' methods are type-checked and offer autocompletion try: # Example: Listing voice profile domains response = client.list_voice_profile_domains() print(f"Successfully listed voice profile domains. Found {len(response['VoiceProfileDomainSummaries'])}.") if response['VoiceProfileDomainSummaries']: print(f"First domain name: {response['VoiceProfileDomainSummaries'][0]['Name']}") except Exception as e: print(f"Error listing domains (this is expected if AWS credentials/permissions are missing): {e}") # You can also import and use specific TypedDicts for request/response bodies # from mypy_boto3_chime_sdk_voice.type_defs import CreateVoiceProfileDomainRequestRequestTypeDef # request_params: CreateVoiceProfileDomainRequestRequestTypeDef = { # "Name": "MyDomain", # "ServerSideEncryptionConfiguration": {"KmsKeyArn": "arn:aws:kms:REGION:ACCOUNT_ID:key/KEY_ID"} # } # client.create_voice_profile_domain(**request_params)
Debug
Known issues
breakingStarting with `mypy-boto3-builder` version 8.12.0 (which generates this stub package), Python 3.8 is no longer supported. Ensure your projects are running Python 3.9 or higher.
fix
Upgrade your Python environment to 3.9 or newer. If you must use Python 3.8, pin `mypy-boto3-builder` and related stub packages to a version older than 8.12.0.
affects: <8.12.0
breakingIn builder version 8.9.0, there was a breaking change in how some TypedDict names are generated, specifically for packed method arguments. Names like `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`.
fix
Update your code to use the new, shorter TypedDict names where applicable. Consult the `type_defs` submodule for the correct name.
affects: <8.9.0
gotchaFor optimal type checking, the version of `mypy-boto3-chime-sdk-voice` should ideally match the major/minor version of your installed `boto3` library. Significant mismatches can lead to incorrect type hints or missing attributes.
fix
Keep `mypy-boto3-chime-sdk-voice` and `boto3` updated in sync. If using `pip`, you can often update both with `pip install --upgrade boto3 mypy-boto3-chime-sdk-voice`.
affects: all
gotchaWhen using `boto3.client('service-name')`, it's critical to explicitly type-annotate the returned client object (e.g., `client: ChimeSDKVoiceClient = boto3.client('chime-sdk-voice')`) for mypy to apply the stub types. Without this annotation, mypy treats the client as `Any`.
fix
Always add a type hint for the client variable when initializing it: `client: SpecificServiceClient = boto3.client('service-name')`.
affects: all
gotchaIf you install the general `mypy-boto3` package, it includes stubs for ALL AWS services. Installing service-specific packages (like `mypy-boto3-chime-sdk-voice`) alongside `mypy-boto3` is redundant and can lead to conflicts or larger dependency trees than necessary.
fix
Choose one approach: either install `mypy-boto3` for all services OR install individual `mypy-boto3-SERVICE` packages for only the services you use. Do not install both simultaneously for the same services.
affects: all
Upgrade
Version history
1.43.50latest on PyPI · released Jul 16, 2026
Audit
Dependencies
boto3requiredRuntime dependency for which these are type stubs.
Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
1
Resources
mypy-boto3-chime-sdk-voice — pip install mypy-boto3-chime-sdk-voice · libregistry