Skip to content

Typed dictionaries

Index > CodeDeploy > Typed dictionaries

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

TagTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],

AlarmTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import AlarmTypeDef

def get_value() -> AlarmTypeDef:
    return {
        "name": ...,
    }
Definition
class AlarmTypeDef(TypedDict):
    name: NotRequired[str],

AppSpecContentTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import AppSpecContentTypeDef

def get_value() -> AppSpecContentTypeDef:
    return {
        "content": ...,
    }
Definition
class AppSpecContentTypeDef(TypedDict):
    content: NotRequired[str],
    sha256: NotRequired[str],

ApplicationInfoTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ApplicationInfoTypeDef

def get_value() -> ApplicationInfoTypeDef:
    return {
        "applicationId": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import AutoRollbackConfigurationTypeDef

def get_value() -> AutoRollbackConfigurationTypeDef:
    return {
        "enabled": ...,
    }
Definition
class AutoRollbackConfigurationTypeDef(TypedDict):
    enabled: NotRequired[bool],
    events: NotRequired[List[AutoRollbackEventType]],  # (1)
  1. See AutoRollbackEventType

AutoScalingGroupTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import AutoScalingGroupTypeDef

def get_value() -> AutoScalingGroupTypeDef:
    return {
        "name": ...,
    }
Definition
class AutoScalingGroupTypeDef(TypedDict):
    name: NotRequired[str],
    hook: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

BatchGetApplicationsInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import BatchGetApplicationsInputRequestTypeDef

def get_value() -> BatchGetApplicationsInputRequestTypeDef:
    return {
        "applicationNames": ...,
    }
Definition
class BatchGetApplicationsInputRequestTypeDef(TypedDict):
    applicationNames: Sequence[str],

BatchGetDeploymentGroupsInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentGroupsInputRequestTypeDef

def get_value() -> BatchGetDeploymentGroupsInputRequestTypeDef:
    return {
        "applicationName": ...,
        "deploymentGroupNames": ...,
    }
Definition
class BatchGetDeploymentGroupsInputRequestTypeDef(TypedDict):
    applicationName: str,
    deploymentGroupNames: Sequence[str],

BatchGetDeploymentInstancesInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentInstancesInputRequestTypeDef

def get_value() -> BatchGetDeploymentInstancesInputRequestTypeDef:
    return {
        "deploymentId": ...,
        "instanceIds": ...,
    }
Definition
class BatchGetDeploymentInstancesInputRequestTypeDef(TypedDict):
    deploymentId: str,
    instanceIds: Sequence[str],

BatchGetDeploymentTargetsInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentTargetsInputRequestTypeDef

def get_value() -> BatchGetDeploymentTargetsInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class BatchGetDeploymentTargetsInputRequestTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    targetIds: NotRequired[Sequence[str]],

BatchGetDeploymentsInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentsInputRequestTypeDef

def get_value() -> BatchGetDeploymentsInputRequestTypeDef:
    return {
        "deploymentIds": ...,
    }
Definition
class BatchGetDeploymentsInputRequestTypeDef(TypedDict):
    deploymentIds: Sequence[str],

BatchGetOnPremisesInstancesInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import BatchGetOnPremisesInstancesInputRequestTypeDef

def get_value() -> BatchGetOnPremisesInstancesInputRequestTypeDef:
    return {
        "instanceNames": ...,
    }
Definition
class BatchGetOnPremisesInstancesInputRequestTypeDef(TypedDict):
    instanceNames: Sequence[str],

BlueInstanceTerminationOptionTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import BlueInstanceTerminationOptionTypeDef

def get_value() -> BlueInstanceTerminationOptionTypeDef:
    return {
        "action": ...,
    }
Definition
class BlueInstanceTerminationOptionTypeDef(TypedDict):
    action: NotRequired[InstanceActionType],  # (1)
    terminationWaitTimeInMinutes: NotRequired[int],
  1. See InstanceActionType

DeploymentReadyOptionTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DeploymentReadyOptionTypeDef

def get_value() -> DeploymentReadyOptionTypeDef:
    return {
        "actionOnTimeout": ...,
    }
Definition
class DeploymentReadyOptionTypeDef(TypedDict):
    actionOnTimeout: NotRequired[DeploymentReadyActionType],  # (1)
    waitTimeInMinutes: NotRequired[int],
  1. See DeploymentReadyActionType

GreenFleetProvisioningOptionTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GreenFleetProvisioningOptionTypeDef

def get_value() -> GreenFleetProvisioningOptionTypeDef:
    return {
        "action": ...,
    }
Definition
class GreenFleetProvisioningOptionTypeDef(TypedDict):
    action: NotRequired[GreenFleetProvisioningActionType],  # (1)
  1. See GreenFleetProvisioningActionType

ContinueDeploymentInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ContinueDeploymentInputRequestTypeDef

def get_value() -> ContinueDeploymentInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class ContinueDeploymentInputRequestTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    deploymentWaitType: NotRequired[DeploymentWaitTypeType],  # (1)
  1. See DeploymentWaitTypeType

MinimumHealthyHostsTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import MinimumHealthyHostsTypeDef

def get_value() -> MinimumHealthyHostsTypeDef:
    return {
        "type": ...,
    }
Definition
class MinimumHealthyHostsTypeDef(TypedDict):
    type: NotRequired[MinimumHealthyHostsTypeType],  # (1)
    value: NotRequired[int],
  1. See MinimumHealthyHostsTypeType

DeploymentStyleTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DeploymentStyleTypeDef

def get_value() -> DeploymentStyleTypeDef:
    return {
        "deploymentType": ...,
    }
Definition
class DeploymentStyleTypeDef(TypedDict):
    deploymentType: NotRequired[DeploymentTypeType],  # (1)
    deploymentOption: NotRequired[DeploymentOptionType],  # (2)
  1. See DeploymentTypeType
  2. See DeploymentOptionType

EC2TagFilterTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import EC2TagFilterTypeDef

def get_value() -> EC2TagFilterTypeDef:
    return {
        "Key": ...,
    }
Definition
class EC2TagFilterTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],
    Type: NotRequired[EC2TagFilterTypeType],  # (1)
  1. See EC2TagFilterTypeType

ECSServiceTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ECSServiceTypeDef

def get_value() -> ECSServiceTypeDef:
    return {
        "serviceName": ...,
    }
Definition
class ECSServiceTypeDef(TypedDict):
    serviceName: NotRequired[str],
    clusterName: NotRequired[str],

TagFilterTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import TagFilterTypeDef

def get_value() -> TagFilterTypeDef:
    return {
        "Key": ...,
    }
Definition
class TagFilterTypeDef(TypedDict):
    Key: NotRequired[str],
    Value: NotRequired[str],
    Type: NotRequired[TagFilterTypeType],  # (1)
  1. See TagFilterTypeType

TriggerConfigTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import TriggerConfigTypeDef

def get_value() -> TriggerConfigTypeDef:
    return {
        "triggerName": ...,
    }
Definition
class TriggerConfigTypeDef(TypedDict):
    triggerName: NotRequired[str],
    triggerTargetArn: NotRequired[str],
    triggerEvents: NotRequired[List[TriggerEventTypeType]],  # (1)
  1. See TriggerEventTypeType

DeleteApplicationInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DeleteApplicationInputRequestTypeDef

def get_value() -> DeleteApplicationInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
Definition
class DeleteApplicationInputRequestTypeDef(TypedDict):
    applicationName: str,

DeleteDeploymentConfigInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DeleteDeploymentConfigInputRequestTypeDef

def get_value() -> DeleteDeploymentConfigInputRequestTypeDef:
    return {
        "deploymentConfigName": ...,
    }
Definition
class DeleteDeploymentConfigInputRequestTypeDef(TypedDict):
    deploymentConfigName: str,

DeleteDeploymentGroupInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DeleteDeploymentGroupInputRequestTypeDef

def get_value() -> DeleteDeploymentGroupInputRequestTypeDef:
    return {
        "applicationName": ...,
        "deploymentGroupName": ...,
    }
Definition
class DeleteDeploymentGroupInputRequestTypeDef(TypedDict):
    applicationName: str,
    deploymentGroupName: str,

DeleteGitHubAccountTokenInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DeleteGitHubAccountTokenInputRequestTypeDef

def get_value() -> DeleteGitHubAccountTokenInputRequestTypeDef:
    return {
        "tokenName": ...,
    }
Definition
class DeleteGitHubAccountTokenInputRequestTypeDef(TypedDict):
    tokenName: NotRequired[str],

DeleteResourcesByExternalIdInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DeleteResourcesByExternalIdInputRequestTypeDef

def get_value() -> DeleteResourcesByExternalIdInputRequestTypeDef:
    return {
        "externalId": ...,
    }
Definition
class DeleteResourcesByExternalIdInputRequestTypeDef(TypedDict):
    externalId: NotRequired[str],

LastDeploymentInfoTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import LastDeploymentInfoTypeDef

