Literals#
Auto-generated documentation for Batch type annotations stubs module mypy-boto3-batch.
ArrayJobDependencyType#
# ArrayJobDependencyType usage example
from mypy_boto3_batch.literals import ArrayJobDependencyType
def get_value() -> ArrayJobDependencyType:
return "N_TO_N"
# ArrayJobDependencyType definition
ArrayJobDependencyType = Literal[
"N_TO_N",
"SEQUENTIAL",
]
AssignPublicIpType#
# AssignPublicIpType usage example
from mypy_boto3_batch.literals import AssignPublicIpType
def get_value() -> AssignPublicIpType:
return "DISABLED"
# AssignPublicIpType definition
AssignPublicIpType = Literal[
"DISABLED",
"ENABLED",
]
CEStateType#
# CEStateType usage example
from mypy_boto3_batch.literals import CEStateType
def get_value() -> CEStateType:
return "DISABLED"
# CEStateType definition
CEStateType = Literal[
"DISABLED",
"ENABLED",
]
CEStatusType#
# CEStatusType usage example
from mypy_boto3_batch.literals import CEStatusType
def get_value() -> CEStatusType:
return "CREATING"
# CEStatusType definition
CEStatusType = Literal[
"CREATING",
"DELETED",
"DELETING",
"INVALID",
"UPDATING",
"VALID",
]
CETypeType#
# CETypeType usage example
from mypy_boto3_batch.literals import CETypeType
def get_value() -> CETypeType:
return "MANAGED"
# CETypeType definition
CETypeType = Literal[
"MANAGED",
"UNMANAGED",
]
CRAllocationStrategyType#
# CRAllocationStrategyType usage example
from mypy_boto3_batch.literals import CRAllocationStrategyType
def get_value() -> CRAllocationStrategyType:
return "BEST_FIT"
# CRAllocationStrategyType definition
CRAllocationStrategyType = Literal[
"BEST_FIT",
"BEST_FIT_PROGRESSIVE",
"SPOT_CAPACITY_OPTIMIZED",
"SPOT_PRICE_CAPACITY_OPTIMIZED",
]
CRTypeType#
# CRTypeType usage example
from mypy_boto3_batch.literals import CRTypeType
def get_value() -> CRTypeType:
return "EC2"
# CRTypeType definition
CRTypeType = Literal[
"EC2",
"FARGATE",
"FARGATE_SPOT",
"SPOT",
]
CRUpdateAllocationStrategyType#
# CRUpdateAllocationStrategyType usage example
from mypy_boto3_batch.literals import CRUpdateAllocationStrategyType
def get_value() -> CRUpdateAllocationStrategyType:
return "BEST_FIT_PROGRESSIVE"
# CRUpdateAllocationStrategyType definition
CRUpdateAllocationStrategyType = Literal[
"BEST_FIT_PROGRESSIVE",
"SPOT_CAPACITY_OPTIMIZED",
"SPOT_PRICE_CAPACITY_OPTIMIZED",
]
DescribeComputeEnvironmentsPaginatorName#
# DescribeComputeEnvironmentsPaginatorName usage example
from mypy_boto3_batch.literals import DescribeComputeEnvironmentsPaginatorName
def get_value() -> DescribeComputeEnvironmentsPaginatorName:
return "describe_compute_environments"
# DescribeComputeEnvironmentsPaginatorName definition
DescribeComputeEnvironmentsPaginatorName = Literal[
"describe_compute_environments",
]
DescribeJobDefinitionsPaginatorName#
# DescribeJobDefinitionsPaginatorName usage example
from mypy_boto3_batch.literals import DescribeJobDefinitionsPaginatorName
def get_value() -> DescribeJobDefinitionsPaginatorName:
return "describe_job_definitions"
# DescribeJobDefinitionsPaginatorName definition
DescribeJobDefinitionsPaginatorName = Literal[
"describe_job_definitions",
]
DescribeJobQueuesPaginatorName#
# DescribeJobQueuesPaginatorName usage example
from mypy_boto3_batch.literals import DescribeJobQueuesPaginatorName
def get_value() -> DescribeJobQueuesPaginatorName:
return "describe_job_queues"
# DescribeJobQueuesPaginatorName definition
DescribeJobQueuesPaginatorName = Literal[
"describe_job_queues",
]
DeviceCgroupPermissionType#
# DeviceCgroupPermissionType usage example
from mypy_boto3_batch.literals import DeviceCgroupPermissionType
def get_value() -> DeviceCgroupPermissionType:
return "MKNOD"
# DeviceCgroupPermissionType definition
DeviceCgroupPermissionType = Literal[
"MKNOD",
"READ",
"WRITE",
]
EFSAuthorizationConfigIAMType#
# EFSAuthorizationConfigIAMType usage example
from mypy_boto3_batch.literals import EFSAuthorizationConfigIAMType
def get_value() -> EFSAuthorizationConfigIAMType:
return "DISABLED"
# EFSAuthorizationConfigIAMType definition
EFSAuthorizationConfigIAMType = Literal[
"DISABLED",
"ENABLED",
]
EFSTransitEncryptionType#
# EFSTransitEncryptionType usage example
from mypy_boto3_batch.literals import EFSTransitEncryptionType
def get_value() -> EFSTransitEncryptionType:
return "DISABLED"
# EFSTransitEncryptionType definition
EFSTransitEncryptionType = Literal[
"DISABLED",
"ENABLED",
]
JQStateType#
# JQStateType usage example
from mypy_boto3_batch.literals import JQStateType
def get_value() -> JQStateType:
return "DISABLED"
# JQStateType definition
JQStateType = Literal[
"DISABLED",
"ENABLED",
]
JQStatusType#
# JQStatusType usage example
from mypy_boto3_batch.literals import JQStatusType
def get_value() -> JQStatusType:
return "CREATING"
# JQStatusType definition
JQStatusType = Literal[
"CREATING",
"DELETED",
"DELETING",
"INVALID",
"UPDATING",
"VALID",
]
JobDefinitionTypeType#
# JobDefinitionTypeType usage example
from mypy_boto3_batch.literals import JobDefinitionTypeType
def get_value() -> JobDefinitionTypeType:
return "container"
# JobDefinitionTypeType definition
JobDefinitionTypeType = Literal[
"container",
"multinode",
]
JobStateTimeLimitActionsActionType#
# JobStateTimeLimitActionsActionType usage example
from mypy_boto3_batch.literals import JobStateTimeLimitActionsActionType
def get_value() -> JobStateTimeLimitActionsActionType:
return "CANCEL"
# JobStateTimeLimitActionsActionType definition
JobStateTimeLimitActionsActionType = Literal[
"CANCEL",
]
JobStateTimeLimitActionsStateType#
# JobStateTimeLimitActionsStateType usage example
from mypy_boto3_batch.literals import JobStateTimeLimitActionsStateType
def get_value() -> JobStateTimeLimitActionsStateType:
return "RUNNABLE"
# JobStateTimeLimitActionsStateType definition
JobStateTimeLimitActionsStateType = Literal[
"RUNNABLE",
]
JobStatusType#
# JobStatusType usage example
from mypy_boto3_batch.literals import JobStatusType
def get_value() -> JobStatusType:
return "FAILED"
# JobStatusType definition
JobStatusType = Literal[
"FAILED",
"PENDING",
"RUNNABLE",
"RUNNING",
"STARTING",
"SUBMITTED",
"SUCCEEDED",
]
ListJobsPaginatorName#
# ListJobsPaginatorName usage example
from mypy_boto3_batch.literals import ListJobsPaginatorName
def get_value() -> ListJobsPaginatorName:
return "list_jobs"
# ListJobsPaginatorName definition
ListJobsPaginatorName = Literal[
"list_jobs",
]
ListSchedulingPoliciesPaginatorName#
# ListSchedulingPoliciesPaginatorName usage example
from mypy_boto3_batch.literals import ListSchedulingPoliciesPaginatorName
def get_value() -> ListSchedulingPoliciesPaginatorName:
return "list_scheduling_policies"
# ListSchedulingPoliciesPaginatorName definition
ListSchedulingPoliciesPaginatorName = Literal[
"list_scheduling_policies",
]
LogDriverType#
# LogDriverType usage example
from mypy_boto3_batch.literals import LogDriverType
def get_value() -> LogDriverType:
return "awslogs"
# LogDriverType definition
LogDriverType = Literal[
"awslogs",
"fluentd",
"gelf",
"journald",
"json-file",
"splunk",
"syslog",
]
OrchestrationTypeType#
# OrchestrationTypeType usage example
from mypy_boto3_batch.literals import OrchestrationTypeType
def get_value() -> OrchestrationTypeType:
return "ECS"
# OrchestrationTypeType definition
OrchestrationTypeType = Literal[
"ECS",
"EKS",
]
PlatformCapabilityType#
# PlatformCapabilityType usage example
from mypy_boto3_batch.literals import PlatformCapabilityType
def get_value() -> PlatformCapabilityType:
return "EC2"
# PlatformCapabilityType definition
PlatformCapabilityType = Literal[
"EC2",
"FARGATE",
]
ResourceTypeType#
# ResourceTypeType usage example
from mypy_boto3_batch.literals import ResourceTypeType
def get_value() -> ResourceTypeType:
return "GPU"
# ResourceTypeType definition
ResourceTypeType = Literal[
"GPU",
"MEMORY",
"VCPU",
]
RetryActionType#
# RetryActionType usage example
from mypy_boto3_batch.literals import RetryActionType
def get_value() -> RetryActionType:
return "EXIT"
# RetryActionType definition
RetryActionType = Literal[
"EXIT",
"RETRY",
]
BatchServiceName#
# BatchServiceName usage example
from mypy_boto3_batch.literals import BatchServiceName
def get_value() -> BatchServiceName:
return "batch"
# BatchServiceName definition
BatchServiceName = Literal[
"batch",
]
ServiceName#
# ServiceName usage example
from mypy_boto3_batch.literals import ServiceName
def get_value() -> ServiceName:
return "accessanalyzer"
# ServiceName definition
ServiceName = Literal[
"accessanalyzer",
"account",
"acm",
"acm-pca",
"amp",
"amplify",
"amplifybackend",
"amplifyuibuilder",
"apigateway",
"apigatewaymanagementapi",
"apigatewayv2",
"appconfig",
"appconfigdata",
"appfabric",
"appflow",
"appintegrations",
"application-autoscaling",
"application-insights",
"application-signals",
"applicationcostprofiler",
"appmesh",
"apprunner",
"appstream",
"appsync",
"apptest",
"arc-zonal-shift",
"artifact",
"athena",
"auditmanager",
"autoscaling",
"autoscaling-plans",
"b2bi",
"backup",
"backup-gateway",
"batch",
"bcm-data-exports",
"bedrock",
"bedrock-agent",
"bedrock-agent-runtime",
"bedrock-runtime",
"billingconductor",
"braket",
"budgets",
"ce",
"chatbot",
"chime",
"chime-sdk-identity",
"chime-sdk-media-pipelines",
"chime-sdk-meetings",
"chime-sdk-messaging",
"chime-sdk-voice",
"cleanrooms",
"cleanroomsml",
"cloud9",
"cloudcontrol",
"clouddirectory",
"cloudformation",
"cloudfront",
"cloudfront-keyvaluestore",
"cloudhsm",
"cloudhsmv2",
"cloudsearch",
"cloudsearchdomain",
"cloudtrail",
"cloudtrail-data",
"cloudwatch",
"codeartifact",
"codebuild",
"codecatalyst",
"codecommit",
"codeconnections",
"codedeploy",
"codeguru-reviewer",
"codeguru-security",
"codeguruprofiler",
"codepipeline",
"codestar-connections",
"codestar-notifications",
"cognito-identity",
"cognito-idp",
"cognito-sync",
"comprehend",
"comprehendmedical",
"compute-optimizer",
"config",
"connect",
"connect-contact-lens",
"connectcampaigns",
"connectcases",
"connectparticipant",
"controlcatalog",
"controltower",
"cost-optimization-hub",
"cur",
"customer-profiles",
"databrew",
"dataexchange",
"datapipeline",
"datasync",
"datazone",
"dax",
"deadline",
"detective",
"devicefarm",
"devops-guru",
"directconnect",
"discovery",
"dlm",
"dms",
"docdb",
"docdb-elastic",
"drs",
"ds",
"ds-data",
"dynamodb",
"dynamodbstreams",
"ebs",
"ec2",
"ec2-instance-connect",
"ecr",
"ecr-public",
"ecs",
"efs",
"eks",
"eks-auth",
"elastic-inference",
"elasticache",
"elasticbeanstalk",
"elastictranscoder",
"elb",
"elbv2",
"emr",
"emr-containers",
"emr-serverless",
"entityresolution",
"es",
"events",
"evidently",
"finspace",
"finspace-data",
"firehose",
"fis",
"fms",
"forecast",
"forecastquery",
"frauddetector",
"freetier",
"fsx",
"gamelift",
"glacier",
"globalaccelerator",
"glue",
"grafana",
"greengrass",
"greengrassv2",
"groundstation",
"guardduty",
"health",
"healthlake",
"iam",
"identitystore",
"imagebuilder",
"importexport",
"inspector",
"inspector-scan",
"inspector2",
"internetmonitor",
"iot",
"iot-data",
"iot-jobs-data",
"iot1click-devices",
"iot1click-projects",
"iotanalytics",
"iotdeviceadvisor",
"iotevents",
"iotevents-data",
"iotfleethub",
"iotfleetwise",
"iotsecuretunneling",
"iotsitewise",
"iotthingsgraph",
"iottwinmaker",
"iotwireless",
"ivs",
"ivs-realtime",
"ivschat",
"kafka",
"kafkaconnect",
"kendra",
"kendra-ranking",
"keyspaces",
"kinesis",
"kinesis-video-archived-media",
"kinesis-video-media",
"kinesis-video-signaling",
"kinesis-video-webrtc-storage",
"kinesisanalytics",
"kinesisanalyticsv2",
"kinesisvideo",
"kms",
"lakeformation",
"lambda",
"launch-wizard",
"lex-models",
"lex-runtime",
"lexv2-models",
"lexv2-runtime",
"license-manager",
"license-manager-linux-subscriptions",
"license-manager-user-subscriptions",
"lightsail",
"location",
"logs",
"lookoutequipment",
"lookoutmetrics",
"lookoutvision",
"m2",
"machinelearning",
"macie2",
"mailmanager",
"managedblockchain",
"managedblockchain-query",
"marketplace-agreement",
"marketplace-catalog",
"marketplace-deployment",
"marketplace-entitlement",
"marketplacecommerceanalytics",
"mediaconnect",
"mediaconvert",
"medialive",
"mediapackage",
"mediapackage-vod",
"mediapackagev2",
"mediastore",
"mediastore-data",
"mediatailor",
"medical-imaging",
"memorydb",
"meteringmarketplace",
"mgh",
"mgn",
"migration-hub-refactor-spaces",
"migrationhub-config",
"migrationhuborchestrator",
"migrationhubstrategy",
"mq",
"mturk",
"mwaa",
"neptune",
"neptune-graph",
"neptunedata",
"network-firewall",
"networkmanager",
"networkmonitor",
"nimble",
"oam",
"omics",
"opensearch",
"opensearchserverless",
"opsworks",
"opsworkscm",
"organizations",
"osis",
"outposts",
"panorama",
"payment-cryptography",
"payment-cryptography-data",
"pca-connector-ad",
"pca-connector-scep",
"pcs",
"personalize",
"personalize-events",
"personalize-runtime",
"pi",
"pinpoint",
"pinpoint-email",
"pinpoint-sms-voice",
"pinpoint-sms-voice-v2",
"pipes",
"polly",
"pricing",
"privatenetworks",
"proton",
"qapps",
"qbusiness",
"qconnect",
"qldb",
"qldb-session",
"quicksight",
"ram",
"rbin",
"rds",
"rds-data",
"redshift",
"redshift-data",
"redshift-serverless",
"rekognition",
"repostspace",
"resiliencehub",
"resource-explorer-2",
"resource-groups",
"resourcegroupstaggingapi",
"robomaker",
"rolesanywhere",
"route53",
"route53-recovery-cluster",
"route53-recovery-control-config",
"route53-recovery-readiness",
"route53domains",
"route53profiles",
"route53resolver",
"rum",
"s3",
"s3control",
"s3outposts",
"sagemaker",
"sagemaker-a2i-runtime",
"sagemaker-edge",
"sagemaker-featurestore-runtime",
"sagemaker-geospatial",
"sagemaker-metrics",
"sagemaker-runtime",
"savingsplans",
"scheduler",
"schemas",
"sdb",
"secretsmanager",
"securityhub",
"securitylake",
"serverlessrepo",
"service-quotas",
"servicecatalog",
"servicecatalog-appregistry",
"servicediscovery",
"ses",
"sesv2",
"shield",
"signer",
"simspaceweaver",
"sms",
"sms-voice",
"snow-device-management",
"snowball",
"sns",
"sqs",
"ssm",
"ssm-contacts",
"ssm-incidents",
"ssm-quicksetup",
"ssm-sap",
"sso",
"sso-admin",
"sso-oidc",
"stepfunctions",
"storagegateway",
"sts",
"supplychain",
"support",
"support-app",
"swf",
"synthetics",
"taxsettings",
"textract",
"timestream-influxdb",
"timestream-query",
"timestream-write",
"tnb",
"transcribe",
"transfer",
"translate",
"trustedadvisor",
"verifiedpermissions",
"voice-id",
"vpc-lattice",
"waf",
"waf-regional",
"wafv2",
"wellarchitected",
"wisdom",
"workdocs",
"workmail",
"workmailmessageflow",
"workspaces",
"workspaces-thin-client",
"workspaces-web",
"xray",
]
ResourceServiceName#
# ResourceServiceName usage example
from mypy_boto3_batch.literals import ResourceServiceName
def get_value() -> ResourceServiceName:
return "cloudformation"
# ResourceServiceName definition
ResourceServiceName = Literal[
"cloudformation",
"cloudwatch",
"dynamodb",
"ec2",
"glacier",
"iam",
"opsworks",
"s3",
"sns",
"sqs",
]
PaginatorName#
# PaginatorName usage example
from mypy_boto3_batch.literals import PaginatorName
def get_value() -> PaginatorName:
return "describe_compute_environments"
# PaginatorName definition
PaginatorName = Literal[
"describe_compute_environments",
"describe_job_definitions",
"describe_job_queues",
"list_jobs",
"list_scheduling_policies",
]
RegionName#
# RegionName usage example
from mypy_boto3_batch.literals import RegionName
def get_value() -> RegionName:
return "af-south-1"
# RegionName definition
RegionName = Literal[
"af-south-1",
"ap-east-1",
"ap-northeast-1",
"ap-northeast-2",
"ap-northeast-3",
"ap-south-1",
"ap-south-2",
"ap-southeast-1",
"ap-southeast-2",
"ap-southeast-3",
"ap-southeast-4",
"ap-southeast-5",
"ca-central-1",
"ca-west-1",
"eu-central-1",
"eu-central-2",
"eu-north-1",
"eu-south-1",
"eu-south-2",
"eu-west-1",
"eu-west-2",
"eu-west-3",
"il-central-1",
"me-central-1",
"me-south-1",
"sa-east-1",
"us-east-1",
"us-east-2",
"us-west-1",
"us-west-2",
]