Skip to content

Type definitions#

Index > CodeDeploy > Type definitions

Auto-generated documentation for CodeDeploy type annotations stubs module mypy-boto3-codedeploy.

TimestampTypeDef#

# TimestampTypeDef Union usage example

from mypy_boto3_codedeploy.type_defs import TimestampTypeDef


def get_value() -> TimestampTypeDef:
    return ...


# TimestampTypeDef definition

TimestampTypeDef = Union[
    datetime,
    str,
]

AutoRollbackConfigurationUnionTypeDef#

# AutoRollbackConfigurationUnionTypeDef Union usage example

from mypy_boto3_codedeploy.type_defs import AutoRollbackConfigurationUnionTypeDef


def get_value() -> AutoRollbackConfigurationUnionTypeDef:
    return ...


# AutoRollbackConfigurationUnionTypeDef definition

AutoRollbackConfigurationUnionTypeDef = Union[
    AutoRollbackConfigurationTypeDef,  # (1)
    AutoRollbackConfigurationOutputTypeDef,  # (2)
]
  1. See AutoRollbackConfigurationTypeDef
  2. See AutoRollbackConfigurationOutputTypeDef

TriggerConfigUnionTypeDef#

# TriggerConfigUnionTypeDef Union usage example

from mypy_boto3_codedeploy.type_defs import TriggerConfigUnionTypeDef


def get_value() -> TriggerConfigUnionTypeDef:
    return ...


# TriggerConfigUnionTypeDef definition

TriggerConfigUnionTypeDef = Union[
    TriggerConfigTypeDef,  # (1)
    TriggerConfigOutputTypeDef,  # (2)
]
  1. See TriggerConfigTypeDef
  2. See TriggerConfigOutputTypeDef

AlarmConfigurationUnionTypeDef#

# AlarmConfigurationUnionTypeDef Union usage example

from mypy_boto3_codedeploy.type_defs import AlarmConfigurationUnionTypeDef


def get_value() -> AlarmConfigurationUnionTypeDef:
    return ...


# AlarmConfigurationUnionTypeDef definition

AlarmConfigurationUnionTypeDef = Union[
    AlarmConfigurationTypeDef,  # (1)
    AlarmConfigurationOutputTypeDef,  # (2)
]
  1. See AlarmConfigurationTypeDef
  2. See AlarmConfigurationOutputTypeDef

EC2TagSetUnionTypeDef#

# EC2TagSetUnionTypeDef Union usage example

from mypy_boto3_codedeploy.type_defs import EC2TagSetUnionTypeDef


def get_value() -> EC2TagSetUnionTypeDef:
    return ...


# EC2TagSetUnionTypeDef definition

EC2TagSetUnionTypeDef = Union[
    EC2TagSetTypeDef,  # (1)
    EC2TagSetOutputTypeDef,  # (2)
]
  1. See EC2TagSetTypeDef
  2. See EC2TagSetOutputTypeDef

OnPremisesTagSetUnionTypeDef#

# OnPremisesTagSetUnionTypeDef Union usage example

from mypy_boto3_codedeploy.type_defs import OnPremisesTagSetUnionTypeDef


def get_value() -> OnPremisesTagSetUnionTypeDef:
    return ...


# OnPremisesTagSetUnionTypeDef definition

OnPremisesTagSetUnionTypeDef = Union[
    OnPremisesTagSetTypeDef,  # (1)
    OnPremisesTagSetOutputTypeDef,  # (2)
]
  1. See OnPremisesTagSetTypeDef
  2. See OnPremisesTagSetOutputTypeDef

TargetInstancesUnionTypeDef#

# TargetInstancesUnionTypeDef Union usage example

from mypy_boto3_codedeploy.type_defs import TargetInstancesUnionTypeDef


def get_value() -> TargetInstancesUnionTypeDef:
    return ...


# TargetInstancesUnionTypeDef definition

TargetInstancesUnionTypeDef = Union[
    TargetInstancesTypeDef,  # (1)
    TargetInstancesOutputTypeDef,  # (2)
]
  1. See TargetInstancesTypeDef
  2. See TargetInstancesOutputTypeDef

LoadBalancerInfoUnionTypeDef#

# LoadBalancerInfoUnionTypeDef Union usage example

from mypy_boto3_codedeploy.type_defs import LoadBalancerInfoUnionTypeDef


def get_value() -> LoadBalancerInfoUnionTypeDef:
    return ...


# LoadBalancerInfoUnionTypeDef definition

LoadBalancerInfoUnionTypeDef = Union[
    LoadBalancerInfoTypeDef,  # (1)
    LoadBalancerInfoOutputTypeDef,  # (2)
]
  1. See LoadBalancerInfoTypeDef
  2. See LoadBalancerInfoOutputTypeDef

TagTypeDef#

# TagTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TagTypeDef


def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }


# TagTypeDef definition

class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

AlarmTypeDef#

# AlarmTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import AlarmTypeDef


def get_value() -> AlarmTypeDef:
    return {
        "name": ...,
    }


# AlarmTypeDef definition

class AlarmTypeDef(TypedDict):
    name: NotRequired[str],

AppSpecContentTypeDef#

# AppSpecContentTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import AppSpecContentTypeDef


def get_value() -> AppSpecContentTypeDef:
    return {
        "content": ...,
    }


# AppSpecContentTypeDef definition

class AppSpecContentTypeDef(TypedDict):
    content: NotRequired[str],
    sha256: NotRequired[str],

ApplicationInfoTypeDef#

# ApplicationInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ApplicationInfoTypeDef


def get_value() -> ApplicationInfoTypeDef:
    return {
        "applicationId": ...,
    }


# ApplicationInfoTypeDef definition

class ApplicationInfoTypeDef(TypedDict):
    applicationId: NotRequired[str],
    applicationName: NotRequired[str],
    createTime: NotRequired[datetime],
    linkedToGitHub: NotRequired[bool],
    gitHubAccountName: NotRequired[str],
    computePlatform: NotRequired[ComputePlatformType],  # (1)
  1. See ComputePlatformType

AutoRollbackConfigurationOutputTypeDef#

# AutoRollbackConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import AutoRollbackConfigurationOutputTypeDef


def get_value() -> AutoRollbackConfigurationOutputTypeDef:
    return {
        "enabled": ...,
    }


# AutoRollbackConfigurationOutputTypeDef definition

class AutoRollbackConfigurationOutputTypeDef(TypedDict):
    enabled: NotRequired[bool],
    events: NotRequired[List[AutoRollbackEventType]],  # (1)
  1. See AutoRollbackEventType

AutoRollbackConfigurationTypeDef#

# AutoRollbackConfigurationTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import AutoRollbackConfigurationTypeDef


def get_value() -> AutoRollbackConfigurationTypeDef:
    return {
        "enabled": ...,
    }


# AutoRollbackConfigurationTypeDef definition

class AutoRollbackConfigurationTypeDef(TypedDict):
    enabled: NotRequired[bool],
    events: NotRequired[Sequence[AutoRollbackEventType]],  # (1)
  1. See AutoRollbackEventType

AutoScalingGroupTypeDef#

# AutoScalingGroupTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import AutoScalingGroupTypeDef


def get_value() -> AutoScalingGroupTypeDef:
    return {
        "name": ...,
    }


# AutoScalingGroupTypeDef definition

class AutoScalingGroupTypeDef(TypedDict):
    name: NotRequired[str],
    hook: NotRequired[str],
    terminationHook: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,
    HostId: NotRequired[str],

BatchGetApplicationsInputTypeDef#

# BatchGetApplicationsInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetApplicationsInputTypeDef


def get_value() -> BatchGetApplicationsInputTypeDef:
    return {
        "applicationNames": ...,
    }


# BatchGetApplicationsInputTypeDef definition

class BatchGetApplicationsInputTypeDef(TypedDict):
    applicationNames: Sequence[str],

BatchGetDeploymentGroupsInputTypeDef#

# BatchGetDeploymentGroupsInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentGroupsInputTypeDef


def get_value() -> BatchGetDeploymentGroupsInputTypeDef:
    return {
        "applicationName": ...,
    }


# BatchGetDeploymentGroupsInputTypeDef definition

class BatchGetDeploymentGroupsInputTypeDef(TypedDict):
    applicationName: str,
    deploymentGroupNames: Sequence[str],

BatchGetDeploymentInstancesInputTypeDef#

# BatchGetDeploymentInstancesInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentInstancesInputTypeDef


def get_value() -> BatchGetDeploymentInstancesInputTypeDef:
    return {
        "deploymentId": ...,
    }


# BatchGetDeploymentInstancesInputTypeDef definition

class BatchGetDeploymentInstancesInputTypeDef(TypedDict):
    deploymentId: str,
    instanceIds: Sequence[str],

BatchGetDeploymentTargetsInputTypeDef#

# BatchGetDeploymentTargetsInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentTargetsInputTypeDef


def get_value() -> BatchGetDeploymentTargetsInputTypeDef:
    return {
        "deploymentId": ...,
    }


# BatchGetDeploymentTargetsInputTypeDef definition

class BatchGetDeploymentTargetsInputTypeDef(TypedDict):
    deploymentId: str,
    targetIds: Sequence[str],

BatchGetDeploymentsInputTypeDef#

# BatchGetDeploymentsInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentsInputTypeDef


def get_value() -> BatchGetDeploymentsInputTypeDef:
    return {
        "deploymentIds": ...,
    }


# BatchGetDeploymentsInputTypeDef definition

class BatchGetDeploymentsInputTypeDef(TypedDict):
    deploymentIds: Sequence[str],

BatchGetOnPremisesInstancesInputTypeDef#

# BatchGetOnPremisesInstancesInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetOnPremisesInstancesInputTypeDef


def get_value() -> BatchGetOnPremisesInstancesInputTypeDef:
    return {
        "instanceNames": ...,
    }


# BatchGetOnPremisesInstancesInputTypeDef definition

class BatchGetOnPremisesInstancesInputTypeDef(TypedDict):
    instanceNames: Sequence[str],

BlueInstanceTerminationOptionTypeDef#

# BlueInstanceTerminationOptionTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BlueInstanceTerminationOptionTypeDef


def get_value() -> BlueInstanceTerminationOptionTypeDef:
    return {
        "action": ...,
    }


# BlueInstanceTerminationOptionTypeDef definition

class BlueInstanceTerminationOptionTypeDef(TypedDict):
    action: NotRequired[InstanceActionType],  # (1)
    terminationWaitTimeInMinutes: NotRequired[int],
  1. See InstanceActionType

DeploymentReadyOptionTypeDef#

# DeploymentReadyOptionTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeploymentReadyOptionTypeDef


def get_value() -> DeploymentReadyOptionTypeDef:
    return {
        "actionOnTimeout": ...,
    }


# DeploymentReadyOptionTypeDef definition

class DeploymentReadyOptionTypeDef(TypedDict):
    actionOnTimeout: NotRequired[DeploymentReadyActionType],  # (1)
    waitTimeInMinutes: NotRequired[int],
  1. See DeploymentReadyActionType

GreenFleetProvisioningOptionTypeDef#

# GreenFleetProvisioningOptionTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GreenFleetProvisioningOptionTypeDef


def get_value() -> GreenFleetProvisioningOptionTypeDef:
    return {
        "action": ...,
    }


# GreenFleetProvisioningOptionTypeDef definition

class GreenFleetProvisioningOptionTypeDef(TypedDict):
    action: NotRequired[GreenFleetProvisioningActionType],  # (1)
  1. See GreenFleetProvisioningActionType

