Typed dictionaries
Auto-generated documentation for ECS type annotations stubs module mypy-boto3-ecs.
AttachmentStateChangeTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import AttachmentStateChangeTypeDef
def get_value() -> AttachmentStateChangeTypeDef:
return {
"attachmentArn": ...,
"status": ...,
}
KeyValuePairTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import KeyValuePairTypeDef
def get_value() -> KeyValuePairTypeDef:
return {
"name": ...,
}
AttributeTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import AttributeTypeDef
def get_value() -> AttributeTypeDef:
return {
"name": ...,
}
Definition
class AttributeTypeDef(TypedDict):
name: str,
value: NotRequired[str],
targetType: NotRequired[TargetTypeType], # (1)
targetId: NotRequired[str],
- See TargetTypeType
ManagedScalingTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ManagedScalingTypeDef
def get_value() -> ManagedScalingTypeDef:
return {
"status": ...,
}
Definition
class ManagedScalingTypeDef(TypedDict):
status: NotRequired[ManagedScalingStatusType], # (1)
targetCapacity: NotRequired[int],
minimumScalingStepSize: NotRequired[int],
maximumScalingStepSize: NotRequired[int],
instanceWarmupPeriod: NotRequired[int],
AwsVpcConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import AwsVpcConfigurationTypeDef
def get_value() -> AwsVpcConfigurationTypeDef:
return {
"subnets": ...,
}
Definition
class AwsVpcConfigurationTypeDef(TypedDict):
subnets: Sequence[str],
securityGroups: NotRequired[Sequence[str]],
assignPublicIp: NotRequired[AssignPublicIpType], # (1)
CapacityProviderStrategyItemTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import CapacityProviderStrategyItemTypeDef
def get_value() -> CapacityProviderStrategyItemTypeDef:
return {
"capacityProvider": ...,
}
Definition
class CapacityProviderStrategyItemTypeDef(TypedDict):
capacityProvider: str,
weight: NotRequired[int],
base: NotRequired[int],
TagTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import TagTypeDef
def get_value() -> TagTypeDef:
return {
"key": ...,
}
ClusterServiceConnectDefaultsRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ClusterServiceConnectDefaultsRequestTypeDef
def get_value() -> ClusterServiceConnectDefaultsRequestTypeDef:
return {
"namespace": ...,
}
ClusterServiceConnectDefaultsTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ClusterServiceConnectDefaultsTypeDef
def get_value() -> ClusterServiceConnectDefaultsTypeDef:
return {
"namespace": ...,
}
ClusterSettingTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ClusterSettingTypeDef
def get_value() -> ClusterSettingTypeDef:
return {
"name": ...,
}
Definition
class ClusterSettingTypeDef(TypedDict):
name: NotRequired[ClusterSettingNameType], # (1)
value: NotRequired[str],
ContainerDependencyTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ContainerDependencyTypeDef
def get_value() -> ContainerDependencyTypeDef:
return {
"containerName": ...,
"condition": ...,
}
Definition
class ContainerDependencyTypeDef(TypedDict):
containerName: str,
condition: ContainerConditionType, # (1)
EnvironmentFileTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import EnvironmentFileTypeDef
def get_value() -> EnvironmentFileTypeDef:
return {
"value": ...,
"type": ...,
}
FirelensConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import FirelensConfigurationTypeDef
def get_value() -> FirelensConfigurationTypeDef:
return {
"type": ...,
}
Definition
class FirelensConfigurationTypeDef(TypedDict):
type: FirelensConfigurationTypeType, # (1)
options: NotRequired[Dict[str, str]],
HealthCheckTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import HealthCheckTypeDef
def get_value() -> HealthCheckTypeDef:
return {
"command": ...,
}
Definition
class HealthCheckTypeDef(TypedDict):
command: List[str],
interval: NotRequired[int],
timeout: NotRequired[int],
retries: NotRequired[int],
startPeriod: NotRequired[int],
HostEntryTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import HostEntryTypeDef
def get_value() -> HostEntryTypeDef:
return {
"hostname": ...,
"ipAddress": ...,
}
MountPointTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import MountPointTypeDef
def get_value() -> MountPointTypeDef:
return {
"sourceVolume": ...,
}
Definition
class MountPointTypeDef(TypedDict):
sourceVolume: NotRequired[str],
containerPath: NotRequired[str],
readOnly: NotRequired[bool],
PortMappingTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PortMappingTypeDef
def get_value() -> PortMappingTypeDef:
return {
"containerPort": ...,
}
Definition
class PortMappingTypeDef(TypedDict):
containerPort: NotRequired[int],
hostPort: NotRequired[int],
protocol: NotRequired[TransportProtocolType], # (1)
name: NotRequired[str],
appProtocol: NotRequired[ApplicationProtocolType], # (2)
containerPortRange: NotRequired[str],
RepositoryCredentialsTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import RepositoryCredentialsTypeDef
def get_value() -> RepositoryCredentialsTypeDef:
return {
"credentialsParameter": ...,
}
ResourceRequirementTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ResourceRequirementTypeDef
def get_value() -> ResourceRequirementTypeDef:
return {
"value": ...,
"type": ...,
}
- See ResourceTypeType
SecretTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import SecretTypeDef
def get_value() -> SecretTypeDef:
return {
"name": ...,
"valueFrom": ...,
}
SystemControlTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import SystemControlTypeDef
def get_value() -> SystemControlTypeDef:
return {
"namespace": ...,
}
Definition
class SystemControlTypeDef(TypedDict):
namespace: NotRequired[str],
value: NotRequired[str],
UlimitTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UlimitTypeDef
def get_value() -> UlimitTypeDef:
return {
"name": ...,
"softLimit": ...,
"hardLimit": ...,
}
Definition
class UlimitTypeDef(TypedDict):
name: UlimitNameType, # (1)
softLimit: int,
hardLimit: int,
- See UlimitNameType
VolumeFromTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import VolumeFromTypeDef
def get_value() -> VolumeFromTypeDef:
return {
"sourceContainer": ...,
}
Definition
class VolumeFromTypeDef(TypedDict):
sourceContainer: NotRequired[str],
readOnly: NotRequired[bool],
InstanceHealthCheckResultTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import InstanceHealthCheckResultTypeDef
def get_value() -> InstanceHealthCheckResultTypeDef:
return {
"type": ...,
}
Definition
class InstanceHealthCheckResultTypeDef(TypedDict):
type: NotRequired[InstanceHealthCheckTypeType], # (1)
status: NotRequired[InstanceHealthCheckStateType], # (2)
lastUpdated: NotRequired[datetime],
lastStatusChange: NotRequired[datetime],
ResourceTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ResourceTypeDef
def get_value() -> ResourceTypeDef:
return {
"name": ...,
}
Definition
class ResourceTypeDef(TypedDict):
name: NotRequired[str],
type: NotRequired[str],
doubleValue: NotRequired[float],
longValue: NotRequired[int],
integerValue: NotRequired[int],
stringSetValue: NotRequired[List[str]],
VersionInfoTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import VersionInfoTypeDef
def get_value() -> VersionInfoTypeDef:
return {
"agentVersion": ...,
}
Definition
class VersionInfoTypeDef(TypedDict):
agentVersion: NotRequired[str],
agentHash: NotRequired[str],
dockerVersion: NotRequired[str],
NetworkBindingTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import NetworkBindingTypeDef
def get_value() -> NetworkBindingTypeDef:
return {
"bindIP": ...,
}
Definition
class NetworkBindingTypeDef(TypedDict):
bindIP: NotRequired[str],
containerPort: NotRequired[int],
hostPort: NotRequired[int],
protocol: NotRequired[TransportProtocolType], # (1)
containerPortRange: NotRequired[str],
hostPortRange: NotRequired[str],
ManagedAgentTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ManagedAgentTypeDef
def get_value() -> ManagedAgentTypeDef:
return {
"lastStartedAt": ...,
}
Definition
class ManagedAgentTypeDef(TypedDict):
lastStartedAt: NotRequired[datetime],
name: NotRequired[ManagedAgentNameType], # (1)
reason: NotRequired[str],
lastStatus: NotRequired[str],
NetworkInterfaceTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import NetworkInterfaceTypeDef
def get_value() -> NetworkInterfaceTypeDef:
return {
"attachmentId": ...,
}
Definition
class NetworkInterfaceTypeDef(TypedDict):
attachmentId: NotRequired[str],
privateIpv4Address: NotRequired[str],
ipv6Address: NotRequired[str],
ResponseMetadataTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
Definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
DeploymentControllerTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeploymentControllerTypeDef
def get_value() -> DeploymentControllerTypeDef:
return {
"type": ...,
}
LoadBalancerTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import LoadBalancerTypeDef
def get_value() -> LoadBalancerTypeDef:
return {
"targetGroupArn": ...,
}
Definition
class LoadBalancerTypeDef(TypedDict):
targetGroupArn: NotRequired[str],
loadBalancerName: NotRequired[str],
containerName: NotRequired[str],
containerPort: NotRequired[int],
PlacementConstraintTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PlacementConstraintTypeDef
def get_value() -> PlacementConstraintTypeDef:
return {
"type": ...,
}
Definition
class PlacementConstraintTypeDef(TypedDict):
type: NotRequired[PlacementConstraintTypeType], # (1)
expression: NotRequired[str],
PlacementStrategyTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PlacementStrategyTypeDef
def get_value() -> PlacementStrategyTypeDef:
return {
"type": ...,
}
Definition
class PlacementStrategyTypeDef(TypedDict):
type: NotRequired[PlacementStrategyTypeType], # (1)
field: NotRequired[str],
ServiceRegistryTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ServiceRegistryTypeDef
def get_value() -> ServiceRegistryTypeDef:
return {
"registryArn": ...,
}
Definition
class ServiceRegistryTypeDef(TypedDict):
registryArn: NotRequired[str],
port: NotRequired[int],
containerName: NotRequired[str],
containerPort: NotRequired[int],
ScaleTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ScaleTypeDef
def get_value() -> ScaleTypeDef:
return {
"value": ...,
}
Definition
class ScaleTypeDef(TypedDict):
value: NotRequired[float],
unit: NotRequired[ScaleUnitType], # (1)
- See ScaleUnitType
DeleteAccountSettingRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteAccountSettingRequestRequestTypeDef
def get_value() -> DeleteAccountSettingRequestRequestTypeDef:
return {
"name": ...,
}
Definition
class DeleteAccountSettingRequestRequestTypeDef(TypedDict):
name: SettingNameType, # (1)
principalArn: NotRequired[str],
- See SettingNameType
SettingTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import SettingTypeDef
def get_value() -> SettingTypeDef:
return {
"name": ...,
}
Definition
class SettingTypeDef(TypedDict):
name: NotRequired[SettingNameType], # (1)
value: NotRequired[str],
principalArn: NotRequired[str],
- See SettingNameType
DeleteCapacityProviderRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteCapacityProviderRequestRequestTypeDef
def get_value() -> DeleteCapacityProviderRequestRequestTypeDef:
return {
"capacityProvider": ...,
}
DeleteClusterRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteClusterRequestRequestTypeDef
def get_value() -> DeleteClusterRequestRequestTypeDef:
return {
"cluster": ...,
}
DeleteServiceRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteServiceRequestRequestTypeDef
def get_value() -> DeleteServiceRequestRequestTypeDef:
return {
"service": ...,
}
Definition
class DeleteServiceRequestRequestTypeDef(TypedDict):
service: str,
cluster: NotRequired[str],
force: NotRequired[bool],
DeleteTaskDefinitionsRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteTaskDefinitionsRequestRequestTypeDef
def get_value() -> DeleteTaskDefinitionsRequestRequestTypeDef:
return {
"taskDefinitions": ...,
}
Definition
class DeleteTaskDefinitionsRequestRequestTypeDef(TypedDict):
taskDefinitions: Sequence[str],
FailureTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import FailureTypeDef
def get_value() -> FailureTypeDef:
return {
"arn": ...,
}
Definition
class FailureTypeDef(TypedDict):
arn: NotRequired[str],
reason: NotRequired[str],
detail: NotRequired[str],
DeleteTaskSetRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteTaskSetRequestRequestTypeDef
def get_value() -> DeleteTaskSetRequestRequestTypeDef:
return {
"cluster": ...,
"service": ...,
"taskSet": ...,
}
Definition
class DeleteTaskSetRequestRequestTypeDef(TypedDict):
cluster: str,
service: str,
taskSet: str,
force: NotRequired[bool],
DeploymentAlarmsTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeploymentAlarmsTypeDef
def get_value() -> DeploymentAlarmsTypeDef:
return {
"alarmNames": ...,
"enable": ...,
"rollback": ...,
}
Definition
class DeploymentAlarmsTypeDef(TypedDict):
alarmNames: Sequence[str],
enable: bool,
rollback: bool,
DeploymentCircuitBreakerTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeploymentCircuitBreakerTypeDef
def get_value() -> DeploymentCircuitBreakerTypeDef:
return {
"enable": ...,
"rollback": ...,
}
ServiceConnectServiceResourceTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ServiceConnectServiceResourceTypeDef
def get_value() -> ServiceConnectServiceResourceTypeDef:
return {
"discoveryName": ...,
}
Definition
class ServiceConnectServiceResourceTypeDef(TypedDict):
discoveryName: NotRequired[str],
discoveryArn: NotRequired[str],
DeregisterContainerInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeregisterContainerInstanceRequestRequestTypeDef
def get_value() -> DeregisterContainerInstanceRequestRequestTypeDef:
return {
"containerInstance": ...,
}
Definition
class DeregisterContainerInstanceRequestRequestTypeDef(TypedDict):
containerInstance: str,
cluster: NotRequired[str],
force: NotRequired[bool],
DeregisterTaskDefinitionRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeregisterTaskDefinitionRequestRequestTypeDef
def get_value() -> DeregisterTaskDefinitionRequestRequestTypeDef:
return {
"taskDefinition": ...,
}
DescribeCapacityProvidersRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeCapacityProvidersRequestRequestTypeDef
def get_value() -> DescribeCapacityProvidersRequestRequestTypeDef:
return {
"capacityProviders": ...,
}
Definition
class DescribeCapacityProvidersRequestRequestTypeDef(TypedDict):
capacityProviders: NotRequired[Sequence[str]],
include: NotRequired[Sequence[CapacityProviderFieldType]], # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
DescribeClustersRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeClustersRequestRequestTypeDef
def get_value() -> DescribeClustersRequestRequestTypeDef:
return {
"clusters": ...,
}
Definition
class DescribeClustersRequestRequestTypeDef(TypedDict):
clusters: NotRequired[Sequence[str]],
include: NotRequired[Sequence[ClusterFieldType]], # (1)
- See ClusterFieldType
DescribeContainerInstancesRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeContainerInstancesRequestRequestTypeDef
def get_value() -> DescribeContainerInstancesRequestRequestTypeDef:
return {
"containerInstances": ...,
}
Definition
class DescribeContainerInstancesRequestRequestTypeDef(TypedDict):
containerInstances: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[ContainerInstanceFieldType]], # (1)
DescribeServicesRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeServicesRequestRequestTypeDef
def get_value() -> DescribeServicesRequestRequestTypeDef:
return {
"services": ...,
}
Definition
class DescribeServicesRequestRequestTypeDef(TypedDict):
services: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[ServiceFieldType]], # (1)
- See ServiceFieldType
WaiterConfigTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import WaiterConfigTypeDef
def get_value() -> WaiterConfigTypeDef:
return {
"Delay": ...,
}
Definition
class WaiterConfigTypeDef(TypedDict):
Delay: NotRequired[int],
MaxAttempts: NotRequired[int],
DescribeTaskDefinitionRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeTaskDefinitionRequestRequestTypeDef
def get_value() -> DescribeTaskDefinitionRequestRequestTypeDef:
return {
"taskDefinition": ...,
}
Definition
class DescribeTaskDefinitionRequestRequestTypeDef(TypedDict):
taskDefinition: str,
include: NotRequired[Sequence[TaskDefinitionFieldType]], # (1)
DescribeTaskSetsRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeTaskSetsRequestRequestTypeDef
def get_value() -> DescribeTaskSetsRequestRequestTypeDef:
return {
"cluster": ...,
"service": ...,
}
Definition
class DescribeTaskSetsRequestRequestTypeDef(TypedDict):
cluster: str,
service: str,
taskSets: NotRequired[Sequence[str]],
include: NotRequired[Sequence[TaskSetFieldType]], # (1)
- See TaskSetFieldType
DescribeTasksRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeTasksRequestRequestTypeDef
def get_value() -> DescribeTasksRequestRequestTypeDef:
return {
"tasks": ...,
}
Definition
class DescribeTasksRequestRequestTypeDef(TypedDict):
tasks: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[TaskFieldType]], # (1)
- See TaskFieldType
DeviceTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeviceTypeDef
def get_value() -> DeviceTypeDef:
return {
"hostPath": ...,
}
Definition
class DeviceTypeDef(TypedDict):
hostPath: str,
containerPath: NotRequired[str],
permissions: NotRequired[List[DeviceCgroupPermissionType]], # (1)
DiscoverPollEndpointRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DiscoverPollEndpointRequestRequestTypeDef
def get_value() -> DiscoverPollEndpointRequestRequestTypeDef:
return {
"containerInstance": ...,
}
Definition
class DiscoverPollEndpointRequestRequestTypeDef(TypedDict):
containerInstance: NotRequired[str],
cluster: NotRequired[str],
DockerVolumeConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DockerVolumeConfigurationTypeDef
def get_value() -> DockerVolumeConfigurationTypeDef:
return {
"scope": ...,
}
Definition
class DockerVolumeConfigurationTypeDef(TypedDict):
scope: NotRequired[ScopeType], # (1)
autoprovision: NotRequired[bool],
driver: NotRequired[str],
driverOpts: NotRequired[Dict[str, str]],
labels: NotRequired[Dict[str, str]],
- See ScopeType
EFSAuthorizationConfigTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import EFSAuthorizationConfigTypeDef
def get_value() -> EFSAuthorizationConfigTypeDef:
return {
"accessPointId": ...,
}
Definition
class EFSAuthorizationConfigTypeDef(TypedDict):
accessPointId: NotRequired[str],
iam: NotRequired[EFSAuthorizationConfigIAMType], # (1)
EphemeralStorageTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import EphemeralStorageTypeDef
def get_value() -> EphemeralStorageTypeDef:
return {
"sizeInGiB": ...,
}
ExecuteCommandLogConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ExecuteCommandLogConfigurationTypeDef
def get_value() -> ExecuteCommandLogConfigurationTypeDef:
return {
"cloudWatchLogGroupName": ...,
}
Definition
class ExecuteCommandLogConfigurationTypeDef(TypedDict):
cloudWatchLogGroupName: NotRequired[str],
cloudWatchEncryptionEnabled: NotRequired[bool],
s3BucketName: NotRequired[str],
s3EncryptionEnabled: NotRequired[bool],
s3KeyPrefix: NotRequired[str],
ExecuteCommandRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ExecuteCommandRequestRequestTypeDef
def get_value() -> ExecuteCommandRequestRequestTypeDef:
return {
"command": ...,
"interactive": ...,
"task": ...,
}
Definition
class ExecuteCommandRequestRequestTypeDef(TypedDict):
command: str,
interactive: bool,
task: str,
cluster: NotRequired[str],
container: NotRequired[str],
SessionTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import SessionTypeDef
def get_value() -> SessionTypeDef:
return {
"sessionId": ...,
}
Definition
class SessionTypeDef(TypedDict):
sessionId: NotRequired[str],
streamUrl: NotRequired[str],
tokenValue: NotRequired[str],
FSxWindowsFileServerAuthorizationConfigTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import FSxWindowsFileServerAuthorizationConfigTypeDef
def get_value() -> FSxWindowsFileServerAuthorizationConfigTypeDef:
return {
"credentialsParameter": ...,
"domain": ...,
}
Definition
class FSxWindowsFileServerAuthorizationConfigTypeDef(TypedDict):
credentialsParameter: str,
domain: str,
GetTaskProtectionRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import GetTaskProtectionRequestRequestTypeDef
def get_value() -> GetTaskProtectionRequestRequestTypeDef:
return {
"cluster": ...,
}
Definition
class GetTaskProtectionRequestRequestTypeDef(TypedDict):
cluster: str,
tasks: NotRequired[Sequence[str]],
ProtectedTaskTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ProtectedTaskTypeDef
def get_value() -> ProtectedTaskTypeDef:
return {
"taskArn": ...,
}
Definition
class ProtectedTaskTypeDef(TypedDict):
taskArn: NotRequired[str],
protectionEnabled: NotRequired[bool],
expirationDate: NotRequired[datetime],
HostVolumePropertiesTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import HostVolumePropertiesTypeDef
def get_value() -> HostVolumePropertiesTypeDef:
return {
"sourcePath": ...,
}
InferenceAcceleratorOverrideTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import InferenceAcceleratorOverrideTypeDef
def get_value() -> InferenceAcceleratorOverrideTypeDef:
return {
"deviceName": ...,
}
Definition
class InferenceAcceleratorOverrideTypeDef(TypedDict):
deviceName: NotRequired[str],
deviceType: NotRequired[str],
InferenceAcceleratorTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import InferenceAcceleratorTypeDef
def get_value() -> InferenceAcceleratorTypeDef:
return {
"deviceName": ...,
"deviceType": ...,
}
KernelCapabilitiesTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import KernelCapabilitiesTypeDef
def get_value() -> KernelCapabilitiesTypeDef:
return {
"add": ...,
}
Definition
class KernelCapabilitiesTypeDef(TypedDict):
add: NotRequired[List[str]],
drop: NotRequired[List[str]],
TmpfsTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import TmpfsTypeDef
def get_value() -> TmpfsTypeDef:
return {
"containerPath": ...,
"size": ...,
}
Definition
class TmpfsTypeDef(TypedDict):
containerPath: str,
size: int,
mountOptions: NotRequired[List[str]],
PaginatorConfigTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PaginatorConfigTypeDef
def get_value() -> PaginatorConfigTypeDef:
return {
"MaxItems": ...,
}
Definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListAccountSettingsRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListAccountSettingsRequestRequestTypeDef
def get_value() -> ListAccountSettingsRequestRequestTypeDef:
return {
"name": ...,
}
Definition
class ListAccountSettingsRequestRequestTypeDef(TypedDict):
name: NotRequired[SettingNameType], # (1)
value: NotRequired[str],
principalArn: NotRequired[str],
effectiveSettings: NotRequired[bool],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
- See SettingNameType
ListAttributesRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListAttributesRequestRequestTypeDef
def get_value() -> ListAttributesRequestRequestTypeDef:
return {
"targetType": ...,
}
Definition
class ListAttributesRequestRequestTypeDef(TypedDict):
targetType: TargetTypeType, # (1)
cluster: NotRequired[str],
attributeName: NotRequired[str],
attributeValue: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
- See TargetTypeType
ListClustersRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListClustersRequestRequestTypeDef
def get_value() -> ListClustersRequestRequestTypeDef:
return {
"nextToken": ...,
}
Definition
class ListClustersRequestRequestTypeDef(TypedDict):
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListContainerInstancesRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListContainerInstancesRequestRequestTypeDef
def get_value() -> ListContainerInstancesRequestRequestTypeDef:
return {
"cluster": ...,
}
Definition
class ListContainerInstancesRequestRequestTypeDef(TypedDict):
cluster: NotRequired[str],
filter: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
status: NotRequired[ContainerInstanceStatusType], # (1)
ListServicesByNamespaceRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListServicesByNamespaceRequestRequestTypeDef
def get_value() -> ListServicesByNamespaceRequestRequestTypeDef:
return {
"namespace": ...,
}
Definition
class ListServicesByNamespaceRequestRequestTypeDef(TypedDict):
namespace: str,
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListServicesRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListServicesRequestRequestTypeDef
def get_value() -> ListServicesRequestRequestTypeDef:
return {
"cluster": ...,
}
Definition
class ListServicesRequestRequestTypeDef(TypedDict):
cluster: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
launchType: NotRequired[LaunchTypeType], # (1)
schedulingStrategy: NotRequired[SchedulingStrategyType], # (2)
- See LaunchTypeType
- See SchedulingStrategyType
ListTagsForResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
}
ListTaskDefinitionFamiliesRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionFamiliesRequestRequestTypeDef
def get_value() -> ListTaskDefinitionFamiliesRequestRequestTypeDef:
return {
"familyPrefix": ...,
}
Definition
class ListTaskDefinitionFamiliesRequestRequestTypeDef(TypedDict):
familyPrefix: NotRequired[str],
status: NotRequired[TaskDefinitionFamilyStatusType], # (1)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListTaskDefinitionsRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionsRequestRequestTypeDef
def get_value() -> ListTaskDefinitionsRequestRequestTypeDef:
return {
"familyPrefix": ...,
}
Definition
class ListTaskDefinitionsRequestRequestTypeDef(TypedDict):
familyPrefix: NotRequired[str],
status: NotRequired[TaskDefinitionStatusType], # (1)
sort: NotRequired[SortOrderType], # (2)
nextToken: NotRequired[str],
maxResults: NotRequired[int],
ListTasksRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListTasksRequestRequestTypeDef
def get_value() -> ListTasksRequestRequestTypeDef:
return {
"cluster": ...,
}
Definition
class ListTasksRequestRequestTypeDef(TypedDict):
cluster: NotRequired[str],
containerInstance: NotRequired[str],
family: NotRequired[str],
nextToken: NotRequired[str],
maxResults: NotRequired[int],
startedBy: NotRequired[str],
serviceName: NotRequired[str],
desiredStatus: NotRequired[DesiredStatusType], # (1)
launchType: NotRequired[LaunchTypeType], # (2)
- See DesiredStatusType
- See LaunchTypeType
ManagedAgentStateChangeTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ManagedAgentStateChangeTypeDef
def get_value() -> ManagedAgentStateChangeTypeDef:
return {
"containerName": ...,
"managedAgentName": ...,
"status": ...,
}
Definition
class ManagedAgentStateChangeTypeDef(TypedDict):
containerName: str,
managedAgentName: ManagedAgentNameType, # (1)
status: str,
reason: NotRequired[str],
PlatformDeviceTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PlatformDeviceTypeDef
def get_value() -> PlatformDeviceTypeDef:
return {
"id": ...,
"type": ...,
}
PutAccountSettingDefaultRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PutAccountSettingDefaultRequestRequestTypeDef
def get_value() -> PutAccountSettingDefaultRequestRequestTypeDef:
return {
"name": ...,
"value": ...,
}
Definition
class PutAccountSettingDefaultRequestRequestTypeDef(TypedDict):
name: SettingNameType, # (1)
value: str,
- See SettingNameType
PutAccountSettingRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PutAccountSettingRequestRequestTypeDef
def get_value() -> PutAccountSettingRequestRequestTypeDef:
return {
"name": ...,
"value": ...,
}
Definition
class PutAccountSettingRequestRequestTypeDef(TypedDict):
name: SettingNameType, # (1)
value: str,
principalArn: NotRequired[str],
- See SettingNameType
RuntimePlatformTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import RuntimePlatformTypeDef
def get_value() -> RuntimePlatformTypeDef:
return {
"cpuArchitecture": ...,
}
Definition
class RuntimePlatformTypeDef(TypedDict):
cpuArchitecture: NotRequired[CPUArchitectureType], # (1)
operatingSystemFamily: NotRequired[OSFamilyType], # (2)
- See CPUArchitectureType
- See OSFamilyType
TaskDefinitionPlacementConstraintTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import TaskDefinitionPlacementConstraintTypeDef
def get_value() -> TaskDefinitionPlacementConstraintTypeDef:
return {
"type": ...,
}
Definition
class TaskDefinitionPlacementConstraintTypeDef(TypedDict):
type: NotRequired[TaskDefinitionPlacementConstraintTypeType], # (1)
expression: NotRequired[str],
ServiceConnectClientAliasTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ServiceConnectClientAliasTypeDef
def get_value() -> ServiceConnectClientAliasTypeDef:
return {
"port": ...,
}
ServiceEventTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ServiceEventTypeDef
def get_value() -> ServiceEventTypeDef:
return {
"id": ...,
}
Definition
class ServiceEventTypeDef(TypedDict):
id: NotRequired[str],
createdAt: NotRequired[datetime],
message: NotRequired[str],
StopTaskRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import StopTaskRequestRequestTypeDef
def get_value() -> StopTaskRequestRequestTypeDef:
return {
"task": ...,
}
Definition
class StopTaskRequestRequestTypeDef(TypedDict):
task: str,
cluster: NotRequired[str],
reason: NotRequired[str],
UntagResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
"tagKeys": ...,
}
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
UpdateContainerAgentRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateContainerAgentRequestRequestTypeDef
def get_value() -> UpdateContainerAgentRequestRequestTypeDef:
return {
"containerInstance": ...,
}
Definition
class UpdateContainerAgentRequestRequestTypeDef(TypedDict):
containerInstance: str,
cluster: NotRequired[str],
UpdateContainerInstancesStateRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateContainerInstancesStateRequestRequestTypeDef
def get_value() -> UpdateContainerInstancesStateRequestRequestTypeDef:
return {
"containerInstances": ...,
"status": ...,
}
Definition
class UpdateContainerInstancesStateRequestRequestTypeDef(TypedDict):
containerInstances: Sequence[str],
status: ContainerInstanceStatusType, # (1)
cluster: NotRequired[str],
UpdateServicePrimaryTaskSetRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateServicePrimaryTaskSetRequestRequestTypeDef
def get_value() -> UpdateServicePrimaryTaskSetRequestRequestTypeDef:
return {
"cluster": ...,
"service": ...,
"primaryTaskSet": ...,
}
Definition
class UpdateServicePrimaryTaskSetRequestRequestTypeDef(TypedDict):
cluster: str,
service: str,
primaryTaskSet: str,
UpdateTaskProtectionRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateTaskProtectionRequestRequestTypeDef
def get_value() -> UpdateTaskProtectionRequestRequestTypeDef:
return {
"cluster": ...,
"tasks": ...,
"protectionEnabled": ...,
}
Definition
class UpdateTaskProtectionRequestRequestTypeDef(TypedDict):
cluster: str,
tasks: Sequence[str],
protectionEnabled: bool,
expiresInMinutes: NotRequired[int],
SubmitAttachmentStateChangesRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import SubmitAttachmentStateChangesRequestRequestTypeDef
def get_value() -> SubmitAttachmentStateChangesRequestRequestTypeDef:
return {
"attachments": ...,
}
Definition
class SubmitAttachmentStateChangesRequestRequestTypeDef(TypedDict):
attachments: Sequence[AttachmentStateChangeTypeDef], # (1)
cluster: NotRequired[str],
AttachmentTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import AttachmentTypeDef
def get_value() -> AttachmentTypeDef:
return {
"id": ...,
}
Definition
class AttachmentTypeDef(TypedDict):
id: NotRequired[str],
type: NotRequired[str],
status: NotRequired[str],
details: NotRequired[List[KeyValuePairTypeDef]], # (1)
ProxyConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ProxyConfigurationTypeDef
def get_value() -> ProxyConfigurationTypeDef:
return {
"containerName": ...,
}
Definition
class ProxyConfigurationTypeDef(TypedDict):
containerName: str,
type: NotRequired[ProxyConfigurationTypeType], # (1)
properties: NotRequired[List[KeyValuePairTypeDef]], # (2)
DeleteAttributesRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteAttributesRequestRequestTypeDef
def get_value() -> DeleteAttributesRequestRequestTypeDef:
return {
"attributes": ...,
}
Definition
class DeleteAttributesRequestRequestTypeDef(TypedDict):
attributes: Sequence[AttributeTypeDef], # (1)
cluster: NotRequired[str],
- See AttributeTypeDef
PutAttributesRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PutAttributesRequestRequestTypeDef
def get_value() -> PutAttributesRequestRequestTypeDef:
return {
"attributes": ...,
}
Definition
class PutAttributesRequestRequestTypeDef(TypedDict):
attributes: Sequence[AttributeTypeDef], # (1)
cluster: NotRequired[str],
- See AttributeTypeDef
AutoScalingGroupProviderTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import AutoScalingGroupProviderTypeDef
def get_value() -> AutoScalingGroupProviderTypeDef:
return {
"autoScalingGroupArn": ...,
}
Definition
class AutoScalingGroupProviderTypeDef(TypedDict):
autoScalingGroupArn: str,
managedScaling: NotRequired[ManagedScalingTypeDef], # (1)
managedTerminationProtection: NotRequired[ManagedTerminationProtectionType], # (2)
AutoScalingGroupProviderUpdateTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import AutoScalingGroupProviderUpdateTypeDef
def get_value() -> AutoScalingGroupProviderUpdateTypeDef:
return {
"managedScaling": ...,
}
Definition
class AutoScalingGroupProviderUpdateTypeDef(TypedDict):
managedScaling: NotRequired[ManagedScalingTypeDef], # (1)
managedTerminationProtection: NotRequired[ManagedTerminationProtectionType], # (2)
NetworkConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import NetworkConfigurationTypeDef
def get_value() -> NetworkConfigurationTypeDef:
return {
"awsvpcConfiguration": ...,
}
Definition
class NetworkConfigurationTypeDef(TypedDict):
awsvpcConfiguration: NotRequired[AwsVpcConfigurationTypeDef], # (1)
PutClusterCapacityProvidersRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PutClusterCapacityProvidersRequestRequestTypeDef
def get_value() -> PutClusterCapacityProvidersRequestRequestTypeDef:
return {
"cluster": ...,
"capacityProviders": ...,
"defaultCapacityProviderStrategy": ...,
}
Definition
class PutClusterCapacityProvidersRequestRequestTypeDef(TypedDict):
cluster: str,
capacityProviders: Sequence[str],
defaultCapacityProviderStrategy: Sequence[CapacityProviderStrategyItemTypeDef], # (1)
TagResourceRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
"tags": ...,
}
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Sequence[TagTypeDef], # (1)
- See TagTypeDef
UpdateClusterSettingsRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateClusterSettingsRequestRequestTypeDef
def get_value() -> UpdateClusterSettingsRequestRequestTypeDef:
return {
"cluster": ...,
"settings": ...,
}
Definition
class UpdateClusterSettingsRequestRequestTypeDef(TypedDict):
cluster: str,
settings: Sequence[ClusterSettingTypeDef], # (1)
ContainerOverrideTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ContainerOverrideTypeDef
def get_value() -> ContainerOverrideTypeDef:
return {
"name": ...,
}
Definition
class ContainerOverrideTypeDef(TypedDict):
name: NotRequired[str],
command: NotRequired[List[str]],
environment: NotRequired[List[KeyValuePairTypeDef]], # (1)
environmentFiles: NotRequired[List[EnvironmentFileTypeDef]], # (2)
cpu: NotRequired[int],
memory: NotRequired[int],
memoryReservation: NotRequired[int],
resourceRequirements: NotRequired[List[ResourceRequirementTypeDef]], # (3)
LogConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import LogConfigurationTypeDef
def get_value() -> LogConfigurationTypeDef:
return {
"logDriver": ...,
}
Definition
class LogConfigurationTypeDef(TypedDict):
logDriver: LogDriverType, # (1)
options: NotRequired[Mapping[str, str]],
secretOptions: NotRequired[Sequence[SecretTypeDef]], # (2)
- See LogDriverType
- See SecretTypeDef
ContainerInstanceHealthStatusTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ContainerInstanceHealthStatusTypeDef
def get_value() -> ContainerInstanceHealthStatusTypeDef:
return {
"overallStatus": ...,
}
Definition
class ContainerInstanceHealthStatusTypeDef(TypedDict):
overallStatus: NotRequired[InstanceHealthCheckStateType], # (1)
details: NotRequired[List[InstanceHealthCheckResultTypeDef]], # (2)
ContainerStateChangeTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ContainerStateChangeTypeDef
def get_value() -> ContainerStateChangeTypeDef:
return {
"containerName": ...,
}
Definition
class ContainerStateChangeTypeDef(TypedDict):
containerName: NotRequired[str],
imageDigest: NotRequired[str],
runtimeId: NotRequired[str],
exitCode: NotRequired[int],
networkBindings: NotRequired[Sequence[NetworkBindingTypeDef]], # (1)
reason: NotRequired[str],
status: NotRequired[str],
SubmitContainerStateChangeRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import SubmitContainerStateChangeRequestRequestTypeDef
def get_value() -> SubmitContainerStateChangeRequestRequestTypeDef:
return {
"cluster": ...,
}
Definition
class SubmitContainerStateChangeRequestRequestTypeDef(TypedDict):
cluster: NotRequired[str],
task: NotRequired[str],
containerName: NotRequired[str],
runtimeId: NotRequired[str],
status: NotRequired[str],
exitCode: NotRequired[int],
reason: NotRequired[str],
networkBindings: NotRequired[Sequence[NetworkBindingTypeDef]], # (1)
ContainerTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ContainerTypeDef
def get_value() -> ContainerTypeDef:
return {
"containerArn": ...,
}
Definition
class ContainerTypeDef(TypedDict):
containerArn: NotRequired[str],
taskArn: NotRequired[str],
name: NotRequired[str],
image: NotRequired[str],
imageDigest: NotRequired[str],
runtimeId: NotRequired[str],
lastStatus: NotRequired[str],
exitCode: NotRequired[int],
reason: NotRequired[str],
networkBindings: NotRequired[List[NetworkBindingTypeDef]], # (1)
networkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]], # (2)
healthStatus: NotRequired[HealthStatusType], # (3)
managedAgents: NotRequired[List[ManagedAgentTypeDef]], # (4)
cpu: NotRequired[str],
memory: NotRequired[str],
memoryReservation: NotRequired[str],
gpuIds: NotRequired[List[str]],
DeleteAttributesResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteAttributesResponseTypeDef
def get_value() -> DeleteAttributesResponseTypeDef:
return {
"attributes": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteAttributesResponseTypeDef(TypedDict):
attributes: List[AttributeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DiscoverPollEndpointResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DiscoverPollEndpointResponseTypeDef
def get_value() -> DiscoverPollEndpointResponseTypeDef:
return {
"endpoint": ...,
"telemetryEndpoint": ...,
"serviceConnectEndpoint": ...,
"ResponseMetadata": ...,
}
Definition
class DiscoverPollEndpointResponseTypeDef(TypedDict):
endpoint: str,
telemetryEndpoint: str,
serviceConnectEndpoint: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListAttributesResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListAttributesResponseTypeDef
def get_value() -> ListAttributesResponseTypeDef:
return {
"attributes": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListAttributesResponseTypeDef(TypedDict):
attributes: List[AttributeTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListClustersResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListClustersResponseTypeDef
def get_value() -> ListClustersResponseTypeDef:
return {
"clusterArns": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListClustersResponseTypeDef(TypedDict):
clusterArns: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListContainerInstancesResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListContainerInstancesResponseTypeDef
def get_value() -> ListContainerInstancesResponseTypeDef:
return {
"containerInstanceArns": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListContainerInstancesResponseTypeDef(TypedDict):
containerInstanceArns: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListServicesByNamespaceResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListServicesByNamespaceResponseTypeDef
def get_value() -> ListServicesByNamespaceResponseTypeDef:
return {
"serviceArns": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListServicesByNamespaceResponseTypeDef(TypedDict):
serviceArns: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListServicesResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListServicesResponseTypeDef
def get_value() -> ListServicesResponseTypeDef:
return {
"serviceArns": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListServicesResponseTypeDef(TypedDict):
serviceArns: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListTagsForResourceResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"tags": ...,
"ResponseMetadata": ...,
}
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: List[TagTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TagTypeDef
- See ResponseMetadataTypeDef
ListTaskDefinitionFamiliesResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionFamiliesResponseTypeDef
def get_value() -> ListTaskDefinitionFamiliesResponseTypeDef:
return {
"families": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListTaskDefinitionFamiliesResponseTypeDef(TypedDict):
families: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListTaskDefinitionsResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionsResponseTypeDef
def get_value() -> ListTaskDefinitionsResponseTypeDef:
return {
"taskDefinitionArns": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListTaskDefinitionsResponseTypeDef(TypedDict):
taskDefinitionArns: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListTasksResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListTasksResponseTypeDef
def get_value() -> ListTasksResponseTypeDef:
return {
"taskArns": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListTasksResponseTypeDef(TypedDict):
taskArns: List[str],
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PutAttributesResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PutAttributesResponseTypeDef
def get_value() -> PutAttributesResponseTypeDef:
return {
"attributes": ...,
"ResponseMetadata": ...,
}
Definition
class PutAttributesResponseTypeDef(TypedDict):
attributes: List[AttributeTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SubmitAttachmentStateChangesResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import SubmitAttachmentStateChangesResponseTypeDef
def get_value() -> SubmitAttachmentStateChangesResponseTypeDef:
return {
"acknowledgment": ...,
"ResponseMetadata": ...,
}
Definition
class SubmitAttachmentStateChangesResponseTypeDef(TypedDict):
acknowledgment: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SubmitContainerStateChangeResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import SubmitContainerStateChangeResponseTypeDef
def get_value() -> SubmitContainerStateChangeResponseTypeDef:
return {
"acknowledgment": ...,
"ResponseMetadata": ...,
}
Definition
class SubmitContainerStateChangeResponseTypeDef(TypedDict):
acknowledgment: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
SubmitTaskStateChangeResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import SubmitTaskStateChangeResponseTypeDef
def get_value() -> SubmitTaskStateChangeResponseTypeDef:
return {
"acknowledgment": ...,
"ResponseMetadata": ...,
}
Definition
class SubmitTaskStateChangeResponseTypeDef(TypedDict):
acknowledgment: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateTaskSetRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateTaskSetRequestRequestTypeDef
def get_value() -> UpdateTaskSetRequestRequestTypeDef:
return {
"cluster": ...,
"service": ...,
"taskSet": ...,
"scale": ...,
}
Definition
class UpdateTaskSetRequestRequestTypeDef(TypedDict):
cluster: str,
service: str,
taskSet: str,
scale: ScaleTypeDef, # (1)
- See ScaleTypeDef
DeleteAccountSettingResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteAccountSettingResponseTypeDef
def get_value() -> DeleteAccountSettingResponseTypeDef:
return {
"setting": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteAccountSettingResponseTypeDef(TypedDict):
setting: SettingTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListAccountSettingsResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListAccountSettingsResponseTypeDef
def get_value() -> ListAccountSettingsResponseTypeDef:
return {
"settings": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class ListAccountSettingsResponseTypeDef(TypedDict):
settings: List[SettingTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutAccountSettingDefaultResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PutAccountSettingDefaultResponseTypeDef
def get_value() -> PutAccountSettingDefaultResponseTypeDef:
return {
"setting": ...,
"ResponseMetadata": ...,
}
Definition
class PutAccountSettingDefaultResponseTypeDef(TypedDict):
setting: SettingTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
PutAccountSettingResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PutAccountSettingResponseTypeDef
def get_value() -> PutAccountSettingResponseTypeDef:
return {
"setting": ...,
"ResponseMetadata": ...,
}
Definition
class PutAccountSettingResponseTypeDef(TypedDict):
setting: SettingTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeploymentConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeploymentConfigurationTypeDef
def get_value() -> DeploymentConfigurationTypeDef:
return {
"deploymentCircuitBreaker": ...,
}
Definition
class DeploymentConfigurationTypeDef(TypedDict):
deploymentCircuitBreaker: NotRequired[DeploymentCircuitBreakerTypeDef], # (1)
maximumPercent: NotRequired[int],
minimumHealthyPercent: NotRequired[int],
alarms: NotRequired[DeploymentAlarmsTypeDef], # (2)
DescribeServicesRequestServicesInactiveWaitTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeServicesRequestServicesInactiveWaitTypeDef
def get_value() -> DescribeServicesRequestServicesInactiveWaitTypeDef:
return {
"services": ...,
}
Definition
class DescribeServicesRequestServicesInactiveWaitTypeDef(TypedDict):
services: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[ServiceFieldType]], # (1)
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (2)
- See ServiceFieldType
- See WaiterConfigTypeDef
DescribeServicesRequestServicesStableWaitTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeServicesRequestServicesStableWaitTypeDef
def get_value() -> DescribeServicesRequestServicesStableWaitTypeDef:
return {
"services": ...,
}
Definition
class DescribeServicesRequestServicesStableWaitTypeDef(TypedDict):
services: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[ServiceFieldType]], # (1)
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (2)
- See ServiceFieldType
- See WaiterConfigTypeDef
DescribeTasksRequestTasksRunningWaitTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeTasksRequestTasksRunningWaitTypeDef
def get_value() -> DescribeTasksRequestTasksRunningWaitTypeDef:
return {
"tasks": ...,
}
Definition
class DescribeTasksRequestTasksRunningWaitTypeDef(TypedDict):
tasks: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[TaskFieldType]], # (1)
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (2)
- See TaskFieldType
- See WaiterConfigTypeDef
DescribeTasksRequestTasksStoppedWaitTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeTasksRequestTasksStoppedWaitTypeDef
def get_value() -> DescribeTasksRequestTasksStoppedWaitTypeDef:
return {
"tasks": ...,
}
Definition
class DescribeTasksRequestTasksStoppedWaitTypeDef(TypedDict):
tasks: Sequence[str],
cluster: NotRequired[str],
include: NotRequired[Sequence[TaskFieldType]], # (1)
WaiterConfig: NotRequired[WaiterConfigTypeDef], # (2)
- See TaskFieldType
- See WaiterConfigTypeDef
EFSVolumeConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import EFSVolumeConfigurationTypeDef
def get_value() -> EFSVolumeConfigurationTypeDef:
return {
"fileSystemId": ...,
}
Definition
class EFSVolumeConfigurationTypeDef(TypedDict):
fileSystemId: str,
rootDirectory: NotRequired[str],
transitEncryption: NotRequired[EFSTransitEncryptionType], # (1)
transitEncryptionPort: NotRequired[int],
authorizationConfig: NotRequired[EFSAuthorizationConfigTypeDef], # (2)
ExecuteCommandConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ExecuteCommandConfigurationTypeDef
def get_value() -> ExecuteCommandConfigurationTypeDef:
return {
"kmsKeyId": ...,
}
Definition
class ExecuteCommandConfigurationTypeDef(TypedDict):
kmsKeyId: NotRequired[str],
logging: NotRequired[ExecuteCommandLoggingType], # (1)
logConfiguration: NotRequired[ExecuteCommandLogConfigurationTypeDef], # (2)
ExecuteCommandResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ExecuteCommandResponseTypeDef
def get_value() -> ExecuteCommandResponseTypeDef:
return {
"clusterArn": ...,
"containerArn": ...,
"containerName": ...,
"interactive": ...,
"session": ...,
"taskArn": ...,
"ResponseMetadata": ...,
}
Definition
class ExecuteCommandResponseTypeDef(TypedDict):
clusterArn: str,
containerArn: str,
containerName: str,
interactive: bool,
session: SessionTypeDef, # (1)
taskArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
FSxWindowsFileServerVolumeConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import FSxWindowsFileServerVolumeConfigurationTypeDef
def get_value() -> FSxWindowsFileServerVolumeConfigurationTypeDef:
return {
"fileSystemId": ...,
"rootDirectory": ...,
"authorizationConfig": ...,
}
Definition
class FSxWindowsFileServerVolumeConfigurationTypeDef(TypedDict):
fileSystemId: str,
rootDirectory: str,
authorizationConfig: FSxWindowsFileServerAuthorizationConfigTypeDef, # (1)
GetTaskProtectionResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import GetTaskProtectionResponseTypeDef
def get_value() -> GetTaskProtectionResponseTypeDef:
return {
"protectedTasks": ...,
"failures": ...,
"ResponseMetadata": ...,
}
Definition
class GetTaskProtectionResponseTypeDef(TypedDict):
protectedTasks: List[ProtectedTaskTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
UpdateTaskProtectionResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateTaskProtectionResponseTypeDef
def get_value() -> UpdateTaskProtectionResponseTypeDef:
return {
"protectedTasks": ...,
"failures": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateTaskProtectionResponseTypeDef(TypedDict):
protectedTasks: List[ProtectedTaskTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
LinuxParametersTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import LinuxParametersTypeDef
def get_value() -> LinuxParametersTypeDef:
return {
"capabilities": ...,
}
Definition
class LinuxParametersTypeDef(TypedDict):
capabilities: NotRequired[KernelCapabilitiesTypeDef], # (1)
devices: NotRequired[List[DeviceTypeDef]], # (2)
initProcessEnabled: NotRequired[bool],
sharedMemorySize: NotRequired[int],
tmpfs: NotRequired[List[TmpfsTypeDef]], # (3)
maxSwap: NotRequired[int],
swappiness: NotRequired[int],
- See KernelCapabilitiesTypeDef
- See DeviceTypeDef
- See TmpfsTypeDef
ListAccountSettingsRequestListAccountSettingsPaginateTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListAccountSettingsRequestListAccountSettingsPaginateTypeDef
def get_value() -> ListAccountSettingsRequestListAccountSettingsPaginateTypeDef:
return {
"name": ...,
}
Definition
class ListAccountSettingsRequestListAccountSettingsPaginateTypeDef(TypedDict):
name: NotRequired[SettingNameType], # (1)
value: NotRequired[str],
principalArn: NotRequired[str],
effectiveSettings: NotRequired[bool],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListAttributesRequestListAttributesPaginateTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListAttributesRequestListAttributesPaginateTypeDef
def get_value() -> ListAttributesRequestListAttributesPaginateTypeDef:
return {
"targetType": ...,
}
Definition
class ListAttributesRequestListAttributesPaginateTypeDef(TypedDict):
targetType: TargetTypeType, # (1)
cluster: NotRequired[str],
attributeName: NotRequired[str],
attributeValue: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See TargetTypeType
- See PaginatorConfigTypeDef
ListClustersRequestListClustersPaginateTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListClustersRequestListClustersPaginateTypeDef
def get_value() -> ListClustersRequestListClustersPaginateTypeDef:
return {
"PaginationConfig": ...,
}
Definition
class ListClustersRequestListClustersPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListContainerInstancesRequestListContainerInstancesPaginateTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListContainerInstancesRequestListContainerInstancesPaginateTypeDef
def get_value() -> ListContainerInstancesRequestListContainerInstancesPaginateTypeDef:
return {
"cluster": ...,
}
Definition
class ListContainerInstancesRequestListContainerInstancesPaginateTypeDef(TypedDict):
cluster: NotRequired[str],
filter: NotRequired[str],
status: NotRequired[ContainerInstanceStatusType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef
def get_value() -> ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef:
return {
"namespace": ...,
}
Definition
class ListServicesByNamespaceRequestListServicesByNamespacePaginateTypeDef(TypedDict):
namespace: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListServicesRequestListServicesPaginateTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListServicesRequestListServicesPaginateTypeDef
def get_value() -> ListServicesRequestListServicesPaginateTypeDef:
return {
"cluster": ...,
}
Definition
class ListServicesRequestListServicesPaginateTypeDef(TypedDict):
cluster: NotRequired[str],
launchType: NotRequired[LaunchTypeType], # (1)
schedulingStrategy: NotRequired[SchedulingStrategyType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef
def get_value() -> ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef:
return {
"familyPrefix": ...,
}
Definition
class ListTaskDefinitionFamiliesRequestListTaskDefinitionFamiliesPaginateTypeDef(TypedDict):
familyPrefix: NotRequired[str],
status: NotRequired[TaskDefinitionFamilyStatusType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef
def get_value() -> ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef:
return {
"familyPrefix": ...,
}
Definition
class ListTaskDefinitionsRequestListTaskDefinitionsPaginateTypeDef(TypedDict):
familyPrefix: NotRequired[str],
status: NotRequired[TaskDefinitionStatusType], # (1)
sort: NotRequired[SortOrderType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
ListTasksRequestListTasksPaginateTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ListTasksRequestListTasksPaginateTypeDef
def get_value() -> ListTasksRequestListTasksPaginateTypeDef:
return {
"cluster": ...,
}
Definition
class ListTasksRequestListTasksPaginateTypeDef(TypedDict):
cluster: NotRequired[str],
containerInstance: NotRequired[str],
family: NotRequired[str],
startedBy: NotRequired[str],
serviceName: NotRequired[str],
desiredStatus: NotRequired[DesiredStatusType], # (1)
launchType: NotRequired[LaunchTypeType], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
- See DesiredStatusType
- See LaunchTypeType
- See PaginatorConfigTypeDef
RegisterContainerInstanceRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import RegisterContainerInstanceRequestRequestTypeDef
def get_value() -> RegisterContainerInstanceRequestRequestTypeDef:
return {
"cluster": ...,
}
Definition
class RegisterContainerInstanceRequestRequestTypeDef(TypedDict):
cluster: NotRequired[str],
instanceIdentityDocument: NotRequired[str],
instanceIdentityDocumentSignature: NotRequired[str],
totalResources: NotRequired[Sequence[ResourceTypeDef]], # (1)
versionInfo: NotRequired[VersionInfoTypeDef], # (2)
containerInstanceArn: NotRequired[str],
attributes: NotRequired[Sequence[AttributeTypeDef]], # (3)
platformDevices: NotRequired[Sequence[PlatformDeviceTypeDef]], # (4)
tags: NotRequired[Sequence[TagTypeDef]], # (5)
- See ResourceTypeDef
- See VersionInfoTypeDef
- See AttributeTypeDef
- See PlatformDeviceTypeDef
- See TagTypeDef
ServiceConnectServiceTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ServiceConnectServiceTypeDef
def get_value() -> ServiceConnectServiceTypeDef:
return {
"portName": ...,
}
Definition
class ServiceConnectServiceTypeDef(TypedDict):
portName: str,
discoveryName: NotRequired[str],
clientAliases: NotRequired[Sequence[ServiceConnectClientAliasTypeDef]], # (1)
ingressPortOverride: NotRequired[int],
CapacityProviderTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import CapacityProviderTypeDef
def get_value() -> CapacityProviderTypeDef:
return {
"capacityProviderArn": ...,
}
Definition
class CapacityProviderTypeDef(TypedDict):
capacityProviderArn: NotRequired[str],
name: NotRequired[str],
status: NotRequired[CapacityProviderStatusType], # (1)
autoScalingGroupProvider: NotRequired[AutoScalingGroupProviderTypeDef], # (2)
updateStatus: NotRequired[CapacityProviderUpdateStatusType], # (3)
updateStatusReason: NotRequired[str],
tags: NotRequired[List[TagTypeDef]], # (4)
- See CapacityProviderStatusType
- See AutoScalingGroupProviderTypeDef
- See CapacityProviderUpdateStatusType
- See TagTypeDef
CreateCapacityProviderRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import CreateCapacityProviderRequestRequestTypeDef
def get_value() -> CreateCapacityProviderRequestRequestTypeDef:
return {
"name": ...,
"autoScalingGroupProvider": ...,
}
Definition
class CreateCapacityProviderRequestRequestTypeDef(TypedDict):
name: str,
autoScalingGroupProvider: AutoScalingGroupProviderTypeDef, # (1)
tags: NotRequired[Sequence[TagTypeDef]], # (2)
UpdateCapacityProviderRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateCapacityProviderRequestRequestTypeDef
def get_value() -> UpdateCapacityProviderRequestRequestTypeDef:
return {
"name": ...,
"autoScalingGroupProvider": ...,
}
Definition
class UpdateCapacityProviderRequestRequestTypeDef(TypedDict):
name: str,
autoScalingGroupProvider: AutoScalingGroupProviderUpdateTypeDef, # (1)
CreateTaskSetRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import CreateTaskSetRequestRequestTypeDef
def get_value() -> CreateTaskSetRequestRequestTypeDef:
return {
"service": ...,
"cluster": ...,
"taskDefinition": ...,
}
Definition
class CreateTaskSetRequestRequestTypeDef(TypedDict):
service: str,
cluster: str,
taskDefinition: str,
externalId: NotRequired[str],
networkConfiguration: NotRequired[NetworkConfigurationTypeDef], # (1)
loadBalancers: NotRequired[Sequence[LoadBalancerTypeDef]], # (2)
serviceRegistries: NotRequired[Sequence[ServiceRegistryTypeDef]], # (3)
launchType: NotRequired[LaunchTypeType], # (4)
capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]], # (5)
platformVersion: NotRequired[str],
scale: NotRequired[ScaleTypeDef], # (6)
clientToken: NotRequired[str],
tags: NotRequired[Sequence[TagTypeDef]], # (7)
- See NetworkConfigurationTypeDef
- See LoadBalancerTypeDef
- See ServiceRegistryTypeDef
- See LaunchTypeType
- See CapacityProviderStrategyItemTypeDef
- See ScaleTypeDef
- See TagTypeDef
TaskSetTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import TaskSetTypeDef
def get_value() -> TaskSetTypeDef:
return {
"id": ...,
}
Definition
class TaskSetTypeDef(TypedDict):
id: NotRequired[str],
taskSetArn: NotRequired[str],
serviceArn: NotRequired[str],
clusterArn: NotRequired[str],
startedBy: NotRequired[str],
externalId: NotRequired[str],
status: NotRequired[str],
taskDefinition: NotRequired[str],
computedDesiredCount: NotRequired[int],
pendingCount: NotRequired[int],
runningCount: NotRequired[int],
createdAt: NotRequired[datetime],
updatedAt: NotRequired[datetime],
launchType: NotRequired[LaunchTypeType], # (1)
capacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]], # (2)
platformVersion: NotRequired[str],
platformFamily: NotRequired[str],
networkConfiguration: NotRequired[NetworkConfigurationTypeDef], # (3)
loadBalancers: NotRequired[List[LoadBalancerTypeDef]], # (4)
serviceRegistries: NotRequired[List[ServiceRegistryTypeDef]], # (5)
scale: NotRequired[ScaleTypeDef], # (6)
stabilityStatus: NotRequired[StabilityStatusType], # (7)
stabilityStatusAt: NotRequired[datetime],
tags: NotRequired[List[TagTypeDef]], # (8)
- See LaunchTypeType
- See CapacityProviderStrategyItemTypeDef
- See NetworkConfigurationTypeDef
- See LoadBalancerTypeDef
- See ServiceRegistryTypeDef
- See ScaleTypeDef
- See StabilityStatusType
- See TagTypeDef
TaskOverrideTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import TaskOverrideTypeDef
def get_value() -> TaskOverrideTypeDef:
return {
"containerOverrides": ...,
}
Definition
class TaskOverrideTypeDef(TypedDict):
containerOverrides: NotRequired[List[ContainerOverrideTypeDef]], # (1)
cpu: NotRequired[str],
inferenceAcceleratorOverrides: NotRequired[List[InferenceAcceleratorOverrideTypeDef]], # (2)
executionRoleArn: NotRequired[str],
memory: NotRequired[str],
taskRoleArn: NotRequired[str],
ephemeralStorage: NotRequired[EphemeralStorageTypeDef], # (3)
ContainerInstanceTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ContainerInstanceTypeDef
def get_value() -> ContainerInstanceTypeDef:
return {
"containerInstanceArn": ...,
}
Definition
class ContainerInstanceTypeDef(TypedDict):
containerInstanceArn: NotRequired[str],
ec2InstanceId: NotRequired[str],
capacityProviderName: NotRequired[str],
version: NotRequired[int],
versionInfo: NotRequired[VersionInfoTypeDef], # (1)
remainingResources: NotRequired[List[ResourceTypeDef]], # (2)
registeredResources: NotRequired[List[ResourceTypeDef]], # (2)
status: NotRequired[str],
statusReason: NotRequired[str],
agentConnected: NotRequired[bool],
runningTasksCount: NotRequired[int],
pendingTasksCount: NotRequired[int],
agentUpdateStatus: NotRequired[AgentUpdateStatusType], # (4)
attributes: NotRequired[List[AttributeTypeDef]], # (5)
registeredAt: NotRequired[datetime],
attachments: NotRequired[List[AttachmentTypeDef]], # (6)
tags: NotRequired[List[TagTypeDef]], # (7)
healthStatus: NotRequired[ContainerInstanceHealthStatusTypeDef], # (8)
- See VersionInfoTypeDef
- See ResourceTypeDef
- See ResourceTypeDef
- See AgentUpdateStatusType
- See AttributeTypeDef
- See AttachmentTypeDef
- See TagTypeDef
- See ContainerInstanceHealthStatusTypeDef
SubmitTaskStateChangeRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import SubmitTaskStateChangeRequestRequestTypeDef
def get_value() -> SubmitTaskStateChangeRequestRequestTypeDef:
return {
"cluster": ...,
}
Definition
class SubmitTaskStateChangeRequestRequestTypeDef(TypedDict):
cluster: NotRequired[str],
task: NotRequired[str],
status: NotRequired[str],
reason: NotRequired[str],
containers: NotRequired[Sequence[ContainerStateChangeTypeDef]], # (1)
attachments: NotRequired[Sequence[AttachmentStateChangeTypeDef]], # (2)
managedAgents: NotRequired[Sequence[ManagedAgentStateChangeTypeDef]], # (3)
pullStartedAt: NotRequired[Union[datetime, str]],
pullStoppedAt: NotRequired[Union[datetime, str]],
executionStoppedAt: NotRequired[Union[datetime, str]],
ClusterConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ClusterConfigurationTypeDef
def get_value() -> ClusterConfigurationTypeDef:
return {
"executeCommandConfiguration": ...,
}
Definition
class ClusterConfigurationTypeDef(TypedDict):
executeCommandConfiguration: NotRequired[ExecuteCommandConfigurationTypeDef], # (1)
VolumeTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import VolumeTypeDef
def get_value() -> VolumeTypeDef:
return {
"name": ...,
}
Definition
class VolumeTypeDef(TypedDict):
name: NotRequired[str],
host: NotRequired[HostVolumePropertiesTypeDef], # (1)
dockerVolumeConfiguration: NotRequired[DockerVolumeConfigurationTypeDef], # (2)
efsVolumeConfiguration: NotRequired[EFSVolumeConfigurationTypeDef], # (3)
fsxWindowsFileServerVolumeConfiguration: NotRequired[FSxWindowsFileServerVolumeConfigurationTypeDef], # (4)
- See HostVolumePropertiesTypeDef
- See DockerVolumeConfigurationTypeDef
- See EFSVolumeConfigurationTypeDef
- See FSxWindowsFileServerVolumeConfigurationTypeDef
ContainerDefinitionTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ContainerDefinitionTypeDef
def get_value() -> ContainerDefinitionTypeDef:
return {
"name": ...,
}
Definition
class ContainerDefinitionTypeDef(TypedDict):
name: NotRequired[str],
image: NotRequired[str],
repositoryCredentials: NotRequired[RepositoryCredentialsTypeDef], # (1)
cpu: NotRequired[int],
memory: NotRequired[int],
memoryReservation: NotRequired[int],
links: NotRequired[List[str]],
portMappings: NotRequired[List[PortMappingTypeDef]], # (2)
essential: NotRequired[bool],
entryPoint: NotRequired[List[str]],
command: NotRequired[List[str]],
environment: NotRequired[List[KeyValuePairTypeDef]], # (3)
environmentFiles: NotRequired[List[EnvironmentFileTypeDef]], # (4)
mountPoints: NotRequired[List[MountPointTypeDef]], # (5)
volumesFrom: NotRequired[List[VolumeFromTypeDef]], # (6)
linuxParameters: NotRequired[LinuxParametersTypeDef], # (7)
secrets: NotRequired[List[SecretTypeDef]], # (8)
dependsOn: NotRequired[List[ContainerDependencyTypeDef]], # (9)
startTimeout: NotRequired[int],
stopTimeout: NotRequired[int],
hostname: NotRequired[str],
user: NotRequired[str],
workingDirectory: NotRequired[str],
disableNetworking: NotRequired[bool],
privileged: NotRequired[bool],
readonlyRootFilesystem: NotRequired[bool],
dnsServers: NotRequired[List[str]],
dnsSearchDomains: NotRequired[List[str]],
extraHosts: NotRequired[List[HostEntryTypeDef]], # (10)
dockerSecurityOptions: NotRequired[List[str]],
interactive: NotRequired[bool],
pseudoTerminal: NotRequired[bool],
dockerLabels: NotRequired[Dict[str, str]],
ulimits: NotRequired[List[UlimitTypeDef]], # (11)
logConfiguration: NotRequired[LogConfigurationTypeDef], # (12)
healthCheck: NotRequired[HealthCheckTypeDef], # (13)
systemControls: NotRequired[List[SystemControlTypeDef]], # (14)
resourceRequirements: NotRequired[List[ResourceRequirementTypeDef]], # (15)
firelensConfiguration: NotRequired[FirelensConfigurationTypeDef], # (16)
- See RepositoryCredentialsTypeDef
- See PortMappingTypeDef
- See KeyValuePairTypeDef
- See EnvironmentFileTypeDef
- See MountPointTypeDef
- See VolumeFromTypeDef
- See LinuxParametersTypeDef
- See SecretTypeDef
- See ContainerDependencyTypeDef
- See HostEntryTypeDef
- See UlimitTypeDef
- See LogConfigurationTypeDef
- See HealthCheckTypeDef
- See SystemControlTypeDef
- See ResourceRequirementTypeDef
- See FirelensConfigurationTypeDef
ServiceConnectConfigurationTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ServiceConnectConfigurationTypeDef
def get_value() -> ServiceConnectConfigurationTypeDef:
return {
"enabled": ...,
}
Definition
class ServiceConnectConfigurationTypeDef(TypedDict):
enabled: bool,
namespace: NotRequired[str],
services: NotRequired[Sequence[ServiceConnectServiceTypeDef]], # (1)
logConfiguration: NotRequired[LogConfigurationTypeDef], # (2)
CreateCapacityProviderResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import CreateCapacityProviderResponseTypeDef
def get_value() -> CreateCapacityProviderResponseTypeDef:
return {
"capacityProvider": ...,
"ResponseMetadata": ...,
}
Definition
class CreateCapacityProviderResponseTypeDef(TypedDict):
capacityProvider: CapacityProviderTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteCapacityProviderResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteCapacityProviderResponseTypeDef
def get_value() -> DeleteCapacityProviderResponseTypeDef:
return {
"capacityProvider": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteCapacityProviderResponseTypeDef(TypedDict):
capacityProvider: CapacityProviderTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeCapacityProvidersResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeCapacityProvidersResponseTypeDef
def get_value() -> DescribeCapacityProvidersResponseTypeDef:
return {
"capacityProviders": ...,
"failures": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeCapacityProvidersResponseTypeDef(TypedDict):
capacityProviders: List[CapacityProviderTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
UpdateCapacityProviderResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateCapacityProviderResponseTypeDef
def get_value() -> UpdateCapacityProviderResponseTypeDef:
return {
"capacityProvider": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateCapacityProviderResponseTypeDef(TypedDict):
capacityProvider: CapacityProviderTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateTaskSetResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import CreateTaskSetResponseTypeDef
def get_value() -> CreateTaskSetResponseTypeDef:
return {
"taskSet": ...,
"ResponseMetadata": ...,
}
Definition
class CreateTaskSetResponseTypeDef(TypedDict):
taskSet: TaskSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteTaskSetResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteTaskSetResponseTypeDef
def get_value() -> DeleteTaskSetResponseTypeDef:
return {
"taskSet": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteTaskSetResponseTypeDef(TypedDict):
taskSet: TaskSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeTaskSetsResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeTaskSetsResponseTypeDef
def get_value() -> DescribeTaskSetsResponseTypeDef:
return {
"taskSets": ...,
"failures": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeTaskSetsResponseTypeDef(TypedDict):
taskSets: List[TaskSetTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskSetTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
UpdateServicePrimaryTaskSetResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateServicePrimaryTaskSetResponseTypeDef
def get_value() -> UpdateServicePrimaryTaskSetResponseTypeDef:
return {
"taskSet": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateServicePrimaryTaskSetResponseTypeDef(TypedDict):
taskSet: TaskSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateTaskSetResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateTaskSetResponseTypeDef
def get_value() -> UpdateTaskSetResponseTypeDef:
return {
"taskSet": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateTaskSetResponseTypeDef(TypedDict):
taskSet: TaskSetTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
RunTaskRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import RunTaskRequestRequestTypeDef
def get_value() -> RunTaskRequestRequestTypeDef:
return {
"taskDefinition": ...,
}
Definition
class RunTaskRequestRequestTypeDef(TypedDict):
taskDefinition: str,
capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]], # (1)
cluster: NotRequired[str],
count: NotRequired[int],
enableECSManagedTags: NotRequired[bool],
enableExecuteCommand: NotRequired[bool],
group: NotRequired[str],
launchType: NotRequired[LaunchTypeType], # (2)
networkConfiguration: NotRequired[NetworkConfigurationTypeDef], # (3)
overrides: NotRequired[TaskOverrideTypeDef], # (4)
placementConstraints: NotRequired[Sequence[PlacementConstraintTypeDef]], # (5)
placementStrategy: NotRequired[Sequence[PlacementStrategyTypeDef]], # (6)
platformVersion: NotRequired[str],
propagateTags: NotRequired[PropagateTagsType], # (7)
referenceId: NotRequired[str],
startedBy: NotRequired[str],
tags: NotRequired[Sequence[TagTypeDef]], # (8)
- See CapacityProviderStrategyItemTypeDef
- See LaunchTypeType
- See NetworkConfigurationTypeDef
- See TaskOverrideTypeDef
- See PlacementConstraintTypeDef
- See PlacementStrategyTypeDef
- See PropagateTagsType
- See TagTypeDef
StartTaskRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import StartTaskRequestRequestTypeDef
def get_value() -> StartTaskRequestRequestTypeDef:
return {
"containerInstances": ...,
"taskDefinition": ...,
}
Definition
class StartTaskRequestRequestTypeDef(TypedDict):
containerInstances: Sequence[str],
taskDefinition: str,
cluster: NotRequired[str],
enableECSManagedTags: NotRequired[bool],
enableExecuteCommand: NotRequired[bool],
group: NotRequired[str],
networkConfiguration: NotRequired[NetworkConfigurationTypeDef], # (1)
overrides: NotRequired[TaskOverrideTypeDef], # (2)
propagateTags: NotRequired[PropagateTagsType], # (3)
referenceId: NotRequired[str],
startedBy: NotRequired[str],
tags: NotRequired[Sequence[TagTypeDef]], # (4)
- See NetworkConfigurationTypeDef
- See TaskOverrideTypeDef
- See PropagateTagsType
- See TagTypeDef
TaskTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import TaskTypeDef
def get_value() -> TaskTypeDef:
return {
"attachments": ...,
}
Definition
class TaskTypeDef(TypedDict):
attachments: NotRequired[List[AttachmentTypeDef]], # (1)
attributes: NotRequired[List[AttributeTypeDef]], # (2)
availabilityZone: NotRequired[str],
capacityProviderName: NotRequired[str],
clusterArn: NotRequired[str],
connectivity: NotRequired[ConnectivityType], # (3)
connectivityAt: NotRequired[datetime],
containerInstanceArn: NotRequired[str],
containers: NotRequired[List[ContainerTypeDef]], # (4)
cpu: NotRequired[str],
createdAt: NotRequired[datetime],
desiredStatus: NotRequired[str],
enableExecuteCommand: NotRequired[bool],
executionStoppedAt: NotRequired[datetime],
group: NotRequired[str],
healthStatus: NotRequired[HealthStatusType], # (5)
inferenceAccelerators: NotRequired[List[InferenceAcceleratorTypeDef]], # (6)
lastStatus: NotRequired[str],
launchType: NotRequired[LaunchTypeType], # (7)
memory: NotRequired[str],
overrides: NotRequired[TaskOverrideTypeDef], # (8)
platformVersion: NotRequired[str],
platformFamily: NotRequired[str],
pullStartedAt: NotRequired[datetime],
pullStoppedAt: NotRequired[datetime],
startedAt: NotRequired[datetime],
startedBy: NotRequired[str],
stopCode: NotRequired[TaskStopCodeType], # (9)
stoppedAt: NotRequired[datetime],
stoppedReason: NotRequired[str],
stoppingAt: NotRequired[datetime],
tags: NotRequired[List[TagTypeDef]], # (10)
taskArn: NotRequired[str],
taskDefinitionArn: NotRequired[str],
version: NotRequired[int],
ephemeralStorage: NotRequired[EphemeralStorageTypeDef], # (11)
- See AttachmentTypeDef
- See AttributeTypeDef
- See ConnectivityType
- See ContainerTypeDef
- See HealthStatusType
- See InferenceAcceleratorTypeDef
- See LaunchTypeType
- See TaskOverrideTypeDef
- See TaskStopCodeType
- See TagTypeDef
- See EphemeralStorageTypeDef
DeregisterContainerInstanceResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeregisterContainerInstanceResponseTypeDef
def get_value() -> DeregisterContainerInstanceResponseTypeDef:
return {
"containerInstance": ...,
"ResponseMetadata": ...,
}
Definition
class DeregisterContainerInstanceResponseTypeDef(TypedDict):
containerInstance: ContainerInstanceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeContainerInstancesResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeContainerInstancesResponseTypeDef
def get_value() -> DescribeContainerInstancesResponseTypeDef:
return {
"containerInstances": ...,
"failures": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeContainerInstancesResponseTypeDef(TypedDict):
containerInstances: List[ContainerInstanceTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
RegisterContainerInstanceResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import RegisterContainerInstanceResponseTypeDef
def get_value() -> RegisterContainerInstanceResponseTypeDef:
return {
"containerInstance": ...,
"ResponseMetadata": ...,
}
Definition
class RegisterContainerInstanceResponseTypeDef(TypedDict):
containerInstance: ContainerInstanceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateContainerAgentResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateContainerAgentResponseTypeDef
def get_value() -> UpdateContainerAgentResponseTypeDef:
return {
"containerInstance": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateContainerAgentResponseTypeDef(TypedDict):
containerInstance: ContainerInstanceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateContainerInstancesStateResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateContainerInstancesStateResponseTypeDef
def get_value() -> UpdateContainerInstancesStateResponseTypeDef:
return {
"containerInstances": ...,
"failures": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateContainerInstancesStateResponseTypeDef(TypedDict):
containerInstances: List[ContainerInstanceTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
ClusterTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ClusterTypeDef
def get_value() -> ClusterTypeDef:
return {
"clusterArn": ...,
}
Definition
class ClusterTypeDef(TypedDict):
clusterArn: NotRequired[str],
clusterName: NotRequired[str],
configuration: NotRequired[ClusterConfigurationTypeDef], # (1)
status: NotRequired[str],
registeredContainerInstancesCount: NotRequired[int],
runningTasksCount: NotRequired[int],
pendingTasksCount: NotRequired[int],
activeServicesCount: NotRequired[int],
statistics: NotRequired[List[KeyValuePairTypeDef]], # (2)
tags: NotRequired[List[TagTypeDef]], # (3)
settings: NotRequired[List[ClusterSettingTypeDef]], # (4)
capacityProviders: NotRequired[List[str]],
defaultCapacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]], # (5)
attachments: NotRequired[List[AttachmentTypeDef]], # (6)
attachmentsStatus: NotRequired[str],
serviceConnectDefaults: NotRequired[ClusterServiceConnectDefaultsTypeDef], # (7)
- See ClusterConfigurationTypeDef
- See KeyValuePairTypeDef
- See TagTypeDef
- See ClusterSettingTypeDef
- See CapacityProviderStrategyItemTypeDef
- See AttachmentTypeDef
- See ClusterServiceConnectDefaultsTypeDef
CreateClusterRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import CreateClusterRequestRequestTypeDef
def get_value() -> CreateClusterRequestRequestTypeDef:
return {
"clusterName": ...,
}
Definition
class CreateClusterRequestRequestTypeDef(TypedDict):
clusterName: NotRequired[str],
tags: NotRequired[Sequence[TagTypeDef]], # (1)
settings: NotRequired[Sequence[ClusterSettingTypeDef]], # (2)
configuration: NotRequired[ClusterConfigurationTypeDef], # (3)
capacityProviders: NotRequired[Sequence[str]],
defaultCapacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]], # (4)
serviceConnectDefaults: NotRequired[ClusterServiceConnectDefaultsRequestTypeDef], # (5)
- See TagTypeDef
- See ClusterSettingTypeDef
- See ClusterConfigurationTypeDef
- See CapacityProviderStrategyItemTypeDef
- See ClusterServiceConnectDefaultsRequestTypeDef
UpdateClusterRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateClusterRequestRequestTypeDef
def get_value() -> UpdateClusterRequestRequestTypeDef:
return {
"cluster": ...,
}
Definition
class UpdateClusterRequestRequestTypeDef(TypedDict):
cluster: str,
settings: NotRequired[Sequence[ClusterSettingTypeDef]], # (1)
configuration: NotRequired[ClusterConfigurationTypeDef], # (2)
serviceConnectDefaults: NotRequired[ClusterServiceConnectDefaultsRequestTypeDef], # (3)
- See ClusterSettingTypeDef
- See ClusterConfigurationTypeDef
- See ClusterServiceConnectDefaultsRequestTypeDef
RegisterTaskDefinitionRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import RegisterTaskDefinitionRequestRequestTypeDef
def get_value() -> RegisterTaskDefinitionRequestRequestTypeDef:
return {
"family": ...,
"containerDefinitions": ...,
}
Definition
class RegisterTaskDefinitionRequestRequestTypeDef(TypedDict):
family: str,
containerDefinitions: Sequence[ContainerDefinitionTypeDef], # (1)
taskRoleArn: NotRequired[str],
executionRoleArn: NotRequired[str],
networkMode: NotRequired[NetworkModeType], # (2)
volumes: NotRequired[Sequence[VolumeTypeDef]], # (3)
placementConstraints: NotRequired[Sequence[TaskDefinitionPlacementConstraintTypeDef]], # (4)
requiresCompatibilities: NotRequired[Sequence[CompatibilityType]], # (5)
cpu: NotRequired[str],
memory: NotRequired[str],
tags: NotRequired[Sequence[TagTypeDef]], # (6)
pidMode: NotRequired[PidModeType], # (7)
ipcMode: NotRequired[IpcModeType], # (8)
proxyConfiguration: NotRequired[ProxyConfigurationTypeDef], # (9)
inferenceAccelerators: NotRequired[Sequence[InferenceAcceleratorTypeDef]], # (10)
ephemeralStorage: NotRequired[EphemeralStorageTypeDef], # (11)
runtimePlatform: NotRequired[RuntimePlatformTypeDef], # (12)
- See ContainerDefinitionTypeDef
- See NetworkModeType
- See VolumeTypeDef
- See TaskDefinitionPlacementConstraintTypeDef
- See CompatibilityType
- See TagTypeDef
- See PidModeType
- See IpcModeType
- See ProxyConfigurationTypeDef
- See InferenceAcceleratorTypeDef
- See EphemeralStorageTypeDef
- See RuntimePlatformTypeDef
TaskDefinitionTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import TaskDefinitionTypeDef
def get_value() -> TaskDefinitionTypeDef:
return {
"taskDefinitionArn": ...,
}
Definition
class TaskDefinitionTypeDef(TypedDict):
taskDefinitionArn: NotRequired[str],
containerDefinitions: NotRequired[List[ContainerDefinitionTypeDef]], # (1)
family: NotRequired[str],
taskRoleArn: NotRequired[str],
executionRoleArn: NotRequired[str],
networkMode: NotRequired[NetworkModeType], # (2)
revision: NotRequired[int],
volumes: NotRequired[List[VolumeTypeDef]], # (3)
status: NotRequired[TaskDefinitionStatusType], # (4)
requiresAttributes: NotRequired[List[AttributeTypeDef]], # (5)
placementConstraints: NotRequired[List[TaskDefinitionPlacementConstraintTypeDef]], # (6)
compatibilities: NotRequired[List[CompatibilityType]], # (7)
runtimePlatform: NotRequired[RuntimePlatformTypeDef], # (8)
requiresCompatibilities: NotRequired[List[CompatibilityType]], # (7)
cpu: NotRequired[str],
memory: NotRequired[str],
inferenceAccelerators: NotRequired[List[InferenceAcceleratorTypeDef]], # (10)
pidMode: NotRequired[PidModeType], # (11)
ipcMode: NotRequired[IpcModeType], # (12)
proxyConfiguration: NotRequired[ProxyConfigurationTypeDef], # (13)
registeredAt: NotRequired[datetime],
deregisteredAt: NotRequired[datetime],
registeredBy: NotRequired[str],
ephemeralStorage: NotRequired[EphemeralStorageTypeDef], # (14)
- See ContainerDefinitionTypeDef
- See NetworkModeType
- See VolumeTypeDef
- See TaskDefinitionStatusType
- See AttributeTypeDef
- See TaskDefinitionPlacementConstraintTypeDef
- See CompatibilityType
- See RuntimePlatformTypeDef
- See CompatibilityType
- See InferenceAcceleratorTypeDef
- See PidModeType
- See IpcModeType
- See ProxyConfigurationTypeDef
- See EphemeralStorageTypeDef
CreateServiceRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import CreateServiceRequestRequestTypeDef
def get_value() -> CreateServiceRequestRequestTypeDef:
return {
"serviceName": ...,
}
Definition
class CreateServiceRequestRequestTypeDef(TypedDict):
serviceName: str,
cluster: NotRequired[str],
taskDefinition: NotRequired[str],
loadBalancers: NotRequired[Sequence[LoadBalancerTypeDef]], # (1)
serviceRegistries: NotRequired[Sequence[ServiceRegistryTypeDef]], # (2)
desiredCount: NotRequired[int],
clientToken: NotRequired[str],
launchType: NotRequired[LaunchTypeType], # (3)
capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]], # (4)
platformVersion: NotRequired[str],
role: NotRequired[str],
deploymentConfiguration: NotRequired[DeploymentConfigurationTypeDef], # (5)
placementConstraints: NotRequired[Sequence[PlacementConstraintTypeDef]], # (6)
placementStrategy: NotRequired[Sequence[PlacementStrategyTypeDef]], # (7)
networkConfiguration: NotRequired[NetworkConfigurationTypeDef], # (8)
healthCheckGracePeriodSeconds: NotRequired[int],
schedulingStrategy: NotRequired[SchedulingStrategyType], # (9)
deploymentController: NotRequired[DeploymentControllerTypeDef], # (10)
tags: NotRequired[Sequence[TagTypeDef]], # (11)
enableECSManagedTags: NotRequired[bool],
propagateTags: NotRequired[PropagateTagsType], # (12)
enableExecuteCommand: NotRequired[bool],
serviceConnectConfiguration: NotRequired[ServiceConnectConfigurationTypeDef], # (13)
- See LoadBalancerTypeDef
- See ServiceRegistryTypeDef
- See LaunchTypeType
- See CapacityProviderStrategyItemTypeDef
- See DeploymentConfigurationTypeDef
- See PlacementConstraintTypeDef
- See PlacementStrategyTypeDef
- See NetworkConfigurationTypeDef
- See SchedulingStrategyType
- See DeploymentControllerTypeDef
- See TagTypeDef
- See PropagateTagsType
- See ServiceConnectConfigurationTypeDef
DeploymentTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeploymentTypeDef
def get_value() -> DeploymentTypeDef:
return {
"id": ...,
}
Definition
class DeploymentTypeDef(TypedDict):
id: NotRequired[str],
status: NotRequired[str],
taskDefinition: NotRequired[str],
desiredCount: NotRequired[int],
pendingCount: NotRequired[int],
runningCount: NotRequired[int],
failedTasks: NotRequired[int],
createdAt: NotRequired[datetime],
updatedAt: NotRequired[datetime],
capacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]], # (1)
launchType: NotRequired[LaunchTypeType], # (2)
platformVersion: NotRequired[str],
platformFamily: NotRequired[str],
networkConfiguration: NotRequired[NetworkConfigurationTypeDef], # (3)
rolloutState: NotRequired[DeploymentRolloutStateType], # (4)
rolloutStateReason: NotRequired[str],
serviceConnectConfiguration: NotRequired[ServiceConnectConfigurationTypeDef], # (5)
serviceConnectResources: NotRequired[List[ServiceConnectServiceResourceTypeDef]], # (6)
- See CapacityProviderStrategyItemTypeDef
- See LaunchTypeType
- See NetworkConfigurationTypeDef
- See DeploymentRolloutStateType
- See ServiceConnectConfigurationTypeDef
- See ServiceConnectServiceResourceTypeDef
UpdateServiceRequestRequestTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateServiceRequestRequestTypeDef
def get_value() -> UpdateServiceRequestRequestTypeDef:
return {
"service": ...,
}
Definition
class UpdateServiceRequestRequestTypeDef(TypedDict):
service: str,
cluster: NotRequired[str],
desiredCount: NotRequired[int],
taskDefinition: NotRequired[str],
capacityProviderStrategy: NotRequired[Sequence[CapacityProviderStrategyItemTypeDef]], # (1)
deploymentConfiguration: NotRequired[DeploymentConfigurationTypeDef], # (2)
networkConfiguration: NotRequired[NetworkConfigurationTypeDef], # (3)
placementConstraints: NotRequired[Sequence[PlacementConstraintTypeDef]], # (4)
placementStrategy: NotRequired[Sequence[PlacementStrategyTypeDef]], # (5)
platformVersion: NotRequired[str],
forceNewDeployment: NotRequired[bool],
healthCheckGracePeriodSeconds: NotRequired[int],
enableExecuteCommand: NotRequired[bool],
enableECSManagedTags: NotRequired[bool],
loadBalancers: NotRequired[Sequence[LoadBalancerTypeDef]], # (6)
propagateTags: NotRequired[PropagateTagsType], # (7)
serviceRegistries: NotRequired[Sequence[ServiceRegistryTypeDef]], # (8)
serviceConnectConfiguration: NotRequired[ServiceConnectConfigurationTypeDef], # (9)
- See CapacityProviderStrategyItemTypeDef
- See DeploymentConfigurationTypeDef
- See NetworkConfigurationTypeDef
- See PlacementConstraintTypeDef
- See PlacementStrategyTypeDef
- See LoadBalancerTypeDef
- See PropagateTagsType
- See ServiceRegistryTypeDef
- See ServiceConnectConfigurationTypeDef
DescribeTasksResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeTasksResponseTypeDef
def get_value() -> DescribeTasksResponseTypeDef:
return {
"tasks": ...,
"failures": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeTasksResponseTypeDef(TypedDict):
tasks: List[TaskTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
RunTaskResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import RunTaskResponseTypeDef
def get_value() -> RunTaskResponseTypeDef:
return {
"tasks": ...,
"failures": ...,
"ResponseMetadata": ...,
}
Definition
class RunTaskResponseTypeDef(TypedDict):
tasks: List[TaskTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
StartTaskResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import StartTaskResponseTypeDef
def get_value() -> StartTaskResponseTypeDef:
return {
"tasks": ...,
"failures": ...,
"ResponseMetadata": ...,
}
Definition
class StartTaskResponseTypeDef(TypedDict):
tasks: List[TaskTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
StopTaskResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import StopTaskResponseTypeDef
def get_value() -> StopTaskResponseTypeDef:
return {
"task": ...,
"ResponseMetadata": ...,
}
Definition
class StopTaskResponseTypeDef(TypedDict):
task: TaskTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
- See TaskTypeDef
- See ResponseMetadataTypeDef
CreateClusterResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import CreateClusterResponseTypeDef
def get_value() -> CreateClusterResponseTypeDef:
return {
"cluster": ...,
"ResponseMetadata": ...,
}
Definition
class CreateClusterResponseTypeDef(TypedDict):
cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteClusterResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteClusterResponseTypeDef
def get_value() -> DeleteClusterResponseTypeDef:
return {
"cluster": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteClusterResponseTypeDef(TypedDict):
cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeClustersResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeClustersResponseTypeDef
def get_value() -> DescribeClustersResponseTypeDef:
return {
"clusters": ...,
"failures": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeClustersResponseTypeDef(TypedDict):
clusters: List[ClusterTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See ClusterTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
PutClusterCapacityProvidersResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import PutClusterCapacityProvidersResponseTypeDef
def get_value() -> PutClusterCapacityProvidersResponseTypeDef:
return {
"cluster": ...,
"ResponseMetadata": ...,
}
Definition
class PutClusterCapacityProvidersResponseTypeDef(TypedDict):
cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateClusterResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateClusterResponseTypeDef
def get_value() -> UpdateClusterResponseTypeDef:
return {
"cluster": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateClusterResponseTypeDef(TypedDict):
cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateClusterSettingsResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateClusterSettingsResponseTypeDef
def get_value() -> UpdateClusterSettingsResponseTypeDef:
return {
"cluster": ...,
"ResponseMetadata": ...,
}
Definition
class UpdateClusterSettingsResponseTypeDef(TypedDict):
cluster: ClusterTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteTaskDefinitionsResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteTaskDefinitionsResponseTypeDef
def get_value() -> DeleteTaskDefinitionsResponseTypeDef:
return {
"taskDefinitions": ...,
"failures": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteTaskDefinitionsResponseTypeDef(TypedDict):
taskDefinitions: List[TaskDefinitionTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DeregisterTaskDefinitionResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeregisterTaskDefinitionResponseTypeDef
def get_value() -> DeregisterTaskDefinitionResponseTypeDef:
return {
"taskDefinition": ...,
"ResponseMetadata": ...,
}
Definition
class DeregisterTaskDefinitionResponseTypeDef(TypedDict):
taskDefinition: TaskDefinitionTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeTaskDefinitionResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeTaskDefinitionResponseTypeDef
def get_value() -> DescribeTaskDefinitionResponseTypeDef:
return {
"taskDefinition": ...,
"tags": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeTaskDefinitionResponseTypeDef(TypedDict):
taskDefinition: TaskDefinitionTypeDef, # (1)
tags: List[TagTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskDefinitionTypeDef
- See TagTypeDef
- See ResponseMetadataTypeDef
RegisterTaskDefinitionResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import RegisterTaskDefinitionResponseTypeDef
def get_value() -> RegisterTaskDefinitionResponseTypeDef:
return {
"taskDefinition": ...,
"tags": ...,
"ResponseMetadata": ...,
}
Definition
class RegisterTaskDefinitionResponseTypeDef(TypedDict):
taskDefinition: TaskDefinitionTypeDef, # (1)
tags: List[TagTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See TaskDefinitionTypeDef
- See TagTypeDef
- See ResponseMetadataTypeDef
ServiceTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import ServiceTypeDef
def get_value() -> ServiceTypeDef:
return {
"serviceArn": ...,
}
Definition
class ServiceTypeDef(TypedDict):
serviceArn: NotRequired[str],
serviceName: NotRequired[str],
clusterArn: NotRequired[str],
loadBalancers: NotRequired[List[LoadBalancerTypeDef]], # (1)
serviceRegistries: NotRequired[List[ServiceRegistryTypeDef]], # (2)
status: NotRequired[str],
desiredCount: NotRequired[int],
runningCount: NotRequired[int],
pendingCount: NotRequired[int],
launchType: NotRequired[LaunchTypeType], # (3)
capacityProviderStrategy: NotRequired[List[CapacityProviderStrategyItemTypeDef]], # (4)
platformVersion: NotRequired[str],
platformFamily: NotRequired[str],
taskDefinition: NotRequired[str],
deploymentConfiguration: NotRequired[DeploymentConfigurationTypeDef], # (5)
taskSets: NotRequired[List[TaskSetTypeDef]], # (6)
deployments: NotRequired[List[DeploymentTypeDef]], # (7)
roleArn: NotRequired[str],
events: NotRequired[List[ServiceEventTypeDef]], # (8)
createdAt: NotRequired[datetime],
placementConstraints: NotRequired[List[PlacementConstraintTypeDef]], # (9)
placementStrategy: NotRequired[List[PlacementStrategyTypeDef]], # (10)
networkConfiguration: NotRequired[NetworkConfigurationTypeDef], # (11)
healthCheckGracePeriodSeconds: NotRequired[int],
schedulingStrategy: NotRequired[SchedulingStrategyType], # (12)
deploymentController: NotRequired[DeploymentControllerTypeDef], # (13)
tags: NotRequired[List[TagTypeDef]], # (14)
createdBy: NotRequired[str],
enableECSManagedTags: NotRequired[bool],
propagateTags: NotRequired[PropagateTagsType], # (15)
enableExecuteCommand: NotRequired[bool],
- See LoadBalancerTypeDef
- See ServiceRegistryTypeDef
- See LaunchTypeType
- See CapacityProviderStrategyItemTypeDef
- See DeploymentConfigurationTypeDef
- See TaskSetTypeDef
- See DeploymentTypeDef
- See ServiceEventTypeDef
- See PlacementConstraintTypeDef
- See PlacementStrategyTypeDef
- See NetworkConfigurationTypeDef
- See SchedulingStrategyType
- See DeploymentControllerTypeDef
- See TagTypeDef
- See PropagateTagsType
CreateServiceResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import CreateServiceResponseTypeDef
def get_value() -> CreateServiceResponseTypeDef:
return {
"service": ...,
"ResponseMetadata": ...,
}
Definition
class CreateServiceResponseTypeDef(TypedDict):
service: ServiceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DeleteServiceResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DeleteServiceResponseTypeDef
def get_value() -> DeleteServiceResponseTypeDef:
return {
"service": ...,
"ResponseMetadata": ...,
}
Definition
class DeleteServiceResponseTypeDef(TypedDict):
service: ServiceTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeServicesResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import DescribeServicesResponseTypeDef
def get_value() -> DescribeServicesResponseTypeDef:
return {
"services": ...,
"failures": ...,
"ResponseMetadata": ...,
}
Definition
class DescribeServicesResponseTypeDef(TypedDict):
services: List[ServiceTypeDef], # (1)
failures: List[FailureTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See ServiceTypeDef
- See FailureTypeDef
- See ResponseMetadataTypeDef
UpdateServiceResponseTypeDef
Usage Example
from mypy_boto3_ecs.type_defs import UpdateServiceResponseTypeDef
def get_value() -> UpdateServiceResponseTypeDef:
return {
"service": ...,
"ResponseMetadata": ...,
}