{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.batch#AWSBatchV20160810": { "type": "service", "version": "2016-08-10", "operations": [ { "target": "com.amazonaws.batch#CancelJob" }, { "target": "com.amazonaws.batch#CreateComputeEnvironment" }, { "target": "com.amazonaws.batch#CreateJobQueue" }, { "target": "com.amazonaws.batch#DeleteComputeEnvironment" }, { "target": "com.amazonaws.batch#DeleteJobQueue" }, { "target": "com.amazonaws.batch#DeregisterJobDefinition" }, { "target": "com.amazonaws.batch#DescribeComputeEnvironments" }, { "target": "com.amazonaws.batch#DescribeJobDefinitions" }, { "target": "com.amazonaws.batch#DescribeJobQueues" }, { "target": "com.amazonaws.batch#DescribeJobs" }, { "target": "com.amazonaws.batch#ListJobs" }, { "target": "com.amazonaws.batch#ListTagsForResource" }, { "target": "com.amazonaws.batch#RegisterJobDefinition" }, { "target": "com.amazonaws.batch#SubmitJob" }, { "target": "com.amazonaws.batch#TagResource" }, { "target": "com.amazonaws.batch#TerminateJob" }, { "target": "com.amazonaws.batch#UntagResource" }, { "target": "com.amazonaws.batch#UpdateComputeEnvironment" }, { "target": "com.amazonaws.batch#UpdateJobQueue" } ], "traits": { "aws.api#service": { "sdkId": "Batch", "arnNamespace": "batch", "cloudFormationName": "Batch", "cloudTrailEventSource": "batch.amazonaws.com", "endpointPrefix": "batch" }, "aws.auth#sigv4": { "name": "batch" }, "aws.protocols#restJson1": {}, "smithy.api#documentation": "

Using AWS Batch, you can run batch computing workloads on the AWS Cloud. Batch computing is a common means for\n developers, scientists, and engineers to access large amounts of compute resources. AWS Batch uses the advantages of\n this computing workload to remove the undifferentiated heavy lifting of configuring and managing required\n infrastructure. At the same time, it also adopts a familiar batch computing software approach. Given these\n advantages, AWS Batch can help you to efficiently provision resources in response to jobs submitted, thus effectively\n helping you to eliminate capacity constraints, reduce compute costs, and deliver your results more quickly.

\n

As a fully managed service, AWS Batch can run batch computing workloads of any scale. AWS Batch automatically\n provisions compute resources and optimizes workload distribution based on the quantity and scale of your specific\n workloads. With AWS Batch, there's no need to install or manage batch computing software. This means that you can focus\n your time and energy on analyzing results and solving your specific problems.

", "smithy.api#title": "AWS Batch", "smithy.api#xmlNamespace": { "uri": "http://batch.amazonaws.com/doc/2016-08-10/" } } }, "com.amazonaws.batch#ArrayJobDependency": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "N_TO_N", "name": "N_TO_N" }, { "value": "SEQUENTIAL", "name": "SEQUENTIAL" } ] } }, "com.amazonaws.batch#ArrayJobStatusSummary": { "type": "map", "key": { "target": "com.amazonaws.batch#String" }, "value": { "target": "com.amazonaws.batch#Integer" } }, "com.amazonaws.batch#ArrayProperties": { "type": "structure", "members": { "size": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The size of the array job.

" } } }, "traits": { "smithy.api#documentation": "

An object representing an AWS Batch array job.

" } }, "com.amazonaws.batch#ArrayPropertiesDetail": { "type": "structure", "members": { "statusSummary": { "target": "com.amazonaws.batch#ArrayJobStatusSummary", "traits": { "smithy.api#documentation": "

A summary of the number of array job children in each available job status. This parameter is returned for\n parent array jobs.

" } }, "size": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The size of the array job. This parameter is returned for parent array jobs.

" } }, "index": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The job index within the array that's associated with this job. This parameter is returned for array job\n children.

" } } }, "traits": { "smithy.api#documentation": "

An object representing the array properties of a job.

" } }, "com.amazonaws.batch#ArrayPropertiesSummary": { "type": "structure", "members": { "size": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The size of the array job. This parameter is returned for parent array jobs.

" } }, "index": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The job index within the array that's associated with this job. This parameter is returned for children of array\n jobs.

" } } }, "traits": { "smithy.api#documentation": "

An object representing the array properties of a job.

" } }, "com.amazonaws.batch#AssignPublicIp": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ENABLED", "name": "ENABLED" }, { "value": "DISABLED", "name": "DISABLED" } ] } }, "com.amazonaws.batch#AttemptContainerDetail": { "type": "structure", "members": { "containerInstanceArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.

" } }, "taskArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon ECS task that's associated with the job attempt. Each container attempt receives a task\n ARN when they reach the STARTING status.

" } }, "exitCode": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The exit code for the job attempt. A non-zero exit code is considered a failure.

" } }, "reason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

A short (255 max characters) human-readable string to provide additional details about a running or stopped\n container.

" } }, "logStreamName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is\n /aws/batch/job. Each container attempt receives a log stream name when they reach the\n RUNNING status.

" } }, "networkInterfaces": { "target": "com.amazonaws.batch#NetworkInterfaceList", "traits": { "smithy.api#documentation": "

The network interfaces associated with the job attempt.

" } } }, "traits": { "smithy.api#documentation": "

An object representing the details of a container that's part of a job attempt.

" } }, "com.amazonaws.batch#AttemptDetail": { "type": "structure", "members": { "container": { "target": "com.amazonaws.batch#AttemptContainerDetail", "traits": { "smithy.api#documentation": "

Details about the container in this job attempt.

" } }, "startedAt": { "target": "com.amazonaws.batch#Long", "traits": { "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the\n STARTING state to the RUNNING state).

" } }, "stoppedAt": { "target": "com.amazonaws.batch#Long", "traits": { "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the\n RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

" } }, "statusReason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

A short, human-readable string to provide additional details about the current status of the job attempt.

" } } }, "traits": { "smithy.api#documentation": "

An object representing a job attempt.

" } }, "com.amazonaws.batch#AttemptDetails": { "type": "list", "member": { "target": "com.amazonaws.batch#AttemptDetail" } }, "com.amazonaws.batch#Boolean": { "type": "boolean" }, "com.amazonaws.batch#CEState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ENABLED", "name": "ENABLED" }, { "value": "DISABLED", "name": "DISABLED" } ] } }, "com.amazonaws.batch#CEStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CREATING", "name": "CREATING" }, { "value": "UPDATING", "name": "UPDATING" }, { "value": "DELETING", "name": "DELETING" }, { "value": "DELETED", "name": "DELETED" }, { "value": "VALID", "name": "VALID" }, { "value": "INVALID", "name": "INVALID" } ] } }, "com.amazonaws.batch#CEType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "MANAGED", "name": "MANAGED" }, { "value": "UNMANAGED", "name": "UNMANAGED" } ] } }, "com.amazonaws.batch#CRAllocationStrategy": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "BEST_FIT", "name": "BEST_FIT" }, { "value": "BEST_FIT_PROGRESSIVE", "name": "BEST_FIT_PROGRESSIVE" }, { "value": "SPOT_CAPACITY_OPTIMIZED", "name": "SPOT_CAPACITY_OPTIMIZED" } ] } }, "com.amazonaws.batch#CRType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "EC2", "name": "EC2" }, { "value": "SPOT", "name": "SPOT" }, { "value": "FARGATE", "name": "FARGATE" }, { "value": "FARGATE_SPOT", "name": "FARGATE_SPOT" } ] } }, "com.amazonaws.batch#CancelJob": { "type": "operation", "input": { "target": "com.amazonaws.batch#CancelJobRequest" }, "output": { "target": "com.amazonaws.batch#CancelJobResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Cancels a job in an AWS Batch job queue. Jobs that are in the SUBMITTED, PENDING, or\n RUNNABLE state are canceled. Jobs that have progressed to STARTING or RUNNING\n aren't canceled, but the API operation still succeeds, even if no job is canceled. These jobs must be terminated with\n the TerminateJob operation.

", "smithy.api#http": { "method": "POST", "uri": "/v1/canceljob", "code": 200 } } }, "com.amazonaws.batch#CancelJobRequest": { "type": "structure", "members": { "jobId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The AWS Batch job ID of the job to cancel.

", "smithy.api#required": {} } }, "reason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

A message to attach to the job that explains the reason for canceling it. This message is returned by future\n DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity\n logs.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for CancelJob.

" } }, "com.amazonaws.batch#CancelJobResponse": { "type": "structure", "members": {} }, "com.amazonaws.batch#ClientException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.batch#String" } }, "traits": { "smithy.api#documentation": "

These errors are usually caused by a client action, such as using an action or resource on behalf of a user that\n doesn't have permissions to use the action or resource, or specifying an identifier that's not valid.

", "smithy.api#error": "client", "smithy.api#httpError": 400 } }, "com.amazonaws.batch#ComputeEnvironmentDetail": { "type": "structure", "members": { "computeEnvironmentName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and\n underscores are allowed.

", "smithy.api#required": {} } }, "computeEnvironmentArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the compute environment.

", "smithy.api#required": {} } }, "ecsClusterArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.

", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { "smithy.api#documentation": "

The tags applied to the compute environment.

" } }, "type": { "target": "com.amazonaws.batch#CEType", "traits": { "smithy.api#documentation": "

The type of the compute environment: MANAGED or UNMANAGED. For more information, see\n Compute Environments in the\n AWS Batch User Guide.

" } }, "state": { "target": "com.amazonaws.batch#CEState", "traits": { "smithy.api#documentation": "

The state of the compute environment. The valid values are ENABLED or DISABLED.

\n

If the state is ENABLED, then the AWS Batch scheduler can attempt to place jobs from an associated\n job queue on the compute resources within the environment. If the compute environment is managed, then it can scale\n its instances out or in automatically, based on the job queue demand.

\n

If the state is DISABLED, then the AWS Batch scheduler doesn't attempt to place jobs within the\n environment. Jobs in a STARTING or RUNNING state continue to progress normally. Managed\n compute environments in the DISABLED state don't scale out. However, they scale in to\n minvCpus value after instances become idle.

" } }, "status": { "target": "com.amazonaws.batch#CEStatus", "traits": { "smithy.api#documentation": "

The current status of the compute environment (for example, CREATING or VALID).

" } }, "statusReason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

A short, human-readable string to provide additional details about the current status of the compute\n environment.

" } }, "computeResources": { "target": "com.amazonaws.batch#ComputeResource", "traits": { "smithy.api#documentation": "

The compute resources defined for the compute environment. For more information, see Compute Environments in the\n AWS Batch User Guide.

" } }, "serviceRole": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The service role associated with the compute environment that allows AWS Batch to make calls to AWS API\n operations on your behalf. For more information, see AWS Batch service IAM role in the\n AWS Batch User Guide.

" } } }, "traits": { "smithy.api#documentation": "

An object representing an AWS Batch compute environment.

" } }, "com.amazonaws.batch#ComputeEnvironmentDetailList": { "type": "list", "member": { "target": "com.amazonaws.batch#ComputeEnvironmentDetail" } }, "com.amazonaws.batch#ComputeEnvironmentOrder": { "type": "structure", "members": { "order": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The order of the compute environment. Compute environments are tried in ascending order. For example, if two\n compute environments are associated with a job queue, the compute environment with a lower order integer\n value is tried for job placement first.

", "smithy.api#required": {} } }, "computeEnvironment": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the compute environment.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The order in which compute environments are tried for job placement within a queue. Compute environments are\n tried in ascending order. For example, if two compute environments are associated with a job queue, the compute\n environment with a lower order integer value is tried for job placement first. Compute environments must be in the\n VALID state before you can associate them with a job queue. All of the compute environments must be\n either EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT);\n EC2 and Fargate compute environments can't be mixed.

\n \n

All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't\n support mixing compute environment architecture types in a single job queue.

\n
" } }, "com.amazonaws.batch#ComputeEnvironmentOrders": { "type": "list", "member": { "target": "com.amazonaws.batch#ComputeEnvironmentOrder" } }, "com.amazonaws.batch#ComputeResource": { "type": "structure", "members": { "type": { "target": "com.amazonaws.batch#CRType", "traits": { "smithy.api#documentation": "

The type of compute environment: EC2, SPOT, FARGATE, or\n FARGATE_SPOT. For more information, see Compute Environments in the\n AWS Batch User Guide.

\n

If you choose SPOT, you must also specify an Amazon EC2 Spot Fleet role with the\n spotIamFleetRole parameter. For more information, see Amazon EC2 Spot Fleet role in the\n AWS Batch User Guide.

", "smithy.api#required": {} } }, "allocationStrategy": { "target": "com.amazonaws.batch#CRAllocationStrategy", "traits": { "smithy.api#documentation": "

The allocation strategy to use for the compute resource if not enough instances of the best fitting instance\n type can be allocated. This might be because of availability of the instance type in the Region or Amazon EC2 service limits. For more\n information, see Allocation Strategies\n in the AWS Batch User Guide.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
\n
\n
BEST_FIT (default)
\n
\n

AWS Batch selects an instance type that best fits the needs of the jobs with a preference for the lowest-cost\n instance type. If additional instances of the selected instance type aren't available, AWS Batch waits for the\n additional instances to be available. If there aren't enough instances available, or if the user is hitting Amazon EC2 service limits then\n additional jobs aren't run until the currently running jobs have completed. This allocation strategy keeps costs\n lower but can limit scaling. If you are using Spot Fleets with BEST_FIT then the Spot Fleet IAM Role\n must be specified.

\n
\n
BEST_FIT_PROGRESSIVE
\n
\n

AWS Batch will select additional instance types that are large enough to meet the requirements of the jobs in\n the queue, with a preference for instance types with a lower cost per unit vCPU. If additional instances of the\n previously selected instance types aren't available, AWS Batch will select new instance types.

\n
\n
SPOT_CAPACITY_OPTIMIZED
\n
\n

AWS Batch will select one or more instance types that are large enough to meet the requirements of the jobs in\n the queue, with a preference for instance types that are less likely to be interrupted. This allocation strategy\n is only available for Spot Instance compute resources.

\n
\n
\n

With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED strategies, AWS Batch might\n need to go above maxvCpus to meet your capacity requirements. In this event, AWS Batch never exceeds\n maxvCpus by more than a single instance.

" } }, "minvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is\n DISABLED).

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
" } }, "maxvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The maximum number of Amazon EC2 vCPUs that a compute environment can reach.

\n \n

With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED allocation strategies,\n AWS Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, AWS Batch never\n exceeds maxvCpus by more than a single instance. For example, no more than a single instance from among\n those specified in your compute environment is allocated.

\n
", "smithy.api#required": {} } }, "desiredvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The desired number of Amazon EC2 vCPUS in the compute environment. AWS Batch modifies this value between the minimum\n and maximum values, based on job queue demand.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
" } }, "instanceTypes": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

