Skip to content

SMS module#

Index > SMS

Auto-generated documentation for SMS type annotations stubs module mypy-boto3-sms.

How to install#

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"))

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"

Type definitions#

Type annotations for type definitions used in methods and schema.