ContinueDeploymentInputTypeDef#

# ContinueDeploymentInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ContinueDeploymentInputTypeDef


def get_value() -> ContinueDeploymentInputTypeDef:
    return {
        "deploymentId": ...,
    }


# ContinueDeploymentInputTypeDef definition

class ContinueDeploymentInputTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    deploymentWaitType: NotRequired[DeploymentWaitTypeType],  # (1)
  1. See DeploymentWaitTypeType

MinimumHealthyHostsTypeDef#

# MinimumHealthyHostsTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import MinimumHealthyHostsTypeDef


def get_value() -> MinimumHealthyHostsTypeDef:
    return {
        "type": ...,
    }


# MinimumHealthyHostsTypeDef definition

class MinimumHealthyHostsTypeDef(TypedDict):
    type: NotRequired[MinimumHealthyHostsTypeType],  # (1)
    value: NotRequired[int],
  1. See MinimumHealthyHostsTypeType

DeploymentStyleTypeDef#

# DeploymentStyleTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeploymentStyleTypeDef


def get_value() -> DeploymentStyleTypeDef:
    return {
        "deploymentType": ...,
    }


# DeploymentStyleTypeDef definition

class DeploymentStyleTypeDef(TypedDict):
    deploymentType: NotRequired[DeploymentTypeType],  # (1)
    deploymentOption: NotRequired[DeploymentOptionType],  # (2)
  1. See DeploymentTypeType
  2. See DeploymentOptionType

EC2TagFilterTypeDef#

# EC2TagFilterTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import EC2TagFilterTypeDef


def get_value() -> EC2TagFilterTypeDef:
    return {
        "Key": ...,
    }


# EC2TagFilterTypeDef definition

class EC2TagFilterTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],
    Type: NotRequired[EC2TagFilterTypeType],  # (1)
  1. See EC2TagFilterTypeType

ECSServiceTypeDef#

# ECSServiceTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ECSServiceTypeDef


def get_value() -> ECSServiceTypeDef:
    return {
        "serviceName": ...,
    }


# ECSServiceTypeDef definition

class ECSServiceTypeDef(TypedDict):
    serviceName: NotRequired[str],
    clusterName: NotRequired[str],

TagFilterTypeDef#

# TagFilterTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TagFilterTypeDef


def get_value() -> TagFilterTypeDef:
    return {
        "Key": ...,
    }


# TagFilterTypeDef definition

class TagFilterTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],
    Type: NotRequired[TagFilterTypeType],  # (1)
  1. See TagFilterTypeType

DeleteApplicationInputTypeDef#

# DeleteApplicationInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeleteApplicationInputTypeDef


def get_value() -> DeleteApplicationInputTypeDef:
    return {
        "applicationName": ...,
    }


# DeleteApplicationInputTypeDef definition

class DeleteApplicationInputTypeDef(TypedDict):
    applicationName: str,

DeleteDeploymentConfigInputTypeDef#

# DeleteDeploymentConfigInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeleteDeploymentConfigInputTypeDef


def get_value() -> DeleteDeploymentConfigInputTypeDef:
    return {
        "deploymentConfigName": ...,
    }


# DeleteDeploymentConfigInputTypeDef definition

class DeleteDeploymentConfigInputTypeDef(TypedDict):
    deploymentConfigName: str,

DeleteDeploymentGroupInputTypeDef#

# DeleteDeploymentGroupInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeleteDeploymentGroupInputTypeDef


def get_value() -> DeleteDeploymentGroupInputTypeDef:
    return {
        "applicationName": ...,
    }


# DeleteDeploymentGroupInputTypeDef definition

class DeleteDeploymentGroupInputTypeDef(TypedDict):
    applicationName: str,
    deploymentGroupName: str,

DeleteGitHubAccountTokenInputTypeDef#

# DeleteGitHubAccountTokenInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeleteGitHubAccountTokenInputTypeDef


def get_value() -> DeleteGitHubAccountTokenInputTypeDef:
    return {
        "tokenName": ...,
    }


# DeleteGitHubAccountTokenInputTypeDef definition

class DeleteGitHubAccountTokenInputTypeDef(TypedDict):
    tokenName: NotRequired[str],

DeleteResourcesByExternalIdInputTypeDef#

# DeleteResourcesByExternalIdInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeleteResourcesByExternalIdInputTypeDef


def get_value() -> DeleteResourcesByExternalIdInputTypeDef:
    return {
        "externalId": ...,
    }


# DeleteResourcesByExternalIdInputTypeDef definition

class DeleteResourcesByExternalIdInputTypeDef(TypedDict):
    externalId: NotRequired[str],

LastDeploymentInfoTypeDef#

# LastDeploymentInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import LastDeploymentInfoTypeDef


def get_value() -> LastDeploymentInfoTypeDef:
    return {
        "deploymentId": ...,
    }


# LastDeploymentInfoTypeDef definition

class LastDeploymentInfoTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    status: NotRequired[DeploymentStatusType],  # (1)
    endTime: NotRequired[datetime],
    createTime: NotRequired[datetime],
  1. See DeploymentStatusType

TriggerConfigOutputTypeDef#

# TriggerConfigOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TriggerConfigOutputTypeDef


def get_value() -> TriggerConfigOutputTypeDef:
    return {
        "triggerName": ...,
    }


# TriggerConfigOutputTypeDef definition

class TriggerConfigOutputTypeDef(TypedDict):
    triggerName: NotRequired[str],
    triggerTargetArn: NotRequired[str],
    triggerEvents: NotRequired[List[TriggerEventTypeType]],  # (1)
  1. See TriggerEventTypeType

DeploymentOverviewTypeDef#

# DeploymentOverviewTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeploymentOverviewTypeDef


def get_value() -> DeploymentOverviewTypeDef:
    return {
        "Pending": ...,
    }


# DeploymentOverviewTypeDef definition

class DeploymentOverviewTypeDef(TypedDict):
    Pending: NotRequired[int],
    InProgress: NotRequired[int],
    Succeeded: NotRequired[int],
    Failed: NotRequired[int],
    Skipped: NotRequired[int],
    Ready: NotRequired[int],

ErrorInformationTypeDef#

# ErrorInformationTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ErrorInformationTypeDef


def get_value() -> ErrorInformationTypeDef:
    return {
        "code": ...,
    }


# ErrorInformationTypeDef definition

class ErrorInformationTypeDef(TypedDict):
    code: NotRequired[ErrorCodeType],  # (1)
    message: NotRequired[str],
  1. See ErrorCodeType

RelatedDeploymentsTypeDef#

# RelatedDeploymentsTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import RelatedDeploymentsTypeDef


def get_value() -> RelatedDeploymentsTypeDef:
    return {
        "autoUpdateOutdatedInstancesRootDeploymentId": ...,
    }


# RelatedDeploymentsTypeDef definition

class RelatedDeploymentsTypeDef(TypedDict):
    autoUpdateOutdatedInstancesRootDeploymentId: NotRequired[str],
    autoUpdateOutdatedInstancesDeploymentIds: NotRequired[List[str]],

RollbackInfoTypeDef#

# RollbackInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import RollbackInfoTypeDef


def get_value() -> RollbackInfoTypeDef:
    return {
        "rollbackDeploymentId": ...,
    }


# RollbackInfoTypeDef definition

class RollbackInfoTypeDef(TypedDict):
    rollbackDeploymentId: NotRequired[str],
    rollbackTriggeringDeploymentId: NotRequired[str],
    rollbackMessage: NotRequired[str],

DeregisterOnPremisesInstanceInputTypeDef#

# DeregisterOnPremisesInstanceInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeregisterOnPremisesInstanceInputTypeDef


def get_value() -> DeregisterOnPremisesInstanceInputTypeDef:
    return {
        "instanceName": ...,
    }


# DeregisterOnPremisesInstanceInputTypeDef definition

class DeregisterOnPremisesInstanceInputTypeDef(TypedDict):
    instanceName: str,

DiagnosticsTypeDef#

# DiagnosticsTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DiagnosticsTypeDef


def get_value() -> DiagnosticsTypeDef:
    return {
        "errorCode": ...,
    }


# DiagnosticsTypeDef definition

class DiagnosticsTypeDef(TypedDict):
    errorCode: NotRequired[LifecycleErrorCodeType],  # (1)
    scriptName: NotRequired[str],
    message: NotRequired[str],
    logTail: NotRequired[str],
  1. See LifecycleErrorCodeType

TargetGroupInfoTypeDef#

# TargetGroupInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TargetGroupInfoTypeDef


def get_value() -> TargetGroupInfoTypeDef:
    return {
        "name": ...,
    }


# TargetGroupInfoTypeDef definition

class TargetGroupInfoTypeDef(TypedDict):
    name: NotRequired[str],

ELBInfoTypeDef#

# ELBInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ELBInfoTypeDef


def get_value() -> ELBInfoTypeDef:
    return {
        "name": ...,
    }


# ELBInfoTypeDef definition

class ELBInfoTypeDef(TypedDict):
    name: NotRequired[str],

GenericRevisionInfoTypeDef#

# GenericRevisionInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GenericRevisionInfoTypeDef


def get_value() -> GenericRevisionInfoTypeDef:
    return {
        "description": ...,
    }


# GenericRevisionInfoTypeDef definition

class GenericRevisionInfoTypeDef(TypedDict):
    description: NotRequired[str],
    deploymentGroups: NotRequired[List[str]],
    firstUsedTime: NotRequired[datetime],
    lastUsedTime: NotRequired[datetime],
    registerTime: NotRequired[datetime],

GetApplicationInputTypeDef#

# GetApplicationInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetApplicationInputTypeDef


def get_value() -> GetApplicationInputTypeDef:
    return {
        "applicationName": ...,
    }


# GetApplicationInputTypeDef definition

class GetApplicationInputTypeDef(TypedDict):
    applicationName: str,

GetDeploymentConfigInputTypeDef#

# GetDeploymentConfigInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentConfigInputTypeDef


def get_value() -> GetDeploymentConfigInputTypeDef:
    return {
        "deploymentConfigName": ...,
    }


# GetDeploymentConfigInputTypeDef definition

class GetDeploymentConfigInputTypeDef(TypedDict):
    deploymentConfigName: str,

GetDeploymentGroupInputTypeDef#

# GetDeploymentGroupInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentGroupInputTypeDef


def get_value() -> GetDeploymentGroupInputTypeDef:
    return {
        "applicationName": ...,
    }


# GetDeploymentGroupInputTypeDef definition

class GetDeploymentGroupInputTypeDef(TypedDict):
    applicationName: str,
    deploymentGroupName: str,

GetDeploymentInputTypeDef#

# GetDeploymentInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentInputTypeDef


def get_value() -> GetDeploymentInputTypeDef:
    return {
        "deploymentId": ...,
    }


# GetDeploymentInputTypeDef definition

class GetDeploymentInputTypeDef(TypedDict):
    deploymentId: str,

WaiterConfigTypeDef#

# WaiterConfigTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import WaiterConfigTypeDef


def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }


# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

GetDeploymentInstanceInputTypeDef#

# GetDeploymentInstanceInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentInstanceInputTypeDef


def get_value() -> GetDeploymentInstanceInputTypeDef:
    return {
        "deploymentId": ...,
    }


# GetDeploymentInstanceInputTypeDef definition

class GetDeploymentInstanceInputTypeDef(TypedDict):
    deploymentId: str,
    instanceId: str,

