Skip to content

Type definitions#

Index > Batch > Type definitions

Auto-generated documentation for Batch type annotations stubs module mypy-boto3-batch.

EksContainerResourceRequirementsUnionTypeDef#

# EksContainerResourceRequirementsUnionTypeDef Union usage example

from mypy_boto3_batch.type_defs import EksContainerResourceRequirementsUnionTypeDef


def get_value() -> EksContainerResourceRequirementsUnionTypeDef:
    return ...


# EksContainerResourceRequirementsUnionTypeDef definition

EksContainerResourceRequirementsUnionTypeDef = Union[
    EksContainerResourceRequirementsTypeDef,  # (1)
    EksContainerResourceRequirementsOutputTypeDef,  # (2)
]
  1. See EksContainerResourceRequirementsTypeDef
  2. See EksContainerResourceRequirementsOutputTypeDef

EksMetadataUnionTypeDef#

# EksMetadataUnionTypeDef Union usage example

from mypy_boto3_batch.type_defs import EksMetadataUnionTypeDef


def get_value() -> EksMetadataUnionTypeDef:
    return ...


# EksMetadataUnionTypeDef definition

EksMetadataUnionTypeDef = Union[
    EksMetadataTypeDef,  # (1)
    EksMetadataOutputTypeDef,  # (2)
]
  1. See EksMetadataTypeDef
  2. See EksMetadataOutputTypeDef

LaunchTemplateSpecificationOverrideUnionTypeDef#

# LaunchTemplateSpecificationOverrideUnionTypeDef Union usage example

from mypy_boto3_batch.type_defs import LaunchTemplateSpecificationOverrideUnionTypeDef


def get_value() -> LaunchTemplateSpecificationOverrideUnionTypeDef:
    return ...


# LaunchTemplateSpecificationOverrideUnionTypeDef definition

LaunchTemplateSpecificationOverrideUnionTypeDef = Union[
    LaunchTemplateSpecificationOverrideTypeDef,  # (1)
    LaunchTemplateSpecificationOverrideOutputTypeDef,  # (2)
]
  1. See LaunchTemplateSpecificationOverrideTypeDef
  2. See LaunchTemplateSpecificationOverrideOutputTypeDef

RetryStrategyUnionTypeDef#

# RetryStrategyUnionTypeDef Union usage example

from mypy_boto3_batch.type_defs import RetryStrategyUnionTypeDef


def get_value() -> RetryStrategyUnionTypeDef:
    return ...


# RetryStrategyUnionTypeDef definition

RetryStrategyUnionTypeDef = Union[
    RetryStrategyTypeDef,  # (1)
    RetryStrategyOutputTypeDef,  # (2)
]
  1. See RetryStrategyTypeDef
  2. See RetryStrategyOutputTypeDef

FairsharePolicyUnionTypeDef#

# FairsharePolicyUnionTypeDef Union usage example

from mypy_boto3_batch.type_defs import FairsharePolicyUnionTypeDef


def get_value() -> FairsharePolicyUnionTypeDef:
    return ...


# FairsharePolicyUnionTypeDef definition

FairsharePolicyUnionTypeDef = Union[
    FairsharePolicyTypeDef,  # (1)
    FairsharePolicyOutputTypeDef,  # (2)
]
  1. See FairsharePolicyTypeDef
  2. See FairsharePolicyOutputTypeDef

LaunchTemplateSpecificationUnionTypeDef#

# LaunchTemplateSpecificationUnionTypeDef Union usage example

from mypy_boto3_batch.type_defs import LaunchTemplateSpecificationUnionTypeDef


def get_value() -> LaunchTemplateSpecificationUnionTypeDef:
    return ...


# LaunchTemplateSpecificationUnionTypeDef definition

LaunchTemplateSpecificationUnionTypeDef = Union[
    LaunchTemplateSpecificationTypeDef,  # (1)
    LaunchTemplateSpecificationOutputTypeDef,  # (2)
]
  1. See LaunchTemplateSpecificationTypeDef
  2. See LaunchTemplateSpecificationOutputTypeDef

ContainerPropertiesUnionTypeDef#

# ContainerPropertiesUnionTypeDef Union usage example

from mypy_boto3_batch.type_defs import ContainerPropertiesUnionTypeDef


def get_value() -> ContainerPropertiesUnionTypeDef:
    return ...


# ContainerPropertiesUnionTypeDef definition

ContainerPropertiesUnionTypeDef = Union[
    ContainerPropertiesTypeDef,  # (1)
    ContainerPropertiesOutputTypeDef,  # (2)
]
  1. See ContainerPropertiesTypeDef
  2. See ContainerPropertiesOutputTypeDef

EksPropertiesUnionTypeDef#

# EksPropertiesUnionTypeDef Union usage example

from mypy_boto3_batch.type_defs import EksPropertiesUnionTypeDef


def get_value() -> EksPropertiesUnionTypeDef:
    return ...


# EksPropertiesUnionTypeDef definition

EksPropertiesUnionTypeDef = Union[
    EksPropertiesTypeDef,  # (1)
    EksPropertiesOutputTypeDef,  # (2)
]
  1. See EksPropertiesTypeDef
  2. See EksPropertiesOutputTypeDef

ComputeResourceUnionTypeDef#

# ComputeResourceUnionTypeDef Union usage example

from mypy_boto3_batch.type_defs import ComputeResourceUnionTypeDef


def get_value() -> ComputeResourceUnionTypeDef:
    return ...


# ComputeResourceUnionTypeDef definition

ComputeResourceUnionTypeDef = Union[
    ComputeResourceTypeDef,  # (1)
    ComputeResourceOutputTypeDef,  # (2)
]
  1. See ComputeResourceTypeDef
  2. See ComputeResourceOutputTypeDef

EcsPropertiesUnionTypeDef#

# EcsPropertiesUnionTypeDef Union usage example

from mypy_boto3_batch.type_defs import EcsPropertiesUnionTypeDef


def get_value() -> EcsPropertiesUnionTypeDef:
    return ...


# EcsPropertiesUnionTypeDef definition

EcsPropertiesUnionTypeDef = Union[
    EcsPropertiesTypeDef,  # (1)
    EcsPropertiesOutputTypeDef,  # (2)
]
  1. See EcsPropertiesTypeDef
  2. See EcsPropertiesOutputTypeDef

NodePropertiesUnionTypeDef#

# NodePropertiesUnionTypeDef Union usage example

from mypy_boto3_batch.type_defs import NodePropertiesUnionTypeDef


def get_value() -> NodePropertiesUnionTypeDef:
    return ...


# NodePropertiesUnionTypeDef definition

NodePropertiesUnionTypeDef = Union[
    NodePropertiesTypeDef,  # (1)
    NodePropertiesOutputTypeDef,  # (2)
]
  1. See NodePropertiesTypeDef
  2. See NodePropertiesOutputTypeDef

ArrayPropertiesDetailTypeDef#

# ArrayPropertiesDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ArrayPropertiesDetailTypeDef


def get_value() -> ArrayPropertiesDetailTypeDef:
    return {
        "statusSummary": ...,
    }


# ArrayPropertiesDetailTypeDef definition

class ArrayPropertiesDetailTypeDef(TypedDict):
    statusSummary: NotRequired[Dict[str, int]],
    size: NotRequired[int],
    index: NotRequired[int],

ArrayPropertiesSummaryTypeDef#

# ArrayPropertiesSummaryTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ArrayPropertiesSummaryTypeDef


def get_value() -> ArrayPropertiesSummaryTypeDef:
    return {
        "size": ...,
    }


# ArrayPropertiesSummaryTypeDef definition

class ArrayPropertiesSummaryTypeDef(TypedDict):
    size: NotRequired[int],
    index: NotRequired[int],

ArrayPropertiesTypeDef#

# ArrayPropertiesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ArrayPropertiesTypeDef


def get_value() -> ArrayPropertiesTypeDef:
    return {
        "size": ...,
    }


# ArrayPropertiesTypeDef definition

class ArrayPropertiesTypeDef(TypedDict):
    size: NotRequired[int],

NetworkInterfaceTypeDef#

# NetworkInterfaceTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import NetworkInterfaceTypeDef


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


# NetworkInterfaceTypeDef definition

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

CancelJobRequestTypeDef#

# CancelJobRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import CancelJobRequestTypeDef


def get_value() -> CancelJobRequestTypeDef:
    return {
        "jobId": ...,
    }


# CancelJobRequestTypeDef definition

class CancelJobRequestTypeDef(TypedDict):
    jobId: str,
    reason: str,

EksConfigurationTypeDef#

# EksConfigurationTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksConfigurationTypeDef


def get_value() -> EksConfigurationTypeDef:
    return {
        "eksClusterArn": ...,
    }


# EksConfigurationTypeDef definition

class EksConfigurationTypeDef(TypedDict):
    eksClusterArn: str,
    kubernetesNamespace: str,

UpdatePolicyTypeDef#

# UpdatePolicyTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import UpdatePolicyTypeDef


def get_value() -> UpdatePolicyTypeDef:
    return {
        "terminateJobsOnUpdate": ...,
    }


# UpdatePolicyTypeDef definition

class UpdatePolicyTypeDef(TypedDict):
    terminateJobsOnUpdate: NotRequired[bool],
    jobExecutionTimeoutMinutes: NotRequired[int],

ComputeEnvironmentOrderTypeDef#

# ComputeEnvironmentOrderTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ComputeEnvironmentOrderTypeDef


def get_value() -> ComputeEnvironmentOrderTypeDef:
    return {
        "order": ...,
    }


# ComputeEnvironmentOrderTypeDef definition

class ComputeEnvironmentOrderTypeDef(TypedDict):
    order: int,
    computeEnvironment: str,

Ec2ConfigurationTypeDef#

# Ec2ConfigurationTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import Ec2ConfigurationTypeDef


def get_value() -> Ec2ConfigurationTypeDef:
    return {
        "imageType": ...,
    }


# Ec2ConfigurationTypeDef definition

class Ec2ConfigurationTypeDef(TypedDict):
    imageType: str,
    imageIdOverride: NotRequired[str],
    imageKubernetesVersion: NotRequired[str],

EphemeralStorageTypeDef#

# EphemeralStorageTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EphemeralStorageTypeDef


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


# EphemeralStorageTypeDef definition

class EphemeralStorageTypeDef(TypedDict):
    sizeInGiB: int,

FargatePlatformConfigurationTypeDef#

# FargatePlatformConfigurationTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import FargatePlatformConfigurationTypeDef


def get_value() -> FargatePlatformConfigurationTypeDef:
    return {
        "platformVersion": ...,
    }


# FargatePlatformConfigurationTypeDef definition

class FargatePlatformConfigurationTypeDef(TypedDict):
    platformVersion: NotRequired[str],

KeyValuePairTypeDef#

# KeyValuePairTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import KeyValuePairTypeDef


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


# KeyValuePairTypeDef definition

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

MountPointTypeDef#

# MountPointTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import MountPointTypeDef


def get_value() -> MountPointTypeDef:
    return {
        "containerPath": ...,
    }


# MountPointTypeDef definition

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

NetworkConfigurationTypeDef#

# NetworkConfigurationTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import NetworkConfigurationTypeDef


def get_value() -> NetworkConfigurationTypeDef:
    return {
        "assignPublicIp": ...,
    }


# NetworkConfigurationTypeDef definition

class NetworkConfigurationTypeDef(TypedDict):
    assignPublicIp: NotRequired[AssignPublicIpType],  # (1)
  1. See AssignPublicIpType

RepositoryCredentialsTypeDef#

# RepositoryCredentialsTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import RepositoryCredentialsTypeDef


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


# RepositoryCredentialsTypeDef definition

class RepositoryCredentialsTypeDef(TypedDict):
    credentialsParameter: str,

ResourceRequirementTypeDef#

# ResourceRequirementTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ResourceRequirementTypeDef


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


# ResourceRequirementTypeDef definition

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

RuntimePlatformTypeDef#

# RuntimePlatformTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import RuntimePlatformTypeDef


def get_value() -> RuntimePlatformTypeDef:
    return {
        "operatingSystemFamily": ...,
    }


# RuntimePlatformTypeDef definition

class RuntimePlatformTypeDef(TypedDict):
    operatingSystemFamily: NotRequired[str],
    cpuArchitecture: NotRequired[str],

SecretTypeDef#

# SecretTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import SecretTypeDef


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


# SecretTypeDef definition

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

UlimitTypeDef#

# UlimitTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import UlimitTypeDef


def get_value() -> UlimitTypeDef:
    return {
        "hardLimit": ...,
    }


# UlimitTypeDef definition

class UlimitTypeDef(TypedDict):
    hardLimit: int,
    name: str,
    softLimit: int,

ContainerSummaryTypeDef#

# ContainerSummaryTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ContainerSummaryTypeDef


def get_value() -> ContainerSummaryTypeDef:
    return {
        "exitCode": ...,
    }


# ContainerSummaryTypeDef definition

class ContainerSummaryTypeDef(TypedDict):
    exitCode: NotRequired[int],
    reason: NotRequired[str],

ResponseMetadataTypeDef#

# ResponseMetadataTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ResponseMetadataTypeDef


def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
    }


# ResponseMetadataTypeDef definition

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

JobStateTimeLimitActionTypeDef#

# JobStateTimeLimitActionTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import JobStateTimeLimitActionTypeDef


def get_value() -> JobStateTimeLimitActionTypeDef:
    return {
        "reason": ...,
    }


# JobStateTimeLimitActionTypeDef definition

