Skip to content

CodeStarNotifications module

Index > CodeStarNotifications

Auto-generated documentation for CodeStarNotifications type annotations stubs module types-aiobotocore-codestar-notifications.

How to install

From PyPI with pip

Install types-aioboto3 for CodeStarNotifications service.

# install with aioboto3 type annotations
python -m pip install 'types-aioboto3[codestar-notifications]'


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


# standalone installation
python -m pip install types-aiobotocore-codestar-notifications

How to uninstall

python -m pip uninstall -y types-aiobotocore-codestar-notifications

Usage

Code samples can be found in Examples.

CodeStarNotificationsClient

Type annotations and code completion for session.client("codestar-notifications") as CodeStarNotificationsClient boto3 documentation

Usage example
from aioboto3.session import Session

from types_aiobotocore_codestar_notifications.client import CodeStarNotificationsClient


session = Session()
async with session.client("codestar-notifications") as client:
    client: CodeStarNotificationsClient

Paginators

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

Usage example
from types_aiobotocore_codestar_notifications.paginator import ListEventTypesPaginator

def get_list_event_types_paginator() -> ListEventTypesPaginator:
    return client.get_paginator("list_event_types"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_codestar_notifications.literals import DetailTypeType

def get_value() -> DetailTypeType:
    return "BASIC"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_codestar_notifications.type_defs import TargetTypeDef

def get_value() -> TargetTypeDef:
    return {
        "TargetType": ...,
    }