def get_value() -> LastDeploymentInfoTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class LastDeploymentInfoTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    status: NotRequired[DeploymentStatusType],  # (1)
    endTime: NotRequired[datetime],
    createTime: NotRequired[datetime],
  1. See DeploymentStatusType

DeploymentOverviewTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DeploymentOverviewTypeDef

def get_value() -> DeploymentOverviewTypeDef:
    return {
        "Pending": ...,
    }
Definition
class DeploymentOverviewTypeDef(TypedDict):
    Pending: NotRequired[int],
    InProgress: NotRequired[int],
    Succeeded: NotRequired[int],
    Failed: NotRequired[int],
    Skipped: NotRequired[int],
    Ready: NotRequired[int],

ErrorInformationTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ErrorInformationTypeDef

def get_value() -> ErrorInformationTypeDef:
    return {
        "code": ...,
    }
Definition
class ErrorInformationTypeDef(TypedDict):
    code: NotRequired[ErrorCodeType],  # (1)
    message: NotRequired[str],
  1. See ErrorCodeType

RelatedDeploymentsTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import RelatedDeploymentsTypeDef

def get_value() -> RelatedDeploymentsTypeDef:
    return {
        "autoUpdateOutdatedInstancesRootDeploymentId": ...,
    }
Definition
class RelatedDeploymentsTypeDef(TypedDict):
    autoUpdateOutdatedInstancesRootDeploymentId: NotRequired[str],
    autoUpdateOutdatedInstancesDeploymentIds: NotRequired[List[str]],

RollbackInfoTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import RollbackInfoTypeDef

def get_value() -> RollbackInfoTypeDef:
    return {
        "rollbackDeploymentId": ...,
    }
Definition
class RollbackInfoTypeDef(TypedDict):
    rollbackDeploymentId: NotRequired[str],
    rollbackTriggeringDeploymentId: NotRequired[str],
    rollbackMessage: NotRequired[str],

DeregisterOnPremisesInstanceInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DeregisterOnPremisesInstanceInputRequestTypeDef

def get_value() -> DeregisterOnPremisesInstanceInputRequestTypeDef:
    return {
        "instanceName": ...,
    }
Definition
class DeregisterOnPremisesInstanceInputRequestTypeDef(TypedDict):
    instanceName: str,

DiagnosticsTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DiagnosticsTypeDef

def get_value() -> DiagnosticsTypeDef:
    return {
        "errorCode": ...,
    }
Definition
class DiagnosticsTypeDef(TypedDict):
    errorCode: NotRequired[LifecycleErrorCodeType],  # (1)
    scriptName: NotRequired[str],
    message: NotRequired[str],
    logTail: NotRequired[str],
  1. See LifecycleErrorCodeType

TargetGroupInfoTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import TargetGroupInfoTypeDef

def get_value() -> TargetGroupInfoTypeDef:
    return {
        "name": ...,
    }
Definition
class TargetGroupInfoTypeDef(TypedDict):
    name: NotRequired[str],

ELBInfoTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ELBInfoTypeDef

def get_value() -> ELBInfoTypeDef:
    return {
        "name": ...,
    }
Definition
class ELBInfoTypeDef(TypedDict):
    name: NotRequired[str],

GenericRevisionInfoTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GenericRevisionInfoTypeDef

def get_value() -> GenericRevisionInfoTypeDef:
    return {
        "description": ...,
    }
Definition
class GenericRevisionInfoTypeDef(TypedDict):
    description: NotRequired[str],
    deploymentGroups: NotRequired[List[str]],
    firstUsedTime: NotRequired[datetime],
    lastUsedTime: NotRequired[datetime],
    registerTime: NotRequired[datetime],

GetApplicationInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GetApplicationInputRequestTypeDef

def get_value() -> GetApplicationInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
Definition
class GetApplicationInputRequestTypeDef(TypedDict):
    applicationName: str,

GetDeploymentConfigInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GetDeploymentConfigInputRequestTypeDef

def get_value() -> GetDeploymentConfigInputRequestTypeDef:
    return {
        "deploymentConfigName": ...,
    }
Definition
class GetDeploymentConfigInputRequestTypeDef(TypedDict):
    deploymentConfigName: str,

GetDeploymentGroupInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GetDeploymentGroupInputRequestTypeDef

def get_value() -> GetDeploymentGroupInputRequestTypeDef:
    return {
        "applicationName": ...,
        "deploymentGroupName": ...,
    }
Definition
class GetDeploymentGroupInputRequestTypeDef(TypedDict):
    applicationName: str,
    deploymentGroupName: str,

WaiterConfigTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
Definition
class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

GetDeploymentInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GetDeploymentInputRequestTypeDef

def get_value() -> GetDeploymentInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class GetDeploymentInputRequestTypeDef(TypedDict):
    deploymentId: str,

GetDeploymentInstanceInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GetDeploymentInstanceInputRequestTypeDef

def get_value() -> GetDeploymentInstanceInputRequestTypeDef:
    return {
        "deploymentId": ...,
        "instanceId": ...,
    }
Definition
class GetDeploymentInstanceInputRequestTypeDef(TypedDict):
    deploymentId: str,
    instanceId: str,

GetDeploymentTargetInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GetDeploymentTargetInputRequestTypeDef

def get_value() -> GetDeploymentTargetInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class GetDeploymentTargetInputRequestTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    targetId: NotRequired[str],

GetOnPremisesInstanceInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GetOnPremisesInstanceInputRequestTypeDef

def get_value() -> GetOnPremisesInstanceInputRequestTypeDef:
    return {
        "instanceName": ...,
    }
Definition
class GetOnPremisesInstanceInputRequestTypeDef(TypedDict):
    instanceName: str,

GitHubLocationTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GitHubLocationTypeDef

def get_value() -> GitHubLocationTypeDef:
    return {
        "repository": ...,
    }
Definition
class GitHubLocationTypeDef(TypedDict):
    repository: NotRequired[str],
    commitId: NotRequired[str],

LambdaFunctionInfoTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import LambdaFunctionInfoTypeDef

def get_value() -> LambdaFunctionInfoTypeDef:
    return {
        "functionName": ...,
    }
Definition
class LambdaFunctionInfoTypeDef(TypedDict):
    functionName: NotRequired[str],
    functionAlias: NotRequired[str],
    currentVersion: NotRequired[str],
    targetVersion: NotRequired[str],
    targetVersionWeight: NotRequired[float],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
Definition
class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

ListApplicationRevisionsInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsInputRequestTypeDef

def get_value() -> ListApplicationRevisionsInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
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

ListApplicationsInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListApplicationsInputRequestTypeDef

def get_value() -> ListApplicationsInputRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class ListApplicationsInputRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],

ListDeploymentConfigsInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsInputRequestTypeDef

def get_value() -> ListDeploymentConfigsInputRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class ListDeploymentConfigsInputRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],

ListDeploymentGroupsInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsInputRequestTypeDef

def get_value() -> ListDeploymentGroupsInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
Definition
class ListDeploymentGroupsInputRequestTypeDef(TypedDict):
    applicationName: str,
    nextToken: NotRequired[str],

ListDeploymentInstancesInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesInputRequestTypeDef

def get_value() -> ListDeploymentInstancesInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
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

ListDeploymentTargetsInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsInputRequestTypeDef

def get_value() -> ListDeploymentTargetsInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class ListDeploymentTargetsInputRequestTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    nextToken: NotRequired[str],
    targetFilters: NotRequired[Mapping[TargetFilterNameType, Sequence[str]]],  # (1)
  1. See TargetFilterNameType

TimeRangeTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import TimeRangeTypeDef

def get_value() -> TimeRangeTypeDef:
    return {
        "start": ...,
    }
Definition
class TimeRangeTypeDef(TypedDict):
    start: NotRequired[Union[datetime, str]],
    end: NotRequired[Union[datetime, str]],

ListGitHubAccountTokenNamesInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesInputRequestTypeDef

def get_value() -> ListGitHubAccountTokenNamesInputRequestTypeDef:
    return {
        "nextToken": ...,
    }
Definition
class ListGitHubAccountTokenNamesInputRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],

ListTagsForResourceInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListTagsForResourceInputRequestTypeDef

def get_value() -> ListTagsForResourceInputRequestTypeDef:
    return {
        "ResourceArn": ...,
    }
Definition
class ListTagsForResourceInputRequestTypeDef(TypedDict):
    ResourceArn: str,
    NextToken: NotRequired[str],

PutLifecycleEventHookExecutionStatusInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import PutLifecycleEventHookExecutionStatusInputRequestTypeDef

def get_value() -> PutLifecycleEventHookExecutionStatusInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class PutLifecycleEventHookExecutionStatusInputRequestTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    lifecycleEventHookExecutionId: NotRequired[str],
    status: NotRequired[LifecycleEventStatusType],  # (1)
  1. See LifecycleEventStatusType

RawStringTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import RawStringTypeDef

def get_value() -> RawStringTypeDef:
    return {
        "content": ...,
    }
