Skip to content

Commit 2f11daa

Browse files
author
awstools
committed
docs(client-batch): AWS Batch documentation update for service job capacity units.
1 parent d18e539 commit 2f11daa

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

clients/client-batch/src/models/models_0.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6213,8 +6213,8 @@ export interface ServiceJobAttemptDetail {
62136213
*/
62146214
export interface ServiceJobCapacityUsageDetail {
62156215
/**
6216-
* <p>The unit of measure for the service job capacity usage. For service jobs, this is
6217-
* <code>NUM_INSTANCES</code>.</p>
6216+
* <p>The unit of measure for the service job capacity usage. For service jobs, this is the
6217+
* instance type.</p>
62186218
* @public
62196219
*/
62206220
capacityUnit?: string | undefined;
@@ -6476,7 +6476,7 @@ export interface FrontOfQueueDetail {
64766476
export interface FairshareCapacityUsage {
64776477
/**
64786478
* <p>The unit of measure for the capacity usage. For compute jobs, this is
6479-
* <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is <code>NUM_INSTANCES</code>.</p>
6479+
* <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is the instance type.</p>
64806480
* @public
64816481
*/
64826482
capacityUnit?: string | undefined;
@@ -6538,7 +6538,7 @@ export interface FairshareUtilizationDetail {
65386538
export interface QueueSnapshotCapacityUsage {
65396539
/**
65406540
* <p>The unit of measure for the capacity usage. For compute jobs, this is
6541-
* <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is <code>NUM_INSTANCES</code>.</p>
6541+
* <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is the instance type.</p>
65426542
* @public
65436543
*/
65446544
capacityUnit?: string | undefined;
@@ -7405,8 +7405,8 @@ export interface ListServiceJobsRequest {
74057405
*/
74067406
export interface ServiceJobCapacityUsageSummary {
74077407
/**
7408-
* <p>The unit of measure for the service job capacity usage. For service jobs, this is
7409-
* <code>NUM_INSTANCES</code>.</p>
7408+
* <p>The unit of measure for the service job capacity usage. For service jobs, this is the
7409+
* instance type.</p>
74107410
* @public
74117411
*/
74127412
capacityUnit?: string | undefined;

codegen/sdk-codegen/aws-models/batch.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5731,7 +5731,7 @@
57315731
"capacityUnit": {
57325732
"target": "com.amazonaws.batch#String",
57335733
"traits": {
5734-
"smithy.api#documentation": "<p>The unit of measure for the capacity usage. For compute jobs, this is\n <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is <code>NUM_INSTANCES</code>.</p>"
5734+
"smithy.api#documentation": "<p>The unit of measure for the capacity usage. For compute jobs, this is\n <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is the instance type.</p>"
57355735
}
57365736
},
57375737
"quantity": {
@@ -8279,7 +8279,7 @@
82798279
"capacityUnit": {
82808280
"target": "com.amazonaws.batch#String",
82818281
"traits": {
8282-
"smithy.api#documentation": "<p>The unit of measure for the capacity usage. For compute jobs, this is\n <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is <code>NUM_INSTANCES</code>.</p>"
8282+
"smithy.api#documentation": "<p>The unit of measure for the capacity usage. For compute jobs, this is\n <code>VCPU</code> for Amazon EC2 and <code>cpu</code> for Amazon EKS. For service jobs, this is the instance type.</p>"
82838283
}
82848284
},
82858285
"quantity": {
@@ -8979,7 +8979,7 @@
89798979
"capacityUnit": {
89808980
"target": "com.amazonaws.batch#String",
89818981
"traits": {
8982-
"smithy.api#documentation": "<p>The unit of measure for the service job capacity usage. For service jobs, this is\n <code>NUM_INSTANCES</code>.</p>"
8982+
"smithy.api#documentation": "<p>The unit of measure for the service job capacity usage. For service jobs, this is the\n instance type.</p>"
89838983
}
89848984
},
89858985
"quantity": {
@@ -9005,7 +9005,7 @@
90059005
"capacityUnit": {
90069006
"target": "com.amazonaws.batch#String",
90079007
"traits": {
9008-
"smithy.api#documentation": "<p>The unit of measure for the service job capacity usage. For service jobs, this is\n <code>NUM_INSTANCES</code>.</p>"
9008+
"smithy.api#documentation": "<p>The unit of measure for the service job capacity usage. For service jobs, this is the\n instance type.</p>"
90099009
}
90109010
},
90119011
"quantity": {

0 commit comments

Comments
 (0)