Skip to content

Typed dictionaries

Index > ECS > Typed dictionaries

Auto-generated documentation for ECS type annotations stubs module mypy-boto3-ecs.

AttachmentStateChangeTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import AttachmentStateChangeTypeDef

def get_value() -> AttachmentStateChangeTypeDef:
    return {
        "attachmentArn": ...,
        "status": ...,
    }
Definition
class AttachmentStateChangeTypeDef(TypedDict):
    attachmentArn: str,
    status: str,

KeyValuePairTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import KeyValuePairTypeDef

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

AttributeTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import AttributeTypeDef

def get_value() -> AttributeTypeDef:
    return {
        "name": ...,
    }
Definition
class AttributeTypeDef(TypedDict):
    name: str,
    value: NotRequired[str],
    targetType: NotRequired[TargetTypeType],  # (1)
    targetId: NotRequired[str],
  1. See TargetTypeType

ManagedScalingTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ManagedScalingTypeDef

def get_value() -> ManagedScalingTypeDef:
    return {
        "status": ...,
    }
Definition
class ManagedScalingTypeDef(TypedDict):
    status: NotRequired[ManagedScalingStatusType],  # (1)
    targetCapacity: NotRequired[int],
    minimumScalingStepSize: NotRequired[int],
    maximumScalingStepSize: NotRequired[int],
    instanceWarmupPeriod: NotRequired[int],
  1. See ManagedScalingStatusType

AwsVpcConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import AwsVpcConfigurationTypeDef

def get_value() -> AwsVpcConfigurationTypeDef:
    return {
        "subnets": ...,
    }
Definition
class AwsVpcConfigurationTypeDef(TypedDict):
    subnets: Sequence[str],
    securityGroups: NotRequired[Sequence[str]],
    assignPublicIp: NotRequired[AssignPublicIpType],  # (1)
  1. See AssignPublicIpType

CapacityProviderStrategyItemTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import CapacityProviderStrategyItemTypeDef

def get_value() -> CapacityProviderStrategyItemTypeDef:
    return {
        "capacityProvider": ...,
    }
Definition
class CapacityProviderStrategyItemTypeDef(TypedDict):
    capacityProvider: str,
    weight: NotRequired[int],
    base: NotRequired[int],

TagTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import TagTypeDef

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

ClusterServiceConnectDefaultsRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ClusterServiceConnectDefaultsRequestTypeDef

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

ClusterServiceConnectDefaultsTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ClusterServiceConnectDefaultsTypeDef

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

ClusterSettingTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ClusterSettingTypeDef

def get_value() -> ClusterSettingTypeDef:
    return {
        "name": ...,
    }
Definition
class ClusterSettingTypeDef(TypedDict):
    name: NotRequired[ClusterSettingNameType],  # (1)
    value: NotRequired[str],
  1. See ClusterSettingNameType

ContainerDependencyTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ContainerDependencyTypeDef

def get_value() -> ContainerDependencyTypeDef:
    return {
        "containerName": ...,
        "condition": ...,
    }
Definition
class ContainerDependencyTypeDef(TypedDict):
    containerName: str,
    condition: ContainerConditionType,  # (1)
  1. See ContainerConditionType

EnvironmentFileTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import EnvironmentFileTypeDef

def get_value() -> EnvironmentFileTypeDef:
    return {
        "value": ...,
        "type": ...,
    }
Definition
class EnvironmentFileTypeDef(TypedDict):
    value: str,
    type: EnvironmentFileTypeType,  # (1)
  1. See EnvironmentFileTypeType

FirelensConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import FirelensConfigurationTypeDef

def get_value() -> FirelensConfigurationTypeDef:
    return {
        "type": ...,
    }
Definition
class FirelensConfigurationTypeDef(TypedDict):
    type: FirelensConfigurationTypeType,  # (1)
    options: NotRequired[Dict[str, str]],
  1. See FirelensConfigurationTypeType

HealthCheckTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import HealthCheckTypeDef

def get_value() -> HealthCheckTypeDef:
    return {
        "command": ...,
    }
Definition
class HealthCheckTypeDef(TypedDict):
    command: List[str],
    interval: NotRequired[int],
    timeout: NotRequired[int],
    retries: NotRequired[int],
    startPeriod: NotRequired[int],

HostEntryTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import HostEntryTypeDef

def get_value() -> HostEntryTypeDef:
    return {
        "hostname": ...,
        "ipAddress": ...,
    }
Definition
class HostEntryTypeDef(TypedDict):
    hostname: str,
    ipAddress: str,

MountPointTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import MountPointTypeDef

def get_value() -> MountPointTypeDef:
    return {
        "sourceVolume": ...,
    }
Definition
class MountPointTypeDef(TypedDict):
    sourceVolume: NotRequired[str],
    containerPath: NotRequired[str],
    readOnly: NotRequired[bool],

PortMappingTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PortMappingTypeDef

def get_value() -> PortMappingTypeDef:
    return {
        "containerPort": ...,
    }
Definition
class PortMappingTypeDef(TypedDict):
    containerPort: NotRequired[int],
    hostPort: NotRequired[int],
    protocol: NotRequired[TransportProtocolType],  # (1)
    name: NotRequired[str],
    appProtocol: NotRequired[ApplicationProtocolType],  # (2)
    containerPortRange: NotRequired[str],
  1. See TransportProtocolType
  2. See ApplicationProtocolType

RepositoryCredentialsTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import RepositoryCredentialsTypeDef

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

ResourceRequirementTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ResourceRequirementTypeDef

def get_value() -> ResourceRequirementTypeDef:
    return {
        "value": ...,
        "type": ...,
    }
Definition
class ResourceRequirementTypeDef(TypedDict):
    value: str,
    type: ResourceTypeType,  # (1)
  1. See ResourceTypeType

SecretTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import SecretTypeDef

def get_value() -> SecretTypeDef:
    return {
        "name": ...,
        "valueFrom": ...,
    }
Definition
class SecretTypeDef(TypedDict):
    name: str,
    valueFrom: str,

SystemControlTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import SystemControlTypeDef

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

UlimitTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UlimitTypeDef

def get_value() -> UlimitTypeDef:
    return {
        "name": ...,
        "softLimit": ...,
        "hardLimit": ...,
    }
Definition
class UlimitTypeDef(TypedDict):
    name: UlimitNameType,  # (1)
    softLimit: int,
    hardLimit: int,
  1. See UlimitNameType

VolumeFromTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import VolumeFromTypeDef

def get_value() -> VolumeFromTypeDef:
    return {
        "sourceContainer": ...,
    }
Definition
class VolumeFromTypeDef(TypedDict):
    sourceContainer: NotRequired[str],
    readOnly: NotRequired[bool],

InstanceHealthCheckResultTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import InstanceHealthCheckResultTypeDef

def get_value() -> InstanceHealthCheckResultTypeDef:
    return {
        "type": ...,
    }
Definition
class InstanceHealthCheckResultTypeDef(TypedDict):
    type: NotRequired[InstanceHealthCheckTypeType],  # (1)
    status: NotRequired[InstanceHealthCheckStateType],  # (2)
    lastUpdated: NotRequired[datetime],
    lastStatusChange: NotRequired[datetime],
  1. See InstanceHealthCheckTypeType
  2. See InstanceHealthCheckStateType

ResourceTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ResourceTypeDef

def get_value() -> ResourceTypeDef:
    return {
        "name": ...,
    }
Definition
class ResourceTypeDef(TypedDict):
    name: NotRequired[str],
    type: NotRequired[str],
    doubleValue: NotRequired[float],
    longValue: NotRequired[int],
    integerValue: NotRequired[int],
    stringSetValue: NotRequired[List[str]],

VersionInfoTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import VersionInfoTypeDef

def get_value() -> VersionInfoTypeDef:
    return {
        "agentVersion": ...,
    }
Definition
class VersionInfoTypeDef(TypedDict):
    agentVersion: NotRequired[str],
    agentHash: NotRequired[str],
    dockerVersion: NotRequired[str],

NetworkBindingTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import NetworkBindingTypeDef

def get_value() -> NetworkBindingTypeDef:
    return {
        "bindIP": ...,
    }
Definition
class NetworkBindingTypeDef(TypedDict):
    bindIP: NotRequired[str],
    containerPort: NotRequired[int],
    hostPort: NotRequired[int],
    protocol: NotRequired[TransportProtocolType],  # (1)
    containerPortRange: NotRequired[str],
    hostPortRange: NotRequired[str],
  1. See TransportProtocolType

ManagedAgentTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ManagedAgentTypeDef

def get_value() -> ManagedAgentTypeDef:
    return {
        "lastStartedAt": ...,
    }
Definition
class ManagedAgentTypeDef(TypedDict):
    lastStartedAt: NotRequired[datetime],
    name: NotRequired[ManagedAgentNameType],  # (1)
    reason: NotRequired[str],
    lastStatus: NotRequired[str],
  1. See ManagedAgentNameType

NetworkInterfaceTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import NetworkInterfaceTypeDef

def get_value() -> NetworkInterfaceTypeDef:
    return {
        "attachmentId": ...,
    }
Definition
class NetworkInterfaceTypeDef(TypedDict):
    attachmentId: NotRequired[str],
    privateIpv4Address: NotRequired[str],
    ipv6Address: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ResponseMetadataTypeDef

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

DeploymentControllerTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeploymentControllerTypeDef

def get_value() -> DeploymentControllerTypeDef:
    return {
        "type": ...,
    }
Definition
class DeploymentControllerTypeDef(TypedDict):
    type: DeploymentControllerTypeType,  # (1)
  1. See DeploymentControllerTypeType

LoadBalancerTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import LoadBalancerTypeDef

def get_value() -> LoadBalancerTypeDef:
    return {
        "targetGroupArn": ...,
    }
Definition
class LoadBalancerTypeDef(TypedDict):
    targetGroupArn: NotRequired[str],
    loadBalancerName: NotRequired[str],
    containerName: NotRequired[str],
    containerPort: NotRequired[int],

PlacementConstraintTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PlacementConstraintTypeDef

def get_value() -> PlacementConstraintTypeDef:
    return {
        "type": ...,
    }
Definition
class PlacementConstraintTypeDef(TypedDict):
    type: NotRequired[PlacementConstraintTypeType],  # (1)
    expression: NotRequired[str],
  1. See PlacementConstraintTypeType

PlacementStrategyTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PlacementStrategyTypeDef

def get_value() -> PlacementStrategyTypeDef:
    return {
        "type": ...,
    }
Definition
class PlacementStrategyTypeDef(TypedDict):
    type: NotRequired[PlacementStrategyTypeType],  # (1)
    field: NotRequired[str],
  1. See PlacementStrategyTypeType

ServiceRegistryTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ServiceRegistryTypeDef

def get_value() -> ServiceRegistryTypeDef:
    return {
        "registryArn": ...,
    }
Definition
class ServiceRegistryTypeDef(TypedDict):
    registryArn: NotRequired[str],
    port: NotRequired[int],
    containerName: NotRequired[str],
    containerPort: NotRequired[int],

ScaleTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ScaleTypeDef

def get_value() -> ScaleTypeDef:
    return {
        "value": ...,
    }
Definition
class ScaleTypeDef(TypedDict):
    value: NotRequired[float],
    unit: NotRequired[ScaleUnitType],  # (1)
  1. See ScaleUnitType

DeleteAccountSettingRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteAccountSettingRequestRequestTypeDef

def get_value() -> DeleteAccountSettingRequestRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class DeleteAccountSettingRequestRequestTypeDef(TypedDict):
    name: SettingNameType,  # (1)
    principalArn: NotRequired[str],
  1. See SettingNameType

SettingTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import SettingTypeDef

def get_value() -> SettingTypeDef:
    return {
        "name": ...,
    }
Definition
class SettingTypeDef(TypedDict):
    name: NotRequired[SettingNameType],  # (1)
    value: NotRequired[str],
    principalArn: NotRequired[str],
  1. See SettingNameType

DeleteCapacityProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteCapacityProviderRequestRequestTypeDef

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

DeleteClusterRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteClusterRequestRequestTypeDef

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

DeleteServiceRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteServiceRequestRequestTypeDef

def get_value() -> DeleteServiceRequestRequestTypeDef:
    return {
        "service": ...,
    }
Definition
class DeleteServiceRequestRequestTypeDef(TypedDict):
    service: str,
    cluster: NotRequired[str],
    force: NotRequired[bool],

DeleteTaskDefinitionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteTaskDefinitionsRequestRequestTypeDef

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

FailureTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import FailureTypeDef

def get_value() -> FailureTypeDef:
    return {
        "arn": ...,
    }
Definition
class FailureTypeDef(TypedDict):
    arn: NotRequired[str],
    reason: NotRequired[str],
    detail: NotRequired[str],

DeleteTaskSetRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteTaskSetRequestRequestTypeDef

def get_value() -> DeleteTaskSetRequestRequestTypeDef:
    return {
        "cluster": ...,
        "service": ...,
        "taskSet": ...,
    }
Definition
class DeleteTaskSetRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    taskSet: str,
    force: NotRequired[bool],

DeploymentAlarmsTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeploymentAlarmsTypeDef

def get_value() -> DeploymentAlarmsTypeDef:
    return {
        "alarmNames": ...,
        "enable": ...,
        "rollback": ...,
    }
Definition
class DeploymentAlarmsTypeDef(TypedDict):
    alarmNames: Sequence[str],
    enable: bool,
    rollback: bool,

DeploymentCircuitBreakerTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeploymentCircuitBreakerTypeDef

def get_value() -> DeploymentCircuitBreakerTypeDef:
    return {
        "enable": ...,
        "rollback": ...,
    }
Definition
class DeploymentCircuitBreakerTypeDef(TypedDict):
    enable: bool,
    rollback: bool,

ServiceConnectServiceResourceTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ServiceConnectServiceResourceTypeDef

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

DeregisterContainerInstanceRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeregisterContainerInstanceRequestRequestTypeDef

def get_value() -> DeregisterContainerInstanceRequestRequestTypeDef:
    return {
        "containerInstance": ...,
    }
Definition
class DeregisterContainerInstanceRequestRequestTypeDef(TypedDict):
    containerInstance: str,
    cluster: NotRequired[str],
    force: NotRequired[bool],

DeregisterTaskDefinitionRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeregisterTaskDefinitionRequestRequestTypeDef

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

DescribeCapacityProvidersRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeCapacityProvidersRequestRequestTypeDef

def get_value() -> DescribeCapacityProvidersRequestRequestTypeDef:
    return {
        "capacityProviders": ...,
    }
Definition
class DescribeCapacityProvidersRequestRequestTypeDef(TypedDict):
    capacityProviders: NotRequired[Sequence[str]],
    include: NotRequired[Sequence[CapacityProviderFieldType]],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See CapacityProviderFieldType

DescribeClustersRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeClustersRequestRequestTypeDef

def get_value() -> DescribeClustersRequestRequestTypeDef:
    return {
        "clusters": ...,
    }
Definition
class DescribeClustersRequestRequestTypeDef(TypedDict):
    clusters: NotRequired[Sequence[str]],
    include: NotRequired[Sequence[ClusterFieldType]],  # (1)
  1. See ClusterFieldType

DescribeContainerInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeContainerInstancesRequestRequestTypeDef

def get_value() -> DescribeContainerInstancesRequestRequestTypeDef:
    return {
        "containerInstances": ...,
    }
Definition
class DescribeContainerInstancesRequestRequestTypeDef(TypedDict):
    containerInstances: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[ContainerInstanceFieldType]],  # (1)
  1. See ContainerInstanceFieldType

DescribeServicesRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeServicesRequestRequestTypeDef

def get_value() -> DescribeServicesRequestRequestTypeDef:
    return {
        "services": ...,
    }
Definition
class DescribeServicesRequestRequestTypeDef(TypedDict):
    services: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[ServiceFieldType]],  # (1)
  1. See ServiceFieldType

WaiterConfigTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import WaiterConfigTypeDef

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

DescribeTaskDefinitionRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeTaskDefinitionRequestRequestTypeDef

def get_value() -> DescribeTaskDefinitionRequestRequestTypeDef:
    return {
        "taskDefinition": ...,
    }
Definition
class DescribeTaskDefinitionRequestRequestTypeDef(TypedDict):
    taskDefinition: str,
    include: NotRequired[Sequence[TaskDefinitionFieldType]],  # (1)
  1. See TaskDefinitionFieldType

DescribeTaskSetsRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeTaskSetsRequestRequestTypeDef

def get_value() -> DescribeTaskSetsRequestRequestTypeDef:
    return {
        "cluster": ...,
        "service": ...,
    }
Definition
class DescribeTaskSetsRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    taskSets: NotRequired[Sequence[str]],
    include: NotRequired[Sequence[TaskSetFieldType]],  # (1)
  1. See TaskSetFieldType

DescribeTasksRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeTasksRequestRequestTypeDef

def get_value() -> DescribeTasksRequestRequestTypeDef:
    return {
        "tasks": ...,
    }
Definition
class DescribeTasksRequestRequestTypeDef(TypedDict):
    tasks: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[TaskFieldType]],  # (1)
  1. See TaskFieldType

DeviceTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeviceTypeDef

def get_value() -> DeviceTypeDef:
    return {
        "hostPath": ...,
    }
Definition
class DeviceTypeDef(TypedDict):
    hostPath: str,
    containerPath: NotRequired[str],
    permissions: NotRequired[List[DeviceCgroupPermissionType]],  # (1)
  1. See DeviceCgroupPermissionType

DiscoverPollEndpointRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DiscoverPollEndpointRequestRequestTypeDef

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

DockerVolumeConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DockerVolumeConfigurationTypeDef

def get_value() -> DockerVolumeConfigurationTypeDef:
    return {
        "scope": ...,
    }
Definition
class DockerVolumeConfigurationTypeDef(TypedDict):
    scope: NotRequired[ScopeType],  # (1)
    autoprovision: NotRequired[bool],
    driver: NotRequired[str],
    driverOpts: NotRequired[Dict[str, str]],
    labels: NotRequired[Dict[str, str]],
  1. See ScopeType

EFSAuthorizationConfigTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import EFSAuthorizationConfigTypeDef

def get_value() -> EFSAuthorizationConfigTypeDef:
    return {
        "accessPointId": ...,
    }
Definition
class EFSAuthorizationConfigTypeDef(TypedDict):
    accessPointId: NotRequired[str],
    iam: NotRequired[EFSAuthorizationConfigIAMType],  # (1)
  1. See EFSAuthorizationConfigIAMType

EphemeralStorageTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import EphemeralStorageTypeDef

def get_value() -> EphemeralStorageTypeDef:
    return {
        "sizeInGiB": ...,
    }
Definition
class EphemeralStorageTypeDef(TypedDict):
    sizeInGiB: int,

ExecuteCommandLogConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ExecuteCommandLogConfigurationTypeDef

def get_value() -> ExecuteCommandLogConfigurationTypeDef:
    return {
        "cloudWatchLogGroupName": ...,
    }
Definition
class ExecuteCommandLogConfigurationTypeDef(TypedDict):
    cloudWatchLogGroupName: NotRequired[str],
    cloudWatchEncryptionEnabled: NotRequired[bool],
    s3BucketName: NotRequired[str],
    s3EncryptionEnabled: NotRequired[bool],
    s3KeyPrefix: NotRequired[str],

ExecuteCommandRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ExecuteCommandRequestRequestTypeDef

def get_value() -> ExecuteCommandRequestRequestTypeDef:
    return {
        "command": ...,
        "interactive": ...,
        "task": ...,
    }
Definition
class ExecuteCommandRequestRequestTypeDef(TypedDict):
    command: str,
    interactive: bool,
    task: str,
    cluster: NotRequired[str],
    container: NotRequired[str],

SessionTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import SessionTypeDef

def get_value() -> SessionTypeDef:
    return {
        "sessionId": ...,
    }
Definition
class SessionTypeDef(TypedDict):
    sessionId: NotRequired[str],
    streamUrl: NotRequired[str],
    tokenValue: NotRequired[str],

FSxWindowsFileServerAuthorizationConfigTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import FSxWindowsFileServerAuthorizationConfigTypeDef

def get_value() -> FSxWindowsFileServerAuthorizationConfigTypeDef:
    return {
        "credentialsParameter": ...,
        "domain": ...,
    }
Definition
class FSxWindowsFileServerAuthorizationConfigTypeDef(TypedDict):
    credentialsParameter: str,
    domain: str,

GetTaskProtectionRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import GetTaskProtectionRequestRequestTypeDef

def get_value() -> GetTaskProtectionRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
Definition
class GetTaskProtectionRequestRequestTypeDef(TypedDict):
    cluster: str,
    tasks: NotRequired[Sequence[str]],

ProtectedTaskTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ProtectedTaskTypeDef

def get_value() -> ProtectedTaskTypeDef:
    return {
        "taskArn": ...,
    }
Definition
class ProtectedTaskTypeDef(TypedDict):
    taskArn: NotRequired[str],
    protectionEnabled: NotRequired[bool],
    expirationDate: NotRequired[datetime],

HostVolumePropertiesTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import HostVolumePropertiesTypeDef

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

InferenceAcceleratorOverrideTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import InferenceAcceleratorOverrideTypeDef

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

InferenceAcceleratorTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import InferenceAcceleratorTypeDef

def get_value() -> InferenceAcceleratorTypeDef:
    return {
        "deviceName": ...,
        "deviceType": ...,
    }
Definition
class InferenceAcceleratorTypeDef(TypedDict):
    deviceName: str,
    deviceType: str,

KernelCapabilitiesTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import KernelCapabilitiesTypeDef

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

TmpfsTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import TmpfsTypeDef

def get_value() -> TmpfsTypeDef:
    return {
        "containerPath": ...,
        "size": ...,
    }
Definition
class TmpfsTypeDef(TypedDict):
    containerPath: str,
    size: int,
    mountOptions: NotRequired[List[str]],

PaginatorConfigTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PaginatorConfigTypeDef

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

ListAccountSettingsRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListAccountSettingsRequestRequestTypeDef

def get_value() -> ListAccountSettingsRequestRequestTypeDef:
    return {
        "name": ...,
    }
Definition
class ListAccountSettingsRequestRequestTypeDef(TypedDict):
    name: NotRequired[SettingNameType],  # (1)
    value: NotRequired[str],
    principalArn: NotRequired[str],
    effectiveSettings: NotRequired[bool],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See SettingNameType

ListAttributesRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListAttributesRequestRequestTypeDef

def get_value() -> ListAttributesRequestRequestTypeDef:
    return {
        "targetType": ...,
    }
Definition
class ListAttributesRequestRequestTypeDef(TypedDict):
    targetType: TargetTypeType,  # (1)
    cluster: NotRequired[str],
    attributeName: NotRequired[str],
    attributeValue: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See TargetTypeType

ListClustersRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListClustersRequestRequestTypeDef

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

ListContainerInstancesRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListContainerInstancesRequestRequestTypeDef

def get_value() -> ListContainerInstancesRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
Definition
class ListContainerInstancesRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    filter: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    status: NotRequired[ContainerInstanceStatusType],  # (1)
  1. See ContainerInstanceStatusType

ListServicesByNamespaceRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListServicesByNamespaceRequestRequestTypeDef

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

ListServicesRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListServicesRequestRequestTypeDef

def get_value() -> ListServicesRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
Definition
class ListServicesRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    launchType: NotRequired[LaunchTypeType],  # (1)
    schedulingStrategy: NotRequired[SchedulingStrategyType],  # (2)
  1. See LaunchTypeType
  2. See SchedulingStrategyType

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListTagsForResourceRequestRequestTypeDef

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

ListTaskDefinitionFamiliesRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionFamiliesRequestRequestTypeDef

def get_value() -> ListTaskDefinitionFamiliesRequestRequestTypeDef:
    return {
        "familyPrefix": ...,
    }
Definition
class ListTaskDefinitionFamiliesRequestRequestTypeDef(TypedDict):
    familyPrefix: NotRequired[str],
    status: NotRequired[TaskDefinitionFamilyStatusType],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See TaskDefinitionFamilyStatusType

ListTaskDefinitionsRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionsRequestRequestTypeDef

def get_value() -> ListTaskDefinitionsRequestRequestTypeDef:
    return {
        "familyPrefix": ...,
    }
Definition
class ListTaskDefinitionsRequestRequestTypeDef(TypedDict):
    familyPrefix: NotRequired[str],
    status: NotRequired[TaskDefinitionStatusType],  # (1)
    sort: NotRequired[SortOrderType],  # (2)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See TaskDefinitionStatusType
  2. See SortOrderType

ListTasksRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListTasksRequestRequestTypeDef

def get_value() -> ListTasksRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
Definition
class ListTasksRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    containerInstance: NotRequired[str],
    family: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    startedBy: NotRequired[str],
    serviceName: NotRequired[str],
    desiredStatus: NotRequired[DesiredStatusType],  # (1)
    launchType: NotRequired[LaunchTypeType],  # (2)
  1. See DesiredStatusType
  2. See LaunchTypeType

ManagedAgentStateChangeTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ManagedAgentStateChangeTypeDef

def get_value() -> ManagedAgentStateChangeTypeDef:
    return {
        "containerName": ...,
        "managedAgentName": ...,
        "status": ...,
    }
Definition
class ManagedAgentStateChangeTypeDef(TypedDict):
    containerName: str,
    managedAgentName: ManagedAgentNameType,  # (1)
    status: str,
    reason: NotRequired[str],
  1. See ManagedAgentNameType

PlatformDeviceTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PlatformDeviceTypeDef

def get_value() -> PlatformDeviceTypeDef:
    return {
        "id": ...,
        "type": ...,
    }
Definition
class PlatformDeviceTypeDef(TypedDict):
    id: str,
    type: PlatformDeviceTypeType,  # (1)
  1. See PlatformDeviceTypeType

PutAccountSettingDefaultRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PutAccountSettingDefaultRequestRequestTypeDef

def get_value() -> PutAccountSettingDefaultRequestRequestTypeDef:
    return {
        "name": ...,
        "value": ...,
    }
Definition
class PutAccountSettingDefaultRequestRequestTypeDef(TypedDict):
    name: SettingNameType,  # (1)
    value: str,
  1. See SettingNameType

PutAccountSettingRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PutAccountSettingRequestRequestTypeDef

def get_value() -> PutAccountSettingRequestRequestTypeDef:
    return {
        "name": ...,
        "value": ...,
    }
Definition
class PutAccountSettingRequestRequestTypeDef(TypedDict):
    name: SettingNameType,  # (1)
    value: str,
    principalArn: NotRequired[str],
  1. See SettingNameType

RuntimePlatformTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import RuntimePlatformTypeDef

def get_value() -> RuntimePlatformTypeDef:
    return {
        "cpuArchitecture": ...,
    }
Definition
class RuntimePlatformTypeDef(TypedDict):
    cpuArchitecture: NotRequired[CPUArchitectureType],  # (1)
    operatingSystemFamily: NotRequired[OSFamilyType],  # (2)
  1. See CPUArchitectureType
  2. See OSFamilyType

TaskDefinitionPlacementConstraintTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import TaskDefinitionPlacementConstraintTypeDef

def get_value() -> TaskDefinitionPlacementConstraintTypeDef:
    return {
        "type": ...,
    }
Definition
class TaskDefinitionPlacementConstraintTypeDef(TypedDict):
    type: NotRequired[TaskDefinitionPlacementConstraintTypeType],  # (1)
    expression: NotRequired[str],
  1. See TaskDefinitionPlacementConstraintTypeType

ServiceConnectClientAliasTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ServiceConnectClientAliasTypeDef

def get_value() -> ServiceConnectClientAliasTypeDef:
    return {
        "port": ...,
    }
Definition
class ServiceConnectClientAliasTypeDef(TypedDict):
    port: int,
    dnsName: NotRequired[str],

ServiceEventTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ServiceEventTypeDef

def get_value() -> ServiceEventTypeDef:
    return {
        "id": ...,
    }
Definition
class ServiceEventTypeDef(TypedDict):
    id: NotRequired[str],
    createdAt: NotRequired[datetime],
    message: NotRequired[str],

StopTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import StopTaskRequestRequestTypeDef

def get_value() -> StopTaskRequestRequestTypeDef:
    return {
        "task": ...,
    }
Definition
class StopTaskRequestRequestTypeDef(TypedDict):
    task: str,
    cluster: NotRequired[str],
    reason: NotRequired[str],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UntagResourceRequestRequestTypeDef

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

UpdateContainerAgentRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateContainerAgentRequestRequestTypeDef

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

UpdateContainerInstancesStateRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateContainerInstancesStateRequestRequestTypeDef

def get_value() -> UpdateContainerInstancesStateRequestRequestTypeDef:
    return {
        "containerInstances": ...,
        "status": ...,
    }
Definition
class UpdateContainerInstancesStateRequestRequestTypeDef(TypedDict):
    containerInstances: Sequence[str],
    status: ContainerInstanceStatusType,  # (1)
    cluster: NotRequired[str],
  1. See ContainerInstanceStatusType

UpdateServicePrimaryTaskSetRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateServicePrimaryTaskSetRequestRequestTypeDef

def get_value() -> UpdateServicePrimaryTaskSetRequestRequestTypeDef:
    return {
        "cluster": ...,
        "service": ...,
        "primaryTaskSet": ...,
    }
Definition
class UpdateServicePrimaryTaskSetRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    primaryTaskSet: str,

UpdateTaskProtectionRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateTaskProtectionRequestRequestTypeDef

def get_value() -> UpdateTaskProtectionRequestRequestTypeDef:
    return {
        "cluster": ...,
        "tasks": ...,
        "protectionEnabled": ...,
    }
Definition
class UpdateTaskProtectionRequestRequestTypeDef(TypedDict):
    cluster: str,
    tasks: Sequence[str],
    protectionEnabled: bool,
    expiresInMinutes: NotRequired[int],

SubmitAttachmentStateChangesRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import SubmitAttachmentStateChangesRequestRequestTypeDef

def get_value() -> SubmitAttachmentStateChangesRequestRequestTypeDef:
    return {
        "attachments": ...,
    }
Definition
class SubmitAttachmentStateChangesRequestRequestTypeDef(TypedDict):
    attachments: Sequence[AttachmentStateChangeTypeDef],  # (1)
    cluster: NotRequired[str],
  1. See AttachmentStateChangeTypeDef

AttachmentTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import AttachmentTypeDef

def get_value() -> AttachmentTypeDef:
    return {
        "id": ...,
    }
Definition
class AttachmentTypeDef(TypedDict):
    id: NotRequired[str],
    type: NotRequired[str],
    status: NotRequired[str],
    details: NotRequired[List[KeyValuePairTypeDef]],  # (1)
  1. See KeyValuePairTypeDef

ProxyConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ProxyConfigurationTypeDef

def get_value() -> ProxyConfigurationTypeDef:
    return {
        "containerName": ...,
    }
Definition
class ProxyConfigurationTypeDef(TypedDict):
    containerName: str,
    type: NotRequired[ProxyConfigurationTypeType],  # (1)
    properties: NotRequired[List[KeyValuePairTypeDef]],  # (2)
  1. See ProxyConfigurationTypeType
  2. See KeyValuePairTypeDef

DeleteAttributesRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteAttributesRequestRequestTypeDef

def get_value() -> DeleteAttributesRequestRequestTypeDef:
    return {
        "attributes": ...,
    }
Definition
class DeleteAttributesRequestRequestTypeDef(TypedDict):
    attributes: Sequence[AttributeTypeDef],  # (1)
    cluster: NotRequired[str],
  1. See AttributeTypeDef

PutAttributesRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PutAttributesRequestRequestTypeDef

def get_value() -> PutAttributesRequestRequestTypeDef:
    return {
        "attributes": ...,
    }
Definition
class PutAttributesRequestRequestTypeDef(TypedDict):
    attributes: Sequence[AttributeTypeDef],  # (1)
    cluster: NotRequired[str],
  1. See AttributeTypeDef

AutoScalingGroupProviderTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import AutoScalingGroupProviderTypeDef

def get_value() -> AutoScalingGroupProviderTypeDef:
    return {
        "autoScalingGroupArn": ...,
    }
Definition
class AutoScalingGroupProviderTypeDef(TypedDict):
    autoScalingGroupArn: str,
    managedScaling: NotRequired[ManagedScalingTypeDef],  # (1)
    managedTerminationProtection: NotRequired[ManagedTerminationProtectionType],  # (2)
  1. See ManagedScalingTypeDef
  2. See ManagedTerminationProtectionType

AutoScalingGroupProviderUpdateTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import AutoScalingGroupProviderUpdateTypeDef

def get_value() -> AutoScalingGroupProviderUpdateTypeDef:
    return {
        "managedScaling": ...,
    }
Definition
class AutoScalingGroupProviderUpdateTypeDef(TypedDict):
    managedScaling: NotRequired[ManagedScalingTypeDef],  # (1)
    managedTerminationProtection: NotRequired[ManagedTerminationProtectionType],  # (2)
  1. See ManagedScalingTypeDef
  2. See ManagedTerminationProtectionType

NetworkConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import NetworkConfigurationTypeDef

def get_value() -> NetworkConfigurationTypeDef:
    return {
        "awsvpcConfiguration": ...,
    }
Definition
class NetworkConfigurationTypeDef(TypedDict):
    awsvpcConfiguration: NotRequired[AwsVpcConfigurationTypeDef],  # (1)
  1. See AwsVpcConfigurationTypeDef

PutClusterCapacityProvidersRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PutClusterCapacityProvidersRequestRequestTypeDef

