Skip to content

Commit

Permalink
feat(client-batch): This feature allows Batch to support configuratio…
Browse files Browse the repository at this point in the history
…n of repository credentials for jobs running on ECS
  • Loading branch information
awstools committed Feb 9, 2024
1 parent 3d21d31 commit 28bd5fc
Show file tree
Hide file tree
Showing 8 changed files with 326 additions and 102 deletions.
2 changes: 1 addition & 1 deletion clients/client-batch/src/commands/CancelJobCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface CancelJobCommandOutput extends CancelJobResponse, __MetadataBea
* <p>A <code>PENDING</code> job is canceled after all dependency jobs are completed.
* Therefore, it may take longer than expected to cancel a job in <code>PENDING</code>
* status.</p>
* <p>When you try to cancel an array parent job in <code>PENDING</code>, Batch attempts to
* <p>When you try to cancel an array parent job in <code>PENDING</code>, Batch attempts to
* cancel all child jobs. The array parent job is canceled when all child jobs are
* completed.</p>
* </note>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ export interface CreateComputeEnvironmentCommandOutput extends CreateComputeEnvi
* <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">
* <code>ec2Configuration</code>
* </a>), or in the launch
* template (<code>launchTemplate</code>). In that case, Batch selects the latest Amazon ECS optimized AMI that's
* supported by Batch at the time the infrastructure update is initiated. Alternatively, you can specify the AMI ID
* template (<code>launchTemplate</code>). In that case, Batch selects the latest Amazon ECS optimized AMI that's
* supported by Batch at the time the infrastructure update is initiated. Alternatively, you can specify the AMI ID
* in the <code>imageId</code> or <code>imageIdOverride</code> parameters, or the launch template identified by the
* <code>LaunchTemplate</code> properties. Changing any of these properties starts an infrastructure update. If the
* AMI ID is specified in the launch template, it can't be replaced by specifying an AMI ID in either the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
* // operatingSystemFamily: "STRING_VALUE",
* // cpuArchitecture: "STRING_VALUE",
* // },
* // repositoryCredentials: { // RepositoryCredentials
* // credentialsParameter: "STRING_VALUE", // required
* // },
* // },
* // timeout: { // JobTimeout
* // attemptDurationSeconds: Number("int"),
Expand Down Expand Up @@ -292,6 +295,9 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
* // operatingSystemFamily: "STRING_VALUE",
* // cpuArchitecture: "STRING_VALUE",
* // },
* // repositoryCredentials: {
* // credentialsParameter: "STRING_VALUE", // required
* // },
* // },
* // },
* // ],
Expand Down
6 changes: 6 additions & 0 deletions clients/client-batch/src/commands/DescribeJobsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,9 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
* // operatingSystemFamily: "STRING_VALUE",
* // cpuArchitecture: "STRING_VALUE",
* // },
* // repositoryCredentials: { // RepositoryCredentials
* // credentialsParameter: "STRING_VALUE", // required
* // },
* // },
* // nodeDetails: { // NodeDetails
* // nodeIndex: Number("int"),
Expand Down Expand Up @@ -333,6 +336,9 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
* // operatingSystemFamily: "STRING_VALUE",
* // cpuArchitecture: "STRING_VALUE",
* // },
* // repositoryCredentials: {
* // credentialsParameter: "STRING_VALUE", // required
* // },
* // },
* // },
* // ],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
* operatingSystemFamily: "STRING_VALUE",
* cpuArchitecture: "STRING_VALUE",
* },
* repositoryCredentials: { // RepositoryCredentials
* credentialsParameter: "STRING_VALUE", // required
* },
* },
* nodeProperties: { // NodeProperties
* numNodes: Number("int"), // required
Expand Down Expand Up @@ -261,6 +264,9 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
* operatingSystemFamily: "STRING_VALUE",
* cpuArchitecture: "STRING_VALUE",
* },
* repositoryCredentials: {
* credentialsParameter: "STRING_VALUE", // required
* },
* },
* },
* ],
Expand Down
Loading

0 comments on commit 28bd5fc

Please sign in to comment.