GetDeploymentTargetInputTypeDef#

# GetDeploymentTargetInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentTargetInputTypeDef


def get_value() -> GetDeploymentTargetInputTypeDef:
    return {
        "deploymentId": ...,
    }


# GetDeploymentTargetInputTypeDef definition

class GetDeploymentTargetInputTypeDef(TypedDict):
    deploymentId: str,
    targetId: str,

GetOnPremisesInstanceInputTypeDef#

# GetOnPremisesInstanceInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetOnPremisesInstanceInputTypeDef


def get_value() -> GetOnPremisesInstanceInputTypeDef:
    return {
        "instanceName": ...,
    }


# GetOnPremisesInstanceInputTypeDef definition

class GetOnPremisesInstanceInputTypeDef(TypedDict):
    instanceName: str,

GitHubLocationTypeDef#

# GitHubLocationTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GitHubLocationTypeDef


def get_value() -> GitHubLocationTypeDef:
    return {
        "repository": ...,
    }


# GitHubLocationTypeDef definition

class GitHubLocationTypeDef(TypedDict):
    repository: NotRequired[str],
    commitId: NotRequired[str],

LambdaFunctionInfoTypeDef#

# LambdaFunctionInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import LambdaFunctionInfoTypeDef


def get_value() -> LambdaFunctionInfoTypeDef:
    return {
        "functionName": ...,
    }


# LambdaFunctionInfoTypeDef definition

class LambdaFunctionInfoTypeDef(TypedDict):
    functionName: NotRequired[str],
    functionAlias: NotRequired[str],
    currentVersion: NotRequired[str],
    targetVersion: NotRequired[str],
    targetVersionWeight: NotRequired[float],

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import PaginatorConfigTypeDef


def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }


# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListApplicationRevisionsInputTypeDef#

# ListApplicationRevisionsInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsInputTypeDef


def get_value() -> ListApplicationRevisionsInputTypeDef:
    return {
        "applicationName": ...,
    }


# ListApplicationRevisionsInputTypeDef definition

class ListApplicationRevisionsInputTypeDef(TypedDict):
    applicationName: str,
    sortBy: NotRequired[ApplicationRevisionSortByType],  # (1)
    sortOrder: NotRequired[SortOrderType],  # (2)
    s3Bucket: NotRequired[str],
    s3KeyPrefix: NotRequired[str],
    deployed: NotRequired[ListStateFilterActionType],  # (3)
    nextToken: NotRequired[str],
  1. See ApplicationRevisionSortByType
  2. See SortOrderType
  3. See ListStateFilterActionType

ListApplicationsInputTypeDef#

# ListApplicationsInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationsInputTypeDef


def get_value() -> ListApplicationsInputTypeDef:
    return {
        "nextToken": ...,
    }


# ListApplicationsInputTypeDef definition

class ListApplicationsInputTypeDef(TypedDict):
    nextToken: NotRequired[str],

ListDeploymentConfigsInputTypeDef#

# ListDeploymentConfigsInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsInputTypeDef


def get_value() -> ListDeploymentConfigsInputTypeDef:
    return {
        "nextToken": ...,
    }


# ListDeploymentConfigsInputTypeDef definition

class ListDeploymentConfigsInputTypeDef(TypedDict):
    nextToken: NotRequired[str],

ListDeploymentGroupsInputTypeDef#

# ListDeploymentGroupsInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsInputTypeDef


def get_value() -> ListDeploymentGroupsInputTypeDef:
    return {
        "applicationName": ...,
    }


# ListDeploymentGroupsInputTypeDef definition

class ListDeploymentGroupsInputTypeDef(TypedDict):
    applicationName: str,
    nextToken: NotRequired[str],

ListDeploymentInstancesInputTypeDef#

# ListDeploymentInstancesInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesInputTypeDef


def get_value() -> ListDeploymentInstancesInputTypeDef:
    return {
        "deploymentId": ...,
    }


# ListDeploymentInstancesInputTypeDef definition

class ListDeploymentInstancesInputTypeDef(TypedDict):
    deploymentId: str,
    nextToken: NotRequired[str],
    instanceStatusFilter: NotRequired[Sequence[InstanceStatusType]],  # (1)
    instanceTypeFilter: NotRequired[Sequence[InstanceTypeType]],  # (2)
  1. See InstanceStatusType
  2. See InstanceTypeType

ListDeploymentTargetsInputTypeDef#

# ListDeploymentTargetsInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsInputTypeDef


def get_value() -> ListDeploymentTargetsInputTypeDef:
    return {
        "deploymentId": ...,
    }


# ListDeploymentTargetsInputTypeDef definition

class ListDeploymentTargetsInputTypeDef(TypedDict):
    deploymentId: str,
    nextToken: NotRequired[str],
    targetFilters: NotRequired[Mapping[TargetFilterNameType, Sequence[str]]],  # (1)
  1. See TargetFilterNameType

ListGitHubAccountTokenNamesInputTypeDef#

# ListGitHubAccountTokenNamesInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesInputTypeDef


def get_value() -> ListGitHubAccountTokenNamesInputTypeDef:
    return {
        "nextToken": ...,
    }


# ListGitHubAccountTokenNamesInputTypeDef definition

class ListGitHubAccountTokenNamesInputTypeDef(TypedDict):
    nextToken: NotRequired[str],

ListTagsForResourceInputTypeDef#

# ListTagsForResourceInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListTagsForResourceInputTypeDef


def get_value() -> ListTagsForResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# ListTagsForResourceInputTypeDef definition

class ListTagsForResourceInputTypeDef(TypedDict):
    ResourceArn: str,
    NextToken: NotRequired[str],

MinimumHealthyHostsPerZoneTypeDef#

# MinimumHealthyHostsPerZoneTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import MinimumHealthyHostsPerZoneTypeDef


def get_value() -> MinimumHealthyHostsPerZoneTypeDef:
    return {
        "type": ...,
    }


# MinimumHealthyHostsPerZoneTypeDef definition

class MinimumHealthyHostsPerZoneTypeDef(TypedDict):
    type: NotRequired[MinimumHealthyHostsPerZoneTypeType],  # (1)
    value: NotRequired[int],
  1. See MinimumHealthyHostsPerZoneTypeType

PutLifecycleEventHookExecutionStatusInputTypeDef#

# PutLifecycleEventHookExecutionStatusInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import PutLifecycleEventHookExecutionStatusInputTypeDef


def get_value() -> PutLifecycleEventHookExecutionStatusInputTypeDef:
    return {
        "deploymentId": ...,
    }


# PutLifecycleEventHookExecutionStatusInputTypeDef definition

class PutLifecycleEventHookExecutionStatusInputTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    lifecycleEventHookExecutionId: NotRequired[str],
    status: NotRequired[LifecycleEventStatusType],  # (1)
  1. See LifecycleEventStatusType

RawStringTypeDef#

# RawStringTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import RawStringTypeDef


def get_value() -> RawStringTypeDef:
    return {
        "content": ...,
    }


# RawStringTypeDef definition

class RawStringTypeDef(TypedDict):
    content: NotRequired[str],
    sha256: NotRequired[str],

RegisterOnPremisesInstanceInputTypeDef#

# RegisterOnPremisesInstanceInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import RegisterOnPremisesInstanceInputTypeDef


def get_value() -> RegisterOnPremisesInstanceInputTypeDef:
    return {
        "instanceName": ...,
    }


# RegisterOnPremisesInstanceInputTypeDef definition

class RegisterOnPremisesInstanceInputTypeDef(TypedDict):
    instanceName: str,
    iamSessionArn: NotRequired[str],
    iamUserArn: NotRequired[str],

S3LocationTypeDef#

# S3LocationTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import S3LocationTypeDef


def get_value() -> S3LocationTypeDef:
    return {
        "bucket": ...,
    }


# S3LocationTypeDef definition

class S3LocationTypeDef(TypedDict):
    bucket: NotRequired[str],
    key: NotRequired[str],
    bundleType: NotRequired[BundleTypeType],  # (1)
    version: NotRequired[str],
    eTag: NotRequired[str],
  1. See BundleTypeType

SkipWaitTimeForInstanceTerminationInputTypeDef#

# SkipWaitTimeForInstanceTerminationInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import SkipWaitTimeForInstanceTerminationInputTypeDef


def get_value() -> SkipWaitTimeForInstanceTerminationInputTypeDef:
    return {
        "deploymentId": ...,
    }


# SkipWaitTimeForInstanceTerminationInputTypeDef definition

class SkipWaitTimeForInstanceTerminationInputTypeDef(TypedDict):
    deploymentId: NotRequired[str],

StopDeploymentInputTypeDef#

# StopDeploymentInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import StopDeploymentInputTypeDef


def get_value() -> StopDeploymentInputTypeDef:
    return {
        "deploymentId": ...,
    }


# StopDeploymentInputTypeDef definition

class StopDeploymentInputTypeDef(TypedDict):
    deploymentId: str,
    autoRollbackEnabled: NotRequired[bool],

TrafficRouteOutputTypeDef#

# TrafficRouteOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TrafficRouteOutputTypeDef


def get_value() -> TrafficRouteOutputTypeDef:
    return {
        "listenerArns": ...,
    }


# TrafficRouteOutputTypeDef definition

class TrafficRouteOutputTypeDef(TypedDict):
    listenerArns: NotRequired[List[str]],

TrafficRouteTypeDef#

# TrafficRouteTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TrafficRouteTypeDef


def get_value() -> TrafficRouteTypeDef:
    return {
        "listenerArns": ...,
    }


# TrafficRouteTypeDef definition

class TrafficRouteTypeDef(TypedDict):
    listenerArns: NotRequired[Sequence[str]],

TimeBasedCanaryTypeDef#

# TimeBasedCanaryTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TimeBasedCanaryTypeDef


def get_value() -> TimeBasedCanaryTypeDef:
    return {
        "canaryPercentage": ...,
    }


# TimeBasedCanaryTypeDef definition

class TimeBasedCanaryTypeDef(TypedDict):
    canaryPercentage: NotRequired[int],
    canaryInterval: NotRequired[int],

TimeBasedLinearTypeDef#

# TimeBasedLinearTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TimeBasedLinearTypeDef


def get_value() -> TimeBasedLinearTypeDef:
    return {
        "linearPercentage": ...,
    }


# TimeBasedLinearTypeDef definition

class TimeBasedLinearTypeDef(TypedDict):
    linearPercentage: NotRequired[int],
    linearInterval: NotRequired[int],

TriggerConfigTypeDef#

# TriggerConfigTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TriggerConfigTypeDef


def get_value() -> TriggerConfigTypeDef:
    return {
        "triggerName": ...,
    }


# TriggerConfigTypeDef definition

class TriggerConfigTypeDef(TypedDict):
    triggerName: NotRequired[str],
    triggerTargetArn: NotRequired[str],
    triggerEvents: NotRequired[Sequence[TriggerEventTypeType]],  # (1)
  1. See TriggerEventTypeType

UntagResourceInputTypeDef#

# UntagResourceInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import UntagResourceInputTypeDef


def get_value() -> UntagResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# UntagResourceInputTypeDef definition

class UntagResourceInputTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateApplicationInputTypeDef#

# UpdateApplicationInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import UpdateApplicationInputTypeDef


def get_value() -> UpdateApplicationInputTypeDef:
    return {
        "applicationName": ...,
    }


# UpdateApplicationInputTypeDef definition