Definition
class RawStringTypeDef(TypedDict):
    content: NotRequired[str],
    sha256: NotRequired[str],

RegisterOnPremisesInstanceInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import RegisterOnPremisesInstanceInputRequestTypeDef

def get_value() -> RegisterOnPremisesInstanceInputRequestTypeDef:
    return {
        "instanceName": ...,
    }
Definition
class RegisterOnPremisesInstanceInputRequestTypeDef(TypedDict):
    instanceName: str,
    iamSessionArn: NotRequired[str],
    iamUserArn: NotRequired[str],

S3LocationTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import S3LocationTypeDef

def get_value() -> S3LocationTypeDef:
    return {
        "bucket": ...,
    }
Definition
class S3LocationTypeDef(TypedDict):
    bucket: NotRequired[str],
    key: NotRequired[str],
    bundleType: NotRequired[BundleTypeType],  # (1)
    version: NotRequired[str],
    eTag: NotRequired[str],
  1. See BundleTypeType

SkipWaitTimeForInstanceTerminationInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import SkipWaitTimeForInstanceTerminationInputRequestTypeDef

def get_value() -> SkipWaitTimeForInstanceTerminationInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class SkipWaitTimeForInstanceTerminationInputRequestTypeDef(TypedDict):
    deploymentId: NotRequired[str],

StopDeploymentInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import StopDeploymentInputRequestTypeDef

def get_value() -> StopDeploymentInputRequestTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class StopDeploymentInputRequestTypeDef(TypedDict):
    deploymentId: str,
    autoRollbackEnabled: NotRequired[bool],

TrafficRouteTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import TrafficRouteTypeDef

def get_value() -> TrafficRouteTypeDef:
    return {
        "listenerArns": ...,
    }
Definition
class TrafficRouteTypeDef(TypedDict):
    listenerArns: NotRequired[List[str]],

TimeBasedCanaryTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import TimeBasedCanaryTypeDef

def get_value() -> TimeBasedCanaryTypeDef:
    return {
        "canaryPercentage": ...,
    }
Definition
class TimeBasedCanaryTypeDef(TypedDict):
    canaryPercentage: NotRequired[int],
    canaryInterval: NotRequired[int],

TimeBasedLinearTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import TimeBasedLinearTypeDef

def get_value() -> TimeBasedLinearTypeDef:
    return {
        "linearPercentage": ...,
    }
Definition
class TimeBasedLinearTypeDef(TypedDict):
    linearPercentage: NotRequired[int],
    linearInterval: NotRequired[int],

UntagResourceInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import UntagResourceInputRequestTypeDef

def get_value() -> UntagResourceInputRequestTypeDef:
    return {
        "ResourceArn": ...,
        "TagKeys": ...,
    }
Definition
class UntagResourceInputRequestTypeDef(TypedDict):
    ResourceArn: str,
    TagKeys: Sequence[str],

UpdateApplicationInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import UpdateApplicationInputRequestTypeDef

def get_value() -> UpdateApplicationInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
Definition
class UpdateApplicationInputRequestTypeDef(TypedDict):
    applicationName: NotRequired[str],
    newApplicationName: NotRequired[str],

AddTagsToOnPremisesInstancesInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import AddTagsToOnPremisesInstancesInputRequestTypeDef

def get_value() -> AddTagsToOnPremisesInstancesInputRequestTypeDef:
    return {
        "tags": ...,
        "instanceNames": ...,
    }
Definition
class AddTagsToOnPremisesInstancesInputRequestTypeDef(TypedDict):
    tags: Sequence[TagTypeDef],  # (1)
    instanceNames: Sequence[str],
  1. See TagTypeDef

CreateApplicationInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import CreateApplicationInputRequestTypeDef

def get_value() -> CreateApplicationInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
Definition
class CreateApplicationInputRequestTypeDef(TypedDict):
    applicationName: str,
    computePlatform: NotRequired[ComputePlatformType],  # (1)
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See ComputePlatformType
  2. See TagTypeDef

InstanceInfoTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import InstanceInfoTypeDef

def get_value() -> InstanceInfoTypeDef:
    return {
        "instanceName": ...,
    }
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

RemoveTagsFromOnPremisesInstancesInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import RemoveTagsFromOnPremisesInstancesInputRequestTypeDef

def get_value() -> RemoveTagsFromOnPremisesInstancesInputRequestTypeDef:
    return {
        "tags": ...,
        "instanceNames": ...,
    }
