Skip to content

Typed dictionaries#

Index > ECS > Typed dictionaries

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

AttachmentStateChangeTypeDef#

# AttachmentStateChangeTypeDef usage example

from mypy_boto3_ecs.type_defs import AttachmentStateChangeTypeDef

def get_value() -> AttachmentStateChangeTypeDef:
    return {
        "attachmentArn": ...,
        "status": ...,
    }
# AttachmentStateChangeTypeDef definition

class AttachmentStateChangeTypeDef(TypedDict):
    attachmentArn: str,
    status: str,

KeyValuePairTypeDef#

# KeyValuePairTypeDef usage example

from mypy_boto3_ecs.type_defs import KeyValuePairTypeDef

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

class KeyValuePairTypeDef(TypedDict):
    name: NotRequired[str],
    value: NotRequired[str],

AttributeTypeDef#

# AttributeTypeDef usage example

from mypy_boto3_ecs.type_defs import AttributeTypeDef

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

class AttributeTypeDef(TypedDict):
    name: str,
    value: NotRequired[str],
    targetType: NotRequired[TargetTypeType],  # (1)
    targetId: NotRequired[str],
  1. See TargetTypeType

ManagedScalingTypeDef#

# ManagedScalingTypeDef usage example

from mypy_boto3_ecs.type_defs import ManagedScalingTypeDef

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

class ManagedScalingTypeDef(TypedDict):
    status: NotRequired[ManagedScalingStatusType],  # (1)
    targetCapacity: NotRequired[int],
    minimumScalingStepSize: NotRequired[int],
    maximumScalingStepSize: NotRequired[int],
    instanceWarmupPeriod: NotRequired[int],
  1. See ManagedScalingStatusType

AwsVpcConfigurationTypeDef#

# AwsVpcConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import AwsVpcConfigurationTypeDef

def get_value() -> AwsVpcConfigurationTypeDef:
    return {
        "subnets": ...,
    }
# AwsVpcConfigurationTypeDef definition

class AwsVpcConfigurationTypeDef(TypedDict):
    subnets: Sequence[str],
    securityGroups: NotRequired[Sequence[str]],
    assignPublicIp: NotRequired[AssignPublicIpType],  # (1)
  1. See AssignPublicIpType

CapacityProviderStrategyItemTypeDef#

# CapacityProviderStrategyItemTypeDef usage example

from mypy_boto3_ecs.type_defs import CapacityProviderStrategyItemTypeDef

def get_value() -> CapacityProviderStrategyItemTypeDef:
    return {
        "capacityProvider": ...,
    }
# CapacityProviderStrategyItemTypeDef definition

class CapacityProviderStrategyItemTypeDef(TypedDict):
    capacityProvider: str,
    weight: NotRequired[int],
    base: NotRequired[int],

TagTypeDef#

# TagTypeDef usage example

from mypy_boto3_ecs.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "key": ...,
    }
# TagTypeDef definition

class TagTypeDef(TypedDict):
    key: NotRequired[str],
    value: NotRequired[str],

ClusterServiceConnectDefaultsRequestTypeDef#

# ClusterServiceConnectDefaultsRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ClusterServiceConnectDefaultsRequestTypeDef

def get_value() -> ClusterServiceConnectDefaultsRequestTypeDef:
    return {
        "namespace": ...,
    }
# ClusterServiceConnectDefaultsRequestTypeDef definition

class ClusterServiceConnectDefaultsRequestTypeDef(TypedDict):
    namespace: str,

ClusterServiceConnectDefaultsTypeDef#

# ClusterServiceConnectDefaultsTypeDef usage example

from mypy_boto3_ecs.type_defs import ClusterServiceConnectDefaultsTypeDef

def get_value() -> ClusterServiceConnectDefaultsTypeDef:
    return {
        "namespace": ...,
    }
# ClusterServiceConnectDefaultsTypeDef definition

class ClusterServiceConnectDefaultsTypeDef(TypedDict):
    namespace: NotRequired[str],

ClusterSettingTypeDef#

# ClusterSettingTypeDef usage example

from mypy_boto3_ecs.type_defs import ClusterSettingTypeDef

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

class ClusterSettingTypeDef(TypedDict):
    name: NotRequired[ClusterSettingNameType],  # (1)
    value: NotRequired[str],
  1. See ClusterSettingNameType

ContainerDependencyTypeDef#

# ContainerDependencyTypeDef usage example

from mypy_boto3_ecs.type_defs import ContainerDependencyTypeDef

def get_value() -> ContainerDependencyTypeDef:
    return {
        "containerName": ...,
        "condition": ...,
    }
# ContainerDependencyTypeDef definition

class ContainerDependencyTypeDef(TypedDict):
    containerName: str,
    condition: ContainerConditionType,  # (1)
  1. See ContainerConditionType

EnvironmentFileTypeDef#

# EnvironmentFileTypeDef usage example

from mypy_boto3_ecs.type_defs import EnvironmentFileTypeDef

def get_value() -> EnvironmentFileTypeDef:
    return {
        "value": ...,
        "type": ...,
    }
# EnvironmentFileTypeDef definition

class EnvironmentFileTypeDef(TypedDict):
    value: str,
    type: EnvironmentFileTypeType,  # (1)
  1. See EnvironmentFileTypeType

FirelensConfigurationTypeDef#

# FirelensConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import FirelensConfigurationTypeDef

def get_value() -> FirelensConfigurationTypeDef:
    return {
        "type": ...,
    }
# FirelensConfigurationTypeDef definition

class FirelensConfigurationTypeDef(TypedDict):
    type: FirelensConfigurationTypeType,  # (1)
    options: NotRequired[Dict[str, str]],
  1. See FirelensConfigurationTypeType

HealthCheckTypeDef#

# HealthCheckTypeDef usage example

from mypy_boto3_ecs.type_defs import HealthCheckTypeDef

def get_value() -> HealthCheckTypeDef:
    return {
        "command": ...,
    }
# HealthCheckTypeDef definition

class HealthCheckTypeDef(TypedDict):
    command: List[str],
    interval: NotRequired[int],
    timeout: NotRequired[int],
    retries: NotRequired[int],
    startPeriod: NotRequired[int],

HostEntryTypeDef#

# HostEntryTypeDef usage example

from mypy_boto3_ecs.type_defs import HostEntryTypeDef

def get_value() -> HostEntryTypeDef:
    return {
        "hostname": ...,
        "ipAddress": ...,
    }
# HostEntryTypeDef definition

class HostEntryTypeDef(TypedDict):
    hostname: str,
    ipAddress: str,

MountPointTypeDef#

# MountPointTypeDef usage example

from mypy_boto3_ecs.type_defs import MountPointTypeDef

def get_value() -> MountPointTypeDef:
    return {
        "sourceVolume": ...,
    }
# MountPointTypeDef definition

class MountPointTypeDef(TypedDict):
    sourceVolume: NotRequired[str],
    containerPath: NotRequired[str],
    readOnly: NotRequired[bool],

PortMappingTypeDef#

# PortMappingTypeDef usage example

from mypy_boto3_ecs.type_defs import PortMappingTypeDef

def get_value() -> PortMappingTypeDef:
    return {
        "containerPort": ...,
    }
# PortMappingTypeDef 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#

# RepositoryCredentialsTypeDef usage example

from mypy_boto3_ecs.type_defs import RepositoryCredentialsTypeDef

def get_value() -> RepositoryCredentialsTypeDef:
    return {
        "credentialsParameter": ...,
    }
# RepositoryCredentialsTypeDef definition

class RepositoryCredentialsTypeDef(TypedDict):
    credentialsParameter: str,

ResourceRequirementTypeDef#

# ResourceRequirementTypeDef usage example

from mypy_boto3_ecs.type_defs import ResourceRequirementTypeDef

def get_value() -> ResourceRequirementTypeDef:
    return {
        "value": ...,
        "type": ...,
    }
# ResourceRequirementTypeDef definition

class ResourceRequirementTypeDef(TypedDict):
    value: str,
    type: ResourceTypeType,  # (1)
  1. See ResourceTypeType

SecretTypeDef#

# SecretTypeDef usage example

from mypy_boto3_ecs.type_defs import SecretTypeDef

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

class SecretTypeDef(TypedDict):
    name: str,
    valueFrom: str,

SystemControlTypeDef#

# SystemControlTypeDef usage example

from mypy_boto3_ecs.type_defs import SystemControlTypeDef

def get_value() -> SystemControlTypeDef:
    return {
        "namespace": ...,
    }
# SystemControlTypeDef definition

class SystemControlTypeDef(TypedDict):
    namespace: NotRequired[str],
    value: NotRequired[str],

UlimitTypeDef#

# UlimitTypeDef usage example

from mypy_boto3_ecs.type_defs import UlimitTypeDef

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

class UlimitTypeDef(TypedDict):
    name: UlimitNameType,  # (1)
    softLimit: int,
    hardLimit: int,
  1. See UlimitNameType

VolumeFromTypeDef#

# VolumeFromTypeDef usage example

from mypy_boto3_ecs.type_defs import VolumeFromTypeDef

def get_value() -> VolumeFromTypeDef:
    return {
        "sourceContainer": ...,
    }
# VolumeFromTypeDef definition

class VolumeFromTypeDef(TypedDict):
    sourceContainer: NotRequired[str],
    readOnly: NotRequired[bool],

