Skip to content

ivschat module

Index > ivschat

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

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

From PyPI with pip

Install boto3-stubs for ivschat service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

ivschatClient

Type annotations and code completion for boto3.client("ivschat") as ivschatClient boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_ivschat.client import ivschatClient

def get_client() -> ivschatClient:
    return Session().client("ivschat")

Literals

Type annotations for literals used in methods and schemas.

Usage example
from mypy_boto3_ivschat.literals import ChatTokenCapabilityType

def get_value() -> ChatTokenCapabilityType:
    return "DELETE_MESSAGE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from mypy_boto3_ivschat.type_defs import CreateChatTokenRequestRequestTypeDef

def get_value() -> CreateChatTokenRequestRequestTypeDef:
    return {
        "roomIdentifier": ...,
        "userId": ...,
    }