SMSVoice module#
Index > SMSVoice
Auto-generated documentation for SMSVoice type annotations stubs module types-aiobotocore-sms-voice.
How to install#
Generate locally (recommended)#
You can generate type annotations for aioboto3
package locally with mypy-boto3-builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'aioboto3==14.1.0' mypy-boto3-builder
- Select
aioboto3
AWS SDK. - Add
SMSVoice
service. - Use provided commands to install generated packages.
From PyPI with pip#
Install types-aioboto3
for SMSVoice
service.
# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[sms-voice]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aioboto3-lite[sms-voice]'
# standalone installation
python -m pip install types-aiobotocore-sms-voice
How to uninstall#
python -m pip uninstall -y types-aiobotocore-sms-voice
Usage#
Code samples can be found in Examples.
SMSVoiceClient#
Type annotations and code completion for session.client("sms-voice")
as SMSVoiceClient
boto3 documentation
# SMSVoiceClient usage example
from aioboto3.session import Session
from types_aiobotocore_sms_voice.client import SMSVoiceClient
session = Session()
async with session.client("sms-voice") as client:
client: SMSVoiceClient
Literals#
Type annotations for literals used in methods and schema.
# EventTypeType usage example
from types_aiobotocore_sms_voice.literals import EventTypeType
def get_value() -> EventTypeType:
return "ANSWERED"
Type definitions#
Type annotations for type definitions used in methods and schema.
- CallInstructionsMessageTypeTypeDef
- CloudWatchLogsDestinationTypeDef
- CreateConfigurationSetRequestTypeDef
- DeleteConfigurationSetEventDestinationRequestTypeDef
- DeleteConfigurationSetRequestTypeDef
- KinesisFirehoseDestinationTypeDef
- SnsDestinationTypeDef
- GetConfigurationSetEventDestinationsRequestTypeDef
- ResponseMetadataTypeDef
- ListConfigurationSetsRequestTypeDef
- PlainTextMessageTypeTypeDef
- SSMLMessageTypeTypeDef
- EventDestinationDefinitionTypeDef
- EventDestinationTypeDef
- ListConfigurationSetsResponseTypeDef
- SendVoiceMessageResponseTypeDef
- VoiceMessageContentTypeDef
- CreateConfigurationSetEventDestinationRequestTypeDef
- UpdateConfigurationSetEventDestinationRequestTypeDef
- GetConfigurationSetEventDestinationsResponseTypeDef
- SendVoiceMessageRequestTypeDef