@aws-sdk/client-batch 3.631.0 → 3.633.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -421,6 +421,7 @@ var se_CreateComputeEnvironmentCommand = /* @__PURE__ */ __name(async (input, co
421
421
  (0, import_smithy_client.take)(input, {
422
422
  computeEnvironmentName: [],
423
423
  computeResources: (_) => (0, import_smithy_client._json)(_),
424
+ context: [],
424
425
  eksConfiguration: (_) => (0, import_smithy_client._json)(_),
425
426
  serviceRole: [],
426
427
  state: [],
@@ -789,6 +790,7 @@ var se_UpdateComputeEnvironmentCommand = /* @__PURE__ */ __name(async (input, co
789
790
  (0, import_smithy_client.take)(input, {
790
791
  computeEnvironment: [],
791
792
  computeResources: (_) => (0, import_smithy_client._json)(_),
793
+ context: [],
792
794
  serviceRole: [],
793
795
  state: [],
794
796
  unmanagedvCpus: [],
@@ -27,6 +27,7 @@ export const se_CreateComputeEnvironmentCommand = async (input, context) => {
27
27
  body = JSON.stringify(take(input, {
28
28
  computeEnvironmentName: [],
29
29
  computeResources: (_) => _json(_),
30
+ context: [],
30
31
  eksConfiguration: (_) => _json(_),
31
32
  serviceRole: [],
32
33
  state: [],
@@ -357,6 +358,7 @@ export const se_UpdateComputeEnvironmentCommand = async (input, context) => {
357
358
  body = JSON.stringify(take(input, {
358
359
  computeEnvironment: [],
359
360
  computeResources: (_) => _json(_),
361
+ context: [],
360
362
  serviceRole: [],
361
363
  state: [],
362
364
  unmanagedvCpus: [],
@@ -27,15 +27,7 @@ declare const CancelJobCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Cancels a job in an Batch job queue. Jobs that are in the
31
- * <code>SUBMITTED</code>
32
- * or
33
- * <code>PENDING</code>
34
- * are
35
- * canceled. A job
36
- * in<code>RUNNABLE</code> remains in <code>RUNNABLE</code> until it reaches the head of the
37
- * job queue. Then the job status is updated to
38
- * <code>FAILED</code>.</p>
30
+ * <p>Cancels a job in an Batch job queue. Jobs that are in a <code>SUBMITTED</code>, <code>PENDING</code>, or <code>RUNNABLE</code> state are cancelled and the job status is updated to <code>FAILED</code>.</p>
39
31
  * <note>
40
32
  * <p>A <code>PENDING</code> job is canceled after all dependency jobs are completed.
41
33
  * Therefore, it may take longer than expected to cancel a job in <code>PENDING</code>
@@ -180,6 +180,7 @@ declare const CreateComputeEnvironmentCommand_base: {
180
180
  * eksClusterArn: "STRING_VALUE", // required
181
181
  * kubernetesNamespace: "STRING_VALUE", // required
182
182
  * },
183
+ * context: "STRING_VALUE",
183
184
  * };
184
185
  * const command = new CreateComputeEnvironmentCommand(input);
185
186
  * const response = await client.send(command);
@@ -108,6 +108,7 @@ declare const DescribeComputeEnvironmentsCommand_base: {
108
108
  * // },
109
109
  * // containerOrchestrationType: "ECS" || "EKS",
110
110
  * // uuid: "STRING_VALUE",
111
+ * // context: "STRING_VALUE",
111
112
  * // },
112
113
  * // ],
113
114
  * // nextToken: "STRING_VALUE",
@@ -80,6 +80,7 @@ declare const UpdateComputeEnvironmentCommand_base: {
80
80
  * terminateJobsOnUpdate: true || false,
81
81
  * jobExecutionTimeoutMinutes: Number("long"),
82
82
  * },
83
+ * context: "STRING_VALUE",
83
84
  * };
84
85
  * const command = new UpdateComputeEnvironmentCommand(input);
85
86
  * const response = await client.send(command);
@@ -883,6 +883,11 @@ export interface CreateComputeEnvironmentRequest {
883
883
  * @public
884
884
  */
885
885
  eksConfiguration?: EksConfiguration;
886
+ /**
887
+ * <p>Reserved.</p>
888
+ * @public
889
+ */
890
+ context?: string;
886
891
  }
887
892
  /**
888
893
  * @public
@@ -1450,6 +1455,11 @@ export interface ComputeEnvironmentDetail {
1450
1455
  * @public
1451
1456
  */
1452
1457
  uuid?: string;
1458
+ /**
1459
+ * <p>Reserved.</p>
1460
+ * @public
1461
+ */
1462
+ context?: string;
1453
1463
  }
1454
1464
  /**
1455
1465
  * @public
@@ -6655,6 +6665,11 @@ export interface UpdateComputeEnvironmentRequest {
6655
6665
  * @public
6656
6666
  */
6657
6667
  updatePolicy?: UpdatePolicy;
6668
+ /**
6669
+ * <p>Reserved.</p>
6670
+ * @public
6671
+ */
6672
+ context?: string;
6658
6673
  }
6659
6674
  /**
6660
6675
  * @public
@@ -138,6 +138,7 @@ export interface CreateComputeEnvironmentRequest {
138
138
  serviceRole?: string;
139
139
  tags?: Record<string, string>;
140
140
  eksConfiguration?: EksConfiguration;
141
+ context?: string;
141
142
  }
142
143
  export interface CreateComputeEnvironmentResponse {
143
144
  computeEnvironmentName?: string;
@@ -255,6 +256,7 @@ export interface ComputeEnvironmentDetail {
255
256
  eksConfiguration?: EksConfiguration;
256
257
  containerOrchestrationType?: OrchestrationType;
257
258
  uuid?: string;
259
+ context?: string;
258
260
  }
259
261
  export interface DescribeComputeEnvironmentsResponse {
260
262
  computeEnvironments?: ComputeEnvironmentDetail[];
@@ -998,6 +1000,7 @@ export interface UpdateComputeEnvironmentRequest {
998
1000
  computeResources?: ComputeResourceUpdate;
999
1001
  serviceRole?: string;
1000
1002
  updatePolicy?: UpdatePolicy;
1003
+ context?: string;
1001
1004
  }
1002
1005
  export interface UpdateComputeEnvironmentResponse {
1003
1006
  computeEnvironmentName?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-batch",
3
3
  "description": "AWS SDK for JavaScript Batch Client for Node.js, Browser and React Native",
4
- "version": "3.631.0",
4
+ "version": "3.633.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-batch",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.631.0",
24
- "@aws-sdk/client-sts": "3.631.0",
23
+ "@aws-sdk/client-sso-oidc": "3.632.0",
24
+ "@aws-sdk/client-sts": "3.632.0",
25
25
  "@aws-sdk/core": "3.629.0",
26
- "@aws-sdk/credential-provider-node": "3.631.0",
26
+ "@aws-sdk/credential-provider-node": "3.632.0",
27
27
  "@aws-sdk/middleware-host-header": "3.620.0",
28
28
  "@aws-sdk/middleware-logger": "3.609.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.620.0",
30
- "@aws-sdk/middleware-user-agent": "3.631.0",
30
+ "@aws-sdk/middleware-user-agent": "3.632.0",
31
31
  "@aws-sdk/region-config-resolver": "3.614.0",
32
32
  "@aws-sdk/types": "3.609.0",
33
- "@aws-sdk/util-endpoints": "3.631.0",
33
+ "@aws-sdk/util-endpoints": "3.632.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.609.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.614.0",
36
36
  "@smithy/config-resolver": "^3.0.5",