You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(client-batch): Documentation-only update: clarified the description of the shareDecaySeconds parameter of the FairsharePolicy data type, clarified the description of the priority parameter of the JobQueueDetail data type.
* <p>The environment variables to pass to a container. This parameter maps to Env inthe <a href="https://docs.docker.com/engine/api/v1.23/#create-a-container">Create a container</a>
3024
+
* <p>The environment variables to pass to a container. This parameter maps to Env in the <a href="https://docs.docker.com/engine/api/v1.23/#create-a-container">Create a container</a>
3022
3025
* section of the <a href="https://docs.docker.com/engine/api/v1.23/">Docker Remote API</a>
3023
3026
* and the <code>--env</code> parameter to <a href="https://docs.docker.com/engine/reference/run/">docker run</a>. </p>
* <p>The priority of the job queue. Job queues with a higher priority (or a higher integer value for the <code>priority</code> parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of <code>10</code> is given scheduling preference over a job queue with a priority value of <code>1</code>. All of the compute environments must be either Amazon EC2 (<code>EC2</code> or <code>SPOT</code>) or Fargate (<code>FARGATE</code> or <code>FARGATE_SPOT</code>). Amazon EC2 and Fargate compute environments can't be mixed.</p>
4468
+
* <p>The priority of the job queue. Job queue priority determines the order
4469
+
* that job queues are evaluated when multiple queues dispatch jobs within a
4470
+
* shared compute environment. A higher value for <code>priority</code> indicates
4471
+
* a higher priority. Queues are evaluated in cycles, in descending order by
4472
+
* priority. For example, a job queue with a priority value of <code>10</code> is
4473
+
* evaluated before a queue with a priority value of <code>1</code>. All of the
4474
+
* compute environments must be either Amazon EC2 (<code>EC2</code> or <code>SPOT</code>)
4475
+
* or Fargate (<code>FARGATE</code> or <code>FARGATE_SPOT</code>). Amazon EC2 and
4476
+
* Fargate compute environments can't be mixed.</p>
4477
+
* <note>
4478
+
* <p>Job queue priority doesn't guarantee that a particular job executes before
4479
+
* a job in a lower priority queue. Jobs added to higher priority queues during the
4480
+
* queue evaluation cycle might not be evaluated until the next cycle. A job is
4481
+
* dispatched from a queue only if resources are available when the queue is evaluated.
4482
+
* If there are insufficient resources available at that time, the cycle proceeds to the
4483
+
* next queue. This means that jobs added to higher priority queues might have to wait
4484
+
* for jobs in multiple lower priority queues to complete before they are dispatched.
4485
+
* You can use job dependencies to control the order for jobs from queues with different
4486
+
* priorities. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/job_dependencies.html">Job Dependencies</a>
Copy file name to clipboardExpand all lines: codegen/sdk-codegen/aws-models/batch.json
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4867,7 +4867,7 @@
4867
4867
"shareDecaySeconds": {
4868
4868
"target": "com.amazonaws.batch#Integer",
4869
4869
"traits": {
4870
-
"smithy.api#documentation": "<p>The amount of time (in seconds) to use to calculate a fair share percentage for each fair\n share identifier in use. A value of zero (0) indicates that only current usage is measured. The\n decay allows for more recently run jobs to have more weight than jobs that ran earlier. The\n maximum supported value is 604800 (1 week).</p>"
4870
+
"smithy.api#documentation": "<p>The amount of time (in seconds) to use to calculate a fair share percentage for each fair\n share identifier in use. A value of zero (0) indicates the default minimum time window (600 seconds).\n The maximum supported value is 604800 (1 week).</p>\n <p>The decay allows for more recently run jobs to have more weight than jobs that ran earlier. \n Consider adjusting this number if you have jobs that (on average) run longer than ten minutes, \n or a large difference in job count or job run times between share identifiers, and the allocation\n of resources doesn’t meet your needs.</p>"
4871
4871
}
4872
4872
},
4873
4873
"computeReservation": {
@@ -5545,7 +5545,7 @@
5545
5545
"target": "com.amazonaws.batch#Integer",
5546
5546
"traits": {
5547
5547
"smithy.api#clientOptional": {},
5548
-
"smithy.api#documentation": "<p>The priority of the job queue. Job queues with a higher priority (or a higher integer value for the <code>priority</code> parameter) are evaluated first when associated with the same compute environment. Priority is determined in descending order. For example, a job queue with a priority value of <code>10</code> is given scheduling preference over a job queue with a priority value of <code>1</code>. All of the compute environments must be either Amazon EC2 (<code>EC2</code> or <code>SPOT</code>) or Fargate (<code>FARGATE</code> or <code>FARGATE_SPOT</code>). Amazon EC2 and Fargate compute environments can't be mixed.</p>",
5548
+
"smithy.api#documentation": "<p>The priority of the job queue. Job queue priority determines the order \n that job queues are evaluated when multiple queues dispatch jobs within a \n shared compute environment. A higher value for <code>priority</code> indicates\n a higher priority. Queues are evaluated in cycles, in descending order by\n priority. For example, a job queue with a priority value of <code>10</code> is \n evaluated before a queue with a priority value of <code>1</code>. All of the \n compute environments must be either Amazon EC2 (<code>EC2</code> or <code>SPOT</code>)\n or Fargate (<code>FARGATE</code> or <code>FARGATE_SPOT</code>). Amazon EC2 and \n Fargate compute environments can't be mixed.</p>\n <note>\n <p>Job queue priority doesn't guarantee that a particular job executes before \n a job in a lower priority queue. Jobs added to higher priority queues during the \n queue evaluation cycle might not be evaluated until the next cycle. A job is \n dispatched from a queue only if resources are available when the queue is evaluated. \n If there are insufficient resources available at that time, the cycle proceeds to the \n next queue. This means that jobs added to higher priority queues might have to wait \n for jobs in multiple lower priority queues to complete before they are dispatched. \n You can use job dependencies to control the order for jobs from queues with different \n priorities. For more information, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/job_dependencies.html\">Job Dependencies</a>\n in the <i>Batch User Guide</i>.</p>\n </note>",
5549
5549
"smithy.api#required": {}
5550
5550
}
5551
5551
},
@@ -5904,7 +5904,7 @@
5904
5904
"targetInstanceTypes": {
5905
5905
"target": "com.amazonaws.batch#StringList",
5906
5906
"traits": {
5907
-
"smithy.api#documentation": "<p>The instance type or family that this this override launch template should be applied to.</p>\n <p>This parameter is required when defining a launch template override.</p>\n <p>Information included in this parameter must meet the following requirements:</p>\n <ul>\n <li>\n <p>Must be a valid Amazon EC2 instance type or family.</p>\n </li>\n <li>\n <p>\n <code>optimal</code> isn't allowed.</p>\n </li>\n <li>\n <p>\n <code>targetInstanceTypes</code> can target only instance types and families that are included within the <a href=\"https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-instanceTypes\">\n <code>ComputeResource.instanceTypes</code>\n </a> set. <code>targetInstanceTypes</code> doesn't need to include all of the instances from the <code>instanceType</code> set, but at least a subset. For example, if <code>ComputeResource.instanceTypes</code> includes <code>[m5, g5]</code>, <code>targetInstanceTypes</code> can include <code>[m5.2xlarge]</code> and <code>[m5.large]</code> but not <code>[c5.large]</code>.</p>\n </li>\n <li>\n <p>\n <code>targetInstanceTypes</code> included within the same launch template override or across launch template overrides can't overlap for the same compute environment. For example, you can't define one launch template override to target an instance family and another define an instance type within this same family.</p>\n </li>\n </ul>"
5907
+
"smithy.api#documentation": "<p>The instance type or family that this override launch template should be applied to.</p>\n <p>This parameter is required when defining a launch template override.</p>\n <p>Information included in this parameter must meet the following requirements:</p>\n <ul>\n <li>\n <p>Must be a valid Amazon EC2 instance type or family.</p>\n </li>\n <li>\n <p>\n <code>optimal</code> isn't allowed.</p>\n </li>\n <li>\n <p>\n <code>targetInstanceTypes</code> can target only instance types and families that are included within the <a href=\"https://docs.aws.amazon.com/batch/latest/APIReference/API_ComputeResource.html#Batch-Type-ComputeResource-instanceTypes\">\n <code>ComputeResource.instanceTypes</code>\n </a> set. <code>targetInstanceTypes</code> doesn't need to include all of the instances from the <code>instanceType</code> set, but at least a subset. For example, if <code>ComputeResource.instanceTypes</code> includes <code>[m5, g5]</code>, <code>targetInstanceTypes</code> can include <code>[m5.2xlarge]</code> and <code>[m5.large]</code> but not <code>[c5.large]</code>.</p>\n </li>\n <li>\n <p>\n <code>targetInstanceTypes</code> included within the same launch template override or across launch template overrides can't overlap for the same compute environment. For example, you can't define one launch template override to target an instance family and another define an instance type within this same family.</p>\n </li>\n </ul>"
"smithy.api#documentation": "<p>The environment variables to pass to a container. This parameter maps to Env inthe <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a>\n section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a>\n and the <code>--env</code> parameter 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\n credential data.</p>\n </important>\n <note>\n <p>Environment variables cannot start with <code>AWS_BATCH</code>. This naming convention is\n reserved for variables that Batch sets.</p>\n </note>"
7700
+
"smithy.api#documentation": "<p>The environment variables to pass to a container. This parameter maps to Env in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a>\n section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a>\n and the <code>--env</code> parameter 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\n credential data.</p>\n </important>\n <note>\n <p>Environment variables cannot start with <code>AWS_BATCH</code>. This naming convention is\n reserved for variables that Batch sets.</p>\n </note>"
0 commit comments