Skip to content

SSMContacts module

Index > SSMContacts

Auto-generated documentation for SSMContacts type annotations stubs module types-aiobotocore-ssm-contacts.

How to install

From PyPI with pip

Install types-aioboto3 for SSMContacts service.

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


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


# standalone installation
python -m pip install types-aiobotocore-ssm-contacts

How to uninstall

python -m pip uninstall -y types-aiobotocore-ssm-contacts

Usage

Code samples can be found in Examples.

SSMContactsClient

Type annotations and code completion for session.client("ssm-contacts") as SSMContactsClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_ssm_contacts.client import SSMContactsClient


session = Session()
async with session.client("ssm-contacts") as client:
    client: SSMContactsClient

Paginators

Type annotations and code completion for paginators from session.client("ssm-contacts").get_paginator("...").

Usage example
from types_aiobotocore_ssm_contacts.paginator import ListContactChannelsPaginator

def get_list_contact_channels_paginator() -> ListContactChannelsPaginator:
    return client.get_paginator("list_contact_channels"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_ssm_contacts.literals import AcceptCodeValidationType

def get_value() -> AcceptCodeValidationType:
    return "ENFORCE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_ssm_contacts.type_defs import AcceptPageRequestRequestTypeDef

def get_value() -> AcceptPageRequestRequestTypeDef:
    return {
        "PageId": ...,
        "AcceptType": ...,
        "AcceptCode": ...,
    }