Typed dictionaries#
Index > CodeDeploy > Typed dictionaries
Auto-generated documentation for CodeDeploy type annotations stubs module mypy-boto3-codedeploy.
TagTypeDef#
# TagTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"Key": ...,
}
# TagTypeDef definition
class TagTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
AlarmTypeDef#
# AlarmTypeDef usage example
from mypy_boto3_codedeploy.type_defs import AlarmTypeDef
def get_value() -> AlarmTypeDef:
return {
"name": ...,
}
# AlarmTypeDef definition
class AlarmTypeDef(TypedDict):
name: NotRequired[str],
AppSpecContentTypeDef#
# AppSpecContentTypeDef usage example
from mypy_boto3_codedeploy.type_defs import AppSpecContentTypeDef
def get_value() -> AppSpecContentTypeDef:
return {
"content": ...,
}
# AppSpecContentTypeDef definition
class AppSpecContentTypeDef(TypedDict):
content: NotRequired[str],
sha256: NotRequired[str],
ApplicationInfoTypeDef#
# ApplicationInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ApplicationInfoTypeDef
def get_value() -> ApplicationInfoTypeDef:
return {
"applicationId": ...,
}
# ApplicationInfoTypeDef definition
class ApplicationInfoTypeDef(TypedDict):
applicationId: NotRequired[str],
applicationName: NotRequired[str],
createTime: NotRequired[datetime],
linkedToGitHub: NotRequired[bool],
gitHubAccountName: NotRequired[str],
computePlatform: NotRequired[ComputePlatformType], # (1)
AutoRollbackConfigurationTypeDef#
# AutoRollbackConfigurationTypeDef usage example
from mypy_boto3_codedeploy.type_defs import AutoRollbackConfigurationTypeDef
def get_value() -> AutoRollbackConfigurationTypeDef:
return {
"enabled": ...,
}
# AutoRollbackConfigurationTypeDef definition
class AutoRollbackConfigurationTypeDef(TypedDict):
enabled: NotRequired[bool],
events: NotRequired[List[AutoRollbackEventType]], # (1)
AutoScalingGroupTypeDef#
# AutoScalingGroupTypeDef usage example
from mypy_boto3_codedeploy.type_defs import AutoScalingGroupTypeDef
def get_value() -> AutoScalingGroupTypeDef:
return {
"name": ...,
}
# AutoScalingGroupTypeDef definition
class AutoScalingGroupTypeDef(TypedDict):
name: NotRequired[str],
hook: NotRequired[str],
BatchGetApplicationsInputRequestTypeDef#
# BatchGetApplicationsInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetApplicationsInputRequestTypeDef
def get_value() -> BatchGetApplicationsInputRequestTypeDef:
return {
"applicationNames": ...,
}
# BatchGetApplicationsInputRequestTypeDef definition
class BatchGetApplicationsInputRequestTypeDef(TypedDict):
applicationNames: Sequence[str],
BatchGetDeploymentGroupsInputRequestTypeDef#
# BatchGetDeploymentGroupsInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentGroupsInputRequestTypeDef
def get_value() -> BatchGetDeploymentGroupsInputRequestTypeDef:
return {
"applicationName": ...,
"deploymentGroupNames": ...,
}
# BatchGetDeploymentGroupsInputRequestTypeDef definition
class BatchGetDeploymentGroupsInputRequestTypeDef(TypedDict):
applicationName: str,
deploymentGroupNames: Sequence[str],
BatchGetDeploymentInstancesInputRequestTypeDef#
# BatchGetDeploymentInstancesInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentInstancesInputRequestTypeDef
def get_value() -> BatchGetDeploymentInstancesInputRequestTypeDef:
return {
"deploymentId": ...,
"instanceIds": ...,
}
# BatchGetDeploymentInstancesInputRequestTypeDef definition
class BatchGetDeploymentInstancesInputRequestTypeDef(TypedDict):
deploymentId: str,
instanceIds: Sequence[str],
BatchGetDeploymentTargetsInputRequestTypeDef#
# BatchGetDeploymentTargetsInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentTargetsInputRequestTypeDef
def get_value() -> BatchGetDeploymentTargetsInputRequestTypeDef:
return {
"deploymentId": ...,
}
# BatchGetDeploymentTargetsInputRequestTypeDef definition
class BatchGetDeploymentTargetsInputRequestTypeDef(TypedDict):
deploymentId: NotRequired[str],
targetIds: NotRequired[Sequence[str]],
BatchGetDeploymentsInputRequestTypeDef#
# BatchGetDeploymentsInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentsInputRequestTypeDef
def get_value() -> BatchGetDeploymentsInputRequestTypeDef:
return {
"deploymentIds": ...,
}
# BatchGetDeploymentsInputRequestTypeDef definition
class BatchGetDeploymentsInputRequestTypeDef(TypedDict):
deploymentIds: Sequence[str],
BatchGetOnPremisesInstancesInputRequestTypeDef#
# BatchGetOnPremisesInstancesInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetOnPremisesInstancesInputRequestTypeDef
def get_value() -> BatchGetOnPremisesInstancesInputRequestTypeDef:
return {
"instanceNames": ...,
}
# BatchGetOnPremisesInstancesInputRequestTypeDef definition
class BatchGetOnPremisesInstancesInputRequestTypeDef(TypedDict):
instanceNames: Sequence[str],
BlueInstanceTerminationOptionTypeDef#
# BlueInstanceTerminationOptionTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BlueInstanceTerminationOptionTypeDef
def get_value() -> BlueInstanceTerminationOptionTypeDef:
return {
"action": ...,
}
# BlueInstanceTerminationOptionTypeDef definition
class BlueInstanceTerminationOptionTypeDef(TypedDict):
action: NotRequired[InstanceActionType], # (1)
terminationWaitTimeInMinutes: NotRequired[int],
DeploymentReadyOptionTypeDef#
# DeploymentReadyOptionTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeploymentReadyOptionTypeDef
def get_value() -> DeploymentReadyOptionTypeDef:
return {
"actionOnTimeout": ...,
}
# DeploymentReadyOptionTypeDef definition
class DeploymentReadyOptionTypeDef(TypedDict):
actionOnTimeout: NotRequired[DeploymentReadyActionType], # (1)
waitTimeInMinutes: NotRequired[int],
GreenFleetProvisioningOptionTypeDef#
# GreenFleetProvisioningOptionTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GreenFleetProvisioningOptionTypeDef
def get_value() -> GreenFleetProvisioningOptionTypeDef:
return {
"action": ...,
}
# GreenFleetProvisioningOptionTypeDef definition
class GreenFleetProvisioningOptionTypeDef(TypedDict):
action: NotRequired[GreenFleetProvisioningActionType], # (1)
ContinueDeploymentInputRequestTypeDef#
# ContinueDeploymentInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ContinueDeploymentInputRequestTypeDef
def get_value() -> ContinueDeploymentInputRequestTypeDef:
return {
"deploymentId": ...,
}
# ContinueDeploymentInputRequestTypeDef definition
class ContinueDeploymentInputRequestTypeDef(TypedDict):
deploymentId: NotRequired[str],
deploymentWaitType: NotRequired[DeploymentWaitTypeType], # (1)
CreateApplicationOutputTypeDef#
# CreateApplicationOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import CreateApplicationOutputTypeDef
def get_value() -> CreateApplicationOutputTypeDef:
return {
"applicationId": ...,
"ResponseMetadata": ...,
}
# CreateApplicationOutputTypeDef definition
class CreateApplicationOutputTypeDef(TypedDict):
applicationId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
MinimumHealthyHostsTypeDef#
# MinimumHealthyHostsTypeDef usage example
from mypy_boto3_codedeploy.type_defs import MinimumHealthyHostsTypeDef
def get_value() -> MinimumHealthyHostsTypeDef:
return {
"type": ...,
}
# MinimumHealthyHostsTypeDef definition
class MinimumHealthyHostsTypeDef(TypedDict):
type: NotRequired[MinimumHealthyHostsTypeType], # (1)
value: NotRequired[int],
CreateDeploymentConfigOutputTypeDef#
# CreateDeploymentConfigOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentConfigOutputTypeDef
def get_value() -> CreateDeploymentConfigOutputTypeDef:
return {
"deploymentConfigId": ...,
"ResponseMetadata": ...,
}
# CreateDeploymentConfigOutputTypeDef definition
class CreateDeploymentConfigOutputTypeDef(TypedDict):
deploymentConfigId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeploymentStyleTypeDef#
# DeploymentStyleTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeploymentStyleTypeDef
def get_value() -> DeploymentStyleTypeDef:
return {
"deploymentType": ...,
}
# DeploymentStyleTypeDef definition
class DeploymentStyleTypeDef(TypedDict):
deploymentType: NotRequired[DeploymentTypeType], # (1)
deploymentOption: NotRequired[DeploymentOptionType], # (2)
EC2TagFilterTypeDef#
# EC2TagFilterTypeDef usage example
from mypy_boto3_codedeploy.type_defs import EC2TagFilterTypeDef
def get_value() -> EC2TagFilterTypeDef:
return {
"Key": ...,
}
# EC2TagFilterTypeDef definition
class EC2TagFilterTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
Type: NotRequired[EC2TagFilterTypeType], # (1)
ECSServiceTypeDef#
# ECSServiceTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ECSServiceTypeDef
def get_value() -> ECSServiceTypeDef:
return {
"serviceName": ...,
}
# ECSServiceTypeDef definition
class ECSServiceTypeDef(TypedDict):
serviceName: NotRequired[str],
clusterName: NotRequired[str],
TagFilterTypeDef#
# TagFilterTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TagFilterTypeDef
def get_value() -> TagFilterTypeDef:
return {
"Key": ...,
}
# TagFilterTypeDef definition
class TagFilterTypeDef(TypedDict):
Key: NotRequired[str],
Value: NotRequired[str],
Type: NotRequired[TagFilterTypeType], # (1)
TriggerConfigTypeDef#
# TriggerConfigTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TriggerConfigTypeDef
def get_value() -> TriggerConfigTypeDef:
return {
"triggerName": ...,
}
# TriggerConfigTypeDef definition
class TriggerConfigTypeDef(TypedDict):
triggerName: NotRequired[str],
triggerTargetArn: NotRequired[str],
triggerEvents: NotRequired[List[TriggerEventTypeType]], # (1)
CreateDeploymentGroupOutputTypeDef#
# CreateDeploymentGroupOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentGroupOutputTypeDef
def get_value() -> CreateDeploymentGroupOutputTypeDef:
return {
"deploymentGroupId": ...,
"ResponseMetadata": ...,
}
# CreateDeploymentGroupOutputTypeDef definition
class CreateDeploymentGroupOutputTypeDef(TypedDict):
deploymentGroupId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateDeploymentOutputTypeDef#
# CreateDeploymentOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentOutputTypeDef
def get_value() -> CreateDeploymentOutputTypeDef:
return {
"deploymentId": ...,
"ResponseMetadata": ...,
}
# CreateDeploymentOutputTypeDef definition
class CreateDeploymentOutputTypeDef(TypedDict):
deploymentId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteApplicationInputRequestTypeDef#
# DeleteApplicationInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeleteApplicationInputRequestTypeDef
def get_value() -> DeleteApplicationInputRequestTypeDef:
return {
"applicationName": ...,
}
# DeleteApplicationInputRequestTypeDef definition
class DeleteApplicationInputRequestTypeDef(TypedDict):
applicationName: str,
DeleteDeploymentConfigInputRequestTypeDef#
# DeleteDeploymentConfigInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeleteDeploymentConfigInputRequestTypeDef
def get_value() -> DeleteDeploymentConfigInputRequestTypeDef:
return {
"deploymentConfigName": ...,
}
# DeleteDeploymentConfigInputRequestTypeDef definition
class DeleteDeploymentConfigInputRequestTypeDef(TypedDict):
deploymentConfigName: str,
DeleteDeploymentGroupInputRequestTypeDef#
# DeleteDeploymentGroupInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeleteDeploymentGroupInputRequestTypeDef
def get_value() -> DeleteDeploymentGroupInputRequestTypeDef:
return {
"applicationName": ...,
"deploymentGroupName": ...,
}
# DeleteDeploymentGroupInputRequestTypeDef definition
class DeleteDeploymentGroupInputRequestTypeDef(TypedDict):
applicationName: str,
deploymentGroupName: str,
DeleteGitHubAccountTokenInputRequestTypeDef#
# DeleteGitHubAccountTokenInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeleteGitHubAccountTokenInputRequestTypeDef
def get_value() -> DeleteGitHubAccountTokenInputRequestTypeDef:
return {
"tokenName": ...,
}
# DeleteGitHubAccountTokenInputRequestTypeDef definition
class DeleteGitHubAccountTokenInputRequestTypeDef(TypedDict):
tokenName: NotRequired[str],
DeleteGitHubAccountTokenOutputTypeDef#
# DeleteGitHubAccountTokenOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeleteGitHubAccountTokenOutputTypeDef
def get_value() -> DeleteGitHubAccountTokenOutputTypeDef:
return {
"tokenName": ...,
"ResponseMetadata": ...,
}
# DeleteGitHubAccountTokenOutputTypeDef definition
class DeleteGitHubAccountTokenOutputTypeDef(TypedDict):
tokenName: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteResourcesByExternalIdInputRequestTypeDef#
# DeleteResourcesByExternalIdInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeleteResourcesByExternalIdInputRequestTypeDef
def get_value() -> DeleteResourcesByExternalIdInputRequestTypeDef:
return {
"externalId": ...,
}
# DeleteResourcesByExternalIdInputRequestTypeDef definition
class DeleteResourcesByExternalIdInputRequestTypeDef(TypedDict):
externalId: NotRequired[str],
LastDeploymentInfoTypeDef#
# LastDeploymentInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import LastDeploymentInfoTypeDef
def get_value() -> LastDeploymentInfoTypeDef:
return {
"deploymentId": ...,
}
# LastDeploymentInfoTypeDef definition
class LastDeploymentInfoTypeDef(TypedDict):
deploymentId: NotRequired[str],
status: NotRequired[DeploymentStatusType], # (1)
endTime: NotRequired[datetime],
createTime: NotRequired[datetime],
DeploymentOverviewTypeDef#
# DeploymentOverviewTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeploymentOverviewTypeDef
def get_value() -> DeploymentOverviewTypeDef:
return {
"Pending": ...,
}
# DeploymentOverviewTypeDef definition
class DeploymentOverviewTypeDef(TypedDict):
Pending: NotRequired[int],
InProgress: NotRequired[int],
Succeeded: NotRequired[int],
Failed: NotRequired[int],
Skipped: NotRequired[int],
Ready: NotRequired[int],
ErrorInformationTypeDef#
# ErrorInformationTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ErrorInformationTypeDef
def get_value() -> ErrorInformationTypeDef:
return {
"code": ...,
}
# ErrorInformationTypeDef definition
class ErrorInformationTypeDef(TypedDict):
code: NotRequired[ErrorCodeType], # (1)
message: NotRequired[str],
- See ErrorCodeType
RelatedDeploymentsTypeDef#
# RelatedDeploymentsTypeDef usage example
from mypy_boto3_codedeploy.type_defs import RelatedDeploymentsTypeDef
def get_value() -> RelatedDeploymentsTypeDef:
return {
"autoUpdateOutdatedInstancesRootDeploymentId": ...,
}
# RelatedDeploymentsTypeDef definition
class RelatedDeploymentsTypeDef(TypedDict):
autoUpdateOutdatedInstancesRootDeploymentId: NotRequired[str],
autoUpdateOutdatedInstancesDeploymentIds: NotRequired[List[str]],
RollbackInfoTypeDef#
# RollbackInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import RollbackInfoTypeDef
def get_value() -> RollbackInfoTypeDef:
return {
"rollbackDeploymentId": ...,
}
# RollbackInfoTypeDef definition
class RollbackInfoTypeDef(TypedDict):
rollbackDeploymentId: NotRequired[str],
rollbackTriggeringDeploymentId: NotRequired[str],
rollbackMessage: NotRequired[str],
DeregisterOnPremisesInstanceInputRequestTypeDef#
# DeregisterOnPremisesInstanceInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeregisterOnPremisesInstanceInputRequestTypeDef
def get_value() -> DeregisterOnPremisesInstanceInputRequestTypeDef:
return {
"instanceName": ...,
}
# DeregisterOnPremisesInstanceInputRequestTypeDef definition
class DeregisterOnPremisesInstanceInputRequestTypeDef(TypedDict):
instanceName: str,
DiagnosticsTypeDef#
# DiagnosticsTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DiagnosticsTypeDef
def get_value() -> DiagnosticsTypeDef:
return {
"errorCode": ...,
}
# DiagnosticsTypeDef definition
class DiagnosticsTypeDef(TypedDict):
errorCode: NotRequired[LifecycleErrorCodeType], # (1)
scriptName: NotRequired[str],
message: NotRequired[str],
logTail: NotRequired[str],
TargetGroupInfoTypeDef#
# TargetGroupInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TargetGroupInfoTypeDef
def get_value() -> TargetGroupInfoTypeDef:
return {
"name": ...,
}
# TargetGroupInfoTypeDef definition
class TargetGroupInfoTypeDef(TypedDict):
name: NotRequired[str],
ELBInfoTypeDef#
# ELBInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ELBInfoTypeDef
def get_value() -> ELBInfoTypeDef:
return {
"name": ...,
}
# ELBInfoTypeDef definition
class ELBInfoTypeDef(TypedDict):
name: NotRequired[str],
EmptyResponseMetadataTypeDef#
# EmptyResponseMetadataTypeDef usage example
from mypy_boto3_codedeploy.type_defs import EmptyResponseMetadataTypeDef
def get_value() -> EmptyResponseMetadataTypeDef:
return {
"ResponseMetadata": ...,
}
# EmptyResponseMetadataTypeDef definition
class EmptyResponseMetadataTypeDef(TypedDict):
ResponseMetadata: ResponseMetadataTypeDef, # (1)
GenericRevisionInfoTypeDef#
# GenericRevisionInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GenericRevisionInfoTypeDef
def get_value() -> GenericRevisionInfoTypeDef:
return {
"description": ...,
}
# GenericRevisionInfoTypeDef definition
class GenericRevisionInfoTypeDef(TypedDict):
description: NotRequired[str],
deploymentGroups: NotRequired[List[str]],
firstUsedTime: NotRequired[datetime],
lastUsedTime: NotRequired[datetime],
registerTime: NotRequired[datetime],
GetApplicationInputRequestTypeDef#
# GetApplicationInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetApplicationInputRequestTypeDef
def get_value() -> GetApplicationInputRequestTypeDef:
return {
"applicationName": ...,
}
# GetApplicationInputRequestTypeDef definition
class GetApplicationInputRequestTypeDef(TypedDict):
applicationName: str,
GetDeploymentConfigInputRequestTypeDef#
# GetDeploymentConfigInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentConfigInputRequestTypeDef
def get_value() -> GetDeploymentConfigInputRequestTypeDef:
return {
"deploymentConfigName": ...,
}
# GetDeploymentConfigInputRequestTypeDef definition
class GetDeploymentConfigInputRequestTypeDef(TypedDict):
deploymentConfigName: str,
GetDeploymentGroupInputRequestTypeDef#
# GetDeploymentGroupInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentGroupInputRequestTypeDef
def get_value() -> GetDeploymentGroupInputRequestTypeDef:
return {
"applicationName": ...,
"deploymentGroupName": ...,
}
# GetDeploymentGroupInputRequestTypeDef definition
class GetDeploymentGroupInputRequestTypeDef(TypedDict):
applicationName: str,
deploymentGroupName: str,
WaiterConfigTypeDef#
# WaiterConfigTypeDef usage example
from mypy_boto3_codedeploy.type_defs import WaiterConfigTypeDef
def get_value() -> WaiterConfigTypeDef:
return {
"Delay": ...,
}
# WaiterConfigTypeDef definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
GetDeploymentInputRequestTypeDef#
# GetDeploymentInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentInputRequestTypeDef
def get_value() -> GetDeploymentInputRequestTypeDef:
return {
"deploymentId": ...,
}
# GetDeploymentInputRequestTypeDef definition
class GetDeploymentInputRequestTypeDef(TypedDict):
deploymentId: str,
GetDeploymentInstanceInputRequestTypeDef#
# GetDeploymentInstanceInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentInstanceInputRequestTypeDef
def get_value() -> GetDeploymentInstanceInputRequestTypeDef:
return {
"deploymentId": ...,
"instanceId": ...,
}
# GetDeploymentInstanceInputRequestTypeDef definition
class GetDeploymentInstanceInputRequestTypeDef(TypedDict):
deploymentId: str,
instanceId: str,
GetDeploymentTargetInputRequestTypeDef#
# GetDeploymentTargetInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentTargetInputRequestTypeDef
def get_value() -> GetDeploymentTargetInputRequestTypeDef:
return {
"deploymentId": ...,
}
# GetDeploymentTargetInputRequestTypeDef definition
class GetDeploymentTargetInputRequestTypeDef(TypedDict):
deploymentId: NotRequired[str],
targetId: NotRequired[str],
GetOnPremisesInstanceInputRequestTypeDef#
# GetOnPremisesInstanceInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetOnPremisesInstanceInputRequestTypeDef
def get_value() -> GetOnPremisesInstanceInputRequestTypeDef:
return {
"instanceName": ...,
}
# GetOnPremisesInstanceInputRequestTypeDef definition
class GetOnPremisesInstanceInputRequestTypeDef(TypedDict):
instanceName: str,
GitHubLocationTypeDef#
# GitHubLocationTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GitHubLocationTypeDef
def get_value() -> GitHubLocationTypeDef:
return {
"repository": ...,
}
# GitHubLocationTypeDef definition
class GitHubLocationTypeDef(TypedDict):
repository: NotRequired[str],
commitId: NotRequired[str],
LambdaFunctionInfoTypeDef#
# LambdaFunctionInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import LambdaFunctionInfoTypeDef
def get_value() -> LambdaFunctionInfoTypeDef:
return {
"functionName": ...,
}
# LambdaFunctionInfoTypeDef definition
class LambdaFunctionInfoTypeDef(TypedDict):
functionName: NotRequired[str],
functionAlias: NotRequired[str],
currentVersion: NotRequired[str],
targetVersion: NotRequired[str],
targetVersionWeight: NotRequired[float],
ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef#
# ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef
def get_value() -> ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef:
return {
"applicationName": ...,
}
# ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef definition
class ListApplicationRevisionsInputListApplicationRevisionsPaginateTypeDef(TypedDict):
applicationName: str,
sortBy: NotRequired[ApplicationRevisionSortByType], # (1)
sortOrder: NotRequired[SortOrderType], # (2)
s3Bucket: NotRequired[str],
s3KeyPrefix: NotRequired[str],
deployed: NotRequired[ListStateFilterActionType], # (3)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (4)
- See ApplicationRevisionSortByType
- See SortOrderType
- See ListStateFilterActionType
- See PaginatorConfigTypeDef
ListApplicationRevisionsInputRequestTypeDef#
# ListApplicationRevisionsInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsInputRequestTypeDef
def get_value() -> ListApplicationRevisionsInputRequestTypeDef:
return {
"applicationName": ...,
}
# ListApplicationRevisionsInputRequestTypeDef definition
class ListApplicationRevisionsInputRequestTypeDef(TypedDict):
applicationName: str,
sortBy: NotRequired[ApplicationRevisionSortByType], # (1)
sortOrder: NotRequired[SortOrderType], # (2)
s3Bucket: NotRequired[str],
s3KeyPrefix: NotRequired[str],
deployed: NotRequired[ListStateFilterActionType], # (3)
nextToken: NotRequired[str],
ListApplicationsInputListApplicationsPaginateTypeDef#
# ListApplicationsInputListApplicationsPaginateTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationsInputListApplicationsPaginateTypeDef
def get_value() -> ListApplicationsInputListApplicationsPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListApplicationsInputListApplicationsPaginateTypeDef definition
class ListApplicationsInputListApplicationsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListApplicationsInputRequestTypeDef#
# ListApplicationsInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationsInputRequestTypeDef
def get_value() -> ListApplicationsInputRequestTypeDef:
return {
"nextToken": ...,
}
# ListApplicationsInputRequestTypeDef definition
class ListApplicationsInputRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
ListApplicationsOutputTypeDef#
# ListApplicationsOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationsOutputTypeDef
def get_value() -> ListApplicationsOutputTypeDef:
return {
"applications": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListApplicationsOutputTypeDef definition
class ListApplicationsOutputTypeDef(TypedDict):
applications: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef#
# ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef
def get_value() -> ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef definition
class ListDeploymentConfigsInputListDeploymentConfigsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListDeploymentConfigsInputRequestTypeDef#
# ListDeploymentConfigsInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsInputRequestTypeDef
def get_value() -> ListDeploymentConfigsInputRequestTypeDef:
return {
"nextToken": ...,
}
# ListDeploymentConfigsInputRequestTypeDef definition
class ListDeploymentConfigsInputRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
ListDeploymentConfigsOutputTypeDef#
# ListDeploymentConfigsOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentConfigsOutputTypeDef
def get_value() -> ListDeploymentConfigsOutputTypeDef:
return {
"deploymentConfigsList": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListDeploymentConfigsOutputTypeDef definition
class ListDeploymentConfigsOutputTypeDef(TypedDict):
deploymentConfigsList: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef#
# ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef
def get_value() -> ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef:
return {
"applicationName": ...,
}
# ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef definition
class ListDeploymentGroupsInputListDeploymentGroupsPaginateTypeDef(TypedDict):
applicationName: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListDeploymentGroupsInputRequestTypeDef#
# ListDeploymentGroupsInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsInputRequestTypeDef
def get_value() -> ListDeploymentGroupsInputRequestTypeDef:
return {
"applicationName": ...,
}
# ListDeploymentGroupsInputRequestTypeDef definition
class ListDeploymentGroupsInputRequestTypeDef(TypedDict):
applicationName: str,
nextToken: NotRequired[str],
ListDeploymentGroupsOutputTypeDef#
# ListDeploymentGroupsOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentGroupsOutputTypeDef
def get_value() -> ListDeploymentGroupsOutputTypeDef:
return {
"applicationName": ...,
"deploymentGroups": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListDeploymentGroupsOutputTypeDef definition
class ListDeploymentGroupsOutputTypeDef(TypedDict):
applicationName: str,
deploymentGroups: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef#
# ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef
def get_value() -> ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef:
return {
"deploymentId": ...,
}
# ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef definition
class ListDeploymentInstancesInputListDeploymentInstancesPaginateTypeDef(TypedDict):
deploymentId: str,
instanceStatusFilter: NotRequired[Sequence[InstanceStatusType]], # (1)
instanceTypeFilter: NotRequired[Sequence[InstanceTypeType]], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
- See InstanceStatusType
- See InstanceTypeType
- See PaginatorConfigTypeDef
ListDeploymentInstancesInputRequestTypeDef#
# ListDeploymentInstancesInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesInputRequestTypeDef
def get_value() -> ListDeploymentInstancesInputRequestTypeDef:
return {
"deploymentId": ...,
}
# ListDeploymentInstancesInputRequestTypeDef definition
class ListDeploymentInstancesInputRequestTypeDef(TypedDict):
deploymentId: str,
nextToken: NotRequired[str],
instanceStatusFilter: NotRequired[Sequence[InstanceStatusType]], # (1)
instanceTypeFilter: NotRequired[Sequence[InstanceTypeType]], # (2)
- See InstanceStatusType
- See InstanceTypeType
ListDeploymentInstancesOutputTypeDef#
# ListDeploymentInstancesOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentInstancesOutputTypeDef
def get_value() -> ListDeploymentInstancesOutputTypeDef:
return {
"instancesList": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListDeploymentInstancesOutputTypeDef definition
class ListDeploymentInstancesOutputTypeDef(TypedDict):
instancesList: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef#
# ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef
def get_value() -> ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef:
return {
"deploymentId": ...,
}
# ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef definition
class ListDeploymentTargetsInputListDeploymentTargetsPaginateTypeDef(TypedDict):
deploymentId: NotRequired[str],
targetFilters: NotRequired[Mapping[TargetFilterNameType, Sequence[str]]], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListDeploymentTargetsInputRequestTypeDef#
# ListDeploymentTargetsInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsInputRequestTypeDef
def get_value() -> ListDeploymentTargetsInputRequestTypeDef:
return {
"deploymentId": ...,
}
# ListDeploymentTargetsInputRequestTypeDef definition
class ListDeploymentTargetsInputRequestTypeDef(TypedDict):
deploymentId: NotRequired[str],
nextToken: NotRequired[str],
targetFilters: NotRequired[Mapping[TargetFilterNameType, Sequence[str]]], # (1)
ListDeploymentTargetsOutputTypeDef#
# ListDeploymentTargetsOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentTargetsOutputTypeDef
def get_value() -> ListDeploymentTargetsOutputTypeDef:
return {
"targetIds": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListDeploymentTargetsOutputTypeDef definition
class ListDeploymentTargetsOutputTypeDef(TypedDict):
targetIds: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
TimeRangeTypeDef#
# TimeRangeTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TimeRangeTypeDef
def get_value() -> TimeRangeTypeDef:
return {
"start": ...,
}
# TimeRangeTypeDef definition
class TimeRangeTypeDef(TypedDict):
start: NotRequired[Union[datetime, str]],
end: NotRequired[Union[datetime, str]],
ListDeploymentsOutputTypeDef#
# ListDeploymentsOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentsOutputTypeDef
def get_value() -> ListDeploymentsOutputTypeDef:
return {
"deployments": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListDeploymentsOutputTypeDef definition
class ListDeploymentsOutputTypeDef(TypedDict):
deployments: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef#
# ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef
def get_value() -> ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef definition
class ListGitHubAccountTokenNamesInputListGitHubAccountTokenNamesPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListGitHubAccountTokenNamesInputRequestTypeDef#
# ListGitHubAccountTokenNamesInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesInputRequestTypeDef
def get_value() -> ListGitHubAccountTokenNamesInputRequestTypeDef:
return {
"nextToken": ...,
}
# ListGitHubAccountTokenNamesInputRequestTypeDef definition
class ListGitHubAccountTokenNamesInputRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
ListGitHubAccountTokenNamesOutputTypeDef#
# ListGitHubAccountTokenNamesOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListGitHubAccountTokenNamesOutputTypeDef
def get_value() -> ListGitHubAccountTokenNamesOutputTypeDef:
return {
"tokenNameList": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListGitHubAccountTokenNamesOutputTypeDef definition
class ListGitHubAccountTokenNamesOutputTypeDef(TypedDict):
tokenNameList: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListOnPremisesInstancesOutputTypeDef#
# ListOnPremisesInstancesOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesOutputTypeDef
def get_value() -> ListOnPremisesInstancesOutputTypeDef:
return {
"instanceNames": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListOnPremisesInstancesOutputTypeDef definition
class ListOnPremisesInstancesOutputTypeDef(TypedDict):
instanceNames: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListTagsForResourceInputRequestTypeDef#
# ListTagsForResourceInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListTagsForResourceInputRequestTypeDef
def get_value() -> ListTagsForResourceInputRequestTypeDef:
return {
"ResourceArn": ...,
}
# ListTagsForResourceInputRequestTypeDef definition
class ListTagsForResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
NextToken: NotRequired[str],
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef usage example
from mypy_boto3_codedeploy.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
PutLifecycleEventHookExecutionStatusInputRequestTypeDef#
# PutLifecycleEventHookExecutionStatusInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import PutLifecycleEventHookExecutionStatusInputRequestTypeDef
def get_value() -> PutLifecycleEventHookExecutionStatusInputRequestTypeDef:
return {
"deploymentId": ...,
}
# PutLifecycleEventHookExecutionStatusInputRequestTypeDef definition
class PutLifecycleEventHookExecutionStatusInputRequestTypeDef(TypedDict):
deploymentId: NotRequired[str],
lifecycleEventHookExecutionId: NotRequired[str],
status: NotRequired[LifecycleEventStatusType], # (1)
PutLifecycleEventHookExecutionStatusOutputTypeDef#
# PutLifecycleEventHookExecutionStatusOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import PutLifecycleEventHookExecutionStatusOutputTypeDef
def get_value() -> PutLifecycleEventHookExecutionStatusOutputTypeDef:
return {
"lifecycleEventHookExecutionId": ...,
"ResponseMetadata": ...,
}
# PutLifecycleEventHookExecutionStatusOutputTypeDef definition
class PutLifecycleEventHookExecutionStatusOutputTypeDef(TypedDict):
lifecycleEventHookExecutionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
RawStringTypeDef#
# RawStringTypeDef usage example
from mypy_boto3_codedeploy.type_defs import RawStringTypeDef
def get_value() -> RawStringTypeDef:
return {
"content": ...,
}
# RawStringTypeDef definition
class RawStringTypeDef(TypedDict):
content: NotRequired[str],
sha256: NotRequired[str],
RegisterOnPremisesInstanceInputRequestTypeDef#
# RegisterOnPremisesInstanceInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import RegisterOnPremisesInstanceInputRequestTypeDef
def get_value() -> RegisterOnPremisesInstanceInputRequestTypeDef:
return {
"instanceName": ...,
}
# RegisterOnPremisesInstanceInputRequestTypeDef definition
class RegisterOnPremisesInstanceInputRequestTypeDef(TypedDict):
instanceName: str,
iamSessionArn: NotRequired[str],
iamUserArn: NotRequired[str],
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
S3LocationTypeDef#
# S3LocationTypeDef usage example
from mypy_boto3_codedeploy.type_defs import S3LocationTypeDef
def get_value() -> S3LocationTypeDef:
return {
"bucket": ...,
}
# S3LocationTypeDef definition
class S3LocationTypeDef(TypedDict):
bucket: NotRequired[str],
key: NotRequired[str],
bundleType: NotRequired[BundleTypeType], # (1)
version: NotRequired[str],
eTag: NotRequired[str],
- See BundleTypeType
SkipWaitTimeForInstanceTerminationInputRequestTypeDef#
# SkipWaitTimeForInstanceTerminationInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import SkipWaitTimeForInstanceTerminationInputRequestTypeDef
def get_value() -> SkipWaitTimeForInstanceTerminationInputRequestTypeDef:
return {
"deploymentId": ...,
}
# SkipWaitTimeForInstanceTerminationInputRequestTypeDef definition
class SkipWaitTimeForInstanceTerminationInputRequestTypeDef(TypedDict):
deploymentId: NotRequired[str],
StopDeploymentInputRequestTypeDef#
# StopDeploymentInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import StopDeploymentInputRequestTypeDef
def get_value() -> StopDeploymentInputRequestTypeDef:
return {
"deploymentId": ...,
}
# StopDeploymentInputRequestTypeDef definition
class StopDeploymentInputRequestTypeDef(TypedDict):
deploymentId: str,
autoRollbackEnabled: NotRequired[bool],
StopDeploymentOutputTypeDef#
# StopDeploymentOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import StopDeploymentOutputTypeDef
def get_value() -> StopDeploymentOutputTypeDef:
return {
"status": ...,
"statusMessage": ...,
"ResponseMetadata": ...,
}
# StopDeploymentOutputTypeDef definition
class StopDeploymentOutputTypeDef(TypedDict):
status: StopStatusType, # (1)
statusMessage: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
TrafficRouteTypeDef#
# TrafficRouteTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TrafficRouteTypeDef
def get_value() -> TrafficRouteTypeDef:
return {
"listenerArns": ...,
}
# TrafficRouteTypeDef definition
class TrafficRouteTypeDef(TypedDict):
listenerArns: NotRequired[List[str]],
TimeBasedCanaryTypeDef#
# TimeBasedCanaryTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TimeBasedCanaryTypeDef
def get_value() -> TimeBasedCanaryTypeDef:
return {
"canaryPercentage": ...,
}
# TimeBasedCanaryTypeDef definition
class TimeBasedCanaryTypeDef(TypedDict):
canaryPercentage: NotRequired[int],
canaryInterval: NotRequired[int],
TimeBasedLinearTypeDef#
# TimeBasedLinearTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TimeBasedLinearTypeDef
def get_value() -> TimeBasedLinearTypeDef:
return {
"linearPercentage": ...,
}
# TimeBasedLinearTypeDef definition
class TimeBasedLinearTypeDef(TypedDict):
linearPercentage: NotRequired[int],
linearInterval: NotRequired[int],
UntagResourceInputRequestTypeDef#
# UntagResourceInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import UntagResourceInputRequestTypeDef
def get_value() -> UntagResourceInputRequestTypeDef:
return {
"ResourceArn": ...,
"TagKeys": ...,
}
# UntagResourceInputRequestTypeDef definition
class UntagResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
TagKeys: Sequence[str],
UpdateApplicationInputRequestTypeDef#
# UpdateApplicationInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import UpdateApplicationInputRequestTypeDef
def get_value() -> UpdateApplicationInputRequestTypeDef:
return {
"applicationName": ...,
}
# UpdateApplicationInputRequestTypeDef definition
class UpdateApplicationInputRequestTypeDef(TypedDict):
applicationName: NotRequired[str],
newApplicationName: NotRequired[str],
AddTagsToOnPremisesInstancesInputRequestTypeDef#
# AddTagsToOnPremisesInstancesInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import AddTagsToOnPremisesInstancesInputRequestTypeDef
def get_value() -> AddTagsToOnPremisesInstancesInputRequestTypeDef:
return {
"tags": ...,
"instanceNames": ...,
}
# AddTagsToOnPremisesInstancesInputRequestTypeDef definition
class AddTagsToOnPremisesInstancesInputRequestTypeDef(TypedDict):
tags: Sequence[TagTypeDef], # (1)
instanceNames: Sequence[str],
- See TagTypeDef
CreateApplicationInputRequestTypeDef#
# CreateApplicationInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import CreateApplicationInputRequestTypeDef
def get_value() -> CreateApplicationInputRequestTypeDef:
return {
"applicationName": ...,
}
# CreateApplicationInputRequestTypeDef definition
class CreateApplicationInputRequestTypeDef(TypedDict):
applicationName: str,
computePlatform: NotRequired[ComputePlatformType], # (1)
tags: NotRequired[Sequence[TagTypeDef]], # (2)
- See ComputePlatformType
- See TagTypeDef
InstanceInfoTypeDef#
# InstanceInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import InstanceInfoTypeDef
def get_value() -> InstanceInfoTypeDef:
return {
"instanceName": ...,
}
# InstanceInfoTypeDef definition
class InstanceInfoTypeDef(TypedDict):
instanceName: NotRequired[str],
iamSessionArn: NotRequired[str],
iamUserArn: NotRequired[str],
instanceArn: NotRequired[str],
registerTime: NotRequired[datetime],
deregisterTime: NotRequired[datetime],
tags: NotRequired[List[TagTypeDef]], # (1)
- See TagTypeDef
ListTagsForResourceOutputTypeDef#
# ListTagsForResourceOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListTagsForResourceOutputTypeDef
def get_value() -> ListTagsForResourceOutputTypeDef:
return {
"Tags": ...,
"NextToken": ...,
"ResponseMetadata": ...,
}
# ListTagsForResourceOutputTypeDef definition
class ListTagsForResourceOutputTypeDef(TypedDict):
Tags: List[TagTypeDef], # (1)
NextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
RemoveTagsFromOnPremisesInstancesInputRequestTypeDef#
# RemoveTagsFromOnPremisesInstancesInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import RemoveTagsFromOnPremisesInstancesInputRequestTypeDef
def get_value() -> RemoveTagsFromOnPremisesInstancesInputRequestTypeDef:
return {
"tags": ...,
"instanceNames": ...,
}
# RemoveTagsFromOnPremisesInstancesInputRequestTypeDef definition
class RemoveTagsFromOnPremisesInstancesInputRequestTypeDef(TypedDict):
tags: Sequence[TagTypeDef], # (1)
instanceNames: Sequence[str],
- See TagTypeDef
TagResourceInputRequestTypeDef#
# TagResourceInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TagResourceInputRequestTypeDef
def get_value() -> TagResourceInputRequestTypeDef:
return {
"ResourceArn": ...,
"Tags": ...,
}
# TagResourceInputRequestTypeDef definition
class TagResourceInputRequestTypeDef(TypedDict):
ResourceArn: str,
Tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
AlarmConfigurationTypeDef#
# AlarmConfigurationTypeDef usage example
from mypy_boto3_codedeploy.type_defs import AlarmConfigurationTypeDef
def get_value() -> AlarmConfigurationTypeDef:
return {
"enabled": ...,
}
# AlarmConfigurationTypeDef definition
class AlarmConfigurationTypeDef(TypedDict):
enabled: NotRequired[bool],
ignorePollAlarmFailure: NotRequired[bool],
alarms: NotRequired[List[AlarmTypeDef]], # (1)
- See AlarmTypeDef
BatchGetApplicationsOutputTypeDef#
# BatchGetApplicationsOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetApplicationsOutputTypeDef
def get_value() -> BatchGetApplicationsOutputTypeDef:
return {
"applicationsInfo": ...,
"ResponseMetadata": ...,
}
# BatchGetApplicationsOutputTypeDef definition
class BatchGetApplicationsOutputTypeDef(TypedDict):
applicationsInfo: List[ApplicationInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetApplicationOutputTypeDef#
# GetApplicationOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetApplicationOutputTypeDef
def get_value() -> GetApplicationOutputTypeDef:
return {
"application": ...,
"ResponseMetadata": ...,
}
# GetApplicationOutputTypeDef definition
class GetApplicationOutputTypeDef(TypedDict):
application: ApplicationInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteDeploymentGroupOutputTypeDef#
# DeleteDeploymentGroupOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeleteDeploymentGroupOutputTypeDef
def get_value() -> DeleteDeploymentGroupOutputTypeDef:
return {
"hooksNotCleanedUp": ...,
"ResponseMetadata": ...,
}
# DeleteDeploymentGroupOutputTypeDef definition
class DeleteDeploymentGroupOutputTypeDef(TypedDict):
hooksNotCleanedUp: List[AutoScalingGroupTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateDeploymentGroupOutputTypeDef#
# UpdateDeploymentGroupOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import UpdateDeploymentGroupOutputTypeDef
def get_value() -> UpdateDeploymentGroupOutputTypeDef:
return {
"hooksNotCleanedUp": ...,
"ResponseMetadata": ...,
}
# UpdateDeploymentGroupOutputTypeDef definition
class UpdateDeploymentGroupOutputTypeDef(TypedDict):
hooksNotCleanedUp: List[AutoScalingGroupTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BlueGreenDeploymentConfigurationTypeDef#
# BlueGreenDeploymentConfigurationTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BlueGreenDeploymentConfigurationTypeDef
def get_value() -> BlueGreenDeploymentConfigurationTypeDef:
return {
"terminateBlueInstancesOnDeploymentSuccess": ...,
}
# BlueGreenDeploymentConfigurationTypeDef definition
class BlueGreenDeploymentConfigurationTypeDef(TypedDict):
terminateBlueInstancesOnDeploymentSuccess: NotRequired[BlueInstanceTerminationOptionTypeDef], # (1)
deploymentReadyOption: NotRequired[DeploymentReadyOptionTypeDef], # (2)
greenFleetProvisioningOption: NotRequired[GreenFleetProvisioningOptionTypeDef], # (3)
- See BlueInstanceTerminationOptionTypeDef
- See DeploymentReadyOptionTypeDef
- See GreenFleetProvisioningOptionTypeDef
EC2TagSetTypeDef#
# EC2TagSetTypeDef usage example
from mypy_boto3_codedeploy.type_defs import EC2TagSetTypeDef
def get_value() -> EC2TagSetTypeDef:
return {
"ec2TagSetList": ...,
}
# EC2TagSetTypeDef definition
class EC2TagSetTypeDef(TypedDict):
ec2TagSetList: NotRequired[List[List[EC2TagFilterTypeDef]]], # (1)
ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef#
# ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef
def get_value() -> ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef:
return {
"registrationStatus": ...,
}
# ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef definition
class ListOnPremisesInstancesInputListOnPremisesInstancesPaginateTypeDef(TypedDict):
registrationStatus: NotRequired[RegistrationStatusType], # (1)
tagFilters: NotRequired[Sequence[TagFilterTypeDef]], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ListOnPremisesInstancesInputRequestTypeDef#
# ListOnPremisesInstancesInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListOnPremisesInstancesInputRequestTypeDef
def get_value() -> ListOnPremisesInstancesInputRequestTypeDef:
return {
"registrationStatus": ...,
}
# ListOnPremisesInstancesInputRequestTypeDef definition
class ListOnPremisesInstancesInputRequestTypeDef(TypedDict):
registrationStatus: NotRequired[RegistrationStatusType], # (1)
tagFilters: NotRequired[Sequence[TagFilterTypeDef]], # (2)
nextToken: NotRequired[str],
OnPremisesTagSetTypeDef#
# OnPremisesTagSetTypeDef usage example
from mypy_boto3_codedeploy.type_defs import OnPremisesTagSetTypeDef
def get_value() -> OnPremisesTagSetTypeDef:
return {
"onPremisesTagSetList": ...,
}
# OnPremisesTagSetTypeDef definition
class OnPremisesTagSetTypeDef(TypedDict):
onPremisesTagSetList: NotRequired[List[List[TagFilterTypeDef]]], # (1)
- See TagFilterTypeDef
LifecycleEventTypeDef#
# LifecycleEventTypeDef usage example
from mypy_boto3_codedeploy.type_defs import LifecycleEventTypeDef
def get_value() -> LifecycleEventTypeDef:
return {
"lifecycleEventName": ...,
}
# LifecycleEventTypeDef definition
class LifecycleEventTypeDef(TypedDict):
lifecycleEventName: NotRequired[str],
diagnostics: NotRequired[DiagnosticsTypeDef], # (1)
startTime: NotRequired[datetime],
endTime: NotRequired[datetime],
status: NotRequired[LifecycleEventStatusType], # (2)
ECSTaskSetTypeDef#
# ECSTaskSetTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ECSTaskSetTypeDef
def get_value() -> ECSTaskSetTypeDef:
return {
"identifer": ...,
}
# ECSTaskSetTypeDef definition
class ECSTaskSetTypeDef(TypedDict):
identifer: NotRequired[str],
desiredCount: NotRequired[int],
pendingCount: NotRequired[int],
runningCount: NotRequired[int],
status: NotRequired[str],
trafficWeight: NotRequired[float],
targetGroup: NotRequired[TargetGroupInfoTypeDef], # (1)
taskSetLabel: NotRequired[TargetLabelType], # (2)
GetDeploymentInputDeploymentSuccessfulWaitTypeDef#
# GetDeploymentInputDeploymentSuccessfulWaitTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentInputDeploymentSuccessfulWaitTypeDef
def get_value() -> GetDeploymentInputDeploymentSuccessfulWaitTypeDef:
return {
"deploymentId": ...,
}
# GetDeploymentInputDeploymentSuccessfulWaitTypeDef definition
class GetDeploymentInputDeploymentSuccessfulWaitTypeDef(TypedDict):
deploymentId: str,
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (1)
ListDeploymentsInputListDeploymentsPaginateTypeDef#
# ListDeploymentsInputListDeploymentsPaginateTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentsInputListDeploymentsPaginateTypeDef
def get_value() -> ListDeploymentsInputListDeploymentsPaginateTypeDef:
return {
"applicationName": ...,
}
# ListDeploymentsInputListDeploymentsPaginateTypeDef definition
class ListDeploymentsInputListDeploymentsPaginateTypeDef(TypedDict):
applicationName: NotRequired[str],
deploymentGroupName: NotRequired[str],
externalId: NotRequired[str],
includeOnlyStatuses: NotRequired[Sequence[DeploymentStatusType]], # (1)
createTimeRange: NotRequired[TimeRangeTypeDef], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ListDeploymentsInputRequestTypeDef#
# ListDeploymentsInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListDeploymentsInputRequestTypeDef
def get_value() -> ListDeploymentsInputRequestTypeDef:
return {
"applicationName": ...,
}
# ListDeploymentsInputRequestTypeDef definition
class ListDeploymentsInputRequestTypeDef(TypedDict):
applicationName: NotRequired[str],
deploymentGroupName: NotRequired[str],
externalId: NotRequired[str],
includeOnlyStatuses: NotRequired[Sequence[DeploymentStatusType]], # (1)
createTimeRange: NotRequired[TimeRangeTypeDef], # (2)
nextToken: NotRequired[str],
- See DeploymentStatusType
- See TimeRangeTypeDef
RevisionLocationTypeDef#
# RevisionLocationTypeDef usage example
from mypy_boto3_codedeploy.type_defs import RevisionLocationTypeDef
def get_value() -> RevisionLocationTypeDef:
return {
"revisionType": ...,
}
# RevisionLocationTypeDef definition
class RevisionLocationTypeDef(TypedDict):
revisionType: NotRequired[RevisionLocationTypeType], # (1)
s3Location: NotRequired[S3LocationTypeDef], # (2)
gitHubLocation: NotRequired[GitHubLocationTypeDef], # (3)
string: NotRequired[RawStringTypeDef], # (4)
appSpecContent: NotRequired[AppSpecContentTypeDef], # (5)
- See RevisionLocationTypeType
- See S3LocationTypeDef
- See GitHubLocationTypeDef
- See RawStringTypeDef
- See AppSpecContentTypeDef
TargetGroupPairInfoTypeDef#
# TargetGroupPairInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TargetGroupPairInfoTypeDef
def get_value() -> TargetGroupPairInfoTypeDef:
return {
"targetGroups": ...,
}
# TargetGroupPairInfoTypeDef definition
class TargetGroupPairInfoTypeDef(TypedDict):
targetGroups: NotRequired[List[TargetGroupInfoTypeDef]], # (1)
prodTrafficRoute: NotRequired[TrafficRouteTypeDef], # (2)
testTrafficRoute: NotRequired[TrafficRouteTypeDef], # (2)
TrafficRoutingConfigTypeDef#
# TrafficRoutingConfigTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TrafficRoutingConfigTypeDef
def get_value() -> TrafficRoutingConfigTypeDef:
return {
"type": ...,
}
# TrafficRoutingConfigTypeDef definition
class TrafficRoutingConfigTypeDef(TypedDict):
type: NotRequired[TrafficRoutingTypeType], # (1)
timeBasedCanary: NotRequired[TimeBasedCanaryTypeDef], # (2)
timeBasedLinear: NotRequired[TimeBasedLinearTypeDef], # (3)
BatchGetOnPremisesInstancesOutputTypeDef#
# BatchGetOnPremisesInstancesOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetOnPremisesInstancesOutputTypeDef
def get_value() -> BatchGetOnPremisesInstancesOutputTypeDef:
return {
"instanceInfos": ...,
"ResponseMetadata": ...,
}
# BatchGetOnPremisesInstancesOutputTypeDef definition
class BatchGetOnPremisesInstancesOutputTypeDef(TypedDict):
instanceInfos: List[InstanceInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetOnPremisesInstanceOutputTypeDef#
# GetOnPremisesInstanceOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetOnPremisesInstanceOutputTypeDef
def get_value() -> GetOnPremisesInstanceOutputTypeDef:
return {
"instanceInfo": ...,
"ResponseMetadata": ...,
}
# GetOnPremisesInstanceOutputTypeDef definition
class GetOnPremisesInstanceOutputTypeDef(TypedDict):
instanceInfo: InstanceInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
TargetInstancesTypeDef#
# TargetInstancesTypeDef usage example
from mypy_boto3_codedeploy.type_defs import TargetInstancesTypeDef
def get_value() -> TargetInstancesTypeDef:
return {
"tagFilters": ...,
}
# TargetInstancesTypeDef definition
class TargetInstancesTypeDef(TypedDict):
tagFilters: NotRequired[List[EC2TagFilterTypeDef]], # (1)
autoScalingGroups: NotRequired[List[str]],
ec2TagSet: NotRequired[EC2TagSetTypeDef], # (2)
- See EC2TagFilterTypeDef
- See EC2TagSetTypeDef
CloudFormationTargetTypeDef#
# CloudFormationTargetTypeDef usage example
from mypy_boto3_codedeploy.type_defs import CloudFormationTargetTypeDef
def get_value() -> CloudFormationTargetTypeDef:
return {
"deploymentId": ...,
}
# CloudFormationTargetTypeDef definition
class CloudFormationTargetTypeDef(TypedDict):
deploymentId: NotRequired[str],
targetId: NotRequired[str],
lastUpdatedAt: NotRequired[datetime],
lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]], # (1)
status: NotRequired[TargetStatusType], # (2)
resourceType: NotRequired[str],
targetVersionWeight: NotRequired[float],
InstanceSummaryTypeDef#
# InstanceSummaryTypeDef usage example
from mypy_boto3_codedeploy.type_defs import InstanceSummaryTypeDef
def get_value() -> InstanceSummaryTypeDef:
return {
"deploymentId": ...,
}
# InstanceSummaryTypeDef definition
class InstanceSummaryTypeDef(TypedDict):
deploymentId: NotRequired[str],
instanceId: NotRequired[str],
status: NotRequired[InstanceStatusType], # (1)
lastUpdatedAt: NotRequired[datetime],
lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]], # (2)
instanceType: NotRequired[InstanceTypeType], # (3)
- See InstanceStatusType
- See LifecycleEventTypeDef
- See InstanceTypeType
InstanceTargetTypeDef#
# InstanceTargetTypeDef usage example
from mypy_boto3_codedeploy.type_defs import InstanceTargetTypeDef
def get_value() -> InstanceTargetTypeDef:
return {
"deploymentId": ...,
}
# InstanceTargetTypeDef definition
class InstanceTargetTypeDef(TypedDict):
deploymentId: NotRequired[str],
targetId: NotRequired[str],
targetArn: NotRequired[str],
status: NotRequired[TargetStatusType], # (1)
lastUpdatedAt: NotRequired[datetime],
lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]], # (2)
instanceLabel: NotRequired[TargetLabelType], # (3)
- See TargetStatusType
- See LifecycleEventTypeDef
- See TargetLabelType
LambdaTargetTypeDef#
# LambdaTargetTypeDef usage example
from mypy_boto3_codedeploy.type_defs import LambdaTargetTypeDef
def get_value() -> LambdaTargetTypeDef:
return {
"deploymentId": ...,
}
# LambdaTargetTypeDef definition
class LambdaTargetTypeDef(TypedDict):
deploymentId: NotRequired[str],
targetId: NotRequired[str],
targetArn: NotRequired[str],
status: NotRequired[TargetStatusType], # (1)
lastUpdatedAt: NotRequired[datetime],
lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]], # (2)
lambdaFunctionInfo: NotRequired[LambdaFunctionInfoTypeDef], # (3)
ECSTargetTypeDef#
# ECSTargetTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ECSTargetTypeDef
def get_value() -> ECSTargetTypeDef:
return {
"deploymentId": ...,
}
# ECSTargetTypeDef definition
class ECSTargetTypeDef(TypedDict):
deploymentId: NotRequired[str],
targetId: NotRequired[str],
targetArn: NotRequired[str],
lastUpdatedAt: NotRequired[datetime],
lifecycleEvents: NotRequired[List[LifecycleEventTypeDef]], # (1)
status: NotRequired[TargetStatusType], # (2)
taskSetsInfo: NotRequired[List[ECSTaskSetTypeDef]], # (3)
- See LifecycleEventTypeDef
- See TargetStatusType
- See ECSTaskSetTypeDef
BatchGetApplicationRevisionsInputRequestTypeDef#
# BatchGetApplicationRevisionsInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetApplicationRevisionsInputRequestTypeDef
def get_value() -> BatchGetApplicationRevisionsInputRequestTypeDef:
return {
"applicationName": ...,
"revisions": ...,
}
# BatchGetApplicationRevisionsInputRequestTypeDef definition
class BatchGetApplicationRevisionsInputRequestTypeDef(TypedDict):
applicationName: str,
revisions: Sequence[RevisionLocationTypeDef], # (1)
GetApplicationRevisionInputRequestTypeDef#
# GetApplicationRevisionInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetApplicationRevisionInputRequestTypeDef
def get_value() -> GetApplicationRevisionInputRequestTypeDef:
return {
"applicationName": ...,
"revision": ...,
}
# GetApplicationRevisionInputRequestTypeDef definition
class GetApplicationRevisionInputRequestTypeDef(TypedDict):
applicationName: str,
revision: RevisionLocationTypeDef, # (1)
GetApplicationRevisionOutputTypeDef#
# GetApplicationRevisionOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetApplicationRevisionOutputTypeDef
def get_value() -> GetApplicationRevisionOutputTypeDef:
return {
"applicationName": ...,
"revision": ...,
"revisionInfo": ...,
"ResponseMetadata": ...,
}
# GetApplicationRevisionOutputTypeDef definition
class GetApplicationRevisionOutputTypeDef(TypedDict):
applicationName: str,
revision: RevisionLocationTypeDef, # (1)
revisionInfo: GenericRevisionInfoTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ListApplicationRevisionsOutputTypeDef#
# ListApplicationRevisionsOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import ListApplicationRevisionsOutputTypeDef
def get_value() -> ListApplicationRevisionsOutputTypeDef:
return {
"revisions": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListApplicationRevisionsOutputTypeDef definition
class ListApplicationRevisionsOutputTypeDef(TypedDict):
revisions: List[RevisionLocationTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RegisterApplicationRevisionInputRequestTypeDef#
# RegisterApplicationRevisionInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import RegisterApplicationRevisionInputRequestTypeDef
def get_value() -> RegisterApplicationRevisionInputRequestTypeDef:
return {
"applicationName": ...,
"revision": ...,
}
# RegisterApplicationRevisionInputRequestTypeDef definition
class RegisterApplicationRevisionInputRequestTypeDef(TypedDict):
applicationName: str,
revision: RevisionLocationTypeDef, # (1)
description: NotRequired[str],
RevisionInfoTypeDef#
# RevisionInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import RevisionInfoTypeDef
def get_value() -> RevisionInfoTypeDef:
return {
"revisionLocation": ...,
}
# RevisionInfoTypeDef definition
class RevisionInfoTypeDef(TypedDict):
revisionLocation: NotRequired[RevisionLocationTypeDef], # (1)
genericRevisionInfo: NotRequired[GenericRevisionInfoTypeDef], # (2)
LoadBalancerInfoTypeDef#
# LoadBalancerInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import LoadBalancerInfoTypeDef
def get_value() -> LoadBalancerInfoTypeDef:
return {
"elbInfoList": ...,
}
# LoadBalancerInfoTypeDef definition
class LoadBalancerInfoTypeDef(TypedDict):
elbInfoList: NotRequired[List[ELBInfoTypeDef]], # (1)
targetGroupInfoList: NotRequired[List[TargetGroupInfoTypeDef]], # (2)
targetGroupPairInfoList: NotRequired[List[TargetGroupPairInfoTypeDef]], # (3)
CreateDeploymentConfigInputRequestTypeDef#
# CreateDeploymentConfigInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentConfigInputRequestTypeDef
def get_value() -> CreateDeploymentConfigInputRequestTypeDef:
return {
"deploymentConfigName": ...,
}
# CreateDeploymentConfigInputRequestTypeDef definition
class CreateDeploymentConfigInputRequestTypeDef(TypedDict):
deploymentConfigName: str,
minimumHealthyHosts: NotRequired[MinimumHealthyHostsTypeDef], # (1)
trafficRoutingConfig: NotRequired[TrafficRoutingConfigTypeDef], # (2)
computePlatform: NotRequired[ComputePlatformType], # (3)
DeploymentConfigInfoTypeDef#
# DeploymentConfigInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeploymentConfigInfoTypeDef
def get_value() -> DeploymentConfigInfoTypeDef:
return {
"deploymentConfigId": ...,
}
# DeploymentConfigInfoTypeDef definition
class DeploymentConfigInfoTypeDef(TypedDict):
deploymentConfigId: NotRequired[str],
deploymentConfigName: NotRequired[str],
minimumHealthyHosts: NotRequired[MinimumHealthyHostsTypeDef], # (1)
createTime: NotRequired[datetime],
computePlatform: NotRequired[ComputePlatformType], # (2)
trafficRoutingConfig: NotRequired[TrafficRoutingConfigTypeDef], # (3)
CreateDeploymentInputRequestTypeDef#
# CreateDeploymentInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentInputRequestTypeDef
def get_value() -> CreateDeploymentInputRequestTypeDef:
return {
"applicationName": ...,
}
# CreateDeploymentInputRequestTypeDef definition
class CreateDeploymentInputRequestTypeDef(TypedDict):
applicationName: str,
deploymentGroupName: NotRequired[str],
revision: NotRequired[RevisionLocationTypeDef], # (1)
deploymentConfigName: NotRequired[str],
description: NotRequired[str],
ignoreApplicationStopFailures: NotRequired[bool],
targetInstances: NotRequired[TargetInstancesTypeDef], # (2)
autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationTypeDef], # (3)
updateOutdatedInstancesOnly: NotRequired[bool],
fileExistsBehavior: NotRequired[FileExistsBehaviorType], # (4)
overrideAlarmConfiguration: NotRequired[AlarmConfigurationTypeDef], # (5)
- See RevisionLocationTypeDef
- See TargetInstancesTypeDef
- See AutoRollbackConfigurationTypeDef
- See FileExistsBehaviorType
- See AlarmConfigurationTypeDef
BatchGetDeploymentInstancesOutputTypeDef#
# BatchGetDeploymentInstancesOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentInstancesOutputTypeDef
def get_value() -> BatchGetDeploymentInstancesOutputTypeDef:
return {
"instancesSummary": ...,
"errorMessage": ...,
"ResponseMetadata": ...,
}
# BatchGetDeploymentInstancesOutputTypeDef definition
class BatchGetDeploymentInstancesOutputTypeDef(TypedDict):
instancesSummary: List[InstanceSummaryTypeDef], # (1)
errorMessage: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDeploymentInstanceOutputTypeDef#
# GetDeploymentInstanceOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentInstanceOutputTypeDef
def get_value() -> GetDeploymentInstanceOutputTypeDef:
return {
"instanceSummary": ...,
"ResponseMetadata": ...,
}
# GetDeploymentInstanceOutputTypeDef definition
class GetDeploymentInstanceOutputTypeDef(TypedDict):
instanceSummary: InstanceSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeploymentTargetTypeDef#
# DeploymentTargetTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeploymentTargetTypeDef
def get_value() -> DeploymentTargetTypeDef:
return {
"deploymentTargetType": ...,
}
# DeploymentTargetTypeDef definition
class DeploymentTargetTypeDef(TypedDict):
deploymentTargetType: NotRequired[DeploymentTargetTypeType], # (1)
instanceTarget: NotRequired[InstanceTargetTypeDef], # (2)
lambdaTarget: NotRequired[LambdaTargetTypeDef], # (3)
ecsTarget: NotRequired[ECSTargetTypeDef], # (4)
cloudFormationTarget: NotRequired[CloudFormationTargetTypeDef], # (5)
- See DeploymentTargetTypeType
- See InstanceTargetTypeDef
- See LambdaTargetTypeDef
- See ECSTargetTypeDef
- See CloudFormationTargetTypeDef
BatchGetApplicationRevisionsOutputTypeDef#
# BatchGetApplicationRevisionsOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetApplicationRevisionsOutputTypeDef
def get_value() -> BatchGetApplicationRevisionsOutputTypeDef:
return {
"applicationName": ...,
"errorMessage": ...,
"revisions": ...,
"ResponseMetadata": ...,
}
# BatchGetApplicationRevisionsOutputTypeDef definition
class BatchGetApplicationRevisionsOutputTypeDef(TypedDict):
applicationName: str,
errorMessage: str,
revisions: List[RevisionInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateDeploymentGroupInputRequestTypeDef#
# CreateDeploymentGroupInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import CreateDeploymentGroupInputRequestTypeDef
def get_value() -> CreateDeploymentGroupInputRequestTypeDef:
return {
"applicationName": ...,
"deploymentGroupName": ...,
"serviceRoleArn": ...,
}
# CreateDeploymentGroupInputRequestTypeDef definition
class CreateDeploymentGroupInputRequestTypeDef(TypedDict):
applicationName: str,
deploymentGroupName: str,
serviceRoleArn: str,
deploymentConfigName: NotRequired[str],
ec2TagFilters: NotRequired[Sequence[EC2TagFilterTypeDef]], # (1)
onPremisesInstanceTagFilters: NotRequired[Sequence[TagFilterTypeDef]], # (2)
autoScalingGroups: NotRequired[Sequence[str]],
triggerConfigurations: NotRequired[Sequence[TriggerConfigTypeDef]], # (3)
alarmConfiguration: NotRequired[AlarmConfigurationTypeDef], # (4)
autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationTypeDef], # (5)
outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType], # (6)
deploymentStyle: NotRequired[DeploymentStyleTypeDef], # (7)
blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef], # (8)
loadBalancerInfo: NotRequired[LoadBalancerInfoTypeDef], # (9)
ec2TagSet: NotRequired[EC2TagSetTypeDef], # (10)
ecsServices: NotRequired[Sequence[ECSServiceTypeDef]], # (11)
onPremisesTagSet: NotRequired[OnPremisesTagSetTypeDef], # (12)
tags: NotRequired[Sequence[TagTypeDef]], # (13)
- See EC2TagFilterTypeDef
- See TagFilterTypeDef
- See TriggerConfigTypeDef
- See AlarmConfigurationTypeDef
- See AutoRollbackConfigurationTypeDef
- See OutdatedInstancesStrategyType
- See DeploymentStyleTypeDef
- See BlueGreenDeploymentConfigurationTypeDef
- See LoadBalancerInfoTypeDef
- See EC2TagSetTypeDef
- See ECSServiceTypeDef
- See OnPremisesTagSetTypeDef
- See TagTypeDef
DeploymentGroupInfoTypeDef#
# DeploymentGroupInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeploymentGroupInfoTypeDef
def get_value() -> DeploymentGroupInfoTypeDef:
return {
"applicationName": ...,
}
# DeploymentGroupInfoTypeDef definition
class DeploymentGroupInfoTypeDef(TypedDict):
applicationName: NotRequired[str],
deploymentGroupId: NotRequired[str],
deploymentGroupName: NotRequired[str],
deploymentConfigName: NotRequired[str],
ec2TagFilters: NotRequired[List[EC2TagFilterTypeDef]], # (1)
onPremisesInstanceTagFilters: NotRequired[List[TagFilterTypeDef]], # (2)
autoScalingGroups: NotRequired[List[AutoScalingGroupTypeDef]], # (3)
serviceRoleArn: NotRequired[str],
targetRevision: NotRequired[RevisionLocationTypeDef], # (4)
triggerConfigurations: NotRequired[List[TriggerConfigTypeDef]], # (5)
alarmConfiguration: NotRequired[AlarmConfigurationTypeDef], # (6)
autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationTypeDef], # (7)
deploymentStyle: NotRequired[DeploymentStyleTypeDef], # (8)
outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType], # (9)
blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef], # (10)
loadBalancerInfo: NotRequired[LoadBalancerInfoTypeDef], # (11)
lastSuccessfulDeployment: NotRequired[LastDeploymentInfoTypeDef], # (12)
lastAttemptedDeployment: NotRequired[LastDeploymentInfoTypeDef], # (12)
ec2TagSet: NotRequired[EC2TagSetTypeDef], # (14)
onPremisesTagSet: NotRequired[OnPremisesTagSetTypeDef], # (15)
computePlatform: NotRequired[ComputePlatformType], # (16)
ecsServices: NotRequired[List[ECSServiceTypeDef]], # (17)
- See EC2TagFilterTypeDef
- See TagFilterTypeDef
- See AutoScalingGroupTypeDef
- See RevisionLocationTypeDef
- See TriggerConfigTypeDef
- See AlarmConfigurationTypeDef
- See AutoRollbackConfigurationTypeDef
- See DeploymentStyleTypeDef
- See OutdatedInstancesStrategyType
- See BlueGreenDeploymentConfigurationTypeDef
- See LoadBalancerInfoTypeDef
- See LastDeploymentInfoTypeDef
- See LastDeploymentInfoTypeDef
- See EC2TagSetTypeDef
- See OnPremisesTagSetTypeDef
- See ComputePlatformType
- See ECSServiceTypeDef
DeploymentInfoTypeDef#
# DeploymentInfoTypeDef usage example
from mypy_boto3_codedeploy.type_defs import DeploymentInfoTypeDef
def get_value() -> DeploymentInfoTypeDef:
return {
"applicationName": ...,
}
# DeploymentInfoTypeDef definition
class DeploymentInfoTypeDef(TypedDict):
applicationName: NotRequired[str],
deploymentGroupName: NotRequired[str],
deploymentConfigName: NotRequired[str],
deploymentId: NotRequired[str],
previousRevision: NotRequired[RevisionLocationTypeDef], # (1)
revision: NotRequired[RevisionLocationTypeDef], # (1)
status: NotRequired[DeploymentStatusType], # (3)
errorInformation: NotRequired[ErrorInformationTypeDef], # (4)
createTime: NotRequired[datetime],
startTime: NotRequired[datetime],
completeTime: NotRequired[datetime],
deploymentOverview: NotRequired[DeploymentOverviewTypeDef], # (5)
description: NotRequired[str],
creator: NotRequired[DeploymentCreatorType], # (6)
ignoreApplicationStopFailures: NotRequired[bool],
autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationTypeDef], # (7)
updateOutdatedInstancesOnly: NotRequired[bool],
rollbackInfo: NotRequired[RollbackInfoTypeDef], # (8)
deploymentStyle: NotRequired[DeploymentStyleTypeDef], # (9)
targetInstances: NotRequired[TargetInstancesTypeDef], # (10)
instanceTerminationWaitTimeStarted: NotRequired[bool],
blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef], # (11)
loadBalancerInfo: NotRequired[LoadBalancerInfoTypeDef], # (12)
additionalDeploymentStatusInfo: NotRequired[str],
fileExistsBehavior: NotRequired[FileExistsBehaviorType], # (13)
deploymentStatusMessages: NotRequired[List[str]],
computePlatform: NotRequired[ComputePlatformType], # (14)
externalId: NotRequired[str],
relatedDeployments: NotRequired[RelatedDeploymentsTypeDef], # (15)
overrideAlarmConfiguration: NotRequired[AlarmConfigurationTypeDef], # (16)
- See RevisionLocationTypeDef
- See RevisionLocationTypeDef
- See DeploymentStatusType
- See ErrorInformationTypeDef
- See DeploymentOverviewTypeDef
- See DeploymentCreatorType
- See AutoRollbackConfigurationTypeDef
- See RollbackInfoTypeDef
- See DeploymentStyleTypeDef
- See TargetInstancesTypeDef
- See BlueGreenDeploymentConfigurationTypeDef
- See LoadBalancerInfoTypeDef
- See FileExistsBehaviorType
- See ComputePlatformType
- See RelatedDeploymentsTypeDef
- See AlarmConfigurationTypeDef
UpdateDeploymentGroupInputRequestTypeDef#
# UpdateDeploymentGroupInputRequestTypeDef usage example
from mypy_boto3_codedeploy.type_defs import UpdateDeploymentGroupInputRequestTypeDef
def get_value() -> UpdateDeploymentGroupInputRequestTypeDef:
return {
"applicationName": ...,
"currentDeploymentGroupName": ...,
}
# UpdateDeploymentGroupInputRequestTypeDef definition
class UpdateDeploymentGroupInputRequestTypeDef(TypedDict):
applicationName: str,
currentDeploymentGroupName: str,
newDeploymentGroupName: NotRequired[str],
deploymentConfigName: NotRequired[str],
ec2TagFilters: NotRequired[Sequence[EC2TagFilterTypeDef]], # (1)
onPremisesInstanceTagFilters: NotRequired[Sequence[TagFilterTypeDef]], # (2)
autoScalingGroups: NotRequired[Sequence[str]],
serviceRoleArn: NotRequired[str],
triggerConfigurations: NotRequired[Sequence[TriggerConfigTypeDef]], # (3)
alarmConfiguration: NotRequired[AlarmConfigurationTypeDef], # (4)
autoRollbackConfiguration: NotRequired[AutoRollbackConfigurationTypeDef], # (5)
outdatedInstancesStrategy: NotRequired[OutdatedInstancesStrategyType], # (6)
deploymentStyle: NotRequired[DeploymentStyleTypeDef], # (7)
blueGreenDeploymentConfiguration: NotRequired[BlueGreenDeploymentConfigurationTypeDef], # (8)
loadBalancerInfo: NotRequired[LoadBalancerInfoTypeDef], # (9)
ec2TagSet: NotRequired[EC2TagSetTypeDef], # (10)
ecsServices: NotRequired[Sequence[ECSServiceTypeDef]], # (11)
onPremisesTagSet: NotRequired[OnPremisesTagSetTypeDef], # (12)
- See EC2TagFilterTypeDef
- See TagFilterTypeDef
- See TriggerConfigTypeDef
- See AlarmConfigurationTypeDef
- See AutoRollbackConfigurationTypeDef
- See OutdatedInstancesStrategyType
- See DeploymentStyleTypeDef
- See BlueGreenDeploymentConfigurationTypeDef
- See LoadBalancerInfoTypeDef
- See EC2TagSetTypeDef
- See ECSServiceTypeDef
- See OnPremisesTagSetTypeDef
GetDeploymentConfigOutputTypeDef#
# GetDeploymentConfigOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentConfigOutputTypeDef
def get_value() -> GetDeploymentConfigOutputTypeDef:
return {
"deploymentConfigInfo": ...,
"ResponseMetadata": ...,
}
# GetDeploymentConfigOutputTypeDef definition
class GetDeploymentConfigOutputTypeDef(TypedDict):
deploymentConfigInfo: DeploymentConfigInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchGetDeploymentTargetsOutputTypeDef#
# BatchGetDeploymentTargetsOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentTargetsOutputTypeDef
def get_value() -> BatchGetDeploymentTargetsOutputTypeDef:
return {
"deploymentTargets": ...,
"ResponseMetadata": ...,
}
# BatchGetDeploymentTargetsOutputTypeDef definition
class BatchGetDeploymentTargetsOutputTypeDef(TypedDict):
deploymentTargets: List[DeploymentTargetTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDeploymentTargetOutputTypeDef#
# GetDeploymentTargetOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentTargetOutputTypeDef
def get_value() -> GetDeploymentTargetOutputTypeDef:
return {
"deploymentTarget": ...,
"ResponseMetadata": ...,
}
# GetDeploymentTargetOutputTypeDef definition
class GetDeploymentTargetOutputTypeDef(TypedDict):
deploymentTarget: DeploymentTargetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchGetDeploymentGroupsOutputTypeDef#
# BatchGetDeploymentGroupsOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentGroupsOutputTypeDef
def get_value() -> BatchGetDeploymentGroupsOutputTypeDef:
return {
"deploymentGroupsInfo": ...,
"errorMessage": ...,
"ResponseMetadata": ...,
}
# BatchGetDeploymentGroupsOutputTypeDef definition
class BatchGetDeploymentGroupsOutputTypeDef(TypedDict):
deploymentGroupsInfo: List[DeploymentGroupInfoTypeDef], # (1)
errorMessage: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDeploymentGroupOutputTypeDef#
# GetDeploymentGroupOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentGroupOutputTypeDef
def get_value() -> GetDeploymentGroupOutputTypeDef:
return {
"deploymentGroupInfo": ...,
"ResponseMetadata": ...,
}
# GetDeploymentGroupOutputTypeDef definition
class GetDeploymentGroupOutputTypeDef(TypedDict):
deploymentGroupInfo: DeploymentGroupInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
BatchGetDeploymentsOutputTypeDef#
# BatchGetDeploymentsOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import BatchGetDeploymentsOutputTypeDef
def get_value() -> BatchGetDeploymentsOutputTypeDef:
return {
"deploymentsInfo": ...,
"ResponseMetadata": ...,
}
# BatchGetDeploymentsOutputTypeDef definition
class BatchGetDeploymentsOutputTypeDef(TypedDict):
deploymentsInfo: List[DeploymentInfoTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetDeploymentOutputTypeDef#
# GetDeploymentOutputTypeDef usage example
from mypy_boto3_codedeploy.type_defs import GetDeploymentOutputTypeDef
def get_value() -> GetDeploymentOutputTypeDef:
return {
"deploymentInfo": ...,
"ResponseMetadata": ...,
}
# GetDeploymentOutputTypeDef definition
class GetDeploymentOutputTypeDef(TypedDict):
deploymentInfo: DeploymentInfoTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)