Definition
class RemoveTagsFromOnPremisesInstancesInputRequestTypeDef(TypedDict):
    tags: Sequence[TagTypeDef],  # (1)
    instanceNames: Sequence[str],
  1. See TagTypeDef

TagResourceInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import TagResourceInputRequestTypeDef

def get_value() -> TagResourceInputRequestTypeDef:
    return {
        "ResourceArn": ...,
        "Tags": ...,
    }
Definition
class TagResourceInputRequestTypeDef(TypedDict):
    ResourceArn: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

AlarmConfigurationTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import AlarmConfigurationTypeDef

def get_value() -> AlarmConfigurationTypeDef:
    return {
        "enabled": ...,
    }
Definition
class AlarmConfigurationTypeDef(TypedDict):
    enabled: NotRequired[bool],
    ignorePollAlarmFailure: NotRequired[bool],
    alarms: NotRequired[List[AlarmTypeDef]],  # (1)
  1. See AlarmTypeDef

BatchGetApplicationsOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import BatchGetApplicationsOutputTypeDef

def get_value() -> BatchGetApplicationsOutputTypeDef:
    return {
        "applicationsInfo": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchGetApplicationsOutputTypeDef(TypedDict):
    applicationsInfo: List[ApplicationInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApplicationInfoTypeDef
  2. See ResponseMetadataTypeDef

CreateApplicationOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import CreateApplicationOutputTypeDef

def get_value() -> CreateApplicationOutputTypeDef:
    return {
        "applicationId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateApplicationOutputTypeDef(TypedDict):
    applicationId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDeploymentConfigOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentConfigOutputTypeDef

def get_value() -> CreateDeploymentConfigOutputTypeDef:
    return {
        "deploymentConfigId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDeploymentConfigOutputTypeDef(TypedDict):
    deploymentConfigId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDeploymentGroupOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentGroupOutputTypeDef

def get_value() -> CreateDeploymentGroupOutputTypeDef:
    return {
        "deploymentGroupId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDeploymentGroupOutputTypeDef(TypedDict):
    deploymentGroupId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDeploymentOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentOutputTypeDef

def get_value() -> CreateDeploymentOutputTypeDef:
    return {
        "deploymentId": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDeploymentOutputTypeDef(TypedDict):
    deploymentId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DeleteDeploymentGroupOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DeleteDeploymentGroupOutputTypeDef

def get_value() -> DeleteDeploymentGroupOutputTypeDef:
    return {
        "hooksNotCleanedUp": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteDeploymentGroupOutputTypeDef(TypedDict):
    hooksNotCleanedUp: List[AutoScalingGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingGroupTypeDef
  2. See ResponseMetadataTypeDef

DeleteGitHubAccountTokenOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import DeleteGitHubAccountTokenOutputTypeDef

def get_value() -> DeleteGitHubAccountTokenOutputTypeDef:
    return {
        "tokenName": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteGitHubAccountTokenOutputTypeDef(TypedDict):
    tokenName: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

GetApplicationOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GetApplicationOutputTypeDef

def get_value() -> GetApplicationOutputTypeDef:
    return {
        "application": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetApplicationOutputTypeDef(TypedDict):
    application: ApplicationInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ApplicationInfoTypeDef
  2. See ResponseMetadataTypeDef

ListApplicationsOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListApplicationsOutputTypeDef

def get_value() -> ListApplicationsOutputTypeDef:
    return {
        "applications": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListApplicationsOutputTypeDef(TypedDict):
    applications: List[str],
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListDeploymentConfigsOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsOutputTypeDef

def get_value() -> ListDeploymentConfigsOutputTypeDef:
    return {
        "deploymentConfigsList": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDeploymentConfigsOutputTypeDef(TypedDict):
    deploymentConfigsList: List[str],
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListDeploymentGroupsOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsOutputTypeDef

def get_value() -> ListDeploymentGroupsOutputTypeDef:
    return {
        "applicationName": ...,
        "deploymentGroups": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDeploymentGroupsOutputTypeDef(TypedDict):
    applicationName: str,
    deploymentGroups: List[str],
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListDeploymentInstancesOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesOutputTypeDef

def get_value() -> ListDeploymentInstancesOutputTypeDef:
    return {
        "instancesList": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDeploymentInstancesOutputTypeDef(TypedDict):
    instancesList: List[str],
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListDeploymentTargetsOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsOutputTypeDef

def get_value() -> ListDeploymentTargetsOutputTypeDef:
    return {
        "targetIds": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDeploymentTargetsOutputTypeDef(TypedDict):
    targetIds: List[str],
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListDeploymentsOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentsOutputTypeDef

def get_value() -> ListDeploymentsOutputTypeDef:
    return {
        "deployments": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDeploymentsOutputTypeDef(TypedDict):
    deployments: List[str],
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListGitHubAccountTokenNamesOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesOutputTypeDef

def get_value() -> ListGitHubAccountTokenNamesOutputTypeDef:
    return {
        "tokenNameList": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListGitHubAccountTokenNamesOutputTypeDef(TypedDict):
    tokenNameList: List[str],
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListOnPremisesInstancesOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesOutputTypeDef

def get_value() -> ListOnPremisesInstancesOutputTypeDef:
    return {
        "instanceNames": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListOnPremisesInstancesOutputTypeDef(TypedDict):
    instanceNames: List[str],
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsForResourceOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListTagsForResourceOutputTypeDef

def get_value() -> ListTagsForResourceOutputTypeDef:
    return {
        "Tags": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceOutputTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

PutLifecycleEventHookExecutionStatusOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import PutLifecycleEventHookExecutionStatusOutputTypeDef

def get_value() -> PutLifecycleEventHookExecutionStatusOutputTypeDef:
    return {
        "lifecycleEventHookExecutionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class PutLifecycleEventHookExecutionStatusOutputTypeDef(TypedDict):
    lifecycleEventHookExecutionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

StopDeploymentOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import StopDeploymentOutputTypeDef

def get_value() -> StopDeploymentOutputTypeDef:
    return {
        "status": ...,
        "statusMessage": ...,
        "ResponseMetadata": ...,
    }
Definition
class StopDeploymentOutputTypeDef(TypedDict):
    status: StopStatusType,  # (1)
    statusMessage: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See StopStatusType
  2. See ResponseMetadataTypeDef

UpdateDeploymentGroupOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import UpdateDeploymentGroupOutputTypeDef

def get_value() -> UpdateDeploymentGroupOutputTypeDef:
    return {
        "hooksNotCleanedUp": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateDeploymentGroupOutputTypeDef(TypedDict):
    hooksNotCleanedUp: List[AutoScalingGroupTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AutoScalingGroupTypeDef
  2. See ResponseMetadataTypeDef

BlueGreenDeploymentConfigurationTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import BlueGreenDeploymentConfigurationTypeDef

def get_value() -> BlueGreenDeploymentConfigurationTypeDef:
    return {
        "terminateBlueInstancesOnDeploymentSuccess": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import EC2TagSetTypeDef

def get_value() -> EC2TagSetTypeDef:
    return {
        "ec2TagSetList": ...,
    }
Definition
class EC2TagSetTypeDef(TypedDict):
    ec2TagSetList: NotRequired[List[List[EC2TagFilterTypeDef]]],  # (1)
  1. See EC2TagFilterTypeDef

ListOnPremisesInstancesInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesInputRequestTypeDef

def get_value() -> ListOnPremisesInstancesInputRequestTypeDef:
    return {
        "registrationStatus": ...,
    }
Definition
class ListOnPremisesInstancesInputRequestTypeDef(TypedDict):
    registrationStatus: NotRequired[RegistrationStatusType],  # (1)
    tagFilters: NotRequired[Sequence[TagFilterTypeDef]],  # (2)
    nextToken: NotRequired[str],
  1. See RegistrationStatusType
  2. See TagFilterTypeDef

OnPremisesTagSetTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import OnPremisesTagSetTypeDef

def get_value() -> OnPremisesTagSetTypeDef:
    return {
        "onPremisesTagSetList": ...,
    }
Definition
class OnPremisesTagSetTypeDef(TypedDict):
    onPremisesTagSetList: NotRequired[List[List[TagFilterTypeDef]]],  # (1)
  1. See TagFilterTypeDef

LifecycleEventTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import LifecycleEventTypeDef

def get_value() -> LifecycleEventTypeDef:
    return {
        "lifecycleEventName": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import ECSTaskSetTypeDef

def get_value() -> ECSTaskSetTypeDef:
    return {
        "identifer": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import GetDeploymentInputDeploymentSuccessfulWaitTypeDef

def get_value() -> GetDeploymentInputDeploymentSuccessfulWaitTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class GetDeploymentInputDeploymentSuccessfulWaitTypeDef(TypedDict):
    deploymentId: str,
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (1)
  1. See WaiterConfigTypeDef

ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef

def get_value() -> ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef:
    return {
        "applicationName": ...,
    }
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

ListApplicationsInputListApplicationsPaginateTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListApplicationsInputListApplicationsPaginateTypeDef

def get_value() -> ListApplicationsInputListApplicationsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListApplicationsInputListApplicationsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef

def get_value() -> ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef

def get_value() -> ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef:
    return {
        "applicationName": ...,
    }
Definition
class ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef(TypedDict):
    applicationName: str,
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef

def get_value() -> ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef:
    return {
        "deploymentId": ...,
    }
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

ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef

def get_value() -> ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef:
    return {
        "deploymentId": ...,
    }
Definition
class ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef(TypedDict):
    deploymentId: NotRequired[str],
    targetFilters: NotRequired[Mapping[TargetFilterNameType, Sequence[str]]],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TargetFilterNameType
  2. See PaginatorConfigTypeDef

ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef

def get_value() -> ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }
Definition
class ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef(TypedDict):
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef

def get_value() -> ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef:
    return {
        "registrationStatus": ...,
    }
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

ListDeploymentsInputListDeploymentsPaginateTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentsInputListDeploymentsPaginateTypeDef

def get_value() -> ListDeploymentsInputListDeploymentsPaginateTypeDef:
    return {
        "applicationName": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import ListDeploymentsInputRequestTypeDef

def get_value() -> ListDeploymentsInputRequestTypeDef:
    return {
        "applicationName": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import RevisionLocationTypeDef

def get_value() -> RevisionLocationTypeDef:
    return {
        "revisionType": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import TargetGroupPairInfoTypeDef

def get_value() -> TargetGroupPairInfoTypeDef:
    return {
        "targetGroups": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import TrafficRoutingConfigTypeDef

def get_value() -> TrafficRoutingConfigTypeDef:
    return {
        "type": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import BatchGetOnPremisesInstancesOutputTypeDef

def get_value() -> BatchGetOnPremisesInstancesOutputTypeDef:
    return {
        "instanceInfos": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchGetOnPremisesInstancesOutputTypeDef(TypedDict):
    instanceInfos: List[InstanceInfoTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceInfoTypeDef
  2. See ResponseMetadataTypeDef

GetOnPremisesInstanceOutputTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GetOnPremisesInstanceOutputTypeDef

def get_value() -> GetOnPremisesInstanceOutputTypeDef:
    return {
        "instanceInfo": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetOnPremisesInstanceOutputTypeDef(TypedDict):
    instanceInfo: InstanceInfoTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See InstanceInfoTypeDef
  2. See ResponseMetadataTypeDef

TargetInstancesTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import TargetInstancesTypeDef

def get_value() -> TargetInstancesTypeDef:
    return {
        "tagFilters": ...,
    }
Definition
class TargetInstancesTypeDef(TypedDict):
    tagFilters: NotRequired[List[EC2TagFilterTypeDef]],  # (1)
    autoScalingGroups: NotRequired[List[str]],
    ec2TagSet: NotRequired[EC2TagSetTypeDef],  # (2)
  1. See EC2TagFilterTypeDef
  2. See EC2TagSetTypeDef

CloudFormationTargetTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import CloudFormationTargetTypeDef

def get_value() -> CloudFormationTargetTypeDef:
    return {
        "deploymentId": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import InstanceSummaryTypeDef

def get_value() -> InstanceSummaryTypeDef:
    return {
        "deploymentId": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import InstanceTargetTypeDef

def get_value() -> InstanceTargetTypeDef:
    return {
        "deploymentId": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import LambdaTargetTypeDef

def get_value() -> LambdaTargetTypeDef:
    return {
        "deploymentId": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import ECSTargetTypeDef

def get_value() -> ECSTargetTypeDef:
    return {
        "deploymentId": ...,
    }
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

Usage Example
from mypy_boto3_codedeploy.type_defs import BatchGetApplicationRevisionsInputRequestTypeDef

def get_value() -> BatchGetApplicationRevisionsInputRequestTypeDef:
    return {
        "applicationName": ...,
        "revisions": ...,
    }
Definition
class BatchGetApplicationRevisionsInputRequestTypeDef(TypedDict):
    applicationName: str,
    revisions: Sequence[RevisionLocationTypeDef],  # (1)
  1. See RevisionLocationTypeDef

GetApplicationRevisionInputRequestTypeDef

Usage Example
from mypy_boto3_codedeploy.type_defs import GetApplicationRevisionInputRequestTypeDef

def get_value() -> GetApplicationRevisionInputRequestTypeDef:
    return {
        "applicationName": ...,
        "revision": ...,
    }
Definition
class GetApplicationRevisionInputRequestTypeDef(TypedDict):
    applicationName: str,