class JobStateTimeLimitActionTypeDef(TypedDict):
    reason: str,
    state: JobStateTimeLimitActionsStateType,  # (1)
    maxTimeSeconds: int,
    action: JobStateTimeLimitActionsActionType,  # (2)
  1. See JobStateTimeLimitActionsStateType
  2. See JobStateTimeLimitActionsActionType

DeleteComputeEnvironmentRequestTypeDef#

# DeleteComputeEnvironmentRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DeleteComputeEnvironmentRequestTypeDef


def get_value() -> DeleteComputeEnvironmentRequestTypeDef:
    return {
        "computeEnvironment": ...,
    }


# DeleteComputeEnvironmentRequestTypeDef definition

class DeleteComputeEnvironmentRequestTypeDef(TypedDict):
    computeEnvironment: str,

DeleteJobQueueRequestTypeDef#

# DeleteJobQueueRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DeleteJobQueueRequestTypeDef


def get_value() -> DeleteJobQueueRequestTypeDef:
    return {
        "jobQueue": ...,
    }


# DeleteJobQueueRequestTypeDef definition

class DeleteJobQueueRequestTypeDef(TypedDict):
    jobQueue: str,

DeleteSchedulingPolicyRequestTypeDef#

# DeleteSchedulingPolicyRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DeleteSchedulingPolicyRequestTypeDef


def get_value() -> DeleteSchedulingPolicyRequestTypeDef:
    return {
        "arn": ...,
    }


# DeleteSchedulingPolicyRequestTypeDef definition

class DeleteSchedulingPolicyRequestTypeDef(TypedDict):
    arn: str,

DeregisterJobDefinitionRequestTypeDef#

# DeregisterJobDefinitionRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DeregisterJobDefinitionRequestTypeDef


def get_value() -> DeregisterJobDefinitionRequestTypeDef:
    return {
        "jobDefinition": ...,
    }


# DeregisterJobDefinitionRequestTypeDef definition

class DeregisterJobDefinitionRequestTypeDef(TypedDict):
    jobDefinition: str,

PaginatorConfigTypeDef#

# PaginatorConfigTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import PaginatorConfigTypeDef


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


# PaginatorConfigTypeDef definition

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

DescribeComputeEnvironmentsRequestTypeDef#

# DescribeComputeEnvironmentsRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeComputeEnvironmentsRequestTypeDef


def get_value() -> DescribeComputeEnvironmentsRequestTypeDef:
    return {
        "computeEnvironments": ...,
    }


# DescribeComputeEnvironmentsRequestTypeDef definition

class DescribeComputeEnvironmentsRequestTypeDef(TypedDict):
    computeEnvironments: NotRequired[Sequence[str]],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

DescribeJobDefinitionsRequestTypeDef#

# DescribeJobDefinitionsRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeJobDefinitionsRequestTypeDef


def get_value() -> DescribeJobDefinitionsRequestTypeDef:
    return {
        "jobDefinitions": ...,
    }


# DescribeJobDefinitionsRequestTypeDef definition

class DescribeJobDefinitionsRequestTypeDef(TypedDict):
    jobDefinitions: NotRequired[Sequence[str]],
    maxResults: NotRequired[int],
    jobDefinitionName: NotRequired[str],
    status: NotRequired[str],
    nextToken: NotRequired[str],

DescribeJobQueuesRequestTypeDef#

# DescribeJobQueuesRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeJobQueuesRequestTypeDef


def get_value() -> DescribeJobQueuesRequestTypeDef:
    return {
        "jobQueues": ...,
    }


# DescribeJobQueuesRequestTypeDef definition

class DescribeJobQueuesRequestTypeDef(TypedDict):
    jobQueues: NotRequired[Sequence[str]],
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],

DescribeJobsRequestTypeDef#

# DescribeJobsRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeJobsRequestTypeDef


def get_value() -> DescribeJobsRequestTypeDef:
    return {
        "jobs": ...,
    }


# DescribeJobsRequestTypeDef definition

class DescribeJobsRequestTypeDef(TypedDict):
    jobs: Sequence[str],

DescribeSchedulingPoliciesRequestTypeDef#

# DescribeSchedulingPoliciesRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeSchedulingPoliciesRequestTypeDef


def get_value() -> DescribeSchedulingPoliciesRequestTypeDef:
    return {
        "arns": ...,
    }


# DescribeSchedulingPoliciesRequestTypeDef definition

class DescribeSchedulingPoliciesRequestTypeDef(TypedDict):
    arns: Sequence[str],

DeviceOutputTypeDef#

# DeviceOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DeviceOutputTypeDef


def get_value() -> DeviceOutputTypeDef:
    return {
        "hostPath": ...,
    }


# DeviceOutputTypeDef definition

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

DeviceTypeDef#

# DeviceTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DeviceTypeDef


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


# DeviceTypeDef definition

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

EFSAuthorizationConfigTypeDef#

# EFSAuthorizationConfigTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EFSAuthorizationConfigTypeDef


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


# EFSAuthorizationConfigTypeDef definition

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

EksAttemptContainerDetailTypeDef#

# EksAttemptContainerDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksAttemptContainerDetailTypeDef


def get_value() -> EksAttemptContainerDetailTypeDef:
    return {
        "name": ...,
    }


# EksAttemptContainerDetailTypeDef definition

class EksAttemptContainerDetailTypeDef(TypedDict):
    name: NotRequired[str],
    containerID: NotRequired[str],
    exitCode: NotRequired[int],
    reason: NotRequired[str],

EksContainerEnvironmentVariableTypeDef#

# EksContainerEnvironmentVariableTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksContainerEnvironmentVariableTypeDef


def get_value() -> EksContainerEnvironmentVariableTypeDef:
    return {
        "name": ...,
    }


# EksContainerEnvironmentVariableTypeDef definition

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

EksContainerResourceRequirementsOutputTypeDef#

# EksContainerResourceRequirementsOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksContainerResourceRequirementsOutputTypeDef


def get_value() -> EksContainerResourceRequirementsOutputTypeDef:
    return {
        "limits": ...,
    }


# EksContainerResourceRequirementsOutputTypeDef definition

class EksContainerResourceRequirementsOutputTypeDef(TypedDict):
    limits: NotRequired[Dict[str, str]],
    requests: NotRequired[Dict[str, str]],

EksContainerSecurityContextTypeDef#

# EksContainerSecurityContextTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksContainerSecurityContextTypeDef


def get_value() -> EksContainerSecurityContextTypeDef:
    return {
        "runAsUser": ...,
    }


# EksContainerSecurityContextTypeDef definition

class EksContainerSecurityContextTypeDef(TypedDict):
    runAsUser: NotRequired[int],
    runAsGroup: NotRequired[int],
    privileged: NotRequired[bool],
    allowPrivilegeEscalation: NotRequired[bool],
    readOnlyRootFilesystem: NotRequired[bool],
    runAsNonRoot: NotRequired[bool],

EksContainerVolumeMountTypeDef#

# EksContainerVolumeMountTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksContainerVolumeMountTypeDef


def get_value() -> EksContainerVolumeMountTypeDef:
    return {
        "name": ...,
    }


# EksContainerVolumeMountTypeDef definition

class EksContainerVolumeMountTypeDef(TypedDict):
    name: NotRequired[str],
    mountPath: NotRequired[str],
    subPath: NotRequired[str],
    readOnly: NotRequired[bool],

EksContainerResourceRequirementsTypeDef#

# EksContainerResourceRequirementsTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksContainerResourceRequirementsTypeDef


def get_value() -> EksContainerResourceRequirementsTypeDef:
    return {
        "limits": ...,
    }


# EksContainerResourceRequirementsTypeDef definition

class EksContainerResourceRequirementsTypeDef(TypedDict):
    limits: NotRequired[Mapping[str, str]],
    requests: NotRequired[Mapping[str, str]],

EksEmptyDirTypeDef#

# EksEmptyDirTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksEmptyDirTypeDef


def get_value() -> EksEmptyDirTypeDef:
    return {
        "medium": ...,
    }


# EksEmptyDirTypeDef definition

class EksEmptyDirTypeDef(TypedDict):
    medium: NotRequired[str],
    sizeLimit: NotRequired[str],

EksHostPathTypeDef#

# EksHostPathTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksHostPathTypeDef


def get_value() -> EksHostPathTypeDef:
    return {
        "path": ...,
    }


# EksHostPathTypeDef definition

class EksHostPathTypeDef(TypedDict):
    path: NotRequired[str],

EksMetadataOutputTypeDef#

# EksMetadataOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksMetadataOutputTypeDef


def get_value() -> EksMetadataOutputTypeDef:
    return {
        "labels": ...,
    }


# EksMetadataOutputTypeDef definition

class EksMetadataOutputTypeDef(TypedDict):
    labels: NotRequired[Dict[str, str]],
    annotations: NotRequired[Dict[str, str]],
    namespace: NotRequired[str],

EksMetadataTypeDef#

# EksMetadataTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksMetadataTypeDef


def get_value() -> EksMetadataTypeDef:
    return {
        "labels": ...,
    }


# EksMetadataTypeDef definition

class EksMetadataTypeDef(TypedDict):
    labels: NotRequired[Mapping[str, str]],
    annotations: NotRequired[Mapping[str, str]],
    namespace: NotRequired[str],

EksPersistentVolumeClaimTypeDef#

# EksPersistentVolumeClaimTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksPersistentVolumeClaimTypeDef


def get_value() -> EksPersistentVolumeClaimTypeDef:
    return {
        "claimName": ...,
    }


# EksPersistentVolumeClaimTypeDef definition

class EksPersistentVolumeClaimTypeDef(TypedDict):
    claimName: str,
    readOnly: NotRequired[bool],

ImagePullSecretTypeDef#

# ImagePullSecretTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ImagePullSecretTypeDef


def get_value() -> ImagePullSecretTypeDef:
    return {
        "name": ...,
    }


# ImagePullSecretTypeDef definition

class ImagePullSecretTypeDef(TypedDict):
    name: str,

EksSecretTypeDef#

# EksSecretTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksSecretTypeDef


def get_value() -> EksSecretTypeDef:
    return {
        "secretName": ...,
    }


# EksSecretTypeDef definition

class EksSecretTypeDef(TypedDict):
    secretName: str,
    optional: NotRequired[bool],

EvaluateOnExitTypeDef#

# EvaluateOnExitTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EvaluateOnExitTypeDef


def get_value() -> EvaluateOnExitTypeDef:
    return {
        "onStatusReason": ...,
    }


# EvaluateOnExitTypeDef definition

class EvaluateOnExitTypeDef(TypedDict):
    action: RetryActionType,  # (1)
    onStatusReason: NotRequired[str],
    onReason: NotRequired[str],
    onExitCode: NotRequired[str],
  1. See RetryActionType

ShareAttributesTypeDef#

# ShareAttributesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ShareAttributesTypeDef


def get_value() -> ShareAttributesTypeDef:
    return {
        "shareIdentifier": ...,
    }


# ShareAttributesTypeDef definition

class ShareAttributesTypeDef(TypedDict):
    shareIdentifier: str,
    weightFactor: NotRequired[float],

FrontOfQueueJobSummaryTypeDef#

# FrontOfQueueJobSummaryTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import FrontOfQueueJobSummaryTypeDef


def get_value() -> FrontOfQueueJobSummaryTypeDef:
    return {
        "jobArn": ...,
    }


# FrontOfQueueJobSummaryTypeDef definition

class FrontOfQueueJobSummaryTypeDef(TypedDict):
    jobArn: NotRequired[str],
    earliestTimeAtPosition: NotRequired[int],

GetJobQueueSnapshotRequestTypeDef#

# GetJobQueueSnapshotRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import GetJobQueueSnapshotRequestTypeDef


def get_value() -> GetJobQueueSnapshotRequestTypeDef:
    return {
        "jobQueue": ...,
    }


# GetJobQueueSnapshotRequestTypeDef definition

class GetJobQueueSnapshotRequestTypeDef(TypedDict):
    jobQueue: str,

HostTypeDef#

# HostTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import HostTypeDef


def get_value() -> HostTypeDef:
    return {
        "sourcePath": ...,
    }


# HostTypeDef definition

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

JobTimeoutTypeDef#

# JobTimeoutTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import JobTimeoutTypeDef


def get_value() -> JobTimeoutTypeDef:
    return {
        "attemptDurationSeconds": ...,
    }


# JobTimeoutTypeDef definition

class JobTimeoutTypeDef(TypedDict):
    attemptDurationSeconds: NotRequired[int],

JobDependencyTypeDef#

# JobDependencyTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import JobDependencyTypeDef


def get_value() -> JobDependencyTypeDef:
    return {
        "jobId": ...,
    }


# JobDependencyTypeDef definition

class JobDependencyTypeDef(TypedDict):
    jobId: NotRequired[str],
    type: NotRequired[ArrayJobDependencyType],  # (1)
  1. See ArrayJobDependencyType

NodeDetailsTypeDef#

# NodeDetailsTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import NodeDetailsTypeDef


def get_value() -> NodeDetailsTypeDef:
    return {
        "nodeIndex": ...,
    }


# NodeDetailsTypeDef definition

class NodeDetailsTypeDef(TypedDict):
    nodeIndex: NotRequired[int],
    isMainNode: NotRequired[bool],

NodePropertiesSummaryTypeDef#

# NodePropertiesSummaryTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import NodePropertiesSummaryTypeDef


def get_value() -> NodePropertiesSummaryTypeDef:
    return {
        "isMainNode": ...,
    }