InstanceHealthCheckResultTypeDef#

# InstanceHealthCheckResultTypeDef usage example

from mypy_boto3_ecs.type_defs import InstanceHealthCheckResultTypeDef

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

# ResourceTypeDef usage example

from mypy_boto3_ecs.type_defs import ResourceTypeDef

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

class ResourceTypeDef(TypedDict):
    name: NotRequired[str],
    type: NotRequired[str],
    doubleValue: NotRequired[float],
    longValue: NotRequired[int],
    integerValue: NotRequired[int],
    stringSetValue: NotRequired[List[str]],

VersionInfoTypeDef#

# VersionInfoTypeDef usage example

from mypy_boto3_ecs.type_defs import VersionInfoTypeDef

def get_value() -> VersionInfoTypeDef:
    return {
        "agentVersion": ...,
    }
# VersionInfoTypeDef definition

class VersionInfoTypeDef(TypedDict):
    agentVersion: NotRequired[str],
    agentHash: NotRequired[str],
    dockerVersion: NotRequired[str],

NetworkBindingTypeDef#

# NetworkBindingTypeDef usage example

from mypy_boto3_ecs.type_defs import NetworkBindingTypeDef

def get_value() -> NetworkBindingTypeDef:
    return {
        "bindIP": ...,
    }
# NetworkBindingTypeDef 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#

# ManagedAgentTypeDef usage example

from mypy_boto3_ecs.type_defs import ManagedAgentTypeDef

def get_value() -> ManagedAgentTypeDef:
    return {
        "lastStartedAt": ...,
    }
# ManagedAgentTypeDef definition

class ManagedAgentTypeDef(TypedDict):
    lastStartedAt: NotRequired[datetime],
    name: NotRequired[ManagedAgentNameType],  # (1)
    reason: NotRequired[str],
    lastStatus: NotRequired[str],
  1. See ManagedAgentNameType

NetworkInterfaceTypeDef#

# NetworkInterfaceTypeDef usage example

from mypy_boto3_ecs.type_defs import NetworkInterfaceTypeDef

def get_value() -> NetworkInterfaceTypeDef:
    return {
        "attachmentId": ...,
    }
# NetworkInterfaceTypeDef definition

class NetworkInterfaceTypeDef(TypedDict):
    attachmentId: NotRequired[str],
    privateIpv4Address: NotRequired[str],
    ipv6Address: NotRequired[str],

DeploymentControllerTypeDef#

# DeploymentControllerTypeDef usage example

from mypy_boto3_ecs.type_defs import DeploymentControllerTypeDef

def get_value() -> DeploymentControllerTypeDef:
    return {
        "type": ...,
    }
# DeploymentControllerTypeDef definition

class DeploymentControllerTypeDef(TypedDict):
    type: DeploymentControllerTypeType,  # (1)
  1. See DeploymentControllerTypeType

LoadBalancerTypeDef#

# LoadBalancerTypeDef usage example

from mypy_boto3_ecs.type_defs import LoadBalancerTypeDef

def get_value() -> LoadBalancerTypeDef:
    return {
        "targetGroupArn": ...,
    }
# LoadBalancerTypeDef definition

class LoadBalancerTypeDef(TypedDict):
    targetGroupArn: NotRequired[str],
    loadBalancerName: NotRequired[str],
    containerName: NotRequired[str],
    containerPort: NotRequired[int],

PlacementConstraintTypeDef#

# PlacementConstraintTypeDef usage example

from mypy_boto3_ecs.type_defs import PlacementConstraintTypeDef

def get_value() -> PlacementConstraintTypeDef:
    return {
        "type": ...,
    }
# PlacementConstraintTypeDef definition

class PlacementConstraintTypeDef(TypedDict):
    type: NotRequired[PlacementConstraintTypeType],  # (1)
    expression: NotRequired[str],
  1. See PlacementConstraintTypeType

PlacementStrategyTypeDef#

# PlacementStrategyTypeDef usage example

from mypy_boto3_ecs.type_defs import PlacementStrategyTypeDef

def get_value() -> PlacementStrategyTypeDef:
    return {
        "type": ...,
    }
# PlacementStrategyTypeDef definition

class PlacementStrategyTypeDef(TypedDict):
    type: NotRequired[PlacementStrategyTypeType],  # (1)
    field: NotRequired[str],
  1. See PlacementStrategyTypeType

ServiceRegistryTypeDef#

# ServiceRegistryTypeDef usage example

from mypy_boto3_ecs.type_defs import ServiceRegistryTypeDef

def get_value() -> ServiceRegistryTypeDef:
    return {
        "registryArn": ...,
    }
# ServiceRegistryTypeDef definition

class ServiceRegistryTypeDef(TypedDict):
    registryArn: NotRequired[str],
    port: NotRequired[int],
    containerName: NotRequired[str],
    containerPort: NotRequired[int],

ScaleTypeDef#

# ScaleTypeDef usage example

from mypy_boto3_ecs.type_defs import ScaleTypeDef

def get_value() -> ScaleTypeDef:
    return {
        "value": ...,
    }
# ScaleTypeDef definition

class ScaleTypeDef(TypedDict):
    value: NotRequired[float],
    unit: NotRequired[ScaleUnitType],  # (1)
  1. See ScaleUnitType

DeleteAccountSettingRequestRequestTypeDef#

# DeleteAccountSettingRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DeleteAccountSettingRequestRequestTypeDef

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

class DeleteAccountSettingRequestRequestTypeDef(TypedDict):
    name: SettingNameType,  # (1)
    principalArn: NotRequired[str],
  1. See SettingNameType

SettingTypeDef#

# SettingTypeDef usage example

from mypy_boto3_ecs.type_defs import SettingTypeDef

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

class SettingTypeDef(TypedDict):
    name: NotRequired[SettingNameType],  # (1)
    value: NotRequired[str],
    principalArn: NotRequired[str],
  1. See SettingNameType

DeleteCapacityProviderRequestRequestTypeDef#

# DeleteCapacityProviderRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DeleteCapacityProviderRequestRequestTypeDef

def get_value() -> DeleteCapacityProviderRequestRequestTypeDef:
    return {
        "capacityProvider": ...,
    }
# DeleteCapacityProviderRequestRequestTypeDef definition

class DeleteCapacityProviderRequestRequestTypeDef(TypedDict):
    capacityProvider: str,

DeleteClusterRequestRequestTypeDef#

# DeleteClusterRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DeleteClusterRequestRequestTypeDef

def get_value() -> DeleteClusterRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
# DeleteClusterRequestRequestTypeDef definition

class DeleteClusterRequestRequestTypeDef(TypedDict):
    cluster: str,

DeleteServiceRequestRequestTypeDef#

# DeleteServiceRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DeleteServiceRequestRequestTypeDef

def get_value() -> DeleteServiceRequestRequestTypeDef:
    return {
        "service": ...,
    }
# DeleteServiceRequestRequestTypeDef definition

class DeleteServiceRequestRequestTypeDef(TypedDict):
    service: str,
    cluster: NotRequired[str],
    force: NotRequired[bool],

DeleteTaskDefinitionsRequestRequestTypeDef#

# DeleteTaskDefinitionsRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DeleteTaskDefinitionsRequestRequestTypeDef

def get_value() -> DeleteTaskDefinitionsRequestRequestTypeDef:
    return {
        "taskDefinitions": ...,
    }
# DeleteTaskDefinitionsRequestRequestTypeDef definition

class DeleteTaskDefinitionsRequestRequestTypeDef(TypedDict):
    taskDefinitions: Sequence[str],

FailureTypeDef#

# FailureTypeDef usage example

from mypy_boto3_ecs.type_defs import FailureTypeDef

def get_value() -> FailureTypeDef:
    return {
        "arn": ...,
    }
# FailureTypeDef definition

class FailureTypeDef(TypedDict):
    arn: NotRequired[str],
    reason: NotRequired[str],
    detail: NotRequired[str],

DeleteTaskSetRequestRequestTypeDef#

# DeleteTaskSetRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DeleteTaskSetRequestRequestTypeDef

def get_value() -> DeleteTaskSetRequestRequestTypeDef:
    return {
        "cluster": ...,
        "service": ...,
        "taskSet": ...,
    }
# DeleteTaskSetRequestRequestTypeDef definition

class DeleteTaskSetRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    taskSet: str,
    force: NotRequired[bool],

DeploymentAlarmsTypeDef#

# DeploymentAlarmsTypeDef usage example

from mypy_boto3_ecs.type_defs import DeploymentAlarmsTypeDef

def get_value() -> DeploymentAlarmsTypeDef:
    return {
        "alarmNames": ...,
        "enable": ...,
        "rollback": ...,
    }
# DeploymentAlarmsTypeDef definition

class DeploymentAlarmsTypeDef(TypedDict):
    alarmNames: Sequence[str],
    enable: bool,
    rollback: bool,

DeploymentCircuitBreakerTypeDef#

# DeploymentCircuitBreakerTypeDef usage example

from mypy_boto3_ecs.type_defs import DeploymentCircuitBreakerTypeDef

def get_value() -> DeploymentCircuitBreakerTypeDef:
    return {
        "enable": ...,
        "rollback": ...,
    }
# DeploymentCircuitBreakerTypeDef definition

