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-voiceVerified import paths — ran on the pinned version, not inferred.
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.
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.
Update your code to use the new, shorter TypedDict names where applicable. Consult the `type_defs` submodule for the correct name.
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`.
Always add a type hint for the client variable when initializing it: `client: SpecificServiceClient = boto3.client('service-name')`.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.