# NodePropertiesSummaryTypeDef definition

class NodePropertiesSummaryTypeDef(TypedDict):
    isMainNode: NotRequired[bool],
    numNodes: NotRequired[int],
    nodeIndex: NotRequired[int],

KeyValuesPairTypeDef#

# KeyValuesPairTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import KeyValuesPairTypeDef


def get_value() -> KeyValuesPairTypeDef:
    return {
        "name": ...,
    }


# KeyValuesPairTypeDef definition

class KeyValuesPairTypeDef(TypedDict):
    name: NotRequired[str],
    values: NotRequired[Sequence[str]],

LaunchTemplateSpecificationOverrideOutputTypeDef#

# LaunchTemplateSpecificationOverrideOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import LaunchTemplateSpecificationOverrideOutputTypeDef


def get_value() -> LaunchTemplateSpecificationOverrideOutputTypeDef:
    return {
        "launchTemplateId": ...,
    }


# LaunchTemplateSpecificationOverrideOutputTypeDef definition

class LaunchTemplateSpecificationOverrideOutputTypeDef(TypedDict):
    launchTemplateId: NotRequired[str],
    launchTemplateName: NotRequired[str],
    version: NotRequired[str],
    targetInstanceTypes: NotRequired[List[str]],

LaunchTemplateSpecificationOverrideTypeDef#

# LaunchTemplateSpecificationOverrideTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import LaunchTemplateSpecificationOverrideTypeDef


def get_value() -> LaunchTemplateSpecificationOverrideTypeDef:
    return {
        "launchTemplateId": ...,
    }


# LaunchTemplateSpecificationOverrideTypeDef definition

class LaunchTemplateSpecificationOverrideTypeDef(TypedDict):
    launchTemplateId: NotRequired[str],
    launchTemplateName: NotRequired[str],
    version: NotRequired[str],
    targetInstanceTypes: NotRequired[Sequence[str]],

TmpfsOutputTypeDef#

# TmpfsOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import TmpfsOutputTypeDef


def get_value() -> TmpfsOutputTypeDef:
    return {
        "containerPath": ...,
    }


# TmpfsOutputTypeDef definition

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

TmpfsTypeDef#

# TmpfsTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import TmpfsTypeDef


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


# TmpfsTypeDef definition

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

ListSchedulingPoliciesRequestTypeDef#

# ListSchedulingPoliciesRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ListSchedulingPoliciesRequestTypeDef


def get_value() -> ListSchedulingPoliciesRequestTypeDef:
    return {
        "maxResults": ...,
    }


# ListSchedulingPoliciesRequestTypeDef definition

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

SchedulingPolicyListingDetailTypeDef#

# SchedulingPolicyListingDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import SchedulingPolicyListingDetailTypeDef


def get_value() -> SchedulingPolicyListingDetailTypeDef:
    return {
        "arn": ...,
    }


# SchedulingPolicyListingDetailTypeDef definition

class SchedulingPolicyListingDetailTypeDef(TypedDict):
    arn: str,

ListTagsForResourceRequestTypeDef#

# ListTagsForResourceRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ListTagsForResourceRequestTypeDef


def get_value() -> ListTagsForResourceRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# ListTagsForResourceRequestTypeDef definition

class ListTagsForResourceRequestTypeDef(TypedDict):
    resourceArn: str,

TagResourceRequestTypeDef#

# TagResourceRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import TagResourceRequestTypeDef


def get_value() -> TagResourceRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# TagResourceRequestTypeDef definition

class TagResourceRequestTypeDef(TypedDict):
    resourceArn: str,
    tags: Mapping[str, str],

TaskContainerDependencyTypeDef#

# TaskContainerDependencyTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import TaskContainerDependencyTypeDef


def get_value() -> TaskContainerDependencyTypeDef:
    return {
        "containerName": ...,
    }


# TaskContainerDependencyTypeDef definition

class TaskContainerDependencyTypeDef(TypedDict):
    containerName: NotRequired[str],
    condition: NotRequired[str],

TerminateJobRequestTypeDef#

# TerminateJobRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import TerminateJobRequestTypeDef


def get_value() -> TerminateJobRequestTypeDef:
    return {
        "jobId": ...,
    }


# TerminateJobRequestTypeDef definition

class TerminateJobRequestTypeDef(TypedDict):
    jobId: str,
    reason: str,

UntagResourceRequestTypeDef#

# UntagResourceRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import UntagResourceRequestTypeDef


def get_value() -> UntagResourceRequestTypeDef:
    return {
        "resourceArn": ...,
    }


# UntagResourceRequestTypeDef definition

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

AttemptContainerDetailTypeDef#

# AttemptContainerDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import AttemptContainerDetailTypeDef


def get_value() -> AttemptContainerDetailTypeDef:
    return {
        "containerInstanceArn": ...,
    }


# AttemptContainerDetailTypeDef definition

class AttemptContainerDetailTypeDef(TypedDict):
    containerInstanceArn: NotRequired[str],
    taskArn: NotRequired[str],
    exitCode: NotRequired[int],
    reason: NotRequired[str],
    logStreamName: NotRequired[str],
    networkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]],  # (1)
  1. See NetworkInterfaceTypeDef

AttemptTaskContainerDetailsTypeDef#

# AttemptTaskContainerDetailsTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import AttemptTaskContainerDetailsTypeDef


def get_value() -> AttemptTaskContainerDetailsTypeDef:
    return {
        "exitCode": ...,
    }


# AttemptTaskContainerDetailsTypeDef definition

class AttemptTaskContainerDetailsTypeDef(TypedDict):
    exitCode: NotRequired[int],
    name: NotRequired[str],
    reason: NotRequired[str],
    logStreamName: NotRequired[str],
    networkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]],  # (1)
  1. See NetworkInterfaceTypeDef

ContainerOverridesTypeDef#

# ContainerOverridesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ContainerOverridesTypeDef


def get_value() -> ContainerOverridesTypeDef:
    return {
        "vcpus": ...,
    }


# ContainerOverridesTypeDef definition

class ContainerOverridesTypeDef(TypedDict):
    vcpus: NotRequired[int],
    memory: NotRequired[int],
    command: NotRequired[Sequence[str]],
    instanceType: NotRequired[str],
    environment: NotRequired[Sequence[KeyValuePairTypeDef]],  # (1)
    resourceRequirements: NotRequired[Sequence[ResourceRequirementTypeDef]],  # (2)
  1. See KeyValuePairTypeDef
  2. See ResourceRequirementTypeDef

TaskContainerOverridesTypeDef#

# TaskContainerOverridesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import TaskContainerOverridesTypeDef


def get_value() -> TaskContainerOverridesTypeDef:
    return {
        "command": ...,
    }


# TaskContainerOverridesTypeDef definition

class TaskContainerOverridesTypeDef(TypedDict):
    command: NotRequired[Sequence[str]],
    environment: NotRequired[Sequence[KeyValuePairTypeDef]],  # (1)
    name: NotRequired[str],
    resourceRequirements: NotRequired[Sequence[ResourceRequirementTypeDef]],  # (2)
  1. See KeyValuePairTypeDef
  2. See ResourceRequirementTypeDef

LogConfigurationOutputTypeDef#

# LogConfigurationOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import LogConfigurationOutputTypeDef


def get_value() -> LogConfigurationOutputTypeDef:
    return {
        "logDriver": ...,
    }


# LogConfigurationOutputTypeDef definition

class LogConfigurationOutputTypeDef(TypedDict):
    logDriver: LogDriverType,  # (1)
    options: NotRequired[Dict[str, str]],
    secretOptions: NotRequired[List[SecretTypeDef]],  # (2)
  1. See LogDriverType
  2. See SecretTypeDef

LogConfigurationTypeDef#

# LogConfigurationTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import LogConfigurationTypeDef


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


# LogConfigurationTypeDef definition

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

CreateComputeEnvironmentResponseTypeDef#

# CreateComputeEnvironmentResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import CreateComputeEnvironmentResponseTypeDef


def get_value() -> CreateComputeEnvironmentResponseTypeDef:
    return {
        "computeEnvironmentName": ...,
    }


# CreateComputeEnvironmentResponseTypeDef definition

class CreateComputeEnvironmentResponseTypeDef(TypedDict):
    computeEnvironmentName: str,
    computeEnvironmentArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateJobQueueResponseTypeDef#

# CreateJobQueueResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import CreateJobQueueResponseTypeDef


def get_value() -> CreateJobQueueResponseTypeDef:
    return {
        "jobQueueName": ...,
    }


# CreateJobQueueResponseTypeDef definition

class CreateJobQueueResponseTypeDef(TypedDict):
    jobQueueName: str,
    jobQueueArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateSchedulingPolicyResponseTypeDef#

# CreateSchedulingPolicyResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import CreateSchedulingPolicyResponseTypeDef


def get_value() -> CreateSchedulingPolicyResponseTypeDef:
    return {
        "name": ...,
    }


# CreateSchedulingPolicyResponseTypeDef definition

class CreateSchedulingPolicyResponseTypeDef(TypedDict):
    name: str,
    arn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListTagsForResourceResponseTypeDef#

# ListTagsForResourceResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ListTagsForResourceResponseTypeDef


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


# ListTagsForResourceResponseTypeDef definition

class ListTagsForResourceResponseTypeDef(TypedDict):
    tags: Dict[str, str],
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

RegisterJobDefinitionResponseTypeDef#

# RegisterJobDefinitionResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import RegisterJobDefinitionResponseTypeDef


def get_value() -> RegisterJobDefinitionResponseTypeDef:
    return {
        "jobDefinitionName": ...,
    }


# RegisterJobDefinitionResponseTypeDef definition

class RegisterJobDefinitionResponseTypeDef(TypedDict):
    jobDefinitionName: str,
    jobDefinitionArn: str,
    revision: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

SubmitJobResponseTypeDef#

# SubmitJobResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import SubmitJobResponseTypeDef


def get_value() -> SubmitJobResponseTypeDef:
    return {
        "jobArn": ...,
    }


# SubmitJobResponseTypeDef definition

class SubmitJobResponseTypeDef(TypedDict):
    jobArn: str,
    jobName: str,
    jobId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateComputeEnvironmentResponseTypeDef#

# UpdateComputeEnvironmentResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import UpdateComputeEnvironmentResponseTypeDef


def get_value() -> UpdateComputeEnvironmentResponseTypeDef:
    return {
        "computeEnvironmentName": ...,
    }


# UpdateComputeEnvironmentResponseTypeDef definition

class UpdateComputeEnvironmentResponseTypeDef(TypedDict):
    computeEnvironmentName: str,
    computeEnvironmentArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

UpdateJobQueueResponseTypeDef#

# UpdateJobQueueResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import UpdateJobQueueResponseTypeDef


def get_value() -> UpdateJobQueueResponseTypeDef:
    return {
        "jobQueueName": ...,
    }


# UpdateJobQueueResponseTypeDef definition

class UpdateJobQueueResponseTypeDef(TypedDict):
    jobQueueName: str,
    jobQueueArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateJobQueueRequestTypeDef#

# CreateJobQueueRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import CreateJobQueueRequestTypeDef


def get_value() -> CreateJobQueueRequestTypeDef:
    return {
        "jobQueueName": ...,
    }


# CreateJobQueueRequestTypeDef definition

class CreateJobQueueRequestTypeDef(TypedDict):
    jobQueueName: str,
    priority: int,
    computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef],  # (1)
    state: NotRequired[JQStateType],  # (2)
    schedulingPolicyArn: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
    jobStateTimeLimitActions: NotRequired[Sequence[JobStateTimeLimitActionTypeDef]],  # (3)
  1. See ComputeEnvironmentOrderTypeDef
  2. See JQStateType
  3. See JobStateTimeLimitActionTypeDef

JobQueueDetailTypeDef#

# JobQueueDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import JobQueueDetailTypeDef


def get_value() -> JobQueueDetailTypeDef:
    return {
        "jobQueueName": ...,
    }


# JobQueueDetailTypeDef definition

class JobQueueDetailTypeDef(TypedDict):
    jobQueueName: str,
    jobQueueArn: str,
    state: JQStateType,  # (1)
    priority: int,
    computeEnvironmentOrder: List[ComputeEnvironmentOrderTypeDef],  # (3)
    schedulingPolicyArn: NotRequired[str],
    status: NotRequired[JQStatusType],  # (2)
    statusReason: NotRequired[str],
    tags: NotRequired[Dict[str, str]],
    jobStateTimeLimitActions: NotRequired[List[JobStateTimeLimitActionTypeDef]],  # (4)
  1. See JQStateType
  2. See JQStatusType
  3. See ComputeEnvironmentOrderTypeDef
  4. See JobStateTimeLimitActionTypeDef

UpdateJobQueueRequestTypeDef#

# UpdateJobQueueRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import UpdateJobQueueRequestTypeDef


def get_value() -> UpdateJobQueueRequestTypeDef:
    return {
        "jobQueue": ...,
    }


# UpdateJobQueueRequestTypeDef definition

class UpdateJobQueueRequestTypeDef(TypedDict):
    jobQueue: str,
    state: NotRequired[JQStateType],  # (1)
    schedulingPolicyArn: NotRequired[str],
    priority: NotRequired[int],
    computeEnvironmentOrder: NotRequired[Sequence[ComputeEnvironmentOrderTypeDef]],  # (2)
    jobStateTimeLimitActions: NotRequired[Sequence[JobStateTimeLimitActionTypeDef]],  # (3)
  1. See JQStateType
  2. See ComputeEnvironmentOrderTypeDef
  3. See JobStateTimeLimitActionTypeDef

