Skip to content

Typed dictionaries#

Index > CodeDeploy > Typed dictionaries

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

TagTypeDef#

# TagTypeDef 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 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 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 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

AutoRollbackConfigurationTypeDef#

# AutoRollbackConfigurationTypeDef 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[List[AutoRollbackEventType]],  # (1)
  1. See AutoRollbackEventType

AutoScalingGroupTypeDef#

# AutoScalingGroupTypeDef 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],

BatchGetApplicationsInputRequestTypeDef#

# BatchGetApplicationsInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetApplicationsInputRequestTypeDef

def get_value() -> BatchGetApplicationsInputRequestTypeDef:
    return {
        "applicationNames": ...,
    }
# BatchGetApplicationsInputRequestTypeDef definition

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

BatchGetDeploymentGroupsInputRequestTypeDef#

# BatchGetDeploymentGroupsInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentGroupsInputRequestTypeDef

def get_value() -> BatchGetDeploymentGroupsInputRequestTypeDef:
    return {
        "applicationName": ...,
        "deploymentGroupNames": ...,
    }
# BatchGetDeploymentGroupsInputRequestTypeDef definition

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

BatchGetDeploymentInstancesInputRequestTypeDef#

# BatchGetDeploymentInstancesInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentInstancesInputRequestTypeDef

def get_value() -> BatchGetDeploymentInstancesInputRequestTypeDef:
    return {
        "deploymentId": ...,
        "instanceIds": ...,
    }
# BatchGetDeploymentInstancesInputRequestTypeDef definition

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

BatchGetDeploymentTargetsInputRequestTypeDef#

# BatchGetDeploymentTargetsInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentTargetsInputRequestTypeDef

def get_value() -> BatchGetDeploymentTargetsInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
# BatchGetDeploymentTargetsInputRequestTypeDef definition

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

BatchGetDeploymentsInputRequestTypeDef#

# BatchGetDeploymentsInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentsInputRequestTypeDef

def get_value() -> BatchGetDeploymentsInputRequestTypeDef:
    return {
        "deploymentIds": ...,
    }
# BatchGetDeploymentsInputRequestTypeDef definition

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

BatchGetOnPremisesInstancesInputRequestTypeDef#

# BatchGetOnPremisesInstancesInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetOnPremisesInstancesInputRequestTypeDef

def get_value() -> BatchGetOnPremisesInstancesInputRequestTypeDef:
    return {
        "instanceNames": ...,
    }
# BatchGetOnPremisesInstancesInputRequestTypeDef definition

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

BlueInstanceTerminationOptionTypeDef#

# BlueInstanceTerminationOptionTypeDef 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 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 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

ContinueDeploymentInputRequestTypeDef#

# ContinueDeploymentInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ContinueDeploymentInputRequestTypeDef

def get_value() -> ContinueDeploymentInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
# ContinueDeploymentInputRequestTypeDef definition

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

CreateApplicationOutputTypeDef#

# CreateApplicationOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import CreateApplicationOutputTypeDef

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

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

MinimumHealthyHostsTypeDef#

# MinimumHealthyHostsTypeDef 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

CreateDeploymentConfigOutputTypeDef#

# CreateDeploymentConfigOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentConfigOutputTypeDef

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

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

DeploymentStyleTypeDef#

# DeploymentStyleTypeDef 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 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 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 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

TriggerConfigTypeDef#

# TriggerConfigTypeDef 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[List[TriggerEventTypeType]],  # (1)
  1. See TriggerEventTypeType

CreateDeploymentGroupOutputTypeDef#

# CreateDeploymentGroupOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentGroupOutputTypeDef

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

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

CreateDeploymentOutputTypeDef#

# CreateDeploymentOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentOutputTypeDef

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

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

DeleteApplicationInputRequestTypeDef#

# DeleteApplicationInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import DeleteApplicationInputRequestTypeDef

def get_value() -> DeleteApplicationInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
# DeleteApplicationInputRequestTypeDef definition

class DeleteApplicationInputRequestTypeDef(TypedDict):
    applicationName: str,

DeleteDeploymentConfigInputRequestTypeDef#

# DeleteDeploymentConfigInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import DeleteDeploymentConfigInputRequestTypeDef

def get_value() -> DeleteDeploymentConfigInputRequestTypeDef:
    return {
        "deploymentConfigName": ...,
    }
# DeleteDeploymentConfigInputRequestTypeDef definition

