SMS module#
Index > SMS
Auto-generated documentation for SMS type annotations stubs module mypy-boto3-sms.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.99' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
SMS
service. - Use provided commands to install generated packages.
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and SMS
.
From PyPI with pip#
Install boto3-stubs
for SMS
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[sms]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[sms]'
# standalone installation
python -m pip install mypy-boto3-sms
How to uninstall#
python -m pip uninstall -y mypy-boto3-sms
Usage#
Code samples can be found in Examples.
SMSClient#
Type annotations and code completion for boto3.client("sms")
as SMSClient
boto3 documentation
# SMSClient usage example
from boto3.session import Session
from mypy_boto3_sms.client import SMSClient
def get_client() -> SMSClient:
return Session().client("sms")
Paginators#
Type annotations and code completion for paginators
from boto3.client("sms").get_paginator("...")
.
# GetConnectorsPaginator usage example
from boto3.session import Session
from mypy_boto3_sms.paginator import GetConnectorsPaginator
def get_get_connectors_paginator() -> GetConnectorsPaginator:
return Session().client("sms").get_paginator("get_connectors"))
- GetConnectorsPaginator
- GetReplicationJobsPaginator
- GetReplicationRunsPaginator
- GetServersPaginator
- ListAppsPaginator
Literals#
Type annotations for literals used in methods and schema.
# AppLaunchConfigurationStatusType usage example
from mypy_boto3_sms.literals import AppLaunchConfigurationStatusType
def get_value() -> AppLaunchConfigurationStatusType:
return "CONFIGURED"
- AppLaunchConfigurationStatusType
- AppLaunchStatusType
- AppReplicationConfigurationStatusType
- AppReplicationStatusType
- AppStatusType
- AppValidationStrategyType
- ConnectorCapabilityType
- ConnectorStatusType
- GetConnectorsPaginatorName
- GetReplicationJobsPaginatorName
- GetReplicationRunsPaginatorName
- GetServersPaginatorName
- LicenseTypeType