DescribeComputeEnvironmentsRequestPaginateTypeDef#

# DescribeComputeEnvironmentsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeComputeEnvironmentsRequestPaginateTypeDef


def get_value() -> DescribeComputeEnvironmentsRequestPaginateTypeDef:
    return {
        "computeEnvironments": ...,
    }


# DescribeComputeEnvironmentsRequestPaginateTypeDef definition

class DescribeComputeEnvironmentsRequestPaginateTypeDef(TypedDict):
    computeEnvironments: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeJobDefinitionsRequestPaginateTypeDef#

# DescribeJobDefinitionsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeJobDefinitionsRequestPaginateTypeDef


def get_value() -> DescribeJobDefinitionsRequestPaginateTypeDef:
    return {
        "jobDefinitions": ...,
    }


# DescribeJobDefinitionsRequestPaginateTypeDef definition

class DescribeJobDefinitionsRequestPaginateTypeDef(TypedDict):
    jobDefinitions: NotRequired[Sequence[str]],
    jobDefinitionName: NotRequired[str],
    status: NotRequired[str],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

DescribeJobQueuesRequestPaginateTypeDef#

# DescribeJobQueuesRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeJobQueuesRequestPaginateTypeDef


def get_value() -> DescribeJobQueuesRequestPaginateTypeDef:
    return {
        "jobQueues": ...,
    }


# DescribeJobQueuesRequestPaginateTypeDef definition

class DescribeJobQueuesRequestPaginateTypeDef(TypedDict):
    jobQueues: NotRequired[Sequence[str]],
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (1)
  1. See PaginatorConfigTypeDef

ListSchedulingPoliciesRequestPaginateTypeDef#

# ListSchedulingPoliciesRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ListSchedulingPoliciesRequestPaginateTypeDef


def get_value() -> ListSchedulingPoliciesRequestPaginateTypeDef:
    return {
        "PaginationConfig": ...,
    }


# ListSchedulingPoliciesRequestPaginateTypeDef definition

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

EFSVolumeConfigurationTypeDef#

# EFSVolumeConfigurationTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EFSVolumeConfigurationTypeDef


def get_value() -> EFSVolumeConfigurationTypeDef:
    return {
        "fileSystemId": ...,
    }


# EFSVolumeConfigurationTypeDef definition

class EFSVolumeConfigurationTypeDef(TypedDict):
    fileSystemId: str,
    rootDirectory: NotRequired[str],
    transitEncryption: NotRequired[EFSTransitEncryptionType],  # (1)
    transitEncryptionPort: NotRequired[int],
    authorizationConfig: NotRequired[EFSAuthorizationConfigTypeDef],  # (2)
  1. See EFSTransitEncryptionType
  2. See EFSAuthorizationConfigTypeDef

EksAttemptDetailTypeDef#

# EksAttemptDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksAttemptDetailTypeDef


def get_value() -> EksAttemptDetailTypeDef:
    return {
        "containers": ...,
    }


# EksAttemptDetailTypeDef definition

class EksAttemptDetailTypeDef(TypedDict):
    containers: NotRequired[List[EksAttemptContainerDetailTypeDef]],  # (1)
    initContainers: NotRequired[List[EksAttemptContainerDetailTypeDef]],  # (1)
    eksClusterArn: NotRequired[str],
    podName: NotRequired[str],
    podNamespace: NotRequired[str],
    nodeName: NotRequired[str],
    startedAt: NotRequired[int],
    stoppedAt: NotRequired[int],
    statusReason: NotRequired[str],
  1. See EksAttemptContainerDetailTypeDef
  2. See EksAttemptContainerDetailTypeDef

EksContainerDetailTypeDef#

# EksContainerDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksContainerDetailTypeDef


def get_value() -> EksContainerDetailTypeDef:
    return {
        "name": ...,
    }


# EksContainerDetailTypeDef definition

class EksContainerDetailTypeDef(TypedDict):
    name: NotRequired[str],
    image: NotRequired[str],
    imagePullPolicy: NotRequired[str],
    command: NotRequired[List[str]],
    args: NotRequired[List[str]],
    env: NotRequired[List[EksContainerEnvironmentVariableTypeDef]],  # (1)
    resources: NotRequired[EksContainerResourceRequirementsOutputTypeDef],  # (2)
    exitCode: NotRequired[int],
    reason: NotRequired[str],
    volumeMounts: NotRequired[List[EksContainerVolumeMountTypeDef]],  # (3)
    securityContext: NotRequired[EksContainerSecurityContextTypeDef],  # (4)
  1. See EksContainerEnvironmentVariableTypeDef
  2. See EksContainerResourceRequirementsOutputTypeDef
  3. See EksContainerVolumeMountTypeDef
  4. See EksContainerSecurityContextTypeDef

EksContainerOutputTypeDef#

# EksContainerOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksContainerOutputTypeDef


def get_value() -> EksContainerOutputTypeDef:
    return {
        "name": ...,
    }


# EksContainerOutputTypeDef definition

class EksContainerOutputTypeDef(TypedDict):
    image: str,
    name: NotRequired[str],
    imagePullPolicy: NotRequired[str],
    command: NotRequired[List[str]],
    args: NotRequired[List[str]],
    env: NotRequired[List[EksContainerEnvironmentVariableTypeDef]],  # (1)
    resources: NotRequired[EksContainerResourceRequirementsOutputTypeDef],  # (2)
    volumeMounts: NotRequired[List[EksContainerVolumeMountTypeDef]],  # (3)
    securityContext: NotRequired[EksContainerSecurityContextTypeDef],  # (4)
  1. See EksContainerEnvironmentVariableTypeDef
  2. See EksContainerResourceRequirementsOutputTypeDef
  3. See EksContainerVolumeMountTypeDef
  4. See EksContainerSecurityContextTypeDef

EksContainerTypeDef#

# EksContainerTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksContainerTypeDef


def get_value() -> EksContainerTypeDef:
    return {
        "name": ...,
    }


# EksContainerTypeDef definition

class EksContainerTypeDef(TypedDict):
    image: str,
    name: NotRequired[str],
    imagePullPolicy: NotRequired[str],
    command: NotRequired[Sequence[str]],
    args: NotRequired[Sequence[str]],
    env: NotRequired[Sequence[EksContainerEnvironmentVariableTypeDef]],  # (1)
    resources: NotRequired[EksContainerResourceRequirementsTypeDef],  # (2)
    volumeMounts: NotRequired[Sequence[EksContainerVolumeMountTypeDef]],  # (3)
    securityContext: NotRequired[EksContainerSecurityContextTypeDef],  # (4)
  1. See EksContainerEnvironmentVariableTypeDef
  2. See EksContainerResourceRequirementsTypeDef
  3. See EksContainerVolumeMountTypeDef
  4. See EksContainerSecurityContextTypeDef

EksVolumeTypeDef#

# EksVolumeTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksVolumeTypeDef


def get_value() -> EksVolumeTypeDef:
    return {
        "name": ...,
    }


# EksVolumeTypeDef definition

class EksVolumeTypeDef(TypedDict):
    name: str,
    hostPath: NotRequired[EksHostPathTypeDef],  # (1)
    emptyDir: NotRequired[EksEmptyDirTypeDef],  # (2)
    secret: NotRequired[EksSecretTypeDef],  # (3)
    persistentVolumeClaim: NotRequired[EksPersistentVolumeClaimTypeDef],  # (4)
  1. See EksHostPathTypeDef
  2. See EksEmptyDirTypeDef
  3. See EksSecretTypeDef
  4. See EksPersistentVolumeClaimTypeDef

RetryStrategyOutputTypeDef#

# RetryStrategyOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import RetryStrategyOutputTypeDef


def get_value() -> RetryStrategyOutputTypeDef:
    return {
        "attempts": ...,
    }


# RetryStrategyOutputTypeDef definition

class RetryStrategyOutputTypeDef(TypedDict):
    attempts: NotRequired[int],
    evaluateOnExit: NotRequired[List[EvaluateOnExitTypeDef]],  # (1)
  1. See EvaluateOnExitTypeDef

RetryStrategyTypeDef#

# RetryStrategyTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import RetryStrategyTypeDef


def get_value() -> RetryStrategyTypeDef:
    return {
        "attempts": ...,
    }


# RetryStrategyTypeDef definition

class RetryStrategyTypeDef(TypedDict):
    attempts: NotRequired[int],
    evaluateOnExit: NotRequired[Sequence[EvaluateOnExitTypeDef]],  # (1)
  1. See EvaluateOnExitTypeDef

FairsharePolicyOutputTypeDef#

# FairsharePolicyOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import FairsharePolicyOutputTypeDef


def get_value() -> FairsharePolicyOutputTypeDef:
    return {
        "shareDecaySeconds": ...,
    }


# FairsharePolicyOutputTypeDef definition

class FairsharePolicyOutputTypeDef(TypedDict):
    shareDecaySeconds: NotRequired[int],
    computeReservation: NotRequired[int],
    shareDistribution: NotRequired[List[ShareAttributesTypeDef]],  # (1)
  1. See ShareAttributesTypeDef

FairsharePolicyTypeDef#

# FairsharePolicyTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import FairsharePolicyTypeDef


def get_value() -> FairsharePolicyTypeDef:
    return {
        "shareDecaySeconds": ...,
    }


# FairsharePolicyTypeDef definition

class FairsharePolicyTypeDef(TypedDict):
    shareDecaySeconds: NotRequired[int],
    computeReservation: NotRequired[int],
    shareDistribution: NotRequired[Sequence[ShareAttributesTypeDef]],  # (1)
  1. See ShareAttributesTypeDef

FrontOfQueueDetailTypeDef#

# FrontOfQueueDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import FrontOfQueueDetailTypeDef


def get_value() -> FrontOfQueueDetailTypeDef:
    return {
        "jobs": ...,
    }


# FrontOfQueueDetailTypeDef definition

class FrontOfQueueDetailTypeDef(TypedDict):
    jobs: NotRequired[List[FrontOfQueueJobSummaryTypeDef]],  # (1)
    lastUpdatedAt: NotRequired[int],
  1. See FrontOfQueueJobSummaryTypeDef

JobSummaryTypeDef#

# JobSummaryTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import JobSummaryTypeDef


def get_value() -> JobSummaryTypeDef:
    return {
        "jobArn": ...,
    }


# JobSummaryTypeDef definition

class JobSummaryTypeDef(TypedDict):
    jobId: str,
    jobName: str,
    jobArn: NotRequired[str],
    createdAt: NotRequired[int],
    status: NotRequired[JobStatusType],  # (1)
    statusReason: NotRequired[str],
    startedAt: NotRequired[int],
    stoppedAt: NotRequired[int],
    container: NotRequired[ContainerSummaryTypeDef],  # (2)
    arrayProperties: NotRequired[ArrayPropertiesSummaryTypeDef],  # (3)
    nodeProperties: NotRequired[NodePropertiesSummaryTypeDef],  # (4)
    jobDefinition: NotRequired[str],
  1. See JobStatusType
  2. See ContainerSummaryTypeDef
  3. See ArrayPropertiesSummaryTypeDef
  4. See NodePropertiesSummaryTypeDef

ListJobsRequestPaginateTypeDef#

# ListJobsRequestPaginateTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ListJobsRequestPaginateTypeDef


def get_value() -> ListJobsRequestPaginateTypeDef:
    return {
        "jobQueue": ...,
    }


# ListJobsRequestPaginateTypeDef definition

class ListJobsRequestPaginateTypeDef(TypedDict):
    jobQueue: NotRequired[str],
    arrayJobId: NotRequired[str],
    multiNodeJobId: NotRequired[str],
    jobStatus: NotRequired[JobStatusType],  # (1)
    filters: NotRequired[Sequence[KeyValuesPairTypeDef]],  # (2)
    PaginationConfig: NotRequired[PaginatorConfigTypeDef],  # (3)
  1. See JobStatusType
  2. See KeyValuesPairTypeDef
  3. See PaginatorConfigTypeDef

ListJobsRequestTypeDef#

# ListJobsRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ListJobsRequestTypeDef


def get_value() -> ListJobsRequestTypeDef:
    return {
        "jobQueue": ...,
    }


# ListJobsRequestTypeDef definition

class ListJobsRequestTypeDef(TypedDict):
    jobQueue: NotRequired[str],
    arrayJobId: NotRequired[str],
    multiNodeJobId: NotRequired[str],
    jobStatus: NotRequired[JobStatusType],  # (1)
    maxResults: NotRequired[int],
    nextToken: NotRequired[str],
    filters: NotRequired[Sequence[KeyValuesPairTypeDef]],  # (2)
  1. See JobStatusType
  2. See KeyValuesPairTypeDef

LaunchTemplateSpecificationOutputTypeDef#

# LaunchTemplateSpecificationOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import LaunchTemplateSpecificationOutputTypeDef


def get_value() -> LaunchTemplateSpecificationOutputTypeDef:
    return {
        "launchTemplateId": ...,
    }


# LaunchTemplateSpecificationOutputTypeDef definition

class LaunchTemplateSpecificationOutputTypeDef(TypedDict):
    launchTemplateId: NotRequired[str],
    launchTemplateName: NotRequired[str],
    version: NotRequired[str],
    overrides: NotRequired[List[LaunchTemplateSpecificationOverrideOutputTypeDef]],  # (1)
  1. See LaunchTemplateSpecificationOverrideOutputTypeDef

