UserNotificationsContacts module#
Index > UserNotificationsContacts
Auto-generated documentation for UserNotificationsContacts type annotations stubs module mypy-boto3-notificationscontacts.
How to install#
Generate locally (recommended)#
You can generate type annotations for boto3
package locally with mypy_boto3_builder
.
Use uv for build isolation.
- Run mypy-boto3-builder in your package root directory:
uvx --with 'boto3==1.35.87' mypy_boto3_builder
- Select
boto3-stubs
AWS SDK. - Add
UserNotificationsContacts
service. - Use provided commands to install generated packages.
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"
- EmailContactStatusType
- ListEmailContactsPaginatorName
- UserNotificationsContactsServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
Type definitions#
Type annotations for type definitions used in methods and schema.
- ActivateEmailContactRequestRequestTypeDef
- CreateEmailContactRequestRequestTypeDef
- ResponseMetadataTypeDef
- DeleteEmailContactRequestRequestTypeDef
- EmailContactTypeDef
- GetEmailContactRequestRequestTypeDef
- PaginatorConfigTypeDef
- ListEmailContactsRequestRequestTypeDef
- ListTagsForResourceRequestRequestTypeDef
- SendActivationCodeRequestRequestTypeDef
- TagResourceRequestRequestTypeDef
- UntagResourceRequestRequestTypeDef
- CreateEmailContactResponseTypeDef
- ListTagsForResourceResponseTypeDef
- GetEmailContactResponseTypeDef
- ListEmailContactsResponseTypeDef
- ListEmailContactsRequestPaginateTypeDef