class UpdateApplicationInputTypeDef(TypedDict):
    applicationName: NotRequired[str],
    newApplicationName: NotRequired[str],

AddTagsToOnPremisesInstancesInputTypeDef#

# AddTagsToOnPremisesInstancesInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import AddTagsToOnPremisesInstancesInputTypeDef


def get_value() -> AddTagsToOnPremisesInstancesInputTypeDef:
    return {
        "tags": ...,
    }


# AddTagsToOnPremisesInstancesInputTypeDef definition

class AddTagsToOnPremisesInstancesInputTypeDef(TypedDict):
    tags: Sequence[TagTypeDef],  # (1)
    instanceNames: Sequence[str],
  1. See TagTypeDef

CreateApplicationInputTypeDef#

# CreateApplicationInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import CreateApplicationInputTypeDef


def get_value() -> CreateApplicationInputTypeDef:
    return {
        "applicationName": ...,
    }


# CreateApplicationInputTypeDef definition

class CreateApplicationInputTypeDef(TypedDict):
    applicationName: str,
    computePlatform: NotRequired[ComputePlatformType],  # (1)
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See ComputePlatformType
  2. See TagTypeDef

InstanceInfoTypeDef#

# InstanceInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import InstanceInfoTypeDef


def get_value() -> InstanceInfoTypeDef:
    return {
        "instanceName": ...,
    }


# InstanceInfoTypeDef definition

class InstanceInfoTypeDef(TypedDict):
    instanceName: NotRequired[str],
    iamSessionArn: NotRequired[str],
    iamUserArn: NotRequired[str],
    instanceArn: NotRequired[str],
    registerTime: NotRequired[datetime],
    deregisterTime: NotRequired[datetime],
    tags: NotRequired[List[TagTypeDef]],  # (1)
  1. See TagTypeDef

RemoveTagsFromOnPremisesInstancesInputTypeDef#

# RemoveTagsFromOnPremisesInstancesInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import RemoveTagsFromOnPremisesInstancesInputTypeDef


def get_value() -> RemoveTagsFromOnPremisesInstancesInputTypeDef:
    return {
        "tags": ...,
    }


# RemoveTagsFromOnPremisesInstancesInputTypeDef definition

class RemoveTagsFromOnPremisesInstancesInputTypeDef(TypedDict):
    tags: Sequence[TagTypeDef],  # (1)
    instanceNames: Sequence[str],
  1. See TagTypeDef

TagResourceInputTypeDef#

# TagResourceInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TagResourceInputTypeDef


def get_value() -> TagResourceInputTypeDef:
    return {
        "ResourceArn": ...,
    }


# TagResourceInputTypeDef definition

class TagResourceInputTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

AlarmConfigurationOutputTypeDef#

# AlarmConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import AlarmConfigurationOutputTypeDef


def get_value() -> AlarmConfigurationOutputTypeDef:
    return {
        "enabled": ...,
    }


# AlarmConfigurationOutputTypeDef definition

class AlarmConfigurationOutputTypeDef(TypedDict):
    enabled: NotRequired[bool],
    ignorePollAlarmFailure: NotRequired[bool],
    alarms: NotRequired[List[AlarmTypeDef]],  # (1)
  1. See AlarmTypeDef

AlarmConfigurationTypeDef#

# AlarmConfigurationTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import AlarmConfigurationTypeDef


def get_value() -> AlarmConfigurationTypeDef:
    return {
        "enabled": ...,
    }


# AlarmConfigurationTypeDef definition

class AlarmConfigurationTypeDef(TypedDict):
    enabled: NotRequired[bool],
    ignorePollAlarmFailure: NotRequired[bool],
    alarms: NotRequired[Sequence[AlarmTypeDef]],  # (1)
  1. See AlarmTypeDef

BatchGetApplicationsOutputTypeDef#

# BatchGetApplicationsOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetApplicationsOutputTypeDef


def get_value() -> BatchGetApplicationsOutputTypeDef:
    return {
        "applicationsInfo": ...,
    }


# BatchGetApplicationsOutputTypeDef definition