LinuxParametersOutputTypeDef#

# LinuxParametersOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import LinuxParametersOutputTypeDef


def get_value() -> LinuxParametersOutputTypeDef:
    return {
        "devices": ...,
    }


# LinuxParametersOutputTypeDef definition

class LinuxParametersOutputTypeDef(TypedDict):
    devices: NotRequired[List[DeviceOutputTypeDef]],  # (1)
    initProcessEnabled: NotRequired[bool],
    sharedMemorySize: NotRequired[int],
    tmpfs: NotRequired[List[TmpfsOutputTypeDef]],  # (2)
    maxSwap: NotRequired[int],
    swappiness: NotRequired[int],
  1. See DeviceOutputTypeDef
  2. See TmpfsOutputTypeDef

LinuxParametersTypeDef#

# LinuxParametersTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import LinuxParametersTypeDef


def get_value() -> LinuxParametersTypeDef:
    return {
        "devices": ...,
    }


# LinuxParametersTypeDef definition

class LinuxParametersTypeDef(TypedDict):
    devices: NotRequired[Sequence[DeviceTypeDef]],  # (1)
    initProcessEnabled: NotRequired[bool],
    sharedMemorySize: NotRequired[int],
    tmpfs: NotRequired[Sequence[TmpfsTypeDef]],  # (2)
    maxSwap: NotRequired[int],
    swappiness: NotRequired[int],
  1. See DeviceTypeDef
  2. See TmpfsTypeDef

ListSchedulingPoliciesResponseTypeDef#

# ListSchedulingPoliciesResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ListSchedulingPoliciesResponseTypeDef


def get_value() -> ListSchedulingPoliciesResponseTypeDef:
    return {
        "schedulingPolicies": ...,
    }


# ListSchedulingPoliciesResponseTypeDef definition