The instances types that can be launched. You can specify instance families to launch any instance type within\n those families (for example, c5 or p3), or you can specify specific sizes within a family\n (such as c5.8xlarge). You can also choose optimal to select instance types (from the C4,\n M4, and R4 instance families) that match the demand of your job queues.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
\n \n

When you create a compute environment, the instance types that you select for the compute environment must\n share the same architecture. For example, you can't mix x86 and ARM instances in the same compute\n environment.

\n
\n \n

Currently, optimal uses instance types from the C4, M4, and R4 instance families. In Regions that\n don't have instance types from those instance families, instance types from the C5, M5. and R5 instance families are\n used.

\n
" } }, "imageId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#deprecated": { "message": "This field is deprecated, use ec2Configuration[].imageIdOverride instead." }, "smithy.api#documentation": "

The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is\n overridden by the imageIdOverride member of the Ec2Configuration structure.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
\n \n

The AMI that you choose for a compute environment must match the architecture of the instance types that\n you intend to use for that compute environment. For example, if your compute environment uses A1 instance types,\n the compute resource AMI that you choose must support ARM instances. Amazon ECS vends both x86 and ARM versions of the\n Amazon ECS-optimized Amazon Linux 2 AMI. For more information, see Amazon ECS-optimized\n Amazon Linux 2 AMI\n in the Amazon Elastic Container Service Developer Guide.

\n
" } }, "subnets": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

The VPC subnets into which the compute resources are launched. These subnets must be within the same VPC.\n Fargate compute resources can contain up to 16 subnets. For more information, see VPCs and Subnets in the Amazon VPC User\n Guide.

", "smithy.api#required": {} } }, "securityGroupIds": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

The Amazon EC2 security groups associated with instances launched in the compute environment. One or more security\n groups must be specified, either in securityGroupIds or using a launch template referenced in\n launchTemplate. This parameter is required for jobs running on Fargate resources and must contain at\n least one security group. Fargate doesn't support launch templates. If security groups are specified using both\n securityGroupIds and launchTemplate, the values in securityGroupIds is\n used.

" } }, "ec2KeyPair": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon EC2 key pair that's used for instances launched in the compute environment. You can use this key pair to\n log in to your instances with SSH.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
" } }, "instanceRole": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment. You can specify the short name\n or full Amazon Resource Name (ARN) of an instance profile. For example,\n \n ecsInstanceRole\n or\n arn:aws:iam:::instance-profile/ecsInstanceRole\n .\n For more information, see Amazon ECS Instance\n Role in the AWS Batch User Guide.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
" } }, "tags": { "target": "com.amazonaws.batch#TagsMap", "traits": { "smithy.api#documentation": "

Key-value pair tags to be applied to EC2 resources that are launched in the compute environment. For AWS Batch,\n these take the form of \"String1\": \"String2\", where String1 is the tag key and String2 is the tag value−for\n example, { \"Name\": \"AWS Batch Instance - C4OnDemand\" }. This is helpful for recognizing your AWS Batch instances in the\n Amazon EC2 console. These tags can't be updated or removed after the compute environment has been created; any changes\n require creating a new compute environment and removing the old compute environment. These tags aren't seen when\n using the AWS Batch ListTagsForResource API operation.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
" } }, "placementGroup": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon EC2 placement group to associate with your compute resources. If you intend to submit multi-node parallel\n jobs to your compute environment, you should consider creating a cluster placement group and associate it with your\n compute resources. This keeps your multi-node parallel job on a logical grouping of instances within a single\n Availability Zone with high network flow potential. For more information, see Placement Groups in the Amazon EC2 User Guide for\n Linux Instances.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
" } }, "bidPercentage": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The maximum percentage that a Spot Instance price can be when compared with the On-Demand price for that\n instance type before instances are launched. For example, if your maximum percentage is 20%, then the Spot price must\n be less than 20% of the current On-Demand price for that Amazon EC2 instance. You always pay the lowest (market) price and\n never more than your maximum percentage. If you leave this field empty, the default value is 100% of the On-Demand\n price.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
" } }, "spotIamFleetRole": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a SPOT compute environment. This role is\n required if the allocation strategy set to BEST_FIT or if the allocation strategy isn't specified. For\n more information, see Amazon EC2 Spot Fleet\n Role in the AWS Batch User Guide.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
\n \n

To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer AmazonEC2SpotFleetTaggingRole managed policy. The previously recommended AmazonEC2SpotFleetRole managed policy doesn't have the required permissions to tag Spot\n Instances. For more information, see Spot Instances not tagged on creation in the\n AWS Batch User Guide.

\n
" } }, "launchTemplate": { "target": "com.amazonaws.batch#LaunchTemplateSpecification", "traits": { "smithy.api#documentation": "

The launch template to use for your compute resources. Any other compute resource parameters that you specify in\n a CreateComputeEnvironment API operation override the same parameters in the launch template. You\n must specify either the launch template ID or launch template name in the request, but not both. For more\n information, see Launch Template Support in\n the AWS Batch User Guide.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
" } }, "ec2Configuration": { "target": "com.amazonaws.batch#Ec2ConfigurationList", "traits": { "smithy.api#documentation": "

Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment.\n If Ec2Configuration isn't specified, the default is ECS_AL1.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
" } } }, "traits": { "smithy.api#documentation": "

An object representing an AWS Batch compute resource. For more information, see Compute Environments in the\n AWS Batch User Guide.

" } }, "com.amazonaws.batch#ComputeResourceUpdate": { "type": "structure", "members": { "minvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The minimum number of Amazon EC2 vCPUs that an environment should maintain.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
" } }, "maxvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The maximum number of Amazon EC2 vCPUs that an environment can reach.

\n \n

With both BEST_FIT_PROGRESSIVE and SPOT_CAPACITY_OPTIMIZED allocation strategies,\n AWS Batch might need to exceed maxvCpus to meet your capacity requirements. In this event, AWS Batch never\n exceeds maxvCpus by more than a single instance. That is, no more than a single instance from among\n those specified in your compute environment.

\n
" } }, "desiredvCpus": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The desired number of Amazon EC2 vCPUS in the compute environment.

\n \n

This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.

\n
" } }, "subnets": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

The VPC subnets that the compute resources are launched into. Fargate compute resources can contain up to 16\n subnets. Providing an empty list will be handled as if this parameter wasn't specified and no change is made. This\n can't be specified for EC2 compute resources. For more information, see VPCs and Subnets in the Amazon VPC User\n Guide.

" } }, "securityGroupIds": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

The Amazon EC2 security groups associated with instances launched in the compute environment. This parameter is\n required for Fargate compute resources, where it can contain up to 5 security groups. This can't be specified for\n EC2 compute resources. Providing an empty list is handled as if this parameter wasn't specified and no change is\n made.

" } } }, "traits": { "smithy.api#documentation": "

An object representing the attributes of a compute environment that can be updated. For more information, see\n Compute Environments in the\n AWS Batch User Guide.

" } }, "com.amazonaws.batch#ContainerDetail": { "type": "structure", "members": { "image": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The image used to start the container.

" } }, "vcpus": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The number of vCPUs reserved for the container. For jobs that run on EC2 resources, you can specify the vCPU\n requirement for the job using resourceRequirements, but you can't specify the vCPU requirements in both\n the vcpus and resourceRequirement object. This parameter maps to CpuShares in\n the Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. Each vCPU is equivalent to 1,024 CPU shares. You must\n specify at least one vCPU. This is required but can be specified in several places. It must be specified for each\n node at least once.

\n \n

This parameter isn't applicable to jobs that run on Fargate resources. For jobs that run on Fargate\n resources, you must specify the vCPU requirement for the job using resourceRequirements.

\n
" } }, "memory": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

For jobs run on EC2 resources that didn't specify memory requirements using ResourceRequirement,\n the number of MiB of memory reserved for the job. For other jobs, including all run on Fargate resources, see\n resourceRequirements.

" } }, "command": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

The command that's passed to the container.

" } }, "jobRoleArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) associated with the job upon execution.

" } }, "executionRoleArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the\n execution\n role that AWS Batch can assume. For more information, see AWS Batch execution IAM role in the\n AWS Batch User Guide.

" } }, "volumes": { "target": "com.amazonaws.batch#Volumes", "traits": { "smithy.api#documentation": "

A list of volumes associated with the job.

" } }, "environment": { "target": "com.amazonaws.batch#EnvironmentVariables", "traits": { "smithy.api#documentation": "

The environment variables to pass to a container.

\n \n

Environment variables must not start with AWS_BATCH; this naming\n convention is reserved for variables that are set by the AWS Batch service.

\n
" } }, "mountPoints": { "target": "com.amazonaws.batch#MountPoints", "traits": { "smithy.api#documentation": "

The mount points for data volumes in your container.

" } }, "readonlyRootFilesystem": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

When this parameter is true, the container is given read-only access to its root file system. This parameter\n maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and\n the --read-only option to \n docker run\n .

" } }, "ulimits": { "target": "com.amazonaws.batch#Ulimits", "traits": { "smithy.api#documentation": "

A list of ulimit values to set in the container. This parameter maps to Ulimits in the\n Create a container section of the Docker Remote API and the --ulimit option to docker run.

\n \n

This parameter isn't applicable to jobs running on Fargate resources.

\n
" } }, "privileged": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

When this parameter is true, the container is given elevated permissions on the host container instance (similar\n to the root user). The default value is false.

\n \n

This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided, or specified\n as false.

\n
" } }, "user": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The user name to use inside the container. This parameter maps to User in the\n Create a container section of the Docker Remote API and the --user option to docker run.

" } }, "exitCode": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The exit code to return upon completion.

" } }, "reason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

A short (255 max characters) human-readable string to provide additional details about a running or stopped\n container.

" } }, "containerInstanceArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the container instance that the container is running on.

" } }, "taskArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the Amazon ECS task that's associated with the container job. Each container attempt receives a task\n ARN when they reach the STARTING status.

" } }, "logStreamName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is\n /aws/batch/job. Each container attempt receives a log stream name when they reach the\n RUNNING status.

" } }, "instanceType": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The instance type of the underlying host infrastructure of a multi-node parallel job.

\n \n

This parameter isn't applicable to jobs running on Fargate resources.

\n
" } }, "networkInterfaces": { "target": "com.amazonaws.batch#NetworkInterfaceList", "traits": { "smithy.api#documentation": "

The network interfaces associated with the job.

" } }, "resourceRequirements": { "target": "com.amazonaws.batch#ResourceRequirements", "traits": { "smithy.api#documentation": "

The type and amount of resources to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

" } }, "linuxParameters": { "target": "com.amazonaws.batch#LinuxParameters", "traits": { "smithy.api#documentation": "

Linux-specific modifications that are applied to the container, such as details for device mappings.

" } }, "logConfiguration": { "target": "com.amazonaws.batch#LogConfiguration", "traits": { "smithy.api#documentation": "

The log configuration specification for the container.

\n

This parameter maps to LogConfig in the Create a container section of the\n Docker Remote API and the --log-driver option to docker run.\n By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a\n different logging driver than the Docker daemon by specifying a log driver with this parameter in the container\n definition. To use a different logging driver for a container, the log system must be configured properly on the\n container instance. Or, alternatively, it must be configured on a different log server for remote logging options.\n For more information on the options for different supported log drivers, see Configure logging drivers in the Docker\n documentation.

\n \n

AWS Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration data type). Additional log drivers might be available in future releases of the Amazon ECS\n container agent.

\n
\n

This parameter requires version 1.18 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log into your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

\n \n

The Amazon ECS container agent running on a container instance must register the logging drivers available on that\n instance with the ECS_AVAILABLE_LOGGING_DRIVERS environment variable before containers placed on that\n instance can use these log configuration options. For more information, see Amazon ECS Container Agent Configuration in the\n Amazon Elastic Container Service Developer Guide.

\n
" } }, "secrets": { "target": "com.amazonaws.batch#SecretList", "traits": { "smithy.api#documentation": "

The secrets to pass to the container. For more information, see Specifying sensitive data in the\n AWS Batch User Guide.

" } }, "networkConfiguration": { "target": "com.amazonaws.batch#NetworkConfiguration", "traits": { "smithy.api#documentation": "

The network configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not\n specify this parameter.

" } }, "fargatePlatformConfiguration": { "target": "com.amazonaws.batch#FargatePlatformConfiguration", "traits": { "smithy.api#documentation": "

The platform configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not\n specify this parameter.

" } } }, "traits": { "smithy.api#documentation": "

An object representing the details of a container that's part of a job.

" } }, "com.amazonaws.batch#ContainerOverrides": { "type": "structure", "members": { "vcpus": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, "smithy.api#documentation": "

This parameter indicates the number of vCPUs reserved for the container.It overrides the vcpus\n parameter that's set in the job definition, but doesn't override any vCPU requirement specified in the\n resourceRequirement structure in the job definition.

\n

This parameter is supported for jobs that run on EC2 resources, but isn't supported for jobs that run on Fargate\n resources. For Fargate resources, you can only use resourceRequirement. For EC2 resources, you can use\n either this parameter or resourceRequirement but not both.

\n

This parameter maps to CpuShares in the Create a container section of the\n Docker Remote API and the --cpu-shares option to docker run.\n Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.

\n \n \n

This parameter isn't applicable to jobs that run on Fargate resources and shouldn't be provided. For jobs\n that run on Fargate resources, you must specify the vCPU requirement for the job using\n resourceRequirements.

\n \n
" } }, "memory": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, "smithy.api#documentation": "

This parameter indicates the amount of memory (in MiB) that's reserved for the job. It overrides the\n memory parameter set in the job definition, but doesn't override any memory requirement specified in\n the ResourceRequirement structure in the job definition.

\n

This parameter is supported for jobs that run on EC2 resources, but isn't supported for jobs that run on Fargate\n resources. For these resources, use resourceRequirement instead.

" } }, "command": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

The command to send to the container that overrides the default command from the Docker image or the job\n definition.

" } }, "instanceType": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The instance type to use for a multi-node parallel job.

\n \n

This parameter isn't applicable to single-node container jobs or for jobs running on Fargate resources and\n shouldn't be provided.

\n
" } }, "environment": { "target": "com.amazonaws.batch#EnvironmentVariables", "traits": { "smithy.api#documentation": "

The environment variables to send to the container. You can add new environment variables, which are added to\n the container at launch, or you can override the existing environment variables from the Docker image or the job\n definition.

\n \n

Environment variables must not start with AWS_BATCH; this naming\n convention is reserved for variables that are set by the AWS Batch service.

\n
" } }, "resourceRequirements": { "target": "com.amazonaws.batch#ResourceRequirements", "traits": { "smithy.api#documentation": "

The type and amount of resources to assign to a container. This overrides the settings in the job definition.\n The supported resources include GPU, MEMORY, and VCPU.

" } } }, "traits": { "smithy.api#documentation": "

The overrides that should be sent to a container.