class DeploymentCircuitBreakerTypeDef(TypedDict):
    enable: bool,
    rollback: bool,

ServiceConnectServiceResourceTypeDef#

# ServiceConnectServiceResourceTypeDef usage example

from mypy_boto3_ecs.type_defs import ServiceConnectServiceResourceTypeDef

def get_value() -> ServiceConnectServiceResourceTypeDef:
    return {
        "discoveryName": ...,
    }
# ServiceConnectServiceResourceTypeDef definition

class ServiceConnectServiceResourceTypeDef(TypedDict):
    discoveryName: NotRequired[str],
    discoveryArn: NotRequired[str],

DeregisterContainerInstanceRequestRequestTypeDef#

# DeregisterContainerInstanceRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DeregisterContainerInstanceRequestRequestTypeDef

def get_value() -> DeregisterContainerInstanceRequestRequestTypeDef:
    return {
        "containerInstance": ...,
    }
# DeregisterContainerInstanceRequestRequestTypeDef definition

class DeregisterContainerInstanceRequestRequestTypeDef(TypedDict):
    containerInstance: str,
    cluster: NotRequired[str],
    force: NotRequired[bool],

DeregisterTaskDefinitionRequestRequestTypeDef#

# DeregisterTaskDefinitionRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DeregisterTaskDefinitionRequestRequestTypeDef

def get_value() -> DeregisterTaskDefinitionRequestRequestTypeDef:
    return {
        "taskDefinition": ...,
    }
# DeregisterTaskDefinitionRequestRequestTypeDef definition

class DeregisterTaskDefinitionRequestRequestTypeDef(TypedDict):
    taskDefinition: str,

DescribeCapacityProvidersRequestRequestTypeDef#

# DescribeCapacityProvidersRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeCapacityProvidersRequestRequestTypeDef

def get_value() -> DescribeCapacityProvidersRequestRequestTypeDef:
    return {
        "capacityProviders": ...,
    }
# DescribeCapacityProvidersRequestRequestTypeDef definition

class DescribeCapacityProvidersRequestRequestTypeDef(TypedDict):
    capacityProviders: NotRequired[Sequence[str]],
    include: NotRequired[Sequence[CapacityProviderFieldType]],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
  1. See CapacityProviderFieldType

DescribeClustersRequestRequestTypeDef#

# DescribeClustersRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeClustersRequestRequestTypeDef

def get_value() -> DescribeClustersRequestRequestTypeDef:
    return {
        "clusters": ...,
    }
# DescribeClustersRequestRequestTypeDef definition

class DescribeClustersRequestRequestTypeDef(TypedDict):
    clusters: NotRequired[Sequence[str]],
    include: NotRequired[Sequence[ClusterFieldType]],  # (1)
  1. See ClusterFieldType

DescribeContainerInstancesRequestRequestTypeDef#

# DescribeContainerInstancesRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeContainerInstancesRequestRequestTypeDef

def get_value() -> DescribeContainerInstancesRequestRequestTypeDef:
    return {
        "containerInstances": ...,
    }
# DescribeContainerInstancesRequestRequestTypeDef definition

class DescribeContainerInstancesRequestRequestTypeDef(TypedDict):
    containerInstances: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[ContainerInstanceFieldType]],  # (1)
  1. See ContainerInstanceFieldType

DescribeServicesRequestRequestTypeDef#

# DescribeServicesRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeServicesRequestRequestTypeDef

def get_value() -> DescribeServicesRequestRequestTypeDef:
    return {
        "services": ...,
    }
# DescribeServicesRequestRequestTypeDef definition

class DescribeServicesRequestRequestTypeDef(TypedDict):
    services: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[ServiceFieldType]],  # (1)
  1. See ServiceFieldType

WaiterConfigTypeDef#

# WaiterConfigTypeDef usage example

from mypy_boto3_ecs.type_defs import WaiterConfigTypeDef

def get_value() -> WaiterConfigTypeDef:
    return {
        "Delay": ...,
    }
# WaiterConfigTypeDef definition

class WaiterConfigTypeDef(TypedDict):
    Delay: NotRequired[int],
    MaxAttempts: NotRequired[int],

DescribeTaskDefinitionRequestRequestTypeDef#

# DescribeTaskDefinitionRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeTaskDefinitionRequestRequestTypeDef

def get_value() -> DescribeTaskDefinitionRequestRequestTypeDef:
    return {
        "taskDefinition": ...,
    }
# DescribeTaskDefinitionRequestRequestTypeDef definition

class DescribeTaskDefinitionRequestRequestTypeDef(TypedDict):
    taskDefinition: str,
    include: NotRequired[Sequence[TaskDefinitionFieldType]],  # (1)
  1. See TaskDefinitionFieldType

DescribeTaskSetsRequestRequestTypeDef#

# DescribeTaskSetsRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeTaskSetsRequestRequestTypeDef

def get_value() -> DescribeTaskSetsRequestRequestTypeDef:
    return {
        "cluster": ...,
        "service": ...,
    }
# DescribeTaskSetsRequestRequestTypeDef definition

class DescribeTaskSetsRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    taskSets: NotRequired[Sequence[str]],
    include: NotRequired[Sequence[TaskSetFieldType]],  # (1)
  1. See TaskSetFieldType

DescribeTasksRequestRequestTypeDef#

# DescribeTasksRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeTasksRequestRequestTypeDef

def get_value() -> DescribeTasksRequestRequestTypeDef:
    return {
        "tasks": ...,
    }
# DescribeTasksRequestRequestTypeDef definition

class DescribeTasksRequestRequestTypeDef(TypedDict):
    tasks: Sequence[str],
    cluster: NotRequired[str],
    include: NotRequired[Sequence[TaskFieldType]],  # (1)
  1. See TaskFieldType

DeviceTypeDef#

# DeviceTypeDef usage example

from mypy_boto3_ecs.type_defs import DeviceTypeDef

def get_value() -> DeviceTypeDef:
    return {
        "hostPath": ...,
    }
# DeviceTypeDef definition

class DeviceTypeDef(TypedDict):
    hostPath: str,
    containerPath: NotRequired[str],
    permissions: NotRequired[List[DeviceCgroupPermissionType]],  # (1)
  1. See DeviceCgroupPermissionType

DiscoverPollEndpointRequestRequestTypeDef#

# DiscoverPollEndpointRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DiscoverPollEndpointRequestRequestTypeDef

def get_value() -> DiscoverPollEndpointRequestRequestTypeDef:
    return {
        "containerInstance": ...,
    }
# DiscoverPollEndpointRequestRequestTypeDef definition

class DiscoverPollEndpointRequestRequestTypeDef(TypedDict):
    containerInstance: NotRequired[str],
    cluster: NotRequired[str],

DiscoverPollEndpointResponseTypeDef#

# DiscoverPollEndpointResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import DiscoverPollEndpointResponseTypeDef

def get_value() -> DiscoverPollEndpointResponseTypeDef:
    return {
        "endpoint": ...,
        "telemetryEndpoint": ...,
        "serviceConnectEndpoint": ...,
        "ResponseMetadata": ...,
    }
# DiscoverPollEndpointResponseTypeDef definition

class DiscoverPollEndpointResponseTypeDef(TypedDict):
    endpoint: str,
    telemetryEndpoint: str,
    serviceConnectEndpoint: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DockerVolumeConfigurationTypeDef#

# DockerVolumeConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import DockerVolumeConfigurationTypeDef

def get_value() -> DockerVolumeConfigurationTypeDef:
    return {
        "scope": ...,
    }
# DockerVolumeConfigurationTypeDef 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#

# EFSAuthorizationConfigTypeDef usage example

from mypy_boto3_ecs.type_defs import EFSAuthorizationConfigTypeDef

def get_value() -> EFSAuthorizationConfigTypeDef:
    return {
        "accessPointId": ...,
    }
# EFSAuthorizationConfigTypeDef definition

class EFSAuthorizationConfigTypeDef(TypedDict):
    accessPointId: NotRequired[str],
    iam: NotRequired[EFSAuthorizationConfigIAMType],  # (1)
  1. See EFSAuthorizationConfigIAMType

EphemeralStorageTypeDef#

# EphemeralStorageTypeDef usage example

from mypy_boto3_ecs.type_defs import EphemeralStorageTypeDef

def get_value() -> EphemeralStorageTypeDef:
    return {
        "sizeInGiB": ...,
    }
# EphemeralStorageTypeDef definition

class EphemeralStorageTypeDef(TypedDict):
    sizeInGiB: int,

ExecuteCommandLogConfigurationTypeDef#

# ExecuteCommandLogConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import ExecuteCommandLogConfigurationTypeDef

def get_value() -> ExecuteCommandLogConfigurationTypeDef:
    return {
        "cloudWatchLogGroupName": ...,
    }
# ExecuteCommandLogConfigurationTypeDef definition

class ExecuteCommandLogConfigurationTypeDef(TypedDict):
    cloudWatchLogGroupName: NotRequired[str],
    cloudWatchEncryptionEnabled: NotRequired[bool],
    s3BucketName: NotRequired[str],
    s3EncryptionEnabled: NotRequired[bool],
    s3KeyPrefix: NotRequired[str],

ExecuteCommandRequestRequestTypeDef#

# ExecuteCommandRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ExecuteCommandRequestRequestTypeDef