class ListSchedulingPoliciesResponseTypeDef(TypedDict):
    schedulingPolicies: List[SchedulingPolicyListingDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See SchedulingPolicyListingDetailTypeDef
  2. See ResponseMetadataTypeDef

AttemptEcsTaskDetailsTypeDef#

# AttemptEcsTaskDetailsTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import AttemptEcsTaskDetailsTypeDef


def get_value() -> AttemptEcsTaskDetailsTypeDef:
    return {
        "containerInstanceArn": ...,
    }


# AttemptEcsTaskDetailsTypeDef definition

class AttemptEcsTaskDetailsTypeDef(TypedDict):
    containerInstanceArn: NotRequired[str],
    taskArn: NotRequired[str],
    containers: NotRequired[List[AttemptTaskContainerDetailsTypeDef]],  # (1)
  1. See AttemptTaskContainerDetailsTypeDef

TaskPropertiesOverrideTypeDef#

# TaskPropertiesOverrideTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import TaskPropertiesOverrideTypeDef


def get_value() -> TaskPropertiesOverrideTypeDef:
    return {
        "containers": ...,
    }


# TaskPropertiesOverrideTypeDef definition

class TaskPropertiesOverrideTypeDef(TypedDict):
    containers: NotRequired[Sequence[TaskContainerOverridesTypeDef]],  # (1)
  1. See TaskContainerOverridesTypeDef

DescribeJobQueuesResponseTypeDef#

# DescribeJobQueuesResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeJobQueuesResponseTypeDef


def get_value() -> DescribeJobQueuesResponseTypeDef:
    return {
        "jobQueues": ...,
    }


# DescribeJobQueuesResponseTypeDef definition

class DescribeJobQueuesResponseTypeDef(TypedDict):
    jobQueues: List[JobQueueDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See JobQueueDetailTypeDef
  2. See ResponseMetadataTypeDef

VolumeTypeDef#

# VolumeTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import VolumeTypeDef


def get_value() -> VolumeTypeDef:
    return {
        "host": ...,
    }


# VolumeTypeDef definition

class VolumeTypeDef(TypedDict):
    host: NotRequired[HostTypeDef],  # (1)
    name: NotRequired[str],
    efsVolumeConfiguration: NotRequired[EFSVolumeConfigurationTypeDef],  # (2)
  1. See HostTypeDef
  2. See EFSVolumeConfigurationTypeDef

EksContainerOverrideTypeDef#

# EksContainerOverrideTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksContainerOverrideTypeDef


def get_value() -> EksContainerOverrideTypeDef:
    return {
        "name": ...,
    }


# EksContainerOverrideTypeDef definition

class EksContainerOverrideTypeDef(TypedDict):
    name: NotRequired[str],
    image: NotRequired[str],
    command: NotRequired[Sequence[str]],
    args: NotRequired[Sequence[str]],
    env: NotRequired[Sequence[EksContainerEnvironmentVariableTypeDef]],  # (1)
    resources: NotRequired[EksContainerResourceRequirementsUnionTypeDef],  # (2)
  1. See EksContainerEnvironmentVariableTypeDef
  2. See EksContainerResourceRequirementsTypeDef EksContainerResourceRequirementsOutputTypeDef

EksPodPropertiesDetailTypeDef#

# EksPodPropertiesDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksPodPropertiesDetailTypeDef


def get_value() -> EksPodPropertiesDetailTypeDef:
    return {
        "serviceAccountName": ...,
    }


# EksPodPropertiesDetailTypeDef definition

class EksPodPropertiesDetailTypeDef(TypedDict):
    serviceAccountName: NotRequired[str],
    hostNetwork: NotRequired[bool],
    dnsPolicy: NotRequired[str],
    imagePullSecrets: NotRequired[List[ImagePullSecretTypeDef]],  # (1)
    containers: NotRequired[List[EksContainerDetailTypeDef]],  # (2)
    initContainers: NotRequired[List[EksContainerDetailTypeDef]],  # (2)
    volumes: NotRequired[List[EksVolumeTypeDef]],  # (4)
    podName: NotRequired[str],
    nodeName: NotRequired[str],
    metadata: NotRequired[EksMetadataOutputTypeDef],  # (5)
    shareProcessNamespace: NotRequired[bool],
  1. See ImagePullSecretTypeDef
  2. See EksContainerDetailTypeDef
  3. See EksContainerDetailTypeDef
  4. See EksVolumeTypeDef
  5. See EksMetadataOutputTypeDef

EksPodPropertiesOutputTypeDef#

# EksPodPropertiesOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksPodPropertiesOutputTypeDef


def get_value() -> EksPodPropertiesOutputTypeDef:
    return {
        "serviceAccountName": ...,
    }


# EksPodPropertiesOutputTypeDef definition

class EksPodPropertiesOutputTypeDef(TypedDict):
    serviceAccountName: NotRequired[str],
    hostNetwork: NotRequired[bool],
    dnsPolicy: NotRequired[str],
    imagePullSecrets: NotRequired[List[ImagePullSecretTypeDef]],  # (1)
    containers: NotRequired[List[EksContainerOutputTypeDef]],  # (2)
    initContainers: NotRequired[List[EksContainerOutputTypeDef]],  # (2)
    volumes: NotRequired[List[EksVolumeTypeDef]],  # (4)
    metadata: NotRequired[EksMetadataOutputTypeDef],  # (5)
    shareProcessNamespace: NotRequired[bool],
  1. See ImagePullSecretTypeDef
  2. See EksContainerOutputTypeDef
  3. See EksContainerOutputTypeDef
  4. See EksVolumeTypeDef
  5. See EksMetadataOutputTypeDef

EksPodPropertiesTypeDef#

# EksPodPropertiesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksPodPropertiesTypeDef


def get_value() -> EksPodPropertiesTypeDef:
    return {
        "serviceAccountName": ...,
    }


# EksPodPropertiesTypeDef definition

class EksPodPropertiesTypeDef(TypedDict):
    serviceAccountName: NotRequired[str],
    hostNetwork: NotRequired[bool],
    dnsPolicy: NotRequired[str],
    imagePullSecrets: NotRequired[Sequence[ImagePullSecretTypeDef]],  # (1)
    containers: NotRequired[Sequence[EksContainerTypeDef]],  # (2)
    initContainers: NotRequired[Sequence[EksContainerTypeDef]],  # (2)
    volumes: NotRequired[Sequence[EksVolumeTypeDef]],  # (4)
    metadata: NotRequired[EksMetadataTypeDef],  # (5)
    shareProcessNamespace: NotRequired[bool],
  1. See ImagePullSecretTypeDef
  2. See EksContainerTypeDef
  3. See EksContainerTypeDef
  4. See EksVolumeTypeDef
  5. See EksMetadataTypeDef

SchedulingPolicyDetailTypeDef#

# SchedulingPolicyDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import SchedulingPolicyDetailTypeDef


def get_value() -> SchedulingPolicyDetailTypeDef:
    return {
        "name": ...,
    }


# SchedulingPolicyDetailTypeDef definition

class SchedulingPolicyDetailTypeDef(TypedDict):
    name: str,
    arn: str,
    fairsharePolicy: NotRequired[FairsharePolicyOutputTypeDef],  # (1)
    tags: NotRequired[Dict[str, str]],
  1. See FairsharePolicyOutputTypeDef

GetJobQueueSnapshotResponseTypeDef#

# GetJobQueueSnapshotResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import GetJobQueueSnapshotResponseTypeDef


def get_value() -> GetJobQueueSnapshotResponseTypeDef:
    return {
        "frontOfQueue": ...,
    }


# GetJobQueueSnapshotResponseTypeDef definition

class GetJobQueueSnapshotResponseTypeDef(TypedDict):
    frontOfQueue: FrontOfQueueDetailTypeDef,  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FrontOfQueueDetailTypeDef
  2. See ResponseMetadataTypeDef

ListJobsResponseTypeDef#

# ListJobsResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ListJobsResponseTypeDef


def get_value() -> ListJobsResponseTypeDef:
    return {
        "jobSummaryList": ...,
    }


# ListJobsResponseTypeDef definition

class ListJobsResponseTypeDef(TypedDict):
    jobSummaryList: List[JobSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See JobSummaryTypeDef
  2. See ResponseMetadataTypeDef

ComputeResourceOutputTypeDef#

# ComputeResourceOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ComputeResourceOutputTypeDef


def get_value() -> ComputeResourceOutputTypeDef:
    return {
        "type": ...,
    }


# ComputeResourceOutputTypeDef definition

class ComputeResourceOutputTypeDef(TypedDict):
    type: CRTypeType,  # (1)
    maxvCpus: int,
    subnets: List[str],
    allocationStrategy: NotRequired[CRAllocationStrategyType],  # (2)
    minvCpus: NotRequired[int],
    desiredvCpus: NotRequired[int],
    instanceTypes: NotRequired[List[str]],
    imageId: NotRequired[str],
    securityGroupIds: NotRequired[List[str]],
    ec2KeyPair: NotRequired[str],
    instanceRole: NotRequired[str],
    tags: NotRequired[Dict[str, str]],
    placementGroup: NotRequired[str],
    bidPercentage: NotRequired[int],
    spotIamFleetRole: NotRequired[str],
    launchTemplate: NotRequired[LaunchTemplateSpecificationOutputTypeDef],  # (3)
    ec2Configuration: NotRequired[List[Ec2ConfigurationTypeDef]],  # (4)
  1. See CRTypeType
  2. See CRAllocationStrategyType
  3. See LaunchTemplateSpecificationOutputTypeDef
  4. See Ec2ConfigurationTypeDef

LaunchTemplateSpecificationTypeDef#

# LaunchTemplateSpecificationTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import LaunchTemplateSpecificationTypeDef


def get_value() -> LaunchTemplateSpecificationTypeDef:
    return {
        "launchTemplateId": ...,
    }


# LaunchTemplateSpecificationTypeDef definition

class LaunchTemplateSpecificationTypeDef(TypedDict):
    launchTemplateId: NotRequired[str],
    launchTemplateName: NotRequired[str],
    version: NotRequired[str],
    overrides: NotRequired[Sequence[LaunchTemplateSpecificationOverrideUnionTypeDef]],  # (1)
  1. See LaunchTemplateSpecificationOverrideTypeDef LaunchTemplateSpecificationOverrideOutputTypeDef

TaskContainerDetailsTypeDef#

# TaskContainerDetailsTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import TaskContainerDetailsTypeDef


def get_value() -> TaskContainerDetailsTypeDef:
    return {
        "command": ...,
    }


# TaskContainerDetailsTypeDef definition

class TaskContainerDetailsTypeDef(TypedDict):
    command: NotRequired[List[str]],
    dependsOn: NotRequired[List[TaskContainerDependencyTypeDef]],  # (1)
    environment: NotRequired[List[KeyValuePairTypeDef]],  # (2)
    essential: NotRequired[bool],
    image: NotRequired[str],
    linuxParameters: NotRequired[LinuxParametersOutputTypeDef],  # (3)
    logConfiguration: NotRequired[LogConfigurationOutputTypeDef],  # (4)
    mountPoints: NotRequired[List[MountPointTypeDef]],  # (5)
    name: NotRequired[str],
    privileged: NotRequired[bool],
    readonlyRootFilesystem: NotRequired[bool],
    repositoryCredentials: NotRequired[RepositoryCredentialsTypeDef],  # (6)
    resourceRequirements: NotRequired[List[ResourceRequirementTypeDef]],  # (7)
    secrets: NotRequired[List[SecretTypeDef]],  # (8)
    ulimits: NotRequired[List[UlimitTypeDef]],  # (9)
    user: NotRequired[str],
    exitCode: NotRequired[int],
    reason: NotRequired[str],
    logStreamName: NotRequired[str],
    networkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]],  # (10)
  1. See TaskContainerDependencyTypeDef
  2. See KeyValuePairTypeDef
  3. See LinuxParametersOutputTypeDef
  4. See LogConfigurationOutputTypeDef
  5. See MountPointTypeDef
  6. See RepositoryCredentialsTypeDef
  7. See ResourceRequirementTypeDef
  8. See SecretTypeDef
  9. See UlimitTypeDef
  10. See NetworkInterfaceTypeDef

TaskContainerPropertiesOutputTypeDef#

# TaskContainerPropertiesOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import TaskContainerPropertiesOutputTypeDef


def get_value() -> TaskContainerPropertiesOutputTypeDef:
    return {
        "command": ...,
    }


# TaskContainerPropertiesOutputTypeDef definition

class TaskContainerPropertiesOutputTypeDef(TypedDict):
    image: str,
    command: NotRequired[List[str]],
    dependsOn: NotRequired[List[TaskContainerDependencyTypeDef]],  # (1)
    environment: NotRequired[List[KeyValuePairTypeDef]],  # (2)
    essential: NotRequired[bool],
    linuxParameters: NotRequired[LinuxParametersOutputTypeDef],  # (3)
    logConfiguration: NotRequired[LogConfigurationOutputTypeDef],  # (4)
    mountPoints: NotRequired[List[MountPointTypeDef]],  # (5)
    name: NotRequired[str],
    privileged: NotRequired[bool],
    readonlyRootFilesystem: NotRequired[bool],
    repositoryCredentials: NotRequired[RepositoryCredentialsTypeDef],  # (6)
    resourceRequirements: NotRequired[List[ResourceRequirementTypeDef]],  # (7)
    secrets: NotRequired[List[SecretTypeDef]],  # (8)
    ulimits: NotRequired[List[UlimitTypeDef]],  # (9)
    user: NotRequired[str],
  1. See TaskContainerDependencyTypeDef
  2. See KeyValuePairTypeDef
  3. See LinuxParametersOutputTypeDef
  4. See LogConfigurationOutputTypeDef
  5. See MountPointTypeDef
  6. See RepositoryCredentialsTypeDef
  7. See ResourceRequirementTypeDef
  8. See SecretTypeDef
  9. See UlimitTypeDef

TaskContainerPropertiesTypeDef#

# TaskContainerPropertiesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import TaskContainerPropertiesTypeDef


def get_value() -> TaskContainerPropertiesTypeDef:
    return {
        "command": ...,
    }


# TaskContainerPropertiesTypeDef definition

class TaskContainerPropertiesTypeDef(TypedDict):
    image: str,
    command: NotRequired[Sequence[str]],
    dependsOn: NotRequired[Sequence[TaskContainerDependencyTypeDef]],  # (1)
    environment: NotRequired[Sequence[KeyValuePairTypeDef]],  # (2)
    essential: NotRequired[bool],
    linuxParameters: NotRequired[LinuxParametersTypeDef],  # (3)
    logConfiguration: NotRequired[LogConfigurationTypeDef],  # (4)
    mountPoints: NotRequired[Sequence[MountPointTypeDef]],  # (5)
    name: NotRequired[str],
    privileged: NotRequired[bool],
    readonlyRootFilesystem: NotRequired[bool],
    repositoryCredentials: NotRequired[RepositoryCredentialsTypeDef],  # (6)
    resourceRequirements: NotRequired[Sequence[ResourceRequirementTypeDef]],  # (7)
    secrets: NotRequired[Sequence[SecretTypeDef]],  # (8)
    ulimits: NotRequired[Sequence[UlimitTypeDef]],  # (9)
    user: NotRequired[str],
  1. See TaskContainerDependencyTypeDef
  2. See KeyValuePairTypeDef
  3. See LinuxParametersTypeDef
  4. See LogConfigurationTypeDef
  5. See MountPointTypeDef
  6. See RepositoryCredentialsTypeDef
  7. See ResourceRequirementTypeDef
  8. See SecretTypeDef
  9. See UlimitTypeDef

AttemptDetailTypeDef#

# AttemptDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import AttemptDetailTypeDef


def get_value() -> AttemptDetailTypeDef:
    return {
        "container": ...,
    }


# AttemptDetailTypeDef definition

class AttemptDetailTypeDef(TypedDict):
    container: NotRequired[AttemptContainerDetailTypeDef],  # (1)
    startedAt: NotRequired[int],
    stoppedAt: NotRequired[int],
    statusReason: NotRequired[str],
    taskProperties: NotRequired[List[AttemptEcsTaskDetailsTypeDef]],  # (2)
  1. See AttemptContainerDetailTypeDef
  2. See AttemptEcsTaskDetailsTypeDef

EcsPropertiesOverrideTypeDef#

# EcsPropertiesOverrideTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EcsPropertiesOverrideTypeDef


def get_value() -> EcsPropertiesOverrideTypeDef:
    return {
        "taskProperties": ...,
    }


# EcsPropertiesOverrideTypeDef definition

class EcsPropertiesOverrideTypeDef(TypedDict):
    taskProperties: NotRequired[Sequence[TaskPropertiesOverrideTypeDef]],  # (1)
  1. See TaskPropertiesOverrideTypeDef

ContainerDetailTypeDef#

# ContainerDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ContainerDetailTypeDef


def get_value() -> ContainerDetailTypeDef:
    return {
        "image": ...,
    }


# ContainerDetailTypeDef definition

class ContainerDetailTypeDef(TypedDict):
    image: NotRequired[str],
    vcpus: NotRequired[int],
    memory: NotRequired[int],
    command: NotRequired[List[str]],
    jobRoleArn: NotRequired[str],
    executionRoleArn: NotRequired[str],
    volumes: NotRequired[List[VolumeTypeDef]],  # (1)
    environment: NotRequired[List[KeyValuePairTypeDef]],  # (2)
    mountPoints: NotRequired[List[MountPointTypeDef]],  # (3)
    readonlyRootFilesystem: NotRequired[bool],
    ulimits: NotRequired[List[UlimitTypeDef]],  # (4)
    privileged: NotRequired[bool],
    user: NotRequired[str],
    exitCode: NotRequired[int],
    reason: NotRequired[str],
    containerInstanceArn: NotRequired[str],
    taskArn: NotRequired[str],
    logStreamName: NotRequired[str],
    instanceType: NotRequired[str],
    networkInterfaces: NotRequired[List[NetworkInterfaceTypeDef]],  # (5)
    resourceRequirements: NotRequired[List[ResourceRequirementTypeDef]],  # (6)
    linuxParameters: NotRequired[LinuxParametersOutputTypeDef],  # (7)
    logConfiguration: NotRequired[LogConfigurationOutputTypeDef],  # (8)
    secrets: NotRequired[List[SecretTypeDef]],  # (9)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (10)
    fargatePlatformConfiguration: NotRequired[FargatePlatformConfigurationTypeDef],  # (11)
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (12)
    runtimePlatform: NotRequired[RuntimePlatformTypeDef],  # (13)
    repositoryCredentials: NotRequired[RepositoryCredentialsTypeDef],  # (14)
  1. See VolumeTypeDef
  2. See KeyValuePairTypeDef
  3. See MountPointTypeDef
  4. See UlimitTypeDef
  5. See NetworkInterfaceTypeDef
  6. See ResourceRequirementTypeDef
  7. See LinuxParametersOutputTypeDef
  8. See LogConfigurationOutputTypeDef
  9. See SecretTypeDef
  10. See NetworkConfigurationTypeDef
  11. See FargatePlatformConfigurationTypeDef
  12. See EphemeralStorageTypeDef
  13. See RuntimePlatformTypeDef
  14. See RepositoryCredentialsTypeDef

ContainerPropertiesOutputTypeDef#

# ContainerPropertiesOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ContainerPropertiesOutputTypeDef


def get_value() -> ContainerPropertiesOutputTypeDef:
    return {
        "image": ...,
    }


# ContainerPropertiesOutputTypeDef definition

class ContainerPropertiesOutputTypeDef(TypedDict):
    image: NotRequired[str],
    vcpus: NotRequired[int],
    memory: NotRequired[int],
    command: NotRequired[List[str]],
    jobRoleArn: NotRequired[str],
    executionRoleArn: NotRequired[str],
    volumes: NotRequired[List[VolumeTypeDef]],  # (1)
    environment: NotRequired[List[KeyValuePairTypeDef]],  # (2)
    mountPoints: NotRequired[List[MountPointTypeDef]],  # (3)
    readonlyRootFilesystem: NotRequired[bool],
    privileged: NotRequired[bool],
    ulimits: NotRequired[List[UlimitTypeDef]],  # (4)
    user: NotRequired[str],
    instanceType: NotRequired[str],
    resourceRequirements: NotRequired[List[ResourceRequirementTypeDef]],  # (5)
    linuxParameters: NotRequired[LinuxParametersOutputTypeDef],  # (6)
    logConfiguration: NotRequired[LogConfigurationOutputTypeDef],  # (7)
    secrets: NotRequired[List[SecretTypeDef]],  # (8)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (9)
    fargatePlatformConfiguration: NotRequired[FargatePlatformConfigurationTypeDef],  # (10)
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (11)
    runtimePlatform: NotRequired[RuntimePlatformTypeDef],  # (12)
    repositoryCredentials: NotRequired[RepositoryCredentialsTypeDef],  # (13)
  1. See VolumeTypeDef
  2. See KeyValuePairTypeDef
  3. See MountPointTypeDef
  4. See UlimitTypeDef
  5. See ResourceRequirementTypeDef
  6. See LinuxParametersOutputTypeDef
  7. See LogConfigurationOutputTypeDef
  8. See SecretTypeDef
  9. See NetworkConfigurationTypeDef
  10. See FargatePlatformConfigurationTypeDef
  11. See EphemeralStorageTypeDef
  12. See RuntimePlatformTypeDef
  13. See RepositoryCredentialsTypeDef

ContainerPropertiesTypeDef#

# ContainerPropertiesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ContainerPropertiesTypeDef


def get_value() -> ContainerPropertiesTypeDef:
    return {
        "image": ...,
    }


# ContainerPropertiesTypeDef definition

class ContainerPropertiesTypeDef(TypedDict):
    image: NotRequired[str],
    vcpus: NotRequired[int],
    memory: NotRequired[int],
    command: NotRequired[Sequence[str]],
    jobRoleArn: NotRequired[str],
    executionRoleArn: NotRequired[str],
    volumes: NotRequired[Sequence[VolumeTypeDef]],  # (1)
    environment: NotRequired[Sequence[KeyValuePairTypeDef]],  # (2)
    mountPoints: NotRequired[Sequence[MountPointTypeDef]],  # (3)
    readonlyRootFilesystem: NotRequired[bool],
    privileged: NotRequired[bool],
    ulimits: NotRequired[Sequence[UlimitTypeDef]],  # (4)
    user: NotRequired[str],
    instanceType: NotRequired[str],
    resourceRequirements: NotRequired[Sequence[ResourceRequirementTypeDef]],  # (5)
    linuxParameters: NotRequired[LinuxParametersTypeDef],  # (6)
    logConfiguration: NotRequired[LogConfigurationTypeDef],  # (7)
    secrets: NotRequired[Sequence[SecretTypeDef]],  # (8)
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (9)
    fargatePlatformConfiguration: NotRequired[FargatePlatformConfigurationTypeDef],  # (10)
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (11)
    runtimePlatform: NotRequired[RuntimePlatformTypeDef],  # (12)
    repositoryCredentials: NotRequired[RepositoryCredentialsTypeDef],  # (13)
  1. See VolumeTypeDef
  2. See KeyValuePairTypeDef
  3. See MountPointTypeDef
  4. See UlimitTypeDef
  5. See ResourceRequirementTypeDef
  6. See LinuxParametersTypeDef
  7. See LogConfigurationTypeDef
  8. See SecretTypeDef
  9. See NetworkConfigurationTypeDef
  10. See FargatePlatformConfigurationTypeDef
  11. See EphemeralStorageTypeDef
  12. See RuntimePlatformTypeDef
  13. See RepositoryCredentialsTypeDef

EksPodPropertiesOverrideTypeDef#

# EksPodPropertiesOverrideTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksPodPropertiesOverrideTypeDef


def get_value() -> EksPodPropertiesOverrideTypeDef:
    return {
        "containers": ...,
    }


# EksPodPropertiesOverrideTypeDef definition

class EksPodPropertiesOverrideTypeDef(TypedDict):
    containers: NotRequired[Sequence[EksContainerOverrideTypeDef]],  # (1)
    initContainers: NotRequired[Sequence[EksContainerOverrideTypeDef]],  # (1)
    metadata: NotRequired[EksMetadataUnionTypeDef],  # (3)
  1. See EksContainerOverrideTypeDef
  2. See EksContainerOverrideTypeDef
  3. See EksMetadataTypeDef EksMetadataOutputTypeDef

EksPropertiesDetailTypeDef#

# EksPropertiesDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksPropertiesDetailTypeDef


def get_value() -> EksPropertiesDetailTypeDef:
    return {
        "podProperties": ...,
    }


# EksPropertiesDetailTypeDef definition

class EksPropertiesDetailTypeDef(TypedDict):
    podProperties: NotRequired[EksPodPropertiesDetailTypeDef],  # (1)
  1. See EksPodPropertiesDetailTypeDef

EksPropertiesOutputTypeDef#

# EksPropertiesOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksPropertiesOutputTypeDef


def get_value() -> EksPropertiesOutputTypeDef:
    return {
        "podProperties": ...,
    }


# EksPropertiesOutputTypeDef definition

class EksPropertiesOutputTypeDef(TypedDict):
    podProperties: NotRequired[EksPodPropertiesOutputTypeDef],  # (1)
  1. See EksPodPropertiesOutputTypeDef

EksPropertiesTypeDef#

# EksPropertiesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksPropertiesTypeDef


def get_value() -> EksPropertiesTypeDef:
    return {
        "podProperties": ...,
    }


# EksPropertiesTypeDef definition

class EksPropertiesTypeDef(TypedDict):
    podProperties: NotRequired[EksPodPropertiesTypeDef],  # (1)
  1. See EksPodPropertiesTypeDef

DescribeSchedulingPoliciesResponseTypeDef#

# DescribeSchedulingPoliciesResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeSchedulingPoliciesResponseTypeDef


def get_value() -> DescribeSchedulingPoliciesResponseTypeDef:
    return {
        "schedulingPolicies": ...,
    }


# DescribeSchedulingPoliciesResponseTypeDef definition

class DescribeSchedulingPoliciesResponseTypeDef(TypedDict):
    schedulingPolicies: List[SchedulingPolicyDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SchedulingPolicyDetailTypeDef
  2. See ResponseMetadataTypeDef

CreateSchedulingPolicyRequestTypeDef#

# CreateSchedulingPolicyRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import CreateSchedulingPolicyRequestTypeDef


def get_value() -> CreateSchedulingPolicyRequestTypeDef:
    return {
        "name": ...,
    }


# CreateSchedulingPolicyRequestTypeDef definition

class CreateSchedulingPolicyRequestTypeDef(TypedDict):
    name: str,
    fairsharePolicy: NotRequired[FairsharePolicyUnionTypeDef],  # (1)
    tags: NotRequired[Mapping[str, str]],
  1. See FairsharePolicyTypeDef FairsharePolicyOutputTypeDef

UpdateSchedulingPolicyRequestTypeDef#

# UpdateSchedulingPolicyRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import UpdateSchedulingPolicyRequestTypeDef


def get_value() -> UpdateSchedulingPolicyRequestTypeDef:
    return {
        "arn": ...,
    }


# UpdateSchedulingPolicyRequestTypeDef definition

class UpdateSchedulingPolicyRequestTypeDef(TypedDict):
    arn: str,
    fairsharePolicy: NotRequired[FairsharePolicyUnionTypeDef],  # (1)
  1. See FairsharePolicyTypeDef FairsharePolicyOutputTypeDef

ComputeEnvironmentDetailTypeDef#

# ComputeEnvironmentDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ComputeEnvironmentDetailTypeDef


def get_value() -> ComputeEnvironmentDetailTypeDef:
    return {
        "computeEnvironmentName": ...,
    }


# ComputeEnvironmentDetailTypeDef definition

class ComputeEnvironmentDetailTypeDef(TypedDict):
    computeEnvironmentName: str,
    computeEnvironmentArn: str,
    unmanagedvCpus: NotRequired[int],
    ecsClusterArn: NotRequired[str],
    tags: NotRequired[Dict[str, str]],
    type: NotRequired[CETypeType],  # (1)
    state: NotRequired[CEStateType],  # (2)
    status: NotRequired[CEStatusType],  # (3)
    statusReason: NotRequired[str],
    computeResources: NotRequired[ComputeResourceOutputTypeDef],  # (4)
    serviceRole: NotRequired[str],
    updatePolicy: NotRequired[UpdatePolicyTypeDef],  # (5)
    eksConfiguration: NotRequired[EksConfigurationTypeDef],  # (6)
    containerOrchestrationType: NotRequired[OrchestrationTypeType],  # (7)
    uuid: NotRequired[str],
    context: NotRequired[str],
  1. See CETypeType
  2. See CEStateType
  3. See CEStatusType
  4. See ComputeResourceOutputTypeDef
  5. See UpdatePolicyTypeDef
  6. See EksConfigurationTypeDef
  7. See OrchestrationTypeType

ComputeResourceTypeDef#

# ComputeResourceTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ComputeResourceTypeDef


def get_value() -> ComputeResourceTypeDef:
    return {
        "type": ...,
    }


# ComputeResourceTypeDef definition

class ComputeResourceTypeDef(TypedDict):
    type: CRTypeType,  # (1)
    maxvCpus: int,
    subnets: Sequence[str],
    allocationStrategy: NotRequired[CRAllocationStrategyType],  # (2)
    minvCpus: NotRequired[int],
    desiredvCpus: NotRequired[int],
    instanceTypes: NotRequired[Sequence[str]],
    imageId: NotRequired[str],
    securityGroupIds: NotRequired[Sequence[str]],
    ec2KeyPair: NotRequired[str],
    instanceRole: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
    placementGroup: NotRequired[str],
    bidPercentage: NotRequired[int],
    spotIamFleetRole: NotRequired[str],
    launchTemplate: NotRequired[LaunchTemplateSpecificationTypeDef],  # (3)
    ec2Configuration: NotRequired[Sequence[Ec2ConfigurationTypeDef]],  # (4)
  1. See CRTypeType
  2. See CRAllocationStrategyType
  3. See LaunchTemplateSpecificationTypeDef
  4. See Ec2ConfigurationTypeDef

EcsTaskDetailsTypeDef#

# EcsTaskDetailsTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EcsTaskDetailsTypeDef


def get_value() -> EcsTaskDetailsTypeDef:
    return {
        "containers": ...,
    }


# EcsTaskDetailsTypeDef definition

class EcsTaskDetailsTypeDef(TypedDict):
    containers: NotRequired[List[TaskContainerDetailsTypeDef]],  # (1)
    containerInstanceArn: NotRequired[str],
    taskArn: NotRequired[str],
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (2)
    executionRoleArn: NotRequired[str],
    platformVersion: NotRequired[str],
    ipcMode: NotRequired[str],
    taskRoleArn: NotRequired[str],
    pidMode: NotRequired[str],
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (3)
    runtimePlatform: NotRequired[RuntimePlatformTypeDef],  # (4)
    volumes: NotRequired[List[VolumeTypeDef]],  # (5)
  1. See TaskContainerDetailsTypeDef
  2. See EphemeralStorageTypeDef
  3. See NetworkConfigurationTypeDef
  4. See RuntimePlatformTypeDef
  5. See VolumeTypeDef

EcsTaskPropertiesOutputTypeDef#

# EcsTaskPropertiesOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EcsTaskPropertiesOutputTypeDef


def get_value() -> EcsTaskPropertiesOutputTypeDef:
    return {
        "containers": ...,
    }


# EcsTaskPropertiesOutputTypeDef definition

class EcsTaskPropertiesOutputTypeDef(TypedDict):
    containers: List[TaskContainerPropertiesOutputTypeDef],  # (1)
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (2)
    executionRoleArn: NotRequired[str],
    platformVersion: NotRequired[str],
    ipcMode: NotRequired[str],
    taskRoleArn: NotRequired[str],
    pidMode: NotRequired[str],
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (3)
    runtimePlatform: NotRequired[RuntimePlatformTypeDef],  # (4)
    volumes: NotRequired[List[VolumeTypeDef]],  # (5)
  1. See TaskContainerPropertiesOutputTypeDef
  2. See EphemeralStorageTypeDef
  3. See NetworkConfigurationTypeDef
  4. See RuntimePlatformTypeDef
  5. See VolumeTypeDef

EcsTaskPropertiesTypeDef#

# EcsTaskPropertiesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EcsTaskPropertiesTypeDef


def get_value() -> EcsTaskPropertiesTypeDef:
    return {
        "containers": ...,
    }


# EcsTaskPropertiesTypeDef definition

class EcsTaskPropertiesTypeDef(TypedDict):
    containers: Sequence[TaskContainerPropertiesTypeDef],  # (1)
    ephemeralStorage: NotRequired[EphemeralStorageTypeDef],  # (2)
    executionRoleArn: NotRequired[str],
    platformVersion: NotRequired[str],
    ipcMode: NotRequired[str],
    taskRoleArn: NotRequired[str],
    pidMode: NotRequired[str],
    networkConfiguration: NotRequired[NetworkConfigurationTypeDef],  # (3)
    runtimePlatform: NotRequired[RuntimePlatformTypeDef],  # (4)
    volumes: NotRequired[Sequence[VolumeTypeDef]],  # (5)
  1. See TaskContainerPropertiesTypeDef
  2. See EphemeralStorageTypeDef
  3. See NetworkConfigurationTypeDef
  4. See RuntimePlatformTypeDef
  5. See VolumeTypeDef

EksPropertiesOverrideTypeDef#

# EksPropertiesOverrideTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EksPropertiesOverrideTypeDef


def get_value() -> EksPropertiesOverrideTypeDef:
    return {
        "podProperties": ...,
    }


# EksPropertiesOverrideTypeDef definition

class EksPropertiesOverrideTypeDef(TypedDict):
    podProperties: NotRequired[EksPodPropertiesOverrideTypeDef],  # (1)
  1. See EksPodPropertiesOverrideTypeDef

DescribeComputeEnvironmentsResponseTypeDef#

# DescribeComputeEnvironmentsResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeComputeEnvironmentsResponseTypeDef


def get_value() -> DescribeComputeEnvironmentsResponseTypeDef:
    return {
        "computeEnvironments": ...,
    }


# DescribeComputeEnvironmentsResponseTypeDef definition

class DescribeComputeEnvironmentsResponseTypeDef(TypedDict):
    computeEnvironments: List[ComputeEnvironmentDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See ComputeEnvironmentDetailTypeDef
  2. See ResponseMetadataTypeDef

ComputeResourceUpdateTypeDef#

# ComputeResourceUpdateTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import ComputeResourceUpdateTypeDef


def get_value() -> ComputeResourceUpdateTypeDef:
    return {
        "minvCpus": ...,
    }


# ComputeResourceUpdateTypeDef definition

class ComputeResourceUpdateTypeDef(TypedDict):
    minvCpus: NotRequired[int],
    maxvCpus: NotRequired[int],
    desiredvCpus: NotRequired[int],
    subnets: NotRequired[Sequence[str]],
    securityGroupIds: NotRequired[Sequence[str]],
    allocationStrategy: NotRequired[CRUpdateAllocationStrategyType],  # (1)
    instanceTypes: NotRequired[Sequence[str]],
    ec2KeyPair: NotRequired[str],
    instanceRole: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
    placementGroup: NotRequired[str],
    bidPercentage: NotRequired[int],
    launchTemplate: NotRequired[LaunchTemplateSpecificationUnionTypeDef],  # (2)
    ec2Configuration: NotRequired[Sequence[Ec2ConfigurationTypeDef]],  # (3)
    updateToLatestImageVersion: NotRequired[bool],
    type: NotRequired[CRTypeType],  # (4)
    imageId: NotRequired[str],
  1. See CRUpdateAllocationStrategyType
  2. See LaunchTemplateSpecificationTypeDef LaunchTemplateSpecificationOutputTypeDef
  3. See Ec2ConfigurationTypeDef
  4. See CRTypeType

EcsPropertiesDetailTypeDef#

# EcsPropertiesDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EcsPropertiesDetailTypeDef


def get_value() -> EcsPropertiesDetailTypeDef:
    return {
        "taskProperties": ...,
    }


# EcsPropertiesDetailTypeDef definition

class EcsPropertiesDetailTypeDef(TypedDict):
    taskProperties: NotRequired[List[EcsTaskDetailsTypeDef]],  # (1)
  1. See EcsTaskDetailsTypeDef

EcsPropertiesOutputTypeDef#

# EcsPropertiesOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EcsPropertiesOutputTypeDef


def get_value() -> EcsPropertiesOutputTypeDef:
    return {
        "taskProperties": ...,
    }


# EcsPropertiesOutputTypeDef definition

class EcsPropertiesOutputTypeDef(TypedDict):
    taskProperties: List[EcsTaskPropertiesOutputTypeDef],  # (1)
  1. See EcsTaskPropertiesOutputTypeDef

EcsPropertiesTypeDef#

# EcsPropertiesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import EcsPropertiesTypeDef


def get_value() -> EcsPropertiesTypeDef:
    return {
        "taskProperties": ...,
    }


# EcsPropertiesTypeDef definition

class EcsPropertiesTypeDef(TypedDict):
    taskProperties: Sequence[EcsTaskPropertiesTypeDef],  # (1)
  1. See EcsTaskPropertiesTypeDef

NodePropertyOverrideTypeDef#

# NodePropertyOverrideTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import NodePropertyOverrideTypeDef


def get_value() -> NodePropertyOverrideTypeDef:
    return {
        "targetNodes": ...,
    }


# NodePropertyOverrideTypeDef definition

class NodePropertyOverrideTypeDef(TypedDict):
    targetNodes: str,
    containerOverrides: NotRequired[ContainerOverridesTypeDef],  # (1)
    ecsPropertiesOverride: NotRequired[EcsPropertiesOverrideTypeDef],  # (2)
    instanceTypes: NotRequired[Sequence[str]],
    eksPropertiesOverride: NotRequired[EksPropertiesOverrideTypeDef],  # (3)
  1. See ContainerOverridesTypeDef
  2. See EcsPropertiesOverrideTypeDef
  3. See EksPropertiesOverrideTypeDef

CreateComputeEnvironmentRequestTypeDef#

# CreateComputeEnvironmentRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import CreateComputeEnvironmentRequestTypeDef


def get_value() -> CreateComputeEnvironmentRequestTypeDef:
    return {
        "computeEnvironmentName": ...,
    }


# CreateComputeEnvironmentRequestTypeDef definition

class CreateComputeEnvironmentRequestTypeDef(TypedDict):
    computeEnvironmentName: str,
    type: CETypeType,  # (1)
    state: NotRequired[CEStateType],  # (2)
    unmanagedvCpus: NotRequired[int],
    computeResources: NotRequired[ComputeResourceUnionTypeDef],  # (3)
    serviceRole: NotRequired[str],
    tags: NotRequired[Mapping[str, str]],
    eksConfiguration: NotRequired[EksConfigurationTypeDef],  # (4)
    context: NotRequired[str],
  1. See CETypeType
  2. See CEStateType
  3. See ComputeResourceTypeDef ComputeResourceOutputTypeDef
  4. See EksConfigurationTypeDef

UpdateComputeEnvironmentRequestTypeDef#

# UpdateComputeEnvironmentRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import UpdateComputeEnvironmentRequestTypeDef


def get_value() -> UpdateComputeEnvironmentRequestTypeDef:
    return {
        "computeEnvironment": ...,
    }


# UpdateComputeEnvironmentRequestTypeDef definition

class UpdateComputeEnvironmentRequestTypeDef(TypedDict):
    computeEnvironment: str,
    state: NotRequired[CEStateType],  # (1)
    unmanagedvCpus: NotRequired[int],
    computeResources: NotRequired[ComputeResourceUpdateTypeDef],  # (2)
    serviceRole: NotRequired[str],
    updatePolicy: NotRequired[UpdatePolicyTypeDef],  # (3)
    context: NotRequired[str],
  1. See CEStateType
  2. See ComputeResourceUpdateTypeDef
  3. See UpdatePolicyTypeDef

NodeRangePropertyOutputTypeDef#

# NodeRangePropertyOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import NodeRangePropertyOutputTypeDef


def get_value() -> NodeRangePropertyOutputTypeDef:
    return {
        "targetNodes": ...,
    }


# NodeRangePropertyOutputTypeDef definition

class NodeRangePropertyOutputTypeDef(TypedDict):
    targetNodes: str,
    container: NotRequired[ContainerPropertiesOutputTypeDef],  # (1)
    instanceTypes: NotRequired[List[str]],
    ecsProperties: NotRequired[EcsPropertiesOutputTypeDef],  # (2)
    eksProperties: NotRequired[EksPropertiesOutputTypeDef],  # (3)
  1. See ContainerPropertiesOutputTypeDef
  2. See EcsPropertiesOutputTypeDef
  3. See EksPropertiesOutputTypeDef

NodeRangePropertyTypeDef#

# NodeRangePropertyTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import NodeRangePropertyTypeDef


def get_value() -> NodeRangePropertyTypeDef:
    return {
        "targetNodes": ...,
    }


# NodeRangePropertyTypeDef definition

class NodeRangePropertyTypeDef(TypedDict):
    targetNodes: str,
    container: NotRequired[ContainerPropertiesTypeDef],  # (1)
    instanceTypes: NotRequired[Sequence[str]],
    ecsProperties: NotRequired[EcsPropertiesTypeDef],  # (2)
    eksProperties: NotRequired[EksPropertiesTypeDef],  # (3)
  1. See ContainerPropertiesTypeDef
  2. See EcsPropertiesTypeDef
  3. See EksPropertiesTypeDef

NodeOverridesTypeDef#

# NodeOverridesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import NodeOverridesTypeDef


def get_value() -> NodeOverridesTypeDef:
    return {
        "numNodes": ...,
    }


# NodeOverridesTypeDef definition

class NodeOverridesTypeDef(TypedDict):
    numNodes: NotRequired[int],
    nodePropertyOverrides: NotRequired[Sequence[NodePropertyOverrideTypeDef]],  # (1)
  1. See NodePropertyOverrideTypeDef

NodePropertiesOutputTypeDef#

# NodePropertiesOutputTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import NodePropertiesOutputTypeDef


def get_value() -> NodePropertiesOutputTypeDef:
    return {
        "numNodes": ...,
    }


# NodePropertiesOutputTypeDef definition

class NodePropertiesOutputTypeDef(TypedDict):
    numNodes: int,
    mainNode: int,
    nodeRangeProperties: List[NodeRangePropertyOutputTypeDef],  # (1)
  1. See NodeRangePropertyOutputTypeDef

NodePropertiesTypeDef#

# NodePropertiesTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import NodePropertiesTypeDef


def get_value() -> NodePropertiesTypeDef:
    return {
        "numNodes": ...,
    }


# NodePropertiesTypeDef definition

class NodePropertiesTypeDef(TypedDict):
    numNodes: int,
    mainNode: int,
    nodeRangeProperties: Sequence[NodeRangePropertyTypeDef],  # (1)
  1. See NodeRangePropertyTypeDef

SubmitJobRequestTypeDef#

# SubmitJobRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import SubmitJobRequestTypeDef


def get_value() -> SubmitJobRequestTypeDef:
    return {
        "jobName": ...,
    }


# SubmitJobRequestTypeDef definition

class SubmitJobRequestTypeDef(TypedDict):
    jobName: str,
    jobQueue: str,
    jobDefinition: str,
    shareIdentifier: NotRequired[str],
    schedulingPriorityOverride: NotRequired[int],
    arrayProperties: NotRequired[ArrayPropertiesTypeDef],  # (1)
    dependsOn: NotRequired[Sequence[JobDependencyTypeDef]],  # (2)
    parameters: NotRequired[Mapping[str, str]],
    containerOverrides: NotRequired[ContainerOverridesTypeDef],  # (3)
    nodeOverrides: NotRequired[NodeOverridesTypeDef],  # (4)
    retryStrategy: NotRequired[RetryStrategyUnionTypeDef],  # (5)
    propagateTags: NotRequired[bool],
    timeout: NotRequired[JobTimeoutTypeDef],  # (6)
    tags: NotRequired[Mapping[str, str]],
    eksPropertiesOverride: NotRequired[EksPropertiesOverrideTypeDef],  # (7)
    ecsPropertiesOverride: NotRequired[EcsPropertiesOverrideTypeDef],  # (8)
  1. See ArrayPropertiesTypeDef
  2. See JobDependencyTypeDef
  3. See ContainerOverridesTypeDef
  4. See NodeOverridesTypeDef
  5. See RetryStrategyTypeDef RetryStrategyOutputTypeDef
  6. See JobTimeoutTypeDef
  7. See EksPropertiesOverrideTypeDef
  8. See EcsPropertiesOverrideTypeDef

JobDefinitionTypeDef#

# JobDefinitionTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import JobDefinitionTypeDef


def get_value() -> JobDefinitionTypeDef:
    return {
        "jobDefinitionName": ...,
    }


# JobDefinitionTypeDef definition

class JobDefinitionTypeDef(TypedDict):
    jobDefinitionName: str,
    jobDefinitionArn: str,
    revision: int,
    type: str,
    status: NotRequired[str],
    schedulingPriority: NotRequired[int],
    parameters: NotRequired[Dict[str, str]],
    retryStrategy: NotRequired[RetryStrategyOutputTypeDef],  # (1)
    containerProperties: NotRequired[ContainerPropertiesOutputTypeDef],  # (2)
    timeout: NotRequired[JobTimeoutTypeDef],  # (3)
    nodeProperties: NotRequired[NodePropertiesOutputTypeDef],  # (4)
    tags: NotRequired[Dict[str, str]],
    propagateTags: NotRequired[bool],
    platformCapabilities: NotRequired[List[PlatformCapabilityType]],  # (5)
    ecsProperties: NotRequired[EcsPropertiesOutputTypeDef],  # (6)
    eksProperties: NotRequired[EksPropertiesOutputTypeDef],  # (7)
    containerOrchestrationType: NotRequired[OrchestrationTypeType],  # (8)
  1. See RetryStrategyOutputTypeDef
  2. See ContainerPropertiesOutputTypeDef
  3. See JobTimeoutTypeDef
  4. See NodePropertiesOutputTypeDef
  5. See PlatformCapabilityType
  6. See EcsPropertiesOutputTypeDef
  7. See EksPropertiesOutputTypeDef
  8. See OrchestrationTypeType

JobDetailTypeDef#

# JobDetailTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import JobDetailTypeDef


def get_value() -> JobDetailTypeDef:
    return {
        "jobArn": ...,
    }


# JobDetailTypeDef definition

class JobDetailTypeDef(TypedDict):
    jobName: str,
    jobId: str,
    jobQueue: str,
    status: JobStatusType,  # (1)
    startedAt: int,
    jobDefinition: str,
    jobArn: NotRequired[str],
    shareIdentifier: NotRequired[str],
    schedulingPriority: NotRequired[int],
    attempts: NotRequired[List[AttemptDetailTypeDef]],  # (2)
    statusReason: NotRequired[str],
    createdAt: NotRequired[int],
    retryStrategy: NotRequired[RetryStrategyOutputTypeDef],  # (3)
    stoppedAt: NotRequired[int],
    dependsOn: NotRequired[List[JobDependencyTypeDef]],  # (4)
    parameters: NotRequired[Dict[str, str]],
    container: NotRequired[ContainerDetailTypeDef],  # (5)
    nodeDetails: NotRequired[NodeDetailsTypeDef],  # (6)
    nodeProperties: NotRequired[NodePropertiesOutputTypeDef],  # (7)
    arrayProperties: NotRequired[ArrayPropertiesDetailTypeDef],  # (8)
    timeout: NotRequired[JobTimeoutTypeDef],  # (9)
    tags: NotRequired[Dict[str, str]],
    propagateTags: NotRequired[bool],
    platformCapabilities: NotRequired[List[PlatformCapabilityType]],  # (10)
    eksProperties: NotRequired[EksPropertiesDetailTypeDef],  # (11)
    eksAttempts: NotRequired[List[EksAttemptDetailTypeDef]],  # (12)
    ecsProperties: NotRequired[EcsPropertiesDetailTypeDef],  # (13)
    isCancelled: NotRequired[bool],
    isTerminated: NotRequired[bool],
  1. See JobStatusType
  2. See AttemptDetailTypeDef
  3. See RetryStrategyOutputTypeDef
  4. See JobDependencyTypeDef
  5. See ContainerDetailTypeDef
  6. See NodeDetailsTypeDef
  7. See NodePropertiesOutputTypeDef
  8. See ArrayPropertiesDetailTypeDef
  9. See JobTimeoutTypeDef
  10. See PlatformCapabilityType
  11. See EksPropertiesDetailTypeDef
  12. See EksAttemptDetailTypeDef
  13. See EcsPropertiesDetailTypeDef

DescribeJobDefinitionsResponseTypeDef#

# DescribeJobDefinitionsResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeJobDefinitionsResponseTypeDef


def get_value() -> DescribeJobDefinitionsResponseTypeDef:
    return {
        "jobDefinitions": ...,
    }


# DescribeJobDefinitionsResponseTypeDef definition

class DescribeJobDefinitionsResponseTypeDef(TypedDict):
    jobDefinitions: List[JobDefinitionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
    nextToken: NotRequired[str],
  1. See JobDefinitionTypeDef
  2. See ResponseMetadataTypeDef

DescribeJobsResponseTypeDef#

# DescribeJobsResponseTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import DescribeJobsResponseTypeDef


def get_value() -> DescribeJobsResponseTypeDef:
    return {
        "jobs": ...,
    }


# DescribeJobsResponseTypeDef definition

class DescribeJobsResponseTypeDef(TypedDict):
    jobs: List[JobDetailTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See JobDetailTypeDef
  2. See ResponseMetadataTypeDef

RegisterJobDefinitionRequestTypeDef#

# RegisterJobDefinitionRequestTypeDef TypedDict usage example

from mypy_boto3_batch.type_defs import RegisterJobDefinitionRequestTypeDef


def get_value() -> RegisterJobDefinitionRequestTypeDef:
    return {
        "jobDefinitionName": ...,
    }


# RegisterJobDefinitionRequestTypeDef definition

class RegisterJobDefinitionRequestTypeDef(TypedDict):
    jobDefinitionName: str,
    type: JobDefinitionTypeType,  # (1)
    parameters: NotRequired[Mapping[str, str]],
    schedulingPriority: NotRequired[int],
    containerProperties: NotRequired[ContainerPropertiesUnionTypeDef],  # (2)
    nodeProperties: NotRequired[NodePropertiesUnionTypeDef],  # (3)
    retryStrategy: NotRequired[RetryStrategyUnionTypeDef],  # (4)
    propagateTags: NotRequired[bool],
    timeout: NotRequired[JobTimeoutTypeDef],  # (5)
    tags: NotRequired[Mapping[str, str]],
    platformCapabilities: NotRequired[Sequence[PlatformCapabilityType]],  # (6)
    eksProperties: NotRequired[EksPropertiesUnionTypeDef],  # (7)
    ecsProperties: NotRequired[EcsPropertiesUnionTypeDef],  # (8)
  1. See JobDefinitionTypeType
  2. See ContainerPropertiesTypeDef ContainerPropertiesOutputTypeDef
  3. See NodePropertiesTypeDef NodePropertiesOutputTypeDef
  4. See RetryStrategyTypeDef RetryStrategyOutputTypeDef
  5. See JobTimeoutTypeDef
  6. See PlatformCapabilityType
  7. See EksPropertiesTypeDef EksPropertiesOutputTypeDef
  8. See EcsPropertiesTypeDef EcsPropertiesOutputTypeDef