|
1160 | 1160 | "tags":{
|
1161 | 1161 | "shape":"TagrisTagsMap",
|
1162 | 1162 | "documentation":"<p>The tags that you apply to the job queue to help you categorize and organize your resources. Each tag 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 your Batch resources</a> in <i>Batch User Guide</i>.</p>"
|
| 1163 | + }, |
| 1164 | + "jobStateTimeLimitActions":{ |
| 1165 | + "shape":"JobStateTimeLimitActions", |
| 1166 | + "documentation":"<p>The set of actions that Batch performs on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after <code>maxTimeSeconds</code> has passed.</p>" |
1163 | 1167 | }
|
1164 | 1168 | },
|
1165 | 1169 | "documentation":"<p>Contains the parameters for <code>CreateJobQueue</code>.</p>"
|
|
2443 | 2447 | },
|
2444 | 2448 | "statusReason":{
|
2445 | 2449 | "shape":"String",
|
2446 |
| - "documentation":"<p>A short, human-readable string to provide more details for the current status of the job.</p>" |
| 2450 | + "documentation":"<p>A short, human-readable string to provide more details for the current status of the job.</p> <ul> <li> <p> <code>CAPACITY:INSUFFICIENT_INSTANCE_CAPACITY</code> - All compute environments have insufficient capacity to service the job.</p> </li> <li> <p> <code>MISCONFIGURATION:COMPUTE_ENVIRONMENT_MAX_RESOURCE</code> - All compute environments have a <code>maxVcpu</code> setting that is smaller than the job requirements.</p> </li> <li> <p> <code>MISCONFIGURATION:JOB_RESOURCE_REQUIREMENT</code> - All compute environments have no connected instances that meet the job requirements.</p> </li> <li> <p> <code>MISCONFIGURATION:SERVICE_ROLE_PERMISSIONS</code> - All compute environments have problems with the service role permissions.</p> </li> </ul>" |
2447 | 2451 | },
|
2448 | 2452 | "createdAt":{
|
2449 | 2453 | "shape":"Long",
|
|
2582 | 2586 | "tags":{
|
2583 | 2587 | "shape":"TagrisTagsMap",
|
2584 | 2588 | "documentation":"<p>The tags that are applied to the job queue. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/using-tags.html\">Tagging your Batch resources</a> in <i>Batch User Guide</i>.</p>"
|
| 2589 | + }, |
| 2590 | + "jobStateTimeLimitActions":{ |
| 2591 | + "shape":"JobStateTimeLimitActions", |
| 2592 | + "documentation":"<p>The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after <code>maxTimeSeconds</code> has passed.</p>" |
2585 | 2593 | }
|
2586 | 2594 | },
|
2587 | 2595 | "documentation":"<p>An object that represents the details for an Batch job queue.</p>"
|
|
2590 | 2598 | "type":"list",
|
2591 | 2599 | "member":{"shape":"JobQueueDetail"}
|
2592 | 2600 | },
|
| 2601 | + "JobStateTimeLimitAction":{ |
| 2602 | + "type":"structure", |
| 2603 | + "required":[ |
| 2604 | + "reason", |
| 2605 | + "state", |
| 2606 | + "maxTimeSeconds", |
| 2607 | + "action" |
| 2608 | + ], |
| 2609 | + "members":{ |
| 2610 | + "reason":{ |
| 2611 | + "shape":"String", |
| 2612 | + "documentation":"<p>The reason to log for the action being taken.</p>" |
| 2613 | + }, |
| 2614 | + "state":{ |
| 2615 | + "shape":"JobStateTimeLimitActionsState", |
| 2616 | + "documentation":"<p>The state of the job needed to trigger the action. The only supported value is \"<code>RUNNABLE</code>\".</p>" |
| 2617 | + }, |
| 2618 | + "maxTimeSeconds":{ |
| 2619 | + "shape":"Integer", |
| 2620 | + "documentation":"<p>The approximate amount of time, in seconds, that must pass with the job in the specified state before the action is taken. The minimum value is 600 (10 minutes) and the maximum value is 86,400 (24 hours).</p>" |
| 2621 | + }, |
| 2622 | + "action":{ |
| 2623 | + "shape":"JobStateTimeLimitActionsAction", |
| 2624 | + "documentation":"<p>The action to take when a job is at the head of the job queue in the specified state for the specified period of time. The only supported value is \"<code>CANCEL</code>\", which will cancel the job.</p>" |
| 2625 | + } |
| 2626 | + }, |
| 2627 | + "documentation":"<p>Specifies an action that Batch will take after the job has remained at the head of the queue in the specified state for longer than the specified time.</p>" |
| 2628 | + }, |
| 2629 | + "JobStateTimeLimitActions":{ |
| 2630 | + "type":"list", |
| 2631 | + "member":{"shape":"JobStateTimeLimitAction"} |
| 2632 | + }, |
| 2633 | + "JobStateTimeLimitActionsAction":{ |
| 2634 | + "type":"string", |
| 2635 | + "enum":["CANCEL"] |
| 2636 | + }, |
| 2637 | + "JobStateTimeLimitActionsState":{ |
| 2638 | + "type":"string", |
| 2639 | + "enum":["RUNNABLE"] |
| 2640 | + }, |
2593 | 2641 | "JobStatus":{
|
2594 | 2642 | "type":"string",
|
2595 | 2643 | "enum":[
|
|
3566 | 3614 | },
|
3567 | 3615 | "essential":{
|
3568 | 3616 | "shape":"Boolean",
|
3569 |
| - "documentation":"<p>If the essential parameter of a container is marked as <code>true</code>, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the <code>essential</code> parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.</p> <p>All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html\">Application Architecture</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>" |
| 3617 | + "documentation":"<p>If the essential parameter of a container is marked as <code>true</code>, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the <code>essential</code> parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.</p> <p>All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html\">Application Architecture</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>" |
3570 | 3618 | },
|
3571 | 3619 | "image":{
|
3572 | 3620 | "shape":"String",
|
|
3675 | 3723 | },
|
3676 | 3724 | "essential":{
|
3677 | 3725 | "shape":"Boolean",
|
3678 |
| - "documentation":"<p>If the essential parameter of a container is marked as <code>true</code>, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the <code>essential</code> parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.</p> <p>All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html\">Application Architecture</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>" |
| 3726 | + "documentation":"<p>If the essential parameter of a container is marked as <code>true</code>, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the <code>essential</code> parameter of a container is marked as false, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.</p> <p>All jobs must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/application_architecture.html\">Application Architecture</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>" |
3679 | 3727 | },
|
3680 | 3728 | "image":{
|
3681 | 3729 | "shape":"String",
|
|
3908 | 3956 | "computeEnvironmentOrder":{
|
3909 | 3957 | "shape":"ComputeEnvironmentOrders",
|
3910 | 3958 | "documentation":"<p>Details the set of compute environments mapped to a job queue and their order relative to each other. This is one of the parameters used by the job scheduler to determine which compute environment runs a given job. Compute environments must be in the <code>VALID</code> state before you can associate them with a job queue. All of the compute environments must be either EC2 (<code>EC2</code> or <code>SPOT</code>) or Fargate (<code>FARGATE</code> or <code>FARGATE_SPOT</code>). EC2 and Fargate compute environments can't be mixed.</p> <note> <p>All compute environments that are associated with a job queue must share the same architecture. Batch doesn't support mixing compute environment architecture types in a single job queue.</p> </note>"
|
| 3959 | + }, |
| 3960 | + "jobStateTimeLimitActions":{ |
| 3961 | + "shape":"JobStateTimeLimitActions", |
| 3962 | + "documentation":"<p>The set of actions that Batch perform on jobs that remain at the head of the job queue in the specified state longer than specified times. Batch will perform each action after <code>maxTimeSeconds</code> has passed.</p>" |
3911 | 3963 | }
|
3912 | 3964 | },
|
3913 | 3965 | "documentation":"<p>Contains the parameters for <code>UpdateJobQueue</code>.</p>"
|
|
0 commit comments