class BatchGetApplicationsOutputTypeDef(TypedDict):
    applicationsInfo: List[ApplicationInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApplicationInfoTypeDef
  2. See ResponseMetadataTypeDef

CreateApplicationOutputTypeDef#

# CreateApplicationOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import CreateApplicationOutputTypeDef


def get_value() -> CreateApplicationOutputTypeDef:
    return {
        "applicationId": ...,
    }


# CreateApplicationOutputTypeDef definition

class CreateApplicationOutputTypeDef(TypedDict):
    applicationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDeploymentConfigOutputTypeDef#

# CreateDeploymentConfigOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentConfigOutputTypeDef


def get_value() -> CreateDeploymentConfigOutputTypeDef:
    return {
        "deploymentConfigId": ...,
    }


# CreateDeploymentConfigOutputTypeDef definition

class CreateDeploymentConfigOutputTypeDef(TypedDict):
    deploymentConfigId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDeploymentGroupOutputTypeDef#

# CreateDeploymentGroupOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentGroupOutputTypeDef


def get_value() -> CreateDeploymentGroupOutputTypeDef:
    return {
        "deploymentGroupId": ...,
    }


# CreateDeploymentGroupOutputTypeDef definition

class CreateDeploymentGroupOutputTypeDef(TypedDict):
    deploymentGroupId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDeploymentOutputTypeDef#

# CreateDeploymentOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentOutputTypeDef


def get_value() -> CreateDeploymentOutputTypeDef:
    return {
        "deploymentId": ...,
    }


# CreateDeploymentOutputTypeDef definition

class CreateDeploymentOutputTypeDef(TypedDict):
    deploymentId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteDeploymentGroupOutputTypeDef#

# DeleteDeploymentGroupOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeleteDeploymentGroupOutputTypeDef


def get_value() -> DeleteDeploymentGroupOutputTypeDef:
    return {
        "hooksNotCleanedUp": ...,
    }


# DeleteDeploymentGroupOutputTypeDef definition

class DeleteDeploymentGroupOutputTypeDef(TypedDict):
    hooksNotCleanedUp: List[AutoScalingGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingGroupTypeDef
  2. See ResponseMetadataTypeDef

DeleteGitHubAccountTokenOutputTypeDef#

# DeleteGitHubAccountTokenOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeleteGitHubAccountTokenOutputTypeDef


def get_value() -> DeleteGitHubAccountTokenOutputTypeDef:
    return {
        "tokenName": ...,
    }


# DeleteGitHubAccountTokenOutputTypeDef definition

class DeleteGitHubAccountTokenOutputTypeDef(TypedDict):
    tokenName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import EmptyResponseMetadataTypeDef


def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }


# EmptyResponseMetadataTypeDef definition

class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetApplicationOutputTypeDef#

# GetApplicationOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetApplicationOutputTypeDef


def get_value() -> GetApplicationOutputTypeDef:
    return {
        "application": ...,
    }


# GetApplicationOutputTypeDef definition

class GetApplicationOutputTypeDef(TypedDict):
    application: ApplicationInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApplicationInfoTypeDef
  2. See ResponseMetadataTypeDef

ListApplicationsOutputTypeDef#

# ListApplicationsOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationsOutputTypeDef


def get_value() -> ListApplicationsOutputTypeDef:
    return {
        "applications": ...,
    }


# ListApplicationsOutputTypeDef definition

class ListApplicationsOutputTypeDef(TypedDict):
    applications: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListDeploymentConfigsOutputTypeDef#

# ListDeploymentConfigsOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsOutputTypeDef


def get_value() -> ListDeploymentConfigsOutputTypeDef:
    return {
        "deploymentConfigsList": ...,
    }


# ListDeploymentConfigsOutputTypeDef definition

class ListDeploymentConfigsOutputTypeDef(TypedDict):
    deploymentConfigsList: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListDeploymentGroupsOutputTypeDef#

# ListDeploymentGroupsOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsOutputTypeDef


def get_value() -> ListDeploymentGroupsOutputTypeDef:
    return {
        "applicationName": ...,
    }


# ListDeploymentGroupsOutputTypeDef definition

class ListDeploymentGroupsOutputTypeDef(TypedDict):
    applicationName: str,
    deploymentGroups: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListDeploymentInstancesOutputTypeDef#

# ListDeploymentInstancesOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesOutputTypeDef


def get_value() -> ListDeploymentInstancesOutputTypeDef:
    return {
        "instancesList": ...,
    }


# ListDeploymentInstancesOutputTypeDef definition

class ListDeploymentInstancesOutputTypeDef(TypedDict):
    instancesList: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListDeploymentTargetsOutputTypeDef#

# ListDeploymentTargetsOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsOutputTypeDef


def get_value() -> ListDeploymentTargetsOutputTypeDef:
    return {
        "targetIds": ...,
    }


# ListDeploymentTargetsOutputTypeDef definition

class ListDeploymentTargetsOutputTypeDef(TypedDict):
    targetIds: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListDeploymentsOutputTypeDef#

# ListDeploymentsOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentsOutputTypeDef


def get_value() -> ListDeploymentsOutputTypeDef:
    return {
        "deployments": ...,
    }


# ListDeploymentsOutputTypeDef definition

class ListDeploymentsOutputTypeDef(TypedDict):
    deployments: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListGitHubAccountTokenNamesOutputTypeDef#

# ListGitHubAccountTokenNamesOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesOutputTypeDef


def get_value() -> ListGitHubAccountTokenNamesOutputTypeDef:
    return {
        "tokenNameList": ...,
    }


# ListGitHubAccountTokenNamesOutputTypeDef definition

class ListGitHubAccountTokenNamesOutputTypeDef(TypedDict):
    tokenNameList: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListOnPremisesInstancesOutputTypeDef#

# ListOnPremisesInstancesOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesOutputTypeDef


def get_value() -> ListOnPremisesInstancesOutputTypeDef:
    return {
        "instanceNames": ...,
    }


# ListOnPremisesInstancesOutputTypeDef definition

class ListOnPremisesInstancesOutputTypeDef(TypedDict):
    instanceNames: List[str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
    nextToken: NotRequired[str],
  1. See ResponseMetadataTypeDef

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListTagsForResourceOutputTypeDef


def get_value() -> ListTagsForResourceOutputTypeDef:
    return {
        "Tags": ...,
    }


# ListTagsForResourceOutputTypeDef definition

class ListTagsForResourceOutputTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    NextToken: NotRequired[str],
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

PutLifecycleEventHookExecutionStatusOutputTypeDef#

# PutLifecycleEventHookExecutionStatusOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import PutLifecycleEventHookExecutionStatusOutputTypeDef


def get_value() -> PutLifecycleEventHookExecutionStatusOutputTypeDef:
    return {
        "lifecycleEventHookExecutionId": ...,
    }


# PutLifecycleEventHookExecutionStatusOutputTypeDef definition

class PutLifecycleEventHookExecutionStatusOutputTypeDef(TypedDict):
    lifecycleEventHookExecutionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StopDeploymentOutputTypeDef#

# StopDeploymentOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import StopDeploymentOutputTypeDef


def get_value() -> StopDeploymentOutputTypeDef:
    return {
        "status": ...,
    }


# StopDeploymentOutputTypeDef definition

class StopDeploymentOutputTypeDef(TypedDict):
    status: StopStatusType,  # (1)
    statusMessage: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StopStatusType
  2. See ResponseMetadataTypeDef

UpdateDeploymentGroupOutputTypeDef#

# UpdateDeploymentGroupOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import UpdateDeploymentGroupOutputTypeDef


def get_value() -> UpdateDeploymentGroupOutputTypeDef:
    return {
        "hooksNotCleanedUp": ...,
    }


# UpdateDeploymentGroupOutputTypeDef definition

class UpdateDeploymentGroupOutputTypeDef(TypedDict):
    hooksNotCleanedUp: List[AutoScalingGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingGroupTypeDef
  2. See ResponseMetadataTypeDef

BlueGreenDeploymentConfigurationTypeDef#

# BlueGreenDeploymentConfigurationTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BlueGreenDeploymentConfigurationTypeDef


def get_value() -> BlueGreenDeploymentConfigurationTypeDef:
    return {
        "terminateBlueInstancesOnDeploymentSuccess": ...,
    }


# BlueGreenDeploymentConfigurationTypeDef definition

class BlueGreenDeploymentConfigurationTypeDef(TypedDict):
    terminateBlueInstancesOnDeploymentSuccess: NotRequired[BlueInstanceTerminationOptionTypeDef],  # (1)
    deploymentReadyOption: NotRequired[DeploymentReadyOptionTypeDef],  # (2)
    greenFleetProvisioningOption: NotRequired[GreenFleetProvisioningOptionTypeDef],  # (3)
  1. See BlueInstanceTerminationOptionTypeDef
  2. See DeploymentReadyOptionTypeDef
  3. See GreenFleetProvisioningOptionTypeDef

EC2TagSetOutputTypeDef#

# EC2TagSetOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import EC2TagSetOutputTypeDef


def get_value() -> EC2TagSetOutputTypeDef:
    return {
        "ec2TagSetList": ...,
    }


# EC2TagSetOutputTypeDef definition

class EC2TagSetOutputTypeDef(TypedDict):
    ec2TagSetList: NotRequired[List[List[EC2TagFilterTypeDef]]],  # (1)
  1. See EC2TagFilterTypeDef

EC2TagSetTypeDef#

# EC2TagSetTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import EC2TagSetTypeDef


def get_value() -> EC2TagSetTypeDef:
    return {
        "ec2TagSetList": ...,
    }


# EC2TagSetTypeDef definition

class EC2TagSetTypeDef(TypedDict):
    ec2TagSetList: NotRequired[Sequence[Sequence[EC2TagFilterTypeDef]]],  # (1)
  1. See EC2TagFilterTypeDef

ListOnPremisesInstancesInputTypeDef#

# ListOnPremisesInstancesInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesInputTypeDef


def get_value() -> ListOnPremisesInstancesInputTypeDef:
    return {
        "registrationStatus": ...,
    }


# ListOnPremisesInstancesInputTypeDef definition

class ListOnPremisesInstancesInputTypeDef(TypedDict):
    registrationStatus: NotRequired[RegistrationStatusType],  # (1)
    tagFilters: NotRequired[Sequence[TagFilterTypeDef]],  # (2)
    nextToken: NotRequired[str],
  1. See RegistrationStatusType
  2. See TagFilterTypeDef

OnPremisesTagSetOutputTypeDef#

# OnPremisesTagSetOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import OnPremisesTagSetOutputTypeDef


def get_value() -> OnPremisesTagSetOutputTypeDef:
    return {
        "onPremisesTagSetList": ...,
    }


# OnPremisesTagSetOutputTypeDef definition

class OnPremisesTagSetOutputTypeDef(TypedDict):
    onPremisesTagSetList: NotRequired[List[List[TagFilterTypeDef]]],  # (1)
  1. See TagFilterTypeDef

OnPremisesTagSetTypeDef#

# OnPremisesTagSetTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import OnPremisesTagSetTypeDef


def get_value() -> OnPremisesTagSetTypeDef:
    return {
        "onPremisesTagSetList": ...,
    }


# OnPremisesTagSetTypeDef definition

class OnPremisesTagSetTypeDef(TypedDict):
    onPremisesTagSetList: NotRequired[Sequence[Sequence[TagFilterTypeDef]]],  # (1)
  1. See TagFilterTypeDef

LifecycleEventTypeDef#

# LifecycleEventTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import LifecycleEventTypeDef


def get_value() -> LifecycleEventTypeDef:
    return {
        "lifecycleEventName": ...,
    }


# LifecycleEventTypeDef definition

class LifecycleEventTypeDef(TypedDict):
    lifecycleEventName: NotRequired[str],
    diagnostics: NotRequired[DiagnosticsTypeDef],  # (1)
    startTime: NotRequired[datetime],
    endTime: NotRequired[datetime],
    status: NotRequired[LifecycleEventStatusType],  # (2)
  1. See DiagnosticsTypeDef
  2. See LifecycleEventStatusType

ECSTaskSetTypeDef#

# ECSTaskSetTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ECSTaskSetTypeDef


def get_value() -> ECSTaskSetTypeDef:
    return {
        "identifer": ...,
    }


# ECSTaskSetTypeDef definition

class ECSTaskSetTypeDef(TypedDict):
    identifer: NotRequired[str],
    desiredCount: NotRequired[int],
    pendingCount: NotRequired[int],
    runningCount: NotRequired[int],
    status: NotRequired[str],
    trafficWeight: NotRequired[float],
    targetGroup: NotRequired[TargetGroupInfoTypeDef],  # (1)
    taskSetLabel: NotRequired[TargetLabelType],  # (2)
  1. See TargetGroupInfoTypeDef
  2. See TargetLabelType

GetDeploymentInputWaitTypeDef#

# GetDeploymentInputWaitTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentInputWaitTypeDef


def get_value() -> GetDeploymentInputWaitTypeDef:
    return {
        "deploymentId": ...,
    }


# GetDeploymentInputWaitTypeDef definition

class GetDeploymentInputWaitTypeDef(TypedDict):
    deploymentId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

ListApplicationRevisionsInputPaginateTypeDef#

# ListApplicationRevisionsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsInputPaginateTypeDef


def get_value() -> ListApplicationRevisionsInputPaginateTypeDef:
    return {
        "applicationName": ...,
    }


# ListApplicationRevisionsInputPaginateTypeDef definition

class ListApplicationRevisionsInputPaginateTypeDef(TypedDict):
    applicationName: str,
    sortBy: NotRequired[ApplicationRevisionSortByType],  # (1)
    sortOrder: NotRequired[SortOrderType],  # (2)
    s3Bucket: NotRequired[str],
    s3KeyPrefix: NotRequired[str],
    deployed: NotRequired[ListStateFilterActionType],  # (3)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (4)
  1. See ApplicationRevisionSortByType
  2. See SortOrderType
  3. See ListStateFilterActionType
  4. See PaginatorConfigTypeDef

ListApplicationsInputPaginateTypeDef#

# ListApplicationsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationsInputPaginateTypeDef


def get_value() -> ListApplicationsInputPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# ListApplicationsInputPaginateTypeDef definition

class ListApplicationsInputPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDeploymentConfigsInputPaginateTypeDef#

# ListDeploymentConfigsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsInputPaginateTypeDef


def get_value() -> ListDeploymentConfigsInputPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# ListDeploymentConfigsInputPaginateTypeDef definition

class ListDeploymentConfigsInputPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDeploymentGroupsInputPaginateTypeDef#

# ListDeploymentGroupsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsInputPaginateTypeDef


def get_value() -> ListDeploymentGroupsInputPaginateTypeDef:
    return {
        "applicationName": ...,
    }


# ListDeploymentGroupsInputPaginateTypeDef definition

class ListDeploymentGroupsInputPaginateTypeDef(TypedDict):
    applicationName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDeploymentInstancesInputPaginateTypeDef#

# ListDeploymentInstancesInputPaginateTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesInputPaginateTypeDef


def get_value() -> ListDeploymentInstancesInputPaginateTypeDef:
    return {
        "deploymentId": ...,
    }


# ListDeploymentInstancesInputPaginateTypeDef definition

class ListDeploymentInstancesInputPaginateTypeDef(TypedDict):
    deploymentId: str,
    instanceStatusFilter: NotRequired[Sequence[InstanceStatusType]],  # (1)
    instanceTypeFilter: NotRequired[Sequence[InstanceTypeType]],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See InstanceStatusType
  2. See InstanceTypeType
  3. See PaginatorConfigTypeDef

ListDeploymentTargetsInputPaginateTypeDef#

# ListDeploymentTargetsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsInputPaginateTypeDef


def get_value() -> ListDeploymentTargetsInputPaginateTypeDef:
    return {
        "deploymentId": ...,
    }


# ListDeploymentTargetsInputPaginateTypeDef definition

class ListDeploymentTargetsInputPaginateTypeDef(TypedDict):
    deploymentId: str,
    targetFilters: NotRequired[Mapping[TargetFilterNameType, Sequence[str]]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TargetFilterNameType
  2. See PaginatorConfigTypeDef

ListGitHubAccountTokenNamesInputPaginateTypeDef#

# ListGitHubAccountTokenNamesInputPaginateTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesInputPaginateTypeDef


def get_value() -> ListGitHubAccountTokenNamesInputPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# ListGitHubAccountTokenNamesInputPaginateTypeDef definition

class ListGitHubAccountTokenNamesInputPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListOnPremisesInstancesInputPaginateTypeDef#

# ListOnPremisesInstancesInputPaginateTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesInputPaginateTypeDef


def get_value() -> ListOnPremisesInstancesInputPaginateTypeDef:
    return {
        "registrationStatus": ...,
    }


# ListOnPremisesInstancesInputPaginateTypeDef definition

class ListOnPremisesInstancesInputPaginateTypeDef(TypedDict):
    registrationStatus: NotRequired[RegistrationStatusType],  # (1)
    tagFilters: NotRequired[Sequence[TagFilterTypeDef]],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See RegistrationStatusType
  2. See TagFilterTypeDef
  3. See PaginatorConfigTypeDef

ZonalConfigTypeDef#

# ZonalConfigTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ZonalConfigTypeDef


def get_value() -> ZonalConfigTypeDef:
    return {
        "firstZoneMonitorDurationInSeconds": ...,
    }


# ZonalConfigTypeDef definition

class ZonalConfigTypeDef(TypedDict):
    firstZoneMonitorDurationInSeconds: NotRequired[int],
    monitorDurationInSeconds: NotRequired[int],
    minimumHealthyHostsPerZone: NotRequired[MinimumHealthyHostsPerZoneTypeDef],  # (1)
  1. See MinimumHealthyHostsPerZoneTypeDef

RevisionLocationTypeDef#

# RevisionLocationTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import RevisionLocationTypeDef


def get_value() -> RevisionLocationTypeDef:
    return {
        "revisionType": ...,
    }


# RevisionLocationTypeDef definition

class RevisionLocationTypeDef(TypedDict):
    revisionType: NotRequired[RevisionLocationTypeType],  # (1)
    s3Location: NotRequired[S3LocationTypeDef],  # (2)
    gitHubLocation: NotRequired[GitHubLocationTypeDef],  # (3)
    string: NotRequired[RawStringTypeDef],  # (4)
    appSpecContent: NotRequired[AppSpecContentTypeDef],  # (5)
  1. See RevisionLocationTypeType
  2. See S3LocationTypeDef
  3. See GitHubLocationTypeDef
  4. See RawStringTypeDef
  5. See AppSpecContentTypeDef

TargetGroupPairInfoOutputTypeDef#

# TargetGroupPairInfoOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TargetGroupPairInfoOutputTypeDef


def get_value() -> TargetGroupPairInfoOutputTypeDef:
    return {
        "targetGroups": ...,
    }


# TargetGroupPairInfoOutputTypeDef definition

class TargetGroupPairInfoOutputTypeDef(TypedDict):
    targetGroups: NotRequired[List[TargetGroupInfoTypeDef]],  # (1)
    prodTrafficRoute: NotRequired[TrafficRouteOutputTypeDef],  # (2)
    testTrafficRoute: NotRequired[TrafficRouteOutputTypeDef],  # (2)
  1. See TargetGroupInfoTypeDef
  2. See TrafficRouteOutputTypeDef
  3. See TrafficRouteOutputTypeDef

TargetGroupPairInfoTypeDef#

# TargetGroupPairInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TargetGroupPairInfoTypeDef


def get_value() -> TargetGroupPairInfoTypeDef:
    return {
        "targetGroups": ...,
    }


# TargetGroupPairInfoTypeDef definition

class TargetGroupPairInfoTypeDef(TypedDict):
    targetGroups: NotRequired[Sequence[TargetGroupInfoTypeDef]],  # (1)
    prodTrafficRoute: NotRequired[TrafficRouteTypeDef],  # (2)
    testTrafficRoute: NotRequired[TrafficRouteTypeDef],  # (2)
  1. See TargetGroupInfoTypeDef
  2. See TrafficRouteTypeDef
  3. See TrafficRouteTypeDef

TrafficRoutingConfigTypeDef#

# TrafficRoutingConfigTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TrafficRoutingConfigTypeDef


def get_value() -> TrafficRoutingConfigTypeDef:
    return {
        "type": ...,
    }


# TrafficRoutingConfigTypeDef definition

class TrafficRoutingConfigTypeDef(TypedDict):
    type: NotRequired[TrafficRoutingTypeType],  # (1)
    timeBasedCanary: NotRequired[TimeBasedCanaryTypeDef],  # (2)
    timeBasedLinear: NotRequired[TimeBasedLinearTypeDef],  # (3)
  1. See TrafficRoutingTypeType
  2. See TimeBasedCanaryTypeDef
  3. See TimeBasedLinearTypeDef

TimeRangeTypeDef#

# TimeRangeTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TimeRangeTypeDef


def get_value() -> TimeRangeTypeDef:
    return {
        "start": ...,
    }


# TimeRangeTypeDef definition

class TimeRangeTypeDef(TypedDict):
    start: NotRequired[TimestampTypeDef],
    end: NotRequired[TimestampTypeDef],

BatchGetOnPremisesInstancesOutputTypeDef#

# BatchGetOnPremisesInstancesOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetOnPremisesInstancesOutputTypeDef


def get_value() -> BatchGetOnPremisesInstancesOutputTypeDef:
    return {
        "instanceInfos": ...,
    }


# BatchGetOnPremisesInstancesOutputTypeDef definition

class BatchGetOnPremisesInstancesOutputTypeDef(TypedDict):
    instanceInfos: List[InstanceInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceInfoTypeDef
  2. See ResponseMetadataTypeDef

GetOnPremisesInstanceOutputTypeDef#

# GetOnPremisesInstanceOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetOnPremisesInstanceOutputTypeDef


def get_value() -> GetOnPremisesInstanceOutputTypeDef:
    return {
        "instanceInfo": ...,
    }


# GetOnPremisesInstanceOutputTypeDef definition

class GetOnPremisesInstanceOutputTypeDef(TypedDict):
    instanceInfo: InstanceInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceInfoTypeDef
  2. See ResponseMetadataTypeDef

TargetInstancesOutputTypeDef#

# TargetInstancesOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TargetInstancesOutputTypeDef


def get_value() -> TargetInstancesOutputTypeDef:
    return {
        "tagFilters": ...,
    }


# TargetInstancesOutputTypeDef definition

class TargetInstancesOutputTypeDef(TypedDict):
    tagFilters: NotRequired[List[EC2TagFilterTypeDef]],  # (1)
    autoScalingGroups: NotRequired[List[str]],
    ec2TagSet: NotRequired[EC2TagSetOutputTypeDef],  # (2)
  1. See EC2TagFilterTypeDef
  2. See EC2TagSetOutputTypeDef

TargetInstancesTypeDef#

# TargetInstancesTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import TargetInstancesTypeDef


def get_value() -> TargetInstancesTypeDef:
    return {
        "tagFilters": ...,
    }


# TargetInstancesTypeDef definition

class TargetInstancesTypeDef(TypedDict):
    tagFilters: NotRequired[Sequence[EC2TagFilterTypeDef]],  # (1)
    autoScalingGroups: NotRequired[Sequence[str]],
    ec2TagSet: NotRequired[EC2TagSetTypeDef],  # (2)
  1. See EC2TagFilterTypeDef
  2. See EC2TagSetTypeDef

CloudFormationTargetTypeDef#

# CloudFormationTargetTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import CloudFormationTargetTypeDef


def get_value() -> CloudFormationTargetTypeDef:
    return {
        "deploymentId": ...,
    }


# CloudFormationTargetTypeDef definition

class CloudFormationTargetTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    targetId: NotRequired[str],
    lastUpdatedAt: NotRequired[datetime],
    lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]],  # (1)
    status: NotRequired[TargetStatusType],  # (2)
    resourceType: NotRequired[str],
    targetVersionWeight: NotRequired[float],
  1. See LifecycleEventTypeDef
  2. See TargetStatusType

InstanceSummaryTypeDef#

# InstanceSummaryTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import InstanceSummaryTypeDef


def get_value() -> InstanceSummaryTypeDef:
    return {
        "deploymentId": ...,
    }


# InstanceSummaryTypeDef definition

class InstanceSummaryTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    instanceId: NotRequired[str],
    status: NotRequired[InstanceStatusType],  # (1)
    lastUpdatedAt: NotRequired[datetime],
    lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]],  # (2)
    instanceType: NotRequired[InstanceTypeType],  # (3)
  1. See InstanceStatusType
  2. See LifecycleEventTypeDef
  3. See InstanceTypeType

InstanceTargetTypeDef#

# InstanceTargetTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import InstanceTargetTypeDef


def get_value() -> InstanceTargetTypeDef:
    return {
        "deploymentId": ...,
    }


# InstanceTargetTypeDef definition

class InstanceTargetTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    targetId: NotRequired[str],
    targetArn: NotRequired[str],
    status: NotRequired[TargetStatusType],  # (1)
    lastUpdatedAt: NotRequired[datetime],
    lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]],  # (2)
    instanceLabel: NotRequired[TargetLabelType],  # (3)
  1. See TargetStatusType
  2. See LifecycleEventTypeDef
  3. See TargetLabelType