def get_value() -> ExecuteCommandRequestRequestTypeDef:
    return {
        "command": ...,
        "interactive": ...,
        "task": ...,
    }
# ExecuteCommandRequestRequestTypeDef definition

class ExecuteCommandRequestRequestTypeDef(TypedDict):
    command: str,
    interactive: bool,
    task: str,
    cluster: NotRequired[str],
    container: NotRequired[str],

SessionTypeDef#

# SessionTypeDef usage example

from mypy_boto3_ecs.type_defs import SessionTypeDef

def get_value() -> SessionTypeDef:
    return {
        "sessionId": ...,
    }
# SessionTypeDef definition

class SessionTypeDef(TypedDict):
    sessionId: NotRequired[str],
    streamUrl: NotRequired[str],
    tokenValue: NotRequired[str],

FSxWindowsFileServerAuthorizationConfigTypeDef#

# FSxWindowsFileServerAuthorizationConfigTypeDef usage example

from mypy_boto3_ecs.type_defs import FSxWindowsFileServerAuthorizationConfigTypeDef

def get_value() -> FSxWindowsFileServerAuthorizationConfigTypeDef:
    return {
        "credentialsParameter": ...,
        "domain": ...,
    }
# FSxWindowsFileServerAuthorizationConfigTypeDef definition

class FSxWindowsFileServerAuthorizationConfigTypeDef(TypedDict):
    credentialsParameter: str,
    domain: str,

GetTaskProtectionRequestRequestTypeDef#

# GetTaskProtectionRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import GetTaskProtectionRequestRequestTypeDef

def get_value() -> GetTaskProtectionRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
# GetTaskProtectionRequestRequestTypeDef definition

class GetTaskProtectionRequestRequestTypeDef(TypedDict):
    cluster: str,
    tasks: NotRequired[Sequence[str]],

ProtectedTaskTypeDef#

# ProtectedTaskTypeDef usage example

from mypy_boto3_ecs.type_defs import ProtectedTaskTypeDef

def get_value() -> ProtectedTaskTypeDef:
    return {
        "taskArn": ...,
    }
# ProtectedTaskTypeDef definition

class ProtectedTaskTypeDef(TypedDict):
    taskArn: NotRequired[str],
    protectionEnabled: NotRequired[bool],
    expirationDate: NotRequired[datetime],

HostVolumePropertiesTypeDef#

# HostVolumePropertiesTypeDef usage example

from mypy_boto3_ecs.type_defs import HostVolumePropertiesTypeDef

def get_value() -> HostVolumePropertiesTypeDef:
    return {
        "sourcePath": ...,
    }
# HostVolumePropertiesTypeDef definition

class HostVolumePropertiesTypeDef(TypedDict):
    sourcePath: NotRequired[str],

InferenceAcceleratorOverrideTypeDef#

# InferenceAcceleratorOverrideTypeDef usage example

from mypy_boto3_ecs.type_defs import InferenceAcceleratorOverrideTypeDef

def get_value() -> InferenceAcceleratorOverrideTypeDef:
    return {
        "deviceName": ...,
    }
# InferenceAcceleratorOverrideTypeDef definition

class InferenceAcceleratorOverrideTypeDef(TypedDict):
    deviceName: NotRequired[str],
    deviceType: NotRequired[str],

InferenceAcceleratorTypeDef#

# InferenceAcceleratorTypeDef usage example

from mypy_boto3_ecs.type_defs import InferenceAcceleratorTypeDef

def get_value() -> InferenceAcceleratorTypeDef:
    return {
        "deviceName": ...,
        "deviceType": ...,
    }
# InferenceAcceleratorTypeDef definition

class InferenceAcceleratorTypeDef(TypedDict):
    deviceName: str,
    deviceType: str,

KernelCapabilitiesTypeDef#

# KernelCapabilitiesTypeDef usage example

from mypy_boto3_ecs.type_defs import KernelCapabilitiesTypeDef

def get_value() -> KernelCapabilitiesTypeDef:
    return {
        "add": ...,
    }
# KernelCapabilitiesTypeDef definition

class KernelCapabilitiesTypeDef(TypedDict):
    add: NotRequired[List[str]],
    drop: NotRequired[List[str]],

TmpfsTypeDef#

# TmpfsTypeDef usage example

from mypy_boto3_ecs.type_defs import TmpfsTypeDef

def get_value() -> TmpfsTypeDef:
    return {
        "containerPath": ...,
        "size": ...,
    }
# TmpfsTypeDef definition

class TmpfsTypeDef(TypedDict):
    containerPath: str,
    size: int,
    mountOptions: NotRequired[List[str]],

ListAccountSettingsRequestListAccountSettingsPaginateTypeDef#

# ListAccountSettingsRequestListAccountSettingsPaginateTypeDef usage example

from mypy_boto3_ecs.type_defs import ListAccountSettingsRequestListAccountSettingsPaginateTypeDef

def get_value() -> ListAccountSettingsRequestListAccountSettingsPaginateTypeDef:
    return {
        "name": ...,
    }
# ListAccountSettingsRequestListAccountSettingsPaginateTypeDef 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

ListAccountSettingsRequestRequestTypeDef#

# ListAccountSettingsRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ListAccountSettingsRequestRequestTypeDef

def get_value() -> ListAccountSettingsRequestRequestTypeDef:
    return {
        "name": ...,
    }
# ListAccountSettingsRequestRequestTypeDef 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

ListAttributesRequestListAttributesPaginateTypeDef#

# ListAttributesRequestListAttributesPaginateTypeDef usage example

from mypy_boto3_ecs.type_defs import ListAttributesRequestListAttributesPaginateTypeDef

def get_value() -> ListAttributesRequestListAttributesPaginateTypeDef:
    return {
        "targetType": ...,
    }
# ListAttributesRequestListAttributesPaginateTypeDef 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

ListAttributesRequestRequestTypeDef#

# ListAttributesRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ListAttributesRequestRequestTypeDef

def get_value() -> ListAttributesRequestRequestTypeDef:
    return {
        "targetType": ...,
    }
# ListAttributesRequestRequestTypeDef 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

ListClustersRequestListClustersPaginateTypeDef#

# ListClustersRequestListClustersPaginateTypeDef usage example

from mypy_boto3_ecs.type_defs import ListClustersRequestListClustersPaginateTypeDef

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

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

ListClustersRequestRequestTypeDef#

# ListClustersRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ListClustersRequestRequestTypeDef

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

class ListClustersRequestRequestTypeDef(TypedDict):
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListClustersResponseTypeDef#

# ListClustersResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import ListClustersResponseTypeDef

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

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

ListContainerInstancesRequestListContainerInstancesPaginateTypeDef#

# ListContainerInstancesRequestListContainerInstancesPaginateTypeDef usage example

from mypy_boto3_ecs.type_defs import ListContainerInstancesRequestListContainerInstancesPaginateTypeDef

def get_value() -> ListContainerInstancesRequestListContainerInstancesPaginateTypeDef:
    return {
        "cluster": ...,
    }
# ListContainerInstancesRequestListContainerInstancesPaginateTypeDef definition

class ListContainerInstancesRequestListContainerInstancesPaginateTypeDef(TypedDict):
    cluster: NotRequired[str],
    filter: NotRequired[str],
    status: NotRequired[ContainerInstanceStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See ContainerInstanceStatusType
  2. See PaginatorConfigTypeDef

ListContainerInstancesRequestRequestTypeDef#

# ListContainerInstancesRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ListContainerInstancesRequestRequestTypeDef

def get_value() -> ListContainerInstancesRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
# ListContainerInstancesRequestRequestTypeDef definition

class ListContainerInstancesRequestRequestTypeDef(TypedDict):
    cluster: NotRequired[str],
    filter: NotRequired[str],
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
    status: NotRequired[ContainerInstanceStatusType],  # (1)
  1. See ContainerInstanceStatusType

ListContainerInstancesResponseTypeDef#

# ListContainerInstancesResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import ListContainerInstancesResponseTypeDef

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

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

ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef#

# ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef usage example

from mypy_boto3_ecs.type_defs import ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef

def get_value() -> ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef:
    return {
        "namespace": ...,
    }
# ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef definition

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

ListServicesByNamespaceRequestRequestTypeDef#

# ListServicesByNamespaceRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ListServicesByNamespaceRequestRequestTypeDef

def get_value() -> ListServicesByNamespaceRequestRequestTypeDef:
    return {
        "namespace": ...,
    }
# ListServicesByNamespaceRequestRequestTypeDef definition

class ListServicesByNamespaceRequestRequestTypeDef(TypedDict):
    namespace: str,
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],

ListServicesByNamespaceResponseTypeDef#

# ListServicesByNamespaceResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import ListServicesByNamespaceResponseTypeDef

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

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

ListServicesRequestListServicesPaginateTypeDef#

# ListServicesRequestListServicesPaginateTypeDef usage example

from mypy_boto3_ecs.type_defs import ListServicesRequestListServicesPaginateTypeDef

def get_value() -> ListServicesRequestListServicesPaginateTypeDef:
    return {
        "cluster": ...,
    }
# ListServicesRequestListServicesPaginateTypeDef 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

ListServicesRequestRequestTypeDef#

# ListServicesRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ListServicesRequestRequestTypeDef

