Skip to content

Commit 28bd5fc

Browse files
author
awstools
committed
feat(client-batch): This feature allows Batch to support configuration of repository credentials for jobs running on ECS
1 parent 3d21d31 commit 28bd5fc

File tree

8 files changed

+326
-102
lines changed

8 files changed

+326
-102
lines changed

clients/client-batch/src/commands/CancelJobCommand.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
4141
* <p>A <code>PENDING</code> job is canceled after all dependency jobs are completed.
4242
* Therefore, it may take longer than expected to cancel a job in <code>PENDING</code>
4343
* status.</p>
44-
* <p>When you try to cancel an array parent job in <code>PENDING</code>, Batch attempts to
44+
* <p>When you try to cancel an array parent job in <code>PENDING</code>, Batch attempts to
4545
* cancel all child jobs. The array parent job is canceled when all child jobs are
4646
* completed.</p>
4747
* </note>

clients/client-batch/src/commands/CreateComputeEnvironmentCommand.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
9595
* <p>Don't specify an AMI ID in <code>imageId</code>, <code>imageIdOverride</code> (in <a href="https://docs.aws.amazon.com/batch/latest/APIReference/API_Ec2Configuration.html">
9696
* <code>ec2Configuration</code>
9797
* </a>), or in the launch
98-
* template (<code>launchTemplate</code>). In that case, Batch selects the latest Amazon ECS optimized AMI that's
99-
* supported by Batch at the time the infrastructure update is initiated. Alternatively, you can specify the AMI ID
98+
* template (<code>launchTemplate</code>). In that case, Batch selects the latest Amazon ECS optimized AMI that's
99+
* supported by Batch at the time the infrastructure update is initiated. Alternatively, you can specify the AMI ID
100100
* in the <code>imageId</code> or <code>imageIdOverride</code> parameters, or the launch template identified by the
101101
* <code>LaunchTemplate</code> properties. Changing any of these properties starts an infrastructure update. If the
102102
* AMI ID is specified in the launch template, it can't be replaced by specifying an AMI ID in either the

clients/client-batch/src/commands/DescribeJobDefinitionsCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,9 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
182182
* // operatingSystemFamily: "STRING_VALUE",
183183
* // cpuArchitecture: "STRING_VALUE",
184184
* // },
185+
* // repositoryCredentials: { // RepositoryCredentials
186+
* // credentialsParameter: "STRING_VALUE", // required
187+
* // },
185188
* // },
186189
* // timeout: { // JobTimeout
187190
* // attemptDurationSeconds: Number("int"),
@@ -292,6 +295,9 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
292295
* // operatingSystemFamily: "STRING_VALUE",
293296
* // cpuArchitecture: "STRING_VALUE",
294297
* // },
298+
* // repositoryCredentials: {
299+
* // credentialsParameter: "STRING_VALUE", // required
300+
* // },
295301
* // },
296302
* // },
297303
* // ],

clients/client-batch/src/commands/DescribeJobsCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,9 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
222222
* // operatingSystemFamily: "STRING_VALUE",
223223
* // cpuArchitecture: "STRING_VALUE",
224224
* // },
225+
* // repositoryCredentials: { // RepositoryCredentials
226+
* // credentialsParameter: "STRING_VALUE", // required
227+
* // },
225228
* // },
226229
* // nodeDetails: { // NodeDetails
227230
* // nodeIndex: Number("int"),
@@ -333,6 +336,9 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
333336
* // operatingSystemFamily: "STRING_VALUE",
334337
* // cpuArchitecture: "STRING_VALUE",
335338
* // },
339+
* // repositoryCredentials: {
340+
* // credentialsParameter: "STRING_VALUE", // required
341+
* // },
336342
* // },
337343
* // },
338344
* // ],

clients/client-batch/src/commands/RegisterJobDefinitionCommand.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
154154
* operatingSystemFamily: "STRING_VALUE",
155155
* cpuArchitecture: "STRING_VALUE",
156156
* },
157+
* repositoryCredentials: { // RepositoryCredentials
158+
* credentialsParameter: "STRING_VALUE", // required
159+
* },
157160
* },
158161
* nodeProperties: { // NodeProperties
159162
* numNodes: Number("int"), // required
@@ -261,6 +264,9 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
261264
* operatingSystemFamily: "STRING_VALUE",
262265
* cpuArchitecture: "STRING_VALUE",
263266
* },
267+
* repositoryCredentials: {
268+
* credentialsParameter: "STRING_VALUE", // required
269+
* },
264270
* },
265271
* },
266272
* ],

0 commit comments

Comments
 (0)