LambdaTargetTypeDef#

# LambdaTargetTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import LambdaTargetTypeDef


def get_value() -> LambdaTargetTypeDef:
    return {
        "deploymentId": ...,
    }


# LambdaTargetTypeDef definition

class LambdaTargetTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    targetId: NotRequired[str],
    targetArn: NotRequired[str],
    status: NotRequired[TargetStatusType],  # (1)
    lastUpdatedAt: NotRequired[datetime],
    lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]],  # (2)
    lambdaFunctionInfo: NotRequired[LambdaFunctionInfoTypeDef],  # (3)
  1. See TargetStatusType
  2. See LifecycleEventTypeDef
  3. See LambdaFunctionInfoTypeDef

ECSTargetTypeDef#

# ECSTargetTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ECSTargetTypeDef


def get_value() -> ECSTargetTypeDef:
    return {
        "deploymentId": ...,
    }


# ECSTargetTypeDef definition

class ECSTargetTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    targetId: NotRequired[str],
    targetArn: NotRequired[str],
    lastUpdatedAt: NotRequired[datetime],
    lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]],  # (1)
    status: NotRequired[TargetStatusType],  # (2)
    taskSetsInfo: NotRequired[List[ECSTaskSetTypeDef]],  # (3)
  1. See LifecycleEventTypeDef
  2. See TargetStatusType
  3. See ECSTaskSetTypeDef

BatchGetApplicationRevisionsInputTypeDef#

# BatchGetApplicationRevisionsInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetApplicationRevisionsInputTypeDef


def get_value() -> BatchGetApplicationRevisionsInputTypeDef:
    return {
        "applicationName": ...,
    }


# BatchGetApplicationRevisionsInputTypeDef definition

class BatchGetApplicationRevisionsInputTypeDef(TypedDict):
    applicationName: str,
    revisions: Sequence[RevisionLocationTypeDef],  # (1)
  1. See RevisionLocationTypeDef

GetApplicationRevisionInputTypeDef#

# GetApplicationRevisionInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetApplicationRevisionInputTypeDef


def get_value() -> GetApplicationRevisionInputTypeDef:
    return {
        "applicationName": ...,
    }


# GetApplicationRevisionInputTypeDef definition

class GetApplicationRevisionInputTypeDef(TypedDict):
    applicationName: str,
    revision: RevisionLocationTypeDef,  # (1)
  1. See RevisionLocationTypeDef

GetApplicationRevisionOutputTypeDef#

# GetApplicationRevisionOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetApplicationRevisionOutputTypeDef


def get_value() -> GetApplicationRevisionOutputTypeDef:
    return {
        "applicationName": ...,
    }


# GetApplicationRevisionOutputTypeDef definition

class GetApplicationRevisionOutputTypeDef(TypedDict):
    applicationName: str,
    revision: RevisionLocationTypeDef,  # (1)
    revisionInfo: GenericRevisionInfoTypeDef,  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See RevisionLocationTypeDef
  2. See GenericRevisionInfoTypeDef
  3. See ResponseMetadataTypeDef

ListApplicationRevisionsOutputTypeDef#

# ListApplicationRevisionsOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsOutputTypeDef


def get_value() -> ListApplicationRevisionsOutputTypeDef:
    return {
        "revisions": ...,
    }


# ListApplicationRevisionsOutputTypeDef definition