def get_value() -> PutClusterCapacityProvidersRequestRequestTypeDef:
    return {
        "cluster": ...,
        "capacityProviders": ...,
        "defaultCapacityProviderStrategy": ...,
    }
Definition
class PutClusterCapacityProvidersRequestRequestTypeDef(TypedDict):
    cluster: str,
    capacityProviders: Sequence[str],
    defaultCapacityProviderStrategy: Sequence[CapacityProviderStrategyItemTypeDef],  # (1)
  1. See CapacityProviderStrategyItemTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import TagResourceRequestRequestTypeDef

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

UpdateClusterSettingsRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateClusterSettingsRequestRequestTypeDef

def get_value() -> UpdateClusterSettingsRequestRequestTypeDef:
    return {
        "cluster": ...,
        "settings": ...,
    }
Definition
class UpdateClusterSettingsRequestRequestTypeDef(TypedDict):
    cluster: str,
    settings: Sequence[ClusterSettingTypeDef],  # (1)
  1. See ClusterSettingTypeDef

ContainerOverrideTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ContainerOverrideTypeDef

def get_value() -> ContainerOverrideTypeDef:
    return {
        "name": ...,
    }
Definition
class ContainerOverrideTypeDef(TypedDict):
    name: NotRequired[str],
    command: NotRequired[List[str]],
    environment: NotRequired[List[KeyValuePairTypeDef]],  # (1)
    environmentFiles: NotRequired[List[EnvironmentFileTypeDef]],  # (2)
    cpu: NotRequired[int],
    memory: NotRequired[int],
    memoryReservation: NotRequired[int],
    resourceRequirements: NotRequired[List[ResourceRequirementTypeDef]],  # (3)
  1. See KeyValuePairTypeDef
  2. See EnvironmentFileTypeDef
  3. See ResourceRequirementTypeDef

LogConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import LogConfigurationTypeDef

def get_value() -> LogConfigurationTypeDef:
    return {
        "logDriver": ...,
    }
Definition
class LogConfigurationTypeDef(TypedDict):
    logDriver: LogDriverType,  # (1)
    options: NotRequired[Mapping[str, str]],
    secretOptions: NotRequired[Sequence[SecretTypeDef]],  # (2)
  1. See LogDriverType
  2. See SecretTypeDef

ContainerInstanceHealthStatusTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ContainerInstanceHealthStatusTypeDef

def get_value() -> ContainerInstanceHealthStatusTypeDef:
    return {
        "overallStatus": ...,
    }
Definition
class ContainerInstanceHealthStatusTypeDef(TypedDict):
    overallStatus: NotRequired[InstanceHealthCheckStateType],  # (1)
    details: NotRequired[List[InstanceHealthCheckResultTypeDef]],  # (2)
  1. See InstanceHealthCheckStateType
  2. See InstanceHealthCheckResultTypeDef

ContainerStateChangeTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ContainerStateChangeTypeDef

def get_value() -> ContainerStateChangeTypeDef:
    return {
        "containerName": ...,
    }
Definition
class ContainerStateChangeTypeDef(TypedDict):
    containerName: NotRequired[str],
    imageDigest: NotRequired[str],
    runtimeId: NotRequired[str],
    exitCode: NotRequired[int],
    networkBindings: NotRequired[Sequence[NetworkBindingTypeDef]],  # (1)
    reason: NotRequired[str],
    status: NotRequired[str],
  1. See NetworkBindingTypeDef

SubmitContainerStateChangeRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import SubmitContainerStateChangeRequestRequestTypeDef

def get_value() -> SubmitContainerStateChangeRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
Definition
class SubmitContainerStateChangeRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    task: NotRequired[str],
    containerName: NotRequired[str],
    runtimeId: NotRequired[str],
    status: NotRequired[str],
    exitCode: NotRequired[int],
    reason: NotRequired[str],
    networkBindings: NotRequired[Sequence[NetworkBindingTypeDef]],  # (1)
  1. See NetworkBindingTypeDef

ContainerTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ContainerTypeDef

def get_value() -> ContainerTypeDef:
    return {
        "containerArn": ...,
    }
Definition
class ContainerTypeDef(TypedDict):
    containerArn: NotRequired[str],
    taskArn: NotRequired[str],
    name: NotRequired[str],
    image: NotRequired[str],
    imageDigest: NotRequired[str],
    runtimeId: NotRequired[str],
    lastStatus: NotRequired[str],
    exitCode: NotRequired[int],
    reason: NotRequired[str],
    networkBindings: NotRequired[List[NetworkBindingTypeDef]],  # (1)
    networkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]],  # (2)
    healthStatus: NotRequired[HealthStatusType],  # (3)
    managedAgents: NotRequired[List[ManagedAgentTypeDef]],  # (4)
    cpu: NotRequired[str],
    memory: NotRequired[str],
    memoryReservation: NotRequired[str],
    gpuIds: NotRequired[List[str]],
  1. See NetworkBindingTypeDef
  2. See NetworkInterfaceTypeDef
  3. See HealthStatusType
  4. See ManagedAgentTypeDef

DeleteAttributesResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteAttributesResponseTypeDef

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

DiscoverPollEndpointResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DiscoverPollEndpointResponseTypeDef

def get_value() -> DiscoverPollEndpointResponseTypeDef:
    return {
        "endpoint": ...,
        "telemetryEndpoint": ...,
        "serviceConnectEndpoint": ...,
        "ResponseMetadata": ...,
    }
Definition
class DiscoverPollEndpointResponseTypeDef(TypedDict):
    endpoint: str,
    telemetryEndpoint: str,
    serviceConnectEndpoint: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListAttributesResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListAttributesResponseTypeDef

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

ListClustersResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListClustersResponseTypeDef

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

ListContainerInstancesResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListContainerInstancesResponseTypeDef

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

ListServicesByNamespaceResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListServicesByNamespaceResponseTypeDef

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

ListServicesResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListServicesResponseTypeDef

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

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListTagsForResourceResponseTypeDef

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

ListTaskDefinitionFamiliesResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionFamiliesResponseTypeDef

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

ListTaskDefinitionsResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionsResponseTypeDef

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

ListTasksResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListTasksResponseTypeDef

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

PutAttributesResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PutAttributesResponseTypeDef

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

SubmitAttachmentStateChangesResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import SubmitAttachmentStateChangesResponseTypeDef

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

SubmitContainerStateChangeResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import SubmitContainerStateChangeResponseTypeDef

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

SubmitTaskStateChangeResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import SubmitTaskStateChangeResponseTypeDef

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

UpdateTaskSetRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateTaskSetRequestRequestTypeDef

def get_value() -> UpdateTaskSetRequestRequestTypeDef:
    return {
        "cluster": ...,
        "service": ...,
        "taskSet": ...,
        "scale": ...,
    }
Definition
class UpdateTaskSetRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    taskSet: str,
    scale: ScaleTypeDef,  # (1)
  1. See ScaleTypeDef

DeleteAccountSettingResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteAccountSettingResponseTypeDef

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

ListAccountSettingsResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListAccountSettingsResponseTypeDef

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

PutAccountSettingDefaultResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PutAccountSettingDefaultResponseTypeDef

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

PutAccountSettingResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PutAccountSettingResponseTypeDef

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

DeploymentConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeploymentConfigurationTypeDef

def get_value() -> DeploymentConfigurationTypeDef:
    return {
        "deploymentCircuitBreaker": ...,
    }
Definition
class DeploymentConfigurationTypeDef(TypedDict):
    deploymentCircuitBreaker: NotRequired[DeploymentCircuitBreakerTypeDef],  # (1)
    maximumPercent: NotRequired[int],
    minimumHealthyPercent: NotRequired[int],
    alarms: NotRequired[DeploymentAlarmsTypeDef],  # (2)
  1. See DeploymentCircuitBreakerTypeDef
  2. See DeploymentAlarmsTypeDef

DescribeServicesRequestServicesInactiveWaitTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeServicesRequestServicesInactiveWaitTypeDef

def get_value() -> DescribeServicesRequestServicesInactiveWaitTypeDef:
    return {
        "services": ...,
    }
Definition
class DescribeServicesRequestServicesInactiveWaitTypeDef(TypedDict):
    services: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[ServiceFieldType]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See ServiceFieldType
  2. See WaiterConfigTypeDef

DescribeServicesRequestServicesStableWaitTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeServicesRequestServicesStableWaitTypeDef

def get_value() -> DescribeServicesRequestServicesStableWaitTypeDef:
    return {
        "services": ...,
    }
Definition
class DescribeServicesRequestServicesStableWaitTypeDef(TypedDict):
    services: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[ServiceFieldType]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See ServiceFieldType
  2. See WaiterConfigTypeDef

DescribeTasksRequestTasksRunningWaitTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeTasksRequestTasksRunningWaitTypeDef

def get_value() -> DescribeTasksRequestTasksRunningWaitTypeDef:
    return {
        "tasks": ...,
    }
Definition
class DescribeTasksRequestTasksRunningWaitTypeDef(TypedDict):
    tasks: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[TaskFieldType]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See TaskFieldType
  2. See WaiterConfigTypeDef

DescribeTasksRequestTasksStoppedWaitTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeTasksRequestTasksStoppedWaitTypeDef

def get_value() -> DescribeTasksRequestTasksStoppedWaitTypeDef:
    return {
        "tasks": ...,
    }
Definition
class DescribeTasksRequestTasksStoppedWaitTypeDef(TypedDict):
    tasks: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[TaskFieldType]],  # (1)
    WaiterConfig: NotRequired[WaiterConfigTypeDef],  # (2)
  1. See TaskFieldType
  2. See WaiterConfigTypeDef

EFSVolumeConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import EFSVolumeConfigurationTypeDef

def get_value() -> EFSVolumeConfigurationTypeDef:
    return {
        "fileSystemId": ...,
    }
Definition
class EFSVolumeConfigurationTypeDef(TypedDict):
    fileSystemId: str,
    rootDirectory: NotRequired[str],
    transitEncryption: NotRequired[EFSTransitEncryptionType],  # (1)
    transitEncryptionPort: NotRequired[int],
    authorizationConfig: NotRequired[EFSAuthorizationConfigTypeDef],  # (2)
  1. See EFSTransitEncryptionType
  2. See EFSAuthorizationConfigTypeDef

ExecuteCommandConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ExecuteCommandConfigurationTypeDef

def get_value() -> ExecuteCommandConfigurationTypeDef:
    return {
        "kmsKeyId": ...,
    }
Definition
class ExecuteCommandConfigurationTypeDef(TypedDict):
    kmsKeyId: NotRequired[str],
    logging: NotRequired[ExecuteCommandLoggingType],  # (1)
    logConfiguration: NotRequired[ExecuteCommandLogConfigurationTypeDef],  # (2)
  1. See ExecuteCommandLoggingType
  2. See ExecuteCommandLogConfigurationTypeDef

ExecuteCommandResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ExecuteCommandResponseTypeDef

