Typed dictionaries#
Auto-generated documentation for Batch type annotations stubs module mypy-boto3-batch.
ArrayPropertiesDetailTypeDef#
# ArrayPropertiesDetailTypeDef 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 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 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 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],
CancelJobRequestRequestTypeDef#
# CancelJobRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import CancelJobRequestRequestTypeDef
def get_value() -> CancelJobRequestRequestTypeDef:
return {
"jobId": ...,
"reason": ...,
}
# CancelJobRequestRequestTypeDef definition
class CancelJobRequestRequestTypeDef(TypedDict):
jobId: str,
reason: str,
EksConfigurationTypeDef#
# EksConfigurationTypeDef usage example
from mypy_boto3_batch.type_defs import EksConfigurationTypeDef
def get_value() -> EksConfigurationTypeDef:
return {
"eksClusterArn": ...,
"kubernetesNamespace": ...,
}
# EksConfigurationTypeDef definition
class EksConfigurationTypeDef(TypedDict):
eksClusterArn: str,
kubernetesNamespace: str,
UpdatePolicyTypeDef#
# UpdatePolicyTypeDef 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 usage example
from mypy_boto3_batch.type_defs import ComputeEnvironmentOrderTypeDef
def get_value() -> ComputeEnvironmentOrderTypeDef:
return {
"order": ...,
"computeEnvironment": ...,
}
# ComputeEnvironmentOrderTypeDef definition
class ComputeEnvironmentOrderTypeDef(TypedDict):
order: int,
computeEnvironment: str,
Ec2ConfigurationTypeDef#
# Ec2ConfigurationTypeDef 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],
LaunchTemplateSpecificationTypeDef#
# LaunchTemplateSpecificationTypeDef 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],
EphemeralStorageTypeDef#
# EphemeralStorageTypeDef 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 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 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 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 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)
ResourceRequirementTypeDef#
# ResourceRequirementTypeDef usage example
from mypy_boto3_batch.type_defs import ResourceRequirementTypeDef
def get_value() -> ResourceRequirementTypeDef:
return {
"value": ...,
"type": ...,
}
# ResourceRequirementTypeDef definition
class ResourceRequirementTypeDef(TypedDict):
value: str,
type: ResourceTypeType, # (1)
- See ResourceTypeType
SecretTypeDef#
# SecretTypeDef usage example
from mypy_boto3_batch.type_defs import SecretTypeDef
def get_value() -> SecretTypeDef:
return {
"name": ...,
"valueFrom": ...,
}
# SecretTypeDef definition
class SecretTypeDef(TypedDict):
name: str,
valueFrom: str,
UlimitTypeDef#
# UlimitTypeDef usage example
from mypy_boto3_batch.type_defs import UlimitTypeDef
def get_value() -> UlimitTypeDef:
return {
"hardLimit": ...,
"name": ...,
"softLimit": ...,
}
# UlimitTypeDef definition
class UlimitTypeDef(TypedDict):
hardLimit: int,
name: str,
softLimit: int,
ContainerSummaryTypeDef#
# ContainerSummaryTypeDef 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],
CreateComputeEnvironmentResponseTypeDef#
# CreateComputeEnvironmentResponseTypeDef usage example
from mypy_boto3_batch.type_defs import CreateComputeEnvironmentResponseTypeDef
def get_value() -> CreateComputeEnvironmentResponseTypeDef:
return {
"computeEnvironmentName": ...,
"computeEnvironmentArn": ...,
"ResponseMetadata": ...,
}
# CreateComputeEnvironmentResponseTypeDef definition
class CreateComputeEnvironmentResponseTypeDef(TypedDict):
computeEnvironmentName: str,
computeEnvironmentArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateJobQueueResponseTypeDef#
# CreateJobQueueResponseTypeDef usage example
from mypy_boto3_batch.type_defs import CreateJobQueueResponseTypeDef
def get_value() -> CreateJobQueueResponseTypeDef:
return {
"jobQueueName": ...,
"jobQueueArn": ...,
"ResponseMetadata": ...,
}
# CreateJobQueueResponseTypeDef definition
class CreateJobQueueResponseTypeDef(TypedDict):
jobQueueName: str,
jobQueueArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
CreateSchedulingPolicyResponseTypeDef#
# CreateSchedulingPolicyResponseTypeDef usage example
from mypy_boto3_batch.type_defs import CreateSchedulingPolicyResponseTypeDef
def get_value() -> CreateSchedulingPolicyResponseTypeDef:
return {
"name": ...,
"arn": ...,
"ResponseMetadata": ...,
}
# CreateSchedulingPolicyResponseTypeDef definition
class CreateSchedulingPolicyResponseTypeDef(TypedDict):
name: str,
arn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeleteComputeEnvironmentRequestRequestTypeDef#
# DeleteComputeEnvironmentRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import DeleteComputeEnvironmentRequestRequestTypeDef
def get_value() -> DeleteComputeEnvironmentRequestRequestTypeDef:
return {
"computeEnvironment": ...,
}
# DeleteComputeEnvironmentRequestRequestTypeDef definition
class DeleteComputeEnvironmentRequestRequestTypeDef(TypedDict):
computeEnvironment: str,
DeleteJobQueueRequestRequestTypeDef#
# DeleteJobQueueRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import DeleteJobQueueRequestRequestTypeDef
def get_value() -> DeleteJobQueueRequestRequestTypeDef:
return {
"jobQueue": ...,
}
# DeleteJobQueueRequestRequestTypeDef definition
class DeleteJobQueueRequestRequestTypeDef(TypedDict):
jobQueue: str,
DeleteSchedulingPolicyRequestRequestTypeDef#
# DeleteSchedulingPolicyRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import DeleteSchedulingPolicyRequestRequestTypeDef
def get_value() -> DeleteSchedulingPolicyRequestRequestTypeDef:
return {
"arn": ...,
}
# DeleteSchedulingPolicyRequestRequestTypeDef definition
class DeleteSchedulingPolicyRequestRequestTypeDef(TypedDict):
arn: str,
DeregisterJobDefinitionRequestRequestTypeDef#
# DeregisterJobDefinitionRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import DeregisterJobDefinitionRequestRequestTypeDef
def get_value() -> DeregisterJobDefinitionRequestRequestTypeDef:
return {
"jobDefinition": ...,
}
# DeregisterJobDefinitionRequestRequestTypeDef definition
class DeregisterJobDefinitionRequestRequestTypeDef(TypedDict):
jobDefinition: str,
DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef#
# DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef
def get_value() -> DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef:
return {
"computeEnvironments": ...,
}
# DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef definition
class DescribeComputeEnvironmentsRequestDescribeComputeEnvironmentsPaginateTypeDef(TypedDict):
computeEnvironments: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeComputeEnvironmentsRequestRequestTypeDef#
# DescribeComputeEnvironmentsRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeComputeEnvironmentsRequestRequestTypeDef
def get_value() -> DescribeComputeEnvironmentsRequestRequestTypeDef:
return {
"computeEnvironments": ...,
}
# DescribeComputeEnvironmentsRequestRequestTypeDef definition
class DescribeComputeEnvironmentsRequestRequestTypeDef(TypedDict):
computeEnvironments: NotRequired[Sequence[str]],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
DescribeJobDefinitionsRequestDescribeJobDefinitionsPaginateTypeDef#
# DescribeJobDefinitionsRequestDescribeJobDefinitionsPaginateTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeJobDefinitionsRequestDescribeJobDefinitionsPaginateTypeDef
def get_value() -> DescribeJobDefinitionsRequestDescribeJobDefinitionsPaginateTypeDef:
return {
"jobDefinitions": ...,
}
# DescribeJobDefinitionsRequestDescribeJobDefinitionsPaginateTypeDef definition
class DescribeJobDefinitionsRequestDescribeJobDefinitionsPaginateTypeDef(TypedDict):
jobDefinitions: NotRequired[Sequence[str]],
jobDefinitionName: NotRequired[str],
status: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeJobDefinitionsRequestRequestTypeDef#
# DescribeJobDefinitionsRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeJobDefinitionsRequestRequestTypeDef
def get_value() -> DescribeJobDefinitionsRequestRequestTypeDef:
return {
"jobDefinitions": ...,
}
# DescribeJobDefinitionsRequestRequestTypeDef definition
class DescribeJobDefinitionsRequestRequestTypeDef(TypedDict):
jobDefinitions: NotRequired[Sequence[str]],
maxResults: NotRequired[int],
jobDefinitionName: NotRequired[str],
status: NotRequired[str],
nextToken: NotRequired[str],
DescribeJobQueuesRequestDescribeJobQueuesPaginateTypeDef#
# DescribeJobQueuesRequestDescribeJobQueuesPaginateTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeJobQueuesRequestDescribeJobQueuesPaginateTypeDef
def get_value() -> DescribeJobQueuesRequestDescribeJobQueuesPaginateTypeDef:
return {
"jobQueues": ...,
}
# DescribeJobQueuesRequestDescribeJobQueuesPaginateTypeDef definition
class DescribeJobQueuesRequestDescribeJobQueuesPaginateTypeDef(TypedDict):
jobQueues: NotRequired[Sequence[str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
DescribeJobQueuesRequestRequestTypeDef#
# DescribeJobQueuesRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeJobQueuesRequestRequestTypeDef
def get_value() -> DescribeJobQueuesRequestRequestTypeDef:
return {
"jobQueues": ...,
}
# DescribeJobQueuesRequestRequestTypeDef definition
class DescribeJobQueuesRequestRequestTypeDef(TypedDict):
jobQueues: NotRequired[Sequence[str]],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
DescribeJobsRequestRequestTypeDef#
# DescribeJobsRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeJobsRequestRequestTypeDef
def get_value() -> DescribeJobsRequestRequestTypeDef:
return {
"jobs": ...,
}
# DescribeJobsRequestRequestTypeDef definition
class DescribeJobsRequestRequestTypeDef(TypedDict):
jobs: Sequence[str],
DescribeSchedulingPoliciesRequestRequestTypeDef#
# DescribeSchedulingPoliciesRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeSchedulingPoliciesRequestRequestTypeDef
def get_value() -> DescribeSchedulingPoliciesRequestRequestTypeDef:
return {
"arns": ...,
}
# DescribeSchedulingPoliciesRequestRequestTypeDef definition
class DescribeSchedulingPoliciesRequestRequestTypeDef(TypedDict):
arns: Sequence[str],
DeviceTypeDef#
# DeviceTypeDef 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[List[DeviceCgroupPermissionType]], # (1)
EFSAuthorizationConfigTypeDef#
# EFSAuthorizationConfigTypeDef 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)
EksAttemptContainerDetailTypeDef#
# EksAttemptContainerDetailTypeDef usage example
from mypy_boto3_batch.type_defs import EksAttemptContainerDetailTypeDef
def get_value() -> EksAttemptContainerDetailTypeDef:
return {
"exitCode": ...,
}
# EksAttemptContainerDetailTypeDef definition
class EksAttemptContainerDetailTypeDef(TypedDict):
exitCode: NotRequired[int],
reason: NotRequired[str],
EksContainerEnvironmentVariableTypeDef#
# EksContainerEnvironmentVariableTypeDef 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],
EksContainerResourceRequirementsTypeDef#
# EksContainerResourceRequirementsTypeDef usage example
from mypy_boto3_batch.type_defs import EksContainerResourceRequirementsTypeDef
def get_value() -> EksContainerResourceRequirementsTypeDef:
return {
"limits": ...,
}
# EksContainerResourceRequirementsTypeDef definition
class EksContainerResourceRequirementsTypeDef(TypedDict):
limits: NotRequired[Dict[str, str]],
requests: NotRequired[Dict[str, str]],
EksContainerSecurityContextTypeDef#
# EksContainerSecurityContextTypeDef 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],
readOnlyRootFilesystem: NotRequired[bool],
runAsNonRoot: NotRequired[bool],
EksContainerVolumeMountTypeDef#
# EksContainerVolumeMountTypeDef 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],
readOnly: NotRequired[bool],
EksEmptyDirTypeDef#
# EksEmptyDirTypeDef 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 usage example
from mypy_boto3_batch.type_defs import EksHostPathTypeDef
def get_value() -> EksHostPathTypeDef:
return {
"path": ...,
}
# EksHostPathTypeDef definition
class EksHostPathTypeDef(TypedDict):
path: NotRequired[str],
EksMetadataTypeDef#
# EksMetadataTypeDef usage example
from mypy_boto3_batch.type_defs import EksMetadataTypeDef
def get_value() -> EksMetadataTypeDef:
return {
"labels": ...,
}
# EksMetadataTypeDef definition
class EksMetadataTypeDef(TypedDict):
labels: NotRequired[Dict[str, str]],
EksSecretTypeDef#
# EksSecretTypeDef 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 usage example
from mypy_boto3_batch.type_defs import EvaluateOnExitTypeDef
def get_value() -> EvaluateOnExitTypeDef:
return {
"action": ...,
}
# EvaluateOnExitTypeDef definition
class EvaluateOnExitTypeDef(TypedDict):
action: RetryActionType, # (1)
onStatusReason: NotRequired[str],
onReason: NotRequired[str],
onExitCode: NotRequired[str],
- See RetryActionType
ShareAttributesTypeDef#
# ShareAttributesTypeDef 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],
HostTypeDef#
# HostTypeDef 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 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 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)
NodeDetailsTypeDef#
# NodeDetailsTypeDef 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 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 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]],
TmpfsTypeDef#
# TmpfsTypeDef usage example
from mypy_boto3_batch.type_defs import TmpfsTypeDef
def get_value() -> TmpfsTypeDef:
return {
"containerPath": ...,
"size": ...,
}
# TmpfsTypeDef definition
class TmpfsTypeDef(TypedDict):
containerPath: str,
size: int,
mountOptions: NotRequired[List[str]],
ListSchedulingPoliciesRequestListSchedulingPoliciesPaginateTypeDef#
# ListSchedulingPoliciesRequestListSchedulingPoliciesPaginateTypeDef usage example
from mypy_boto3_batch.type_defs import ListSchedulingPoliciesRequestListSchedulingPoliciesPaginateTypeDef
def get_value() -> ListSchedulingPoliciesRequestListSchedulingPoliciesPaginateTypeDef:
return {
"PaginationConfig": ...,
}
# ListSchedulingPoliciesRequestListSchedulingPoliciesPaginateTypeDef definition
class ListSchedulingPoliciesRequestListSchedulingPoliciesPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListSchedulingPoliciesRequestRequestTypeDef#
# ListSchedulingPoliciesRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import ListSchedulingPoliciesRequestRequestTypeDef
def get_value() -> ListSchedulingPoliciesRequestRequestTypeDef:
return {
"maxResults": ...,
}
# ListSchedulingPoliciesRequestRequestTypeDef definition
class ListSchedulingPoliciesRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
SchedulingPolicyListingDetailTypeDef#
# SchedulingPolicyListingDetailTypeDef usage example
from mypy_boto3_batch.type_defs import SchedulingPolicyListingDetailTypeDef
def get_value() -> SchedulingPolicyListingDetailTypeDef:
return {
"arn": ...,
}
# SchedulingPolicyListingDetailTypeDef definition
class SchedulingPolicyListingDetailTypeDef(TypedDict):
arn: str,
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import ListTagsForResourceRequestRequestTypeDef
def get_value() -> ListTagsForResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
}
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef usage example
from mypy_boto3_batch.type_defs import ListTagsForResourceResponseTypeDef
def get_value() -> ListTagsForResourceResponseTypeDef:
return {
"tags": ...,
"ResponseMetadata": ...,
}
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef 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],
RegisterJobDefinitionResponseTypeDef#
# RegisterJobDefinitionResponseTypeDef usage example
from mypy_boto3_batch.type_defs import RegisterJobDefinitionResponseTypeDef
def get_value() -> RegisterJobDefinitionResponseTypeDef:
return {
"jobDefinitionName": ...,
"jobDefinitionArn": ...,
"revision": ...,
"ResponseMetadata": ...,
}
# RegisterJobDefinitionResponseTypeDef definition
class RegisterJobDefinitionResponseTypeDef(TypedDict):
jobDefinitionName: str,
jobDefinitionArn: str,
revision: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef usage example
from mypy_boto3_batch.type_defs import ResponseMetadataTypeDef
def get_value() -> ResponseMetadataTypeDef:
return {
"RequestId": ...,
"HostId": ...,
"HTTPStatusCode": ...,
"HTTPHeaders": ...,
"RetryAttempts": ...,
}
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HostId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
SubmitJobResponseTypeDef#
# SubmitJobResponseTypeDef usage example
from mypy_boto3_batch.type_defs import SubmitJobResponseTypeDef
def get_value() -> SubmitJobResponseTypeDef:
return {
"jobArn": ...,
"jobName": ...,
"jobId": ...,
"ResponseMetadata": ...,
}
# SubmitJobResponseTypeDef definition
class SubmitJobResponseTypeDef(TypedDict):
jobArn: str,
jobName: str,
jobId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import TagResourceRequestRequestTypeDef
def get_value() -> TagResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
"tags": ...,
}
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Mapping[str, str],
TerminateJobRequestRequestTypeDef#
# TerminateJobRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import TerminateJobRequestRequestTypeDef
def get_value() -> TerminateJobRequestRequestTypeDef:
return {
"jobId": ...,
"reason": ...,
}
# TerminateJobRequestRequestTypeDef definition
class TerminateJobRequestRequestTypeDef(TypedDict):
jobId: str,
reason: str,
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import UntagResourceRequestRequestTypeDef
def get_value() -> UntagResourceRequestRequestTypeDef:
return {
"resourceArn": ...,
"tagKeys": ...,
}
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
UpdateComputeEnvironmentResponseTypeDef#
# UpdateComputeEnvironmentResponseTypeDef usage example
from mypy_boto3_batch.type_defs import UpdateComputeEnvironmentResponseTypeDef
def get_value() -> UpdateComputeEnvironmentResponseTypeDef:
return {
"computeEnvironmentName": ...,
"computeEnvironmentArn": ...,
"ResponseMetadata": ...,
}
# UpdateComputeEnvironmentResponseTypeDef definition
class UpdateComputeEnvironmentResponseTypeDef(TypedDict):
computeEnvironmentName: str,
computeEnvironmentArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
UpdateJobQueueResponseTypeDef#
# UpdateJobQueueResponseTypeDef usage example
from mypy_boto3_batch.type_defs import UpdateJobQueueResponseTypeDef
def get_value() -> UpdateJobQueueResponseTypeDef:
return {
"jobQueueName": ...,
"jobQueueArn": ...,
"ResponseMetadata": ...,
}
# UpdateJobQueueResponseTypeDef definition
class UpdateJobQueueResponseTypeDef(TypedDict):
jobQueueName: str,
jobQueueArn: str,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
AttemptContainerDetailTypeDef#
# AttemptContainerDetailTypeDef 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)
CreateJobQueueRequestRequestTypeDef#
# CreateJobQueueRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import CreateJobQueueRequestRequestTypeDef
def get_value() -> CreateJobQueueRequestRequestTypeDef:
return {
"jobQueueName": ...,
"priority": ...,
"computeEnvironmentOrder": ...,
}
# CreateJobQueueRequestRequestTypeDef definition
class CreateJobQueueRequestRequestTypeDef(TypedDict):
jobQueueName: str,
priority: int,
computeEnvironmentOrder: Sequence[ComputeEnvironmentOrderTypeDef], # (1)
state: NotRequired[JQStateType], # (2)
schedulingPolicyArn: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
JobQueueDetailTypeDef#
# JobQueueDetailTypeDef usage example
from mypy_boto3_batch.type_defs import JobQueueDetailTypeDef
def get_value() -> JobQueueDetailTypeDef:
return {
"jobQueueName": ...,
"jobQueueArn": ...,
"state": ...,
"priority": ...,
"computeEnvironmentOrder": ...,
}
# 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]],
- See JQStateType
- See JQStatusType
- See ComputeEnvironmentOrderTypeDef
UpdateJobQueueRequestRequestTypeDef#
# UpdateJobQueueRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import UpdateJobQueueRequestRequestTypeDef
def get_value() -> UpdateJobQueueRequestRequestTypeDef:
return {
"jobQueue": ...,
}
# UpdateJobQueueRequestRequestTypeDef definition
class UpdateJobQueueRequestRequestTypeDef(TypedDict):
jobQueue: str,
state: NotRequired[JQStateType], # (1)
schedulingPolicyArn: NotRequired[str],
priority: NotRequired[int],
computeEnvironmentOrder: NotRequired[Sequence[ComputeEnvironmentOrderTypeDef]], # (2)
ComputeResourceTypeDef#
# ComputeResourceTypeDef usage example
from mypy_boto3_batch.type_defs import ComputeResourceTypeDef
def get_value() -> ComputeResourceTypeDef:
return {
"type": ...,
"maxvCpus": ...,
"subnets": ...,
}
# 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)
- See CRTypeType
- See CRAllocationStrategyType
- See LaunchTemplateSpecificationTypeDef
- See Ec2ConfigurationTypeDef
ComputeResourceUpdateTypeDef#
# ComputeResourceUpdateTypeDef 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[LaunchTemplateSpecificationTypeDef], # (2)
ec2Configuration: NotRequired[Sequence[Ec2ConfigurationTypeDef]], # (3)
updateToLatestImageVersion: NotRequired[bool],
type: NotRequired[CRTypeType], # (4)
imageId: NotRequired[str],
- See CRUpdateAllocationStrategyType
- See LaunchTemplateSpecificationTypeDef
- See Ec2ConfigurationTypeDef
- See CRTypeType
ContainerOverridesTypeDef#
# ContainerOverridesTypeDef 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)
LogConfigurationTypeDef#
# LogConfigurationTypeDef 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[Dict[str, str]],
secretOptions: NotRequired[List[SecretTypeDef]], # (2)
- See LogDriverType
- See SecretTypeDef
EFSVolumeConfigurationTypeDef#
# EFSVolumeConfigurationTypeDef 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)
EksAttemptDetailTypeDef#
# EksAttemptDetailTypeDef 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)
podName: NotRequired[str],
nodeName: NotRequired[str],
startedAt: NotRequired[int],
stoppedAt: NotRequired[int],
statusReason: NotRequired[str],
EksContainerOverrideTypeDef#
# EksContainerOverrideTypeDef usage example
from mypy_boto3_batch.type_defs import EksContainerOverrideTypeDef
def get_value() -> EksContainerOverrideTypeDef:
return {
"image": ...,
}
# EksContainerOverrideTypeDef definition
class EksContainerOverrideTypeDef(TypedDict):
image: NotRequired[str],
command: NotRequired[Sequence[str]],
args: NotRequired[Sequence[str]],
env: NotRequired[Sequence[EksContainerEnvironmentVariableTypeDef]], # (1)
resources: NotRequired[EksContainerResourceRequirementsTypeDef], # (2)
EksContainerDetailTypeDef#
# EksContainerDetailTypeDef 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[EksContainerResourceRequirementsTypeDef], # (2)
exitCode: NotRequired[int],
reason: NotRequired[str],
volumeMounts: NotRequired[List[EksContainerVolumeMountTypeDef]], # (3)
securityContext: NotRequired[EksContainerSecurityContextTypeDef], # (4)
- See EksContainerEnvironmentVariableTypeDef
- See EksContainerResourceRequirementsTypeDef
- See EksContainerVolumeMountTypeDef
- See EksContainerSecurityContextTypeDef
EksContainerTypeDef#
# EksContainerTypeDef usage example
from mypy_boto3_batch.type_defs import EksContainerTypeDef
def get_value() -> EksContainerTypeDef:
return {
"image": ...,
}
# EksContainerTypeDef definition
class EksContainerTypeDef(TypedDict):
image: str,
name: NotRequired[str],
imagePullPolicy: NotRequired[str],
command: NotRequired[List[str]],
args: NotRequired[List[str]],
env: NotRequired[List[EksContainerEnvironmentVariableTypeDef]], # (1)
resources: NotRequired[EksContainerResourceRequirementsTypeDef], # (2)
volumeMounts: NotRequired[List[EksContainerVolumeMountTypeDef]], # (3)
securityContext: NotRequired[EksContainerSecurityContextTypeDef], # (4)
- See EksContainerEnvironmentVariableTypeDef
- See EksContainerResourceRequirementsTypeDef
- See EksContainerVolumeMountTypeDef
- See EksContainerSecurityContextTypeDef
EksVolumeTypeDef#
# EksVolumeTypeDef 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)
- See EksHostPathTypeDef
- See EksEmptyDirTypeDef
- See EksSecretTypeDef
RetryStrategyTypeDef#
# RetryStrategyTypeDef 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[List[EvaluateOnExitTypeDef]], # (1)
FairsharePolicyTypeDef#
# FairsharePolicyTypeDef 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)
JobSummaryTypeDef#
# JobSummaryTypeDef usage example
from mypy_boto3_batch.type_defs import JobSummaryTypeDef
def get_value() -> JobSummaryTypeDef:
return {
"jobId": ...,
"jobName": ...,
}
# 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],
- See JobStatusType
- See ContainerSummaryTypeDef
- See ArrayPropertiesSummaryTypeDef
- See NodePropertiesSummaryTypeDef
ListJobsRequestListJobsPaginateTypeDef#
# ListJobsRequestListJobsPaginateTypeDef usage example
from mypy_boto3_batch.type_defs import ListJobsRequestListJobsPaginateTypeDef
def get_value() -> ListJobsRequestListJobsPaginateTypeDef:
return {
"jobQueue": ...,
}
# ListJobsRequestListJobsPaginateTypeDef definition
class ListJobsRequestListJobsPaginateTypeDef(TypedDict):
jobQueue: NotRequired[str],
arrayJobId: NotRequired[str],
multiNodeJobId: NotRequired[str],
jobStatus: NotRequired[JobStatusType], # (1)
filters: NotRequired[Sequence[KeyValuesPairTypeDef]], # (2)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (3)
- See JobStatusType
- See KeyValuesPairTypeDef
- See PaginatorConfigTypeDef
ListJobsRequestRequestTypeDef#
# ListJobsRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import ListJobsRequestRequestTypeDef
def get_value() -> ListJobsRequestRequestTypeDef:
return {
"jobQueue": ...,
}
# ListJobsRequestRequestTypeDef definition
class ListJobsRequestRequestTypeDef(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)
- See JobStatusType
- See KeyValuesPairTypeDef
LinuxParametersTypeDef#
# LinuxParametersTypeDef usage example
from mypy_boto3_batch.type_defs import LinuxParametersTypeDef
def get_value() -> LinuxParametersTypeDef:
return {
"devices": ...,
}
# LinuxParametersTypeDef definition
class LinuxParametersTypeDef(TypedDict):
devices: NotRequired[List[DeviceTypeDef]], # (1)
initProcessEnabled: NotRequired[bool],
sharedMemorySize: NotRequired[int],
tmpfs: NotRequired[List[TmpfsTypeDef]], # (2)
maxSwap: NotRequired[int],
swappiness: NotRequired[int],
- See DeviceTypeDef
- See TmpfsTypeDef
ListSchedulingPoliciesResponseTypeDef#
# ListSchedulingPoliciesResponseTypeDef usage example
from mypy_boto3_batch.type_defs import ListSchedulingPoliciesResponseTypeDef
def get_value() -> ListSchedulingPoliciesResponseTypeDef:
return {
"schedulingPolicies": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListSchedulingPoliciesResponseTypeDef definition
class ListSchedulingPoliciesResponseTypeDef(TypedDict):
schedulingPolicies: List[SchedulingPolicyListingDetailTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AttemptDetailTypeDef#
# AttemptDetailTypeDef 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],
DescribeJobQueuesResponseTypeDef#
# DescribeJobQueuesResponseTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeJobQueuesResponseTypeDef
def get_value() -> DescribeJobQueuesResponseTypeDef:
return {
"jobQueues": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# DescribeJobQueuesResponseTypeDef definition
class DescribeJobQueuesResponseTypeDef(TypedDict):
jobQueues: List[JobQueueDetailTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ComputeEnvironmentDetailTypeDef#
# ComputeEnvironmentDetailTypeDef usage example
from mypy_boto3_batch.type_defs import ComputeEnvironmentDetailTypeDef
def get_value() -> ComputeEnvironmentDetailTypeDef:
return {
"computeEnvironmentName": ...,
"computeEnvironmentArn": ...,
}
# 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[ComputeResourceTypeDef], # (4)
serviceRole: NotRequired[str],
updatePolicy: NotRequired[UpdatePolicyTypeDef], # (5)
eksConfiguration: NotRequired[EksConfigurationTypeDef], # (6)
containerOrchestrationType: NotRequired[OrchestrationTypeType], # (7)
uuid: NotRequired[str],
- See CETypeType
- See CEStateType
- See CEStatusType
- See ComputeResourceTypeDef
- See UpdatePolicyTypeDef
- See EksConfigurationTypeDef
- See OrchestrationTypeType
CreateComputeEnvironmentRequestRequestTypeDef#
# CreateComputeEnvironmentRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import CreateComputeEnvironmentRequestRequestTypeDef
def get_value() -> CreateComputeEnvironmentRequestRequestTypeDef:
return {
"computeEnvironmentName": ...,
"type": ...,
}
# CreateComputeEnvironmentRequestRequestTypeDef definition
class CreateComputeEnvironmentRequestRequestTypeDef(TypedDict):
computeEnvironmentName: str,
type: CETypeType, # (1)
state: NotRequired[CEStateType], # (2)
unmanagedvCpus: NotRequired[int],
computeResources: NotRequired[ComputeResourceTypeDef], # (3)
serviceRole: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
eksConfiguration: NotRequired[EksConfigurationTypeDef], # (4)
- See CETypeType
- See CEStateType
- See ComputeResourceTypeDef
- See EksConfigurationTypeDef
UpdateComputeEnvironmentRequestRequestTypeDef#
# UpdateComputeEnvironmentRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import UpdateComputeEnvironmentRequestRequestTypeDef
def get_value() -> UpdateComputeEnvironmentRequestRequestTypeDef:
return {
"computeEnvironment": ...,
}
# UpdateComputeEnvironmentRequestRequestTypeDef definition
class UpdateComputeEnvironmentRequestRequestTypeDef(TypedDict):
computeEnvironment: str,
state: NotRequired[CEStateType], # (1)
unmanagedvCpus: NotRequired[int],
computeResources: NotRequired[ComputeResourceUpdateTypeDef], # (2)
serviceRole: NotRequired[str],
updatePolicy: NotRequired[UpdatePolicyTypeDef], # (3)
NodePropertyOverrideTypeDef#
# NodePropertyOverrideTypeDef 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)
VolumeTypeDef#
# VolumeTypeDef 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)
EksPodPropertiesOverrideTypeDef#
# EksPodPropertiesOverrideTypeDef 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)
metadata: NotRequired[EksMetadataTypeDef], # (2)
EksPodPropertiesDetailTypeDef#
# EksPodPropertiesDetailTypeDef 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],
containers: NotRequired[List[EksContainerDetailTypeDef]], # (1)
volumes: NotRequired[List[EksVolumeTypeDef]], # (2)
podName: NotRequired[str],
nodeName: NotRequired[str],
metadata: NotRequired[EksMetadataTypeDef], # (3)
EksPodPropertiesTypeDef#
# EksPodPropertiesTypeDef 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],
containers: NotRequired[List[EksContainerTypeDef]], # (1)
volumes: NotRequired[List[EksVolumeTypeDef]], # (2)
metadata: NotRequired[EksMetadataTypeDef], # (3)
- See EksContainerTypeDef
- See EksVolumeTypeDef
- See EksMetadataTypeDef
CreateSchedulingPolicyRequestRequestTypeDef#
# CreateSchedulingPolicyRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import CreateSchedulingPolicyRequestRequestTypeDef
def get_value() -> CreateSchedulingPolicyRequestRequestTypeDef:
return {
"name": ...,
}
# CreateSchedulingPolicyRequestRequestTypeDef definition
class CreateSchedulingPolicyRequestRequestTypeDef(TypedDict):
name: str,
fairsharePolicy: NotRequired[FairsharePolicyTypeDef], # (1)
tags: NotRequired[Mapping[str, str]],
SchedulingPolicyDetailTypeDef#
# SchedulingPolicyDetailTypeDef usage example
from mypy_boto3_batch.type_defs import SchedulingPolicyDetailTypeDef
def get_value() -> SchedulingPolicyDetailTypeDef:
return {
"name": ...,
"arn": ...,
}
# SchedulingPolicyDetailTypeDef definition
class SchedulingPolicyDetailTypeDef(TypedDict):
name: str,
arn: str,
fairsharePolicy: NotRequired[FairsharePolicyTypeDef], # (1)
tags: NotRequired[Dict[str, str]],
UpdateSchedulingPolicyRequestRequestTypeDef#
# UpdateSchedulingPolicyRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import UpdateSchedulingPolicyRequestRequestTypeDef
def get_value() -> UpdateSchedulingPolicyRequestRequestTypeDef:
return {
"arn": ...,
}
# UpdateSchedulingPolicyRequestRequestTypeDef definition
class UpdateSchedulingPolicyRequestRequestTypeDef(TypedDict):
arn: str,
fairsharePolicy: NotRequired[FairsharePolicyTypeDef], # (1)
ListJobsResponseTypeDef#
# ListJobsResponseTypeDef usage example
from mypy_boto3_batch.type_defs import ListJobsResponseTypeDef
def get_value() -> ListJobsResponseTypeDef:
return {
"jobSummaryList": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# ListJobsResponseTypeDef definition
class ListJobsResponseTypeDef(TypedDict):
jobSummaryList: List[JobSummaryTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeComputeEnvironmentsResponseTypeDef#
# DescribeComputeEnvironmentsResponseTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeComputeEnvironmentsResponseTypeDef
def get_value() -> DescribeComputeEnvironmentsResponseTypeDef:
return {
"computeEnvironments": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# DescribeComputeEnvironmentsResponseTypeDef definition
class DescribeComputeEnvironmentsResponseTypeDef(TypedDict):
computeEnvironments: List[ComputeEnvironmentDetailTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NodeOverridesTypeDef#
# NodeOverridesTypeDef 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)
ContainerDetailTypeDef#
# ContainerDetailTypeDef 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[LinuxParametersTypeDef], # (7)
logConfiguration: NotRequired[LogConfigurationTypeDef], # (8)
secrets: NotRequired[List[SecretTypeDef]], # (9)
networkConfiguration: NotRequired[NetworkConfigurationTypeDef], # (10)
fargatePlatformConfiguration: NotRequired[FargatePlatformConfigurationTypeDef], # (11)
ephemeralStorage: NotRequired[EphemeralStorageTypeDef], # (12)
- See VolumeTypeDef
- See KeyValuePairTypeDef
- See MountPointTypeDef
- See UlimitTypeDef
- See NetworkInterfaceTypeDef
- See ResourceRequirementTypeDef
- See LinuxParametersTypeDef
- See LogConfigurationTypeDef
- See SecretTypeDef
- See NetworkConfigurationTypeDef
- See FargatePlatformConfigurationTypeDef
- See EphemeralStorageTypeDef
ContainerPropertiesTypeDef#
# ContainerPropertiesTypeDef 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[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[LinuxParametersTypeDef], # (6)
logConfiguration: NotRequired[LogConfigurationTypeDef], # (7)
secrets: NotRequired[List[SecretTypeDef]], # (8)
networkConfiguration: NotRequired[NetworkConfigurationTypeDef], # (9)
fargatePlatformConfiguration: NotRequired[FargatePlatformConfigurationTypeDef], # (10)
ephemeralStorage: NotRequired[EphemeralStorageTypeDef], # (11)
- See VolumeTypeDef
- See KeyValuePairTypeDef
- See MountPointTypeDef
- See UlimitTypeDef
- See ResourceRequirementTypeDef
- See LinuxParametersTypeDef
- See LogConfigurationTypeDef
- See SecretTypeDef
- See NetworkConfigurationTypeDef
- See FargatePlatformConfigurationTypeDef
- See EphemeralStorageTypeDef
EksPropertiesOverrideTypeDef#
# EksPropertiesOverrideTypeDef 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)
EksPropertiesDetailTypeDef#
# EksPropertiesDetailTypeDef 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)
EksPropertiesTypeDef#
# EksPropertiesTypeDef 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)
DescribeSchedulingPoliciesResponseTypeDef#
# DescribeSchedulingPoliciesResponseTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeSchedulingPoliciesResponseTypeDef
def get_value() -> DescribeSchedulingPoliciesResponseTypeDef:
return {
"schedulingPolicies": ...,
"ResponseMetadata": ...,
}
# DescribeSchedulingPoliciesResponseTypeDef definition
class DescribeSchedulingPoliciesResponseTypeDef(TypedDict):
schedulingPolicies: List[SchedulingPolicyDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
NodeRangePropertyTypeDef#
# NodeRangePropertyTypeDef 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)
SubmitJobRequestRequestTypeDef#
# SubmitJobRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import SubmitJobRequestRequestTypeDef
def get_value() -> SubmitJobRequestRequestTypeDef:
return {
"jobName": ...,
"jobQueue": ...,
"jobDefinition": ...,
}
# SubmitJobRequestRequestTypeDef definition
class SubmitJobRequestRequestTypeDef(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[RetryStrategyTypeDef], # (5)
propagateTags: NotRequired[bool],
timeout: NotRequired[JobTimeoutTypeDef], # (6)
tags: NotRequired[Mapping[str, str]],
eksPropertiesOverride: NotRequired[EksPropertiesOverrideTypeDef], # (7)
- See ArrayPropertiesTypeDef
- See JobDependencyTypeDef
- See ContainerOverridesTypeDef
- See NodeOverridesTypeDef
- See RetryStrategyTypeDef
- See JobTimeoutTypeDef
- See EksPropertiesOverrideTypeDef
NodePropertiesTypeDef#
# NodePropertiesTypeDef usage example
from mypy_boto3_batch.type_defs import NodePropertiesTypeDef
def get_value() -> NodePropertiesTypeDef:
return {
"numNodes": ...,
"mainNode": ...,
"nodeRangeProperties": ...,
}
# NodePropertiesTypeDef definition
class NodePropertiesTypeDef(TypedDict):
numNodes: int,
mainNode: int,
nodeRangeProperties: List[NodeRangePropertyTypeDef], # (1)
JobDefinitionTypeDef#
# JobDefinitionTypeDef usage example
from mypy_boto3_batch.type_defs import JobDefinitionTypeDef
def get_value() -> JobDefinitionTypeDef:
return {
"jobDefinitionName": ...,
"jobDefinitionArn": ...,
"revision": ...,
"type": ...,
}
# 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[RetryStrategyTypeDef], # (1)
containerProperties: NotRequired[ContainerPropertiesTypeDef], # (2)
timeout: NotRequired[JobTimeoutTypeDef], # (3)
nodeProperties: NotRequired[NodePropertiesTypeDef], # (4)
tags: NotRequired[Dict[str, str]],
propagateTags: NotRequired[bool],
platformCapabilities: NotRequired[List[PlatformCapabilityType]], # (5)
eksProperties: NotRequired[EksPropertiesTypeDef], # (6)
containerOrchestrationType: NotRequired[OrchestrationTypeType], # (7)
- See RetryStrategyTypeDef
- See ContainerPropertiesTypeDef
- See JobTimeoutTypeDef
- See NodePropertiesTypeDef
- See PlatformCapabilityType
- See EksPropertiesTypeDef
- See OrchestrationTypeType
JobDetailTypeDef#
# JobDetailTypeDef usage example
from mypy_boto3_batch.type_defs import JobDetailTypeDef
def get_value() -> JobDetailTypeDef:
return {
"jobName": ...,
"jobId": ...,
"jobQueue": ...,
"status": ...,
"startedAt": ...,
"jobDefinition": ...,
}
# 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[RetryStrategyTypeDef], # (3)
stoppedAt: NotRequired[int],
dependsOn: NotRequired[List[JobDependencyTypeDef]], # (4)
parameters: NotRequired[Dict[str, str]],
container: NotRequired[ContainerDetailTypeDef], # (5)
nodeDetails: NotRequired[NodeDetailsTypeDef], # (6)
nodeProperties: NotRequired[NodePropertiesTypeDef], # (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)
isCancelled: NotRequired[bool],
isTerminated: NotRequired[bool],
- See JobStatusType
- See AttemptDetailTypeDef
- See RetryStrategyTypeDef
- See JobDependencyTypeDef
- See ContainerDetailTypeDef
- See NodeDetailsTypeDef
- See NodePropertiesTypeDef
- See ArrayPropertiesDetailTypeDef
- See JobTimeoutTypeDef
- See PlatformCapabilityType
- See EksPropertiesDetailTypeDef
- See EksAttemptDetailTypeDef
RegisterJobDefinitionRequestRequestTypeDef#
# RegisterJobDefinitionRequestRequestTypeDef usage example
from mypy_boto3_batch.type_defs import RegisterJobDefinitionRequestRequestTypeDef
def get_value() -> RegisterJobDefinitionRequestRequestTypeDef:
return {
"jobDefinitionName": ...,
"type": ...,
}
# RegisterJobDefinitionRequestRequestTypeDef definition
class RegisterJobDefinitionRequestRequestTypeDef(TypedDict):
jobDefinitionName: str,
type: JobDefinitionTypeType, # (1)
parameters: NotRequired[Mapping[str, str]],
schedulingPriority: NotRequired[int],
containerProperties: NotRequired[ContainerPropertiesTypeDef], # (2)
nodeProperties: NotRequired[NodePropertiesTypeDef], # (3)
retryStrategy: NotRequired[RetryStrategyTypeDef], # (4)
propagateTags: NotRequired[bool],
timeout: NotRequired[JobTimeoutTypeDef], # (5)
tags: NotRequired[Mapping[str, str]],
platformCapabilities: NotRequired[Sequence[PlatformCapabilityType]], # (6)
eksProperties: NotRequired[EksPropertiesTypeDef], # (7)
- See JobDefinitionTypeType
- See ContainerPropertiesTypeDef
- See NodePropertiesTypeDef
- See RetryStrategyTypeDef
- See JobTimeoutTypeDef
- See PlatformCapabilityType
- See EksPropertiesTypeDef
DescribeJobDefinitionsResponseTypeDef#
# DescribeJobDefinitionsResponseTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeJobDefinitionsResponseTypeDef
def get_value() -> DescribeJobDefinitionsResponseTypeDef:
return {
"jobDefinitions": ...,
"nextToken": ...,
"ResponseMetadata": ...,
}
# DescribeJobDefinitionsResponseTypeDef definition
class DescribeJobDefinitionsResponseTypeDef(TypedDict):
jobDefinitions: List[JobDefinitionTypeDef], # (1)
nextToken: str,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
DescribeJobsResponseTypeDef#
# DescribeJobsResponseTypeDef usage example
from mypy_boto3_batch.type_defs import DescribeJobsResponseTypeDef
def get_value() -> DescribeJobsResponseTypeDef:
return {
"jobs": ...,
"ResponseMetadata": ...,
}
# DescribeJobsResponseTypeDef definition
class DescribeJobsResponseTypeDef(TypedDict):
jobs: List[JobDetailTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)