Skip to content

CodeStarconnections module

Index > CodeStarconnections

Auto-generated documentation for CodeStarconnections type annotations stubs module types-aiobotocore-codestar-connections.

How to install

From PyPI with pip

Install types-aioboto3 for CodeStarconnections service.

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


# 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-connections]'


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

How to uninstall

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

Usage

Code samples can be found in Examples.

CodeStarconnectionsClient

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

Usage example
from aioboto3.session import Session

from types_aiobotocore_codestar_connections.client import CodeStarconnectionsClient


session = Session()
async with session.client("codestar-connections") as client:
    client: CodeStarconnectionsClient

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_codestar_connections.literals import ConnectionStatusType

def get_value() -> ConnectionStatusType:
    return "AVAILABLE"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_codestar_connections.type_defs import ConnectionTypeDef

def get_value() -> ConnectionTypeDef:
    return {
        "ConnectionName": ...,
    }