Skip to content

UserNotificationsContacts module#

Index > UserNotificationsContacts

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

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

From PyPI with pip#

Install boto3-stubs for UserNotificationsContacts service.

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


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


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

UserNotificationsContactsClient#

Type annotations and code completion for boto3.client("notificationscontacts") as UserNotificationsContactsClient boto3 documentation

# UserNotificationsContactsClient usage example

from boto3.session import Session

from mypy_boto3_notificationscontacts.client import UserNotificationsContactsClient

def get_client() -> UserNotificationsContactsClient:
    return Session().client("notificationscontacts")

Paginators#

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

# ListEmailContactsPaginator usage example

from boto3.session import Session

from mypy_boto3_notificationscontacts.paginator import ListEmailContactsPaginator

def get_list_email_contacts_paginator() -> ListEmailContactsPaginator:
    return Session().client("notificationscontacts").get_paginator("list_email_contacts"))

Literals#

Type annotations for literals used in methods and schema.

# EmailContactStatusType usage example

from mypy_boto3_notificationscontacts.literals import EmailContactStatusType

def get_value() -> EmailContactStatusType:
    return "active"

Type definitions#

Type annotations for type definitions used in methods and schema.