Skip to content

CodeStar module

Index > CodeStar

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

How to install

From PyPI with pip

Install types-aioboto3 for CodeStar service.

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


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


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

How to uninstall

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

Usage

Code samples can be found in Examples.

CodeStarClient

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

Usage example
from aioboto3.session import Session

from types_aiobotocore_codestar.client import CodeStarClient


session = Session()
async with session.client("codestar") as client:
    client: CodeStarClient

Paginators

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

Usage example
from types_aiobotocore_codestar.paginator import ListProjectsPaginator

def get_list_projects_paginator() -> ListProjectsPaginator:
    return client.get_paginator("list_projects"))

Literals

Type annotations for literals used in methods and schema.

Usage example
from types_aiobotocore_codestar.literals import ListProjectsPaginatorName

def get_value() -> ListProjectsPaginatorName:
    return "list_projects"

Typed dictionaries

Type annotations for typed dictionaries used in methods and schema.

Usage example
from types_aiobotocore_codestar.type_defs import AssociateTeamMemberRequestRequestTypeDef

def get_value() -> AssociateTeamMemberRequestRequestTypeDef:
    return {
        "projectId": ...,
        "userArn": ...,
        "projectRole": ...,
    }