Skip to content

EndUserMessagingSocial module#

Index > EndUserMessagingSocial

Auto-generated documentation for EndUserMessagingSocial type annotations stubs module mypy-boto3-socialmessaging.

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 EndUserMessagingSocial.

From PyPI with pip#

Install boto3-stubs for EndUserMessagingSocial service.

# install with boto3 type annotations
python -m pip install 'boto3-stubs[socialmessaging]'


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


# standalone installation
python -m pip install mypy-boto3-socialmessaging

How to uninstall#

python -m pip uninstall -y mypy-boto3-socialmessaging

Usage#

Code samples can be found in Examples.

EndUserMessagingSocialClient#

Type annotations and code completion for boto3.client("socialmessaging") as EndUserMessagingSocialClient boto3 documentation

# EndUserMessagingSocialClient usage example

from boto3.session import Session

from mypy_boto3_socialmessaging.client import EndUserMessagingSocialClient

def get_client() -> EndUserMessagingSocialClient:
    return Session().client("socialmessaging")

Paginators#

Type annotations and code completion for paginators from boto3.client("socialmessaging").get_paginator("...").

# ListLinkedWhatsAppBusinessAccountsPaginator usage example

from boto3.session import Session

from mypy_boto3_socialmessaging.paginator import ListLinkedWhatsAppBusinessAccountsPaginator

def get_list_linked_whatsapp_business_accounts_paginator() -> ListLinkedWhatsAppBusinessAccountsPaginator:
    return Session().client("socialmessaging").get_paginator("list_linked_whatsapp_business_accounts"))

Literals#

Type annotations for literals used in methods and schema.

# ListLinkedWhatsAppBusinessAccountsPaginatorName usage example

from mypy_boto3_socialmessaging.literals import ListLinkedWhatsAppBusinessAccountsPaginatorName

def get_value() -> ListLinkedWhatsAppBusinessAccountsPaginatorName:
    return "list_linked_whatsapp_business_accounts"

Type definitions#

Type annotations for type definitions used in methods and schema.