def get_value() -> ExecuteCommandResponseTypeDef:
    return {
        "clusterArn": ...,
        "containerArn": ...,
        "containerName": ...,
        "interactive": ...,
        "session": ...,
        "taskArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class ExecuteCommandResponseTypeDef(TypedDict):
    clusterArn: str,
    containerArn: str,
    containerName: str,
    interactive: bool,
    session: SessionTypeDef,  # (1)
    taskArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SessionTypeDef
  2. See ResponseMetadataTypeDef

FSxWindowsFileServerVolumeConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import FSxWindowsFileServerVolumeConfigurationTypeDef

def get_value() -> FSxWindowsFileServerVolumeConfigurationTypeDef:
    return {
        "fileSystemId": ...,
        "rootDirectory": ...,
        "authorizationConfig": ...,
    }
Definition
class FSxWindowsFileServerVolumeConfigurationTypeDef(TypedDict):
    fileSystemId: str,
    rootDirectory: str,
    authorizationConfig: FSxWindowsFileServerAuthorizationConfigTypeDef,  # (1)
  1. See FSxWindowsFileServerAuthorizationConfigTypeDef

GetTaskProtectionResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import GetTaskProtectionResponseTypeDef

def get_value() -> GetTaskProtectionResponseTypeDef:
    return {
        "protectedTasks": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetTaskProtectionResponseTypeDef(TypedDict):
    protectedTasks: List[ProtectedTaskTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ProtectedTaskTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

UpdateTaskProtectionResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateTaskProtectionResponseTypeDef

def get_value() -> UpdateTaskProtectionResponseTypeDef:
    return {
        "protectedTasks": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateTaskProtectionResponseTypeDef(TypedDict):
    protectedTasks: List[ProtectedTaskTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ProtectedTaskTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

LinuxParametersTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import LinuxParametersTypeDef

def get_value() -> LinuxParametersTypeDef:
    return {
        "capabilities": ...,
    }
Definition
class LinuxParametersTypeDef(TypedDict):
    capabilities: NotRequired[KernelCapabilitiesTypeDef],  # (1)
    devices: NotRequired[List[DeviceTypeDef]],  # (2)
    initProcessEnabled: NotRequired[bool],
    sharedMemorySize: NotRequired[int],
    tmpfs: NotRequired[List[TmpfsTypeDef]],  # (3)
    maxSwap: NotRequired[int],
    swappiness: NotRequired[int],
  1. See KernelCapabilitiesTypeDef
  2. See DeviceTypeDef
  3. See TmpfsTypeDef

ListAccountSettingsRequestListAccountSettingsPaginateTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListAccountSettingsRequestListAccountSettingsPaginateTypeDef

def get_value() -> ListAccountSettingsRequestListAccountSettingsPaginateTypeDef:
    return {
        "name": ...,
    }
Definition
class ListAccountSettingsRequestListAccountSettingsPaginateTypeDef(TypedDict):
    name: NotRequired[SettingNameType],  # (1)
    value: NotRequired[str],
    principalArn: NotRequired[str],
    effectiveSettings: NotRequired[bool],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See SettingNameType
  2. See PaginatorConfigTypeDef

ListAttributesRequestListAttributesPaginateTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListAttributesRequestListAttributesPaginateTypeDef

def get_value() -> ListAttributesRequestListAttributesPaginateTypeDef:
    return {
        "targetType": ...,
    }
Definition
class ListAttributesRequestListAttributesPaginateTypeDef(TypedDict):
    targetType: TargetTypeType,  # (1)
    cluster: NotRequired[str],
    attributeName: NotRequired[str],
    attributeValue: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TargetTypeType
  2. See PaginatorConfigTypeDef

ListClustersRequestListClustersPaginateTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListClustersRequestListClustersPaginateTypeDef

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

ListContainerInstancesRequestListContainerInstancesPaginateTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListContainerInstancesRequestListContainerInstancesPaginateTypeDef

def get_value() -> ListContainerInstancesRequestListContainerInstancesPaginateTypeDef:
    return {
        "cluster": ...,
    }
Definition
class ListContainerInstancesRequestListContainerInstancesPaginateTypeDef(TypedDict):
    cluster: NotRequired[str],
    filter: NotRequired[str],
    status: NotRequired[ContainerInstanceStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ContainerInstanceStatusType
  2. See PaginatorConfigTypeDef

ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef

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

ListServicesRequestListServicesPaginateTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListServicesRequestListServicesPaginateTypeDef

def get_value() -> ListServicesRequestListServicesPaginateTypeDef:
    return {
        "cluster": ...,
    }
Definition
class ListServicesRequestListServicesPaginateTypeDef(TypedDict):
    cluster: NotRequired[str],
    launchType: NotRequired[LaunchTypeType],  # (1)
    schedulingStrategy: NotRequired[SchedulingStrategyType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See LaunchTypeType
  2. See SchedulingStrategyType
  3. See PaginatorConfigTypeDef

ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef

def get_value() -> ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef:
    return {
        "familyPrefix": ...,
    }
Definition
class ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef(TypedDict):
    familyPrefix: NotRequired[str],
    status: NotRequired[TaskDefinitionFamilyStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TaskDefinitionFamilyStatusType
  2. See PaginatorConfigTypeDef

ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef

def get_value() -> ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef:
    return {
        "familyPrefix": ...,
    }
Definition
class ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef(TypedDict):
    familyPrefix: NotRequired[str],
    status: NotRequired[TaskDefinitionStatusType],  # (1)
    sort: NotRequired[SortOrderType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See TaskDefinitionStatusType
  2. See SortOrderType
  3. See PaginatorConfigTypeDef

ListTasksRequestListTasksPaginateTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ListTasksRequestListTasksPaginateTypeDef

def get_value() -> ListTasksRequestListTasksPaginateTypeDef:
    return {
        "cluster": ...,
    }
Definition
class ListTasksRequestListTasksPaginateTypeDef(TypedDict):
    cluster: NotRequired[str],
    containerInstance: NotRequired[str],
    family: NotRequired[str],
    startedBy: NotRequired[str],
    serviceName: NotRequired[str],
    desiredStatus: NotRequired[DesiredStatusType],  # (1)
    launchType: NotRequired[LaunchTypeType],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See DesiredStatusType
  2. See LaunchTypeType
  3. See PaginatorConfigTypeDef

RegisterContainerInstanceRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import RegisterContainerInstanceRequestRequestTypeDef

def get_value() -> RegisterContainerInstanceRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
Definition
class RegisterContainerInstanceRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    instanceIdentityDocument: NotRequired[str],
    instanceIdentityDocumentSignature: NotRequired[str],
    totalResources: NotRequired[Sequence[ResourceTypeDef]],  # (1)
    versionInfo: NotRequired[VersionInfoTypeDef],  # (2)
    containerInstanceArn: NotRequired[str],
    attributes: NotRequired[Sequence[AttributeTypeDef]],  # (3)
    platformDevices: NotRequired[Sequence[PlatformDeviceTypeDef]],  # (4)
    tags: NotRequired[Sequence[TagTypeDef]],  # (5)
  1. See ResourceTypeDef
  2. See VersionInfoTypeDef
  3. See AttributeTypeDef
  4. See PlatformDeviceTypeDef
  5. See TagTypeDef

ServiceConnectServiceTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ServiceConnectServiceTypeDef

def get_value() -> ServiceConnectServiceTypeDef:
    return {
        "portName": ...,
    }
Definition
class ServiceConnectServiceTypeDef(TypedDict):
    portName: str,
    discoveryName: NotRequired[str],
    clientAliases: NotRequired[Sequence[ServiceConnectClientAliasTypeDef]],  # (1)
    ingressPortOverride: NotRequired[int],
  1. See ServiceConnectClientAliasTypeDef

CapacityProviderTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import CapacityProviderTypeDef

def get_value() -> CapacityProviderTypeDef:
    return {
        "capacityProviderArn": ...,
    }
Definition
class CapacityProviderTypeDef(TypedDict):
    capacityProviderArn: NotRequired[str],
    name: NotRequired[str],
    status: NotRequired[CapacityProviderStatusType],  # (1)
    autoScalingGroupProvider: NotRequired[AutoScalingGroupProviderTypeDef],  # (2)
    updateStatus: NotRequired[CapacityProviderUpdateStatusType],  # (3)
    updateStatusReason: NotRequired[str],
    tags: NotRequired[List[TagTypeDef]],  # (4)
  1. See CapacityProviderStatusType
  2. See AutoScalingGroupProviderTypeDef
  3. See CapacityProviderUpdateStatusType
  4. See TagTypeDef

CreateCapacityProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import CreateCapacityProviderRequestRequestTypeDef

def get_value() -> CreateCapacityProviderRequestRequestTypeDef:
    return {
        "name": ...,
        "autoScalingGroupProvider": ...,
    }
Definition
class CreateCapacityProviderRequestRequestTypeDef(TypedDict):
    name: str,
    autoScalingGroupProvider: AutoScalingGroupProviderTypeDef,  # (1)
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See AutoScalingGroupProviderTypeDef
  2. See TagTypeDef

UpdateCapacityProviderRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateCapacityProviderRequestRequestTypeDef

def get_value() -> UpdateCapacityProviderRequestRequestTypeDef:
    return {
        "name": ...,
        "autoScalingGroupProvider": ...,
    }
Definition
class UpdateCapacityProviderRequestRequestTypeDef(TypedDict):
    name: str,
    autoScalingGroupProvider: AutoScalingGroupProviderUpdateTypeDef,  # (1)
  1. See AutoScalingGroupProviderUpdateTypeDef

CreateTaskSetRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import CreateTaskSetRequestRequestTypeDef

def get_value() -> CreateTaskSetRequestRequestTypeDef:
    return {
        "service": ...,
        "cluster": ...,
        "taskDefinition": ...,
    }
Definition
class CreateTaskSetRequestRequestTypeDef(TypedDict):
    service: str,
    cluster: str,
    taskDefinition: str,
    externalId: NotRequired[str],
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (1)
    loadBalancers: NotRequired[Sequence[LoadBalancerTypeDef]],  # (2)
    serviceRegistries: NotRequired[Sequence[ServiceRegistryTypeDef]],  # (3)
    launchType: NotRequired[LaunchTypeType],  # (4)
    capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]],  # (5)
    platformVersion: NotRequired[str],
    scale: NotRequired[ScaleTypeDef],  # (6)
    clientToken: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (7)
  1. See NetworkConfigurationTypeDef
  2. See LoadBalancerTypeDef
  3. See ServiceRegistryTypeDef
  4. See LaunchTypeType
  5. See CapacityProviderStrategyItemTypeDef
  6. See ScaleTypeDef
  7. See TagTypeDef

TaskSetTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import TaskSetTypeDef

def get_value() -> TaskSetTypeDef:
    return {
        "id": ...,
    }
Definition
class TaskSetTypeDef(TypedDict):
    id: NotRequired[str],
    taskSetArn: NotRequired[str],
    serviceArn: NotRequired[str],
    clusterArn: NotRequired[str],
    startedBy: NotRequired[str],
    externalId: NotRequired[str],
    status: NotRequired[str],
    taskDefinition: NotRequired[str],
    computedDesiredCount: NotRequired[int],
    pendingCount: NotRequired[int],
    runningCount: NotRequired[int],
    createdAt: NotRequired[datetime],
    updatedAt: NotRequired[datetime],
    launchType: NotRequired[LaunchTypeType],  # (1)
    capacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]],  # (2)
    platformVersion: NotRequired[str],
    platformFamily: NotRequired[str],
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (3)
    loadBalancers: NotRequired[List[LoadBalancerTypeDef]],  # (4)
    serviceRegistries: NotRequired[List[ServiceRegistryTypeDef]],  # (5)
    scale: NotRequired[ScaleTypeDef],  # (6)
    stabilityStatus: NotRequired[StabilityStatusType],  # (7)
    stabilityStatusAt: NotRequired[datetime],
    tags: NotRequired[List[TagTypeDef]],  # (8)
  1. See LaunchTypeType
  2. See CapacityProviderStrategyItemTypeDef
  3. See NetworkConfigurationTypeDef
  4. See LoadBalancerTypeDef
  5. See ServiceRegistryTypeDef
  6. See ScaleTypeDef
  7. See StabilityStatusType
  8. See TagTypeDef

TaskOverrideTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import TaskOverrideTypeDef

def get_value() -> TaskOverrideTypeDef:
    return {
        "containerOverrides": ...,
    }
Definition
class TaskOverrideTypeDef(TypedDict):
    containerOverrides: NotRequired[List[ContainerOverrideTypeDef]],  # (1)
    cpu: NotRequired[str],
    inferenceAcceleratorOverrides: NotRequired[List[InferenceAcceleratorOverrideTypeDef]],  # (2)
    executionRoleArn: NotRequired[str],
    memory: NotRequired[str],
    taskRoleArn: NotRequired[str],
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (3)
  1. See ContainerOverrideTypeDef
  2. See InferenceAcceleratorOverrideTypeDef
  3. See EphemeralStorageTypeDef

ContainerInstanceTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ContainerInstanceTypeDef

def get_value() -> ContainerInstanceTypeDef:
    return {
        "containerInstanceArn": ...,
    }
Definition
class ContainerInstanceTypeDef(TypedDict):
    containerInstanceArn: NotRequired[str],
    ec2InstanceId: NotRequired[str],
    capacityProviderName: NotRequired[str],
    version: NotRequired[int],
    versionInfo: NotRequired[VersionInfoTypeDef],  # (1)
    remainingResources: NotRequired[List[ResourceTypeDef]],  # (2)
    registeredResources: NotRequired[List[ResourceTypeDef]],  # (2)
    status: NotRequired[str],
    statusReason: NotRequired[str],
    agentConnected: NotRequired[bool],
    runningTasksCount: NotRequired[int],
    pendingTasksCount: NotRequired[int],
    agentUpdateStatus: NotRequired[AgentUpdateStatusType],  # (4)
    attributes: NotRequired[List[AttributeTypeDef]],  # (5)
    registeredAt: NotRequired[datetime],
    attachments: NotRequired[List[AttachmentTypeDef]],  # (6)
    tags: NotRequired[List[TagTypeDef]],  # (7)
    healthStatus: NotRequired[ContainerInstanceHealthStatusTypeDef],  # (8)
  1. See VersionInfoTypeDef
  2. See ResourceTypeDef
  3. See ResourceTypeDef
  4. See AgentUpdateStatusType
  5. See AttributeTypeDef
  6. See AttachmentTypeDef
  7. See TagTypeDef
  8. See ContainerInstanceHealthStatusTypeDef

SubmitTaskStateChangeRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import SubmitTaskStateChangeRequestRequestTypeDef

def get_value() -> SubmitTaskStateChangeRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
Definition
class SubmitTaskStateChangeRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    task: NotRequired[str],
    status: NotRequired[str],
    reason: NotRequired[str],
    containers: NotRequired[Sequence[ContainerStateChangeTypeDef]],  # (1)
    attachments: NotRequired[Sequence[AttachmentStateChangeTypeDef]],  # (2)
    managedAgents: NotRequired[Sequence[ManagedAgentStateChangeTypeDef]],  # (3)
    pullStartedAt: NotRequired[Union[datetime, str]],
    pullStoppedAt: NotRequired[Union[datetime, str]],
    executionStoppedAt: NotRequired[Union[datetime, str]],
  1. See ContainerStateChangeTypeDef
  2. See AttachmentStateChangeTypeDef
  3. See ManagedAgentStateChangeTypeDef

ClusterConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ClusterConfigurationTypeDef

def get_value() -> ClusterConfigurationTypeDef:
    return {
        "executeCommandConfiguration": ...,
    }
Definition
class ClusterConfigurationTypeDef(TypedDict):
    executeCommandConfiguration: NotRequired[ExecuteCommandConfigurationTypeDef],  # (1)
  1. See ExecuteCommandConfigurationTypeDef

VolumeTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import VolumeTypeDef

def get_value() -> VolumeTypeDef:
    return {
        "name": ...,
    }
Definition
class VolumeTypeDef(TypedDict):
    name: NotRequired[str],
    host: NotRequired[HostVolumePropertiesTypeDef],  # (1)
    dockerVolumeConfiguration: NotRequired[DockerVolumeConfigurationTypeDef],  # (2)
    efsVolumeConfiguration: NotRequired[EFSVolumeConfigurationTypeDef],  # (3)
    fsxWindowsFileServerVolumeConfiguration: NotRequired[FSxWindowsFileServerVolumeConfigurationTypeDef],  # (4)
  1. See HostVolumePropertiesTypeDef
  2. See DockerVolumeConfigurationTypeDef
  3. See EFSVolumeConfigurationTypeDef
  4. See FSxWindowsFileServerVolumeConfigurationTypeDef

ContainerDefinitionTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ContainerDefinitionTypeDef

def get_value() -> ContainerDefinitionTypeDef:
    return {
        "name": ...,
    }
Definition
class ContainerDefinitionTypeDef(TypedDict):
    name: NotRequired[str],
    image: NotRequired[str],
    repositoryCredentials: NotRequired[RepositoryCredentialsTypeDef],  # (1)
    cpu: NotRequired[int],
    memory: NotRequired[int],
    memoryReservation: NotRequired[int],
    links: NotRequired[List[str]],
    portMappings: NotRequired[List[PortMappingTypeDef]],  # (2)
    essential: NotRequired[bool],
    entryPoint: NotRequired[List[str]],
    command: NotRequired[List[str]],
    environment: NotRequired[List[KeyValuePairTypeDef]],  # (3)
    environmentFiles: NotRequired[List[EnvironmentFileTypeDef]],  # (4)
    mountPoints: NotRequired[List[MountPointTypeDef]],  # (5)
    volumesFrom: NotRequired[List[VolumeFromTypeDef]],  # (6)
    linuxParameters: NotRequired[LinuxParametersTypeDef],  # (7)
    secrets: NotRequired[List[SecretTypeDef]],  # (8)
    dependsOn: NotRequired[List[ContainerDependencyTypeDef]],  # (9)
    startTimeout: NotRequired[int],
    stopTimeout: NotRequired[int],
    hostname: NotRequired[str],
    user: NotRequired[str],
    workingDirectory: NotRequired[str],
    disableNetworking: NotRequired[bool],
    privileged: NotRequired[bool],
    readonlyRootFilesystem: NotRequired[bool],
    dnsServers: NotRequired[List[str]],
    dnsSearchDomains: NotRequired[List[str]],
    extraHosts: NotRequired[List[HostEntryTypeDef]],  # (10)
    dockerSecurityOptions: NotRequired[List[str]],
    interactive: NotRequired[bool],
    pseudoTerminal: NotRequired[bool],
    dockerLabels: NotRequired[Dict[str, str]],
    ulimits: NotRequired[List[UlimitTypeDef]],  # (11)
    logConfiguration: NotRequired[LogConfigurationTypeDef],  # (12)
    healthCheck: NotRequired[HealthCheckTypeDef],  # (13)
    systemControls: NotRequired[List[SystemControlTypeDef]],  # (14)
    resourceRequirements: NotRequired[List[ResourceRequirementTypeDef]],  # (15)
    firelensConfiguration: NotRequired[FirelensConfigurationTypeDef],  # (16)
  1. See RepositoryCredentialsTypeDef
  2. See PortMappingTypeDef
  3. See KeyValuePairTypeDef
  4. See EnvironmentFileTypeDef
  5. See MountPointTypeDef
  6. See VolumeFromTypeDef
  7. See LinuxParametersTypeDef
  8. See SecretTypeDef
  9. See ContainerDependencyTypeDef
  10. See HostEntryTypeDef
  11. See UlimitTypeDef
  12. See LogConfigurationTypeDef
  13. See HealthCheckTypeDef
  14. See SystemControlTypeDef
  15. See ResourceRequirementTypeDef
  16. See FirelensConfigurationTypeDef

ServiceConnectConfigurationTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ServiceConnectConfigurationTypeDef

def get_value() -> ServiceConnectConfigurationTypeDef:
    return {
        "enabled": ...,
    }
Definition
class ServiceConnectConfigurationTypeDef(TypedDict):
    enabled: bool,
    namespace: NotRequired[str],
    services: NotRequired[Sequence[ServiceConnectServiceTypeDef]],  # (1)
    logConfiguration: NotRequired[LogConfigurationTypeDef],  # (2)
  1. See ServiceConnectServiceTypeDef
  2. See LogConfigurationTypeDef

CreateCapacityProviderResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import CreateCapacityProviderResponseTypeDef

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

DeleteCapacityProviderResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteCapacityProviderResponseTypeDef

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

DescribeCapacityProvidersResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeCapacityProvidersResponseTypeDef

def get_value() -> DescribeCapacityProvidersResponseTypeDef:
    return {
        "capacityProviders": ...,
        "failures": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeCapacityProvidersResponseTypeDef(TypedDict):
    capacityProviders: List[CapacityProviderTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See CapacityProviderTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

UpdateCapacityProviderResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateCapacityProviderResponseTypeDef

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

CreateTaskSetResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import CreateTaskSetResponseTypeDef

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

DeleteTaskSetResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteTaskSetResponseTypeDef

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

DescribeTaskSetsResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeTaskSetsResponseTypeDef

def get_value() -> DescribeTaskSetsResponseTypeDef:
    return {
        "taskSets": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTaskSetsResponseTypeDef(TypedDict):
    taskSets: List[TaskSetTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskSetTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

UpdateServicePrimaryTaskSetResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateServicePrimaryTaskSetResponseTypeDef

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

UpdateTaskSetResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateTaskSetResponseTypeDef

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

RunTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import RunTaskRequestRequestTypeDef

def get_value() -> RunTaskRequestRequestTypeDef:
    return {
        "taskDefinition": ...,
    }
Definition
class RunTaskRequestRequestTypeDef(TypedDict):
    taskDefinition: str,
    capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]],  # (1)
    cluster: NotRequired[str],
    count: NotRequired[int],
    enableECSManagedTags: NotRequired[bool],
    enableExecuteCommand: NotRequired[bool],
    group: NotRequired[str],
    launchType: NotRequired[LaunchTypeType],  # (2)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (3)
    overrides: NotRequired[TaskOverrideTypeDef],  # (4)
    placementConstraints: NotRequired[Sequence[PlacementConstraintTypeDef]],  # (5)
    placementStrategy: NotRequired[Sequence[PlacementStrategyTypeDef]],  # (6)
    platformVersion: NotRequired[str],
    propagateTags: NotRequired[PropagateTagsType],  # (7)
    referenceId: NotRequired[str],
    startedBy: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (8)
  1. See CapacityProviderStrategyItemTypeDef
  2. See LaunchTypeType
  3. See NetworkConfigurationTypeDef
  4. See TaskOverrideTypeDef
  5. See PlacementConstraintTypeDef
  6. See PlacementStrategyTypeDef
  7. See PropagateTagsType
  8. See TagTypeDef

StartTaskRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import StartTaskRequestRequestTypeDef

def get_value() -> StartTaskRequestRequestTypeDef:
    return {
        "containerInstances": ...,
        "taskDefinition": ...,
    }
Definition
class StartTaskRequestRequestTypeDef(TypedDict):
    containerInstances: Sequence[str],
    taskDefinition: str,
    cluster: NotRequired[str],
    enableECSManagedTags: NotRequired[bool],
    enableExecuteCommand: NotRequired[bool],
    group: NotRequired[str],
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (1)
    overrides: NotRequired[TaskOverrideTypeDef],  # (2)
    propagateTags: NotRequired[PropagateTagsType],  # (3)
    referenceId: NotRequired[str],
    startedBy: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (4)
  1. See NetworkConfigurationTypeDef
  2. See TaskOverrideTypeDef
  3. See PropagateTagsType
  4. See TagTypeDef

TaskTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import TaskTypeDef

def get_value() -> TaskTypeDef:
    return {
        "attachments": ...,
    }
Definition
class TaskTypeDef(TypedDict):
    attachments: NotRequired[List[AttachmentTypeDef]],  # (1)
    attributes: NotRequired[List[AttributeTypeDef]],  # (2)
    availabilityZone: NotRequired[str],
    capacityProviderName: NotRequired[str],
    clusterArn: NotRequired[str],
    connectivity: NotRequired[ConnectivityType],  # (3)
    connectivityAt: NotRequired[datetime],
    containerInstanceArn: NotRequired[str],
    containers: NotRequired[List[ContainerTypeDef]],  # (4)
    cpu: NotRequired[str],
    createdAt: NotRequired[datetime],
    desiredStatus: NotRequired[str],
    enableExecuteCommand: NotRequired[bool],
    executionStoppedAt: NotRequired[datetime],
    group: NotRequired[str],
    healthStatus: NotRequired[HealthStatusType],  # (5)
    inferenceAccelerators: NotRequired[List[InferenceAcceleratorTypeDef]],  # (6)
    lastStatus: NotRequired[str],
    launchType: NotRequired[LaunchTypeType],  # (7)
    memory: NotRequired[str],
    overrides: NotRequired[TaskOverrideTypeDef],  # (8)
    platformVersion: NotRequired[str],
    platformFamily: NotRequired[str],
    pullStartedAt: NotRequired[datetime],
    pullStoppedAt: NotRequired[datetime],
    startedAt: NotRequired[datetime],
    startedBy: NotRequired[str],
    stopCode: NotRequired[TaskStopCodeType],  # (9)
    stoppedAt: NotRequired[datetime],
    stoppedReason: NotRequired[str],
    stoppingAt: NotRequired[datetime],
    tags: NotRequired[List[TagTypeDef]],  # (10)
    taskArn: NotRequired[str],
    taskDefinitionArn: NotRequired[str],
    version: NotRequired[int],
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (11)
  1. See AttachmentTypeDef
  2. See AttributeTypeDef
  3. See ConnectivityType
  4. See ContainerTypeDef
  5. See HealthStatusType
  6. See InferenceAcceleratorTypeDef
  7. See LaunchTypeType
  8. See TaskOverrideTypeDef
  9. See TaskStopCodeType
  10. See TagTypeDef
  11. See EphemeralStorageTypeDef

DeregisterContainerInstanceResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeregisterContainerInstanceResponseTypeDef

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

DescribeContainerInstancesResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeContainerInstancesResponseTypeDef

def get_value() -> DescribeContainerInstancesResponseTypeDef:
    return {
        "containerInstances": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeContainerInstancesResponseTypeDef(TypedDict):
    containerInstances: List[ContainerInstanceTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ContainerInstanceTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

RegisterContainerInstanceResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import RegisterContainerInstanceResponseTypeDef

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

UpdateContainerAgentResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateContainerAgentResponseTypeDef

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

UpdateContainerInstancesStateResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateContainerInstancesStateResponseTypeDef

def get_value() -> UpdateContainerInstancesStateResponseTypeDef:
    return {
        "containerInstances": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class UpdateContainerInstancesStateResponseTypeDef(TypedDict):
    containerInstances: List[ContainerInstanceTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ContainerInstanceTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

ClusterTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ClusterTypeDef

def get_value() -> ClusterTypeDef:
    return {
        "clusterArn": ...,
    }
Definition
class ClusterTypeDef(TypedDict):
    clusterArn: NotRequired[str],
    clusterName: NotRequired[str],
    configuration: NotRequired[ClusterConfigurationTypeDef],  # (1)
    status: NotRequired[str],
    registeredContainerInstancesCount: NotRequired[int],
    runningTasksCount: NotRequired[int],
    pendingTasksCount: NotRequired[int],
    activeServicesCount: NotRequired[int],
    statistics: NotRequired[List[KeyValuePairTypeDef]],  # (2)
    tags: NotRequired[List[TagTypeDef]],  # (3)
    settings: NotRequired[List[ClusterSettingTypeDef]],  # (4)
    capacityProviders: NotRequired[List[str]],
    defaultCapacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]],  # (5)
    attachments: NotRequired[List[AttachmentTypeDef]],  # (6)
    attachmentsStatus: NotRequired[str],
    serviceConnectDefaults: NotRequired[ClusterServiceConnectDefaultsTypeDef],  # (7)
  1. See ClusterConfigurationTypeDef
  2. See KeyValuePairTypeDef
  3. See TagTypeDef
  4. See ClusterSettingTypeDef
  5. See CapacityProviderStrategyItemTypeDef
  6. See AttachmentTypeDef
  7. See ClusterServiceConnectDefaultsTypeDef

CreateClusterRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import CreateClusterRequestRequestTypeDef

def get_value() -> CreateClusterRequestRequestTypeDef:
    return {
        "clusterName": ...,
    }
Definition
class CreateClusterRequestRequestTypeDef(TypedDict):
    clusterName: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (1)
    settings: NotRequired[Sequence[ClusterSettingTypeDef]],  # (2)
    configuration: NotRequired[ClusterConfigurationTypeDef],  # (3)
    capacityProviders: NotRequired[Sequence[str]],
    defaultCapacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]],  # (4)
    serviceConnectDefaults: NotRequired[ClusterServiceConnectDefaultsRequestTypeDef],  # (5)
  1. See TagTypeDef
  2. See ClusterSettingTypeDef
  3. See ClusterConfigurationTypeDef
  4. See CapacityProviderStrategyItemTypeDef
  5. See ClusterServiceConnectDefaultsRequestTypeDef

UpdateClusterRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateClusterRequestRequestTypeDef

def get_value() -> UpdateClusterRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
Definition
class UpdateClusterRequestRequestTypeDef(TypedDict):
    cluster: str,
    settings: NotRequired[Sequence[ClusterSettingTypeDef]],  # (1)
    configuration: NotRequired[ClusterConfigurationTypeDef],  # (2)
    serviceConnectDefaults: NotRequired[ClusterServiceConnectDefaultsRequestTypeDef],  # (3)
  1. See ClusterSettingTypeDef
  2. See ClusterConfigurationTypeDef
  3. See ClusterServiceConnectDefaultsRequestTypeDef

RegisterTaskDefinitionRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import RegisterTaskDefinitionRequestRequestTypeDef

def get_value() -> RegisterTaskDefinitionRequestRequestTypeDef:
    return {
        "family": ...,
        "containerDefinitions": ...,
    }
Definition
class RegisterTaskDefinitionRequestRequestTypeDef(TypedDict):
    family: str,
    containerDefinitions: Sequence[ContainerDefinitionTypeDef],  # (1)
    taskRoleArn: NotRequired[str],
    executionRoleArn: NotRequired[str],
    networkMode: NotRequired[NetworkModeType],  # (2)
    volumes: NotRequired[Sequence[VolumeTypeDef]],  # (3)
    placementConstraints: NotRequired[Sequence[TaskDefinitionPlacementConstraintTypeDef]],  # (4)
    requiresCompatibilities: NotRequired[Sequence[CompatibilityType]],  # (5)
    cpu: NotRequired[str],
    memory: NotRequired[str],
    tags: NotRequired[Sequence[TagTypeDef]],  # (6)
    pidMode: NotRequired[PidModeType],  # (7)
    ipcMode: NotRequired[IpcModeType],  # (8)
    proxyConfiguration: NotRequired[ProxyConfigurationTypeDef],  # (9)
    inferenceAccelerators: NotRequired[Sequence[InferenceAcceleratorTypeDef]],  # (10)
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (11)
    runtimePlatform: NotRequired[RuntimePlatformTypeDef],  # (12)
  1. See ContainerDefinitionTypeDef
  2. See NetworkModeType
  3. See VolumeTypeDef
  4. See TaskDefinitionPlacementConstraintTypeDef
  5. See CompatibilityType
  6. See TagTypeDef
  7. See PidModeType
  8. See IpcModeType
  9. See ProxyConfigurationTypeDef
  10. See InferenceAcceleratorTypeDef
  11. See EphemeralStorageTypeDef
  12. See RuntimePlatformTypeDef

TaskDefinitionTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import TaskDefinitionTypeDef

def get_value() -> TaskDefinitionTypeDef:
    return {
        "taskDefinitionArn": ...,
    }
Definition
class TaskDefinitionTypeDef(TypedDict):
    taskDefinitionArn: NotRequired[str],
    containerDefinitions: NotRequired[List[ContainerDefinitionTypeDef]],  # (1)
    family: NotRequired[str],
    taskRoleArn: NotRequired[str],
    executionRoleArn: NotRequired[str],
    networkMode: NotRequired[NetworkModeType],  # (2)
    revision: NotRequired[int],
    volumes: NotRequired[List[VolumeTypeDef]],  # (3)
    status: NotRequired[TaskDefinitionStatusType],  # (4)
    requiresAttributes: NotRequired[List[AttributeTypeDef]],  # (5)
    placementConstraints: NotRequired[List[TaskDefinitionPlacementConstraintTypeDef]],  # (6)
    compatibilities: NotRequired[List[CompatibilityType]],  # (7)
    runtimePlatform: NotRequired[RuntimePlatformTypeDef],  # (8)
    requiresCompatibilities: NotRequired[List[CompatibilityType]],  # (7)
    cpu: NotRequired[str],
    memory: NotRequired[str],
    inferenceAccelerators: NotRequired[List[InferenceAcceleratorTypeDef]],  # (10)
    pidMode: NotRequired[PidModeType],  # (11)
    ipcMode: NotRequired[IpcModeType],  # (12)
    proxyConfiguration: NotRequired[ProxyConfigurationTypeDef],  # (13)
    registeredAt: NotRequired[datetime],
    deregisteredAt: NotRequired[datetime],
    registeredBy: NotRequired[str],
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (14)
  1. See ContainerDefinitionTypeDef
  2. See NetworkModeType
  3. See VolumeTypeDef
  4. See TaskDefinitionStatusType
  5. See AttributeTypeDef
  6. See TaskDefinitionPlacementConstraintTypeDef
  7. See CompatibilityType
  8. See RuntimePlatformTypeDef
  9. See CompatibilityType
  10. See InferenceAcceleratorTypeDef
  11. See PidModeType
  12. See IpcModeType
  13. See ProxyConfigurationTypeDef
  14. See EphemeralStorageTypeDef

CreateServiceRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import CreateServiceRequestRequestTypeDef

def get_value() -> CreateServiceRequestRequestTypeDef:
    return {
        "serviceName": ...,
    }
Definition
class CreateServiceRequestRequestTypeDef(TypedDict):
    serviceName: str,
    cluster: NotRequired[str],
    taskDefinition: NotRequired[str],
    loadBalancers: NotRequired[Sequence[LoadBalancerTypeDef]],  # (1)
    serviceRegistries: NotRequired[Sequence[ServiceRegistryTypeDef]],  # (2)
    desiredCount: NotRequired[int],
    clientToken: NotRequired[str],
    launchType: NotRequired[LaunchTypeType],  # (3)
    capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]],  # (4)
    platformVersion: NotRequired[str],
    role: NotRequired[str],
    deploymentConfiguration: NotRequired[DeploymentConfigurationTypeDef],  # (5)
    placementConstraints: NotRequired[Sequence[PlacementConstraintTypeDef]],  # (6)
    placementStrategy: NotRequired[Sequence[PlacementStrategyTypeDef]],  # (7)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (8)
    healthCheckGracePeriodSeconds: NotRequired[int],
    schedulingStrategy: NotRequired[SchedulingStrategyType],  # (9)
    deploymentController: NotRequired[DeploymentControllerTypeDef],  # (10)
    tags: NotRequired[Sequence[TagTypeDef]],  # (11)
    enableECSManagedTags: NotRequired[bool],
    propagateTags: NotRequired[PropagateTagsType],  # (12)
    enableExecuteCommand: NotRequired[bool],
    serviceConnectConfiguration: NotRequired[ServiceConnectConfigurationTypeDef],  # (13)
  1. See LoadBalancerTypeDef
  2. See ServiceRegistryTypeDef
  3. See LaunchTypeType
  4. See CapacityProviderStrategyItemTypeDef
  5. See DeploymentConfigurationTypeDef
  6. See PlacementConstraintTypeDef
  7. See PlacementStrategyTypeDef
  8. See NetworkConfigurationTypeDef
  9. See SchedulingStrategyType
  10. See DeploymentControllerTypeDef
  11. See TagTypeDef
  12. See PropagateTagsType
  13. See ServiceConnectConfigurationTypeDef

DeploymentTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeploymentTypeDef

def get_value() -> DeploymentTypeDef:
    return {
        "id": ...,
    }
Definition
class DeploymentTypeDef(TypedDict):
    id: NotRequired[str],
    status: NotRequired[str],
    taskDefinition: NotRequired[str],
    desiredCount: NotRequired[int],
    pendingCount: NotRequired[int],
    runningCount: NotRequired[int],
    failedTasks: NotRequired[int],
    createdAt: NotRequired[datetime],
    updatedAt: NotRequired[datetime],
    capacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]],  # (1)
    launchType: NotRequired[LaunchTypeType],  # (2)
    platformVersion: NotRequired[str],
    platformFamily: NotRequired[str],
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (3)
    rolloutState: NotRequired[DeploymentRolloutStateType],  # (4)
    rolloutStateReason: NotRequired[str],
    serviceConnectConfiguration: NotRequired[ServiceConnectConfigurationTypeDef],  # (5)
    serviceConnectResources: NotRequired[List[ServiceConnectServiceResourceTypeDef]],  # (6)
  1. See CapacityProviderStrategyItemTypeDef
  2. See LaunchTypeType
  3. See NetworkConfigurationTypeDef
  4. See DeploymentRolloutStateType
  5. See ServiceConnectConfigurationTypeDef
  6. See ServiceConnectServiceResourceTypeDef

UpdateServiceRequestRequestTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateServiceRequestRequestTypeDef

def get_value() -> UpdateServiceRequestRequestTypeDef:
    return {
        "service": ...,
    }
Definition
class UpdateServiceRequestRequestTypeDef(TypedDict):
    service: str,
    cluster: NotRequired[str],
    desiredCount: NotRequired[int],
    taskDefinition: NotRequired[str],
    capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]],  # (1)
    deploymentConfiguration: NotRequired[DeploymentConfigurationTypeDef],  # (2)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (3)
    placementConstraints: NotRequired[Sequence[PlacementConstraintTypeDef]],  # (4)
    placementStrategy: NotRequired[Sequence[PlacementStrategyTypeDef]],  # (5)
    platformVersion: NotRequired[str],
    forceNewDeployment: NotRequired[bool],
    healthCheckGracePeriodSeconds: NotRequired[int],
    enableExecuteCommand: NotRequired[bool],
    enableECSManagedTags: NotRequired[bool],
    loadBalancers: NotRequired[Sequence[LoadBalancerTypeDef]],  # (6)
    propagateTags: NotRequired[PropagateTagsType],  # (7)
    serviceRegistries: NotRequired[Sequence[ServiceRegistryTypeDef]],  # (8)
    serviceConnectConfiguration: NotRequired[ServiceConnectConfigurationTypeDef],  # (9)
  1. See CapacityProviderStrategyItemTypeDef
  2. See DeploymentConfigurationTypeDef
  3. See NetworkConfigurationTypeDef
  4. See PlacementConstraintTypeDef
  5. See PlacementStrategyTypeDef
  6. See LoadBalancerTypeDef
  7. See PropagateTagsType
  8. See ServiceRegistryTypeDef
  9. See ServiceConnectConfigurationTypeDef

DescribeTasksResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeTasksResponseTypeDef

def get_value() -> DescribeTasksResponseTypeDef:
    return {
        "tasks": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTasksResponseTypeDef(TypedDict):
    tasks: List[TaskTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

RunTaskResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import RunTaskResponseTypeDef

def get_value() -> RunTaskResponseTypeDef:
    return {
        "tasks": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class RunTaskResponseTypeDef(TypedDict):
    tasks: List[TaskTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

StartTaskResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import StartTaskResponseTypeDef

def get_value() -> StartTaskResponseTypeDef:
    return {
        "tasks": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartTaskResponseTypeDef(TypedDict):
    tasks: List[TaskTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

StopTaskResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import StopTaskResponseTypeDef

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

CreateClusterResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import CreateClusterResponseTypeDef

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

DeleteClusterResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteClusterResponseTypeDef

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

DescribeClustersResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeClustersResponseTypeDef

def get_value() -> DescribeClustersResponseTypeDef:
    return {
        "clusters": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeClustersResponseTypeDef(TypedDict):
    clusters: List[ClusterTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ClusterTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

PutClusterCapacityProvidersResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import PutClusterCapacityProvidersResponseTypeDef

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

UpdateClusterResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateClusterResponseTypeDef

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

UpdateClusterSettingsResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateClusterSettingsResponseTypeDef

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

DeleteTaskDefinitionsResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteTaskDefinitionsResponseTypeDef

def get_value() -> DeleteTaskDefinitionsResponseTypeDef:
    return {
        "taskDefinitions": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class DeleteTaskDefinitionsResponseTypeDef(TypedDict):
    taskDefinitions: List[TaskDefinitionTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskDefinitionTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

DeregisterTaskDefinitionResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeregisterTaskDefinitionResponseTypeDef

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

DescribeTaskDefinitionResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeTaskDefinitionResponseTypeDef

def get_value() -> DescribeTaskDefinitionResponseTypeDef:
    return {
        "taskDefinition": ...,
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeTaskDefinitionResponseTypeDef(TypedDict):
    taskDefinition: TaskDefinitionTypeDef,  # (1)
    tags: List[TagTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskDefinitionTypeDef
  2. See TagTypeDef
  3. See ResponseMetadataTypeDef

RegisterTaskDefinitionResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import RegisterTaskDefinitionResponseTypeDef

def get_value() -> RegisterTaskDefinitionResponseTypeDef:
    return {
        "taskDefinition": ...,
        "tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class RegisterTaskDefinitionResponseTypeDef(TypedDict):
    taskDefinition: TaskDefinitionTypeDef,  # (1)
    tags: List[TagTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See TaskDefinitionTypeDef
  2. See TagTypeDef
  3. See ResponseMetadataTypeDef

ServiceTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import ServiceTypeDef

def get_value() -> ServiceTypeDef:
    return {
        "serviceArn": ...,
    }
Definition
class ServiceTypeDef(TypedDict):
    serviceArn: NotRequired[str],
    serviceName: NotRequired[str],
    clusterArn: NotRequired[str],
    loadBalancers: NotRequired[List[LoadBalancerTypeDef]],  # (1)
    serviceRegistries: NotRequired[List[ServiceRegistryTypeDef]],  # (2)
    status: NotRequired[str],
    desiredCount: NotRequired[int],
    runningCount: NotRequired[int],
    pendingCount: NotRequired[int],
    launchType: NotRequired[LaunchTypeType],  # (3)
    capacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]],  # (4)
    platformVersion: NotRequired[str],
    platformFamily: NotRequired[str],
    taskDefinition: NotRequired[str],
    deploymentConfiguration: NotRequired[DeploymentConfigurationTypeDef],  # (5)
    taskSets: NotRequired[List[TaskSetTypeDef]],  # (6)
    deployments: NotRequired[List[DeploymentTypeDef]],  # (7)
    roleArn: NotRequired[str],
    events: NotRequired[List[ServiceEventTypeDef]],  # (8)
    createdAt: NotRequired[datetime],
    placementConstraints: NotRequired[List[PlacementConstraintTypeDef]],  # (9)
    placementStrategy: NotRequired[List[PlacementStrategyTypeDef]],  # (10)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (11)
    healthCheckGracePeriodSeconds: NotRequired[int],
    schedulingStrategy: NotRequired[SchedulingStrategyType],  # (12)
    deploymentController: NotRequired[DeploymentControllerTypeDef],  # (13)
    tags: NotRequired[List[TagTypeDef]],  # (14)
    createdBy: NotRequired[str],
    enableECSManagedTags: NotRequired[bool],
    propagateTags: NotRequired[PropagateTagsType],  # (15)
    enableExecuteCommand: NotRequired[bool],
  1. See LoadBalancerTypeDef
  2. See ServiceRegistryTypeDef
  3. See LaunchTypeType
  4. See CapacityProviderStrategyItemTypeDef
  5. See DeploymentConfigurationTypeDef
  6. See TaskSetTypeDef
  7. See DeploymentTypeDef
  8. See ServiceEventTypeDef
  9. See PlacementConstraintTypeDef
  10. See PlacementStrategyTypeDef
  11. See NetworkConfigurationTypeDef
  12. See SchedulingStrategyType
  13. See DeploymentControllerTypeDef
  14. See TagTypeDef
  15. See PropagateTagsType

CreateServiceResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import CreateServiceResponseTypeDef

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

DeleteServiceResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DeleteServiceResponseTypeDef

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

DescribeServicesResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import DescribeServicesResponseTypeDef

def get_value() -> DescribeServicesResponseTypeDef:
    return {
        "services": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeServicesResponseTypeDef(TypedDict):
    services: List[ServiceTypeDef],  # (1)
    failures: List[FailureTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ServiceTypeDef
  2. See FailureTypeDef
  3. See ResponseMetadataTypeDef

UpdateServiceResponseTypeDef

Usage Example
from mypy_boto3_ecs.type_defs import UpdateServiceResponseTypeDef

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