class DeleteDeploymentConfigInputRequestTypeDef(TypedDict):
    deploymentConfigName: str,

DeleteDeploymentGroupInputRequestTypeDef#

# DeleteDeploymentGroupInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import DeleteDeploymentGroupInputRequestTypeDef

def get_value() -> DeleteDeploymentGroupInputRequestTypeDef:
    return {
        "applicationName": ...,
        "deploymentGroupName": ...,
    }
# DeleteDeploymentGroupInputRequestTypeDef definition

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

DeleteGitHubAccountTokenInputRequestTypeDef#

# DeleteGitHubAccountTokenInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import DeleteGitHubAccountTokenInputRequestTypeDef

def get_value() -> DeleteGitHubAccountTokenInputRequestTypeDef:
    return {
        "tokenName": ...,
    }
# DeleteGitHubAccountTokenInputRequestTypeDef definition

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

DeleteGitHubAccountTokenOutputTypeDef#

# DeleteGitHubAccountTokenOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import DeleteGitHubAccountTokenOutputTypeDef

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

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

DeleteResourcesByExternalIdInputRequestTypeDef#

# DeleteResourcesByExternalIdInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import DeleteResourcesByExternalIdInputRequestTypeDef

def get_value() -> DeleteResourcesByExternalIdInputRequestTypeDef:
    return {
        "externalId": ...,
    }
# DeleteResourcesByExternalIdInputRequestTypeDef definition

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

LastDeploymentInfoTypeDef#

# LastDeploymentInfoTypeDef 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

DeploymentOverviewTypeDef#

# DeploymentOverviewTypeDef 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 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 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 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],

DeregisterOnPremisesInstanceInputRequestTypeDef#

# DeregisterOnPremisesInstanceInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import DeregisterOnPremisesInstanceInputRequestTypeDef

def get_value() -> DeregisterOnPremisesInstanceInputRequestTypeDef:
    return {
        "instanceName": ...,
    }
# DeregisterOnPremisesInstanceInputRequestTypeDef definition

class DeregisterOnPremisesInstanceInputRequestTypeDef(TypedDict):
    instanceName: str,

DiagnosticsTypeDef#

# DiagnosticsTypeDef 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 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 usage example

from mypy_boto3_codedeploy.type_defs import ELBInfoTypeDef

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

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

EmptyResponseMetadataTypeDef#

# EmptyResponseMetadataTypeDef 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

GenericRevisionInfoTypeDef#

# GenericRevisionInfoTypeDef 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],

GetApplicationInputRequestTypeDef#

# GetApplicationInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetApplicationInputRequestTypeDef

def get_value() -> GetApplicationInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
# GetApplicationInputRequestTypeDef definition

class GetApplicationInputRequestTypeDef(TypedDict):
    applicationName: str,

GetDeploymentConfigInputRequestTypeDef#

# GetDeploymentConfigInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentConfigInputRequestTypeDef

def get_value() -> GetDeploymentConfigInputRequestTypeDef:
    return {
        "deploymentConfigName": ...,
    }
# GetDeploymentConfigInputRequestTypeDef definition

class GetDeploymentConfigInputRequestTypeDef(TypedDict):
    deploymentConfigName: str,

GetDeploymentGroupInputRequestTypeDef#

# GetDeploymentGroupInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentGroupInputRequestTypeDef

def get_value() -> GetDeploymentGroupInputRequestTypeDef:
    return {
        "applicationName": ...,
        "deploymentGroupName": ...,
    }
# GetDeploymentGroupInputRequestTypeDef definition

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

WaiterConfigTypeDef#

# WaiterConfigTypeDef 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],

GetDeploymentInputRequestTypeDef#

# GetDeploymentInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentInputRequestTypeDef

def get_value() -> GetDeploymentInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
# GetDeploymentInputRequestTypeDef definition

class GetDeploymentInputRequestTypeDef(TypedDict):
    deploymentId: str,

GetDeploymentInstanceInputRequestTypeDef#

# GetDeploymentInstanceInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentInstanceInputRequestTypeDef

def get_value() -> GetDeploymentInstanceInputRequestTypeDef:
    return {
        "deploymentId": ...,
        "instanceId": ...,
    }
# GetDeploymentInstanceInputRequestTypeDef definition

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

GetDeploymentTargetInputRequestTypeDef#

# GetDeploymentTargetInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentTargetInputRequestTypeDef

def get_value() -> GetDeploymentTargetInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
# GetDeploymentTargetInputRequestTypeDef definition

class GetDeploymentTargetInputRequestTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    targetId: NotRequired[str],

GetOnPremisesInstanceInputRequestTypeDef#

# GetOnPremisesInstanceInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetOnPremisesInstanceInputRequestTypeDef

def get_value() -> GetOnPremisesInstanceInputRequestTypeDef:
    return {
        "instanceName": ...,
    }
# GetOnPremisesInstanceInputRequestTypeDef definition

class GetOnPremisesInstanceInputRequestTypeDef(TypedDict):
    instanceName: str,

GitHubLocationTypeDef#

# GitHubLocationTypeDef 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 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],

ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef#

# ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef

def get_value() -> ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef:
    return {
        "applicationName": ...,
    }
# ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef definition

class ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef(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

ListApplicationRevisionsInputRequestTypeDef#

# ListApplicationRevisionsInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsInputRequestTypeDef

def get_value() -> ListApplicationRevisionsInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
# ListApplicationRevisionsInputRequestTypeDef definition

class ListApplicationRevisionsInputRequestTypeDef(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

ListApplicationsInputListApplicationsPaginateTypeDef#

# ListApplicationsInputListApplicationsPaginateTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationsInputListApplicationsPaginateTypeDef

def get_value() -> ListApplicationsInputListApplicationsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListApplicationsInputListApplicationsPaginateTypeDef definition

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

ListApplicationsInputRequestTypeDef#

# ListApplicationsInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationsInputRequestTypeDef

def get_value() -> ListApplicationsInputRequestTypeDef:
    return {
        "nextToken": ...,
    }
# ListApplicationsInputRequestTypeDef definition

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

ListApplicationsOutputTypeDef#

# ListApplicationsOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationsOutputTypeDef

def get_value() -> ListApplicationsOutputTypeDef:
    return {
        "applications": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListApplicationsOutputTypeDef definition

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

ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef#

# ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef

def get_value() -> ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef definition

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

ListDeploymentConfigsInputRequestTypeDef#

# ListDeploymentConfigsInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsInputRequestTypeDef

def get_value() -> ListDeploymentConfigsInputRequestTypeDef:
    return {
        "nextToken": ...,
    }
# ListDeploymentConfigsInputRequestTypeDef definition

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

ListDeploymentConfigsOutputTypeDef#

# ListDeploymentConfigsOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsOutputTypeDef

def get_value() -> ListDeploymentConfigsOutputTypeDef:
    return {
        "deploymentConfigsList": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListDeploymentConfigsOutputTypeDef definition

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

ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef#

# ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef

def get_value() -> ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef:
    return {
        "applicationName": ...,
    }
# ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef definition

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

ListDeploymentGroupsInputRequestTypeDef#

# ListDeploymentGroupsInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsInputRequestTypeDef

def get_value() -> ListDeploymentGroupsInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
# ListDeploymentGroupsInputRequestTypeDef definition

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

ListDeploymentGroupsOutputTypeDef#

# ListDeploymentGroupsOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsOutputTypeDef

def get_value() -> ListDeploymentGroupsOutputTypeDef:
    return {
        "applicationName": ...,
        "deploymentGroups": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListDeploymentGroupsOutputTypeDef definition

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

ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef#

# ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef

def get_value() -> ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef:
    return {
        "deploymentId": ...,
    }
# ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef definition

class ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef(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

ListDeploymentInstancesInputRequestTypeDef#

# ListDeploymentInstancesInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesInputRequestTypeDef

def get_value() -> ListDeploymentInstancesInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
# ListDeploymentInstancesInputRequestTypeDef definition

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

ListDeploymentInstancesOutputTypeDef#

# ListDeploymentInstancesOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesOutputTypeDef

def get_value() -> ListDeploymentInstancesOutputTypeDef:
    return {
        "instancesList": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListDeploymentInstancesOutputTypeDef definition

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

ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef#

# ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef

def get_value() -> ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef:
    return {
        "deploymentId": ...,
    }
# ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef definition

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

ListDeploymentTargetsInputRequestTypeDef#

# ListDeploymentTargetsInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsInputRequestTypeDef

def get_value() -> ListDeploymentTargetsInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
# ListDeploymentTargetsInputRequestTypeDef definition

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

ListDeploymentTargetsOutputTypeDef#

# ListDeploymentTargetsOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsOutputTypeDef

def get_value() -> ListDeploymentTargetsOutputTypeDef:
    return {
        "targetIds": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListDeploymentTargetsOutputTypeDef definition

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

TimeRangeTypeDef#

# TimeRangeTypeDef usage example

from mypy_boto3_codedeploy.type_defs import TimeRangeTypeDef

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

class TimeRangeTypeDef(TypedDict):
    start: NotRequired[Union[datetime, str]],
    end: NotRequired[Union[datetime, str]],

ListDeploymentsOutputTypeDef#

# ListDeploymentsOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentsOutputTypeDef

def get_value() -> ListDeploymentsOutputTypeDef:
    return {
        "deployments": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListDeploymentsOutputTypeDef definition

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

ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef#

# ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef

def get_value() -> ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
# ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef definition

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

ListGitHubAccountTokenNamesInputRequestTypeDef#

# ListGitHubAccountTokenNamesInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesInputRequestTypeDef

def get_value() -> ListGitHubAccountTokenNamesInputRequestTypeDef:
    return {
        "nextToken": ...,
    }
# ListGitHubAccountTokenNamesInputRequestTypeDef definition

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

ListGitHubAccountTokenNamesOutputTypeDef#

# ListGitHubAccountTokenNamesOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesOutputTypeDef

def get_value() -> ListGitHubAccountTokenNamesOutputTypeDef:
    return {
        "tokenNameList": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListGitHubAccountTokenNamesOutputTypeDef definition

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

ListOnPremisesInstancesOutputTypeDef#

# ListOnPremisesInstancesOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesOutputTypeDef

def get_value() -> ListOnPremisesInstancesOutputTypeDef:
    return {
        "instanceNames": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListOnPremisesInstancesOutputTypeDef definition

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

ListTagsForResourceInputRequestTypeDef#

# ListTagsForResourceInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListTagsForResourceInputRequestTypeDef

def get_value() -> ListTagsForResourceInputRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
# ListTagsForResourceInputRequestTypeDef definition

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

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef 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],

PutLifecycleEventHookExecutionStatusInputRequestTypeDef#

# PutLifecycleEventHookExecutionStatusInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import PutLifecycleEventHookExecutionStatusInputRequestTypeDef

def get_value() -> PutLifecycleEventHookExecutionStatusInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
# PutLifecycleEventHookExecutionStatusInputRequestTypeDef definition

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

PutLifecycleEventHookExecutionStatusOutputTypeDef#

# PutLifecycleEventHookExecutionStatusOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import PutLifecycleEventHookExecutionStatusOutputTypeDef

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

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

RawStringTypeDef#

# RawStringTypeDef 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],

RegisterOnPremisesInstanceInputRequestTypeDef#

# RegisterOnPremisesInstanceInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import RegisterOnPremisesInstanceInputRequestTypeDef

def get_value() -> RegisterOnPremisesInstanceInputRequestTypeDef:
    return {
        "instanceName": ...,
    }
# RegisterOnPremisesInstanceInputRequestTypeDef definition

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

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
# ResponseMetadataTypeDef definition

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

S3LocationTypeDef#

# S3LocationTypeDef 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

SkipWaitTimeForInstanceTerminationInputRequestTypeDef#

# SkipWaitTimeForInstanceTerminationInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import SkipWaitTimeForInstanceTerminationInputRequestTypeDef

def get_value() -> SkipWaitTimeForInstanceTerminationInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
# SkipWaitTimeForInstanceTerminationInputRequestTypeDef definition

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

StopDeploymentInputRequestTypeDef#

# StopDeploymentInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import StopDeploymentInputRequestTypeDef

def get_value() -> StopDeploymentInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
# StopDeploymentInputRequestTypeDef definition

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

StopDeploymentOutputTypeDef#

# StopDeploymentOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import StopDeploymentOutputTypeDef

def get_value() -> StopDeploymentOutputTypeDef:
    return {
        "status": ...,
        "statusMessage": ...,
        "ResponseMetadata": ...,
    }
# StopDeploymentOutputTypeDef definition

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

TrafficRouteTypeDef#

# TrafficRouteTypeDef usage example

from mypy_boto3_codedeploy.type_defs import TrafficRouteTypeDef

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

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

TimeBasedCanaryTypeDef#

# TimeBasedCanaryTypeDef 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 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],

UntagResourceInputRequestTypeDef#

# UntagResourceInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import UntagResourceInputRequestTypeDef

def get_value() -> UntagResourceInputRequestTypeDef:
    return {
        "ResourceArn": ...,
        "TagKeys": ...,
    }
# UntagResourceInputRequestTypeDef definition

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

UpdateApplicationInputRequestTypeDef#

# UpdateApplicationInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import UpdateApplicationInputRequestTypeDef

def get_value() -> UpdateApplicationInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
# UpdateApplicationInputRequestTypeDef definition

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

AddTagsToOnPremisesInstancesInputRequestTypeDef#

# AddTagsToOnPremisesInstancesInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import AddTagsToOnPremisesInstancesInputRequestTypeDef

def get_value() -> AddTagsToOnPremisesInstancesInputRequestTypeDef:
    return {
        "tags": ...,
        "instanceNames": ...,
    }
# AddTagsToOnPremisesInstancesInputRequestTypeDef definition

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

CreateApplicationInputRequestTypeDef#

# CreateApplicationInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import CreateApplicationInputRequestTypeDef

def get_value() -> CreateApplicationInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
# CreateApplicationInputRequestTypeDef definition

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

InstanceInfoTypeDef#

# InstanceInfoTypeDef 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

ListTagsForResourceOutputTypeDef#

# ListTagsForResourceOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListTagsForResourceOutputTypeDef

def get_value() -> ListTagsForResourceOutputTypeDef:
    return {
        "Tags": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
# ListTagsForResourceOutputTypeDef definition

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

RemoveTagsFromOnPremisesInstancesInputRequestTypeDef#

# RemoveTagsFromOnPremisesInstancesInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import RemoveTagsFromOnPremisesInstancesInputRequestTypeDef

def get_value() -> RemoveTagsFromOnPremisesInstancesInputRequestTypeDef:
    return {
        "tags": ...,
        "instanceNames": ...,
    }
# RemoveTagsFromOnPremisesInstancesInputRequestTypeDef definition

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

TagResourceInputRequestTypeDef#

# TagResourceInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import TagResourceInputRequestTypeDef

def get_value() -> TagResourceInputRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
# TagResourceInputRequestTypeDef definition

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

AlarmConfigurationTypeDef#

# AlarmConfigurationTypeDef 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[List[AlarmTypeDef]],  # (1)
  1. See AlarmTypeDef

BatchGetApplicationsOutputTypeDef#

# BatchGetApplicationsOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetApplicationsOutputTypeDef

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

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

GetApplicationOutputTypeDef#

# GetApplicationOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetApplicationOutputTypeDef

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

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

DeleteDeploymentGroupOutputTypeDef#

# DeleteDeploymentGroupOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import DeleteDeploymentGroupOutputTypeDef

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

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

UpdateDeploymentGroupOutputTypeDef#

# UpdateDeploymentGroupOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import UpdateDeploymentGroupOutputTypeDef

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

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

BlueGreenDeploymentConfigurationTypeDef#

# BlueGreenDeploymentConfigurationTypeDef 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

EC2TagSetTypeDef#

# EC2TagSetTypeDef usage example

from mypy_boto3_codedeploy.type_defs import EC2TagSetTypeDef

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

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

ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef#

# ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef

def get_value() -> ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef:
    return {
        "registrationStatus": ...,
    }
# ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef definition

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

ListOnPremisesInstancesInputRequestTypeDef#

# ListOnPremisesInstancesInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesInputRequestTypeDef

def get_value() -> ListOnPremisesInstancesInputRequestTypeDef:
    return {
        "registrationStatus": ...,
    }
# ListOnPremisesInstancesInputRequestTypeDef definition

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

OnPremisesTagSetTypeDef#

# OnPremisesTagSetTypeDef usage example

from mypy_boto3_codedeploy.type_defs import OnPremisesTagSetTypeDef

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

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

LifecycleEventTypeDef#

# LifecycleEventTypeDef 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 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

GetDeploymentInputDeploymentSuccessfulWaitTypeDef#

# GetDeploymentInputDeploymentSuccessfulWaitTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentInputDeploymentSuccessfulWaitTypeDef

def get_value() -> GetDeploymentInputDeploymentSuccessfulWaitTypeDef:
    return {
        "deploymentId": ...,
    }
# GetDeploymentInputDeploymentSuccessfulWaitTypeDef definition

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

ListDeploymentsInputListDeploymentsPaginateTypeDef#

# ListDeploymentsInputListDeploymentsPaginateTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentsInputListDeploymentsPaginateTypeDef

def get_value() -> ListDeploymentsInputListDeploymentsPaginateTypeDef:
    return {
        "applicationName": ...,
    }
# ListDeploymentsInputListDeploymentsPaginateTypeDef definition

class ListDeploymentsInputListDeploymentsPaginateTypeDef(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

ListDeploymentsInputRequestTypeDef#

# ListDeploymentsInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import ListDeploymentsInputRequestTypeDef

def get_value() -> ListDeploymentsInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
# ListDeploymentsInputRequestTypeDef definition

class ListDeploymentsInputRequestTypeDef(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

RevisionLocationTypeDef#

# RevisionLocationTypeDef 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

TargetGroupPairInfoTypeDef#

# TargetGroupPairInfoTypeDef usage example

from mypy_boto3_codedeploy.type_defs import TargetGroupPairInfoTypeDef

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

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

TrafficRoutingConfigTypeDef#

# TrafficRoutingConfigTypeDef 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

BatchGetOnPremisesInstancesOutputTypeDef#

# BatchGetOnPremisesInstancesOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetOnPremisesInstancesOutputTypeDef

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

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

GetOnPremisesInstanceOutputTypeDef#

# GetOnPremisesInstanceOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetOnPremisesInstanceOutputTypeDef

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

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

TargetInstancesTypeDef#

# TargetInstancesTypeDef usage example

from mypy_boto3_codedeploy.type_defs import TargetInstancesTypeDef

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

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

CloudFormationTargetTypeDef#

# CloudFormationTargetTypeDef 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 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 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 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 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

BatchGetApplicationRevisionsInputRequestTypeDef#

# BatchGetApplicationRevisionsInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetApplicationRevisionsInputRequestTypeDef

def get_value() -> BatchGetApplicationRevisionsInputRequestTypeDef:
    return {
        "applicationName": ...,
        "revisions": ...,
    }
# BatchGetApplicationRevisionsInputRequestTypeDef definition

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

GetApplicationRevisionInputRequestTypeDef#

# GetApplicationRevisionInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetApplicationRevisionInputRequestTypeDef

def get_value() -> GetApplicationRevisionInputRequestTypeDef:
    return {
        "applicationName": ...,
        "revision": ...,
    }
# GetApplicationRevisionInputRequestTypeDef definition

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

GetApplicationRevisionOutputTypeDef#

# GetApplicationRevisionOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetApplicationRevisionOutputTypeDef

def get_value() -> GetApplicationRevisionOutputTypeDef:
    return {
        "applicationName": ...,
        "revision": ...,
        "revisionInfo": ...,
        "ResponseMetadata": ...,
    }
# 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 usage example

from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsOutputTypeDef

def get_value() -> ListApplicationRevisionsOutputTypeDef:
    return {
        "revisions": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# ListApplicationRevisionsOutputTypeDef definition

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

RegisterApplicationRevisionInputRequestTypeDef#

# RegisterApplicationRevisionInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import RegisterApplicationRevisionInputRequestTypeDef

def get_value() -> RegisterApplicationRevisionInputRequestTypeDef:
    return {
        "applicationName": ...,
        "revision": ...,
    }
# RegisterApplicationRevisionInputRequestTypeDef definition

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

RevisionInfoTypeDef#

# RevisionInfoTypeDef 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

LoadBalancerInfoTypeDef#

# LoadBalancerInfoTypeDef usage example

from mypy_boto3_codedeploy.type_defs import LoadBalancerInfoTypeDef

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

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

CreateDeploymentConfigInputRequestTypeDef#

# CreateDeploymentConfigInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentConfigInputRequestTypeDef

def get_value() -> CreateDeploymentConfigInputRequestTypeDef:
    return {
        "deploymentConfigName": ...,
    }
# CreateDeploymentConfigInputRequestTypeDef definition

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

DeploymentConfigInfoTypeDef#

# DeploymentConfigInfoTypeDef 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)
  1. See MinimumHealthyHostsTypeDef
  2. See ComputePlatformType
  3. See TrafficRoutingConfigTypeDef

CreateDeploymentInputRequestTypeDef#

# CreateDeploymentInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentInputRequestTypeDef

def get_value() -> CreateDeploymentInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
# CreateDeploymentInputRequestTypeDef definition

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

BatchGetDeploymentInstancesOutputTypeDef#

# BatchGetDeploymentInstancesOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentInstancesOutputTypeDef

def get_value() -> BatchGetDeploymentInstancesOutputTypeDef:
    return {
        "instancesSummary": ...,
        "errorMessage": ...,
        "ResponseMetadata": ...,
    }
# BatchGetDeploymentInstancesOutputTypeDef definition

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

GetDeploymentInstanceOutputTypeDef#

# GetDeploymentInstanceOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentInstanceOutputTypeDef

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

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

DeploymentTargetTypeDef#

# DeploymentTargetTypeDef 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 usage example

from mypy_boto3_codedeploy.type_defs import BatchGetApplicationRevisionsOutputTypeDef

def get_value() -> BatchGetApplicationRevisionsOutputTypeDef:
    return {
        "applicationName": ...,
        "errorMessage": ...,
        "revisions": ...,
        "ResponseMetadata": ...,
    }
# BatchGetApplicationRevisionsOutputTypeDef definition

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

CreateDeploymentGroupInputRequestTypeDef#

# CreateDeploymentGroupInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import CreateDeploymentGroupInputRequestTypeDef

def get_value() -> CreateDeploymentGroupInputRequestTypeDef:
    return {
        "applicationName": ...,
        "deploymentGroupName": ...,
        "serviceRoleArn": ...,
    }
# CreateDeploymentGroupInputRequestTypeDef definition

class CreateDeploymentGroupInputRequestTypeDef(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[TriggerConfigTypeDef]],  # (3)
    alarmConfiguration: NotRequired[AlarmConfigurationTypeDef],  # (4)
    autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationTypeDef],  # (5)
    outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType],  # (6)
    deploymentStyle: NotRequired[DeploymentStyleTypeDef],  # (7)
    blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef],  # (8)
    loadBalancerInfo: NotRequired[LoadBalancerInfoTypeDef],  # (9)
    ec2TagSet: NotRequired[EC2TagSetTypeDef],  # (10)
    ecsServices: NotRequired[Sequence[ECSServiceTypeDef]],  # (11)
    onPremisesTagSet: NotRequired[OnPremisesTagSetTypeDef],  # (12)
    tags: NotRequired[Sequence[TagTypeDef]],  # (13)
  1. See EC2TagFilterTypeDef
  2. See TagFilterTypeDef
  3. See TriggerConfigTypeDef
  4. See AlarmConfigurationTypeDef
  5. See AutoRollbackConfigurationTypeDef
  6. See OutdatedInstancesStrategyType
  7. See DeploymentStyleTypeDef
  8. See BlueGreenDeploymentConfigurationTypeDef
  9. See LoadBalancerInfoTypeDef
  10. See EC2TagSetTypeDef
  11. See ECSServiceTypeDef
  12. See OnPremisesTagSetTypeDef
  13. See TagTypeDef

DeploymentGroupInfoTypeDef#

# DeploymentGroupInfoTypeDef 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[TriggerConfigTypeDef]],  # (5)
    alarmConfiguration: NotRequired[AlarmConfigurationTypeDef],  # (6)
    autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationTypeDef],  # (7)
    deploymentStyle: NotRequired[DeploymentStyleTypeDef],  # (8)
    outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType],  # (9)
    blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef],  # (10)
    loadBalancerInfo: NotRequired[LoadBalancerInfoTypeDef],  # (11)
    lastSuccessfulDeployment: NotRequired[LastDeploymentInfoTypeDef],  # (12)
    lastAttemptedDeployment: NotRequired[LastDeploymentInfoTypeDef],  # (12)
    ec2TagSet: NotRequired[EC2TagSetTypeDef],  # (14)
    onPremisesTagSet: NotRequired[OnPremisesTagSetTypeDef],  # (15)
    computePlatform: NotRequired[ComputePlatformType],  # (16)
    ecsServices: NotRequired[List[ECSServiceTypeDef]],  # (17)
  1. See EC2TagFilterTypeDef
  2. See TagFilterTypeDef
  3. See AutoScalingGroupTypeDef
  4. See RevisionLocationTypeDef
  5. See TriggerConfigTypeDef
  6. See AlarmConfigurationTypeDef
  7. See AutoRollbackConfigurationTypeDef
  8. See DeploymentStyleTypeDef
  9. See OutdatedInstancesStrategyType
  10. See BlueGreenDeploymentConfigurationTypeDef
  11. See LoadBalancerInfoTypeDef
  12. See LastDeploymentInfoTypeDef
  13. See LastDeploymentInfoTypeDef
  14. See EC2TagSetTypeDef
  15. See OnPremisesTagSetTypeDef
  16. See ComputePlatformType
  17. See ECSServiceTypeDef

DeploymentInfoTypeDef#

# DeploymentInfoTypeDef 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[AutoRollbackConfigurationTypeDef],  # (7)
    updateOutdatedInstancesOnly: NotRequired[bool],
    rollbackInfo: NotRequired[RollbackInfoTypeDef],  # (8)
    deploymentStyle: NotRequired[DeploymentStyleTypeDef],  # (9)
    targetInstances: NotRequired[TargetInstancesTypeDef],  # (10)
    instanceTerminationWaitTimeStarted: NotRequired[bool],
    blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef],  # (11)
    loadBalancerInfo: NotRequired[LoadBalancerInfoTypeDef],  # (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[AlarmConfigurationTypeDef],  # (16)
  1. See RevisionLocationTypeDef
  2. See RevisionLocationTypeDef
  3. See DeploymentStatusType
  4. See ErrorInformationTypeDef
  5. See DeploymentOverviewTypeDef
  6. See DeploymentCreatorType
  7. See AutoRollbackConfigurationTypeDef
  8. See RollbackInfoTypeDef
  9. See DeploymentStyleTypeDef
  10. See TargetInstancesTypeDef
  11. See BlueGreenDeploymentConfigurationTypeDef
  12. See LoadBalancerInfoTypeDef
  13. See FileExistsBehaviorType
  14. See ComputePlatformType
  15. See RelatedDeploymentsTypeDef
  16. See AlarmConfigurationTypeDef

UpdateDeploymentGroupInputRequestTypeDef#

# UpdateDeploymentGroupInputRequestTypeDef usage example

from mypy_boto3_codedeploy.type_defs import UpdateDeploymentGroupInputRequestTypeDef

def get_value() -> UpdateDeploymentGroupInputRequestTypeDef:
    return {
        "applicationName": ...,
        "currentDeploymentGroupName": ...,
    }
# UpdateDeploymentGroupInputRequestTypeDef definition

class UpdateDeploymentGroupInputRequestTypeDef(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[TriggerConfigTypeDef]],  # (3)
    alarmConfiguration: NotRequired[AlarmConfigurationTypeDef],  # (4)
    autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationTypeDef],  # (5)
    outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType],  # (6)
    deploymentStyle: NotRequired[DeploymentStyleTypeDef],  # (7)
    blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef],  # (8)
    loadBalancerInfo: NotRequired[LoadBalancerInfoTypeDef],  # (9)
    ec2TagSet: NotRequired[EC2TagSetTypeDef],  # (10)
    ecsServices: NotRequired[Sequence[ECSServiceTypeDef]],  # (11)
    onPremisesTagSet: NotRequired[OnPremisesTagSetTypeDef],  # (12)
  1. See EC2TagFilterTypeDef
  2. See TagFilterTypeDef
  3. See TriggerConfigTypeDef
  4. See AlarmConfigurationTypeDef
  5. See AutoRollbackConfigurationTypeDef
  6. See OutdatedInstancesStrategyType
  7. See DeploymentStyleTypeDef
  8. See BlueGreenDeploymentConfigurationTypeDef
  9. See LoadBalancerInfoTypeDef
  10. See EC2TagSetTypeDef
  11. See ECSServiceTypeDef
  12. See OnPremisesTagSetTypeDef

GetDeploymentConfigOutputTypeDef#

# GetDeploymentConfigOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentConfigOutputTypeDef

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

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

BatchGetDeploymentTargetsOutputTypeDef#

# BatchGetDeploymentTargetsOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentTargetsOutputTypeDef

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

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

GetDeploymentTargetOutputTypeDef#

# GetDeploymentTargetOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentTargetOutputTypeDef

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

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

BatchGetDeploymentGroupsOutputTypeDef#

# BatchGetDeploymentGroupsOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentGroupsOutputTypeDef

def get_value() -> BatchGetDeploymentGroupsOutputTypeDef:
    return {
        "deploymentGroupsInfo": ...,
        "errorMessage": ...,
        "ResponseMetadata": ...,
    }
# BatchGetDeploymentGroupsOutputTypeDef definition

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

GetDeploymentGroupOutputTypeDef#

# GetDeploymentGroupOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentGroupOutputTypeDef

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

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

BatchGetDeploymentsOutputTypeDef#

# BatchGetDeploymentsOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentsOutputTypeDef

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

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

GetDeploymentOutputTypeDef#

# GetDeploymentOutputTypeDef usage example

from mypy_boto3_codedeploy.type_defs import GetDeploymentOutputTypeDef

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

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