Skip to content

CodeDeploy module#

Index > CodeDeploy

Auto-generated documentation for CodeDeploy type annotations stubs module types-aiobotocore-codedeploy.

How to install#

From PyPI with pip#

Install types-aiobotocore for CodeDeploy service.

# install with aiobotocore type annotations
python -m pip install 'types-aiobotocore[codedeploy]'


# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'types-aiobotocore-lite[codedeploy]'


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

How to uninstall#

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

Usage#

Code samples can be found in Examples.

CodeDeployClient#

Type annotations and code completion for session.create_client("codedeploy") as CodeDeployClient boto3 documentation

# CodeDeployClient usage example

from aiobotocore.session import get_session

from types_aiobotocore_codedeploy.client import CodeDeployClient


session = get_session()
async with session.create_client("codedeploy") as client:
    client: CodeDeployClient

Paginators#

Type annotations and code completion for paginators from session.create_client("codedeploy").get_paginator("...").

# ListApplicationRevisionsPaginator usage example

from types_aiobotocore_codedeploy.paginator import ListApplicationRevisionsPaginator

def get_list_application_revisions_paginator() -> ListApplicationRevisionsPaginator:
    return client.get_paginator("list_application_revisions"))

Waiters#

Type annotations and code completion for waiters from session.create_client("codedeploy").get_waiter("...").

# DeploymentSuccessfulWaiter usage example

from types_aiobotocore_codedeploy.waiter import DeploymentSuccessfulWaiter

def get_deployment_successful_waiter() -> DeploymentSuccessfulWaiter:
    return Session().client("codedeploy").get_waiter("deployment_successful")

Literals#

Type annotations for literals used in methods and schema.

# ApplicationRevisionSortByType usage example

from types_aiobotocore_codedeploy.literals import ApplicationRevisionSortByType

def get_value() -> ApplicationRevisionSortByType:
    return "firstUsedTime"

Type definitions#

Type annotations for type definitions used in methods and schema.