class ListApplicationRevisionsOutputTypeDef(TypedDict):
    revisions: List[RevisionLocationTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See RevisionLocationTypeDef
  2. See ResponseMetadataTypeDef

RegisterApplicationRevisionInputTypeDef#

# RegisterApplicationRevisionInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import RegisterApplicationRevisionInputTypeDef


def get_value() -> RegisterApplicationRevisionInputTypeDef:
    return {
        "applicationName": ...,
    }


# RegisterApplicationRevisionInputTypeDef definition

class RegisterApplicationRevisionInputTypeDef(TypedDict):
    applicationName: str,
    revision: RevisionLocationTypeDef,  # (1)
    description: NotRequired[str],
  1. See RevisionLocationTypeDef

RevisionInfoTypeDef#

# RevisionInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import RevisionInfoTypeDef


def get_value() -> RevisionInfoTypeDef:
    return {
        "revisionLocation": ...,
    }


# RevisionInfoTypeDef definition

class RevisionInfoTypeDef(TypedDict):
    revisionLocation: NotRequired[RevisionLocationTypeDef],  # (1)
    genericRevisionInfo: NotRequired[GenericRevisionInfoTypeDef],  # (2)
  1. See RevisionLocationTypeDef
  2. See GenericRevisionInfoTypeDef

LoadBalancerInfoOutputTypeDef#

# LoadBalancerInfoOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import LoadBalancerInfoOutputTypeDef


def get_value() -> LoadBalancerInfoOutputTypeDef:
    return {
        "elbInfoList": ...,
    }


# LoadBalancerInfoOutputTypeDef definition

class LoadBalancerInfoOutputTypeDef(TypedDict):
    elbInfoList: NotRequired[List[ELBInfoTypeDef]],  # (1)
    targetGroupInfoList: NotRequired[List[TargetGroupInfoTypeDef]],  # (2)
    targetGroupPairInfoList: NotRequired[List[TargetGroupPairInfoOutputTypeDef]],  # (3)
  1. See ELBInfoTypeDef
  2. See TargetGroupInfoTypeDef
  3. See TargetGroupPairInfoOutputTypeDef

LoadBalancerInfoTypeDef#

# LoadBalancerInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import LoadBalancerInfoTypeDef


def get_value() -> LoadBalancerInfoTypeDef:
    return {
        "elbInfoList": ...,
    }


# LoadBalancerInfoTypeDef definition

class LoadBalancerInfoTypeDef(TypedDict):
    elbInfoList: NotRequired[Sequence[ELBInfoTypeDef]],  # (1)
    targetGroupInfoList: NotRequired[Sequence[TargetGroupInfoTypeDef]],  # (2)
    targetGroupPairInfoList: NotRequired[Sequence[TargetGroupPairInfoTypeDef]],  # (3)
  1. See ELBInfoTypeDef
  2. See TargetGroupInfoTypeDef
  3. See TargetGroupPairInfoTypeDef

CreateDeploymentConfigInputTypeDef#

# CreateDeploymentConfigInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentConfigInputTypeDef


def get_value() -> CreateDeploymentConfigInputTypeDef:
    return {
        "deploymentConfigName": ...,
    }


# CreateDeploymentConfigInputTypeDef definition

class CreateDeploymentConfigInputTypeDef(TypedDict):
    deploymentConfigName: str,
    minimumHealthyHosts: NotRequired[MinimumHealthyHostsTypeDef],  # (1)
    trafficRoutingConfig: NotRequired[TrafficRoutingConfigTypeDef],  # (2)
    computePlatform: NotRequired[ComputePlatformType],  # (3)
    zonalConfig: NotRequired[ZonalConfigTypeDef],  # (4)
  1. See MinimumHealthyHostsTypeDef
  2. See TrafficRoutingConfigTypeDef
  3. See ComputePlatformType
  4. See ZonalConfigTypeDef

DeploymentConfigInfoTypeDef#

# DeploymentConfigInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeploymentConfigInfoTypeDef


def get_value() -> DeploymentConfigInfoTypeDef:
    return {
        "deploymentConfigId": ...,
    }


# DeploymentConfigInfoTypeDef definition

class DeploymentConfigInfoTypeDef(TypedDict):
    deploymentConfigId: NotRequired[str],
    deploymentConfigName: NotRequired[str],
    minimumHealthyHosts: NotRequired[MinimumHealthyHostsTypeDef],  # (1)
    createTime: NotRequired[datetime],
    computePlatform: NotRequired[ComputePlatformType],  # (2)
    trafficRoutingConfig: NotRequired[TrafficRoutingConfigTypeDef],  # (3)
    zonalConfig: NotRequired[ZonalConfigTypeDef],  # (4)
  1. See MinimumHealthyHostsTypeDef
  2. See ComputePlatformType
  3. See TrafficRoutingConfigTypeDef
  4. See ZonalConfigTypeDef

ListDeploymentsInputPaginateTypeDef#

# ListDeploymentsInputPaginateTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentsInputPaginateTypeDef


def get_value() -> ListDeploymentsInputPaginateTypeDef:
    return {
        "applicationName": ...,
    }


# ListDeploymentsInputPaginateTypeDef definition

class ListDeploymentsInputPaginateTypeDef(TypedDict):
    applicationName: NotRequired[str],
    deploymentGroupName: NotRequired[str],
    externalId: NotRequired[str],
    includeOnlyStatuses: NotRequired[Sequence[DeploymentStatusType]],  # (1)
    createTimeRange: NotRequired[TimeRangeTypeDef],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See DeploymentStatusType
  2. See TimeRangeTypeDef
  3. See PaginatorConfigTypeDef

ListDeploymentsInputTypeDef#

# ListDeploymentsInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentsInputTypeDef


def get_value() -> ListDeploymentsInputTypeDef:
    return {
        "applicationName": ...,
    }


# ListDeploymentsInputTypeDef definition

class ListDeploymentsInputTypeDef(TypedDict):
    applicationName: NotRequired[str],
    deploymentGroupName: NotRequired[str],
    externalId: NotRequired[str],
    includeOnlyStatuses: NotRequired[Sequence[DeploymentStatusType]],  # (1)
    createTimeRange: NotRequired[TimeRangeTypeDef],  # (2)
    nextToken: NotRequired[str],
  1. See DeploymentStatusType
  2. See TimeRangeTypeDef

BatchGetDeploymentInstancesOutputTypeDef#

# BatchGetDeploymentInstancesOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentInstancesOutputTypeDef


def get_value() -> BatchGetDeploymentInstancesOutputTypeDef:
    return {
        "instancesSummary": ...,
    }


# BatchGetDeploymentInstancesOutputTypeDef definition

class BatchGetDeploymentInstancesOutputTypeDef(TypedDict):
    instancesSummary: List[InstanceSummaryTypeDef],  # (1)
    errorMessage: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetDeploymentInstanceOutputTypeDef#

# GetDeploymentInstanceOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentInstanceOutputTypeDef


def get_value() -> GetDeploymentInstanceOutputTypeDef:
    return {
        "instanceSummary": ...,
    }


# GetDeploymentInstanceOutputTypeDef definition

class GetDeploymentInstanceOutputTypeDef(TypedDict):
    instanceSummary: InstanceSummaryTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceSummaryTypeDef
  2. See ResponseMetadataTypeDef

DeploymentTargetTypeDef#

# DeploymentTargetTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeploymentTargetTypeDef


def get_value() -> DeploymentTargetTypeDef:
    return {
        "deploymentTargetType": ...,
    }


# DeploymentTargetTypeDef definition

class DeploymentTargetTypeDef(TypedDict):
    deploymentTargetType: NotRequired[DeploymentTargetTypeType],  # (1)
    instanceTarget: NotRequired[InstanceTargetTypeDef],  # (2)
    lambdaTarget: NotRequired[LambdaTargetTypeDef],  # (3)
    ecsTarget: NotRequired[ECSTargetTypeDef],  # (4)
    cloudFormationTarget: NotRequired[CloudFormationTargetTypeDef],  # (5)
  1. See DeploymentTargetTypeType
  2. See InstanceTargetTypeDef
  3. See LambdaTargetTypeDef
  4. See ECSTargetTypeDef
  5. See CloudFormationTargetTypeDef

BatchGetApplicationRevisionsOutputTypeDef#

# BatchGetApplicationRevisionsOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetApplicationRevisionsOutputTypeDef


def get_value() -> BatchGetApplicationRevisionsOutputTypeDef:
    return {
        "applicationName": ...,
    }


# BatchGetApplicationRevisionsOutputTypeDef definition

class BatchGetApplicationRevisionsOutputTypeDef(TypedDict):
    applicationName: str,
    errorMessage: str,
    revisions: List[RevisionInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See RevisionInfoTypeDef
  2. See ResponseMetadataTypeDef

DeploymentGroupInfoTypeDef#

# DeploymentGroupInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeploymentGroupInfoTypeDef


def get_value() -> DeploymentGroupInfoTypeDef:
    return {
        "applicationName": ...,
    }


# DeploymentGroupInfoTypeDef definition

class DeploymentGroupInfoTypeDef(TypedDict):
    applicationName: NotRequired[str],
    deploymentGroupId: NotRequired[str],
    deploymentGroupName: NotRequired[str],
    deploymentConfigName: NotRequired[str],
    ec2TagFilters: NotRequired[List[EC2TagFilterTypeDef]],  # (1)
    onPremisesInstanceTagFilters: NotRequired[List[TagFilterTypeDef]],  # (2)
    autoScalingGroups: NotRequired[List[AutoScalingGroupTypeDef]],  # (3)
    serviceRoleArn: NotRequired[str],
    targetRevision: NotRequired[RevisionLocationTypeDef],  # (4)
    triggerConfigurations: NotRequired[List[TriggerConfigOutputTypeDef]],  # (5)
    alarmConfiguration: NotRequired[AlarmConfigurationOutputTypeDef],  # (6)
    autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationOutputTypeDef],  # (7)
    deploymentStyle: NotRequired[DeploymentStyleTypeDef],  # (8)
    outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType],  # (9)
    blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef],  # (10)
    loadBalancerInfo: NotRequired[LoadBalancerInfoOutputTypeDef],  # (11)
    lastSuccessfulDeployment: NotRequired[LastDeploymentInfoTypeDef],  # (12)
    lastAttemptedDeployment: NotRequired[LastDeploymentInfoTypeDef],  # (12)
    ec2TagSet: NotRequired[EC2TagSetOutputTypeDef],  # (14)
    onPremisesTagSet: NotRequired[OnPremisesTagSetOutputTypeDef],  # (15)
    computePlatform: NotRequired[ComputePlatformType],  # (16)
    ecsServices: NotRequired[List[ECSServiceTypeDef]],  # (17)
    terminationHookEnabled: NotRequired[bool],
  1. See EC2TagFilterTypeDef
  2. See TagFilterTypeDef
  3. See AutoScalingGroupTypeDef
  4. See RevisionLocationTypeDef
  5. See TriggerConfigOutputTypeDef
  6. See AlarmConfigurationOutputTypeDef
  7. See AutoRollbackConfigurationOutputTypeDef
  8. See DeploymentStyleTypeDef
  9. See OutdatedInstancesStrategyType
  10. See BlueGreenDeploymentConfigurationTypeDef
  11. See LoadBalancerInfoOutputTypeDef
  12. See LastDeploymentInfoTypeDef
  13. See LastDeploymentInfoTypeDef
  14. See EC2TagSetOutputTypeDef
  15. See OnPremisesTagSetOutputTypeDef
  16. See ComputePlatformType
  17. See ECSServiceTypeDef

DeploymentInfoTypeDef#

# DeploymentInfoTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import DeploymentInfoTypeDef


def get_value() -> DeploymentInfoTypeDef:
    return {
        "applicationName": ...,
    }


# DeploymentInfoTypeDef definition

