Type definitions#
Index > CodeDeploy > Type definitions
Auto-generated documentation for CodeDeploy type annotations stubs module mypy-boto3-codedeploy.
TimestampTypeDef#
# TimestampTypeDef Union usage example
from mypy_boto3_codedeploy.type_defs import TimestampTypeDef
def get_value() -> TimestampTypeDef:
return ...
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
AutoRollbackConfigurationUnionTypeDef#
# AutoRollbackConfigurationUnionTypeDef Union usage example
from mypy_boto3_codedeploy.type_defs import AutoRollbackConfigurationUnionTypeDef
def get_value() -> AutoRollbackConfigurationUnionTypeDef:
return ...
# AutoRollbackConfigurationUnionTypeDef definition
AutoRollbackConfigurationUnionTypeDef = Union[
AutoRollbackConfigurationTypeDef, # (1)
AutoRollbackConfigurationOutputTypeDef, # (2)
]
TriggerConfigUnionTypeDef#
# TriggerConfigUnionTypeDef Union usage example
from mypy_boto3_codedeploy.type_defs import TriggerConfigUnionTypeDef
def get_value() -> TriggerConfigUnionTypeDef:
return ...
# TriggerConfigUnionTypeDef definition
TriggerConfigUnionTypeDef = Union[
TriggerConfigTypeDef, # (1)
TriggerConfigOutputTypeDef, # (2)
]
AlarmConfigurationUnionTypeDef#
# AlarmConfigurationUnionTypeDef Union usage example
from mypy_boto3_codedeploy.type_defs import AlarmConfigurationUnionTypeDef
def get_value() -> AlarmConfigurationUnionTypeDef:
return ...
# AlarmConfigurationUnionTypeDef definition
AlarmConfigurationUnionTypeDef = Union[
AlarmConfigurationTypeDef, # (1)
AlarmConfigurationOutputTypeDef, # (2)
]
EC2TagSetUnionTypeDef#
# EC2TagSetUnionTypeDef Union usage example
from mypy_boto3_codedeploy.type_defs import EC2TagSetUnionTypeDef
def get_value() -> EC2TagSetUnionTypeDef:
return ...
# EC2TagSetUnionTypeDef definition
EC2TagSetUnionTypeDef = Union[
EC2TagSetTypeDef, # (1)
EC2TagSetOutputTypeDef, # (2)
]
OnPremisesTagSetUnionTypeDef#
# OnPremisesTagSetUnionTypeDef Union usage example
from mypy_boto3_codedeploy.type_defs import OnPremisesTagSetUnionTypeDef
def get_value() -> OnPremisesTagSetUnionTypeDef:
return ...
# OnPremisesTagSetUnionTypeDef definition
OnPremisesTagSetUnionTypeDef = Union[
OnPremisesTagSetTypeDef, # (1)
OnPremisesTagSetOutputTypeDef, # (2)
]
TargetInstancesUnionTypeDef#
# TargetInstancesUnionTypeDef Union usage example
from mypy_boto3_codedeploy.type_defs import TargetInstancesUnionTypeDef
def get_value() -> TargetInstancesUnionTypeDef:
return ...
# TargetInstancesUnionTypeDef definition
TargetInstancesUnionTypeDef = Union[
TargetInstancesTypeDef, # (1)
TargetInstancesOutputTypeDef, # (2)
]
LoadBalancerInfoUnionTypeDef#
# LoadBalancerInfoUnionTypeDef Union usage example
from mypy_boto3_codedeploy.type_defs import LoadBalancerInfoUnionTypeDef
def get_value() -> LoadBalancerInfoUnionTypeDef:
return ...
# LoadBalancerInfoUnionTypeDef definition
LoadBalancerInfoUnionTypeDef = Union[
LoadBalancerInfoTypeDef, # (1)
LoadBalancerInfoOutputTypeDef, # (2)
]
TagTypeDef#
# TagTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
}
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
AlarmTypeDef#
# AlarmTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import AlarmTypeDef
def get_value() -> AlarmTypeDef:
return {
"name": ...,
}
# AlarmTypeDef definition
class AlarmTypeDef(TypedDict):
name: NotRequired[str],
AppSpecContentTypeDef#
# AppSpecContentTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import AppSpecContentTypeDef
def get_value() -> AppSpecContentTypeDef:
return {
"content": ...,
}
# AppSpecContentTypeDef definition
class AppSpecContentTypeDef(TypedDict):
content: NotRequired[str],
sha256: NotRequired[str],
ApplicationInfoTypeDef#
# ApplicationInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ApplicationInfoTypeDef
def get_value() -> ApplicationInfoTypeDef:
return {
"applicationId": ...,
}
# ApplicationInfoTypeDef definition
class ApplicationInfoTypeDef(TypedDict):
applicationId: NotRequired[str],
applicationName: NotRequired[str],
createTime: NotRequired[datetime],
linkedToGitHub: NotRequired[bool],
gitHubAccountName: NotRequired[str],
computePlatform: NotRequired[ComputePlatformType], # (1)
AutoRollbackConfigurationOutputTypeDef#
# AutoRollbackConfigurationOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import AutoRollbackConfigurationOutputTypeDef
def get_value() -> AutoRollbackConfigurationOutputTypeDef:
return {
"enabled": ...,
}
# AutoRollbackConfigurationOutputTypeDef definition
class AutoRollbackConfigurationOutputTypeDef(TypedDict):
enabled: NotRequired[bool],
events: NotRequired[List[AutoRollbackEventType]], # (1)
AutoRollbackConfigurationTypeDef#
# AutoRollbackConfigurationTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import AutoRollbackConfigurationTypeDef
def get_value() -> AutoRollbackConfigurationTypeDef:
return {
"enabled": ...,
}
# AutoRollbackConfigurationTypeDef definition
class AutoRollbackConfigurationTypeDef(TypedDict):
enabled: NotRequired[bool],
events: NotRequired[Sequence[AutoRollbackEventType]], # (1)
AutoScalingGroupTypeDef#
# AutoScalingGroupTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import AutoScalingGroupTypeDef
def get_value() -> AutoScalingGroupTypeDef:
return {
"name": ...,
}
# AutoScalingGroupTypeDef definition
class AutoScalingGroupTypeDef(TypedDict):
name: NotRequired[str],
hook: NotRequired[str],
terminationHook: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
BatchGetApplicationsInputTypeDef#
# BatchGetApplicationsInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetApplicationsInputTypeDef
def get_value() -> BatchGetApplicationsInputTypeDef:
return {
"applicationNames": ...,
}
# BatchGetApplicationsInputTypeDef definition
class BatchGetApplicationsInputTypeDef(TypedDict):
applicationNames: Sequence[str],
BatchGetDeploymentGroupsInputTypeDef#
# BatchGetDeploymentGroupsInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentGroupsInputTypeDef
def get_value() -> BatchGetDeploymentGroupsInputTypeDef:
return {
"applicationName": ...,
}
# BatchGetDeploymentGroupsInputTypeDef definition
class BatchGetDeploymentGroupsInputTypeDef(TypedDict):
applicationName: str,
deploymentGroupNames: Sequence[str],
BatchGetDeploymentInstancesInputTypeDef#
# BatchGetDeploymentInstancesInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentInstancesInputTypeDef
def get_value() -> BatchGetDeploymentInstancesInputTypeDef:
return {
"deploymentId": ...,
}
# BatchGetDeploymentInstancesInputTypeDef definition
class BatchGetDeploymentInstancesInputTypeDef(TypedDict):
deploymentId: str,
instanceIds: Sequence[str],
BatchGetDeploymentTargetsInputTypeDef#
# BatchGetDeploymentTargetsInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentTargetsInputTypeDef
def get_value() -> BatchGetDeploymentTargetsInputTypeDef:
return {
"deploymentId": ...,
}
# BatchGetDeploymentTargetsInputTypeDef definition
class BatchGetDeploymentTargetsInputTypeDef(TypedDict):
deploymentId: str,
targetIds: Sequence[str],
BatchGetDeploymentsInputTypeDef#
# BatchGetDeploymentsInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentsInputTypeDef
def get_value() -> BatchGetDeploymentsInputTypeDef:
return {
"deploymentIds": ...,
}
# BatchGetDeploymentsInputTypeDef definition
class BatchGetDeploymentsInputTypeDef(TypedDict):
deploymentIds: Sequence[str],
BatchGetOnPremisesInstancesInputTypeDef#
# BatchGetOnPremisesInstancesInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetOnPremisesInstancesInputTypeDef
def get_value() -> BatchGetOnPremisesInstancesInputTypeDef:
return {
"instanceNames": ...,
}
# BatchGetOnPremisesInstancesInputTypeDef definition
class BatchGetOnPremisesInstancesInputTypeDef(TypedDict):
instanceNames: Sequence[str],
BlueInstanceTerminationOptionTypeDef#
# BlueInstanceTerminationOptionTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BlueInstanceTerminationOptionTypeDef
def get_value() -> BlueInstanceTerminationOptionTypeDef:
return {
"action": ...,
}
# BlueInstanceTerminationOptionTypeDef definition
class BlueInstanceTerminationOptionTypeDef(TypedDict):
action: NotRequired[InstanceActionType], # (1)
terminationWaitTimeInMinutes: NotRequired[int],
DeploymentReadyOptionTypeDef#
# DeploymentReadyOptionTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeploymentReadyOptionTypeDef
def get_value() -> DeploymentReadyOptionTypeDef:
return {
"actionOnTimeout": ...,
}
# DeploymentReadyOptionTypeDef definition
class DeploymentReadyOptionTypeDef(TypedDict):
actionOnTimeout: NotRequired[DeploymentReadyActionType], # (1)
waitTimeInMinutes: NotRequired[int],
GreenFleetProvisioningOptionTypeDef#
# GreenFleetProvisioningOptionTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GreenFleetProvisioningOptionTypeDef
def get_value() -> GreenFleetProvisioningOptionTypeDef:
return {
"action": ...,
}
# GreenFleetProvisioningOptionTypeDef definition
class GreenFleetProvisioningOptionTypeDef(TypedDict):
action: NotRequired[GreenFleetProvisioningActionType], # (1)
ContinueDeploymentInputTypeDef#
# ContinueDeploymentInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ContinueDeploymentInputTypeDef
def get_value() -> ContinueDeploymentInputTypeDef:
return {
"deploymentId": ...,
}
# ContinueDeploymentInputTypeDef definition
class ContinueDeploymentInputTypeDef(TypedDict):
deploymentId: NotRequired[str],
deploymentWaitType: NotRequired[DeploymentWaitTypeType], # (1)
MinimumHealthyHostsTypeDef#
# MinimumHealthyHostsTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import MinimumHealthyHostsTypeDef
def get_value() -> MinimumHealthyHostsTypeDef:
return {
"type": ...,
}
# MinimumHealthyHostsTypeDef definition
class MinimumHealthyHostsTypeDef(TypedDict):
type: NotRequired[MinimumHealthyHostsTypeType], # (1)
value: NotRequired[int],
DeploymentStyleTypeDef#
# DeploymentStyleTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeploymentStyleTypeDef
def get_value() -> DeploymentStyleTypeDef:
return {
"deploymentType": ...,
}
# DeploymentStyleTypeDef definition
class DeploymentStyleTypeDef(TypedDict):
deploymentType: NotRequired[DeploymentTypeType], # (1)
deploymentOption: NotRequired[DeploymentOptionType], # (2)
EC2TagFilterTypeDef#
# EC2TagFilterTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import EC2TagFilterTypeDef
def get_value() -> EC2TagFilterTypeDef:
return {
"Key": ...,
}
# EC2TagFilterTypeDef definition
class EC2TagFilterTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
Type: NotRequired[EC2TagFilterTypeType], # (1)
ECSServiceTypeDef#
# ECSServiceTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ECSServiceTypeDef
def get_value() -> ECSServiceTypeDef:
return {
"serviceName": ...,
}
# ECSServiceTypeDef definition
class ECSServiceTypeDef(TypedDict):
serviceName: NotRequired[str],
clusterName: NotRequired[str],
TagFilterTypeDef#
# TagFilterTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TagFilterTypeDef
def get_value() -> TagFilterTypeDef:
return {
"Key": ...,
}
# TagFilterTypeDef definition
class TagFilterTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
Type: NotRequired[TagFilterTypeType], # (1)
DeleteApplicationInputTypeDef#
# DeleteApplicationInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeleteApplicationInputTypeDef
def get_value() -> DeleteApplicationInputTypeDef:
return {
"applicationName": ...,
}
# DeleteApplicationInputTypeDef definition
class DeleteApplicationInputTypeDef(TypedDict):
applicationName: str,
DeleteDeploymentConfigInputTypeDef#
# DeleteDeploymentConfigInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeleteDeploymentConfigInputTypeDef
def get_value() -> DeleteDeploymentConfigInputTypeDef:
return {
"deploymentConfigName": ...,
}
# DeleteDeploymentConfigInputTypeDef definition
class DeleteDeploymentConfigInputTypeDef(TypedDict):
deploymentConfigName: str,
DeleteDeploymentGroupInputTypeDef#
# DeleteDeploymentGroupInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeleteDeploymentGroupInputTypeDef
def get_value() -> DeleteDeploymentGroupInputTypeDef:
return {
"applicationName": ...,
}
# DeleteDeploymentGroupInputTypeDef definition
class DeleteDeploymentGroupInputTypeDef(TypedDict):
applicationName: str,
deploymentGroupName: str,
DeleteGitHubAccountTokenInputTypeDef#
# DeleteGitHubAccountTokenInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeleteGitHubAccountTokenInputTypeDef
def get_value() -> DeleteGitHubAccountTokenInputTypeDef:
return {
"tokenName": ...,
}
# DeleteGitHubAccountTokenInputTypeDef definition
class DeleteGitHubAccountTokenInputTypeDef(TypedDict):
tokenName: NotRequired[str],
DeleteResourcesByExternalIdInputTypeDef#
# DeleteResourcesByExternalIdInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeleteResourcesByExternalIdInputTypeDef
def get_value() -> DeleteResourcesByExternalIdInputTypeDef:
return {
"externalId": ...,
}
# DeleteResourcesByExternalIdInputTypeDef definition
class DeleteResourcesByExternalIdInputTypeDef(TypedDict):
externalId: NotRequired[str],
LastDeploymentInfoTypeDef#
# LastDeploymentInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import LastDeploymentInfoTypeDef
def get_value() -> LastDeploymentInfoTypeDef:
return {
"deploymentId": ...,
}
# LastDeploymentInfoTypeDef definition
class LastDeploymentInfoTypeDef(TypedDict):
deploymentId: NotRequired[str],
status: NotRequired[DeploymentStatusType], # (1)
endTime: NotRequired[datetime],
createTime: NotRequired[datetime],
TriggerConfigOutputTypeDef#
# TriggerConfigOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TriggerConfigOutputTypeDef
def get_value() -> TriggerConfigOutputTypeDef:
return {
"triggerName": ...,
}
# TriggerConfigOutputTypeDef definition
class TriggerConfigOutputTypeDef(TypedDict):
triggerName: NotRequired[str],
triggerTargetArn: NotRequired[str],
triggerEvents: NotRequired[List[TriggerEventTypeType]], # (1)
DeploymentOverviewTypeDef#
# DeploymentOverviewTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeploymentOverviewTypeDef
def get_value() -> DeploymentOverviewTypeDef:
return {
"Pending": ...,
}
# DeploymentOverviewTypeDef definition
class DeploymentOverviewTypeDef(TypedDict):
Pending: NotRequired[int],
InProgress: NotRequired[int],
Succeeded: NotRequired[int],
Failed: NotRequired[int],
Skipped: NotRequired[int],
Ready: NotRequired[int],
ErrorInformationTypeDef#
# ErrorInformationTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ErrorInformationTypeDef
def get_value() -> ErrorInformationTypeDef:
return {
"code": ...,
}
# ErrorInformationTypeDef definition
class ErrorInformationTypeDef(TypedDict):
code: NotRequired[ErrorCodeType], # (1)
message: NotRequired[str],
- See ErrorCodeType
RelatedDeploymentsTypeDef#
# RelatedDeploymentsTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import RelatedDeploymentsTypeDef
def get_value() -> RelatedDeploymentsTypeDef:
return {
"autoUpdateOutdatedInstancesRootDeploymentId": ...,
}
# RelatedDeploymentsTypeDef definition
class RelatedDeploymentsTypeDef(TypedDict):
autoUpdateOutdatedInstancesRootDeploymentId: NotRequired[str],
autoUpdateOutdatedInstancesDeploymentIds: NotRequired[List[str]],
RollbackInfoTypeDef#
# RollbackInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import RollbackInfoTypeDef
def get_value() -> RollbackInfoTypeDef:
return {
"rollbackDeploymentId": ...,
}
# RollbackInfoTypeDef definition
class RollbackInfoTypeDef(TypedDict):
rollbackDeploymentId: NotRequired[str],
rollbackTriggeringDeploymentId: NotRequired[str],
rollbackMessage: NotRequired[str],
DeregisterOnPremisesInstanceInputTypeDef#
# DeregisterOnPremisesInstanceInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeregisterOnPremisesInstanceInputTypeDef
def get_value() -> DeregisterOnPremisesInstanceInputTypeDef:
return {
"instanceName": ...,
}
# DeregisterOnPremisesInstanceInputTypeDef definition
class DeregisterOnPremisesInstanceInputTypeDef(TypedDict):
instanceName: str,
DiagnosticsTypeDef#
# DiagnosticsTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DiagnosticsTypeDef
def get_value() -> DiagnosticsTypeDef:
return {
"errorCode": ...,
}
# DiagnosticsTypeDef definition
class DiagnosticsTypeDef(TypedDict):
errorCode: NotRequired[LifecycleErrorCodeType], # (1)
scriptName: NotRequired[str],
message: NotRequired[str],
logTail: NotRequired[str],
TargetGroupInfoTypeDef#
# TargetGroupInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TargetGroupInfoTypeDef
def get_value() -> TargetGroupInfoTypeDef:
return {
"name": ...,
}
# TargetGroupInfoTypeDef definition
class TargetGroupInfoTypeDef(TypedDict):
name: NotRequired[str],
ELBInfoTypeDef#
# ELBInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ELBInfoTypeDef
def get_value() -> ELBInfoTypeDef:
return {
"name": ...,
}
# ELBInfoTypeDef definition
class ELBInfoTypeDef(TypedDict):
name: NotRequired[str],
GenericRevisionInfoTypeDef#
# GenericRevisionInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GenericRevisionInfoTypeDef
def get_value() -> GenericRevisionInfoTypeDef:
return {
"description": ...,
}
# GenericRevisionInfoTypeDef definition
class GenericRevisionInfoTypeDef(TypedDict):
description: NotRequired[str],
deploymentGroups: NotRequired[List[str]],
firstUsedTime: NotRequired[datetime],
lastUsedTime: NotRequired[datetime],
registerTime: NotRequired[datetime],
GetApplicationInputTypeDef#
# GetApplicationInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetApplicationInputTypeDef
def get_value() -> GetApplicationInputTypeDef:
return {
"applicationName": ...,
}
# GetApplicationInputTypeDef definition
class GetApplicationInputTypeDef(TypedDict):
applicationName: str,
GetDeploymentConfigInputTypeDef#
# GetDeploymentConfigInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentConfigInputTypeDef
def get_value() -> GetDeploymentConfigInputTypeDef:
return {
"deploymentConfigName": ...,
}
# GetDeploymentConfigInputTypeDef definition
class GetDeploymentConfigInputTypeDef(TypedDict):
deploymentConfigName: str,
GetDeploymentGroupInputTypeDef#
# GetDeploymentGroupInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentGroupInputTypeDef
def get_value() -> GetDeploymentGroupInputTypeDef:
return {
"applicationName": ...,
}
# GetDeploymentGroupInputTypeDef definition
class GetDeploymentGroupInputTypeDef(TypedDict):
applicationName: str,
deploymentGroupName: str,
GetDeploymentInputTypeDef#
# GetDeploymentInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentInputTypeDef
def get_value() -> GetDeploymentInputTypeDef:
return {
"deploymentId": ...,
}
# GetDeploymentInputTypeDef definition
class GetDeploymentInputTypeDef(TypedDict):
deploymentId: str,
WaiterConfigTypeDef#
# WaiterConfigTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import WaiterConfigTypeDef
def get_value() -> WaiterConfigTypeDef:
return {
"Delay": ...,
}
# WaiterConfigTypeDef definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
GetDeploymentInstanceInputTypeDef#
# GetDeploymentInstanceInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentInstanceInputTypeDef
def get_value() -> GetDeploymentInstanceInputTypeDef:
return {
"deploymentId": ...,
}
# GetDeploymentInstanceInputTypeDef definition
class GetDeploymentInstanceInputTypeDef(TypedDict):
deploymentId: str,
instanceId: str,
GetDeploymentTargetInputTypeDef#
# GetDeploymentTargetInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentTargetInputTypeDef
def get_value() -> GetDeploymentTargetInputTypeDef:
return {
"deploymentId": ...,
}
# GetDeploymentTargetInputTypeDef definition
class GetDeploymentTargetInputTypeDef(TypedDict):
deploymentId: str,
targetId: str,
GetOnPremisesInstanceInputTypeDef#
# GetOnPremisesInstanceInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetOnPremisesInstanceInputTypeDef
def get_value() -> GetOnPremisesInstanceInputTypeDef:
return {
"instanceName": ...,
}
# GetOnPremisesInstanceInputTypeDef definition
class GetOnPremisesInstanceInputTypeDef(TypedDict):
instanceName: str,
GitHubLocationTypeDef#
# GitHubLocationTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GitHubLocationTypeDef
def get_value() -> GitHubLocationTypeDef:
return {
"repository": ...,
}
# GitHubLocationTypeDef definition
class GitHubLocationTypeDef(TypedDict):
repository: NotRequired[str],
commitId: NotRequired[str],
LambdaFunctionInfoTypeDef#
# LambdaFunctionInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import LambdaFunctionInfoTypeDef
def get_value() -> LambdaFunctionInfoTypeDef:
return {
"functionName": ...,
}
# LambdaFunctionInfoTypeDef definition
class LambdaFunctionInfoTypeDef(TypedDict):
functionName: NotRequired[str],
functionAlias: NotRequired[str],
currentVersion: NotRequired[str],
targetVersion: NotRequired[str],
targetVersionWeight: NotRequired[float],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListApplicationRevisionsInputTypeDef#
# ListApplicationRevisionsInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsInputTypeDef
def get_value() -> ListApplicationRevisionsInputTypeDef:
return {
"applicationName": ...,
}
# ListApplicationRevisionsInputTypeDef definition
class ListApplicationRevisionsInputTypeDef(TypedDict):
applicationName: str,
sortBy: NotRequired[ApplicationRevisionSortByType], # (1)
sortOrder: NotRequired[SortOrderType], # (2)
s3Bucket: NotRequired[str],
s3KeyPrefix: NotRequired[str],
deployed: NotRequired[ListStateFilterActionType], # (3)
nextToken: NotRequired[str],
ListApplicationsInputTypeDef#
# ListApplicationsInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationsInputTypeDef
def get_value() -> ListApplicationsInputTypeDef:
return {
"nextToken": ...,
}
# ListApplicationsInputTypeDef definition
class ListApplicationsInputTypeDef(TypedDict):
nextToken: NotRequired[str],
ListDeploymentConfigsInputTypeDef#
# ListDeploymentConfigsInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsInputTypeDef
def get_value() -> ListDeploymentConfigsInputTypeDef:
return {
"nextToken": ...,
}
# ListDeploymentConfigsInputTypeDef definition
class ListDeploymentConfigsInputTypeDef(TypedDict):
nextToken: NotRequired[str],
ListDeploymentGroupsInputTypeDef#
# ListDeploymentGroupsInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsInputTypeDef
def get_value() -> ListDeploymentGroupsInputTypeDef:
return {
"applicationName": ...,
}
# ListDeploymentGroupsInputTypeDef definition
class ListDeploymentGroupsInputTypeDef(TypedDict):
applicationName: str,
nextToken: NotRequired[str],
ListDeploymentInstancesInputTypeDef#
# ListDeploymentInstancesInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesInputTypeDef
def get_value() -> ListDeploymentInstancesInputTypeDef:
return {
"deploymentId": ...,
}
# ListDeploymentInstancesInputTypeDef definition
class ListDeploymentInstancesInputTypeDef(TypedDict):
deploymentId: str,
nextToken: NotRequired[str],
instanceStatusFilter: NotRequired[Sequence[InstanceStatusType]], # (1)
instanceTypeFilter: NotRequired[Sequence[InstanceTypeType]], # (2)
- See InstanceStatusType
- See InstanceTypeType
ListDeploymentTargetsInputTypeDef#
# ListDeploymentTargetsInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsInputTypeDef
def get_value() -> ListDeploymentTargetsInputTypeDef:
return {
"deploymentId": ...,
}
# ListDeploymentTargetsInputTypeDef definition
class ListDeploymentTargetsInputTypeDef(TypedDict):
deploymentId: str,
nextToken: NotRequired[str],
targetFilters: NotRequired[Mapping[TargetFilterNameType, Sequence[str]]], # (1)
ListGitHubAccountTokenNamesInputTypeDef#
# ListGitHubAccountTokenNamesInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesInputTypeDef
def get_value() -> ListGitHubAccountTokenNamesInputTypeDef:
return {
"nextToken": ...,
}
# ListGitHubAccountTokenNamesInputTypeDef definition
class ListGitHubAccountTokenNamesInputTypeDef(TypedDict):
nextToken: NotRequired[str],
ListTagsForResourceInputTypeDef#
# ListTagsForResourceInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListTagsForResourceInputTypeDef
def get_value() -> ListTagsForResourceInputTypeDef:
return {
"ResourceArn": ...,
}
# ListTagsForResourceInputTypeDef definition
class ListTagsForResourceInputTypeDef(TypedDict):
ResourceArn: str,
NextToken: NotRequired[str],
MinimumHealthyHostsPerZoneTypeDef#
# MinimumHealthyHostsPerZoneTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import MinimumHealthyHostsPerZoneTypeDef
def get_value() -> MinimumHealthyHostsPerZoneTypeDef:
return {
"type": ...,
}
# MinimumHealthyHostsPerZoneTypeDef definition
class MinimumHealthyHostsPerZoneTypeDef(TypedDict):
type: NotRequired[MinimumHealthyHostsPerZoneTypeType], # (1)
value: NotRequired[int],
PutLifecycleEventHookExecutionStatusInputTypeDef#
# PutLifecycleEventHookExecutionStatusInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import PutLifecycleEventHookExecutionStatusInputTypeDef
def get_value() -> PutLifecycleEventHookExecutionStatusInputTypeDef:
return {
"deploymentId": ...,
}
# PutLifecycleEventHookExecutionStatusInputTypeDef definition
class PutLifecycleEventHookExecutionStatusInputTypeDef(TypedDict):
deploymentId: NotRequired[str],
lifecycleEventHookExecutionId: NotRequired[str],
status: NotRequired[LifecycleEventStatusType], # (1)
RawStringTypeDef#
# RawStringTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import RawStringTypeDef
def get_value() -> RawStringTypeDef:
return {
"content": ...,
}
# RawStringTypeDef definition
class RawStringTypeDef(TypedDict):
content: NotRequired[str],
sha256: NotRequired[str],
RegisterOnPremisesInstanceInputTypeDef#
# RegisterOnPremisesInstanceInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import RegisterOnPremisesInstanceInputTypeDef
def get_value() -> RegisterOnPremisesInstanceInputTypeDef:
return {
"instanceName": ...,
}
# RegisterOnPremisesInstanceInputTypeDef definition
class RegisterOnPremisesInstanceInputTypeDef(TypedDict):
instanceName: str,
iamSessionArn: NotRequired[str],
iamUserArn: NotRequired[str],
S3LocationTypeDef#
# S3LocationTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import S3LocationTypeDef
def get_value() -> S3LocationTypeDef:
return {
"bucket": ...,
}
# S3LocationTypeDef definition
class S3LocationTypeDef(TypedDict):
bucket: NotRequired[str],
key: NotRequired[str],
bundleType: NotRequired[BundleTypeType], # (1)
version: NotRequired[str],
eTag: NotRequired[str],
- See BundleTypeType
SkipWaitTimeForInstanceTerminationInputTypeDef#
# SkipWaitTimeForInstanceTerminationInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import SkipWaitTimeForInstanceTerminationInputTypeDef
def get_value() -> SkipWaitTimeForInstanceTerminationInputTypeDef:
return {
"deploymentId": ...,
}
# SkipWaitTimeForInstanceTerminationInputTypeDef definition
class SkipWaitTimeForInstanceTerminationInputTypeDef(TypedDict):
deploymentId: NotRequired[str],
StopDeploymentInputTypeDef#
# StopDeploymentInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import StopDeploymentInputTypeDef
def get_value() -> StopDeploymentInputTypeDef:
return {
"deploymentId": ...,
}
# StopDeploymentInputTypeDef definition
class StopDeploymentInputTypeDef(TypedDict):
deploymentId: str,
autoRollbackEnabled: NotRequired[bool],
TrafficRouteOutputTypeDef#
# TrafficRouteOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TrafficRouteOutputTypeDef
def get_value() -> TrafficRouteOutputTypeDef:
return {
"listenerArns": ...,
}
# TrafficRouteOutputTypeDef definition
class TrafficRouteOutputTypeDef(TypedDict):
listenerArns: NotRequired[List[str]],
TrafficRouteTypeDef#
# TrafficRouteTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TrafficRouteTypeDef
def get_value() -> TrafficRouteTypeDef:
return {
"listenerArns": ...,
}
# TrafficRouteTypeDef definition
class TrafficRouteTypeDef(TypedDict):
listenerArns: NotRequired[Sequence[str]],
TimeBasedCanaryTypeDef#
# TimeBasedCanaryTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TimeBasedCanaryTypeDef
def get_value() -> TimeBasedCanaryTypeDef:
return {
"canaryPercentage": ...,
}
# TimeBasedCanaryTypeDef definition
class TimeBasedCanaryTypeDef(TypedDict):
canaryPercentage: NotRequired[int],
canaryInterval: NotRequired[int],
TimeBasedLinearTypeDef#
# TimeBasedLinearTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TimeBasedLinearTypeDef
def get_value() -> TimeBasedLinearTypeDef:
return {
"linearPercentage": ...,
}
# TimeBasedLinearTypeDef definition
class TimeBasedLinearTypeDef(TypedDict):
linearPercentage: NotRequired[int],
linearInterval: NotRequired[int],
TriggerConfigTypeDef#
# TriggerConfigTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TriggerConfigTypeDef
def get_value() -> TriggerConfigTypeDef:
return {
"triggerName": ...,
}
# TriggerConfigTypeDef definition
class TriggerConfigTypeDef(TypedDict):
triggerName: NotRequired[str],
triggerTargetArn: NotRequired[str],
triggerEvents: NotRequired[Sequence[TriggerEventTypeType]], # (1)
UntagResourceInputTypeDef#
# UntagResourceInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import UntagResourceInputTypeDef
def get_value() -> UntagResourceInputTypeDef:
return {
"ResourceArn": ...,
}
# UntagResourceInputTypeDef definition
class UntagResourceInputTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
UpdateApplicationInputTypeDef#
# UpdateApplicationInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import UpdateApplicationInputTypeDef
def get_value() -> UpdateApplicationInputTypeDef:
return {
"applicationName": ...,
}
# UpdateApplicationInputTypeDef definition
class UpdateApplicationInputTypeDef(TypedDict):
applicationName: NotRequired[str],
newApplicationName: NotRequired[str],
AddTagsToOnPremisesInstancesInputTypeDef#
# AddTagsToOnPremisesInstancesInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import AddTagsToOnPremisesInstancesInputTypeDef
def get_value() -> AddTagsToOnPremisesInstancesInputTypeDef:
return {
"tags": ...,
}
# AddTagsToOnPremisesInstancesInputTypeDef definition
class AddTagsToOnPremisesInstancesInputTypeDef(TypedDict):
tags: Sequence[TagTypeDef], # (1)
instanceNames: Sequence[str],
- See TagTypeDef
CreateApplicationInputTypeDef#
# CreateApplicationInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import CreateApplicationInputTypeDef
def get_value() -> CreateApplicationInputTypeDef:
return {
"applicationName": ...,
}
# CreateApplicationInputTypeDef definition
class CreateApplicationInputTypeDef(TypedDict):
applicationName: str,
computePlatform: NotRequired[ComputePlatformType], # (1)
tags: NotRequired[Sequence[TagTypeDef]], # (2)
- See ComputePlatformType
- See TagTypeDef
InstanceInfoTypeDef#
# InstanceInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import InstanceInfoTypeDef
def get_value() -> InstanceInfoTypeDef:
return {
"instanceName": ...,
}
# InstanceInfoTypeDef definition
class InstanceInfoTypeDef(TypedDict):
instanceName: NotRequired[str],
iamSessionArn: NotRequired[str],
iamUserArn: NotRequired[str],
instanceArn: NotRequired[str],
registerTime: NotRequired[datetime],
deregisterTime: NotRequired[datetime],
tags: NotRequired[List[TagTypeDef]], # (1)
- See TagTypeDef
RemoveTagsFromOnPremisesInstancesInputTypeDef#
# RemoveTagsFromOnPremisesInstancesInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import RemoveTagsFromOnPremisesInstancesInputTypeDef
def get_value() -> RemoveTagsFromOnPremisesInstancesInputTypeDef:
return {
"tags": ...,
}
# RemoveTagsFromOnPremisesInstancesInputTypeDef definition
class RemoveTagsFromOnPremisesInstancesInputTypeDef(TypedDict):
tags: Sequence[TagTypeDef], # (1)
instanceNames: Sequence[str],
- See TagTypeDef
TagResourceInputTypeDef#
# TagResourceInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TagResourceInputTypeDef
def get_value() -> TagResourceInputTypeDef:
return {
"ResourceArn": ...,
}
# TagResourceInputTypeDef definition
class TagResourceInputTypeDef(TypedDict):
ResourceArn: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
AlarmConfigurationOutputTypeDef#
# AlarmConfigurationOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import AlarmConfigurationOutputTypeDef
def get_value() -> AlarmConfigurationOutputTypeDef:
return {
"enabled": ...,
}
# AlarmConfigurationOutputTypeDef definition
class AlarmConfigurationOutputTypeDef(TypedDict):
enabled: NotRequired[bool],
ignorePollAlarmFailure: NotRequired[bool],
alarms: NotRequired[List[AlarmTypeDef]], # (1)
- See AlarmTypeDef
AlarmConfigurationTypeDef#
# AlarmConfigurationTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import AlarmConfigurationTypeDef
def get_value() -> AlarmConfigurationTypeDef:
return {
"enabled": ...,
}
# AlarmConfigurationTypeDef definition
class AlarmConfigurationTypeDef(TypedDict):
enabled: NotRequired[bool],
ignorePollAlarmFailure: NotRequired[bool],
alarms: NotRequired[Sequence[AlarmTypeDef]], # (1)
- See AlarmTypeDef
BatchGetApplicationsOutputTypeDef#
# BatchGetApplicationsOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetApplicationsOutputTypeDef
def get_value() -> BatchGetApplicationsOutputTypeDef:
return {
"applicationsInfo": ...,
}
# BatchGetApplicationsOutputTypeDef definition
class BatchGetApplicationsOutputTypeDef(TypedDict):
applicationsInfo: List[ApplicationInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateApplicationOutputTypeDef#
# CreateApplicationOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import CreateApplicationOutputTypeDef
def get_value() -> CreateApplicationOutputTypeDef:
return {
"applicationId": ...,
}
# CreateApplicationOutputTypeDef definition
class CreateApplicationOutputTypeDef(TypedDict):
applicationId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateDeploymentConfigOutputTypeDef#
# CreateDeploymentConfigOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentConfigOutputTypeDef
def get_value() -> CreateDeploymentConfigOutputTypeDef:
return {
"deploymentConfigId": ...,
}
# CreateDeploymentConfigOutputTypeDef definition
class CreateDeploymentConfigOutputTypeDef(TypedDict):
deploymentConfigId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateDeploymentGroupOutputTypeDef#
# CreateDeploymentGroupOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentGroupOutputTypeDef
def get_value() -> CreateDeploymentGroupOutputTypeDef:
return {
"deploymentGroupId": ...,
}
# CreateDeploymentGroupOutputTypeDef definition
class CreateDeploymentGroupOutputTypeDef(TypedDict):
deploymentGroupId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateDeploymentOutputTypeDef#
# CreateDeploymentOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentOutputTypeDef
def get_value() -> CreateDeploymentOutputTypeDef:
return {
"deploymentId": ...,
}
# CreateDeploymentOutputTypeDef definition
class CreateDeploymentOutputTypeDef(TypedDict):
deploymentId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteDeploymentGroupOutputTypeDef#
# DeleteDeploymentGroupOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeleteDeploymentGroupOutputTypeDef
def get_value() -> DeleteDeploymentGroupOutputTypeDef:
return {
"hooksNotCleanedUp": ...,
}
# DeleteDeploymentGroupOutputTypeDef definition
class DeleteDeploymentGroupOutputTypeDef(TypedDict):
hooksNotCleanedUp: List[AutoScalingGroupTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteGitHubAccountTokenOutputTypeDef#
# DeleteGitHubAccountTokenOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeleteGitHubAccountTokenOutputTypeDef
def get_value() -> DeleteGitHubAccountTokenOutputTypeDef:
return {
"tokenName": ...,
}
# DeleteGitHubAccountTokenOutputTypeDef definition
class DeleteGitHubAccountTokenOutputTypeDef(TypedDict):
tokenName: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GetApplicationOutputTypeDef#
# GetApplicationOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetApplicationOutputTypeDef
def get_value() -> GetApplicationOutputTypeDef:
return {
"application": ...,
}
# GetApplicationOutputTypeDef definition
class GetApplicationOutputTypeDef(TypedDict):
application: ApplicationInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListApplicationsOutputTypeDef#
# ListApplicationsOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationsOutputTypeDef
def get_value() -> ListApplicationsOutputTypeDef:
return {
"applications": ...,
}
# ListApplicationsOutputTypeDef definition
class ListApplicationsOutputTypeDef(TypedDict):
applications: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListDeploymentConfigsOutputTypeDef#
# ListDeploymentConfigsOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsOutputTypeDef
def get_value() -> ListDeploymentConfigsOutputTypeDef:
return {
"deploymentConfigsList": ...,
}
# ListDeploymentConfigsOutputTypeDef definition
class ListDeploymentConfigsOutputTypeDef(TypedDict):
deploymentConfigsList: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListDeploymentGroupsOutputTypeDef#
# ListDeploymentGroupsOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsOutputTypeDef
def get_value() -> ListDeploymentGroupsOutputTypeDef:
return {
"applicationName": ...,
}
# ListDeploymentGroupsOutputTypeDef definition
class ListDeploymentGroupsOutputTypeDef(TypedDict):
applicationName: str,
deploymentGroups: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListDeploymentInstancesOutputTypeDef#
# ListDeploymentInstancesOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesOutputTypeDef
def get_value() -> ListDeploymentInstancesOutputTypeDef:
return {
"instancesList": ...,
}
# ListDeploymentInstancesOutputTypeDef definition
class ListDeploymentInstancesOutputTypeDef(TypedDict):
instancesList: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListDeploymentTargetsOutputTypeDef#
# ListDeploymentTargetsOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsOutputTypeDef
def get_value() -> ListDeploymentTargetsOutputTypeDef:
return {
"targetIds": ...,
}
# ListDeploymentTargetsOutputTypeDef definition
class ListDeploymentTargetsOutputTypeDef(TypedDict):
targetIds: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListDeploymentsOutputTypeDef#
# ListDeploymentsOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentsOutputTypeDef
def get_value() -> ListDeploymentsOutputTypeDef:
return {
"deployments": ...,
}
# ListDeploymentsOutputTypeDef definition
class ListDeploymentsOutputTypeDef(TypedDict):
deployments: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListGitHubAccountTokenNamesOutputTypeDef#
# ListGitHubAccountTokenNamesOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesOutputTypeDef
def get_value() -> ListGitHubAccountTokenNamesOutputTypeDef:
return {
"tokenNameList": ...,
}
# ListGitHubAccountTokenNamesOutputTypeDef definition
class ListGitHubAccountTokenNamesOutputTypeDef(TypedDict):
tokenNameList: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListOnPremisesInstancesOutputTypeDef#
# ListOnPremisesInstancesOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesOutputTypeDef
def get_value() -> ListOnPremisesInstancesOutputTypeDef:
return {
"instanceNames": ...,
}
# ListOnPremisesInstancesOutputTypeDef definition
class ListOnPremisesInstancesOutputTypeDef(TypedDict):
instanceNames: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
nextToken: NotRequired[str],
ListTagsForResourceOutputTypeDef#
# ListTagsForResourceOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListTagsForResourceOutputTypeDef
def get_value() -> ListTagsForResourceOutputTypeDef:
return {
"Tags": ...,
}
# ListTagsForResourceOutputTypeDef definition
class ListTagsForResourceOutputTypeDef(TypedDict):
Tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NextToken: NotRequired[str],
- See TagTypeDef
- See ResponseMetadataTypeDef
PutLifecycleEventHookExecutionStatusOutputTypeDef#
# PutLifecycleEventHookExecutionStatusOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import PutLifecycleEventHookExecutionStatusOutputTypeDef
def get_value() -> PutLifecycleEventHookExecutionStatusOutputTypeDef:
return {
"lifecycleEventHookExecutionId": ...,
}
# PutLifecycleEventHookExecutionStatusOutputTypeDef definition
class PutLifecycleEventHookExecutionStatusOutputTypeDef(TypedDict):
lifecycleEventHookExecutionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StopDeploymentOutputTypeDef#
# StopDeploymentOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import StopDeploymentOutputTypeDef
def get_value() -> StopDeploymentOutputTypeDef:
return {
"status": ...,
}
# StopDeploymentOutputTypeDef definition
class StopDeploymentOutputTypeDef(TypedDict):
status: StopStatusType, # (1)
statusMessage: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateDeploymentGroupOutputTypeDef#
# UpdateDeploymentGroupOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import UpdateDeploymentGroupOutputTypeDef
def get_value() -> UpdateDeploymentGroupOutputTypeDef:
return {
"hooksNotCleanedUp": ...,
}
# UpdateDeploymentGroupOutputTypeDef definition
class UpdateDeploymentGroupOutputTypeDef(TypedDict):
hooksNotCleanedUp: List[AutoScalingGroupTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BlueGreenDeploymentConfigurationTypeDef#
# BlueGreenDeploymentConfigurationTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BlueGreenDeploymentConfigurationTypeDef
def get_value() -> BlueGreenDeploymentConfigurationTypeDef:
return {
"terminateBlueInstancesOnDeploymentSuccess": ...,
}
# BlueGreenDeploymentConfigurationTypeDef definition
class BlueGreenDeploymentConfigurationTypeDef(TypedDict):
terminateBlueInstancesOnDeploymentSuccess: NotRequired[BlueInstanceTerminationOptionTypeDef], # (1)
deploymentReadyOption: NotRequired[DeploymentReadyOptionTypeDef], # (2)
greenFleetProvisioningOption: NotRequired[GreenFleetProvisioningOptionTypeDef], # (3)
- See BlueInstanceTerminationOptionTypeDef
- See DeploymentReadyOptionTypeDef
- See GreenFleetProvisioningOptionTypeDef
EC2TagSetOutputTypeDef#
# EC2TagSetOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import EC2TagSetOutputTypeDef
def get_value() -> EC2TagSetOutputTypeDef:
return {
"ec2TagSetList": ...,
}
# EC2TagSetOutputTypeDef definition
class EC2TagSetOutputTypeDef(TypedDict):
ec2TagSetList: NotRequired[List[List[EC2TagFilterTypeDef]]], # (1)
EC2TagSetTypeDef#
# EC2TagSetTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import EC2TagSetTypeDef
def get_value() -> EC2TagSetTypeDef:
return {
"ec2TagSetList": ...,
}
# EC2TagSetTypeDef definition
class EC2TagSetTypeDef(TypedDict):
ec2TagSetList: NotRequired[Sequence[Sequence[EC2TagFilterTypeDef]]], # (1)
ListOnPremisesInstancesInputTypeDef#
# ListOnPremisesInstancesInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesInputTypeDef
def get_value() -> ListOnPremisesInstancesInputTypeDef:
return {
"registrationStatus": ...,
}
# ListOnPremisesInstancesInputTypeDef definition
class ListOnPremisesInstancesInputTypeDef(TypedDict):
registrationStatus: NotRequired[RegistrationStatusType], # (1)
tagFilters: NotRequired[Sequence[TagFilterTypeDef]], # (2)
nextToken: NotRequired[str],
OnPremisesTagSetOutputTypeDef#
# OnPremisesTagSetOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import OnPremisesTagSetOutputTypeDef
def get_value() -> OnPremisesTagSetOutputTypeDef:
return {
"onPremisesTagSetList": ...,
}
# OnPremisesTagSetOutputTypeDef definition
class OnPremisesTagSetOutputTypeDef(TypedDict):
onPremisesTagSetList: NotRequired[List[List[TagFilterTypeDef]]], # (1)
- See TagFilterTypeDef
OnPremisesTagSetTypeDef#
# OnPremisesTagSetTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import OnPremisesTagSetTypeDef
def get_value() -> OnPremisesTagSetTypeDef:
return {
"onPremisesTagSetList": ...,
}
# OnPremisesTagSetTypeDef definition
class OnPremisesTagSetTypeDef(TypedDict):
onPremisesTagSetList: NotRequired[Sequence[Sequence[TagFilterTypeDef]]], # (1)
- See TagFilterTypeDef
LifecycleEventTypeDef#
# LifecycleEventTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import LifecycleEventTypeDef
def get_value() -> LifecycleEventTypeDef:
return {
"lifecycleEventName": ...,
}
# LifecycleEventTypeDef definition
class LifecycleEventTypeDef(TypedDict):
lifecycleEventName: NotRequired[str],
diagnostics: NotRequired[DiagnosticsTypeDef], # (1)
startTime: NotRequired[datetime],
endTime: NotRequired[datetime],
status: NotRequired[LifecycleEventStatusType], # (2)
ECSTaskSetTypeDef#
# ECSTaskSetTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ECSTaskSetTypeDef
def get_value() -> ECSTaskSetTypeDef:
return {
"identifer": ...,
}
# ECSTaskSetTypeDef definition
class ECSTaskSetTypeDef(TypedDict):
identifer: NotRequired[str],
desiredCount: NotRequired[int],
pendingCount: NotRequired[int],
runningCount: NotRequired[int],
status: NotRequired[str],
trafficWeight: NotRequired[float],
targetGroup: NotRequired[TargetGroupInfoTypeDef], # (1)
taskSetLabel: NotRequired[TargetLabelType], # (2)
GetDeploymentInputWaitTypeDef#
# GetDeploymentInputWaitTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentInputWaitTypeDef
def get_value() -> GetDeploymentInputWaitTypeDef:
return {
"deploymentId": ...,
}
# GetDeploymentInputWaitTypeDef definition
class GetDeploymentInputWaitTypeDef(TypedDict):
deploymentId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
ListApplicationRevisionsInputPaginateTypeDef#
# ListApplicationRevisionsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsInputPaginateTypeDef
def get_value() -> ListApplicationRevisionsInputPaginateTypeDef:
return {
"applicationName": ...,
}
# ListApplicationRevisionsInputPaginateTypeDef definition
class ListApplicationRevisionsInputPaginateTypeDef(TypedDict):
applicationName: str,
sortBy: NotRequired[ApplicationRevisionSortByType], # (1)
sortOrder: NotRequired[SortOrderType], # (2)
s3Bucket: NotRequired[str],
s3KeyPrefix: NotRequired[str],
deployed: NotRequired[ListStateFilterActionType], # (3)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (4)
- See ApplicationRevisionSortByType
- See SortOrderType
- See ListStateFilterActionType
- See PaginatorConfigTypeDef
ListApplicationsInputPaginateTypeDef#
# ListApplicationsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationsInputPaginateTypeDef
def get_value() -> ListApplicationsInputPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListApplicationsInputPaginateTypeDef definition
class ListApplicationsInputPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListDeploymentConfigsInputPaginateTypeDef#
# ListDeploymentConfigsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsInputPaginateTypeDef
def get_value() -> ListDeploymentConfigsInputPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListDeploymentConfigsInputPaginateTypeDef definition
class ListDeploymentConfigsInputPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListDeploymentGroupsInputPaginateTypeDef#
# ListDeploymentGroupsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsInputPaginateTypeDef
def get_value() -> ListDeploymentGroupsInputPaginateTypeDef:
return {
"applicationName": ...,
}
# ListDeploymentGroupsInputPaginateTypeDef definition
class ListDeploymentGroupsInputPaginateTypeDef(TypedDict):
applicationName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListDeploymentInstancesInputPaginateTypeDef#
# ListDeploymentInstancesInputPaginateTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesInputPaginateTypeDef
def get_value() -> ListDeploymentInstancesInputPaginateTypeDef:
return {
"deploymentId": ...,
}
# ListDeploymentInstancesInputPaginateTypeDef definition
class ListDeploymentInstancesInputPaginateTypeDef(TypedDict):
deploymentId: str,
instanceStatusFilter: NotRequired[Sequence[InstanceStatusType]], # (1)
instanceTypeFilter: NotRequired[Sequence[InstanceTypeType]], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
- See InstanceStatusType
- See InstanceTypeType
- See PaginatorConfigTypeDef
ListDeploymentTargetsInputPaginateTypeDef#
# ListDeploymentTargetsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsInputPaginateTypeDef
def get_value() -> ListDeploymentTargetsInputPaginateTypeDef:
return {
"deploymentId": ...,
}
# ListDeploymentTargetsInputPaginateTypeDef definition
class ListDeploymentTargetsInputPaginateTypeDef(TypedDict):
deploymentId: str,
targetFilters: NotRequired[Mapping[TargetFilterNameType, Sequence[str]]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListGitHubAccountTokenNamesInputPaginateTypeDef#
# ListGitHubAccountTokenNamesInputPaginateTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesInputPaginateTypeDef
def get_value() -> ListGitHubAccountTokenNamesInputPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListGitHubAccountTokenNamesInputPaginateTypeDef definition
class ListGitHubAccountTokenNamesInputPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListOnPremisesInstancesInputPaginateTypeDef#
# ListOnPremisesInstancesInputPaginateTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesInputPaginateTypeDef
def get_value() -> ListOnPremisesInstancesInputPaginateTypeDef:
return {
"registrationStatus": ...,
}
# ListOnPremisesInstancesInputPaginateTypeDef definition
class ListOnPremisesInstancesInputPaginateTypeDef(TypedDict):
registrationStatus: NotRequired[RegistrationStatusType], # (1)
tagFilters: NotRequired[Sequence[TagFilterTypeDef]], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ZonalConfigTypeDef#
# ZonalConfigTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ZonalConfigTypeDef
def get_value() -> ZonalConfigTypeDef:
return {
"firstZoneMonitorDurationInSeconds": ...,
}
# ZonalConfigTypeDef definition
class ZonalConfigTypeDef(TypedDict):
firstZoneMonitorDurationInSeconds: NotRequired[int],
monitorDurationInSeconds: NotRequired[int],
minimumHealthyHostsPerZone: NotRequired[MinimumHealthyHostsPerZoneTypeDef], # (1)
RevisionLocationTypeDef#
# RevisionLocationTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import RevisionLocationTypeDef
def get_value() -> RevisionLocationTypeDef:
return {
"revisionType": ...,
}
# RevisionLocationTypeDef definition
class RevisionLocationTypeDef(TypedDict):
revisionType: NotRequired[RevisionLocationTypeType], # (1)
s3Location: NotRequired[S3LocationTypeDef], # (2)
gitHubLocation: NotRequired[GitHubLocationTypeDef], # (3)
string: NotRequired[RawStringTypeDef], # (4)
appSpecContent: NotRequired[AppSpecContentTypeDef], # (5)
- See RevisionLocationTypeType
- See S3LocationTypeDef
- See GitHubLocationTypeDef
- See RawStringTypeDef
- See AppSpecContentTypeDef
TargetGroupPairInfoOutputTypeDef#
# TargetGroupPairInfoOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TargetGroupPairInfoOutputTypeDef
def get_value() -> TargetGroupPairInfoOutputTypeDef:
return {
"targetGroups": ...,
}
# TargetGroupPairInfoOutputTypeDef definition
class TargetGroupPairInfoOutputTypeDef(TypedDict):
targetGroups: NotRequired[List[TargetGroupInfoTypeDef]], # (1)
prodTrafficRoute: NotRequired[TrafficRouteOutputTypeDef], # (2)
testTrafficRoute: NotRequired[TrafficRouteOutputTypeDef], # (2)
TargetGroupPairInfoTypeDef#
# TargetGroupPairInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TargetGroupPairInfoTypeDef
def get_value() -> TargetGroupPairInfoTypeDef:
return {
"targetGroups": ...,
}
# TargetGroupPairInfoTypeDef definition
class TargetGroupPairInfoTypeDef(TypedDict):
targetGroups: NotRequired[Sequence[TargetGroupInfoTypeDef]], # (1)
prodTrafficRoute: NotRequired[TrafficRouteTypeDef], # (2)
testTrafficRoute: NotRequired[TrafficRouteTypeDef], # (2)
TrafficRoutingConfigTypeDef#
# TrafficRoutingConfigTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TrafficRoutingConfigTypeDef
def get_value() -> TrafficRoutingConfigTypeDef:
return {
"type": ...,
}
# TrafficRoutingConfigTypeDef definition
class TrafficRoutingConfigTypeDef(TypedDict):
type: NotRequired[TrafficRoutingTypeType], # (1)
timeBasedCanary: NotRequired[TimeBasedCanaryTypeDef], # (2)
timeBasedLinear: NotRequired[TimeBasedLinearTypeDef], # (3)
TimeRangeTypeDef#
# TimeRangeTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TimeRangeTypeDef
def get_value() -> TimeRangeTypeDef:
return {
"start": ...,
}
# TimeRangeTypeDef definition
class TimeRangeTypeDef(TypedDict):
start: NotRequired[TimestampTypeDef],
end: NotRequired[TimestampTypeDef],
BatchGetOnPremisesInstancesOutputTypeDef#
# BatchGetOnPremisesInstancesOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetOnPremisesInstancesOutputTypeDef
def get_value() -> BatchGetOnPremisesInstancesOutputTypeDef:
return {
"instanceInfos": ...,
}
# BatchGetOnPremisesInstancesOutputTypeDef definition
class BatchGetOnPremisesInstancesOutputTypeDef(TypedDict):
instanceInfos: List[InstanceInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetOnPremisesInstanceOutputTypeDef#
# GetOnPremisesInstanceOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetOnPremisesInstanceOutputTypeDef
def get_value() -> GetOnPremisesInstanceOutputTypeDef:
return {
"instanceInfo": ...,
}
# GetOnPremisesInstanceOutputTypeDef definition
class GetOnPremisesInstanceOutputTypeDef(TypedDict):
instanceInfo: InstanceInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
TargetInstancesOutputTypeDef#
# TargetInstancesOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TargetInstancesOutputTypeDef
def get_value() -> TargetInstancesOutputTypeDef:
return {
"tagFilters": ...,
}
# TargetInstancesOutputTypeDef definition
class TargetInstancesOutputTypeDef(TypedDict):
tagFilters: NotRequired[List[EC2TagFilterTypeDef]], # (1)
autoScalingGroups: NotRequired[List[str]],
ec2TagSet: NotRequired[EC2TagSetOutputTypeDef], # (2)
TargetInstancesTypeDef#
# TargetInstancesTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import TargetInstancesTypeDef
def get_value() -> TargetInstancesTypeDef:
return {
"tagFilters": ...,
}
# TargetInstancesTypeDef definition
class TargetInstancesTypeDef(TypedDict):
tagFilters: NotRequired[Sequence[EC2TagFilterTypeDef]], # (1)
autoScalingGroups: NotRequired[Sequence[str]],
ec2TagSet: NotRequired[EC2TagSetTypeDef], # (2)
- See EC2TagFilterTypeDef
- See EC2TagSetTypeDef
CloudFormationTargetTypeDef#
# CloudFormationTargetTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import CloudFormationTargetTypeDef
def get_value() -> CloudFormationTargetTypeDef:
return {
"deploymentId": ...,
}
# CloudFormationTargetTypeDef definition
class CloudFormationTargetTypeDef(TypedDict):
deploymentId: NotRequired[str],
targetId: NotRequired[str],
lastUpdatedAt: NotRequired[datetime],
lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]], # (1)
status: NotRequired[TargetStatusType], # (2)
resourceType: NotRequired[str],
targetVersionWeight: NotRequired[float],
InstanceSummaryTypeDef#
# InstanceSummaryTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import InstanceSummaryTypeDef
def get_value() -> InstanceSummaryTypeDef:
return {
"deploymentId": ...,
}
# InstanceSummaryTypeDef definition
class InstanceSummaryTypeDef(TypedDict):
deploymentId: NotRequired[str],
instanceId: NotRequired[str],
status: NotRequired[InstanceStatusType], # (1)
lastUpdatedAt: NotRequired[datetime],
lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]], # (2)
instanceType: NotRequired[InstanceTypeType], # (3)
- See InstanceStatusType
- See LifecycleEventTypeDef
- See InstanceTypeType
InstanceTargetTypeDef#
# InstanceTargetTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import InstanceTargetTypeDef
def get_value() -> InstanceTargetTypeDef:
return {
"deploymentId": ...,
}
# InstanceTargetTypeDef definition
class InstanceTargetTypeDef(TypedDict):
deploymentId: NotRequired[str],
targetId: NotRequired[str],
targetArn: NotRequired[str],
status: NotRequired[TargetStatusType], # (1)
lastUpdatedAt: NotRequired[datetime],
lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]], # (2)
instanceLabel: NotRequired[TargetLabelType], # (3)
- See TargetStatusType
- See LifecycleEventTypeDef
- See TargetLabelType
LambdaTargetTypeDef#
# LambdaTargetTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import LambdaTargetTypeDef
def get_value() -> LambdaTargetTypeDef:
return {
"deploymentId": ...,
}
# LambdaTargetTypeDef definition
class LambdaTargetTypeDef(TypedDict):
deploymentId: NotRequired[str],
targetId: NotRequired[str],
targetArn: NotRequired[str],
status: NotRequired[TargetStatusType], # (1)
lastUpdatedAt: NotRequired[datetime],
lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]], # (2)
lambdaFunctionInfo: NotRequired[LambdaFunctionInfoTypeDef], # (3)
ECSTargetTypeDef#
# ECSTargetTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ECSTargetTypeDef
def get_value() -> ECSTargetTypeDef:
return {
"deploymentId": ...,
}
# ECSTargetTypeDef definition
class ECSTargetTypeDef(TypedDict):
deploymentId: NotRequired[str],
targetId: NotRequired[str],
targetArn: NotRequired[str],
lastUpdatedAt: NotRequired[datetime],
lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]], # (1)
status: NotRequired[TargetStatusType], # (2)
taskSetsInfo: NotRequired[List[ECSTaskSetTypeDef]], # (3)
- See LifecycleEventTypeDef
- See TargetStatusType
- See ECSTaskSetTypeDef
BatchGetApplicationRevisionsInputTypeDef#
# BatchGetApplicationRevisionsInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetApplicationRevisionsInputTypeDef
def get_value() -> BatchGetApplicationRevisionsInputTypeDef:
return {
"applicationName": ...,
}
# BatchGetApplicationRevisionsInputTypeDef definition
class BatchGetApplicationRevisionsInputTypeDef(TypedDict):
applicationName: str,
revisions: Sequence[RevisionLocationTypeDef], # (1)
GetApplicationRevisionInputTypeDef#
# GetApplicationRevisionInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetApplicationRevisionInputTypeDef
def get_value() -> GetApplicationRevisionInputTypeDef:
return {
"applicationName": ...,
}
# GetApplicationRevisionInputTypeDef definition
class GetApplicationRevisionInputTypeDef(TypedDict):
applicationName: str,
revision: RevisionLocationTypeDef, # (1)
GetApplicationRevisionOutputTypeDef#
# GetApplicationRevisionOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetApplicationRevisionOutputTypeDef
def get_value() -> GetApplicationRevisionOutputTypeDef:
return {
"applicationName": ...,
}
# GetApplicationRevisionOutputTypeDef definition
class GetApplicationRevisionOutputTypeDef(TypedDict):
applicationName: str,
revision: RevisionLocationTypeDef, # (1)
revisionInfo: GenericRevisionInfoTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ListApplicationRevisionsOutputTypeDef#
# ListApplicationRevisionsOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsOutputTypeDef
def get_value() -> ListApplicationRevisionsOutputTypeDef:
return {
"revisions": ...,
}
# ListApplicationRevisionsOutputTypeDef definition
class ListApplicationRevisionsOutputTypeDef(TypedDict):
revisions: List[RevisionLocationTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
RegisterApplicationRevisionInputTypeDef#
# RegisterApplicationRevisionInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import RegisterApplicationRevisionInputTypeDef
def get_value() -> RegisterApplicationRevisionInputTypeDef:
return {
"applicationName": ...,
}
# RegisterApplicationRevisionInputTypeDef definition
class RegisterApplicationRevisionInputTypeDef(TypedDict):
applicationName: str,
revision: RevisionLocationTypeDef, # (1)
description: NotRequired[str],
RevisionInfoTypeDef#
# RevisionInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import RevisionInfoTypeDef
def get_value() -> RevisionInfoTypeDef:
return {
"revisionLocation": ...,
}
# RevisionInfoTypeDef definition
class RevisionInfoTypeDef(TypedDict):
revisionLocation: NotRequired[RevisionLocationTypeDef], # (1)
genericRevisionInfo: NotRequired[GenericRevisionInfoTypeDef], # (2)
LoadBalancerInfoOutputTypeDef#
# LoadBalancerInfoOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import LoadBalancerInfoOutputTypeDef
def get_value() -> LoadBalancerInfoOutputTypeDef:
return {
"elbInfoList": ...,
}
# LoadBalancerInfoOutputTypeDef definition
class LoadBalancerInfoOutputTypeDef(TypedDict):
elbInfoList: NotRequired[List[ELBInfoTypeDef]], # (1)
targetGroupInfoList: NotRequired[List[TargetGroupInfoTypeDef]], # (2)
targetGroupPairInfoList: NotRequired[List[TargetGroupPairInfoOutputTypeDef]], # (3)
LoadBalancerInfoTypeDef#
# LoadBalancerInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import LoadBalancerInfoTypeDef
def get_value() -> LoadBalancerInfoTypeDef:
return {
"elbInfoList": ...,
}
# LoadBalancerInfoTypeDef definition
class LoadBalancerInfoTypeDef(TypedDict):
elbInfoList: NotRequired[Sequence[ELBInfoTypeDef]], # (1)
targetGroupInfoList: NotRequired[Sequence[TargetGroupInfoTypeDef]], # (2)
targetGroupPairInfoList: NotRequired[Sequence[TargetGroupPairInfoTypeDef]], # (3)
CreateDeploymentConfigInputTypeDef#
# CreateDeploymentConfigInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentConfigInputTypeDef
def get_value() -> CreateDeploymentConfigInputTypeDef:
return {
"deploymentConfigName": ...,
}
# CreateDeploymentConfigInputTypeDef definition
class CreateDeploymentConfigInputTypeDef(TypedDict):
deploymentConfigName: str,
minimumHealthyHosts: NotRequired[MinimumHealthyHostsTypeDef], # (1)
trafficRoutingConfig: NotRequired[TrafficRoutingConfigTypeDef], # (2)
computePlatform: NotRequired[ComputePlatformType], # (3)
zonalConfig: NotRequired[ZonalConfigTypeDef], # (4)
- See MinimumHealthyHostsTypeDef
- See TrafficRoutingConfigTypeDef
- See ComputePlatformType
- See ZonalConfigTypeDef
DeploymentConfigInfoTypeDef#
# DeploymentConfigInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeploymentConfigInfoTypeDef
def get_value() -> DeploymentConfigInfoTypeDef:
return {
"deploymentConfigId": ...,
}
# DeploymentConfigInfoTypeDef definition
class DeploymentConfigInfoTypeDef(TypedDict):
deploymentConfigId: NotRequired[str],
deploymentConfigName: NotRequired[str],
minimumHealthyHosts: NotRequired[MinimumHealthyHostsTypeDef], # (1)
createTime: NotRequired[datetime],
computePlatform: NotRequired[ComputePlatformType], # (2)
trafficRoutingConfig: NotRequired[TrafficRoutingConfigTypeDef], # (3)
zonalConfig: NotRequired[ZonalConfigTypeDef], # (4)
- See MinimumHealthyHostsTypeDef
- See ComputePlatformType
- See TrafficRoutingConfigTypeDef
- See ZonalConfigTypeDef
ListDeploymentsInputPaginateTypeDef#
# ListDeploymentsInputPaginateTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentsInputPaginateTypeDef
def get_value() -> ListDeploymentsInputPaginateTypeDef:
return {
"applicationName": ...,
}
# ListDeploymentsInputPaginateTypeDef definition
class ListDeploymentsInputPaginateTypeDef(TypedDict):
applicationName: NotRequired[str],
deploymentGroupName: NotRequired[str],
externalId: NotRequired[str],
includeOnlyStatuses: NotRequired[Sequence[DeploymentStatusType]], # (1)
createTimeRange: NotRequired[TimeRangeTypeDef], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ListDeploymentsInputTypeDef#
# ListDeploymentsInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentsInputTypeDef
def get_value() -> ListDeploymentsInputTypeDef:
return {
"applicationName": ...,
}
# ListDeploymentsInputTypeDef definition
class ListDeploymentsInputTypeDef(TypedDict):
applicationName: NotRequired[str],
deploymentGroupName: NotRequired[str],
externalId: NotRequired[str],
includeOnlyStatuses: NotRequired[Sequence[DeploymentStatusType]], # (1)
createTimeRange: NotRequired[TimeRangeTypeDef], # (2)
nextToken: NotRequired[str],
- See DeploymentStatusType
- See TimeRangeTypeDef
BatchGetDeploymentInstancesOutputTypeDef#
# BatchGetDeploymentInstancesOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentInstancesOutputTypeDef
def get_value() -> BatchGetDeploymentInstancesOutputTypeDef:
return {
"instancesSummary": ...,
}
# BatchGetDeploymentInstancesOutputTypeDef definition
class BatchGetDeploymentInstancesOutputTypeDef(TypedDict):
instancesSummary: List[InstanceSummaryTypeDef], # (1)
errorMessage: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDeploymentInstanceOutputTypeDef#
# GetDeploymentInstanceOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentInstanceOutputTypeDef
def get_value() -> GetDeploymentInstanceOutputTypeDef:
return {
"instanceSummary": ...,
}
# GetDeploymentInstanceOutputTypeDef definition
class GetDeploymentInstanceOutputTypeDef(TypedDict):
instanceSummary: InstanceSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeploymentTargetTypeDef#
# DeploymentTargetTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeploymentTargetTypeDef
def get_value() -> DeploymentTargetTypeDef:
return {
"deploymentTargetType": ...,
}
# DeploymentTargetTypeDef definition
class DeploymentTargetTypeDef(TypedDict):
deploymentTargetType: NotRequired[DeploymentTargetTypeType], # (1)
instanceTarget: NotRequired[InstanceTargetTypeDef], # (2)
lambdaTarget: NotRequired[LambdaTargetTypeDef], # (3)
ecsTarget: NotRequired[ECSTargetTypeDef], # (4)
cloudFormationTarget: NotRequired[CloudFormationTargetTypeDef], # (5)
- See DeploymentTargetTypeType
- See InstanceTargetTypeDef
- See LambdaTargetTypeDef
- See ECSTargetTypeDef
- See CloudFormationTargetTypeDef
BatchGetApplicationRevisionsOutputTypeDef#
# BatchGetApplicationRevisionsOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetApplicationRevisionsOutputTypeDef
def get_value() -> BatchGetApplicationRevisionsOutputTypeDef:
return {
"applicationName": ...,
}
# BatchGetApplicationRevisionsOutputTypeDef definition
class BatchGetApplicationRevisionsOutputTypeDef(TypedDict):
applicationName: str,
errorMessage: str,
revisions: List[RevisionInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeploymentGroupInfoTypeDef#
# DeploymentGroupInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeploymentGroupInfoTypeDef
def get_value() -> DeploymentGroupInfoTypeDef:
return {
"applicationName": ...,
}
# DeploymentGroupInfoTypeDef definition
class DeploymentGroupInfoTypeDef(TypedDict):
applicationName: NotRequired[str],
deploymentGroupId: NotRequired[str],
deploymentGroupName: NotRequired[str],
deploymentConfigName: NotRequired[str],
ec2TagFilters: NotRequired[List[EC2TagFilterTypeDef]], # (1)
onPremisesInstanceTagFilters: NotRequired[List[TagFilterTypeDef]], # (2)
autoScalingGroups: NotRequired[List[AutoScalingGroupTypeDef]], # (3)
serviceRoleArn: NotRequired[str],
targetRevision: NotRequired[RevisionLocationTypeDef], # (4)
triggerConfigurations: NotRequired[List[TriggerConfigOutputTypeDef]], # (5)
alarmConfiguration: NotRequired[AlarmConfigurationOutputTypeDef], # (6)
autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationOutputTypeDef], # (7)
deploymentStyle: NotRequired[DeploymentStyleTypeDef], # (8)
outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType], # (9)
blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef], # (10)
loadBalancerInfo: NotRequired[LoadBalancerInfoOutputTypeDef], # (11)
lastSuccessfulDeployment: NotRequired[LastDeploymentInfoTypeDef], # (12)
lastAttemptedDeployment: NotRequired[LastDeploymentInfoTypeDef], # (12)
ec2TagSet: NotRequired[EC2TagSetOutputTypeDef], # (14)
onPremisesTagSet: NotRequired[OnPremisesTagSetOutputTypeDef], # (15)
computePlatform: NotRequired[ComputePlatformType], # (16)
ecsServices: NotRequired[List[ECSServiceTypeDef]], # (17)
terminationHookEnabled: NotRequired[bool],
- See EC2TagFilterTypeDef
- See TagFilterTypeDef
- See AutoScalingGroupTypeDef
- See RevisionLocationTypeDef
- See TriggerConfigOutputTypeDef
- See AlarmConfigurationOutputTypeDef
- See AutoRollbackConfigurationOutputTypeDef
- See DeploymentStyleTypeDef
- See OutdatedInstancesStrategyType
- See BlueGreenDeploymentConfigurationTypeDef
- See LoadBalancerInfoOutputTypeDef
- See LastDeploymentInfoTypeDef
- See LastDeploymentInfoTypeDef
- See EC2TagSetOutputTypeDef
- See OnPremisesTagSetOutputTypeDef
- See ComputePlatformType
- See ECSServiceTypeDef
DeploymentInfoTypeDef#
# DeploymentInfoTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import DeploymentInfoTypeDef
def get_value() -> DeploymentInfoTypeDef:
return {
"applicationName": ...,
}
# DeploymentInfoTypeDef definition
class DeploymentInfoTypeDef(TypedDict):
applicationName: NotRequired[str],
deploymentGroupName: NotRequired[str],
deploymentConfigName: NotRequired[str],
deploymentId: NotRequired[str],
previousRevision: NotRequired[RevisionLocationTypeDef], # (1)
revision: NotRequired[RevisionLocationTypeDef], # (1)
status: NotRequired[DeploymentStatusType], # (3)
errorInformation: NotRequired[ErrorInformationTypeDef], # (4)
createTime: NotRequired[datetime],
startTime: NotRequired[datetime],
completeTime: NotRequired[datetime],
deploymentOverview: NotRequired[DeploymentOverviewTypeDef], # (5)
description: NotRequired[str],
creator: NotRequired[DeploymentCreatorType], # (6)
ignoreApplicationStopFailures: NotRequired[bool],
autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationOutputTypeDef], # (7)
updateOutdatedInstancesOnly: NotRequired[bool],
rollbackInfo: NotRequired[RollbackInfoTypeDef], # (8)
deploymentStyle: NotRequired[DeploymentStyleTypeDef], # (9)
targetInstances: NotRequired[TargetInstancesOutputTypeDef], # (10)
instanceTerminationWaitTimeStarted: NotRequired[bool],
blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef], # (11)
loadBalancerInfo: NotRequired[LoadBalancerInfoOutputTypeDef], # (12)
additionalDeploymentStatusInfo: NotRequired[str],
fileExistsBehavior: NotRequired[FileExistsBehaviorType], # (13)
deploymentStatusMessages: NotRequired[List[str]],
computePlatform: NotRequired[ComputePlatformType], # (14)
externalId: NotRequired[str],
relatedDeployments: NotRequired[RelatedDeploymentsTypeDef], # (15)
overrideAlarmConfiguration: NotRequired[AlarmConfigurationOutputTypeDef], # (16)
- See RevisionLocationTypeDef
- See RevisionLocationTypeDef
- See DeploymentStatusType
- See ErrorInformationTypeDef
- See DeploymentOverviewTypeDef
- See DeploymentCreatorType
- See AutoRollbackConfigurationOutputTypeDef
- See RollbackInfoTypeDef
- See DeploymentStyleTypeDef
- See TargetInstancesOutputTypeDef
- See BlueGreenDeploymentConfigurationTypeDef
- See LoadBalancerInfoOutputTypeDef
- See FileExistsBehaviorType
- See ComputePlatformType
- See RelatedDeploymentsTypeDef
- See AlarmConfigurationOutputTypeDef
GetDeploymentConfigOutputTypeDef#
# GetDeploymentConfigOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentConfigOutputTypeDef
def get_value() -> GetDeploymentConfigOutputTypeDef:
return {
"deploymentConfigInfo": ...,
}
# GetDeploymentConfigOutputTypeDef definition
class GetDeploymentConfigOutputTypeDef(TypedDict):
deploymentConfigInfo: DeploymentConfigInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateDeploymentInputTypeDef#
# CreateDeploymentInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentInputTypeDef
def get_value() -> CreateDeploymentInputTypeDef:
return {
"applicationName": ...,
}
# CreateDeploymentInputTypeDef definition
class CreateDeploymentInputTypeDef(TypedDict):
applicationName: str,
deploymentGroupName: NotRequired[str],
revision: NotRequired[RevisionLocationTypeDef], # (1)
deploymentConfigName: NotRequired[str],
description: NotRequired[str],
ignoreApplicationStopFailures: NotRequired[bool],
targetInstances: NotRequired[TargetInstancesUnionTypeDef], # (2)
autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationUnionTypeDef], # (3)
updateOutdatedInstancesOnly: NotRequired[bool],
fileExistsBehavior: NotRequired[FileExistsBehaviorType], # (4)
overrideAlarmConfiguration: NotRequired[AlarmConfigurationUnionTypeDef], # (5)
- See RevisionLocationTypeDef
- See TargetInstancesTypeDef TargetInstancesOutputTypeDef
- See AutoRollbackConfigurationTypeDef AutoRollbackConfigurationOutputTypeDef
- See FileExistsBehaviorType
- See AlarmConfigurationTypeDef AlarmConfigurationOutputTypeDef
BatchGetDeploymentTargetsOutputTypeDef#
# BatchGetDeploymentTargetsOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentTargetsOutputTypeDef
def get_value() -> BatchGetDeploymentTargetsOutputTypeDef:
return {
"deploymentTargets": ...,
}
# BatchGetDeploymentTargetsOutputTypeDef definition
class BatchGetDeploymentTargetsOutputTypeDef(TypedDict):
deploymentTargets: List[DeploymentTargetTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDeploymentTargetOutputTypeDef#
# GetDeploymentTargetOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentTargetOutputTypeDef
def get_value() -> GetDeploymentTargetOutputTypeDef:
return {
"deploymentTarget": ...,
}
# GetDeploymentTargetOutputTypeDef definition
class GetDeploymentTargetOutputTypeDef(TypedDict):
deploymentTarget: DeploymentTargetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchGetDeploymentGroupsOutputTypeDef#
# BatchGetDeploymentGroupsOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentGroupsOutputTypeDef
def get_value() -> BatchGetDeploymentGroupsOutputTypeDef:
return {
"deploymentGroupsInfo": ...,
}
# BatchGetDeploymentGroupsOutputTypeDef definition
class BatchGetDeploymentGroupsOutputTypeDef(TypedDict):
deploymentGroupsInfo: List[DeploymentGroupInfoTypeDef], # (1)
errorMessage: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDeploymentGroupOutputTypeDef#
# GetDeploymentGroupOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentGroupOutputTypeDef
def get_value() -> GetDeploymentGroupOutputTypeDef:
return {
"deploymentGroupInfo": ...,
}
# GetDeploymentGroupOutputTypeDef definition
class GetDeploymentGroupOutputTypeDef(TypedDict):
deploymentGroupInfo: DeploymentGroupInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchGetDeploymentsOutputTypeDef#
# BatchGetDeploymentsOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentsOutputTypeDef
def get_value() -> BatchGetDeploymentsOutputTypeDef:
return {
"deploymentsInfo": ...,
}
# BatchGetDeploymentsOutputTypeDef definition
class BatchGetDeploymentsOutputTypeDef(TypedDict):
deploymentsInfo: List[DeploymentInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDeploymentOutputTypeDef#
# GetDeploymentOutputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentOutputTypeDef
def get_value() -> GetDeploymentOutputTypeDef:
return {
"deploymentInfo": ...,
}
# GetDeploymentOutputTypeDef definition
class GetDeploymentOutputTypeDef(TypedDict):
deploymentInfo: DeploymentInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateDeploymentGroupInputTypeDef#
# CreateDeploymentGroupInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentGroupInputTypeDef
def get_value() -> CreateDeploymentGroupInputTypeDef:
return {
"applicationName": ...,
}
# CreateDeploymentGroupInputTypeDef definition
class CreateDeploymentGroupInputTypeDef(TypedDict):
applicationName: str,
deploymentGroupName: str,
serviceRoleArn: str,
deploymentConfigName: NotRequired[str],
ec2TagFilters: NotRequired[Sequence[EC2TagFilterTypeDef]], # (1)
onPremisesInstanceTagFilters: NotRequired[Sequence[TagFilterTypeDef]], # (2)
autoScalingGroups: NotRequired[Sequence[str]],
triggerConfigurations: NotRequired[Sequence[TriggerConfigUnionTypeDef]], # (3)
alarmConfiguration: NotRequired[AlarmConfigurationUnionTypeDef], # (4)
autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationUnionTypeDef], # (5)
outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType], # (6)
deploymentStyle: NotRequired[DeploymentStyleTypeDef], # (7)
blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef], # (8)
loadBalancerInfo: NotRequired[LoadBalancerInfoUnionTypeDef], # (9)
ec2TagSet: NotRequired[EC2TagSetUnionTypeDef], # (10)
ecsServices: NotRequired[Sequence[ECSServiceTypeDef]], # (11)
onPremisesTagSet: NotRequired[OnPremisesTagSetUnionTypeDef], # (12)
tags: NotRequired[Sequence[TagTypeDef]], # (13)
terminationHookEnabled: NotRequired[bool],
- See EC2TagFilterTypeDef
- See TagFilterTypeDef
- See TriggerConfigTypeDef TriggerConfigOutputTypeDef
- See AlarmConfigurationTypeDef AlarmConfigurationOutputTypeDef
- See AutoRollbackConfigurationTypeDef AutoRollbackConfigurationOutputTypeDef
- See OutdatedInstancesStrategyType
- See DeploymentStyleTypeDef
- See BlueGreenDeploymentConfigurationTypeDef
- See LoadBalancerInfoTypeDef LoadBalancerInfoOutputTypeDef
- See EC2TagSetTypeDef EC2TagSetOutputTypeDef
- See ECSServiceTypeDef
- See OnPremisesTagSetTypeDef OnPremisesTagSetOutputTypeDef
- See TagTypeDef
UpdateDeploymentGroupInputTypeDef#
# UpdateDeploymentGroupInputTypeDef TypedDict usage example
from mypy_boto3_codedeploy.type_defs import UpdateDeploymentGroupInputTypeDef
def get_value() -> UpdateDeploymentGroupInputTypeDef:
return {
"applicationName": ...,
}
# UpdateDeploymentGroupInputTypeDef definition
class UpdateDeploymentGroupInputTypeDef(TypedDict):
applicationName: str,
currentDeploymentGroupName: str,
newDeploymentGroupName: NotRequired[str],
deploymentConfigName: NotRequired[str],
ec2TagFilters: NotRequired[Sequence[EC2TagFilterTypeDef]], # (1)
onPremisesInstanceTagFilters: NotRequired[Sequence[TagFilterTypeDef]], # (2)
autoScalingGroups: NotRequired[Sequence[str]],
serviceRoleArn: NotRequired[str],
triggerConfigurations: NotRequired[Sequence[TriggerConfigUnionTypeDef]], # (3)
alarmConfiguration: NotRequired[AlarmConfigurationUnionTypeDef], # (4)
autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationUnionTypeDef], # (5)
outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType], # (6)
deploymentStyle: NotRequired[DeploymentStyleTypeDef], # (7)
blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef], # (8)
loadBalancerInfo: NotRequired[LoadBalancerInfoUnionTypeDef], # (9)
ec2TagSet: NotRequired[EC2TagSetUnionTypeDef], # (10)
ecsServices: NotRequired[Sequence[ECSServiceTypeDef]], # (11)
onPremisesTagSet: NotRequired[OnPremisesTagSetUnionTypeDef], # (12)
terminationHookEnabled: NotRequired[bool],
- See EC2TagFilterTypeDef
- See TagFilterTypeDef
- See TriggerConfigTypeDef TriggerConfigOutputTypeDef
- See AlarmConfigurationTypeDef AlarmConfigurationOutputTypeDef
- See AutoRollbackConfigurationTypeDef AutoRollbackConfigurationOutputTypeDef
- See OutdatedInstancesStrategyType
- See DeploymentStyleTypeDef
- See BlueGreenDeploymentConfigurationTypeDef
- See LoadBalancerInfoTypeDef LoadBalancerInfoOutputTypeDef
- See EC2TagSetTypeDef EC2TagSetOutputTypeDef
- See ECSServiceTypeDef
- See OnPremisesTagSetTypeDef OnPremisesTagSetOutputTypeDef