def get_value() -> ListServicesRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
# ListServicesRequestRequestTypeDef 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

ListServicesResponseTypeDef#

# ListServicesResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import ListServicesResponseTypeDef

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

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

ListTagsForResourceRequestRequestTypeDef#

# ListTagsForResourceRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
    }
# ListTagsForResourceRequestRequestTypeDef definition

class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,

ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef#

# ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef usage example

from mypy_boto3_ecs.type_defs import ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef

def get_value() -> ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef:
    return {
        "familyPrefix": ...,
    }
# ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef definition

class ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef(TypedDict):
    familyPrefix: NotRequired[str],
    status: NotRequired[TaskDefinitionFamilyStatusType],  # (1)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (2)
  1. See TaskDefinitionFamilyStatusType
  2. See PaginatorConfigTypeDef

ListTaskDefinitionFamiliesRequestRequestTypeDef#

# ListTaskDefinitionFamiliesRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ListTaskDefinitionFamiliesRequestRequestTypeDef

def get_value() -> ListTaskDefinitionFamiliesRequestRequestTypeDef:
    return {
        "familyPrefix": ...,
    }
# ListTaskDefinitionFamiliesRequestRequestTypeDef definition

class ListTaskDefinitionFamiliesRequestRequestTypeDef(TypedDict):
    familyPrefix: NotRequired[str],
    status: NotRequired[TaskDefinitionFamilyStatusType],  # (1)
    nextToken: NotRequired[str],
    maxResults: NotRequired[int],
  1. See TaskDefinitionFamilyStatusType

ListTaskDefinitionFamiliesResponseTypeDef#

# ListTaskDefinitionFamiliesResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import ListTaskDefinitionFamiliesResponseTypeDef

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

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

ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef#

# ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef usage example

from mypy_boto3_ecs.type_defs import ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef

def get_value() -> ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef:
    return {
        "familyPrefix": ...,
    }
# ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef 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

ListTaskDefinitionsRequestRequestTypeDef#

# ListTaskDefinitionsRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ListTaskDefinitionsRequestRequestTypeDef

def get_value() -> ListTaskDefinitionsRequestRequestTypeDef:
    return {
        "familyPrefix": ...,
    }
# ListTaskDefinitionsRequestRequestTypeDef 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

ListTaskDefinitionsResponseTypeDef#

# ListTaskDefinitionsResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import ListTaskDefinitionsResponseTypeDef

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

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

ListTasksRequestListTasksPaginateTypeDef#

# ListTasksRequestListTasksPaginateTypeDef usage example

from mypy_boto3_ecs.type_defs import ListTasksRequestListTasksPaginateTypeDef

def get_value() -> ListTasksRequestListTasksPaginateTypeDef:
    return {
        "cluster": ...,
    }
# ListTasksRequestListTasksPaginateTypeDef 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

ListTasksRequestRequestTypeDef#

# ListTasksRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import ListTasksRequestRequestTypeDef

def get_value() -> ListTasksRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
# ListTasksRequestRequestTypeDef 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

ListTasksResponseTypeDef#

# ListTasksResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import ListTasksResponseTypeDef

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

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

ManagedAgentStateChangeTypeDef#

# ManagedAgentStateChangeTypeDef usage example

from mypy_boto3_ecs.type_defs import ManagedAgentStateChangeTypeDef

def get_value() -> ManagedAgentStateChangeTypeDef:
    return {
        "containerName": ...,
        "managedAgentName": ...,
        "status": ...,
    }
# ManagedAgentStateChangeTypeDef definition

class ManagedAgentStateChangeTypeDef(TypedDict):
    containerName: str,
    managedAgentName: ManagedAgentNameType,  # (1)
    status: str,
    reason: NotRequired[str],
  1. See ManagedAgentNameType

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef usage example

from mypy_boto3_ecs.type_defs import PaginatorConfigTypeDef

def get_value() -> PaginatorConfigTypeDef:
    return {
        "MaxItems": ...,
    }
# PaginatorConfigTypeDef definition

class PaginatorConfigTypeDef(TypedDict):
    MaxItems: NotRequired[int],
    PageSize: NotRequired[int],
    StartingToken: NotRequired[str],

PlatformDeviceTypeDef#

# PlatformDeviceTypeDef usage example

from mypy_boto3_ecs.type_defs import PlatformDeviceTypeDef

def get_value() -> PlatformDeviceTypeDef:
    return {
        "id": ...,
        "type": ...,
    }
# PlatformDeviceTypeDef definition

class PlatformDeviceTypeDef(TypedDict):
    id: str,
    type: PlatformDeviceTypeType,  # (1)
  1. See PlatformDeviceTypeType

PutAccountSettingDefaultRequestRequestTypeDef#

# PutAccountSettingDefaultRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import PutAccountSettingDefaultRequestRequestTypeDef

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

class PutAccountSettingDefaultRequestRequestTypeDef(TypedDict):
    name: SettingNameType,  # (1)
    value: str,
  1. See SettingNameType

PutAccountSettingRequestRequestTypeDef#

# PutAccountSettingRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import PutAccountSettingRequestRequestTypeDef

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

class PutAccountSettingRequestRequestTypeDef(TypedDict):
    name: SettingNameType,  # (1)
    value: str,
    principalArn: NotRequired[str],
  1. See SettingNameType

RuntimePlatformTypeDef#

# RuntimePlatformTypeDef usage example

from mypy_boto3_ecs.type_defs import RuntimePlatformTypeDef

def get_value() -> RuntimePlatformTypeDef:
    return {
        "cpuArchitecture": ...,
    }
# RuntimePlatformTypeDef definition

class RuntimePlatformTypeDef(TypedDict):
    cpuArchitecture: NotRequired[CPUArchitectureType],  # (1)
    operatingSystemFamily: NotRequired[OSFamilyType],  # (2)
  1. See CPUArchitectureType
  2. See OSFamilyType

TaskDefinitionPlacementConstraintTypeDef#

# TaskDefinitionPlacementConstraintTypeDef usage example

from mypy_boto3_ecs.type_defs import TaskDefinitionPlacementConstraintTypeDef

def get_value() -> TaskDefinitionPlacementConstraintTypeDef:
    return {
        "type": ...,
    }
# TaskDefinitionPlacementConstraintTypeDef definition

class TaskDefinitionPlacementConstraintTypeDef(TypedDict):
    type: NotRequired[TaskDefinitionPlacementConstraintTypeType],  # (1)
    expression: NotRequired[str],
  1. See TaskDefinitionPlacementConstraintTypeType

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef usage example

from mypy_boto3_ecs.type_defs import ResponseMetadataTypeDef

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

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

ServiceConnectClientAliasTypeDef#

# ServiceConnectClientAliasTypeDef usage example

from mypy_boto3_ecs.type_defs import ServiceConnectClientAliasTypeDef

def get_value() -> ServiceConnectClientAliasTypeDef:
    return {
        "port": ...,
    }
# ServiceConnectClientAliasTypeDef definition

class ServiceConnectClientAliasTypeDef(TypedDict):
    port: int,
    dnsName: NotRequired[str],

ServiceEventTypeDef#

# ServiceEventTypeDef usage example

from mypy_boto3_ecs.type_defs import ServiceEventTypeDef

def get_value() -> ServiceEventTypeDef:
    return {
        "id": ...,
    }
# ServiceEventTypeDef definition

class ServiceEventTypeDef(TypedDict):
    id: NotRequired[str],
    createdAt: NotRequired[datetime],
    message: NotRequired[str],

StopTaskRequestRequestTypeDef#

# StopTaskRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import StopTaskRequestRequestTypeDef

def get_value() -> StopTaskRequestRequestTypeDef:
    return {
        "task": ...,
    }
# StopTaskRequestRequestTypeDef definition

class StopTaskRequestRequestTypeDef(TypedDict):
    task: str,
    cluster: NotRequired[str],
    reason: NotRequired[str],

SubmitAttachmentStateChangesResponseTypeDef#

# SubmitAttachmentStateChangesResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import SubmitAttachmentStateChangesResponseTypeDef

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

class SubmitAttachmentStateChangesResponseTypeDef(TypedDict):
    acknowledgment: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

SubmitContainerStateChangeResponseTypeDef#

# SubmitContainerStateChangeResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import SubmitContainerStateChangeResponseTypeDef

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

class SubmitContainerStateChangeResponseTypeDef(TypedDict):
    acknowledgment: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

SubmitTaskStateChangeResponseTypeDef#

# SubmitTaskStateChangeResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import SubmitTaskStateChangeResponseTypeDef

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

class SubmitTaskStateChangeResponseTypeDef(TypedDict):
    acknowledgment: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UntagResourceRequestRequestTypeDef#

# UntagResourceRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "resourceArn": ...,
        "tagKeys": ...,
    }
# UntagResourceRequestRequestTypeDef definition

class UntagResourceRequestRequestTypeDef(TypedDict):
    resourceArn: str,
    tagKeys: Sequence[str],

UpdateContainerAgentRequestRequestTypeDef#

# UpdateContainerAgentRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateContainerAgentRequestRequestTypeDef

def get_value() -> UpdateContainerAgentRequestRequestTypeDef:
    return {
        "containerInstance": ...,
    }