class DeploymentInfoTypeDef(TypedDict):
    applicationName: NotRequired[str],
    deploymentGroupName: NotRequired[str],
    deploymentConfigName: NotRequired[str],
    deploymentId: NotRequired[str],
    previousRevision: NotRequired[RevisionLocationTypeDef],  # (1)
    revision: NotRequired[RevisionLocationTypeDef],  # (1)
    status: NotRequired[DeploymentStatusType],  # (3)
    errorInformation: NotRequired[ErrorInformationTypeDef],  # (4)
    createTime: NotRequired[datetime],
    startTime: NotRequired[datetime],
    completeTime: NotRequired[datetime],
    deploymentOverview: NotRequired[DeploymentOverviewTypeDef],  # (5)
    description: NotRequired[str],
    creator: NotRequired[DeploymentCreatorType],  # (6)
    ignoreApplicationStopFailures: NotRequired[bool],
    autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationOutputTypeDef],  # (7)
    updateOutdatedInstancesOnly: NotRequired[bool],
    rollbackInfo: NotRequired[RollbackInfoTypeDef],  # (8)
    deploymentStyle: NotRequired[DeploymentStyleTypeDef],  # (9)
    targetInstances: NotRequired[TargetInstancesOutputTypeDef],  # (10)
    instanceTerminationWaitTimeStarted: NotRequired[bool],
    blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef],  # (11)
    loadBalancerInfo: NotRequired[LoadBalancerInfoOutputTypeDef],  # (12)
    additionalDeploymentStatusInfo: NotRequired[str],
    fileExistsBehavior: NotRequired[FileExistsBehaviorType],  # (13)
    deploymentStatusMessages: NotRequired[List[str]],
    computePlatform: NotRequired[ComputePlatformType],  # (14)
    externalId: NotRequired[str],
    relatedDeployments: NotRequired[RelatedDeploymentsTypeDef],  # (15)
    overrideAlarmConfiguration: NotRequired[AlarmConfigurationOutputTypeDef],  # (16)
  1. See RevisionLocationTypeDef
  2. See RevisionLocationTypeDef
  3. See DeploymentStatusType
  4. See ErrorInformationTypeDef
  5. See DeploymentOverviewTypeDef
  6. See DeploymentCreatorType
  7. See AutoRollbackConfigurationOutputTypeDef
  8. See RollbackInfoTypeDef
  9. See DeploymentStyleTypeDef
  10. See TargetInstancesOutputTypeDef
  11. See BlueGreenDeploymentConfigurationTypeDef
  12. See LoadBalancerInfoOutputTypeDef
  13. See FileExistsBehaviorType
  14. See ComputePlatformType
  15. See RelatedDeploymentsTypeDef
  16. See AlarmConfigurationOutputTypeDef

GetDeploymentConfigOutputTypeDef#

# GetDeploymentConfigOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentConfigOutputTypeDef


def get_value() -> GetDeploymentConfigOutputTypeDef:
    return {
        "deploymentConfigInfo": ...,
    }


# GetDeploymentConfigOutputTypeDef definition

class GetDeploymentConfigOutputTypeDef(TypedDict):
    deploymentConfigInfo: DeploymentConfigInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DeploymentConfigInfoTypeDef
  2. See ResponseMetadataTypeDef

CreateDeploymentInputTypeDef#

# CreateDeploymentInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentInputTypeDef


def get_value() -> CreateDeploymentInputTypeDef:
    return {
        "applicationName": ...,
    }


# CreateDeploymentInputTypeDef definition

class CreateDeploymentInputTypeDef(TypedDict):
    applicationName: str,
    deploymentGroupName: NotRequired[str],
    revision: NotRequired[RevisionLocationTypeDef],  # (1)
    deploymentConfigName: NotRequired[str],
    description: NotRequired[str],
    ignoreApplicationStopFailures: NotRequired[bool],
    targetInstances: NotRequired[TargetInstancesUnionTypeDef],  # (2)
    autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationUnionTypeDef],  # (3)
    updateOutdatedInstancesOnly: NotRequired[bool],
    fileExistsBehavior: NotRequired[FileExistsBehaviorType],  # (4)
    overrideAlarmConfiguration: NotRequired[AlarmConfigurationUnionTypeDef],  # (5)
  1. See RevisionLocationTypeDef
  2. See TargetInstancesTypeDef TargetInstancesOutputTypeDef
  3. See AutoRollbackConfigurationTypeDef AutoRollbackConfigurationOutputTypeDef
  4. See FileExistsBehaviorType
  5. See AlarmConfigurationTypeDef AlarmConfigurationOutputTypeDef

BatchGetDeploymentTargetsOutputTypeDef#

# BatchGetDeploymentTargetsOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentTargetsOutputTypeDef


def get_value() -> BatchGetDeploymentTargetsOutputTypeDef:
    return {
        "deploymentTargets": ...,
    }


# BatchGetDeploymentTargetsOutputTypeDef definition

class BatchGetDeploymentTargetsOutputTypeDef(TypedDict):
    deploymentTargets: List[DeploymentTargetTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DeploymentTargetTypeDef
  2. See ResponseMetadataTypeDef

GetDeploymentTargetOutputTypeDef#

# GetDeploymentTargetOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentTargetOutputTypeDef


def get_value() -> GetDeploymentTargetOutputTypeDef:
    return {
        "deploymentTarget": ...,
    }


# GetDeploymentTargetOutputTypeDef definition

class GetDeploymentTargetOutputTypeDef(TypedDict):
    deploymentTarget: DeploymentTargetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DeploymentTargetTypeDef
  2. See ResponseMetadataTypeDef

BatchGetDeploymentGroupsOutputTypeDef#

# BatchGetDeploymentGroupsOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentGroupsOutputTypeDef


def get_value() -> BatchGetDeploymentGroupsOutputTypeDef:
    return {
        "deploymentGroupsInfo": ...,
    }


# BatchGetDeploymentGroupsOutputTypeDef definition

class BatchGetDeploymentGroupsOutputTypeDef(TypedDict):
    deploymentGroupsInfo: List[DeploymentGroupInfoTypeDef],  # (1)
    errorMessage: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DeploymentGroupInfoTypeDef
  2. See ResponseMetadataTypeDef

GetDeploymentGroupOutputTypeDef#

# GetDeploymentGroupOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentGroupOutputTypeDef


def get_value() -> GetDeploymentGroupOutputTypeDef:
    return {
        "deploymentGroupInfo": ...,
    }


# GetDeploymentGroupOutputTypeDef definition

class GetDeploymentGroupOutputTypeDef(TypedDict):
    deploymentGroupInfo: DeploymentGroupInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DeploymentGroupInfoTypeDef
  2. See ResponseMetadataTypeDef

BatchGetDeploymentsOutputTypeDef#

# BatchGetDeploymentsOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentsOutputTypeDef


def get_value() -> BatchGetDeploymentsOutputTypeDef:
    return {
        "deploymentsInfo": ...,
    }


# BatchGetDeploymentsOutputTypeDef definition

class BatchGetDeploymentsOutputTypeDef(TypedDict):
    deploymentsInfo: List[DeploymentInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DeploymentInfoTypeDef
  2. See ResponseMetadataTypeDef

GetDeploymentOutputTypeDef#

# GetDeploymentOutputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentOutputTypeDef


def get_value() -> GetDeploymentOutputTypeDef:
    return {
        "deploymentInfo": ...,
    }


# GetDeploymentOutputTypeDef definition

class GetDeploymentOutputTypeDef(TypedDict):
    deploymentInfo: DeploymentInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DeploymentInfoTypeDef
  2. See ResponseMetadataTypeDef

CreateDeploymentGroupInputTypeDef#

# CreateDeploymentGroupInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentGroupInputTypeDef


def get_value() -> CreateDeploymentGroupInputTypeDef:
    return {
        "applicationName": ...,
    }


# CreateDeploymentGroupInputTypeDef definition

class CreateDeploymentGroupInputTypeDef(TypedDict):
    applicationName: str,
    deploymentGroupName: str,
    serviceRoleArn: str,
    deploymentConfigName: NotRequired[str],
    ec2TagFilters: NotRequired[Sequence[EC2TagFilterTypeDef]],  # (1)
    onPremisesInstanceTagFilters: NotRequired[Sequence[TagFilterTypeDef]],  # (2)
    autoScalingGroups: NotRequired[Sequence[str]],
    triggerConfigurations: NotRequired[Sequence[TriggerConfigUnionTypeDef]],  # (3)
    alarmConfiguration: NotRequired[AlarmConfigurationUnionTypeDef],  # (4)
    autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationUnionTypeDef],  # (5)
    outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType],  # (6)
    deploymentStyle: NotRequired[DeploymentStyleTypeDef],  # (7)
    blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef],  # (8)
    loadBalancerInfo: NotRequired[LoadBalancerInfoUnionTypeDef],  # (9)
    ec2TagSet: NotRequired[EC2TagSetUnionTypeDef],  # (10)
    ecsServices: NotRequired[Sequence[ECSServiceTypeDef]],  # (11)
    onPremisesTagSet: NotRequired[OnPremisesTagSetUnionTypeDef],  # (12)
    tags: NotRequired[Sequence[TagTypeDef]],  # (13)
    terminationHookEnabled: NotRequired[bool],
  1. See EC2TagFilterTypeDef
  2. See TagFilterTypeDef
  3. See TriggerConfigTypeDef TriggerConfigOutputTypeDef
  4. See AlarmConfigurationTypeDef AlarmConfigurationOutputTypeDef
  5. See AutoRollbackConfigurationTypeDef AutoRollbackConfigurationOutputTypeDef
  6. See OutdatedInstancesStrategyType
  7. See DeploymentStyleTypeDef
  8. See BlueGreenDeploymentConfigurationTypeDef
  9. See LoadBalancerInfoTypeDef LoadBalancerInfoOutputTypeDef
  10. See EC2TagSetTypeDef EC2TagSetOutputTypeDef
  11. See ECSServiceTypeDef
  12. See OnPremisesTagSetTypeDef OnPremisesTagSetOutputTypeDef
  13. See TagTypeDef

UpdateDeploymentGroupInputTypeDef#

# UpdateDeploymentGroupInputTypeDef TypedDict usage example

from mypy_boto3_codedeploy.type_defs import UpdateDeploymentGroupInputTypeDef


def get_value() -> UpdateDeploymentGroupInputTypeDef:
    return {
        "applicationName": ...,
    }


# UpdateDeploymentGroupInputTypeDef definition

class UpdateDeploymentGroupInputTypeDef(TypedDict):
    applicationName: str,
    currentDeploymentGroupName: str,
    newDeploymentGroupName: NotRequired[str],
    deploymentConfigName: NotRequired[str],
    ec2TagFilters: NotRequired[Sequence[EC2TagFilterTypeDef]],  # (1)
    onPremisesInstanceTagFilters: NotRequired[Sequence[TagFilterTypeDef]],  # (2)
    autoScalingGroups: NotRequired[Sequence[str]],
    serviceRoleArn: NotRequired[str],
    triggerConfigurations: NotRequired[Sequence[TriggerConfigUnionTypeDef]],  # (3)
    alarmConfiguration: NotRequired[AlarmConfigurationUnionTypeDef],  # (4)
    autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationUnionTypeDef],  # (5)
    outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType],  # (6)
    deploymentStyle: NotRequired[DeploymentStyleTypeDef],  # (7)
    blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef],  # (8)
    loadBalancerInfo: NotRequired[LoadBalancerInfoUnionTypeDef],  # (9)
    ec2TagSet: NotRequired[EC2TagSetUnionTypeDef],  # (10)
    ecsServices: NotRequired[Sequence[ECSServiceTypeDef]],  # (11)
    onPremisesTagSet: NotRequired[OnPremisesTagSetUnionTypeDef],  # (12)
    terminationHookEnabled: NotRequired[bool],
  1. See EC2TagFilterTypeDef
  2. See TagFilterTypeDef
  3. See TriggerConfigTypeDef TriggerConfigOutputTypeDef
  4. See AlarmConfigurationTypeDef AlarmConfigurationOutputTypeDef
  5. See AutoRollbackConfigurationTypeDef AutoRollbackConfigurationOutputTypeDef
  6. See OutdatedInstancesStrategyType
  7. See DeploymentStyleTypeDef
  8. See BlueGreenDeploymentConfigurationTypeDef
  9. See LoadBalancerInfoTypeDef LoadBalancerInfoOutputTypeDef
  10. See EC2TagSetTypeDef EC2TagSetOutputTypeDef
  11. See ECSServiceTypeDef
  12. See OnPremisesTagSetTypeDef OnPremisesTagSetOutputTypeDef