3881 lines
260 KiB
JSON
3881 lines
260 KiB
JSON
{
|
||
"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": "<p>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.</p>\n <p>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.</p>",
|
||
"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": "<p>The size of the array job.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing an AWS Batch array job.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#ArrayPropertiesDetail": {
|
||
"type": "structure",
|
||
"members": {
|
||
"statusSummary": {
|
||
"target": "com.amazonaws.batch#ArrayJobStatusSummary",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A summary of the number of array job children in each available job status. This parameter is returned for\n parent array jobs.</p>"
|
||
}
|
||
},
|
||
"size": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The size of the array job. This parameter is returned for parent array jobs.</p>"
|
||
}
|
||
},
|
||
"index": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The job index within the array that's associated with this job. This parameter is returned for array job\n children.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the array properties of a job.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#ArrayPropertiesSummary": {
|
||
"type": "structure",
|
||
"members": {
|
||
"size": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The size of the array job. This parameter is returned for parent array jobs.</p>"
|
||
}
|
||
},
|
||
"index": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The job index within the array that's associated with this job. This parameter is returned for children of array\n jobs.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the array properties of a job.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.</p>"
|
||
}
|
||
},
|
||
"taskArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>STARTING</code> status.</p>"
|
||
}
|
||
},
|
||
"exitCode": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The exit code for the job attempt. A non-zero exit code is considered a failure.</p>"
|
||
}
|
||
},
|
||
"reason": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A short (255 max characters) human-readable string to provide additional details about a running or stopped\n container.</p>"
|
||
}
|
||
},
|
||
"logStreamName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is\n <code>/aws/batch/job</code>. Each container attempt receives a log stream name when they reach the\n <code>RUNNING</code> status.</p>"
|
||
}
|
||
},
|
||
"networkInterfaces": {
|
||
"target": "com.amazonaws.batch#NetworkInterfaceList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The network interfaces associated with the job attempt.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the details of a container that's part of a job attempt.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#AttemptDetail": {
|
||
"type": "structure",
|
||
"members": {
|
||
"container": {
|
||
"target": "com.amazonaws.batch#AttemptContainerDetail",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Details about the container in this job attempt.</p>"
|
||
}
|
||
},
|
||
"startedAt": {
|
||
"target": "com.amazonaws.batch#Long",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the\n <code>STARTING</code> state to the <code>RUNNING</code> state).</p>"
|
||
}
|
||
},
|
||
"stoppedAt": {
|
||
"target": "com.amazonaws.batch#Long",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the\n <code>RUNNING</code> state to a terminal state, such as <code>SUCCEEDED</code> or <code>FAILED</code>).</p>"
|
||
}
|
||
},
|
||
"statusReason": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A short, human-readable string to provide additional details about the current status of the job attempt.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing a job attempt.</p>"
|
||
}
|
||
},
|
||
"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": "<p>Cancels a job in an AWS Batch job queue. Jobs that are in the <code>SUBMITTED</code>, <code>PENDING</code>, or\n <code>RUNNABLE</code> state are canceled. Jobs that have progressed to <code>STARTING</code> or <code>RUNNING</code>\n aren't canceled, but the API operation still succeeds, even if no job is canceled. These jobs must be terminated with\n the <a>TerminateJob</a> operation.</p>",
|
||
"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": "<p>The AWS Batch job ID of the job to cancel.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"reason": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A message to attach to the job that explains the reason for canceling it. This message is returned by future\n <a>DescribeJobs</a> operations on the job. This message is also recorded in the AWS Batch activity\n logs.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>CancelJob</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#CancelJobResponse": {
|
||
"type": "structure",
|
||
"members": {}
|
||
},
|
||
"com.amazonaws.batch#ClientException": {
|
||
"type": "structure",
|
||
"members": {
|
||
"message": {
|
||
"target": "com.amazonaws.batch#String"
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>",
|
||
"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": "<p>The name of the compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and\n underscores are allowed.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"computeEnvironmentArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the compute environment.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"ecsClusterArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the underlying Amazon ECS cluster used by the compute environment.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"tags": {
|
||
"target": "com.amazonaws.batch#TagrisTagsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The tags applied to the compute environment.</p>"
|
||
}
|
||
},
|
||
"type": {
|
||
"target": "com.amazonaws.batch#CEType",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The type of the compute environment: <code>MANAGED</code> or <code>UNMANAGED</code>. For more information, see\n <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html\">Compute Environments</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"state": {
|
||
"target": "com.amazonaws.batch#CEState",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The state of the compute environment. The valid values are <code>ENABLED</code> or <code>DISABLED</code>.</p>\n <p>If the state is <code>ENABLED</code>, 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.</p>\n <p>If the state is <code>DISABLED</code>, then the AWS Batch scheduler doesn't attempt to place jobs within the\n environment. Jobs in a <code>STARTING</code> or <code>RUNNING</code> state continue to progress normally. Managed\n compute environments in the <code>DISABLED</code> state don't scale out. However, they scale in to\n <code>minvCpus</code> value after instances become idle.</p>"
|
||
}
|
||
},
|
||
"status": {
|
||
"target": "com.amazonaws.batch#CEStatus",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The current status of the compute environment (for example, <code>CREATING</code> or <code>VALID</code>).</p>"
|
||
}
|
||
},
|
||
"statusReason": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A short, human-readable string to provide additional details about the current status of the compute\n environment.</p>"
|
||
}
|
||
},
|
||
"computeResources": {
|
||
"target": "com.amazonaws.batch#ComputeResource",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The compute resources defined for the compute environment. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html\">Compute Environments</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"serviceRole": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html\">AWS Batch service IAM role</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing an AWS Batch compute environment.</p>"
|
||
}
|
||
},
|
||
"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": "<p>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 <code>order</code> integer\n value is tried for job placement first.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"computeEnvironment": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the compute environment.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>VALID</code> state before you can associate them with a job queue. All of the compute environments must be\n either EC2 (<code>EC2</code> or <code>SPOT</code>) or Fargate (<code>FARGATE</code> or <code>FARGATE_SPOT</code>);\n EC2 and Fargate compute environments can't be mixed.</p>\n <note>\n <p>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.</p>\n </note>"
|
||
}
|
||
},
|
||
"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": "<p>The type of compute environment: <code>EC2</code>, <code>SPOT</code>, <code>FARGATE</code>, or\n <code>FARGATE_SPOT</code>. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html\">Compute Environments</a> in the\n <i>AWS Batch User Guide</i>.</p>\n <p> If you choose <code>SPOT</code>, you must also specify an Amazon EC2 Spot Fleet role with the\n <code>spotIamFleetRole</code> parameter. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html\">Amazon EC2 Spot Fleet role</a> in the\n <i>AWS Batch User Guide</i>.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"allocationStrategy": {
|
||
"target": "com.amazonaws.batch#CRAllocationStrategy",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html\">Amazon EC2 service limits</a>. For more\n information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/allocation-strategies.html\">Allocation Strategies</a>\n in the <i>AWS Batch User Guide</i>.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>\n <dl>\n <dt>BEST_FIT (default)</dt>\n <dd>\n <p>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 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-resource-limits.html\">Amazon EC2 service limits</a> 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 <code>BEST_FIT</code> then the Spot Fleet IAM Role\n must be specified.</p>\n </dd>\n <dt>BEST_FIT_PROGRESSIVE</dt>\n <dd>\n <p>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.</p>\n </dd>\n <dt>SPOT_CAPACITY_OPTIMIZED</dt>\n <dd>\n <p>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.</p>\n </dd>\n </dl>\n <p>With both <code>BEST_FIT_PROGRESSIVE</code> and <code>SPOT_CAPACITY_OPTIMIZED</code> strategies, AWS Batch might\n need to go above <code>maxvCpus</code> to meet your capacity requirements. In this event, AWS Batch never exceeds\n <code>maxvCpus</code> by more than a single instance.</p>"
|
||
}
|
||
},
|
||
"minvCpus": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The minimum number of Amazon EC2 vCPUs that an environment should maintain (even if the compute environment is\n <code>DISABLED</code>).</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>"
|
||
}
|
||
},
|
||
"maxvCpus": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The maximum number of Amazon EC2 vCPUs that a compute environment can reach.</p>\n <note>\n <p>With both <code>BEST_FIT_PROGRESSIVE</code> and <code>SPOT_CAPACITY_OPTIMIZED</code> allocation strategies,\n AWS Batch might need to exceed <code>maxvCpus</code> to meet your capacity requirements. In this event, AWS Batch never\n exceeds <code>maxvCpus</code> 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.</p>\n </note>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"desiredvCpus": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>"
|
||
}
|
||
},
|
||
"instanceTypes": {
|
||
"target": "com.amazonaws.batch#StringList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The instances types that can be launched. You can specify instance families to launch any instance type within\n those families (for example, <code>c5</code> or <code>p3</code>), or you can specify specific sizes within a family\n (such as <code>c5.8xlarge</code>). You can also choose <code>optimal</code> to select instance types (from the C4,\n M4, and R4 instance families) that match the demand of your job queues.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>\n <note>\n <p>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.</p>\n </note>\n <note>\n <p>Currently, <code>optimal</code> 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.</p>\n </note>"
|
||
}
|
||
},
|
||
"imageId": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#deprecated": {
|
||
"message": "This field is deprecated, use ec2Configuration[].imageIdOverride instead."
|
||
},
|
||
"smithy.api#documentation": "<p>The Amazon Machine Image (AMI) ID used for instances launched in the compute environment. This parameter is\n overridden by the <code>imageIdOverride</code> member of the <code>Ec2Configuration</code> structure.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>\n <note>\n <p>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 <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#ecs-optimized-ami-linux-variants.html\">Amazon ECS-optimized\n Amazon Linux 2 AMI</a>\n in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>\n </note>"
|
||
}
|
||
},
|
||
"subnets": {
|
||
"target": "com.amazonaws.batch#StringList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html\">VPCs and Subnets</a> in the <i>Amazon VPC User\n Guide</i>.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"securityGroupIds": {
|
||
"target": "com.amazonaws.batch#StringList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon EC2 security groups associated with instances launched in the compute environment. One or more security\n groups must be specified, either in <code>securityGroupIds</code> or using a launch template referenced in\n <code>launchTemplate</code>. 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 <code>securityGroupIds</code> and <code>launchTemplate</code>, the values in <code>securityGroupIds</code> is\n used.</p>"
|
||
}
|
||
},
|
||
"ec2KeyPair": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>"
|
||
}
|
||
},
|
||
"instanceRole": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>\n <i>ecsInstanceRole</i>\n </code> or\n <code>arn:aws:iam::<i><aws_account_id></i>:instance-profile/<i>ecsInstanceRole</i>\n </code>.\n For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/instance_IAM_role.html\">Amazon ECS Instance\n Role</a> in the <i>AWS Batch User Guide</i>.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>"
|
||
}
|
||
},
|
||
"tags": {
|
||
"target": "com.amazonaws.batch#TagsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>ListTagsForResource</code> API operation.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>"
|
||
}
|
||
},
|
||
"placementGroup": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/placement-groups.html\">Placement Groups</a> in the <i>Amazon EC2 User Guide for\n Linux Instances</i>.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>"
|
||
}
|
||
},
|
||
"bidPercentage": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>"
|
||
}
|
||
},
|
||
"spotIamFleetRole": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the Amazon EC2 Spot Fleet IAM role applied to a <code>SPOT</code> compute environment. This role is\n required if the allocation strategy set to <code>BEST_FIT</code> or if the allocation strategy isn't specified. For\n more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/spot_fleet_IAM_role.html\">Amazon EC2 Spot Fleet\n Role</a> in the <i>AWS Batch User Guide</i>.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>\n <important>\n <p>To tag your Spot Instances on creation, the Spot Fleet IAM role specified here must use the newer <b>AmazonEC2SpotFleetTaggingRole</b> managed policy. The previously recommended <b>AmazonEC2SpotFleetRole</b> managed policy doesn't have the required permissions to tag Spot\n Instances. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#spot-instance-no-tag\">Spot Instances not tagged on creation</a> in the\n <i>AWS Batch User Guide</i>.</p>\n </important>"
|
||
}
|
||
},
|
||
"launchTemplate": {
|
||
"target": "com.amazonaws.batch#LaunchTemplateSpecification",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The launch template to use for your compute resources. Any other compute resource parameters that you specify in\n a <a>CreateComputeEnvironment</a> 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 <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/launch-templates.html\">Launch Template Support</a> in\n the <i>AWS Batch User Guide</i>.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>"
|
||
}
|
||
},
|
||
"ec2Configuration": {
|
||
"target": "com.amazonaws.batch#Ec2ConfigurationList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Provides information used to select Amazon Machine Images (AMIs) for EC2 instances in the compute environment.\n If <code>Ec2Configuration</code> isn't specified, the default is <code>ECS_AL1</code>.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing an AWS Batch compute resource. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html\">Compute Environments</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#ComputeResourceUpdate": {
|
||
"type": "structure",
|
||
"members": {
|
||
"minvCpus": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The minimum number of Amazon EC2 vCPUs that an environment should maintain.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>"
|
||
}
|
||
},
|
||
"maxvCpus": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The maximum number of Amazon EC2 vCPUs that an environment can reach.</p>\n <note>\n <p>With both <code>BEST_FIT_PROGRESSIVE</code> and <code>SPOT_CAPACITY_OPTIMIZED</code> allocation strategies,\n AWS Batch might need to exceed <code>maxvCpus</code> to meet your capacity requirements. In this event, AWS Batch never\n exceeds <code>maxvCpus</code> by more than a single instance. That is, no more than a single instance from among\n those specified in your compute environment.</p>\n </note>"
|
||
}
|
||
},
|
||
"desiredvCpus": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The desired number of Amazon EC2 vCPUS in the compute environment.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources, and shouldn't be specified.</p>\n </note>"
|
||
}
|
||
},
|
||
"subnets": {
|
||
"target": "com.amazonaws.batch#StringList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html\">VPCs and Subnets</a> in the <i>Amazon VPC User\n Guide</i>.</p>"
|
||
}
|
||
},
|
||
"securityGroupIds": {
|
||
"target": "com.amazonaws.batch#StringList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the attributes of a compute environment that can be updated. For more information, see\n <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html\">Compute Environments</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#ContainerDetail": {
|
||
"type": "structure",
|
||
"members": {
|
||
"image": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The image used to start the container.</p>"
|
||
}
|
||
},
|
||
"vcpus": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>resourceRequirements</code>, but you can't specify the vCPU requirements in both\n the <code>vcpus</code> and <code>resourceRequirement</code> object. This parameter maps to <code>CpuShares</code> in\n the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--cpu-shares</code> option to\n <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>. 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.</p>\n <note>\n <p>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 <code>resourceRequirements</code>.</p>\n </note>"
|
||
}
|
||
},
|
||
"memory": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>For jobs run on EC2 resources that didn't specify memory requirements using <code>ResourceRequirement</code>,\n the number of MiB of memory reserved for the job. For other jobs, including all run on Fargate resources, see\n <code>resourceRequirements</code>.</p>"
|
||
}
|
||
},
|
||
"command": {
|
||
"target": "com.amazonaws.batch#StringList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The command that's passed to the container.</p>"
|
||
}
|
||
},
|
||
"jobRoleArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) associated with the job upon execution.</p>"
|
||
}
|
||
},
|
||
"executionRoleArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the\n execution\n role that AWS Batch can assume. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html\">AWS Batch execution IAM role</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"volumes": {
|
||
"target": "com.amazonaws.batch#Volumes",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A list of volumes associated with the job.</p>"
|
||
}
|
||
},
|
||
"environment": {
|
||
"target": "com.amazonaws.batch#EnvironmentVariables",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The environment variables to pass to a container.</p>\n <note>\n <p>Environment variables must not start with <code>AWS_BATCH</code>; this naming\n convention is reserved for variables that are set by the AWS Batch service.</p>\n </note>"
|
||
}
|
||
},
|
||
"mountPoints": {
|
||
"target": "com.amazonaws.batch#MountPoints",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The mount points for data volumes in your container.</p>"
|
||
}
|
||
},
|
||
"readonlyRootFilesystem": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>When this parameter is true, the container is given read-only access to its root file system. This parameter\n maps to <code>ReadonlyRootfs</code> in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and\n the <code>--read-only</code> option to <a href=\"https://docs.docker.com/engine/reference/commandline/run/\">\n <code>docker run</code>\n </a>.</p>"
|
||
}
|
||
},
|
||
"ulimits": {
|
||
"target": "com.amazonaws.batch#Ulimits",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A list of <code>ulimit</code> values to set in the container. This parameter maps to <code>Ulimits</code> in the\n <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--ulimit</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources.</p>\n </note>"
|
||
}
|
||
},
|
||
"privileged": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>When this parameter is true, the container is given elevated permissions on the host container instance (similar\n to the <code>root</code> user). The default value is false.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided, or specified\n as false.</p>\n </note>"
|
||
}
|
||
},
|
||
"user": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The user name to use inside the container. This parameter maps to <code>User</code> in the\n <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--user</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>"
|
||
}
|
||
},
|
||
"exitCode": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The exit code to return upon completion.</p>"
|
||
}
|
||
},
|
||
"reason": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A short (255 max characters) human-readable string to provide additional details about a running or stopped\n container.</p>"
|
||
}
|
||
},
|
||
"containerInstanceArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the container instance that the container is running on.</p>"
|
||
}
|
||
},
|
||
"taskArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>STARTING</code> status.</p>"
|
||
}
|
||
},
|
||
"logStreamName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the CloudWatch Logs log stream associated with the container. The log group for AWS Batch jobs is\n <code>/aws/batch/job</code>. Each container attempt receives a log stream name when they reach the\n <code>RUNNING</code> status.</p>"
|
||
}
|
||
},
|
||
"instanceType": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The instance type of the underlying host infrastructure of a multi-node parallel job.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources.</p>\n </note>"
|
||
}
|
||
},
|
||
"networkInterfaces": {
|
||
"target": "com.amazonaws.batch#NetworkInterfaceList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The network interfaces associated with the job.</p>"
|
||
}
|
||
},
|
||
"resourceRequirements": {
|
||
"target": "com.amazonaws.batch#ResourceRequirements",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The type and amount of resources to assign to a container. The supported resources include <code>GPU</code>,\n <code>MEMORY</code>, and <code>VCPU</code>.</p>"
|
||
}
|
||
},
|
||
"linuxParameters": {
|
||
"target": "com.amazonaws.batch#LinuxParameters",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Linux-specific modifications that are applied to the container, such as details for device mappings.</p>"
|
||
}
|
||
},
|
||
"logConfiguration": {
|
||
"target": "com.amazonaws.batch#LogConfiguration",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The log configuration specification for the container.</p>\n <p>This parameter maps to <code>LogConfig</code> in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the\n <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--log-driver</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.\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 <a href=\"https://docs.docker.com/engine/admin/logging/overview/\">Configure logging drivers</a> in the Docker\n documentation.</p>\n <note>\n <p>AWS Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the <a>LogConfiguration</a> data type). Additional log drivers might be available in future releases of the Amazon ECS\n container agent.</p>\n </note>\n <p>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: <code>sudo docker version | grep \"Server API version\"</code>\n </p>\n <note>\n <p>The Amazon ECS container agent running on a container instance must register the logging drivers available on that\n instance with the <code>ECS_AVAILABLE_LOGGING_DRIVERS</code> environment variable before containers placed on that\n instance can use these log configuration options. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html\">Amazon ECS Container Agent Configuration</a> in the\n <i>Amazon Elastic Container Service Developer Guide</i>.</p>\n </note>"
|
||
}
|
||
},
|
||
"secrets": {
|
||
"target": "com.amazonaws.batch#SecretList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The secrets to pass to the container. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html\">Specifying sensitive data</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"networkConfiguration": {
|
||
"target": "com.amazonaws.batch#NetworkConfiguration",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The network configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not\n specify this parameter.</p>"
|
||
}
|
||
},
|
||
"fargatePlatformConfiguration": {
|
||
"target": "com.amazonaws.batch#FargatePlatformConfiguration",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The platform configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not\n specify this parameter.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the details of a container that's part of a job.</p>"
|
||
}
|
||
},
|
||
"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": "<p>This parameter indicates the number of vCPUs reserved for the container.It overrides the <code>vcpus</code>\n parameter that's set in the job definition, but doesn't override any vCPU requirement specified in the\n <code>resourceRequirement</code> structure in the job definition.</p>\n <p>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 <code>resourceRequirement</code>. For EC2 resources, you can use\n either this parameter or <code>resourceRequirement</code> but not both. </p>\n <p>This parameter maps to <code>CpuShares</code> in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the\n <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--cpu-shares</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.\n Each vCPU is equivalent to 1,024 CPU shares. You must specify at least one vCPU.</p>\n <note>\n \n <p>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 <code>resourceRequirements</code>.</p>\n \n </note>"
|
||
}
|
||
},
|
||
"memory": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#deprecated": {
|
||
"message": "This field is deprecated, use resourceRequirements instead."
|
||
},
|
||
"smithy.api#documentation": "<p>This parameter indicates the amount of memory (in MiB) that's reserved for the job. It overrides the\n <code>memory</code> parameter set in the job definition, but doesn't override any memory requirement specified in\n the <code>ResourceRequirement</code> structure in the job definition.</p>\n <p>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 <code>resourceRequirement</code> instead.</p>"
|
||
}
|
||
},
|
||
"command": {
|
||
"target": "com.amazonaws.batch#StringList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The command to send to the container that overrides the default command from the Docker image or the job\n definition.</p>"
|
||
}
|
||
},
|
||
"instanceType": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The instance type to use for a multi-node parallel job.</p>\n <note>\n <p>This parameter isn't applicable to single-node container jobs or for jobs running on Fargate resources and\n shouldn't be provided.</p>\n </note>"
|
||
}
|
||
},
|
||
"environment": {
|
||
"target": "com.amazonaws.batch#EnvironmentVariables",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>Environment variables must not start with <code>AWS_BATCH</code>; this naming\n convention is reserved for variables that are set by the AWS Batch service.</p>\n </note>"
|
||
}
|
||
},
|
||
"resourceRequirements": {
|
||
"target": "com.amazonaws.batch#ResourceRequirements",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The type and amount of resources to assign to a container. This overrides the settings in the job definition.\n The supported resources include <code>GPU</code>, <code>MEMORY</code>, and <code>VCPU</code>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The overrides that should be sent to a container.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#ContainerProperties": {
|
||
"type": "structure",
|
||
"members": {
|
||
"image": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>\n <i>repository-url</i>/<i>image</i>:<i>tag</i>\n </code>.\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 <code>Image</code> in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of\n the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>IMAGE</code> parameter of <a href=\"https://docs.docker.com/engine/reference/run/\">docker\n run</a>.</p>\n <note>\n <p>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.</p>\n </note>\n <ul>\n <li>\n <p>Images in Amazon ECR repositories use the full registry and repository URI (for example,\n <code>012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name></code>).</p>\n </li>\n <li>\n <p>Images in official repositories on Docker Hub use a single name (for example, <code>ubuntu</code> or\n <code>mongo</code>).</p>\n </li>\n <li>\n <p>Images in other repositories on Docker Hub are qualified with an organization name (for example,\n <code>amazon/amazon-ecs-agent</code>).</p>\n </li>\n <li>\n <p>Images in other online repositories are qualified further by a domain name (for example,\n <code>quay.io/assemblyline/ubuntu</code>).</p>\n </li>\n </ul>"
|
||
}
|
||
},
|
||
"vcpus": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#deprecated": {
|
||
"message": "This field is deprecated, use resourceRequirements instead."
|
||
},
|
||
"smithy.api#documentation": "<p>The number of vCPUs reserved for the job. Each vCPU is equivalent to 1,024 CPU shares. This parameter maps to\n <code>CpuShares</code> in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the\n <code>--cpu-shares</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>. 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.</p>\n <p>This parameter is supported on EC2 resources but isn't supported for jobs that run on Fargate resources. For\n these resources, use <code>resourceRequirement</code> instead. You can use this parameter or\n <code>resourceRequirements</code> structure but not both.</p>\n <note>\n <p>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 <code>resourceRequirements</code>.</p>\n </note>"
|
||
}
|
||
},
|
||
"memory": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#deprecated": {
|
||
"message": "This field is deprecated, use resourceRequirements instead."
|
||
},
|
||
"smithy.api#documentation": "<p>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.</p>\n <p>This parameter maps to <code>Memory</code> in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the\n <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--memory</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker\n run</a>.</p>\n <p>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 <code>resourceRequirement</code>. You can do this for EC2\n resources.</p>\n <note>\n <p>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 <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html\">Memory\n Management</a> in the <i>AWS Batch User Guide</i>.</p>\n </note>"
|
||
}
|
||
},
|
||
"command": {
|
||
"target": "com.amazonaws.batch#StringList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The command that's passed to the container. This parameter maps to <code>Cmd</code> in the\n <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>COMMAND</code> parameter to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>. For more information, see <a href=\"https://docs.docker.com/engine/reference/builder/#cmd\">https://docs.docker.com/engine/reference/builder/#cmd</a>.</p>"
|
||
}
|
||
},
|
||
"jobRoleArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the IAM role that the container can assume for AWS permissions. For more information, see\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html\">IAM Roles for Tasks</a>\n in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
|
||
}
|
||
},
|
||
"executionRoleArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html\">AWS Batch execution IAM role</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"volumes": {
|
||
"target": "com.amazonaws.batch#Volumes",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A list of data volumes used in a job.</p>"
|
||
}
|
||
},
|
||
"environment": {
|
||
"target": "com.amazonaws.batch#EnvironmentVariables",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The environment variables to pass to a container. This parameter maps to <code>Env</code> in the\n <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--env</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>\n <important>\n <p>We don't recommend using plaintext environment variables for sensitive information, such as credential\n data.</p>\n </important>\n <note>\n <p>Environment variables must not start with <code>AWS_BATCH</code>; this naming\n convention is reserved for variables that are set by the AWS Batch service.</p>\n </note>"
|
||
}
|
||
},
|
||
"mountPoints": {
|
||
"target": "com.amazonaws.batch#MountPoints",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The mount points for data volumes in your container. This parameter maps to <code>Volumes</code> in the\n <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--volume</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>"
|
||
}
|
||
},
|
||
"readonlyRootFilesystem": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>When this parameter is true, the container is given read-only access to its root file system. This parameter\n maps to <code>ReadonlyRootfs</code> in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and\n the <code>--read-only</code> option to <code>docker run</code>.</p>"
|
||
}
|
||
},
|
||
"privileged": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>When this parameter is true, the container is given elevated permissions on the host container instance (similar\n to the <code>root</code> user). This parameter maps to <code>Privileged</code> in the\n <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--privileged</code> option to\n <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>. The default value is false.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided, or specified\n as false.</p>\n </note>"
|
||
}
|
||
},
|
||
"ulimits": {
|
||
"target": "com.amazonaws.batch#Ulimits",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A list of <code>ulimits</code> to set in the container. This parameter maps to <code>Ulimits</code> in the\n <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--ulimit</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.</p>\n </note>"
|
||
}
|
||
},
|
||
"user": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The user name to use inside the container. This parameter maps to <code>User</code> in the\n <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--user</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>"
|
||
}
|
||
},
|
||
"instanceType": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>This parameter isn't applicable to single-node container jobs or for jobs that run on Fargate resources and\n shouldn't be provided.</p>\n </note>"
|
||
}
|
||
},
|
||
"resourceRequirements": {
|
||
"target": "com.amazonaws.batch#ResourceRequirements",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The type and amount of resources to assign to a container. The supported resources include <code>GPU</code>,\n <code>MEMORY</code>, and <code>VCPU</code>.</p>"
|
||
}
|
||
},
|
||
"linuxParameters": {
|
||
"target": "com.amazonaws.batch#LinuxParameters",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Linux-specific modifications that are applied to the container, such as details for device mappings.</p>"
|
||
}
|
||
},
|
||
"logConfiguration": {
|
||
"target": "com.amazonaws.batch#LogConfiguration",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The log configuration specification for the container.</p>\n <p>This parameter maps to <code>LogConfig</code> in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the\n <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--log-driver</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.\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 <a href=\"https://docs.docker.com/engine/admin/logging/overview/\">Configure\n logging drivers</a> in the Docker documentation.</p>\n <note>\n <p>AWS Batch currently supports a subset of the logging drivers available to the Docker daemon (shown in the <a>LogConfiguration</a> data type).</p>\n </note>\n <p>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: <code>sudo docker version | grep \"Server API version\"</code>\n </p>\n <note>\n <p>The Amazon ECS container agent running on a container instance must register the logging drivers available on that\n instance with the <code>ECS_AVAILABLE_LOGGING_DRIVERS</code> environment variable before containers placed on that\n instance can use these log configuration options. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html\">Amazon ECS Container Agent Configuration</a> in the\n <i>Amazon Elastic Container Service Developer Guide</i>.</p>\n </note>"
|
||
}
|
||
},
|
||
"secrets": {
|
||
"target": "com.amazonaws.batch#SecretList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The secrets for the container. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html\">Specifying sensitive data</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"networkConfiguration": {
|
||
"target": "com.amazonaws.batch#NetworkConfiguration",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The network configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not\n specify this parameter.</p>"
|
||
}
|
||
},
|
||
"fargatePlatformConfiguration": {
|
||
"target": "com.amazonaws.batch#FargatePlatformConfiguration",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The platform configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not\n specify this parameter.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Container properties are used in job definitions to describe the container that's launched as part of a\n job.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#ContainerSummary": {
|
||
"type": "structure",
|
||
"members": {
|
||
"exitCode": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The exit code to return upon completion.</p>"
|
||
}
|
||
},
|
||
"reason": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A short (255 max characters) human-readable string to provide additional details about a running or stopped\n container.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing summary details of a container within a job.</p>"
|
||
}
|
||
},
|
||
"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": "<p>Creates an AWS Batch compute environment. You can create <code>MANAGED</code> or <code>UNMANAGED</code> compute\n environments. <code>MANAGED</code> compute environments can use Amazon EC2 or AWS Fargate resources.\n <code>UNMANAGED</code> compute environments can only use EC2 resources.</p>\n <p>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 <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html\">launch template</a> 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.</p>\n \n <note>\n <p>Multi-node parallel jobs aren't supported on Spot Instances.</p>\n </note>\n <p>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 <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container_instance_AMIs.html\">container instance AMIs</a> in the\n <i>Amazon Elastic Container Service Developer Guide</i>. After you created your unmanaged compute environment, you can use the <a>DescribeComputeEnvironments</a> 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 <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/launch_container_instance.html\">Launching an Amazon ECS container instance</a> in the\n <i>Amazon Elastic Container Service Developer Guide</i>.</p>\n <note>\n <p>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:</p>\n <ol>\n <li>\n <p>Create a new compute environment with the new AMI.</p>\n </li>\n <li>\n <p>Add the compute environment to an existing job queue.</p>\n </li>\n <li>\n <p>Remove the earlier compute environment from your job queue.</p>\n </li>\n <li>\n <p>Delete the earlier compute environment.</p>\n </li>\n </ol>\n </note>",
|
||
"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": "<p>The name for your compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and\n underscores are allowed.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"type": {
|
||
"target": "com.amazonaws.batch#CEType",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The type of the compute environment: <code>MANAGED</code> or <code>UNMANAGED</code>. For more information, see\n <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html\">Compute Environments</a> in the\n <i>AWS Batch User Guide</i>.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"state": {
|
||
"target": "com.amazonaws.batch#CEState",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The state of the compute environment. If the state is <code>ENABLED</code>, then the compute environment accepts\n jobs from a queue and can scale out automatically based on queues.</p>\n <p>If the state is <code>ENABLED</code>, 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.</p>\n <p>If the state is <code>DISABLED</code>, then the AWS Batch scheduler doesn't attempt to place jobs within the\n environment. Jobs in a <code>STARTING</code> or <code>RUNNING</code> state continue to progress normally. Managed\n compute environments in the <code>DISABLED</code> state don't scale out. However, they scale in to\n <code>minvCpus</code> value after instances become idle.</p>"
|
||
}
|
||
},
|
||
"computeResources": {
|
||
"target": "com.amazonaws.batch#ComputeResource",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Details about the compute resources managed by the compute environment. This parameter is required for managed\n compute environments. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html\">Compute Environments</a> in the <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"serviceRole": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html\">AWS Batch service IAM\n role</a> in the <i>AWS Batch User Guide</i>.</p>\n <important>\n <p>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.</p>\n </important>\n <p>If your specified role has a path other than <code>/</code>, 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 <code>bar</code> has a path\n of <code>/foo/</code> then you would specify <code>/foo/bar</code> as the role name. For more information, see <a href=\"https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html#identifiers-friendly-names\">Friendly names\n and paths</a> in the <i>IAM User Guide</i>.</p>\n <note>\n <p>Depending on how you created your AWS Batch service role, its ARN might contain the <code>service-role</code>\n path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN doesn't use the\n <code>service-role</code> path prefix. Because of this, we recommend that you specify the full ARN of your service\n role when you create compute environments.</p>\n </note>"
|
||
}
|
||
},
|
||
"tags": {
|
||
"target": "com.amazonaws.batch#TagrisTagsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html\">Tagging AWS Resources</a> in <i>AWS General\n Reference</i>.</p>\n <p>These tags can be updated or removed using the <a href=\"https://docs.aws.amazon.com/batch/latest/APIReference/API_TagResource.html\">TagResource</a> and <a href=\"https://docs.aws.amazon.com/batch/latest/APIReference/API_UntagResource.html\">UntagResource</a> API operations. These tags don't\n propagate to the underlying compute resources.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>CreateComputeEnvironment</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#CreateComputeEnvironmentResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"computeEnvironmentName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and\n underscores are allowed.</p>"
|
||
}
|
||
},
|
||
"computeEnvironmentArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the compute environment.</p>"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"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": "<p>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.</p>\n <p>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.</p>",
|
||
"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": "<p>The name of the job queue. Up to 128 letters (uppercase and lowercase), numbers, and underscores are\n allowed.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"state": {
|
||
"target": "com.amazonaws.batch#JQState",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The state of the job queue. If the job queue state is <code>ENABLED</code>, it is able to accept jobs. If the\n job queue state is <code>DISABLED</code>, new jobs can't be added to the queue, but jobs already in the queue can\n finish.</p>"
|
||
}
|
||
},
|
||
"priority": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The priority of the job queue. Job queues with a higher priority (or a higher integer value for the\n <code>priority</code> 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 <code>10</code> is given scheduling\n preference over a job queue with a priority value of <code>1</code>. All of the compute environments must be either\n EC2 (<code>EC2</code> or <code>SPOT</code>) or Fargate (<code>FARGATE</code> or <code>FARGATE_SPOT</code>); EC2 and\n Fargate compute environments cannot be mixed.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"computeEnvironmentOrder": {
|
||
"target": "com.amazonaws.batch#ComputeEnvironmentOrders",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>VALID</code> 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 (<code>EC2</code> or\n <code>SPOT</code>) or Fargate (<code>FARGATE</code> or <code>FARGATE_SPOT</code>); EC2 and Fargate compute\n environments can't be mixed.</p>\n <note>\n <p>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.</p>\n </note>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"tags": {
|
||
"target": "com.amazonaws.batch#TagrisTagsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html\">Tagging your AWS Batch resources</a> in <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>CreateJobQueue</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#CreateJobQueueResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"jobQueueName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the job queue.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"jobQueueArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the job queue.</p>",
|
||
"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": "<p>Deletes an AWS Batch compute environment.</p>\n <p>Before you can delete a compute environment, you must set its state to <code>DISABLED</code> with the <a>UpdateComputeEnvironment</a> API operation and disassociate it from any job queues with the <a>UpdateJobQueue</a> 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.</p>",
|
||
"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": "<p>The name or Amazon Resource Name (ARN) of the compute environment to delete.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>DeleteComputeEnvironment</code>.</p>"
|
||
}
|
||
},
|
||
"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": "<p>Deletes the specified job queue. You must first disable submissions for a queue with the <a>UpdateJobQueue</a> 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.</p>\n <p>It's not necessary to disassociate compute environments from a queue before submitting a\n <code>DeleteJobQueue</code> request.</p>",
|
||
"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": "<p>The short name or full Amazon Resource Name (ARN) of the queue to delete.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>DeleteJobQueue</code>.</p>"
|
||
}
|
||
},
|
||
"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": "<p>Deregisters an AWS Batch job definition. Job definitions are permanently deleted after 180 days.</p>",
|
||
"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": "<p>The name and revision (<code>name:revision</code>) or full Amazon Resource Name (ARN) of the job definition to deregister.</p>",
|
||
"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": "<p>Describes one or more of your compute environments.</p>\n <p>If you're using an unmanaged compute environment, you can use the <code>DescribeComputeEnvironment</code>\n operation to determine the <code>ecsClusterArn</code> that you should launch your Amazon ECS container instances\n into.</p>",
|
||
"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": "<p>A list of up to 100 compute environment names or full Amazon Resource Name (ARN) entries.</p>"
|
||
}
|
||
},
|
||
"maxResults": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The maximum number of cluster results returned by <code>DescribeComputeEnvironments</code> in paginated output.\n When this parameter is used, <code>DescribeComputeEnvironments</code> only returns <code>maxResults</code> results in\n a single page along with a <code>nextToken</code> response element. The remaining results of the initial request can\n be seen by sending another <code>DescribeComputeEnvironments</code> request with the returned <code>nextToken</code>\n value. This value can be between 1 and 100. If this parameter isn't used, then\n <code>DescribeComputeEnvironments</code> returns up to 100 results and a <code>nextToken</code>\n value if applicable.</p>"
|
||
}
|
||
},
|
||
"nextToken": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The <code>nextToken</code> value returned from a previous paginated <code>DescribeComputeEnvironments</code>\n request where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination\n continues from the end of the previous results that returned the <code>nextToken</code> value. This value is\n <code>null</code> when there are no more results to return.</p>\n <note>\n <p>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.</p>\n </note>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>DescribeComputeEnvironments</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#DescribeComputeEnvironmentsResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"computeEnvironments": {
|
||
"target": "com.amazonaws.batch#ComputeEnvironmentDetailList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The list of compute environments.</p>"
|
||
}
|
||
},
|
||
"nextToken": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The <code>nextToken</code> value to include in a future <code>DescribeComputeEnvironments</code> request. When\n the results of a <code>DescribeJobDefinitions</code> request exceed <code>maxResults</code>, this value can be used\n to retrieve the next page of results. This value is <code>null</code> when there are no more results to\n return.</p>"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"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": "<p>Describes a list of job definitions. You can specify a <code>status</code> (such as <code>ACTIVE</code>) to only\n return job definitions that match that status.</p>",
|
||
"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": "<p>A list of up to 100 job definition names or full Amazon Resource Name (ARN) entries.</p>"
|
||
}
|
||
},
|
||
"maxResults": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The maximum number of results returned by <code>DescribeJobDefinitions</code> in paginated output. When this\n parameter is used, <code>DescribeJobDefinitions</code> only returns <code>maxResults</code> results in a single page\n and a <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending\n another <code>DescribeJobDefinitions</code> request with the returned <code>nextToken</code> value. This value can be\n between 1 and 100. If this parameter isn't used, then\n <code>DescribeJobDefinitions</code> returns up to 100 results and a <code>nextToken</code> value\n if applicable.</p>"
|
||
}
|
||
},
|
||
"jobDefinitionName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the job definition to describe.</p>"
|
||
}
|
||
},
|
||
"status": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The status used to filter job definitions.</p>"
|
||
}
|
||
},
|
||
"nextToken": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The <code>nextToken</code> value returned from a previous paginated <code>DescribeJobDefinitions</code> request\n where <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues\n from the end of the previous results that returned the <code>nextToken</code> value. This value is <code>null</code>\n when there are no more results to return.</p>\n <note>\n <p>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.</p>\n </note>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>DescribeJobDefinitions</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#DescribeJobDefinitionsResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"jobDefinitions": {
|
||
"target": "com.amazonaws.batch#JobDefinitionList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The list of job definitions.</p>"
|
||
}
|
||
},
|
||
"nextToken": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The <code>nextToken</code> value to include in a future <code>DescribeJobDefinitions</code> request. When the\n results of a <code>DescribeJobDefinitions</code> request exceed <code>maxResults</code>, this value can be used to\n retrieve the next page of results. This value is <code>null</code> when there are no more results to return.</p>"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"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": "<p>Describes one or more of your job queues.</p>",
|
||
"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": "<p>A list of up to 100 queue names or full queue Amazon Resource Name (ARN) entries.</p>"
|
||
}
|
||
},
|
||
"maxResults": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The maximum number of results returned by <code>DescribeJobQueues</code> in paginated output. When this\n parameter is used, <code>DescribeJobQueues</code> only returns <code>maxResults</code> results in a single page and a\n <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another\n <code>DescribeJobQueues</code> request with the returned <code>nextToken</code> value. This value can be between\n 1 and 100. If this parameter isn't used, then <code>DescribeJobQueues</code> returns up\n to 100 results and a <code>nextToken</code> value if applicable.</p>"
|
||
}
|
||
},
|
||
"nextToken": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The <code>nextToken</code> value returned from a previous paginated <code>DescribeJobQueues</code> request where\n <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the\n end of the previous results that returned the <code>nextToken</code> value. This value is <code>null</code> when\n there are no more results to return.</p>\n <note>\n <p>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.</p>\n </note>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>DescribeJobQueues</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#DescribeJobQueuesResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"jobQueues": {
|
||
"target": "com.amazonaws.batch#JobQueueDetailList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The list of job queues.</p>"
|
||
}
|
||
},
|
||
"nextToken": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The <code>nextToken</code> value to include in a future <code>DescribeJobQueues</code> request. When the results\n of a <code>DescribeJobQueues</code> request exceed <code>maxResults</code>, this value can be used to retrieve the\n next page of results. This value is <code>null</code> when there are no more results to return.</p>"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"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": "<p>Describes a list of AWS Batch jobs.</p>",
|
||
"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": "<p>A list of up to 100 job IDs.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>DescribeJobs</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#DescribeJobsResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"jobs": {
|
||
"target": "com.amazonaws.batch#JobDetailList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The list of jobs.</p>"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"com.amazonaws.batch#Device": {
|
||
"type": "structure",
|
||
"members": {
|
||
"hostPath": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The path for the device on the host container instance.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"containerPath": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The path inside the container used to expose the host device. By default, the <code>hostPath</code> value is\n used.</p>"
|
||
}
|
||
},
|
||
"permissions": {
|
||
"target": "com.amazonaws.batch#DeviceCgroupPermissions",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The explicit permissions to provide to the container for the device. By default, the container has permissions\n for <code>read</code>, <code>write</code>, and <code>mknod</code> for the device.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing a container instance host device.</p>\n <note>\n <p>This object isn't applicable to jobs running on Fargate resources and shouldn't be provided.</p>\n </note>"
|
||
}
|
||
},
|
||
"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": "<p>The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the\n <code>EFSVolumeConfiguration</code> must either be omitted or set to <code>/</code> 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 <code>EFSVolumeConfiguration</code>. For more information, see <a href=\"https://docs.aws.amazon.com/efs/latest/ug/efs-access-points.html\">Working with Amazon EFS Access Points</a> in the\n <i>Amazon Elastic File System User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"iam": {
|
||
"target": "com.amazonaws.batch#EFSAuthorizationConfigIAM",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>EFSVolumeConfiguration</code>. If this parameter\n is omitted, the default value of <code>DISABLED</code> is used. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/ug/efs-volumes.html#efs-volume-accesspoints\">Using Amazon EFS Access Points</a> in the\n <i>AWS Batch User Guide</i>. EFS IAM authorization requires that <code>TransitEncryption</code> be\n <code>ENABLED</code> and that a <code>JobRoleArn</code> is specified.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The authorization configuration details for the Amazon EFS file system.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The Amazon EFS file system ID to use.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"rootDirectory": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>/</code> will have the same effect as omitting\n this parameter.</p>\n <important>\n <p>If an EFS access point is specified in the <code>authorizationConfig</code>, the root directory parameter must\n either be omitted or set to <code>/</code> which will enforce the path set on the Amazon EFS access point.</p>\n </important>"
|
||
}
|
||
},
|
||
"transitEncryption": {
|
||
"target": "com.amazonaws.batch#EFSTransitEncryption",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>DISABLED</code> is used. For more information, see <a href=\"https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html\">Encrypting data in transit</a> in the\n <i>Amazon Elastic File System User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"transitEncryptionPort": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html\">EFS Mount Helper</a> in\n the <i>Amazon Elastic File System User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"authorizationConfig": {
|
||
"target": "com.amazonaws.batch#EFSAuthorizationConfig",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The authorization configuration details for the Amazon EFS file system.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>This parameter is specified when you are using an Amazon Elastic File System file system for task storage. For more information,\n see <a href=\"https://docs.aws.amazon.com/batch/latest/ug/efs-volumes.html\">Amazon EFS Volumes</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#Ec2Configuration": {
|
||
"type": "structure",
|
||
"members": {
|
||
"imageType": {
|
||
"target": "com.amazonaws.batch#ImageType",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The image type to match with the instance type to select an AMI. If the <code>imageIdOverride</code> parameter\n isn't specified, then a recent <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html\">Amazon ECS-optimized AMI</a> (<code>ECS_AL1</code>) is\n used. Starting on March 31, 2021, this default will be changing to <code>ECS_AL2</code> (<a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami\">Amazon Linux 2</a>).</p>\n <dl>\n <dt>ECS_AL2</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami\">Amazon Linux\n 2</a>− Default for all AWS Graviton-based instance families (for example, <code>C6g</code>,\n <code>M6g</code>, <code>R6g</code>, and <code>T4g</code>) and can be used for all non-GPU instance types.</p>\n </dd>\n <dt>ECS_AL2_NVIDIA</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#gpuami\">Amazon Linux\n 2 (GPU)</a>−Default for all GPU instance families (for example <code>P4</code> and <code>G4</code>) and\n can be used for all non-AWS Graviton-based instance types.</p>\n </dd>\n <dt>ECS_AL1</dt>\n <dd>\n <p>\n <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami\">Amazon\n Linux</a>−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 <a href=\"http://aws.amazon.com/amazon-linux-ami/\">Amazon\n Linux AMI</a>.</p>\n </dd>\n </dl>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"imageIdOverride": {
|
||
"target": "com.amazonaws.batch#ImageIdOverride",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The AMI ID used for instances launched in the compute environment that match the image type. This setting\n overrides the <code>imageId</code> set in the <code>computeResource</code> object.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Provides information used to select Amazon Machine Images (AMIs) for instances in the compute environment. If\n <code>Ec2Configuration</code> isn't specified, the default is currently <code>ECS_AL1</code> (<a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#alami\">Amazon Linux</a>) for\n non-GPU, non-Graviton instances. Starting on March 31, 2021, this default will be changing to <code>ECS_AL2</code>\n (<a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-optimized_AMI.html#al2ami\">Amazon Linux\n 2</a>).</p>\n <note>\n <p>This object isn't applicable to jobs running on Fargate resources.</p>\n </note>"
|
||
}
|
||
},
|
||
"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": "<p>Contains a glob pattern to match against the <code>StatusReason</code> 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.</p>"
|
||
}
|
||
},
|
||
"onReason": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains a glob pattern to match against the <code>Reason</code> 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.</p>"
|
||
}
|
||
},
|
||
"onExitCode": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains a glob pattern to match against the decimal representation of the <code>ExitCode</code> 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.</p>"
|
||
}
|
||
},
|
||
"action": {
|
||
"target": "com.amazonaws.batch#RetryAction",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Specifies the action to take if all of the specified conditions (<code>onStatusReason</code>,\n <code>onReason</code>, and <code>onExitCode</code>) are met. The values aren't case sensitive.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Specifies a set of conditions to be met, and an action to take (<code>RETRY</code> or <code>EXIT</code>) if all\n conditions are met.</p>"
|
||
}
|
||
},
|
||
"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": "<p>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 <code>LATEST</code> 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 <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/platform_versions.html\">AWS Fargate platform\n versions</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The platform configuration for jobs running on Fargate resources. For jobs that run on EC2 resources, you\n shouldn't specify this parameter.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#Host": {
|
||
"type": "structure",
|
||
"members": {
|
||
"sourcePath": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>This parameter isn't applicable to jobs that run on Fargate resources and shouldn't be provided.</p>\n </note>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The name of the job definition.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"jobDefinitionArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the job definition.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"revision": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The revision of the job definition.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"status": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The status of the job definition.</p>"
|
||
}
|
||
},
|
||
"type": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The type of job definition. If the job is run on Fargate resources, then <code>multinode</code> isn't\n supported. For more information about multi-node parallel jobs, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html\">Creating a multi-node parallel job definition</a> in the\n <i>AWS Batch User Guide</i>.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"parameters": {
|
||
"target": "com.amazonaws.batch#ParametersMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>SubmitJob</code> request override any corresponding\n parameter defaults from the job definition. For more information about specifying parameters, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/job_definition_parameters.html\">Job Definition Parameters</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"retryStrategy": {
|
||
"target": "com.amazonaws.batch#RetryStrategy",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The retry strategy to use for failed jobs that are submitted with this job definition.</p>"
|
||
}
|
||
},
|
||
"containerProperties": {
|
||
"target": "com.amazonaws.batch#ContainerProperties",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object with various properties specific to container-based jobs.</p>"
|
||
}
|
||
},
|
||
"timeout": {
|
||
"target": "com.amazonaws.batch#JobTimeout",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>"
|
||
}
|
||
},
|
||
"nodeProperties": {
|
||
"target": "com.amazonaws.batch#NodeProperties",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object with various properties specific to multi-node parallel jobs.</p>\n <note>\n <p>If the job runs on Fargate resources, then you must not specify <code>nodeProperties</code>; use\n <code>containerProperties</code> instead.</p>\n </note>"
|
||
}
|
||
},
|
||
"tags": {
|
||
"target": "com.amazonaws.batch#TagrisTagsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The tags applied to the job definition.</p>"
|
||
}
|
||
},
|
||
"propagateTags": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>FAILED</code> state.</p>"
|
||
}
|
||
},
|
||
"platformCapabilities": {
|
||
"target": "com.amazonaws.batch#PlatformCapabilityList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The platform capabilities required by the job definition. If no value is specified, it defaults to\n <code>EC2</code>. Jobs run on Fargate resources specify <code>FARGATE</code>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing an AWS Batch job definition.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The job ID of the AWS Batch job associated with this dependency.</p>"
|
||
}
|
||
},
|
||
"type": {
|
||
"target": "com.amazonaws.batch#ArrayJobDependency",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The type of the job dependency.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing an AWS Batch job dependency.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The Amazon Resource Name (ARN) of the job.</p>"
|
||
}
|
||
},
|
||
"jobName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the job.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"jobId": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The ID for the job.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"jobQueue": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the job queue that the job is associated with.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"status": {
|
||
"target": "com.amazonaws.batch#JobStatus",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The current status for the job.</p>\n <note>\n <p>If your jobs don't progress to <code>STARTING</code>, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#job_stuck_in_runnable\">Jobs Stuck in RUNNABLE Status</a> in the\n troubleshooting section of the <i>AWS Batch User Guide</i>.</p>\n </note>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"attempts": {
|
||
"target": "com.amazonaws.batch#AttemptDetails",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A list of job attempts associated with this job.</p>"
|
||
}
|
||
},
|
||
"statusReason": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A short, human-readable string to provide additional details about the current status of the job.</p>"
|
||
}
|
||
},
|
||
"createdAt": {
|
||
"target": "com.amazonaws.batch#Long",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>SUBMITTED</code> state (at the time <a>SubmitJob</a> was called).\n For array child jobs, this is when the child job was spawned by its parent and entered the <code>PENDING</code>\n state.</p>"
|
||
}
|
||
},
|
||
"retryStrategy": {
|
||
"target": "com.amazonaws.batch#RetryStrategy",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The retry strategy to use for this job if an attempt fails.</p>"
|
||
}
|
||
},
|
||
"startedAt": {
|
||
"target": "com.amazonaws.batch#Long",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Unix timestamp (in milliseconds) for when the job was started (when the job transitioned from the\n <code>STARTING</code> state to the <code>RUNNING</code> state). This parameter isn't provided for child jobs of\n array jobs or multi-node parallel jobs.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"stoppedAt": {
|
||
"target": "com.amazonaws.batch#Long",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Unix timestamp (in milliseconds) for when the job was stopped (when the job transitioned from the\n <code>RUNNING</code> state to a terminal state, such as <code>SUCCEEDED</code> or <code>FAILED</code>).</p>"
|
||
}
|
||
},
|
||
"dependsOn": {
|
||
"target": "com.amazonaws.batch#JobDependencyList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A list of job IDs that this job depends on.</p>"
|
||
}
|
||
},
|
||
"jobDefinition": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The job definition that's used by this job.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"parameters": {
|
||
"target": "com.amazonaws.batch#ParametersMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Additional parameters passed to the job that replace parameter substitution placeholders or override any\n corresponding parameter defaults from the job definition.</p>"
|
||
}
|
||
},
|
||
"container": {
|
||
"target": "com.amazonaws.batch#ContainerDetail",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the details of the container that's associated with the job.</p>"
|
||
}
|
||
},
|
||
"nodeDetails": {
|
||
"target": "com.amazonaws.batch#NodeDetails",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the details of a node that's associated with a multi-node parallel job.</p>"
|
||
}
|
||
},
|
||
"nodeProperties": {
|
||
"target": "com.amazonaws.batch#NodeProperties",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the node properties of a multi-node parallel job.</p>\n <note>\n <p>This isn't applicable to jobs running on Fargate resources.</p>\n </note>"
|
||
}
|
||
},
|
||
"arrayProperties": {
|
||
"target": "com.amazonaws.batch#ArrayPropertiesDetail",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The array properties of the job, if it is an array job.</p>"
|
||
}
|
||
},
|
||
"timeout": {
|
||
"target": "com.amazonaws.batch#JobTimeout",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The timeout configuration for the job.</p>"
|
||
}
|
||
},
|
||
"tags": {
|
||
"target": "com.amazonaws.batch#TagrisTagsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The tags applied to the job.</p>"
|
||
}
|
||
},
|
||
"propagateTags": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>FAILED</code> state.</p>"
|
||
}
|
||
},
|
||
"platformCapabilities": {
|
||
"target": "com.amazonaws.batch#PlatformCapabilityList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The platform capabilities required by the job definition. If no value is specified, it defaults to\n <code>EC2</code>. Jobs run on Fargate resources specify <code>FARGATE</code>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing an AWS Batch job.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The name of the job queue.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"jobQueueArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the job queue.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"state": {
|
||
"target": "com.amazonaws.batch#JQState",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Describes the ability of the queue to accept new jobs. If the job queue state is <code>ENABLED</code>, it's able\n to accept jobs. If the job queue state is <code>DISABLED</code>, new jobs can't be added to the queue, but jobs\n already in the queue can finish.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"status": {
|
||
"target": "com.amazonaws.batch#JQStatus",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The status of the job queue (for example, <code>CREATING</code> or <code>VALID</code>).</p>"
|
||
}
|
||
},
|
||
"statusReason": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A short, human-readable string to provide additional details about the current status of the job queue.</p>"
|
||
}
|
||
},
|
||
"priority": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The priority of the job queue. Job queues with a higher priority (or a higher integer value for the\n <code>priority</code> 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 <code>10</code> is given scheduling\n preference over a job queue with a priority value of <code>1</code>. All of the compute environments must be either\n EC2 (<code>EC2</code> or <code>SPOT</code>) or Fargate (<code>FARGATE</code> or <code>FARGATE_SPOT</code>); EC2 and\n Fargate compute environments can't be mixed.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"computeEnvironmentOrder": {
|
||
"target": "com.amazonaws.batch#ComputeEnvironmentOrders",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"tags": {
|
||
"target": "com.amazonaws.batch#TagrisTagsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The tags applied to the job queue. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html\">Tagging your AWS Batch resources</a> in\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the details of an AWS Batch job queue.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The Amazon Resource Name (ARN) of the job.</p>"
|
||
}
|
||
},
|
||
"jobId": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The ID of the job.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"jobName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the job.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"createdAt": {
|
||
"target": "com.amazonaws.batch#Long",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>SUBMITTED</code> state (at the time <a>SubmitJob</a> was called). For array child jobs,\n this is when the child job was spawned by its parent and entered the <code>PENDING</code> state.</p>"
|
||
}
|
||
},
|
||
"status": {
|
||
"target": "com.amazonaws.batch#JobStatus",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The current status for the job.</p>"
|
||
}
|
||
},
|
||
"statusReason": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A short, human-readable string to provide additional details about the current status of the job.</p>"
|
||
}
|
||
},
|
||
"startedAt": {
|
||
"target": "com.amazonaws.batch#Long",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Unix timestamp for when the job was started (when the job transitioned from the <code>STARTING</code> state\n to the <code>RUNNING</code> state).</p>"
|
||
}
|
||
},
|
||
"stoppedAt": {
|
||
"target": "com.amazonaws.batch#Long",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Unix timestamp for when the job was stopped (when the job transitioned from the <code>RUNNING</code> state\n to a terminal state, such as <code>SUCCEEDED</code> or <code>FAILED</code>).</p>"
|
||
}
|
||
},
|
||
"container": {
|
||
"target": "com.amazonaws.batch#ContainerSummary",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the details of the container that's associated with the job.</p>"
|
||
}
|
||
},
|
||
"arrayProperties": {
|
||
"target": "com.amazonaws.batch#ArrayPropertiesSummary",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The array properties of the job, if it is an array job.</p>"
|
||
}
|
||
},
|
||
"nodeProperties": {
|
||
"target": "com.amazonaws.batch#NodePropertiesSummary",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The node properties for a single node in a job summary list.</p>\n <note>\n <p>This isn't applicable to jobs running on Fargate resources.</p>\n </note>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing summary details of a job.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The time duration in seconds (measured from the job attempt's <code>startedAt</code> timestamp) after which\n AWS Batch terminates your jobs if they have not finished. The minimum value for the timeout is 60 seconds.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing a job timeout configuration.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#KeyValuePair": {
|
||
"type": "structure",
|
||
"members": {
|
||
"name": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the key-value pair. For environment variables, this is the name of the environment variable.</p>"
|
||
}
|
||
},
|
||
"value": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The value of the key-value pair. For environment variables, this is the value of the environment\n variable.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A key-value pair object.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#LaunchTemplateSpecification": {
|
||
"type": "structure",
|
||
"members": {
|
||
"launchTemplateId": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The ID of the launch template.</p>"
|
||
}
|
||
},
|
||
"launchTemplateName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the launch template.</p>"
|
||
}
|
||
},
|
||
"version": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The version number of the launch template, <code>$Latest</code>, or <code>$Default</code>.</p>\n <p>If the value is <code>$Latest</code>, the latest version of the launch template is used. If the value is\n <code>$Default</code>, the default version of the launch template is used.</p>\n <important>\n <p>After the compute environment is created, the launch template version used will not be changed, even if the\n <code>$Default</code> or <code>$Latest</code> 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.</p>\n </important>\n <p>Default: <code>$Default</code>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>\n <p>If security groups are specified using both the <code>securityGroupIds</code> parameter of\n <code>CreateComputeEnvironment</code> and the launch template, the values in the <code>securityGroupIds</code>\n parameter of <code>CreateComputeEnvironment</code> will be used.</p>\n <note>\n <p>This object isn't applicable to jobs running on Fargate resources.</p>\n </note>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#LinuxParameters": {
|
||
"type": "structure",
|
||
"members": {
|
||
"devices": {
|
||
"target": "com.amazonaws.batch#DevicesList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Any host devices to expose to the container. This parameter maps to <code>Devices</code> in the\n <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--device</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.</p>\n </note>"
|
||
}
|
||
},
|
||
"initProcessEnabled": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>If true, run an <code>init</code> process inside the container that forwards signals and reaps processes. This\n parameter maps to the <code>--init</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.\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: <code>sudo docker version | grep \"Server API version\"</code>\n </p>"
|
||
}
|
||
},
|
||
"sharedMemorySize": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The value for the size (in MiB) of the <code>/dev/shm</code> volume. This parameter maps to the\n <code>--shm-size</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.</p>\n </note>"
|
||
}
|
||
},
|
||
"tmpfs": {
|
||
"target": "com.amazonaws.batch#TmpfsList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The container path, mount options, and size (in MiB) of the tmpfs mount. This parameter maps to the\n <code>--tmpfs</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.</p>\n </note>"
|
||
}
|
||
},
|
||
"maxSwap": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The total amount of swap memory (in MiB) a container can use. This parameter is translated to the\n <code>--memory-swap</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a> where the value is the\n sum of the container memory plus the <code>maxSwap</code> value. For more information, see <a href=\"https://docs.docker.com/config/containers/resource_constraints/#--memory-swap-details\">\n <code>--memory-swap</code> details</a> in the Docker documentation.</p>\n <p>If a <code>maxSwap</code> value of <code>0</code> is specified, the container doesn't use swap. Accepted values\n are <code>0</code> or any positive integer. If the <code>maxSwap</code> parameter is omitted, the container doesn't\n use the swap configuration for the container instance it is running on. A <code>maxSwap</code> value must be set for\n the <code>swappiness</code> parameter to be used.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.</p>\n </note>"
|
||
}
|
||
},
|
||
"swappiness": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>This allows you to tune a container's memory swappiness behavior. A <code>swappiness</code> value of\n <code>0</code> causes swapping not to happen unless absolutely necessary. A <code>swappiness</code> value of\n <code>100</code> causes pages to be swapped very aggressively. Accepted values are whole numbers between\n <code>0</code> and <code>100</code>. If the <code>swappiness</code> parameter isn't specified, a default value of\n <code>60</code> is used. If a value isn't specified for <code>maxSwap</code> then this parameter is ignored. If\n <code>maxSwap</code> is set to 0, the container doesn't use swap. This parameter maps to the\n <code>--memory-swappiness</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>\n <p>Consider the following when you use a per-container swap configuration.</p>\n <ul>\n <li>\n <p>Swap space must be enabled and allocated on the container instance for the containers to use.</p>\n <note>\n <p>The Amazon ECS optimized AMIs don't have swap enabled by default. You must enable swap on the instance to use this\n feature. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-store-swap-volumes.html\">Instance Store Swap Volumes</a> in the\n <i>Amazon EC2 User Guide for Linux Instances</i> or <a href=\"http://aws.amazon.com/premiumsupport/knowledge-center/ec2-memory-swap-file/\">How do I allocate memory to work as swap space in an\n Amazon EC2 instance by using a swap file?</a>\n </p>\n </note>\n </li>\n <li>\n <p>The swap space parameters are only supported for job definitions using EC2 resources.</p>\n </li>\n <li>\n <p>If the <code>maxSwap</code> and <code>swappiness</code> parameters are omitted from a job definition, each\n container will have a default <code>swappiness</code> value of 60, and the total swap usage will be limited to two\n times the memory reservation of the container.</p>\n </li>\n </ul>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.</p>\n </note>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Linux-specific modifications that are applied to the container, such as details for device mappings.</p>"
|
||
}
|
||
},
|
||
"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": "<p>Returns a list of AWS Batch jobs.</p>\n <p>You must specify only one of the following items:</p>\n <ul>\n <li>\n <p>A job queue ID to return a list of jobs in that job queue</p>\n </li>\n <li>\n <p>A multi-node parallel job ID to return a list of nodes for that job</p>\n </li>\n <li>\n <p>An array job ID to return a list of the children for that job</p>\n </li>\n </ul>\n <p>You can filter the results by job status with the <code>jobStatus</code> parameter. If you don't specify a\n status, only <code>RUNNING</code> jobs are returned.</p>",
|
||
"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": "<p>The name or full Amazon Resource Name (ARN) of the job queue used to list jobs.</p>"
|
||
}
|
||
},
|
||
"arrayJobId": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>"
|
||
}
|
||
},
|
||
"multiNodeJobId": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>"
|
||
}
|
||
},
|
||
"jobStatus": {
|
||
"target": "com.amazonaws.batch#JobStatus",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The job status used to filter jobs in the specified queue. If you don't specify a status, only\n <code>RUNNING</code> jobs are returned.</p>"
|
||
}
|
||
},
|
||
"maxResults": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The maximum number of results returned by <code>ListJobs</code> in paginated output. When this parameter is\n used, <code>ListJobs</code> only returns <code>maxResults</code> results in a single page and a\n <code>nextToken</code> response element. The remaining results of the initial request can be seen by sending another\n <code>ListJobs</code> request with the returned <code>nextToken</code> value. This value can be between\n 1 and 100. If this parameter isn't used, then <code>ListJobs</code> returns up to\n 100 results and a <code>nextToken</code> value if applicable.</p>"
|
||
}
|
||
},
|
||
"nextToken": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The <code>nextToken</code> value returned from a previous paginated <code>ListJobs</code> request where\n <code>maxResults</code> was used and the results exceeded the value of that parameter. Pagination continues from the\n end of the previous results that returned the <code>nextToken</code> value. This value is <code>null</code> when\n there are no more results to return.</p>\n <note>\n <p>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.</p>\n </note>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>ListJobs</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#ListJobsResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"jobSummaryList": {
|
||
"target": "com.amazonaws.batch#JobSummaryList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A list of job summaries that match the request.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"nextToken": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The <code>nextToken</code> value to include in a future <code>ListJobs</code> request. When the results of a\n <code>ListJobs</code> request exceed <code>maxResults</code>, this value can be used to retrieve the next page of\n results. This value is <code>null</code> when there are no more results to return.</p>"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"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": "<p>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.</p>",
|
||
"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": "<p>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.</p>",
|
||
"smithy.api#httpLabel": {},
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"com.amazonaws.batch#ListTagsForResourceResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"tags": {
|
||
"target": "com.amazonaws.batch#TagrisTagsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The tags for the resource.</p>"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"com.amazonaws.batch#LogConfiguration": {
|
||
"type": "structure",
|
||
"members": {
|
||
"logDriver": {
|
||
"target": "com.amazonaws.batch#LogDriver",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>\n <p>The supported log drivers are <code>awslogs</code>, <code>fluentd</code>, <code>gelf</code>,\n <code>json-file</code>, <code>journald</code>, <code>logentries</code>, <code>syslog</code>, and\n <code>splunk</code>.</p>\n <note>\n <p>Jobs running on Fargate resources are restricted to the <code>awslogs</code> and <code>splunk</code> log\n drivers.</p>\n </note>\n <dl>\n <dt>awslogs</dt>\n <dd>\n <p>Specifies the Amazon CloudWatch Logs logging driver. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/using_awslogs.html\">Using the awslogs Log Driver</a> in the\n <i>AWS Batch User Guide</i> and <a href=\"https://docs.docker.com/config/containers/logging/awslogs/\">Amazon CloudWatch Logs logging driver</a> in the Docker documentation.</p>\n </dd>\n <dt>fluentd</dt>\n <dd>\n <p>Specifies the Fluentd logging driver. For more information, including usage and options, see <a href=\"https://docs.docker.com/config/containers/logging/fluentd/\">Fluentd logging driver</a> in the Docker\n documentation.</p>\n </dd>\n <dt>gelf</dt>\n <dd>\n <p>Specifies the Graylog Extended Format (GELF) logging driver. For more information, including usage and\n options, see <a href=\"https://docs.docker.com/config/containers/logging/gelf/\">Graylog Extended Format logging\n driver</a> in the Docker documentation.</p>\n </dd>\n <dt>journald</dt>\n <dd>\n <p>Specifies the journald logging driver. For more information, including usage and options, see <a href=\"https://docs.docker.com/config/containers/logging/journald/\">Journald logging driver</a> in the Docker\n documentation.</p>\n </dd>\n <dt>json-file</dt>\n <dd>\n <p>Specifies the JSON file logging driver. For more information, including usage and options, see <a href=\"https://docs.docker.com/config/containers/logging/json-file/\">JSON File logging driver</a> in the Docker\n documentation.</p>\n </dd>\n <dt>splunk</dt>\n <dd>\n <p>Specifies the Splunk logging driver. For more information, including usage and options, see <a href=\"https://docs.docker.com/config/containers/logging/splunk/\">Splunk logging driver</a> in the Docker\n documentation.</p>\n </dd>\n <dt>syslog</dt>\n <dd>\n <p>Specifies the syslog logging driver. For more information, including usage and options, see <a href=\"https://docs.docker.com/config/containers/logging/syslog/\">Syslog logging driver</a> in the Docker\n documentation.</p>\n </dd>\n </dl>\n <note>\n <p>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 <a href=\"https://github.com/aws/amazon-ecs-agent\">available on\n GitHub</a> 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.</p>\n </note>\n <p>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: <code>sudo docker version | grep \"Server API version\"</code>\n </p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"options": {
|
||
"target": "com.amazonaws.batch#LogConfigurationOptionsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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: <code>sudo docker version | grep \"Server API version\"</code>\n </p>"
|
||
}
|
||
},
|
||
"secretOptions": {
|
||
"target": "com.amazonaws.batch#SecretList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The secrets to pass to the log configuration. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html\">Specifying Sensitive Data</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Log configuration options to send to a custom log driver for the container.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The path on the container where the host volume is mounted.</p>"
|
||
}
|
||
},
|
||
"readOnly": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>If this value is <code>true</code>, the container has read-only access to the volume. Otherwise, the container\n can write to the volume. The default value is <code>false</code>.</p>"
|
||
}
|
||
},
|
||
"sourceVolume": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the volume to mount.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Details on a Docker volume mount point that's used in a job's container properties. This parameter maps to\n <code>Volumes</code> in the <a href=\"https://docs.docker.com/engine/reference/api/docker_remote_api_v1.19/#create-a-container\">Create a\n container</a> section of the Docker Remote API and the <code>--volume</code> option to docker run.</p>"
|
||
}
|
||
},
|
||
"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": "<p>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 <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-networking.html\">Amazon ECS task networking</a>. The\n default value is \"DISABLED\".</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The network configuration for jobs running on Fargate resources. Jobs running on EC2 resources must not\n specify this parameter.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#NetworkInterface": {
|
||
"type": "structure",
|
||
"members": {
|
||
"attachmentId": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The attachment ID for the network interface.</p>"
|
||
}
|
||
},
|
||
"ipv6Address": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The private IPv6 address for the network interface.</p>"
|
||
}
|
||
},
|
||
"privateIpv4Address": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The private IPv4 address for the network interface.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the elastic network interface for a multi-node parallel job node.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The node index for the node. Node index numbering begins at zero. This index is also available on the node with\n the <code>AWS_BATCH_JOB_NODE_INDEX</code> environment variable.</p>"
|
||
}
|
||
},
|
||
"isMainNode": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Specifies whether the current node is the main node for a multi-node parallel job.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the details of a multi-node parallel job node.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#NodeOverrides": {
|
||
"type": "structure",
|
||
"members": {
|
||
"numNodes": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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:</p>\n <ul>\n <li>\n <p>There must be at least one node range in your job definition that has an open upper boundary (such as\n <code>:</code> or <code>n:</code>).</p>\n </li>\n <li>\n <p>The lower boundary of the node range specified in the job definition must be fewer than the number of nodes\n specified in the override.</p>\n </li>\n <li>\n <p>The main node index specified in the job definition must be fewer than the number of nodes specified in the\n override.</p>\n </li>\n </ul>"
|
||
}
|
||
},
|
||
"nodePropertyOverrides": {
|
||
"target": "com.amazonaws.batch#NodePropertyOverrides",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The node property overrides for the job.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Object representing any node overrides to a job definition that's used in a <a>SubmitJob</a> API\n operation.</p>\n <note>\n <p>This isn't applicable to jobs running on Fargate resources and shouldn't be provided; use\n <code>containerOverrides</code> instead.</p>\n </note>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#NodeProperties": {
|
||
"type": "structure",
|
||
"members": {
|
||
"numNodes": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The number of nodes associated with a multi-node parallel job.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"mainNode": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"nodeRangeProperties": {
|
||
"target": "com.amazonaws.batch#NodeRangeProperties",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A list of node ranges and their properties associated with a multi-node parallel job.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the node properties of a multi-node parallel job.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#NodePropertiesSummary": {
|
||
"type": "structure",
|
||
"members": {
|
||
"isMainNode": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Specifies whether the current node is the main node for a multi-node parallel job.</p>"
|
||
}
|
||
},
|
||
"numNodes": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The number of nodes associated with a multi-node parallel job.</p>"
|
||
}
|
||
},
|
||
"nodeIndex": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The node index for the node. Node index numbering begins at zero. This index is also available on the node with\n the <code>AWS_BATCH_JOB_NODE_INDEX</code> environment variable.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the properties of a node that's associated with a multi-node parallel job.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#NodePropertyOverride": {
|
||
"type": "structure",
|
||
"members": {
|
||
"targetNodes": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The range of nodes, using node index values, that's used to override. A range of <code>0:3</code> indicates\n nodes with index values of <code>0</code> through <code>3</code>. If the starting range value is omitted\n (<code>:n</code>), then <code>0</code> is used to start the range. If the ending range value is omitted\n (<code>n:</code>), then the highest possible node index is used to end the range.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"containerOverrides": {
|
||
"target": "com.amazonaws.batch#ContainerOverrides",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The overrides that should be sent to a node range.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Object representing any node overrides to a job definition that's used in a <a>SubmitJob</a> API\n operation.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The range of nodes, using node index values. A range of <code>0:3</code> indicates nodes with index values of\n <code>0</code> through <code>3</code>. If the starting range value is omitted (<code>:n</code>), then <code>0</code>\n is used to start the range. If the ending range value is omitted (<code>n:</code>), then the highest possible node\n index is used to end the range. Your accumulative node ranges must account for all nodes (<code>0:n</code>). You can\n nest node ranges, for example <code>0:10</code> and <code>4:5</code>, in which case the <code>4:5</code> range\n properties override the <code>0:10</code> properties.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"container": {
|
||
"target": "com.amazonaws.batch#ContainerProperties",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The container details for the node range.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the properties of the node range for a multi-node parallel job.</p>"
|
||
}
|
||
},
|
||
"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": "<p>Registers an AWS Batch job definition.</p>",
|
||
"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": "<p>The name of the job definition to register. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and\n underscores are allowed.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"type": {
|
||
"target": "com.amazonaws.batch#JobDefinitionType",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The type of job definition. For more information about multi-node parallel jobs, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/multi-node-job-def.html\">Creating a multi-node parallel job definition</a> in the\n <i>AWS Batch User Guide</i>.</p>\n <note>\n <p>If the job is run on Fargate resources, then <code>multinode</code> isn't supported.</p>\n </note>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"parameters": {
|
||
"target": "com.amazonaws.batch#ParametersMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Default parameter substitution placeholders to set in the job definition. Parameters are specified as a\n key-value pair mapping. Parameters in a <code>SubmitJob</code> request override any corresponding parameter defaults\n from the job definition.</p>"
|
||
}
|
||
},
|
||
"containerProperties": {
|
||
"target": "com.amazonaws.batch#ContainerProperties",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object with various properties specific to single-node container-based jobs. If the job definition's\n <code>type</code> parameter is <code>container</code>, then you must specify either <code>containerProperties</code>\n or <code>nodeProperties</code>.</p>\n <note>\n <p>If the job runs on Fargate resources, then you must not specify <code>nodeProperties</code>; use only\n <code>containerProperties</code>.</p>\n </note>"
|
||
}
|
||
},
|
||
"nodeProperties": {
|
||
"target": "com.amazonaws.batch#NodeProperties",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/multi-node-parallel-jobs.html\">Multi-node Parallel Jobs</a> in the\n <i>AWS Batch User Guide</i>. If the job definition's <code>type</code> parameter is\n <code>container</code>, then you must specify either <code>containerProperties</code> or\n <code>nodeProperties</code>.</p>\n <note>\n <p>If the job runs on Fargate resources, then you must not specify <code>nodeProperties</code>; use\n <code>containerProperties</code> instead.</p>\n </note>"
|
||
}
|
||
},
|
||
"retryStrategy": {
|
||
"target": "com.amazonaws.batch#RetryStrategy",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The retry strategy to use for failed jobs that are submitted with this job definition. Any retry strategy that's\n specified during a <a>SubmitJob</a> operation overrides the retry strategy defined here. If a job is\n terminated due to a timeout, it isn't retried.</p>"
|
||
}
|
||
},
|
||
"propagateTags": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>FAILED</code> state.</p>"
|
||
}
|
||
},
|
||
"timeout": {
|
||
"target": "com.amazonaws.batch#JobTimeout",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a>SubmitJob</a> operation\n overrides the timeout configuration defined here. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/job_timeouts.html\">Job Timeouts</a> in the <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"tags": {
|
||
"target": "com.amazonaws.batch#TagrisTagsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html\">Tagging AWS Resources</a> in <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"platformCapabilities": {
|
||
"target": "com.amazonaws.batch#PlatformCapabilityList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The platform capabilities required by the job definition. If no value is specified, it defaults to\n <code>EC2</code>. To run the job on Fargate resources, specify <code>FARGATE</code>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>RegisterJobDefinition</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#RegisterJobDefinitionResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"jobDefinitionName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the job definition.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"jobDefinitionArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the job definition.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"revision": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The revision of the job definition.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"com.amazonaws.batch#ResourceRequirement": {
|
||
"type": "structure",
|
||
"members": {
|
||
"value": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The quantity of the specified resource to reserve for the container. The values vary based on the\n <code>type</code> specified.</p>\n <dl>\n <dt>type=\"GPU\"</dt>\n <dd>\n <p>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.</p>\n <note>\n <p>GPUs are not available for jobs running on Fargate resources.</p>\n </note>\n </dd>\n <dt>type=\"MEMORY\"</dt>\n <dd>\n <p>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 <code>Memory</code> in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the\n <code>--memory</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>. 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 <code>Memory</code> in the\n <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--memory</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>\n <note>\n <p>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 <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html\">Memory\n Management</a> in the <i>AWS Batch User Guide</i>.</p>\n </note>\n <p>For jobs running on Fargate resources, then <code>value</code> is the hard limit (in MiB), and must match\n one of the supported values and the <code>VCPU</code> values must be one of the values supported for that memory\n value.</p>\n <dl>\n <dt>value = 512</dt>\n <dd>\n <p>\n <code>VCPU</code> = 0.25</p>\n </dd>\n <dt>value = 1024</dt>\n <dd>\n <p>\n <code>VCPU</code> = 0.25 or 0.5</p>\n </dd>\n <dt>value = 2048</dt>\n <dd>\n <p>\n <code>VCPU</code> = 0.25, 0.5, or 1</p>\n </dd>\n <dt>value = 3072</dt>\n <dd>\n <p>\n <code>VCPU</code> = 0.5, or 1</p>\n </dd>\n <dt>value = 4096</dt>\n <dd>\n <p>\n <code>VCPU</code> = 0.5, 1, or 2</p>\n </dd>\n <dt>value = 5120, 6144, or 7168</dt>\n <dd>\n <p>\n <code>VCPU</code> = 1 or 2</p>\n </dd>\n <dt>value = 8192</dt>\n <dd>\n <p>\n <code>VCPU</code> = 1, 2, or 4</p>\n </dd>\n <dt>value = 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384</dt>\n <dd>\n <p>\n <code>VCPU</code> = 2 or 4</p>\n </dd>\n <dt>value = 17408, 18432, 19456, 20480, 21504, 22528, 23552, 24576, 25600, 26624, 27648, 28672, 29696, or 30720</dt>\n <dd>\n <p>\n <code>VCPU</code> = 4</p>\n </dd>\n </dl>\n </dd>\n <dt>type=\"VCPU\"</dt>\n <dd>\n <p>The number of vCPUs reserved for the container. This parameter maps to <code>CpuShares</code> in the\n <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--cpu-shares</code> option to\n <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>. 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.</p>\n <p>For jobs running on Fargate resources, then <code>value</code> must match one of the supported values and\n the <code>MEMORY</code> 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</p>\n <dl>\n <dt>value = 0.25</dt>\n <dd>\n <p>\n <code>MEMORY</code> = 512, 1024, or 2048</p>\n </dd>\n <dt>value = 0.5</dt>\n <dd>\n <p>\n <code>MEMORY</code> = 1024, 2048, 3072, or 4096</p>\n </dd>\n <dt>value = 1</dt>\n <dd>\n <p>\n <code>MEMORY</code> = 2048, 3072, 4096, 5120, 6144, 7168, or 8192</p>\n </dd>\n <dt>value = 2</dt>\n <dd>\n <p>\n <code>MEMORY</code> = 4096, 5120, 6144, 7168, 8192, 9216, 10240, 11264, 12288, 13312, 14336, 15360, or 16384</p>\n </dd>\n <dt>value = 4</dt>\n <dd>\n <p>\n <code>MEMORY</code> = 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</p>\n </dd>\n </dl>\n </dd>\n </dl>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"type": {
|
||
"target": "com.amazonaws.batch#ResourceType",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The type of resource to assign to a container. The supported resources include <code>GPU</code>,\n <code>MEMORY</code>, and <code>VCPU</code>.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The type and amount of a resource to assign to a container. The supported resources include <code>GPU</code>,\n <code>MEMORY</code>, and <code>VCPU</code>.</p>"
|
||
}
|
||
},
|
||
"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": "<p>The number of times to move a job to the <code>RUNNABLE</code> status. You can specify between 1 and 10\n attempts. If the value of <code>attempts</code> is greater than one, the job is retried on failure the same number of\n attempts as the value.</p>"
|
||
}
|
||
},
|
||
"evaluateOnExit": {
|
||
"target": "com.amazonaws.batch#EvaluateOnExitList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>attempts</code> parameter must also be specified.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The retry strategy associated with a job. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/job_retries.html\">Automated job retries</a> in the <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#Secret": {
|
||
"type": "structure",
|
||
"members": {
|
||
"name": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the secret.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"valueFrom": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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.</p>\n <note>\n <p>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.</p>\n </note>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>An object representing the secret to expose to your container. Secrets can be exposed to a container in the\n following ways:</p>\n <ul>\n <li>\n <p>To inject sensitive data into your containers as environment variables, use the <code>secrets</code> container\n definition parameter.</p>\n </li>\n <li>\n <p>To reference sensitive information in the log configuration of a container, use the <code>secretOptions</code>\n container definition parameter.</p>\n </li>\n </ul>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/specifying-sensitive-data.html\">Specifying\n sensitive data</a> in the <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"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": "<p>These errors are usually caused by a server issue.</p>",
|
||
"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": "<p>Submits an AWS Batch job from a job definition. Parameters that are specified during <a>SubmitJob</a>\n override parameters defined in the job definition. vCPU and memory requirements that are specified in the\n <code>ResourceRequirements</code> objects in the job definition are the exception. They can't be overridden this way\n using the <code>memory</code> and <code>vcpus</code> parameters. Rather, you must specify updates to job definition\n parameters in a <code>ResourceRequirements</code> object that's included in the <code>containerOverrides</code>\n parameter.</p>\n <important>\n <p>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.</p>\n </important>",
|
||
"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": "<p>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.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"jobQueue": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The job queue where the job is submitted. You can specify either the name or the Amazon Resource Name (ARN) of the queue.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"arrayProperties": {
|
||
"target": "com.amazonaws.batch#ArrayProperties",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/array_jobs.html\">Array Jobs</a> in the\n <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"dependsOn": {
|
||
"target": "com.amazonaws.batch#JobDependencyList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A list of dependencies for the job. A job can depend upon a maximum of 20 jobs. You can specify a\n <code>SEQUENTIAL</code> 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 <code>N_TO_N</code> 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.</p>"
|
||
}
|
||
},
|
||
"jobDefinition": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The job definition used by this job. This value can be one of <code>name</code>, <code>name:revision</code>, or\n the Amazon Resource Name (ARN) for the job definition. If <code>name</code> is specified without a revision then the latest active\n revision is used.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"parameters": {
|
||
"target": "com.amazonaws.batch#ParametersMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>SubmitJob</code> request\n override any corresponding parameter defaults from the job definition.</p>"
|
||
}
|
||
},
|
||
"containerOverrides": {
|
||
"target": "com.amazonaws.batch#ContainerOverrides",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>command</code> override. You can also override\n existing environment variables on a container or add new environment variables to it with an <code>environment</code>\n override.</p>"
|
||
}
|
||
},
|
||
"nodeOverrides": {
|
||
"target": "com.amazonaws.batch#NodeOverrides",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A list of node overrides in JSON format that specify the node range to target and the container overrides for\n that node range.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources; use <code>containerOverrides</code>\n instead.</p>\n </note>"
|
||
}
|
||
},
|
||
"retryStrategy": {
|
||
"target": "com.amazonaws.batch#RetryStrategy",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The retry strategy to use for failed jobs from this <a>SubmitJob</a> operation. When a retry strategy\n is specified here, it overrides the retry strategy defined in the job definition.</p>"
|
||
}
|
||
},
|
||
"propagateTags": {
|
||
"target": "com.amazonaws.batch#Boolean",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>FAILED</code> state. When specified, this\n overrides the tag propagation setting in the job definition.</p>"
|
||
}
|
||
},
|
||
"timeout": {
|
||
"target": "com.amazonaws.batch#JobTimeout",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The timeout configuration for this <a>SubmitJob</a> 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 <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/job_timeouts.html\">Job\n Timeouts</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>"
|
||
}
|
||
},
|
||
"tags": {
|
||
"target": "com.amazonaws.batch#TagrisTagsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html\">Tagging AWS Resources</a> in <i>AWS General\n Reference</i>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>SubmitJob</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#SubmitJobResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"jobArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) for the job.</p>"
|
||
}
|
||
},
|
||
"jobName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the job.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"jobId": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The unique identifier for the job.</p>",
|
||
"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": "<p>Associates the specified tags to a resource with the specified <code>resourceArn</code>. 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.</p>",
|
||
"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": "<p>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.</p>",
|
||
"smithy.api#httpLabel": {},
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"tags": {
|
||
"target": "com.amazonaws.batch#TagrisTagsMap",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html\">Tagging AWS Resources</a> in <i>AWS General\n Reference</i>.</p>",
|
||
"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": "<p>Terminates a job in a job queue. Jobs that are in the <code>STARTING</code> or <code>RUNNING</code> state are\n terminated, which causes them to transition to <code>FAILED</code>. Jobs that have not progressed to the\n <code>STARTING</code> state are cancelled.</p>",
|
||
"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": "<p>The AWS Batch job ID of the job to terminate.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"reason": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A message to attach to the job that explains the reason for canceling it. This message is returned by future\n <a>DescribeJobs</a> operations on the job. This message is also recorded in the AWS Batch activity\n logs.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>TerminateJob</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#TerminateJobResponse": {
|
||
"type": "structure",
|
||
"members": {}
|
||
},
|
||
"com.amazonaws.batch#Tmpfs": {
|
||
"type": "structure",
|
||
"members": {
|
||
"containerPath": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The absolute file path in the container where the tmpfs volume is mounted.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"size": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The size (in MiB) of the tmpfs volume.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"mountOptions": {
|
||
"target": "com.amazonaws.batch#StringList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The list of tmpfs volume mount options.</p>\n <p>Valid values: \"<code>defaults</code>\" | \"<code>ro</code>\" | \"<code>rw</code>\" | \"<code>suid</code>\" |\n \"<code>nosuid</code>\" | \"<code>dev</code>\" | \"<code>nodev</code>\" | \"<code>exec</code>\" | \"<code>noexec</code>\" |\n \"<code>sync</code>\" | \"<code>async</code>\" | \"<code>dirsync</code>\" | \"<code>remount</code>\" | \"<code>mand</code>\" |\n \"<code>nomand</code>\" | \"<code>atime</code>\" | \"<code>noatime</code>\" | \"<code>diratime</code>\" |\n \"<code>nodiratime</code>\" | \"<code>bind</code>\" | \"<code>rbind\" | \"unbindable\" | \"runbindable\" | \"private\" |\n \"rprivate\" | \"shared\" | \"rshared\" | \"slave\" | \"rslave\" | \"relatime</code>\" | \"<code>norelatime</code>\" |\n \"<code>strictatime</code>\" | \"<code>nostrictatime</code>\" | \"<code>mode</code>\" | \"<code>uid</code>\" |\n \"<code>gid</code>\" | \"<code>nr_inodes</code>\" | \"<code>nr_blocks</code>\" | \"<code>mpol</code>\"</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The container path, mount options, and size of the tmpfs mount.</p>\n <note>\n <p>This object isn't applicable to jobs running on Fargate resources.</p>\n </note>"
|
||
}
|
||
},
|
||
"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": "<p>The hard limit for the <code>ulimit</code> type.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"name": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The <code>type</code> of the <code>ulimit</code>.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"softLimit": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The soft limit for the <code>ulimit</code> type.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The <code>ulimit</code> settings to pass to the container.</p>\n <note>\n <p>This object isn't applicable to jobs running on Fargate resources.</p>\n </note>"
|
||
}
|
||
},
|
||
"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": "<p>Deletes specified tags from an AWS Batch resource.</p>",
|
||
"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": "<p>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.</p>",
|
||
"smithy.api#httpLabel": {},
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"tagKeys": {
|
||
"target": "com.amazonaws.batch#TagKeysList",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The keys of the tags to be removed.</p>",
|
||
"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": "<p>Updates an AWS Batch compute environment.</p>",
|
||
"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": "<p>The name or full Amazon Resource Name (ARN) of the compute environment to update.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"state": {
|
||
"target": "com.amazonaws.batch#CEState",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The state of the compute environment. Compute environments in the <code>ENABLED</code> state can accept jobs\n from a queue and scale in or out automatically based on the workload demand of its associated queues.</p>\n <p>If the state is <code>ENABLED</code>, 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.</p>\n <p>If the state is <code>DISABLED</code>, then the AWS Batch scheduler doesn't attempt to place jobs within the\n environment. Jobs in a <code>STARTING</code> or <code>RUNNING</code> state continue to progress normally. Managed\n compute environments in the <code>DISABLED</code> state don't scale out. However, they scale in to\n <code>minvCpus</code> value after instances become idle.</p>"
|
||
}
|
||
},
|
||
"computeResources": {
|
||
"target": "com.amazonaws.batch#ComputeResourceUpdate",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Details of the compute resources managed by the compute environment. Required for a managed compute environment.\n For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html\">Compute\n Environments</a> in the <i>AWS Batch User Guide</i>.</p>"
|
||
}
|
||
},
|
||
"serviceRole": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/service_IAM_role.html\">AWS Batch service IAM\n role</a> in the <i>AWS Batch User Guide</i>.</p>\n <important>\n <p>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.</p>\n </important>\n \n <p>If your specified role has a path other than <code>/</code>, then you must either specify the full role ARN\n (this is recommended) or prefix the role name with the path.</p>\n <note>\n <p>Depending on how you created your AWS Batch service role, its ARN might contain the <code>service-role</code>\n path prefix. When you only specify the name of the service role, AWS Batch assumes that your ARN doesn't use the\n <code>service-role</code> path prefix. Because of this, we recommend that you specify the full ARN of your service\n role when you create compute environments.</p>\n </note>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>UpdateComputeEnvironment</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#UpdateComputeEnvironmentResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"computeEnvironmentName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the compute environment. Up to 128 letters (uppercase and lowercase), numbers, hyphens, and\n underscores are allowed.</p>"
|
||
}
|
||
},
|
||
"computeEnvironmentArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the compute environment.</p>"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"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": "<p>Updates a job queue.</p>",
|
||
"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": "<p>The name or the Amazon Resource Name (ARN) of the job queue.</p>",
|
||
"smithy.api#required": {}
|
||
}
|
||
},
|
||
"state": {
|
||
"target": "com.amazonaws.batch#JQState",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Describes the queue's ability to accept new jobs. If the job queue state is <code>ENABLED</code>, it can accept\n jobs. If the job queue state is <code>DISABLED</code>, new jobs can't be added to the queue, but jobs already in the\n queue can finish.</p>"
|
||
}
|
||
},
|
||
"priority": {
|
||
"target": "com.amazonaws.batch#Integer",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The priority of the job queue. Job queues with a higher priority (or a higher integer value for the\n <code>priority</code> 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 <code>10</code> is given scheduling\n preference over a job queue with a priority value of <code>1</code>. All of the compute environments must be either\n EC2 (<code>EC2</code> or <code>SPOT</code>) or Fargate (<code>FARGATE</code> or <code>FARGATE_SPOT</code>). EC2 and\n Fargate compute environments can't be mixed.</p>"
|
||
}
|
||
},
|
||
"computeEnvironmentOrder": {
|
||
"target": "com.amazonaws.batch#ComputeEnvironmentOrders",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>VALID</code> state before you can associate them with a job queue. All of\n the compute environments must be either EC2 (<code>EC2</code> or <code>SPOT</code>) or Fargate\n (<code>FARGATE</code> or <code>FARGATE_SPOT</code>). EC2 and Fargate compute environments can't be mixed.</p>\n <note>\n <p>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.</p>\n </note>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>Contains the parameters for <code>UpdateJobQueue</code>.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#UpdateJobQueueResponse": {
|
||
"type": "structure",
|
||
"members": {
|
||
"jobQueueName": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The name of the job queue.</p>"
|
||
}
|
||
},
|
||
"jobQueueArn": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the job queue.</p>"
|
||
}
|
||
}
|
||
}
|
||
},
|
||
"com.amazonaws.batch#Volume": {
|
||
"type": "structure",
|
||
"members": {
|
||
"host": {
|
||
"target": "com.amazonaws.batch#Host",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>The contents of the <code>host</code> 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.</p>\n <note>\n <p>This parameter isn't applicable to jobs running on Fargate resources and shouldn't be provided.</p>\n </note>"
|
||
}
|
||
},
|
||
"name": {
|
||
"target": "com.amazonaws.batch#String",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>sourceVolume</code>\n parameter of container definition <code>mountPoints</code>.</p>"
|
||
}
|
||
},
|
||
"efsVolumeConfiguration": {
|
||
"target": "com.amazonaws.batch#EFSVolumeConfiguration",
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>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 <code>platformVersion</code> of at least <code>1.4.0</code>.</p>"
|
||
}
|
||
}
|
||
},
|
||
"traits": {
|
||
"smithy.api#documentation": "<p>A data volume used in a job's container properties.</p>"
|
||
}
|
||
},
|
||
"com.amazonaws.batch#Volumes": {
|
||
"type": "list",
|
||
"member": {
|
||
"target": "com.amazonaws.batch#Volume"
|
||
}
|
||
}
|
||
}
|
||
}
|