# UpdateContainerAgentRequestRequestTypeDef definition

class UpdateContainerAgentRequestRequestTypeDef(TypedDict):
    containerInstance: str,
    cluster: NotRequired[str],

UpdateContainerInstancesStateRequestRequestTypeDef#

# UpdateContainerInstancesStateRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateContainerInstancesStateRequestRequestTypeDef

def get_value() -> UpdateContainerInstancesStateRequestRequestTypeDef:
    return {
        "containerInstances": ...,
        "status": ...,
    }
# UpdateContainerInstancesStateRequestRequestTypeDef definition

class UpdateContainerInstancesStateRequestRequestTypeDef(TypedDict):
    containerInstances: Sequence[str],
    status: ContainerInstanceStatusType,  # (1)
    cluster: NotRequired[str],
  1. See ContainerInstanceStatusType

UpdateServicePrimaryTaskSetRequestRequestTypeDef#

# UpdateServicePrimaryTaskSetRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateServicePrimaryTaskSetRequestRequestTypeDef

def get_value() -> UpdateServicePrimaryTaskSetRequestRequestTypeDef:
    return {
        "cluster": ...,
        "service": ...,
        "primaryTaskSet": ...,
    }
# UpdateServicePrimaryTaskSetRequestRequestTypeDef definition

class UpdateServicePrimaryTaskSetRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    primaryTaskSet: str,

UpdateTaskProtectionRequestRequestTypeDef#

# UpdateTaskProtectionRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateTaskProtectionRequestRequestTypeDef

def get_value() -> UpdateTaskProtectionRequestRequestTypeDef:
    return {
        "cluster": ...,
        "tasks": ...,
        "protectionEnabled": ...,
    }
# UpdateTaskProtectionRequestRequestTypeDef definition

class UpdateTaskProtectionRequestRequestTypeDef(TypedDict):
    cluster: str,
    tasks: Sequence[str],
    protectionEnabled: bool,
    expiresInMinutes: NotRequired[int],

SubmitAttachmentStateChangesRequestRequestTypeDef#

# SubmitAttachmentStateChangesRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import SubmitAttachmentStateChangesRequestRequestTypeDef

def get_value() -> SubmitAttachmentStateChangesRequestRequestTypeDef:
    return {
        "attachments": ...,
    }
# SubmitAttachmentStateChangesRequestRequestTypeDef definition

class SubmitAttachmentStateChangesRequestRequestTypeDef(TypedDict):
    attachments: Sequence[AttachmentStateChangeTypeDef],  # (1)
    cluster: NotRequired[str],
  1. See AttachmentStateChangeTypeDef

AttachmentTypeDef#

# AttachmentTypeDef usage example

from mypy_boto3_ecs.type_defs import AttachmentTypeDef

def get_value() -> AttachmentTypeDef:
    return {
        "id": ...,
    }
# AttachmentTypeDef definition

class AttachmentTypeDef(TypedDict):
    id: NotRequired[str],
    type: NotRequired[str],
    status: NotRequired[str],
    details: NotRequired[List[KeyValuePairTypeDef]],  # (1)
  1. See KeyValuePairTypeDef

ProxyConfigurationTypeDef#

# ProxyConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import ProxyConfigurationTypeDef

def get_value() -> ProxyConfigurationTypeDef:
    return {
        "containerName": ...,
    }
# ProxyConfigurationTypeDef definition

class ProxyConfigurationTypeDef(TypedDict):
    containerName: str,
    type: NotRequired[ProxyConfigurationTypeType],  # (1)
    properties: NotRequired[List[KeyValuePairTypeDef]],  # (2)
  1. See ProxyConfigurationTypeType
  2. See KeyValuePairTypeDef

DeleteAttributesRequestRequestTypeDef#

# DeleteAttributesRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import DeleteAttributesRequestRequestTypeDef

def get_value() -> DeleteAttributesRequestRequestTypeDef:
    return {
        "attributes": ...,
    }
# DeleteAttributesRequestRequestTypeDef definition

class DeleteAttributesRequestRequestTypeDef(TypedDict):
    attributes: Sequence[AttributeTypeDef],  # (1)
    cluster: NotRequired[str],
  1. See AttributeTypeDef

DeleteAttributesResponseTypeDef#

# DeleteAttributesResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import DeleteAttributesResponseTypeDef

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