" } }, "com.amazonaws.batch#ContainerProperties": { "type": "structure", "members": { "image": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The image used to start a container. This string is passed directly to the Docker daemon. Images in the Docker\n Hub registry are available by default. Other repositories are specified with\n \n repository-url/image:tag\n .\n Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons,\n periods, forward slashes, and number signs are allowed. This parameter maps to Image in the Create a container section of\n the Docker Remote API and the IMAGE parameter of docker\n run.

\n \n

Docker image architecture must match the processor architecture of the compute resources that they're scheduled\n on. For example, ARM-based Docker images can only run on ARM-based compute resources.

\n
\n " } }, "vcpus": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, "smithy.api#documentation": "

The number of vCPUs reserved for the job. Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to\n CpuShares in the Create a container section of the Docker Remote API and the\n --cpu-shares option to docker run. The number of vCPUs must\n be specified but can be be specified in several places. You must specify it at least once for each node.

\n

This parameter is supported on EC2 resources but isn't supported for jobs that run on Fargate resources. For\n these resources, use resourceRequirement instead. You can use this parameter or\n resourceRequirements structure but not both.

\n \n

This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided. For jobs that\n run on Fargate resources, you must specify the vCPU requirement for the job using\n resourceRequirements.

\n
" } }, "memory": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#deprecated": { "message": "This field is deprecated, use resourceRequirements instead." }, "smithy.api#documentation": "

This parameter indicates the memory hard limit (in MiB) for a container. If your container attempts to exceed\n the specified number, it is terminated. You must specify at least 4 MiB of memory for a job using this parameter. The\n memory hard limit can be specified in several places. It must be specified for each node at least once.

\n

This parameter maps to Memory in the Create a container section of the\n Docker Remote API and the --memory option to docker\n run.

\n

This parameter is supported on EC2 resources but isn't supported on Fargate resources. For Fargate\n resources, you should specify the memory requirement using resourceRequirement. You can do this for EC2\n resources.

\n \n

If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for a\n particular instance type, see Memory\n Management in the AWS Batch User Guide.

\n
" } }, "command": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

The command that's passed to the container. This parameter maps to Cmd in the\n Create a container section of the Docker Remote API and the COMMAND parameter to docker run. For more information, see https://docs.docker.com/engine/reference/builder/#cmd.

" } }, "jobRoleArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. For more information, see\n IAM Roles for Tasks\n in the Amazon Elastic Container Service Developer Guide.

" } }, "executionRoleArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the execution role that AWS Batch can assume. For jobs that run on Fargate resources, you must\n provide an execution role. For more information, see AWS Batch execution IAM role in the\n AWS Batch User Guide.

" } }, "volumes": { "target": "com.amazonaws.batch#Volumes", "traits": { "smithy.api#documentation": "

A list of data volumes used in a job.

" } }, "environment": { "target": "com.amazonaws.batch#EnvironmentVariables", "traits": { "smithy.api#documentation": "

The environment variables to pass to a container. This parameter maps to Env in the\n Create a container section of the Docker Remote API and the --env option to docker run.

\n \n

We don't recommend using plaintext environment variables for sensitive information, such as credential\n data.

\n
\n \n

Environment variables must not start with AWS_BATCH; this naming\n convention is reserved for variables that are set by the AWS Batch service.

\n
" } }, "mountPoints": { "target": "com.amazonaws.batch#MountPoints", "traits": { "smithy.api#documentation": "

The mount points for data volumes in your container. This parameter maps to Volumes in the\n Create a container section of the Docker Remote API and the --volume option to docker run.

" } }, "readonlyRootFilesystem": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

When this parameter is true, the container is given read-only access to its root file system. This parameter\n maps to ReadonlyRootfs in the Create a container section of the Docker Remote API and\n the --read-only option to docker run.

" } }, "privileged": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

When this parameter is true, the container is given elevated permissions on the host container instance (similar\n to the root user). This parameter maps to Privileged in the\n Create a container section of the Docker Remote API and the --privileged option to\n docker run. The default value is false.

\n \n

This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided, or specified\n as false.

\n
" } }, "ulimits": { "target": "com.amazonaws.batch#Ulimits", "traits": { "smithy.api#documentation": "

A list of ulimits to set in the container. This parameter maps to Ulimits in the\n Create a container section of the Docker Remote API and the --ulimit option to docker run.

\n \n

This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.

\n
" } }, "user": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The user name to use inside the container. This parameter maps to User in the\n Create a container section of the Docker Remote API and the --user option to docker run.

" } }, "instanceType": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The instance type to use for a multi-node parallel job. All node groups in a multi-node parallel job must use\n the same instance type.

\n \n

This parameter isn't applicable to single-node container jobs or for jobs that run on Fargate resources and\n shouldn't be provided.

\n
" } }, "resourceRequirements": { "target": "com.amazonaws.batch#ResourceRequirements", "traits": { "smithy.api#documentation": "

The type and amount of resources to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

" } }, "linuxParameters": { "target": "com.amazonaws.batch#LinuxParameters", "traits": { "smithy.api#documentation": "

Linux-specific modifications that are applied to the container, such as details for device mappings.

" } }, "logConfiguration": { "target": "com.amazonaws.batch#LogConfiguration", "traits": { "smithy.api#documentation": "

The log configuration specification for the container.

\n

This parameter maps to LogConfig in the Create a container section of the\n Docker Remote API and the --log-driver option to docker run.\n By default, containers use the same logging driver that the Docker daemon uses. However the container might use a\n different logging driver than the Docker daemon by specifying a log driver with this parameter in the container\n definition. To use a different logging driver for a container, the log system must be configured properly on the\n container instance (or on a different log server for remote logging options). For more information on the options for\n different supported log drivers, see Configure\n logging drivers in the Docker documentation.

\n \n

AWS Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration data type).

\n
\n

This parameter requires version 1.18 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log into your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

\n \n

The Amazon ECS container agent running on a container instance must register the logging drivers available on that\n instance with the ECS_AVAILABLE_LOGGING_DRIVERS environment variable before containers placed on that\n instance can use these log configuration options. For more information, see Amazon ECS Container Agent Configuration in the\n Amazon Elastic Container Service Developer Guide.

\n
" } }, "secrets": { "target": "com.amazonaws.batch#SecretList", "traits": { "smithy.api#documentation": "

The secrets for the container. For more information, see Specifying sensitive data in the\n AWS Batch User Guide.

" } }, "networkConfiguration": { "target": "com.amazonaws.batch#NetworkConfiguration", "traits": { "smithy.api#documentation": "

The network configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not\n specify this parameter.

" } }, "fargatePlatformConfiguration": { "target": "com.amazonaws.batch#FargatePlatformConfiguration", "traits": { "smithy.api#documentation": "

The platform configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not\n specify this parameter.

" } } }, "traits": { "smithy.api#documentation": "

Container properties are used in job definitions to describe the container that's launched as part of a\n job.

" } }, "com.amazonaws.batch#ContainerSummary": { "type": "structure", "members": { "exitCode": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The exit code to return upon completion.

" } }, "reason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

A short (255 max characters) human-readable string to provide additional details about a running or stopped\n container.

" } } }, "traits": { "smithy.api#documentation": "

An object representing summary details of a container within a job.

" } }, "com.amazonaws.batch#CreateComputeEnvironment": { "type": "operation", "input": { "target": "com.amazonaws.batch#CreateComputeEnvironmentRequest" }, "output": { "target": "com.amazonaws.batch#CreateComputeEnvironmentResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Creates an AWS Batch compute environment. You can create MANAGED or UNMANAGED compute\n environments. MANAGED compute environments can use Amazon EC2 or AWS Fargate resources.\n UNMANAGED compute environments can only use EC2 resources.

\n

In a managed compute environment, AWS Batch manages the capacity and instance types of the compute resources\n within the environment. This is based on the compute resource specification that you define or the launch template that you\n specify when you create the compute environment. Either, you can choose to use EC2 On-Demand Instances and EC2 Spot\n Instances. Or, you can use Fargate and Fargate Spot capacity in your managed compute environment. You can\n optionally set a maximum price so that Spot Instances only launch\n when\n the Spot Instance price is less than a specified percentage of the On-Demand price.

\n \n \n

Multi-node parallel jobs aren't supported on Spot Instances.

\n
\n

In an unmanaged compute environment, you can manage your own EC2 compute resources and have a lot of flexibility\n with how you configure your compute resources. For example, you can use custom AMIs. However, you must verify that\n each of your AMIs meet the Amazon ECS container instance AMI specification. For more information, see container instance AMIs in the\n Amazon Elastic Container Service Developer Guide. After you created your unmanaged compute environment, you can use the DescribeComputeEnvironments operation to find the Amazon ECS cluster that's associated with it. Then, launch\n your container instances into that Amazon ECS cluster. For more information, see Launching an Amazon ECS container instance in the\n Amazon Elastic Container Service Developer Guide.

\n \n

AWS Batch doesn't upgrade the AMIs in a compute environment after the environment is created. For example, it\n doesn't update the AMIs when a newer version of the Amazon ECS optimized AMI is available. Therefore, you're responsible\n for managing the guest operating system (including its updates and security patches) and any additional application\n software or utilities that you install on the compute resources. To use a new AMI for your AWS Batch jobs, complete\n these steps:

\n
    \n
  1. \n

    Create a new compute environment with the new AMI.

    \n
  2. \n
  3. \n

    Add the compute environment to an existing job queue.

    \n
  4. \n
  5. \n

    Remove the earlier compute environment from your job queue.

    \n
  6. \n
  7. \n

    Delete the earlier compute environment.

    \n
  8. \n
\n
", "smithy.api#http": { "method": "POST", "uri": "/v1/createcomputeenvironment", "code": 200 } } }, "com.amazonaws.batch#CreateComputeEnvironmentRequest": { "type": "structure", "members": { "computeEnvironmentName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and\n underscores are allowed.

", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.batch#CEType", "traits": { "smithy.api#documentation": "

The type of the compute environment: MANAGED or UNMANAGED. For more information, see\n Compute Environments in the\n AWS Batch User Guide.

", "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.batch#CEState", "traits": { "smithy.api#documentation": "

The state of the compute environment. If the state is ENABLED, then the compute environment accepts\n jobs from a queue and can scale out automatically based on queues.

\n

If the state is ENABLED, then the AWS Batch scheduler can attempt to place jobs from an associated\n job queue on the compute resources within the environment. If the compute environment is managed, then it can scale\n its instances out or in automatically, based on the job queue demand.

\n

If the state is DISABLED, then the AWS Batch scheduler doesn't attempt to place jobs within the\n environment. Jobs in a STARTING or RUNNING state continue to progress normally. Managed\n compute environments in the DISABLED state don't scale out. However, they scale in to\n minvCpus value after instances become idle.

" } }, "computeResources": { "target": "com.amazonaws.batch#ComputeResource", "traits": { "smithy.api#documentation": "

Details about the compute resources managed by the compute environment. This parameter is required for managed\n compute environments. For more information, see Compute Environments in the AWS Batch User Guide.

" } }, "serviceRole": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. For\n more information, see AWS Batch service IAM\n role in the AWS Batch User Guide.

\n \n

If your account has already created the AWS Batch service-linked role, that role is used by default for your\n compute environment unless you specify a role here. If the AWS Batch service-linked role does not exist in your\n account, and no role is specified here, the service will try to create the AWS Batch service-linked role in your\n account.

\n
\n

If your specified role has a path other than /, then you must specify either the full role ARN\n (recommended) or prefix the role name with the path. For example, if a role with the name bar has a path\n of /foo/ then you would specify /foo/bar as the role name. For more information, see Friendly names\n and paths in the IAM User Guide.

\n \n

Depending on how you created your AWS Batch service role, its ARN might contain the service-role\n path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN doesn't use the\n service-role path prefix. Because of this, we recommend that you specify the full ARN of your service\n role when you create compute environments.

\n
" } }, "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { "smithy.api#documentation": "

The tags that you apply to the compute environment to help you categorize and organize your resources. Each tag\n consists of a key and an optional value. For more information, see Tagging AWS Resources in AWS General\n Reference.

\n

These tags can be updated or removed using the TagResource and UntagResource API operations. These tags don't\n propagate to the underlying compute resources.

" } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for CreateComputeEnvironment.

" } }, "com.amazonaws.batch#CreateComputeEnvironmentResponse": { "type": "structure", "members": { "computeEnvironmentName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and\n underscores are allowed.

" } }, "computeEnvironmentArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the compute environment.

" } } } }, "com.amazonaws.batch#CreateJobQueue": { "type": "operation", "input": { "target": "com.amazonaws.batch#CreateJobQueueRequest" }, "output": { "target": "com.amazonaws.batch#CreateJobQueueResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Creates an AWS Batch job queue. When you create a job queue, you associate one or more compute environments to the\n queue and assign an order of preference for the compute environments.

\n

You also set a priority to the job queue that determines the order that the AWS Batch scheduler places jobs onto\n its associated compute environments. For example, if a compute environment is associated with more than one job\n queue, the job queue with a higher priority is given preference for scheduling jobs to that compute\n environment.

", "smithy.api#http": { "method": "POST", "uri": "/v1/createjobqueue", "code": 200 } } }, "com.amazonaws.batch#CreateJobQueueRequest": { "type": "structure", "members": { "jobQueueName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job queue. Up to 128 letters (uppercase and lowercase), numbers, and underscores are\n allowed.

", "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.batch#JQState", "traits": { "smithy.api#documentation": "

The state of the job queue. If the job queue state is ENABLED, it is able to accept jobs. If the\n job queue state is DISABLED, new jobs can't be added to the queue, but jobs already in the queue can\n finish.

" } }, "priority": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the\n priority parameter) are evaluated first when associated with the same compute environment. Priority is\n determined in descending order. For example, a job queue with a priority value of 10 is given scheduling\n preference over a job queue with a priority value of 1. All of the compute environments must be either\n EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT); EC2 and\n Fargate compute environments cannot be mixed.

", "smithy.api#required": {} } }, "computeEnvironmentOrder": { "target": "com.amazonaws.batch#ComputeEnvironmentOrders", "traits": { "smithy.api#documentation": "

The set of compute environments mapped to a job queue and their order relative to each other. The job scheduler\n uses this parameter to determine which compute environment should run a specific job. Compute environments must be in\n the VALID state before you can associate them with a job queue. You can associate up to three compute\n environments with a job queue. All of the compute environments must be either EC2 (EC2 or\n SPOT) or Fargate (FARGATE or FARGATE_SPOT); EC2 and Fargate compute\n environments can't be mixed.

\n \n

All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't\n support mixing compute environment architecture types in a single job queue.

\n
", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { "smithy.api#documentation": "

The tags that you apply to the job queue to help you categorize and organize your resources. Each tag consists\n of a key and an optional value. For more information, see Tagging your AWS Batch resources in AWS Batch User Guide.

" } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for CreateJobQueue.

" } }, "com.amazonaws.batch#CreateJobQueueResponse": { "type": "structure", "members": { "jobQueueName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job queue.

", "smithy.api#required": {} } }, "jobQueueArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job queue.

", "smithy.api#required": {} } } } }, "com.amazonaws.batch#DeleteComputeEnvironment": { "type": "operation", "input": { "target": "com.amazonaws.batch#DeleteComputeEnvironmentRequest" }, "output": { "target": "com.amazonaws.batch#DeleteComputeEnvironmentResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Deletes an AWS Batch compute environment.

\n

Before you can delete a compute environment, you must set its state to DISABLED with the UpdateComputeEnvironment API operation and disassociate it from any job queues with the UpdateJobQueue API operation. Compute environments that use AWS Fargate resources must terminate all\n active jobs on that compute environment before deleting the compute environment. If this isn't done, the compute\n environment enters an invalid state.

", "smithy.api#http": { "method": "POST", "uri": "/v1/deletecomputeenvironment", "code": 200 } } }, "com.amazonaws.batch#DeleteComputeEnvironmentRequest": { "type": "structure", "members": { "computeEnvironment": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name or Amazon Resource Name (ARN) of the compute environment to delete.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for DeleteComputeEnvironment.

" } }, "com.amazonaws.batch#DeleteComputeEnvironmentResponse": { "type": "structure", "members": {} }, "com.amazonaws.batch#DeleteJobQueue": { "type": "operation", "input": { "target": "com.amazonaws.batch#DeleteJobQueueRequest" }, "output": { "target": "com.amazonaws.batch#DeleteJobQueueResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Deletes the specified job queue. You must first disable submissions for a queue with the UpdateJobQueue operation. All jobs in the queue are eventually terminated when you delete a job queue.\n The jobs are terminated at a rate of about 16 jobs each second.

\n

It's not necessary to disassociate compute environments from a queue before submitting a\n DeleteJobQueue request.

", "smithy.api#http": { "method": "POST", "uri": "/v1/deletejobqueue", "code": 200 } } }, "com.amazonaws.batch#DeleteJobQueueRequest": { "type": "structure", "members": { "jobQueue": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The short name or full Amazon Resource Name (ARN) of the queue to delete.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for DeleteJobQueue.

" } }, "com.amazonaws.batch#DeleteJobQueueResponse": { "type": "structure", "members": {} }, "com.amazonaws.batch#DeregisterJobDefinition": { "type": "operation", "input": { "target": "com.amazonaws.batch#DeregisterJobDefinitionRequest" }, "output": { "target": "com.amazonaws.batch#DeregisterJobDefinitionResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Deregisters an AWS Batch job definition. Job definitions are permanently deleted after 180 days.

", "smithy.api#http": { "method": "POST", "uri": "/v1/deregisterjobdefinition", "code": 200 } } }, "com.amazonaws.batch#DeregisterJobDefinitionRequest": { "type": "structure", "members": { "jobDefinition": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name and revision (name:revision) or full Amazon Resource Name (ARN) of the job definition to deregister.

", "smithy.api#required": {} } } } }, "com.amazonaws.batch#DeregisterJobDefinitionResponse": { "type": "structure", "members": {} }, "com.amazonaws.batch#DescribeComputeEnvironments": { "type": "operation", "input": { "target": "com.amazonaws.batch#DescribeComputeEnvironmentsRequest" }, "output": { "target": "com.amazonaws.batch#DescribeComputeEnvironmentsResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Describes one or more of your compute environments.

\n

If you're using an unmanaged compute environment, you can use the DescribeComputeEnvironment\n operation to determine the ecsClusterArn that you should launch your Amazon ECS container instances\n into.

", "smithy.api#http": { "method": "POST", "uri": "/v1/describecomputeenvironments", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults" } } }, "com.amazonaws.batch#DescribeComputeEnvironmentsRequest": { "type": "structure", "members": { "computeEnvironments": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.

" } }, "maxResults": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The maximum number of cluster results returned by DescribeComputeEnvironments in paginated output.\n When this parameter is used, DescribeComputeEnvironments only returns maxResults results in\n a single page along with a nextToken response element. The remaining results of the initial request can\n be seen by sending another DescribeComputeEnvironments request with the returned nextToken\n value. This value can be between 1 and 100. If this parameter isn't used, then\n DescribeComputeEnvironments returns up to 100 results and a nextToken\n value if applicable.

" } }, "nextToken": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The nextToken value returned from a previous paginated DescribeComputeEnvironments\n request where maxResults was used and the results exceeded the value of that parameter. Pagination\n continues from the end of the previous results that returned the nextToken value. This value is\n null when there are no more results to return.

\n \n

This token should be treated as an opaque identifier that's only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for DescribeComputeEnvironments.

" } }, "com.amazonaws.batch#DescribeComputeEnvironmentsResponse": { "type": "structure", "members": { "computeEnvironments": { "target": "com.amazonaws.batch#ComputeEnvironmentDetailList", "traits": { "smithy.api#documentation": "

The list of compute environments.

" } }, "nextToken": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The nextToken value to include in a future DescribeComputeEnvironments request. When\n the results of a DescribeJobDefinitions request exceed maxResults, this value can be used\n to retrieve the next page of results. This value is null when there are no more results to\n return.

" } } } }, "com.amazonaws.batch#DescribeJobDefinitions": { "type": "operation", "input": { "target": "com.amazonaws.batch#DescribeJobDefinitionsRequest" }, "output": { "target": "com.amazonaws.batch#DescribeJobDefinitionsResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Describes a list of job definitions. You can specify a status (such as ACTIVE) to only\n return job definitions that match that status.

", "smithy.api#http": { "method": "POST", "uri": "/v1/describejobdefinitions", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults" } } }, "com.amazonaws.batch#DescribeJobDefinitionsRequest": { "type": "structure", "members": { "jobDefinitions": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

A list of up to 100 job definition names or full Amazon Resource Name (ARN) entries.

" } }, "maxResults": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The maximum number of results returned by DescribeJobDefinitions in paginated output. When this\n parameter is used, DescribeJobDefinitions only returns maxResults results in a single page\n and a nextToken response element. The remaining results of the initial request can be seen by sending\n another DescribeJobDefinitions request with the returned nextToken value. This value can be\n between 1 and 100. If this parameter isn't used, then\n DescribeJobDefinitions returns up to 100 results and a nextToken value\n if applicable.

" } }, "jobDefinitionName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job definition to describe.

" } }, "status": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The status used to filter job definitions.

" } }, "nextToken": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The nextToken value returned from a previous paginated DescribeJobDefinitions request\n where maxResults was used and the results exceeded the value of that parameter. Pagination continues\n from the end of the previous results that returned the nextToken value. This value is null\n when there are no more results to return.

\n \n

This token should be treated as an opaque identifier that's only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for DescribeJobDefinitions.

" } }, "com.amazonaws.batch#DescribeJobDefinitionsResponse": { "type": "structure", "members": { "jobDefinitions": { "target": "com.amazonaws.batch#JobDefinitionList", "traits": { "smithy.api#documentation": "

The list of job definitions.

" } }, "nextToken": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The nextToken value to include in a future DescribeJobDefinitions request. When the\n results of a DescribeJobDefinitions request exceed maxResults, this value can be used to\n retrieve the next page of results. This value is null when there are no more results to return.

" } } } }, "com.amazonaws.batch#DescribeJobQueues": { "type": "operation", "input": { "target": "com.amazonaws.batch#DescribeJobQueuesRequest" }, "output": { "target": "com.amazonaws.batch#DescribeJobQueuesResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Describes one or more of your job queues.

", "smithy.api#http": { "method": "POST", "uri": "/v1/describejobqueues", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults" } } }, "com.amazonaws.batch#DescribeJobQueuesRequest": { "type": "structure", "members": { "jobQueues": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries.

" } }, "maxResults": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The maximum number of results returned by DescribeJobQueues in paginated output. When this\n parameter is used, DescribeJobQueues only returns maxResults results in a single page and a\n nextToken response element. The remaining results of the initial request can be seen by sending another\n DescribeJobQueues request with the returned nextToken value. This value can be between\n 1 and 100. If this parameter isn't used, then DescribeJobQueues returns up\n to 100 results and a nextToken value if applicable.

" } }, "nextToken": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The nextToken value returned from a previous paginated DescribeJobQueues request where\n maxResults was used and the results exceeded the value of that parameter. Pagination continues from the\n end of the previous results that returned the nextToken value. This value is null when\n there are no more results to return.

\n \n

This token should be treated as an opaque identifier that's only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for DescribeJobQueues.

" } }, "com.amazonaws.batch#DescribeJobQueuesResponse": { "type": "structure", "members": { "jobQueues": { "target": "com.amazonaws.batch#JobQueueDetailList", "traits": { "smithy.api#documentation": "

The list of job queues.

" } }, "nextToken": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The nextToken value to include in a future DescribeJobQueues request. When the results\n of a DescribeJobQueues request exceed maxResults, this value can be used to retrieve the\n next page of results. This value is null when there are no more results to return.

" } } } }, "com.amazonaws.batch#DescribeJobs": { "type": "operation", "input": { "target": "com.amazonaws.batch#DescribeJobsRequest" }, "output": { "target": "com.amazonaws.batch#DescribeJobsResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Describes a list of AWS Batch jobs.

", "smithy.api#http": { "method": "POST", "uri": "/v1/describejobs", "code": 200 } } }, "com.amazonaws.batch#DescribeJobsRequest": { "type": "structure", "members": { "jobs": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

A list of up to 100 job IDs.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for DescribeJobs.

" } }, "com.amazonaws.batch#DescribeJobsResponse": { "type": "structure", "members": { "jobs": { "target": "com.amazonaws.batch#JobDetailList", "traits": { "smithy.api#documentation": "

The list of jobs.

" } } } }, "com.amazonaws.batch#Device": { "type": "structure", "members": { "hostPath": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The path for the device on the host container instance.

", "smithy.api#required": {} } }, "containerPath": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The path inside the container used to expose the host device. By default, the hostPath value is\n used.

" } }, "permissions": { "target": "com.amazonaws.batch#DeviceCgroupPermissions", "traits": { "smithy.api#documentation": "

The explicit permissions to provide to the container for the device. By default, the container has permissions\n for read, write, and mknod for the device.

" } } }, "traits": { "smithy.api#documentation": "

An object representing a container instance host device.

\n \n

This object isn't applicable to jobs running on Fargate resources and shouldn't be provided.

\n
" } }, "com.amazonaws.batch#DeviceCgroupPermission": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "READ", "name": "READ" }, { "value": "WRITE", "name": "WRITE" }, { "value": "MKNOD", "name": "MKNOD" } ] } }, "com.amazonaws.batch#DeviceCgroupPermissions": { "type": "list", "member": { "target": "com.amazonaws.batch#DeviceCgroupPermission" } }, "com.amazonaws.batch#DevicesList": { "type": "list", "member": { "target": "com.amazonaws.batch#Device" } }, "com.amazonaws.batch#EFSAuthorizationConfig": { "type": "structure", "members": { "accessPointId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the\n EFSVolumeConfiguration must either be omitted or set to / which will enforce the path set\n on the EFS access point. If an access point is used, transit encryption must be enabled in the\n EFSVolumeConfiguration. For more information, see Working with Amazon EFS Access Points in the\n Amazon Elastic File System User Guide.

" } }, "iam": { "target": "com.amazonaws.batch#EFSAuthorizationConfigIAM", "traits": { "smithy.api#documentation": "

Whether or not to use the AWS Batch execution IAM role defined in a job definition when mounting the Amazon EFS file\n system. If enabled, transit encryption must be enabled in the EFSVolumeConfiguration. If this parameter\n is omitted, the default value of DISABLED is used. For more information, see Using Amazon EFS Access Points in the\n AWS Batch User Guide. EFS IAM authorization requires that TransitEncryption be\n ENABLED and that a JobRoleArn is specified.

" } } }, "traits": { "smithy.api#documentation": "

The authorization configuration details for the Amazon EFS file system.

" } }, "com.amazonaws.batch#EFSAuthorizationConfigIAM": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ENABLED", "name": "ENABLED" }, { "value": "DISABLED", "name": "DISABLED" } ] } }, "com.amazonaws.batch#EFSTransitEncryption": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ENABLED", "name": "ENABLED" }, { "value": "DISABLED", "name": "DISABLED" } ] } }, "com.amazonaws.batch#EFSVolumeConfiguration": { "type": "structure", "members": { "fileSystemId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon EFS file system ID to use.

", "smithy.api#required": {} } }, "rootDirectory": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is\n omitted, the root of the Amazon EFS volume will be used. Specifying / will have the same effect as omitting\n this parameter.

\n \n

If an EFS access point is specified in the authorizationConfig, the root directory parameter must\n either be omitted or set to / which will enforce the path set on the Amazon EFS access point.

\n
" } }, "transitEncryption": { "target": "com.amazonaws.batch#EFSTransitEncryption", "traits": { "smithy.api#documentation": "

Whether or not to enable encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server.\n Transit encryption must be enabled if Amazon EFS IAM authorization is used. If this parameter is omitted, the default\n value of DISABLED is used. For more information, see Encrypting data in transit in the\n Amazon Elastic File System User Guide.

" } }, "transitEncryptionPort": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you do not specify a\n transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses. For more\n information, see EFS Mount Helper in\n the Amazon Elastic File System User Guide.

" } }, "authorizationConfig": { "target": "com.amazonaws.batch#EFSAuthorizationConfig", "traits": { "smithy.api#documentation": "

The authorization configuration details for the Amazon EFS file system.

" } } }, "traits": { "smithy.api#documentation": "

This parameter is specified when you are using an Amazon Elastic File System file system for task storage. For more information,\n see Amazon EFS Volumes in the\n AWS Batch User Guide.

" } }, "com.amazonaws.batch#Ec2Configuration": { "type": "structure", "members": { "imageType": { "target": "com.amazonaws.batch#ImageType", "traits": { "smithy.api#documentation": "

The image type to match with the instance type to select an AMI. If the imageIdOverride parameter\n isn't specified, then a recent Amazon ECS-optimized AMI (ECS_AL1) is\n used. Starting on March 31, 2021, this default will be changing to ECS_AL2 (Amazon Linux 2).

\n
\n
ECS_AL2
\n
\n

\n Amazon Linux\n 2− Default for all AWS Graviton-based instance families (for example, C6g,\n M6g, R6g, and T4g) and can be used for all non-GPU instance types.

\n
\n
ECS_AL2_NVIDIA
\n
\n

\n Amazon Linux\n 2 (GPU)−Default for all GPU instance families (for example P4 and G4) and\n can be used for all non-AWS Graviton-based instance types.

\n
\n
ECS_AL1
\n
\n

\n Amazon\n Linux−Default for all non-GPU, non-AWS Graviton instance families. Amazon Linux is reaching the\n end-of-life of standard support. For more information, see Amazon\n Linux AMI.

\n
\n
", "smithy.api#required": {} } }, "imageIdOverride": { "target": "com.amazonaws.batch#ImageIdOverride", "traits": { "smithy.api#documentation": "

The AMI ID used for instances launched in the compute environment that match the image type. This setting\n overrides the imageId set in the computeResource object.

" } } }, "traits": { "smithy.api#documentation": "

Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If\n Ec2Configuration isn't specified, the default is currently ECS_AL1 (Amazon Linux) for\n non-GPU, non-Graviton instances. Starting on March 31, 2021, this default will be changing to ECS_AL2\n (Amazon Linux\n 2).

\n \n

This object isn't applicable to jobs running on Fargate resources.

\n
" } }, "com.amazonaws.batch#Ec2ConfigurationList": { "type": "list", "member": { "target": "com.amazonaws.batch#Ec2Configuration" } }, "com.amazonaws.batch#EnvironmentVariables": { "type": "list", "member": { "target": "com.amazonaws.batch#KeyValuePair" } }, "com.amazonaws.batch#EvaluateOnExit": { "type": "structure", "members": { "onStatusReason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

Contains a glob pattern to match against the StatusReason returned for a job. The pattern can be up\n to 512 characters long, and can contain letters, numbers, periods (.), colons (:), and white space (including spaces\n or tabs).\n It can optionally end with an\n asterisk (*) so that only the start of the string needs to be an exact match.

" } }, "onReason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

Contains a glob pattern to match against the Reason returned for a job. The pattern can be up to\n 512 characters long, and can contain letters, numbers, periods (.), colons (:), and white space (including spaces and\n tabs). It can optionally end with an asterisk (*) so that only the start of the string needs to be an exact\n match.

" } }, "onExitCode": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

Contains a glob pattern to match against the decimal representation of the ExitCode returned for a\n job. The pattern can be up to 512 characters long, can contain only numbers, and can optionally end with an asterisk\n (*) so that only the start of the string needs to be an exact match.

" } }, "action": { "target": "com.amazonaws.batch#RetryAction", "traits": { "smithy.api#documentation": "

Specifies the action to take if all of the specified conditions (onStatusReason,\n onReason, and onExitCode) are met. The values aren't case sensitive.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Specifies a set of conditions to be met, and an action to take (RETRY or EXIT) if all\n conditions are met.

" } }, "com.amazonaws.batch#EvaluateOnExitList": { "type": "list", "member": { "target": "com.amazonaws.batch#EvaluateOnExit" } }, "com.amazonaws.batch#FargatePlatformConfiguration": { "type": "structure", "members": { "platformVersion": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The AWS Fargate platform version where the jobs are running. A platform version is specified only for jobs\n running on Fargate resources. If one isn't specified, the LATEST platform version is used by default.\n This uses a recent, approved version of the AWS Fargate platform for compute resources. For more information, see\n AWS Fargate platform\n versions in the Amazon Elastic Container Service Developer Guide.

" } } }, "traits": { "smithy.api#documentation": "

The platform configuration for jobs running on Fargate resources. For jobs that run on EC2 resources, you\n shouldn't specify this parameter.

" } }, "com.amazonaws.batch#Host": { "type": "structure", "members": { "sourcePath": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The path on the host container instance that's presented to the container. If this parameter is empty, then the\n Docker daemon has assigned a host path for you. If this parameter contains a file location, then the data volume\n persists at the specified location on the host container instance until you delete it manually. If the source path\n location doesn't exist on the host container instance, the Docker daemon creates it. If the location does exist, the\n contents of the source path folder are exported.

\n \n

This parameter isn't applicable to jobs that run on Fargate resources and shouldn't be provided.

\n
" } } }, "traits": { "smithy.api#documentation": "

Determine whether your data volume persists on the host container instance and where it is stored. If this\n parameter is empty, then the Docker daemon assigns a host path for your data volume, but the data isn't guaranteed to\n persist after the containers associated with it stop running.

" } }, "com.amazonaws.batch#ImageIdOverride": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.batch#ImageType": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 256 } } }, "com.amazonaws.batch#Integer": { "type": "integer" }, "com.amazonaws.batch#JQState": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "ENABLED", "name": "ENABLED" }, { "value": "DISABLED", "name": "DISABLED" } ] } }, "com.amazonaws.batch#JQStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "CREATING", "name": "CREATING" }, { "value": "UPDATING", "name": "UPDATING" }, { "value": "DELETING", "name": "DELETING" }, { "value": "DELETED", "name": "DELETED" }, { "value": "VALID", "name": "VALID" }, { "value": "INVALID", "name": "INVALID" } ] } }, "com.amazonaws.batch#JobDefinition": { "type": "structure", "members": { "jobDefinitionName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job definition.

", "smithy.api#required": {} } }, "jobDefinitionArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the job definition.

", "smithy.api#required": {} } }, "revision": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The revision of the job definition.

", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The status of the job definition.

" } }, "type": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The type of job definition. If the job is run on Fargate resources, then multinode isn't\n supported. For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition in the\n AWS Batch User Guide.

", "smithy.api#required": {} } }, "parameters": { "target": "com.amazonaws.batch#ParametersMap", "traits": { "smithy.api#documentation": "

Default parameters or parameter substitution placeholders that are set in the job definition. Parameters are\n specified as a key-value pair mapping. Parameters in a SubmitJob request override any corresponding\n parameter defaults from the job definition. For more information about specifying parameters, see Job Definition Parameters in the\n AWS Batch User Guide.

" } }, "retryStrategy": { "target": "com.amazonaws.batch#RetryStrategy", "traits": { "smithy.api#documentation": "

The retry strategy to use for failed jobs that are submitted with this job definition.

" } }, "containerProperties": { "target": "com.amazonaws.batch#ContainerProperties", "traits": { "smithy.api#documentation": "

An object with various properties specific to container-based jobs.

" } }, "timeout": { "target": "com.amazonaws.batch#JobTimeout", "traits": { "smithy.api#documentation": "

The timeout configuration for jobs that are submitted with this job definition. You can specify a timeout\n duration after which AWS Batch terminates your jobs if they haven't finished.

" } }, "nodeProperties": { "target": "com.amazonaws.batch#NodeProperties", "traits": { "smithy.api#documentation": "

An object with various properties specific to multi-node parallel jobs.

\n \n

If the job runs on Fargate resources, then you must not specify nodeProperties; use\n containerProperties instead.

\n
" } }, "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { "smithy.api#documentation": "

The tags applied to the job definition.

" } }, "propagateTags": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no\n value is specified, the tags aren't propagated. Tags can only be propagated to the tasks during task creation. For\n tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags\n from the job and job definition is over 50, the job is moved to the FAILED state.

" } }, "platformCapabilities": { "target": "com.amazonaws.batch#PlatformCapabilityList", "traits": { "smithy.api#documentation": "

The platform capabilities required by the job definition. If no value is specified, it defaults to\n EC2. Jobs run on Fargate resources specify FARGATE.

" } } }, "traits": { "smithy.api#documentation": "

An object representing an AWS Batch job definition.

" } }, "com.amazonaws.batch#JobDefinitionList": { "type": "list", "member": { "target": "com.amazonaws.batch#JobDefinition" } }, "com.amazonaws.batch#JobDefinitionType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "container", "name": "Container" }, { "value": "multinode", "name": "Multinode" } ] } }, "com.amazonaws.batch#JobDependency": { "type": "structure", "members": { "jobId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The job ID of the AWS Batch job associated with this dependency.

" } }, "type": { "target": "com.amazonaws.batch#ArrayJobDependency", "traits": { "smithy.api#documentation": "

The type of the job dependency.

" } } }, "traits": { "smithy.api#documentation": "

An object representing an AWS Batch job dependency.

" } }, "com.amazonaws.batch#JobDependencyList": { "type": "list", "member": { "target": "com.amazonaws.batch#JobDependency" } }, "com.amazonaws.batch#JobDetail": { "type": "structure", "members": { "jobArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job.

" } }, "jobName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job.

", "smithy.api#required": {} } }, "jobId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The ID for the job.

", "smithy.api#required": {} } }, "jobQueue": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job queue that the job is associated with.

", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.batch#JobStatus", "traits": { "smithy.api#documentation": "

The current status for the job.

\n \n

If your jobs don't progress to STARTING, see Jobs Stuck in RUNNABLE Status in the\n troubleshooting section of the AWS Batch User Guide.

\n
", "smithy.api#required": {} } }, "attempts": { "target": "com.amazonaws.batch#AttemptDetails", "traits": { "smithy.api#documentation": "

A list of job attempts associated with this job.

" } }, "statusReason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

A short, human-readable string to provide additional details about the current status of the job.

" } }, "createdAt": { "target": "com.amazonaws.batch#Long", "traits": { "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the job was created. For non-array jobs and parent array jobs,\n this is when the job entered the SUBMITTED state (at the time SubmitJob was called).\n For array child jobs, this is when the child job was spawned by its parent and entered the PENDING\n state.

" } }, "retryStrategy": { "target": "com.amazonaws.batch#RetryStrategy", "traits": { "smithy.api#documentation": "

The retry strategy to use for this job if an attempt fails.

" } }, "startedAt": { "target": "com.amazonaws.batch#Long", "traits": { "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the job was started (when the job transitioned from the\n STARTING state to the RUNNING state). This parameter isn't provided for child jobs of\n array jobs or multi-node parallel jobs.

", "smithy.api#required": {} } }, "stoppedAt": { "target": "com.amazonaws.batch#Long", "traits": { "smithy.api#documentation": "

The Unix timestamp (in milliseconds) for when the job was stopped (when the job transitioned from the\n RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

" } }, "dependsOn": { "target": "com.amazonaws.batch#JobDependencyList", "traits": { "smithy.api#documentation": "

A list of job IDs that this job depends on.

" } }, "jobDefinition": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The job definition that's used by this job.

", "smithy.api#required": {} } }, "parameters": { "target": "com.amazonaws.batch#ParametersMap", "traits": { "smithy.api#documentation": "

Additional parameters passed to the job that replace parameter substitution placeholders or override any\n corresponding parameter defaults from the job definition.

" } }, "container": { "target": "com.amazonaws.batch#ContainerDetail", "traits": { "smithy.api#documentation": "

An object representing the details of the container that's associated with the job.

" } }, "nodeDetails": { "target": "com.amazonaws.batch#NodeDetails", "traits": { "smithy.api#documentation": "

An object representing the details of a node that's associated with a multi-node parallel job.

" } }, "nodeProperties": { "target": "com.amazonaws.batch#NodeProperties", "traits": { "smithy.api#documentation": "

An object representing the node properties of a multi-node parallel job.

\n \n

This isn't applicable to jobs running on Fargate resources.

\n
" } }, "arrayProperties": { "target": "com.amazonaws.batch#ArrayPropertiesDetail", "traits": { "smithy.api#documentation": "

The array properties of the job, if it is an array job.

" } }, "timeout": { "target": "com.amazonaws.batch#JobTimeout", "traits": { "smithy.api#documentation": "

The timeout configuration for the job.

" } }, "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { "smithy.api#documentation": "

The tags applied to the job.

" } }, "propagateTags": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no\n value is specified, the tags aren't propagated. Tags can only be propagated to the tasks during task creation. For\n tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags\n from the job and job definition is over 50, the job is moved to the FAILED state.

" } }, "platformCapabilities": { "target": "com.amazonaws.batch#PlatformCapabilityList", "traits": { "smithy.api#documentation": "

The platform capabilities required by the job definition. If no value is specified, it defaults to\n EC2. Jobs run on Fargate resources specify FARGATE.

" } } }, "traits": { "smithy.api#documentation": "

An object representing an AWS Batch job.

" } }, "com.amazonaws.batch#JobDetailList": { "type": "list", "member": { "target": "com.amazonaws.batch#JobDetail" } }, "com.amazonaws.batch#JobQueueDetail": { "type": "structure", "members": { "jobQueueName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job queue.

", "smithy.api#required": {} } }, "jobQueueArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job queue.

", "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.batch#JQState", "traits": { "smithy.api#documentation": "

Describes the ability of the queue to accept new jobs. If the job queue state is ENABLED, it's able\n to accept jobs. If the job queue state is DISABLED, new jobs can't be added to the queue, but jobs\n already in the queue can finish.

", "smithy.api#required": {} } }, "status": { "target": "com.amazonaws.batch#JQStatus", "traits": { "smithy.api#documentation": "

The status of the job queue (for example, CREATING or VALID).

" } }, "statusReason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

A short, human-readable string to provide additional details about the current status of the job queue.

" } }, "priority": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the\n priority parameter) are evaluated first when associated with the same compute environment. Priority is\n determined in descending order, for example, a job queue with a priority value of 10 is given scheduling\n preference over a job queue with a priority value of 1. All of the compute environments must be either\n EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT); EC2 and\n Fargate compute environments can't be mixed.

", "smithy.api#required": {} } }, "computeEnvironmentOrder": { "target": "com.amazonaws.batch#ComputeEnvironmentOrders", "traits": { "smithy.api#documentation": "

The compute environments that are attached to the job queue and the order that job placement is preferred.\n Compute environments are selected for job placement in ascending order.

", "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { "smithy.api#documentation": "

The tags applied to the job queue. For more information, see Tagging your AWS Batch resources in\n AWS Batch User Guide.

" } } }, "traits": { "smithy.api#documentation": "

An object representing the details of an AWS Batch job queue.

" } }, "com.amazonaws.batch#JobQueueDetailList": { "type": "list", "member": { "target": "com.amazonaws.batch#JobQueueDetail" } }, "com.amazonaws.batch#JobStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "SUBMITTED", "name": "SUBMITTED" }, { "value": "PENDING", "name": "PENDING" }, { "value": "RUNNABLE", "name": "RUNNABLE" }, { "value": "STARTING", "name": "STARTING" }, { "value": "RUNNING", "name": "RUNNING" }, { "value": "SUCCEEDED", "name": "SUCCEEDED" }, { "value": "FAILED", "name": "FAILED" } ] } }, "com.amazonaws.batch#JobSummary": { "type": "structure", "members": { "jobArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job.

" } }, "jobId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The ID of the job.

", "smithy.api#required": {} } }, "jobName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job.

", "smithy.api#required": {} } }, "createdAt": { "target": "com.amazonaws.batch#Long", "traits": { "smithy.api#documentation": "

The Unix timestamp for when the job was created. For non-array jobs and parent array jobs, this is when the job\n entered the SUBMITTED state (at the time SubmitJob was called). For array child jobs,\n this is when the child job was spawned by its parent and entered the PENDING state.

" } }, "status": { "target": "com.amazonaws.batch#JobStatus", "traits": { "smithy.api#documentation": "

The current status for the job.

" } }, "statusReason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

A short, human-readable string to provide additional details about the current status of the job.

" } }, "startedAt": { "target": "com.amazonaws.batch#Long", "traits": { "smithy.api#documentation": "

The Unix timestamp for when the job was started (when the job transitioned from the STARTING state\n to the RUNNING state).

" } }, "stoppedAt": { "target": "com.amazonaws.batch#Long", "traits": { "smithy.api#documentation": "

The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING state\n to a terminal state, such as SUCCEEDED or FAILED).

" } }, "container": { "target": "com.amazonaws.batch#ContainerSummary", "traits": { "smithy.api#documentation": "

An object representing the details of the container that's associated with the job.

" } }, "arrayProperties": { "target": "com.amazonaws.batch#ArrayPropertiesSummary", "traits": { "smithy.api#documentation": "

The array properties of the job, if it is an array job.

" } }, "nodeProperties": { "target": "com.amazonaws.batch#NodePropertiesSummary", "traits": { "smithy.api#documentation": "

The node properties for a single node in a job summary list.

\n \n

This isn't applicable to jobs running on Fargate resources.

\n
" } } }, "traits": { "smithy.api#documentation": "

An object representing summary details of a job.

" } }, "com.amazonaws.batch#JobSummaryList": { "type": "list", "member": { "target": "com.amazonaws.batch#JobSummary" } }, "com.amazonaws.batch#JobTimeout": { "type": "structure", "members": { "attemptDurationSeconds": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The time duration in seconds (measured from the job attempt's startedAt timestamp) after which\n AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.

" } } }, "traits": { "smithy.api#documentation": "

An object representing a job timeout configuration.

" } }, "com.amazonaws.batch#KeyValuePair": { "type": "structure", "members": { "name": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the key-value pair. For environment variables, this is the name of the environment variable.

" } }, "value": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The value of the key-value pair. For environment variables, this is the value of the environment\n variable.

" } } }, "traits": { "smithy.api#documentation": "

A key-value pair object.

" } }, "com.amazonaws.batch#LaunchTemplateSpecification": { "type": "structure", "members": { "launchTemplateId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The ID of the launch template.

" } }, "launchTemplateName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the launch template.

" } }, "version": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The version number of the launch template, $Latest, or $Default.

\n

If the value is $Latest, the latest version of the launch template is used. If the value is\n $Default, the default version of the launch template is used.

\n \n

After the compute environment is created, the launch template version used will not be changed, even if the\n $Default or $Latest version for the launch template is updated. To use a new launch\n template version, create a new compute environment, add the new compute environment to the existing job queue,\n remove the old compute environment from the job queue, and delete the old compute environment.

\n
\n

Default: $Default.

" } } }, "traits": { "smithy.api#documentation": "

An object representing a launch template associated with a compute resource. You must specify either the launch\n template ID or launch template name in the request, but not both.

\n

If security groups are specified using both the securityGroupIds parameter of\n CreateComputeEnvironment and the launch template, the values in the securityGroupIds\n parameter of CreateComputeEnvironment will be used.

\n \n

This object isn't applicable to jobs running on Fargate resources.

\n
" } }, "com.amazonaws.batch#LinuxParameters": { "type": "structure", "members": { "devices": { "target": "com.amazonaws.batch#DevicesList", "traits": { "smithy.api#documentation": "

Any host devices to expose to the container. This parameter maps to Devices in the\n Create a container section of the Docker Remote API and the --device option to docker run.

\n \n

This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.

\n
" } }, "initProcessEnabled": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

If true, run an init process inside the container that forwards signals and reaps processes. This\n parameter maps to the --init option to docker run.\n This parameter requires version 1.25 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log into your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

" } }, "sharedMemorySize": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The value for the size (in MiB) of the /dev/shm volume. This parameter maps to the\n --shm-size option to docker run.

\n \n

This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.

\n
" } }, "tmpfs": { "target": "com.amazonaws.batch#TmpfsList", "traits": { "smithy.api#documentation": "

The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter maps to the\n --tmpfs option to docker run.

\n \n

This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.

\n
" } }, "maxSwap": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The total amount of swap memory (in MiB) a container can use. This parameter is translated to the\n --memory-swap option to docker run where the value is the\n sum of the container memory plus the maxSwap value. For more information, see \n --memory-swap details in the Docker documentation.

\n

If a maxSwap value of 0 is specified, the container doesn't use swap. Accepted values\n are 0 or any positive integer. If the maxSwap parameter is omitted, the container doesn't\n use the swap configuration for the container instance it is running on. A maxSwap value must be set for\n the swappiness parameter to be used.

\n \n

This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.

\n
" } }, "swappiness": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

This allows you to tune a container's memory swappiness behavior. A swappiness value of\n 0 causes swapping not to happen unless absolutely necessary. A swappiness value of\n 100 causes pages to be swapped very aggressively. Accepted values are whole numbers between\n 0 and 100. If the swappiness parameter isn't specified, a default value of\n 60 is used. If a value isn't specified for maxSwap then this parameter is ignored. If\n maxSwap is set to 0, the container doesn't use swap. This parameter maps to the\n --memory-swappiness option to docker run.

\n

Consider the following when you use a per-container swap configuration.

\n \n \n

This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.

\n
" } } }, "traits": { "smithy.api#documentation": "

Linux-specific modifications that are applied to the container, such as details for device mappings.

" } }, "com.amazonaws.batch#ListJobs": { "type": "operation", "input": { "target": "com.amazonaws.batch#ListJobsRequest" }, "output": { "target": "com.amazonaws.batch#ListJobsResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Returns a list of AWS Batch jobs.

\n

You must specify only one of the following items:

\n \n

You can filter the results by job status with the jobStatus parameter. If you don't specify a\n status, only RUNNING jobs are returned.

", "smithy.api#http": { "method": "POST", "uri": "/v1/listjobs", "code": 200 }, "smithy.api#paginated": { "inputToken": "nextToken", "outputToken": "nextToken", "pageSize": "maxResults" } } }, "com.amazonaws.batch#ListJobsRequest": { "type": "structure", "members": { "jobQueue": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name or full Amazon Resource Name (ARN) of the job queue used to list jobs.

" } }, "arrayJobId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The job ID for an array job. Specifying an array job ID with this parameter lists all child jobs from within the\n specified array.

" } }, "multiNodeJobId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The job ID for a multi-node parallel job. Specifying a multi-node parallel job ID with this parameter lists all\n nodes that are associated with the specified job.

" } }, "jobStatus": { "target": "com.amazonaws.batch#JobStatus", "traits": { "smithy.api#documentation": "

The job status used to filter jobs in the specified queue. If you don't specify a status, only\n RUNNING jobs are returned.

" } }, "maxResults": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The maximum number of results returned by ListJobs in paginated output. When this parameter is\n used, ListJobs only returns maxResults results in a single page and a\n nextToken response element. The remaining results of the initial request can be seen by sending another\n ListJobs request with the returned nextToken value. This value can be between\n 1 and 100. If this parameter isn't used, then ListJobs returns up to\n 100 results and a nextToken value if applicable.

" } }, "nextToken": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The nextToken value returned from a previous paginated ListJobs request where\n maxResults was used and the results exceeded the value of that parameter. Pagination continues from the\n end of the previous results that returned the nextToken value. This value is null when\n there are no more results to return.

\n \n

This token should be treated as an opaque identifier that's only used to\n retrieve the next items in a list and not for other programmatic purposes.

\n
" } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for ListJobs.

" } }, "com.amazonaws.batch#ListJobsResponse": { "type": "structure", "members": { "jobSummaryList": { "target": "com.amazonaws.batch#JobSummaryList", "traits": { "smithy.api#documentation": "

A list of job summaries that match the request.

", "smithy.api#required": {} } }, "nextToken": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The nextToken value to include in a future ListJobs request. When the results of a\n ListJobs request exceed maxResults, this value can be used to retrieve the next page of\n results. This value is null when there are no more results to return.

" } } } }, "com.amazonaws.batch#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.batch#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.batch#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Lists the tags for an AWS Batch resource. AWS Batch resources that support tags are compute environments, jobs, job definitions, and job\n queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

", "smithy.api#http": { "method": "GET", "uri": "/v1/tags/{resourceArn}", "code": 200 } } }, "com.amazonaws.batch#ListTagsForResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) that identifies the resource that tags are listed for. AWS Batch resources that support tags are compute environments, jobs, job definitions, and job\n queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } } } }, "com.amazonaws.batch#ListTagsForResourceResponse": { "type": "structure", "members": { "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { "smithy.api#documentation": "

The tags for the resource.

" } } } }, "com.amazonaws.batch#LogConfiguration": { "type": "structure", "members": { "logDriver": { "target": "com.amazonaws.batch#LogDriver", "traits": { "smithy.api#documentation": "

The log driver to use for the container. The valid values listed for this parameter are log drivers that the\n Amazon ECS container agent can communicate with by default.

\n

The supported log drivers are awslogs, fluentd, gelf,\n json-file, journald, logentries, syslog, and\n splunk.

\n \n

Jobs running on Fargate resources are restricted to the awslogs and splunk log\n drivers.

\n
\n
\n
awslogs
\n
\n

Specifies the Amazon CloudWatch Logs logging driver. For more information, see Using the awslogs Log Driver in the\n AWS Batch User Guide and Amazon CloudWatch Logs logging driver in the Docker documentation.

\n
\n
fluentd
\n
\n

Specifies the Fluentd logging driver. For more information, including usage and options, see Fluentd logging driver in the Docker\n documentation.

\n
\n
gelf
\n
\n

Specifies the Graylog Extended Format (GELF) logging driver. For more information, including usage and\n options, see Graylog Extended Format logging\n driver in the Docker documentation.

\n
\n
journald
\n
\n

Specifies the journald logging driver. For more information, including usage and options, see Journald logging driver in the Docker\n documentation.

\n
\n
json-file
\n
\n

Specifies the JSON file logging driver. For more information, including usage and options, see JSON File logging driver in the Docker\n documentation.

\n
\n
splunk
\n
\n

Specifies the Splunk logging driver. For more information, including usage and options, see Splunk logging driver in the Docker\n documentation.

\n
\n
syslog
\n
\n

Specifies the syslog logging driver. For more information, including usage and options, see Syslog logging driver in the Docker\n documentation.

\n
\n
\n \n

If you have a custom driver that's not listed earlier that you want to work with the Amazon ECS container agent, you\n can fork the Amazon ECS container agent project that's available on\n GitHub and customize it to work with that driver. We encourage you to submit pull requests for changes that\n you want to have included. However, Amazon Web Services doesn't currently support running modified copies of this\n software.

\n
\n

This parameter requires version 1.18 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log into your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

", "smithy.api#required": {} } }, "options": { "target": "com.amazonaws.batch#LogConfigurationOptionsMap", "traits": { "smithy.api#documentation": "

The configuration options to send to the log driver. This parameter requires version 1.19 of the Docker Remote API or greater on your\n container instance. To check the Docker Remote API version on your container instance, log into your\n container instance and run the following command: sudo docker version | grep \"Server API version\"\n

" } }, "secretOptions": { "target": "com.amazonaws.batch#SecretList", "traits": { "smithy.api#documentation": "

The secrets to pass to the log configuration. For more information, see Specifying Sensitive Data in the\n AWS Batch User Guide.

" } } }, "traits": { "smithy.api#documentation": "

Log configuration options to send to a custom log driver for the container.

" } }, "com.amazonaws.batch#LogConfigurationOptionsMap": { "type": "map", "key": { "target": "com.amazonaws.batch#String" }, "value": { "target": "com.amazonaws.batch#String" } }, "com.amazonaws.batch#LogDriver": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "json-file", "name": "JSON_FILE" }, { "value": "syslog", "name": "SYSLOG" }, { "value": "journald", "name": "JOURNALD" }, { "value": "gelf", "name": "GELF" }, { "value": "fluentd", "name": "FLUENTD" }, { "value": "awslogs", "name": "AWSLOGS" }, { "value": "splunk", "name": "SPLUNK" } ] } }, "com.amazonaws.batch#Long": { "type": "long" }, "com.amazonaws.batch#MountPoint": { "type": "structure", "members": { "containerPath": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The path on the container where the host volume is mounted.

" } }, "readOnly": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

If this value is true, the container has read-only access to the volume. Otherwise, the container\n can write to the volume. The default value is false.

" } }, "sourceVolume": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the volume to mount.

" } } }, "traits": { "smithy.api#documentation": "

Details on a Docker volume mount point that's used in a job's container properties. This parameter maps to\n Volumes in the Create a\n container section of the Docker Remote API and the --volume option to docker run.

" } }, "com.amazonaws.batch#MountPoints": { "type": "list", "member": { "target": "com.amazonaws.batch#MountPoint" } }, "com.amazonaws.batch#NetworkConfiguration": { "type": "structure", "members": { "assignPublicIp": { "target": "com.amazonaws.batch#AssignPublicIp", "traits": { "smithy.api#documentation": "

Indicates whether the job should have a public IP address. For a job running on Fargate resources in a private\n subnet to send outbound traffic to the internet (for example, in order to pull container images), the private subnet\n requires a NAT gateway be attached to route requests to the internet. For more information, see Amazon ECS task networking. The\n default value is \"DISABLED\".

" } } }, "traits": { "smithy.api#documentation": "

The network configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not\n specify this parameter.

" } }, "com.amazonaws.batch#NetworkInterface": { "type": "structure", "members": { "attachmentId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The attachment ID for the network interface.

" } }, "ipv6Address": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The private IPv6 address for the network interface.

" } }, "privateIpv4Address": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The private IPv4 address for the network interface.

" } } }, "traits": { "smithy.api#documentation": "

An object representing the elastic network interface for a multi-node parallel job node.

" } }, "com.amazonaws.batch#NetworkInterfaceList": { "type": "list", "member": { "target": "com.amazonaws.batch#NetworkInterface" } }, "com.amazonaws.batch#NodeDetails": { "type": "structure", "members": { "nodeIndex": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The node index for the node. Node index numbering begins at zero. This index is also available on the node with\n the AWS_BATCH_JOB_NODE_INDEX environment variable.

" } }, "isMainNode": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether the current node is the main node for a multi-node parallel job.

" } } }, "traits": { "smithy.api#documentation": "

An object representing the details of a multi-node parallel job node.

" } }, "com.amazonaws.batch#NodeOverrides": { "type": "structure", "members": { "numNodes": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are\n specified in the job definition. To use this override:

\n " } }, "nodePropertyOverrides": { "target": "com.amazonaws.batch#NodePropertyOverrides", "traits": { "smithy.api#documentation": "

The node property overrides for the job.

" } } }, "traits": { "smithy.api#documentation": "

Object representing any node overrides to a job definition that's used in a SubmitJob API\n operation.

\n \n

This isn't applicable to jobs running on Fargate resources and shouldn't be provided; use\n containerOverrides instead.

\n
" } }, "com.amazonaws.batch#NodeProperties": { "type": "structure", "members": { "numNodes": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The number of nodes associated with a multi-node parallel job.

", "smithy.api#required": {} } }, "mainNode": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer\n than the number of nodes.

", "smithy.api#required": {} } }, "nodeRangeProperties": { "target": "com.amazonaws.batch#NodeRangeProperties", "traits": { "smithy.api#documentation": "

A list of node ranges and their properties associated with a multi-node parallel job.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

An object representing the node properties of a multi-node parallel job.

" } }, "com.amazonaws.batch#NodePropertiesSummary": { "type": "structure", "members": { "isMainNode": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether the current node is the main node for a multi-node parallel job.

" } }, "numNodes": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The number of nodes associated with a multi-node parallel job.

" } }, "nodeIndex": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The node index for the node. Node index numbering begins at zero. This index is also available on the node with\n the AWS_BATCH_JOB_NODE_INDEX environment variable.

" } } }, "traits": { "smithy.api#documentation": "

An object representing the properties of a node that's associated with a multi-node parallel job.

" } }, "com.amazonaws.batch#NodePropertyOverride": { "type": "structure", "members": { "targetNodes": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The range of nodes, using node index values, that's used to override. A range of 0:3 indicates\n nodes with index values of 0 through 3. If the starting range value is omitted\n (:n), then 0 is used to start the range. If the ending range value is omitted\n (n:), then the highest possible node index is used to end the range.

", "smithy.api#required": {} } }, "containerOverrides": { "target": "com.amazonaws.batch#ContainerOverrides", "traits": { "smithy.api#documentation": "

The overrides that should be sent to a node range.

" } } }, "traits": { "smithy.api#documentation": "

Object representing any node overrides to a job definition that's used in a SubmitJob API\n operation.

" } }, "com.amazonaws.batch#NodePropertyOverrides": { "type": "list", "member": { "target": "com.amazonaws.batch#NodePropertyOverride" } }, "com.amazonaws.batch#NodeRangeProperties": { "type": "list", "member": { "target": "com.amazonaws.batch#NodeRangeProperty" } }, "com.amazonaws.batch#NodeRangeProperty": { "type": "structure", "members": { "targetNodes": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The range of nodes, using node index values. A range of 0:3 indicates nodes with index values of\n 0 through 3. If the starting range value is omitted (:n), then 0\n is used to start the range. If the ending range value is omitted (n:), then the highest possible node\n index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can\n nest node ranges, for example 0:10 and 4:5, in which case the 4:5 range\n properties override the 0:10 properties.

", "smithy.api#required": {} } }, "container": { "target": "com.amazonaws.batch#ContainerProperties", "traits": { "smithy.api#documentation": "

The container details for the node range.

" } } }, "traits": { "smithy.api#documentation": "

An object representing the properties of the node range for a multi-node parallel job.

" } }, "com.amazonaws.batch#ParametersMap": { "type": "map", "key": { "target": "com.amazonaws.batch#String" }, "value": { "target": "com.amazonaws.batch#String" } }, "com.amazonaws.batch#PlatformCapability": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "EC2", "name": "EC2" }, { "value": "FARGATE", "name": "FARGATE" } ] } }, "com.amazonaws.batch#PlatformCapabilityList": { "type": "list", "member": { "target": "com.amazonaws.batch#PlatformCapability" } }, "com.amazonaws.batch#RegisterJobDefinition": { "type": "operation", "input": { "target": "com.amazonaws.batch#RegisterJobDefinitionRequest" }, "output": { "target": "com.amazonaws.batch#RegisterJobDefinitionResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Registers an AWS Batch job definition.

", "smithy.api#http": { "method": "POST", "uri": "/v1/registerjobdefinition", "code": 200 } } }, "com.amazonaws.batch#RegisterJobDefinitionRequest": { "type": "structure", "members": { "jobDefinitionName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and\n underscores are allowed.

", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.batch#JobDefinitionType", "traits": { "smithy.api#documentation": "

The type of job definition. For more information about multi-node parallel jobs, see Creating a multi-node parallel job definition in the\n AWS Batch User Guide.

\n \n

If the job is run on Fargate resources, then multinode isn't supported.

\n
", "smithy.api#required": {} } }, "parameters": { "target": "com.amazonaws.batch#ParametersMap", "traits": { "smithy.api#documentation": "

Default parameter substitution placeholders to set in the job definition. Parameters are specified as a\n key-value pair mapping. Parameters in a SubmitJob request override any corresponding parameter defaults\n from the job definition.

" } }, "containerProperties": { "target": "com.amazonaws.batch#ContainerProperties", "traits": { "smithy.api#documentation": "

An object with various properties specific to single-node container-based jobs. If the job definition's\n type parameter is container, then you must specify either containerProperties\n or nodeProperties.

\n \n

If the job runs on Fargate resources, then you must not specify nodeProperties; use only\n containerProperties.

\n
" } }, "nodeProperties": { "target": "com.amazonaws.batch#NodeProperties", "traits": { "smithy.api#documentation": "

An object with various properties specific to multi-node parallel jobs. If you specify node properties for a\n job, it becomes a multi-node parallel job. For more information, see Multi-node Parallel Jobs in the\n AWS Batch User Guide. If the job definition's type parameter is\n container, then you must specify either containerProperties or\n nodeProperties.

\n \n

If the job runs on Fargate resources, then you must not specify nodeProperties; use\n containerProperties instead.

\n
" } }, "retryStrategy": { "target": "com.amazonaws.batch#RetryStrategy", "traits": { "smithy.api#documentation": "

The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that's\n specified during a SubmitJob operation overrides the retry strategy defined here. If a job is\n terminated due to a timeout, it isn't retried.

" } }, "propagateTags": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no\n value is specified, the tags are not propagated. Tags can only be propagated to the tasks during task creation. For\n tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags\n from the job and job definition is over 50, the job is moved to the FAILED state.

" } }, "timeout": { "target": "com.amazonaws.batch#JobTimeout", "traits": { "smithy.api#documentation": "

The timeout configuration for jobs that are submitted with this job definition, after which AWS Batch terminates\n your jobs if they have not finished. If a job is terminated due to a timeout, it isn't retried. The minimum value for\n the timeout is 60 seconds. Any timeout configuration that's specified during a SubmitJob operation\n overrides the timeout configuration defined here. For more information, see Job Timeouts in the AWS Batch User Guide.

" } }, "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { "smithy.api#documentation": "

The tags that you apply to the job definition to help you categorize and organize your resources. Each tag\n consists of a key and an optional value. For more information, see Tagging AWS Resources in AWS Batch User Guide.

" } }, "platformCapabilities": { "target": "com.amazonaws.batch#PlatformCapabilityList", "traits": { "smithy.api#documentation": "

The platform capabilities required by the job definition. If no value is specified, it defaults to\n EC2. To run the job on Fargate resources, specify FARGATE.

" } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for RegisterJobDefinition.

" } }, "com.amazonaws.batch#RegisterJobDefinitionResponse": { "type": "structure", "members": { "jobDefinitionName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job definition.

", "smithy.api#required": {} } }, "jobDefinitionArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job definition.

", "smithy.api#required": {} } }, "revision": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The revision of the job definition.

", "smithy.api#required": {} } } } }, "com.amazonaws.batch#ResourceRequirement": { "type": "structure", "members": { "value": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The quantity of the specified resource to reserve for the container. The values vary based on the\n type specified.

\n
\n
type=\"GPU\"
\n
\n

The number of physical GPUs to reserve for the container. The number of GPUs reserved for all containers in a\n job shouldn't exceed the number of available GPUs on the compute resource that the job is launched on.

\n \n

GPUs are not available for jobs running on Fargate resources.

\n
\n
\n
type=\"MEMORY\"
\n
\n

The memory hard limit (in MiB) present to the container. This parameter is supported for jobs running on EC2\n resources. If your container attempts to exceed the memory specified, the container is terminated. This parameter\n maps to Memory in the Create a container section of the Docker Remote API and the\n --memory option to docker run. You must specify at least\n 4 MiB of memory for a job. This is required but can be specified in several places for multi-node parallel (MNP)\n jobs. It must be specified for each node at least once. This parameter maps to Memory in the\n Create a container section of the Docker Remote API and the --memory option to docker run.

\n \n

If you're trying to maximize your resource utilization by providing your jobs as much memory as possible for\n a particular instance type, see Memory\n Management in the AWS Batch User Guide.

\n
\n

For jobs running on Fargate resources, then value is the hard limit (in MiB), and must match\n one of the supported values and the VCPU values must be one of the values supported for that memory\n value.

\n
\n
value = 512
\n
\n

\n VCPU = 0.25

\n
\n
value = 1024
\n
\n

\n VCPU = 0.25 or 0.5

\n
\n
value = 2048
\n
\n

\n VCPU = 0.25, 0.5, or 1

\n
\n
value = 3072
\n
\n

\n VCPU = 0.5, or 1

\n
\n
value = 4096
\n
\n

\n VCPU = 0.5, 1, or 2

\n
\n
value = 5120, 6144, or 7168
\n
\n

\n VCPU = 1 or 2

\n
\n
value = 8192
\n
\n

\n VCPU = 1, 2, or 4

\n
\n
value = 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384
\n
\n

\n VCPU = 2 or 4

\n
\n
value = 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720
\n
\n

\n VCPU = 4

\n
\n
\n
\n
type=\"VCPU\"
\n
\n

The number of vCPUs reserved for the container. This parameter maps to CpuShares in the\n Create a container section of the Docker Remote API and the --cpu-shares option to\n docker run. Each vCPU is equivalent to 1,024 CPU shares. For EC2\n resources, you must specify at least one vCPU. This is required but can be specified in several places; it must be\n specified for each node at least once.

\n

For jobs running on Fargate resources, then value must match one of the supported values and\n the MEMORY values must be one of the values supported for that VCPU value. The supported values are\n 0.25, 0.5, 1, 2, and 4

\n
\n
value = 0.25
\n
\n

\n MEMORY = 512, 1024, or 2048

\n
\n
value = 0.5
\n
\n

\n MEMORY = 1024, 2048, 3072, or 4096

\n
\n
value = 1
\n
\n

\n MEMORY = 2048, 3072, 4096, 5120, 6144, 7168, or 8192

\n
\n
value = 2
\n
\n

\n MEMORY = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384

\n
\n
value = 4
\n
\n

\n MEMORY = 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, 16384, 17408, 18432, 19456,\n 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720

\n
\n
\n
\n
", "smithy.api#required": {} } }, "type": { "target": "com.amazonaws.batch#ResourceType", "traits": { "smithy.api#documentation": "

The type of resource to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The type and amount of a resource to assign to a container. The supported resources include GPU,\n MEMORY, and VCPU.

" } }, "com.amazonaws.batch#ResourceRequirements": { "type": "list", "member": { "target": "com.amazonaws.batch#ResourceRequirement" } }, "com.amazonaws.batch#ResourceType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "GPU", "name": "GPU" }, { "value": "VCPU", "name": "VCPU" }, { "value": "MEMORY", "name": "MEMORY" } ] } }, "com.amazonaws.batch#RetryAction": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "RETRY", "name": "RETRY" }, { "value": "EXIT", "name": "EXIT" } ] } }, "com.amazonaws.batch#RetryStrategy": { "type": "structure", "members": { "attempts": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The number of times to move a job to the RUNNABLE status. You can specify between 1 and 10\n attempts. If the value of attempts is greater than one, the job is retried on failure the same number of\n attempts as the value.

" } }, "evaluateOnExit": { "target": "com.amazonaws.batch#EvaluateOnExitList", "traits": { "smithy.api#documentation": "

Array of up to 5 objects that specify conditions under which the job should be retried or failed. If this\n parameter is specified, then the attempts parameter must also be specified.

" } } }, "traits": { "smithy.api#documentation": "

The retry strategy associated with a job. For more information, see Automated job retries in the AWS Batch User Guide.

" } }, "com.amazonaws.batch#Secret": { "type": "structure", "members": { "name": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the secret.

", "smithy.api#required": {} } }, "valueFrom": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The secret to expose to the container. The supported values are either the full ARN of the AWS Secrets Manager secret or the\n full ARN of the parameter in the AWS Systems Manager Parameter Store.

\n \n

If the AWS Systems Manager Parameter Store parameter exists in the same Region as the job you're launching, then you can use\n either the full ARN or name of the parameter. If the parameter exists in a different Region, then the full ARN must\n be specified.

\n
", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

An object representing the secret to expose to your container. Secrets can be exposed to a container in the\n following ways:

\n \n

For more information, see Specifying\n sensitive data in the AWS Batch User Guide.

" } }, "com.amazonaws.batch#SecretList": { "type": "list", "member": { "target": "com.amazonaws.batch#Secret" } }, "com.amazonaws.batch#ServerException": { "type": "structure", "members": { "message": { "target": "com.amazonaws.batch#String" } }, "traits": { "smithy.api#documentation": "

These errors are usually caused by a server issue.

", "smithy.api#error": "server", "smithy.api#httpError": 500 } }, "com.amazonaws.batch#String": { "type": "string" }, "com.amazonaws.batch#StringList": { "type": "list", "member": { "target": "com.amazonaws.batch#String" } }, "com.amazonaws.batch#SubmitJob": { "type": "operation", "input": { "target": "com.amazonaws.batch#SubmitJobRequest" }, "output": { "target": "com.amazonaws.batch#SubmitJobResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Submits an AWS Batch job from a job definition. Parameters that are specified during SubmitJob\n override parameters defined in the job definition. vCPU and memory requirements that are specified in the\n ResourceRequirements objects in the job definition are the exception. They can't be overridden this way\n using the memory and vcpus parameters. Rather, you must specify updates to job definition\n parameters in a ResourceRequirements object that's included in the containerOverrides\n parameter.

\n \n

Jobs that run on Fargate resources can't be guaranteed to run for more than 14 days. This is because, after 14\n days, Fargate resources might become unavailable and job might be terminated.

\n
", "smithy.api#http": { "method": "POST", "uri": "/v1/submitjob", "code": 200 } } }, "com.amazonaws.batch#SubmitJobRequest": { "type": "structure", "members": { "jobName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job. The first character must be alphanumeric, and up to 128 letters (uppercase and lowercase),\n numbers, hyphens, and underscores are allowed.

", "smithy.api#required": {} } }, "jobQueue": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The job queue where the job is submitted. You can specify either the name or the Amazon Resource Name (ARN) of the queue.

", "smithy.api#required": {} } }, "arrayProperties": { "target": "com.amazonaws.batch#ArrayProperties", "traits": { "smithy.api#documentation": "

The array properties for the submitted job, such as the size of the array. The array size can be between 2 and\n 10,000. If you specify array properties for a job, it becomes an array job. For more information, see Array Jobs in the\n AWS Batch User Guide.

" } }, "dependsOn": { "target": "com.amazonaws.batch#JobDependencyList", "traits": { "smithy.api#documentation": "

A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a\n SEQUENTIAL type dependency without specifying a job ID for array jobs so that each child array job\n completes sequentially, starting at index 0. You can also specify an N_TO_N type dependency with a job\n ID for array jobs. In that case, each index child of this job must wait for the corresponding index child of each\n dependency to complete before it can begin.

" } }, "jobDefinition": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The job definition used by this job. This value can be one of name, name:revision, or\n the Amazon Resource Name (ARN) for the job definition. If name is specified without a revision then the latest active\n revision is used.

", "smithy.api#required": {} } }, "parameters": { "target": "com.amazonaws.batch#ParametersMap", "traits": { "smithy.api#documentation": "

Additional parameters passed to the job that replace parameter substitution placeholders that are set in the job\n definition. Parameters are specified as a key and value pair mapping. Parameters in a SubmitJob request\n override any corresponding parameter defaults from the job definition.

" } }, "containerOverrides": { "target": "com.amazonaws.batch#ContainerOverrides", "traits": { "smithy.api#documentation": "

A list of container overrides in the JSON format that specify the name of a container in the specified job\n definition and the overrides it should receive. You can override the default command for a container, which is\n specified in the job definition or the Docker image, with a command override. You can also override\n existing environment variables on a container or add new environment variables to it with an environment\n override.

" } }, "nodeOverrides": { "target": "com.amazonaws.batch#NodeOverrides", "traits": { "smithy.api#documentation": "

A list of node overrides in JSON format that specify the node range to target and the container overrides for\n that node range.

\n \n

This parameter isn't applicable to jobs running on Fargate resources; use containerOverrides\n instead.

\n
" } }, "retryStrategy": { "target": "com.amazonaws.batch#RetryStrategy", "traits": { "smithy.api#documentation": "

The retry strategy to use for failed jobs from this SubmitJob operation. When a retry strategy\n is specified here, it overrides the retry strategy defined in the job definition.

" } }, "propagateTags": { "target": "com.amazonaws.batch#Boolean", "traits": { "smithy.api#documentation": "

Specifies whether to propagate the tags from the job or job definition to the corresponding Amazon ECS task. If no\n value is specified, the tags aren't propagated. Tags can only be propagated to the tasks during task creation. For\n tags with the same name, job tags are given priority over job definitions tags. If the total number of combined tags\n from the job and job definition is over 50, the job is moved to the FAILED state. When specified, this\n overrides the tag propagation setting in the job definition.

" } }, "timeout": { "target": "com.amazonaws.batch#JobTimeout", "traits": { "smithy.api#documentation": "

The timeout configuration for this SubmitJob operation. You can specify a timeout duration\n after which AWS Batch terminates your jobs if they haven't finished. If a job is terminated due to a timeout, it isn't\n retried. The minimum value for the timeout is 60 seconds. This configuration overrides any timeout configuration\n specified in the job definition. For array jobs, child jobs have the same timeout configuration as the parent job.\n For more information, see Job\n Timeouts in the Amazon Elastic Container Service Developer Guide.

" } }, "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { "smithy.api#documentation": "

The tags that you apply to the job request to help you categorize and organize your resources. Each tag consists\n of a key and an optional value. For more information, see Tagging AWS Resources in AWS General\n Reference.

" } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for SubmitJob.

" } }, "com.amazonaws.batch#SubmitJobResponse": { "type": "structure", "members": { "jobArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) for the job.

" } }, "jobName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job.

", "smithy.api#required": {} } }, "jobId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The unique identifier for the job.

", "smithy.api#required": {} } } } }, "com.amazonaws.batch#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 } } }, "com.amazonaws.batch#TagKeysList": { "type": "list", "member": { "target": "com.amazonaws.batch#TagKey" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.batch#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.batch#TagResourceRequest" }, "output": { "target": "com.amazonaws.batch#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Associates the specified tags to a resource with the specified resourceArn. If existing tags on a\n resource aren't specified in the request parameters, they aren't changed. When a resource is deleted, the tags\n associated with that resource are deleted as well. AWS Batch resources that support tags are compute environments, jobs, job definitions, and job\n queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

", "smithy.api#http": { "method": "POST", "uri": "/v1/tags/{resourceArn}", "code": 200 } } }, "com.amazonaws.batch#TagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource that tags are added to. AWS Batch resources that support tags are compute environments, jobs, job definitions, and job\n queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tags": { "target": "com.amazonaws.batch#TagrisTagsMap", "traits": { "smithy.api#documentation": "

The tags that you apply to the resource to help you categorize and organize your resources. Each tag consists of\n a key and an optional value. For more information, see Tagging AWS Resources in AWS General\n Reference.

", "smithy.api#required": {} } } } }, "com.amazonaws.batch#TagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.batch#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 } } }, "com.amazonaws.batch#TagrisTagsMap": { "type": "map", "key": { "target": "com.amazonaws.batch#TagKey" }, "value": { "target": "com.amazonaws.batch#TagValue" }, "traits": { "smithy.api#length": { "min": 1, "max": 50 } } }, "com.amazonaws.batch#TagsMap": { "type": "map", "key": { "target": "com.amazonaws.batch#String" }, "value": { "target": "com.amazonaws.batch#String" } }, "com.amazonaws.batch#TerminateJob": { "type": "operation", "input": { "target": "com.amazonaws.batch#TerminateJobRequest" }, "output": { "target": "com.amazonaws.batch#TerminateJobResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Terminates a job in a job queue. Jobs that are in the STARTING or RUNNING state are\n terminated, which causes them to transition to FAILED. Jobs that have not progressed to the\n STARTING state are cancelled.

", "smithy.api#http": { "method": "POST", "uri": "/v1/terminatejob", "code": 200 } } }, "com.amazonaws.batch#TerminateJobRequest": { "type": "structure", "members": { "jobId": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The AWS Batch job ID of the job to terminate.

", "smithy.api#required": {} } }, "reason": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

A message to attach to the job that explains the reason for canceling it. This message is returned by future\n DescribeJobs operations on the job. This message is also recorded in the AWS Batch activity\n logs.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for TerminateJob.

" } }, "com.amazonaws.batch#TerminateJobResponse": { "type": "structure", "members": {} }, "com.amazonaws.batch#Tmpfs": { "type": "structure", "members": { "containerPath": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The absolute file path in the container where the tmpfs volume is mounted.

", "smithy.api#required": {} } }, "size": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The size (in MiB) of the tmpfs volume.

", "smithy.api#required": {} } }, "mountOptions": { "target": "com.amazonaws.batch#StringList", "traits": { "smithy.api#documentation": "

The list of tmpfs volume mount options.

\n

Valid values: \"defaults\" | \"ro\" | \"rw\" | \"suid\" |\n \"nosuid\" | \"dev\" | \"nodev\" | \"exec\" | \"noexec\" |\n \"sync\" | \"async\" | \"dirsync\" | \"remount\" | \"mand\" |\n \"nomand\" | \"atime\" | \"noatime\" | \"diratime\" |\n \"nodiratime\" | \"bind\" | \"rbind\" | \"unbindable\" | \"runbindable\" | \"private\" |\n \"rprivate\" | \"shared\" | \"rshared\" | \"slave\" | \"rslave\" | \"relatime\" | \"norelatime\" |\n \"strictatime\" | \"nostrictatime\" | \"mode\" | \"uid\" |\n \"gid\" | \"nr_inodes\" | \"nr_blocks\" | \"mpol\"

" } } }, "traits": { "smithy.api#documentation": "

The container path, mount options, and size of the tmpfs mount.

\n \n

This object isn't applicable to jobs running on Fargate resources.

\n
" } }, "com.amazonaws.batch#TmpfsList": { "type": "list", "member": { "target": "com.amazonaws.batch#Tmpfs" } }, "com.amazonaws.batch#Ulimit": { "type": "structure", "members": { "hardLimit": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The hard limit for the ulimit type.

", "smithy.api#required": {} } }, "name": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The type of the ulimit.

", "smithy.api#required": {} } }, "softLimit": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The soft limit for the ulimit type.

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

The ulimit settings to pass to the container.

\n \n

This object isn't applicable to jobs running on Fargate resources.

\n
" } }, "com.amazonaws.batch#Ulimits": { "type": "list", "member": { "target": "com.amazonaws.batch#Ulimit" } }, "com.amazonaws.batch#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.batch#UntagResourceRequest" }, "output": { "target": "com.amazonaws.batch#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Deletes specified tags from an AWS Batch resource.

", "smithy.api#http": { "method": "DELETE", "uri": "/v1/tags/{resourceArn}", "code": 200 } } }, "com.amazonaws.batch#UntagResourceRequest": { "type": "structure", "members": { "resourceArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the resource from which to delete tags. AWS Batch resources that support tags are compute environments, jobs, job definitions, and job\n queues. ARNs for child jobs of array and multi-node parallel (MNP) jobs are not supported.

", "smithy.api#httpLabel": {}, "smithy.api#required": {} } }, "tagKeys": { "target": "com.amazonaws.batch#TagKeysList", "traits": { "smithy.api#documentation": "

The keys of the tags to be removed.

", "smithy.api#httpQuery": "tagKeys", "smithy.api#required": {} } } } }, "com.amazonaws.batch#UntagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.batch#UpdateComputeEnvironment": { "type": "operation", "input": { "target": "com.amazonaws.batch#UpdateComputeEnvironmentRequest" }, "output": { "target": "com.amazonaws.batch#UpdateComputeEnvironmentResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Updates an AWS Batch compute environment.

", "smithy.api#http": { "method": "POST", "uri": "/v1/updatecomputeenvironment", "code": 200 } } }, "com.amazonaws.batch#UpdateComputeEnvironmentRequest": { "type": "structure", "members": { "computeEnvironment": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name or full Amazon Resource Name (ARN) of the compute environment to update.

", "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.batch#CEState", "traits": { "smithy.api#documentation": "

The state of the compute environment. Compute environments in the ENABLED state can accept jobs\n from a queue and scale in or out automatically based on the workload demand of its associated queues.

\n

If the state is ENABLED, then the AWS Batch scheduler can attempt to place jobs from an associated\n job queue on the compute resources within the environment. If the compute environment is managed, then it can scale\n its instances out or in automatically, based on the job queue demand.

\n

If the state is DISABLED, then the AWS Batch scheduler doesn't attempt to place jobs within the\n environment. Jobs in a STARTING or RUNNING state continue to progress normally. Managed\n compute environments in the DISABLED state don't scale out. However, they scale in to\n minvCpus value after instances become idle.

" } }, "computeResources": { "target": "com.amazonaws.batch#ComputeResourceUpdate", "traits": { "smithy.api#documentation": "

Details of the compute resources managed by the compute environment. Required for a managed compute environment.\n For more information, see Compute\n Environments in the AWS Batch User Guide.

" } }, "serviceRole": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The full Amazon Resource Name (ARN) of the IAM role that allows AWS Batch to make calls to other AWS services on your behalf. For\n more information, see AWS Batch service IAM\n role in the AWS Batch User Guide.

\n \n

If the compute environment has a service-linked role, it cannot be changed to use a regular IAM role. If the\n compute environment has a regular IAM role, it cannot be changed to use a service-linked role.

\n
\n \n

If your specified role has a path other than /, then you must either specify the full role ARN\n (this is recommended) or prefix the role name with the path.

\n \n

Depending on how you created your AWS Batch service role, its ARN might contain the service-role\n path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN doesn't use the\n service-role path prefix. Because of this, we recommend that you specify the full ARN of your service\n role when you create compute environments.

\n
" } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for UpdateComputeEnvironment.

" } }, "com.amazonaws.batch#UpdateComputeEnvironmentResponse": { "type": "structure", "members": { "computeEnvironmentName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and\n underscores are allowed.

" } }, "computeEnvironmentArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the compute environment.

" } } } }, "com.amazonaws.batch#UpdateJobQueue": { "type": "operation", "input": { "target": "com.amazonaws.batch#UpdateJobQueueRequest" }, "output": { "target": "com.amazonaws.batch#UpdateJobQueueResponse" }, "errors": [ { "target": "com.amazonaws.batch#ClientException" }, { "target": "com.amazonaws.batch#ServerException" } ], "traits": { "smithy.api#documentation": "

Updates a job queue.

", "smithy.api#http": { "method": "POST", "uri": "/v1/updatejobqueue", "code": 200 } } }, "com.amazonaws.batch#UpdateJobQueueRequest": { "type": "structure", "members": { "jobQueue": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name or the Amazon Resource Name (ARN) of the job queue.

", "smithy.api#required": {} } }, "state": { "target": "com.amazonaws.batch#JQState", "traits": { "smithy.api#documentation": "

Describes the queue's ability to accept new jobs. If the job queue state is ENABLED, it can accept\n jobs. If the job queue state is DISABLED, new jobs can't be added to the queue, but jobs already in the\n queue can finish.

" } }, "priority": { "target": "com.amazonaws.batch#Integer", "traits": { "smithy.api#documentation": "

The priority of the job queue. Job queues with a higher priority (or a higher integer value for the\n priority parameter) are evaluated first when associated with the same compute environment. Priority is\n determined in descending order, for example, a job queue with a priority value of 10 is given scheduling\n preference over a job queue with a priority value of 1. All of the compute environments must be either\n EC2 (EC2 or SPOT) or Fargate (FARGATE or FARGATE_SPOT). EC2 and\n Fargate compute environments can't be mixed.

" } }, "computeEnvironmentOrder": { "target": "com.amazonaws.batch#ComputeEnvironmentOrders", "traits": { "smithy.api#documentation": "

Details the set of compute environments mapped to a job queue and their order relative to each other. This is\n one of the parameters used by the job scheduler to determine which compute environment should run a given job.\n Compute environments must be in the VALID state before you can associate them with a job queue. All of\n the compute environments must be either EC2 (EC2 or SPOT) or Fargate\n (FARGATE or FARGATE_SPOT). EC2 and Fargate compute environments can't be mixed.

\n \n

All compute environments that are associated with a job queue must share the same architecture. AWS Batch doesn't\n support mixing compute environment architecture types in a single job queue.

\n
" } } }, "traits": { "smithy.api#documentation": "

Contains the parameters for UpdateJobQueue.

" } }, "com.amazonaws.batch#UpdateJobQueueResponse": { "type": "structure", "members": { "jobQueueName": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the job queue.

" } }, "jobQueueArn": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The Amazon Resource Name (ARN) of the job queue.

" } } } }, "com.amazonaws.batch#Volume": { "type": "structure", "members": { "host": { "target": "com.amazonaws.batch#Host", "traits": { "smithy.api#documentation": "

The contents of the host parameter determine whether your data volume persists on the host\n container instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path\n for your data volume. However, the data isn't guaranteed to persist after the containers associated with it stop\n running.

\n \n

This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.

\n
" } }, "name": { "target": "com.amazonaws.batch#String", "traits": { "smithy.api#documentation": "

The name of the volume. Up to 255 letters (uppercase and lowercase), numbers, hyphens, and underscores are\n allowed. This name is referenced in the sourceVolume\n parameter of container definition mountPoints.

" } }, "efsVolumeConfiguration": { "target": "com.amazonaws.batch#EFSVolumeConfiguration", "traits": { "smithy.api#documentation": "

This parameter is specified when you are using an Amazon Elastic File System file system for job storage. Jobs running on\n Fargate resources must specify a platformVersion of at least 1.4.0.

" } } }, "traits": { "smithy.api#documentation": "

A data volume used in a job's container properties.

" } }, "com.amazonaws.batch#Volumes": { "type": "list", "member": { "target": "com.amazonaws.batch#Volume" } } } }