Skip to content

Support module

Index > Support

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

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

From PyPI with pip

Install boto3-stubs for Support service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

SupportClient

Type annotations and code completion for boto3.client("support") as SupportClient boto3 documentation

Usage example
from boto3.session import Session

from mypy_boto3_support.client import SupportClient

def get_client() -> SupportClient:
    return Session().client("support")

Paginators

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

Usage example
from boto3.session import Session

from mypy_boto3_support.paginator import DescribeCasesPaginator

def get_describe_cases_paginator() -> DescribeCasesPaginator:
    return Session().client("support").get_paginator("describe_cases"))

Literals

Type annotations for literals used in methods and schemas.

Usage example
from mypy_boto3_support.literals import DescribeCasesPaginatorName

def get_value() -> DescribeCasesPaginatorName:
    return "describe_cases"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from mypy_boto3_support.type_defs import AttachmentTypeDef

def get_value() -> AttachmentTypeDef:
    return {
        "fileName": ...,
    }