class DeleteAttributesResponseTypeDef(TypedDict):
    attributes: List[AttributeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AttributeTypeDef
  2. See ResponseMetadataTypeDef

ListAttributesResponseTypeDef#

# ListAttributesResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import ListAttributesResponseTypeDef

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

class ListAttributesResponseTypeDef(TypedDict):
    attributes: List[AttributeTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AttributeTypeDef
  2. See ResponseMetadataTypeDef

PutAttributesRequestRequestTypeDef#

# PutAttributesRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import PutAttributesRequestRequestTypeDef

def get_value() -> PutAttributesRequestRequestTypeDef:
    return {
        "attributes": ...,
    }
# PutAttributesRequestRequestTypeDef definition

class PutAttributesRequestRequestTypeDef(TypedDict):
    attributes: Sequence[AttributeTypeDef],  # (1)
    cluster: NotRequired[str],
  1. See AttributeTypeDef

PutAttributesResponseTypeDef#

# PutAttributesResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import PutAttributesResponseTypeDef

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

class PutAttributesResponseTypeDef(TypedDict):
    attributes: List[AttributeTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AttributeTypeDef
  2. See ResponseMetadataTypeDef

AutoScalingGroupProviderTypeDef#

# AutoScalingGroupProviderTypeDef usage example

from mypy_boto3_ecs.type_defs import AutoScalingGroupProviderTypeDef

def get_value() -> AutoScalingGroupProviderTypeDef:
    return {
        "autoScalingGroupArn": ...,
    }
# AutoScalingGroupProviderTypeDef definition

class AutoScalingGroupProviderTypeDef(TypedDict):
    autoScalingGroupArn: str,
    managedScaling: NotRequired[ManagedScalingTypeDef],  # (1)
    managedTerminationProtection: NotRequired[ManagedTerminationProtectionType],  # (2)
  1. See ManagedScalingTypeDef
  2. See ManagedTerminationProtectionType

AutoScalingGroupProviderUpdateTypeDef#

# AutoScalingGroupProviderUpdateTypeDef usage example

from mypy_boto3_ecs.type_defs import AutoScalingGroupProviderUpdateTypeDef

def get_value() -> AutoScalingGroupProviderUpdateTypeDef:
    return {
        "managedScaling": ...,
    }
# AutoScalingGroupProviderUpdateTypeDef definition

class AutoScalingGroupProviderUpdateTypeDef(TypedDict):
    managedScaling: NotRequired[ManagedScalingTypeDef],  # (1)
    managedTerminationProtection: NotRequired[ManagedTerminationProtectionType],  # (2)
  1. See ManagedScalingTypeDef
  2. See ManagedTerminationProtectionType

NetworkConfigurationTypeDef#

# NetworkConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import NetworkConfigurationTypeDef

def get_value() -> NetworkConfigurationTypeDef:
    return {
        "awsvpcConfiguration": ...,
    }
# NetworkConfigurationTypeDef definition

class NetworkConfigurationTypeDef(TypedDict):
    awsvpcConfiguration: NotRequired[AwsVpcConfigurationTypeDef],  # (1)
  1. See AwsVpcConfigurationTypeDef

PutClusterCapacityProvidersRequestRequestTypeDef#

# PutClusterCapacityProvidersRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import PutClusterCapacityProvidersRequestRequestTypeDef

def get_value() -> PutClusterCapacityProvidersRequestRequestTypeDef:
    return {
        "cluster": ...,
        "capacityProviders": ...,
        "defaultCapacityProviderStrategy": ...,
    }
# PutClusterCapacityProvidersRequestRequestTypeDef definition

class PutClusterCapacityProvidersRequestRequestTypeDef(TypedDict):
    cluster: str,
    capacityProviders: Sequence[str],
    defaultCapacityProviderStrategy: Sequence[CapacityProviderStrategyItemTypeDef],  # (1)
  1. See CapacityProviderStrategyItemTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import ListTagsForResourceResponseTypeDef

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

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef#

# TagResourceRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import TagResourceRequestRequestTypeDef

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

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

UpdateClusterSettingsRequestRequestTypeDef#

# UpdateClusterSettingsRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateClusterSettingsRequestRequestTypeDef

def get_value() -> UpdateClusterSettingsRequestRequestTypeDef:
    return {
        "cluster": ...,
        "settings": ...,
    }
# UpdateClusterSettingsRequestRequestTypeDef definition

class UpdateClusterSettingsRequestRequestTypeDef(TypedDict):
    cluster: str,
    settings: Sequence[ClusterSettingTypeDef],  # (1)
  1. See ClusterSettingTypeDef

ContainerOverrideTypeDef#

# ContainerOverrideTypeDef usage example

from mypy_boto3_ecs.type_defs import ContainerOverrideTypeDef

def get_value() -> ContainerOverrideTypeDef:
    return {
        "name": ...,
    }
# ContainerOverrideTypeDef 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#

# LogConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import LogConfigurationTypeDef

def get_value() -> LogConfigurationTypeDef:
    return {
        "logDriver": ...,
    }
# LogConfigurationTypeDef definition

class LogConfigurationTypeDef(TypedDict):
    logDriver: LogDriverType,  # (1)
    options: NotRequired[Mapping[str, str]],
    secretOptions: NotRequired[Sequence[SecretTypeDef]],  # (2)
  1. See LogDriverType
  2. See SecretTypeDef

ContainerInstanceHealthStatusTypeDef#

# ContainerInstanceHealthStatusTypeDef usage example

from mypy_boto3_ecs.type_defs import ContainerInstanceHealthStatusTypeDef

def get_value() -> ContainerInstanceHealthStatusTypeDef:
    return {
        "overallStatus": ...,
    }
# ContainerInstanceHealthStatusTypeDef definition

class ContainerInstanceHealthStatusTypeDef(TypedDict):
    overallStatus: NotRequired[InstanceHealthCheckStateType],  # (1)
    details: NotRequired[List[InstanceHealthCheckResultTypeDef]],  # (2)
  1. See InstanceHealthCheckStateType
  2. See InstanceHealthCheckResultTypeDef

ContainerStateChangeTypeDef#

# ContainerStateChangeTypeDef usage example

from mypy_boto3_ecs.type_defs import ContainerStateChangeTypeDef

def get_value() -> ContainerStateChangeTypeDef:
    return {
        "containerName": ...,
    }
# ContainerStateChangeTypeDef 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#

# SubmitContainerStateChangeRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import SubmitContainerStateChangeRequestRequestTypeDef

def get_value() -> SubmitContainerStateChangeRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
# SubmitContainerStateChangeRequestRequestTypeDef 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#

# ContainerTypeDef usage example

from mypy_boto3_ecs.type_defs import ContainerTypeDef

def get_value() -> ContainerTypeDef:
    return {
        "containerArn": ...,
    }
# ContainerTypeDef 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

UpdateTaskSetRequestRequestTypeDef#

# UpdateTaskSetRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateTaskSetRequestRequestTypeDef

def get_value() -> UpdateTaskSetRequestRequestTypeDef:
    return {
        "cluster": ...,
        "service": ...,
        "taskSet": ...,
        "scale": ...,
    }
# UpdateTaskSetRequestRequestTypeDef definition

class UpdateTaskSetRequestRequestTypeDef(TypedDict):
    cluster: str,
    service: str,
    taskSet: str,
    scale: ScaleTypeDef,  # (1)
  1. See ScaleTypeDef

DeleteAccountSettingResponseTypeDef#

# DeleteAccountSettingResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import DeleteAccountSettingResponseTypeDef

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

class DeleteAccountSettingResponseTypeDef(TypedDict):
    setting: SettingTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SettingTypeDef
  2. See ResponseMetadataTypeDef

ListAccountSettingsResponseTypeDef#

# ListAccountSettingsResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import ListAccountSettingsResponseTypeDef

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

class ListAccountSettingsResponseTypeDef(TypedDict):
    settings: List[SettingTypeDef],  # (1)
    nextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SettingTypeDef
  2. See ResponseMetadataTypeDef

PutAccountSettingDefaultResponseTypeDef#

# PutAccountSettingDefaultResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import PutAccountSettingDefaultResponseTypeDef

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

class PutAccountSettingDefaultResponseTypeDef(TypedDict):
    setting: SettingTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SettingTypeDef
  2. See ResponseMetadataTypeDef

PutAccountSettingResponseTypeDef#

# PutAccountSettingResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import PutAccountSettingResponseTypeDef

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

class PutAccountSettingResponseTypeDef(TypedDict):
    setting: SettingTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SettingTypeDef
  2. See ResponseMetadataTypeDef

DeploymentConfigurationTypeDef#

# DeploymentConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import DeploymentConfigurationTypeDef

def get_value() -> DeploymentConfigurationTypeDef:
    return {
        "deploymentCircuitBreaker": ...,
    }
# DeploymentConfigurationTypeDef 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#

# DescribeServicesRequestServicesInactiveWaitTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeServicesRequestServicesInactiveWaitTypeDef

def get_value() -> DescribeServicesRequestServicesInactiveWaitTypeDef:
    return {
        "services": ...,
    }
# DescribeServicesRequestServicesInactiveWaitTypeDef 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#

# DescribeServicesRequestServicesStableWaitTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeServicesRequestServicesStableWaitTypeDef

def get_value() -> DescribeServicesRequestServicesStableWaitTypeDef:
    return {
        "services": ...,
    }
# DescribeServicesRequestServicesStableWaitTypeDef 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#

# DescribeTasksRequestTasksRunningWaitTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeTasksRequestTasksRunningWaitTypeDef

def get_value() -> DescribeTasksRequestTasksRunningWaitTypeDef:
    return {
        "tasks": ...,
    }
# DescribeTasksRequestTasksRunningWaitTypeDef 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#

# DescribeTasksRequestTasksStoppedWaitTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeTasksRequestTasksStoppedWaitTypeDef

def get_value() -> DescribeTasksRequestTasksStoppedWaitTypeDef:
    return {
        "tasks": ...,
    }
# DescribeTasksRequestTasksStoppedWaitTypeDef 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#

# EFSVolumeConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import EFSVolumeConfigurationTypeDef

def get_value() -> EFSVolumeConfigurationTypeDef:
    return {
        "fileSystemId": ...,
    }
# EFSVolumeConfigurationTypeDef 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#

# ExecuteCommandConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import ExecuteCommandConfigurationTypeDef

def get_value() -> ExecuteCommandConfigurationTypeDef:
    return {
        "kmsKeyId": ...,
    }
# ExecuteCommandConfigurationTypeDef definition

class ExecuteCommandConfigurationTypeDef(TypedDict):
    kmsKeyId: NotRequired[str],
    logging: NotRequired[ExecuteCommandLoggingType],  # (1)
    logConfiguration: NotRequired[ExecuteCommandLogConfigurationTypeDef],  # (2)
  1. See ExecuteCommandLoggingType
  2. See ExecuteCommandLogConfigurationTypeDef

ExecuteCommandResponseTypeDef#

# ExecuteCommandResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import ExecuteCommandResponseTypeDef

def get_value() -> ExecuteCommandResponseTypeDef:
    return {
        "clusterArn": ...,
        "containerArn": ...,
        "containerName": ...,
        "interactive": ...,
        "session": ...,
        "taskArn": ...,
        "ResponseMetadata": ...,
    }
# ExecuteCommandResponseTypeDef 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#

# FSxWindowsFileServerVolumeConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import FSxWindowsFileServerVolumeConfigurationTypeDef

def get_value() -> FSxWindowsFileServerVolumeConfigurationTypeDef:
    return {
        "fileSystemId": ...,
        "rootDirectory": ...,
        "authorizationConfig": ...,
    }
# FSxWindowsFileServerVolumeConfigurationTypeDef definition

class FSxWindowsFileServerVolumeConfigurationTypeDef(TypedDict):
    fileSystemId: str,
    rootDirectory: str,
    authorizationConfig: FSxWindowsFileServerAuthorizationConfigTypeDef,  # (1)
  1. See FSxWindowsFileServerAuthorizationConfigTypeDef

GetTaskProtectionResponseTypeDef#

# GetTaskProtectionResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import GetTaskProtectionResponseTypeDef

def get_value() -> GetTaskProtectionResponseTypeDef:
    return {
        "protectedTasks": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
# GetTaskProtectionResponseTypeDef 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#

# UpdateTaskProtectionResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateTaskProtectionResponseTypeDef

def get_value() -> UpdateTaskProtectionResponseTypeDef:
    return {
        "protectedTasks": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
# UpdateTaskProtectionResponseTypeDef 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#

# LinuxParametersTypeDef usage example

from mypy_boto3_ecs.type_defs import LinuxParametersTypeDef

def get_value() -> LinuxParametersTypeDef:
    return {
        "capabilities": ...,
    }
# LinuxParametersTypeDef 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

RegisterContainerInstanceRequestRequestTypeDef#

# RegisterContainerInstanceRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import RegisterContainerInstanceRequestRequestTypeDef

def get_value() -> RegisterContainerInstanceRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
# RegisterContainerInstanceRequestRequestTypeDef 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#

# ServiceConnectServiceTypeDef usage example

from mypy_boto3_ecs.type_defs import ServiceConnectServiceTypeDef

def get_value() -> ServiceConnectServiceTypeDef:
    return {
        "portName": ...,
    }
# ServiceConnectServiceTypeDef definition

class ServiceConnectServiceTypeDef(TypedDict):
    portName: str,
    discoveryName: NotRequired[str],
    clientAliases: NotRequired[Sequence[ServiceConnectClientAliasTypeDef]],  # (1)
    ingressPortOverride: NotRequired[int],
  1. See ServiceConnectClientAliasTypeDef

CapacityProviderTypeDef#

# CapacityProviderTypeDef usage example

from mypy_boto3_ecs.type_defs import CapacityProviderTypeDef

def get_value() -> CapacityProviderTypeDef:
    return {
        "capacityProviderArn": ...,
    }
# CapacityProviderTypeDef 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#

# CreateCapacityProviderRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import CreateCapacityProviderRequestRequestTypeDef

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

class CreateCapacityProviderRequestRequestTypeDef(TypedDict):
    name: str,
    autoScalingGroupProvider: AutoScalingGroupProviderTypeDef,  # (1)
    tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See AutoScalingGroupProviderTypeDef
  2. See TagTypeDef

UpdateCapacityProviderRequestRequestTypeDef#

# UpdateCapacityProviderRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateCapacityProviderRequestRequestTypeDef

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

class UpdateCapacityProviderRequestRequestTypeDef(TypedDict):
    name: str,
    autoScalingGroupProvider: AutoScalingGroupProviderUpdateTypeDef,  # (1)
  1. See AutoScalingGroupProviderUpdateTypeDef

CreateTaskSetRequestRequestTypeDef#

# CreateTaskSetRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import CreateTaskSetRequestRequestTypeDef

def get_value() -> CreateTaskSetRequestRequestTypeDef:
    return {
        "service": ...,
        "cluster": ...,
        "taskDefinition": ...,
    }
# CreateTaskSetRequestRequestTypeDef 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#

# TaskSetTypeDef usage example

from mypy_boto3_ecs.type_defs import TaskSetTypeDef

def get_value() -> TaskSetTypeDef:
    return {
        "id": ...,
    }
# TaskSetTypeDef 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#

# TaskOverrideTypeDef usage example

from mypy_boto3_ecs.type_defs import TaskOverrideTypeDef

def get_value() -> TaskOverrideTypeDef:
    return {
        "containerOverrides": ...,
    }
# TaskOverrideTypeDef 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#

# ContainerInstanceTypeDef usage example

from mypy_boto3_ecs.type_defs import ContainerInstanceTypeDef

def get_value() -> ContainerInstanceTypeDef:
    return {
        "containerInstanceArn": ...,
    }
# ContainerInstanceTypeDef 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#

# SubmitTaskStateChangeRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import SubmitTaskStateChangeRequestRequestTypeDef

def get_value() -> SubmitTaskStateChangeRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
# SubmitTaskStateChangeRequestRequestTypeDef 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#

# ClusterConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import ClusterConfigurationTypeDef

def get_value() -> ClusterConfigurationTypeDef:
    return {
        "executeCommandConfiguration": ...,
    }
# ClusterConfigurationTypeDef definition

class ClusterConfigurationTypeDef(TypedDict):
    executeCommandConfiguration: NotRequired[ExecuteCommandConfigurationTypeDef],  # (1)
  1. See ExecuteCommandConfigurationTypeDef

VolumeTypeDef#

# VolumeTypeDef usage example

from mypy_boto3_ecs.type_defs import VolumeTypeDef

def get_value() -> VolumeTypeDef:
    return {
        "name": ...,
    }
# VolumeTypeDef 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#

# ContainerDefinitionTypeDef usage example

from mypy_boto3_ecs.type_defs import ContainerDefinitionTypeDef

def get_value() -> ContainerDefinitionTypeDef:
    return {
        "name": ...,
    }
# ContainerDefinitionTypeDef 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#

# ServiceConnectConfigurationTypeDef usage example

from mypy_boto3_ecs.type_defs import ServiceConnectConfigurationTypeDef

def get_value() -> ServiceConnectConfigurationTypeDef:
    return {
        "enabled": ...,
    }
# ServiceConnectConfigurationTypeDef 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#

# CreateCapacityProviderResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import CreateCapacityProviderResponseTypeDef

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

class CreateCapacityProviderResponseTypeDef(TypedDict):
    capacityProvider: CapacityProviderTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityProviderTypeDef
  2. See ResponseMetadataTypeDef

DeleteCapacityProviderResponseTypeDef#

# DeleteCapacityProviderResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import DeleteCapacityProviderResponseTypeDef

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

class DeleteCapacityProviderResponseTypeDef(TypedDict):
    capacityProvider: CapacityProviderTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityProviderTypeDef
  2. See ResponseMetadataTypeDef

DescribeCapacityProvidersResponseTypeDef#

# DescribeCapacityProvidersResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeCapacityProvidersResponseTypeDef

def get_value() -> DescribeCapacityProvidersResponseTypeDef:
    return {
        "capacityProviders": ...,
        "failures": ...,
        "nextToken": ...,
        "ResponseMetadata": ...,
    }
# DescribeCapacityProvidersResponseTypeDef 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#

# UpdateCapacityProviderResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateCapacityProviderResponseTypeDef

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

class UpdateCapacityProviderResponseTypeDef(TypedDict):
    capacityProvider: CapacityProviderTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See CapacityProviderTypeDef
  2. See ResponseMetadataTypeDef

CreateTaskSetResponseTypeDef#

# CreateTaskSetResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import CreateTaskSetResponseTypeDef

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

class CreateTaskSetResponseTypeDef(TypedDict):
    taskSet: TaskSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskSetTypeDef
  2. See ResponseMetadataTypeDef

DeleteTaskSetResponseTypeDef#

# DeleteTaskSetResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import DeleteTaskSetResponseTypeDef

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

class DeleteTaskSetResponseTypeDef(TypedDict):
    taskSet: TaskSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskSetTypeDef
  2. See ResponseMetadataTypeDef

DescribeTaskSetsResponseTypeDef#

# DescribeTaskSetsResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeTaskSetsResponseTypeDef

def get_value() -> DescribeTaskSetsResponseTypeDef:
    return {
        "taskSets": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
# DescribeTaskSetsResponseTypeDef 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#

# UpdateServicePrimaryTaskSetResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateServicePrimaryTaskSetResponseTypeDef

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

class UpdateServicePrimaryTaskSetResponseTypeDef(TypedDict):
    taskSet: TaskSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskSetTypeDef
  2. See ResponseMetadataTypeDef

UpdateTaskSetResponseTypeDef#

# UpdateTaskSetResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateTaskSetResponseTypeDef

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

class UpdateTaskSetResponseTypeDef(TypedDict):
    taskSet: TaskSetTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TaskSetTypeDef
  2. See ResponseMetadataTypeDef

RunTaskRequestRequestTypeDef#

# RunTaskRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import RunTaskRequestRequestTypeDef

def get_value() -> RunTaskRequestRequestTypeDef:
    return {
        "taskDefinition": ...,
    }
# RunTaskRequestRequestTypeDef 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#

# StartTaskRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import StartTaskRequestRequestTypeDef

def get_value() -> StartTaskRequestRequestTypeDef:
    return {
        "containerInstances": ...,
        "taskDefinition": ...,
    }
# StartTaskRequestRequestTypeDef 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#

# TaskTypeDef usage example

from mypy_boto3_ecs.type_defs import TaskTypeDef

def get_value() -> TaskTypeDef:
    return {
        "attachments": ...,
    }
# TaskTypeDef 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#

# DeregisterContainerInstanceResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import DeregisterContainerInstanceResponseTypeDef

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

class DeregisterContainerInstanceResponseTypeDef(TypedDict):
    containerInstance: ContainerInstanceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ContainerInstanceTypeDef
  2. See ResponseMetadataTypeDef

DescribeContainerInstancesResponseTypeDef#

# DescribeContainerInstancesResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import DescribeContainerInstancesResponseTypeDef

def get_value() -> DescribeContainerInstancesResponseTypeDef:
    return {
        "containerInstances": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
# DescribeContainerInstancesResponseTypeDef 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#

# RegisterContainerInstanceResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import RegisterContainerInstanceResponseTypeDef

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

class RegisterContainerInstanceResponseTypeDef(TypedDict):
    containerInstance: ContainerInstanceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ContainerInstanceTypeDef
  2. See ResponseMetadataTypeDef

UpdateContainerAgentResponseTypeDef#

# UpdateContainerAgentResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateContainerAgentResponseTypeDef

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

class UpdateContainerAgentResponseTypeDef(TypedDict):
    containerInstance: ContainerInstanceTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ContainerInstanceTypeDef
  2. See ResponseMetadataTypeDef

UpdateContainerInstancesStateResponseTypeDef#

# UpdateContainerInstancesStateResponseTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateContainerInstancesStateResponseTypeDef

def get_value() -> UpdateContainerInstancesStateResponseTypeDef:
    return {
        "containerInstances": ...,
        "failures": ...,
        "ResponseMetadata": ...,
    }
# UpdateContainerInstancesStateResponseTypeDef 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#

# ClusterTypeDef usage example

from mypy_boto3_ecs.type_defs import ClusterTypeDef

def get_value() -> ClusterTypeDef:
    return {
        "clusterArn": ...,
    }
# ClusterTypeDef 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#

# CreateClusterRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import CreateClusterRequestRequestTypeDef

def get_value() -> CreateClusterRequestRequestTypeDef:
    return {
        "clusterName": ...,
    }
# CreateClusterRequestRequestTypeDef 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#

# UpdateClusterRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import UpdateClusterRequestRequestTypeDef

def get_value() -> UpdateClusterRequestRequestTypeDef:
    return {
        "cluster": ...,
    }
# UpdateClusterRequestRequestTypeDef 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#

# RegisterTaskDefinitionRequestRequestTypeDef usage example

from mypy_boto3_ecs.type_defs import RegisterTaskDefinitionRequestRequestTypeDef

def get_value() -> RegisterTaskDefinitionRequestRequestTypeDef:
    return {
        "family": ...,
        "containerDefinitions": ...,
    }
# RegisterTaskDefinitionRequestRequestTypeDef 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)