Skip to content

SMS module

Index > SMS

Auto-generated documentation for SMS type annotations stubs module types-aiobotocore-sms.

How to install

From PyPI with pip

Install types-aioboto3 for SMS service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[sms]'


# 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]'


# standalone installation
python -m pip install types-aiobotocore-sms

How to uninstall

python -m pip uninstall -y types-aiobotocore-sms

Usage

Code samples can be found in Examples.

SMSClient

Type annotations and code completion for session.client("sms") as SMSClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_sms.client import SMSClient


session = Session()
async with session.client("sms") as client:
    client: SMSClient

Paginators

Type annotations and code completion for paginators from session.client("sms").get_paginator("...").

Usage example
from types_aiobotocore_sms.paginator import GetConnectorsPaginator

def get_get_connectors_paginator() -> GetConnectorsPaginator:
    return client.get_paginator("get_connectors"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_sms.literals import AppLaunchConfigurationStatusType

def get_value() -> AppLaunchConfigurationStatusType:
    return "CONFIGURED"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_sms.type_defs import LaunchDetailsTypeDef

def get_value() -> LaunchDetailsTypeDef:
    return {
        "latestLaunchTime": ...,
    }