@aws-sdk/client-batch 3.300.0 → 3.303.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/models/models_0.js +103 -123
- package/dist-cjs/protocols/Aws_restJson1.js +1 -0
- package/dist-es/models/models_0.js +103 -123
- package/dist-es/protocols/Aws_restJson1.js +1 -0
- package/dist-types/commands/CancelJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +9 -9
- package/dist-types/commands/CreateJobQueueCommand.d.ts +4 -4
- package/dist-types/commands/CreateSchedulingPolicyCommand.d.ts +5 -5
- package/dist-types/commands/DeleteComputeEnvironmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteJobQueueCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSchedulingPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComputeEnvironmentsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeJobQueuesCommand.d.ts +2 -2
- package/dist-types/commands/DescribeJobsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeSchedulingPoliciesCommand.d.ts +2 -2
- package/dist-types/commands/ListJobsCommand.d.ts +4 -4
- package/dist-types/commands/ListSchedulingPoliciesCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +65 -75
- package/dist-types/commands/SubmitJobCommand.d.ts +30 -30
- package/dist-types/commands/TagResourceCommand.d.ts +2 -2
- package/dist-types/commands/TerminateJobCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -2
- package/dist-types/commands/UpdateComputeEnvironmentCommand.d.ts +8 -8
- package/dist-types/commands/UpdateJobQueueCommand.d.ts +3 -3
- package/dist-types/commands/UpdateSchedulingPolicyCommand.d.ts +4 -4
- package/dist-types/models/models_0.d.ts +233 -105
- package/dist-types/ts3.4/models/models_0.d.ts +134 -103
- package/package.json +34 -34
|
@@ -27,7 +27,7 @@ export interface DeleteSchedulingPolicyCommandOutput extends DeleteSchedulingPol
|
|
|
27
27
|
* import { BatchClient, DeleteSchedulingPolicyCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
28
28
|
* // const { BatchClient, DeleteSchedulingPolicyCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
29
29
|
* const client = new BatchClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // DeleteSchedulingPolicyRequest
|
|
31
31
|
* arn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new DeleteSchedulingPolicyCommand(input);
|
|
@@ -26,7 +26,7 @@ export interface DeregisterJobDefinitionCommandOutput extends DeregisterJobDefin
|
|
|
26
26
|
* import { BatchClient, DeregisterJobDefinitionCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, DeregisterJobDefinitionCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // DeregisterJobDefinitionRequest
|
|
30
30
|
* jobDefinition: "STRING_VALUE", // required
|
|
31
31
|
* };
|
|
32
32
|
* const command = new DeregisterJobDefinitionCommand(input);
|
|
@@ -29,8 +29,8 @@ export interface DescribeComputeEnvironmentsCommandOutput extends DescribeComput
|
|
|
29
29
|
* import { BatchClient, DescribeComputeEnvironmentsCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
30
30
|
* // const { BatchClient, DescribeComputeEnvironmentsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
31
31
|
* const client = new BatchClient(config);
|
|
32
|
-
* const input = {
|
|
33
|
-
* computeEnvironments: [
|
|
32
|
+
* const input = { // DescribeComputeEnvironmentsRequest
|
|
33
|
+
* computeEnvironments: [ // StringList
|
|
34
34
|
* "STRING_VALUE",
|
|
35
35
|
* ],
|
|
36
36
|
* maxResults: Number("int"),
|
|
@@ -27,8 +27,8 @@ export interface DescribeJobDefinitionsCommandOutput extends DescribeJobDefiniti
|
|
|
27
27
|
* import { BatchClient, DescribeJobDefinitionsCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
28
28
|
* // const { BatchClient, DescribeJobDefinitionsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
29
29
|
* const client = new BatchClient(config);
|
|
30
|
-
* const input = {
|
|
31
|
-
* jobDefinitions: [
|
|
30
|
+
* const input = { // DescribeJobDefinitionsRequest
|
|
31
|
+
* jobDefinitions: [ // StringList
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* maxResults: Number("int"),
|
|
@@ -26,8 +26,8 @@ export interface DescribeJobQueuesCommandOutput extends DescribeJobQueuesRespons
|
|
|
26
26
|
* import { BatchClient, DescribeJobQueuesCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, DescribeJobQueuesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* jobQueues: [
|
|
29
|
+
* const input = { // DescribeJobQueuesRequest
|
|
30
|
+
* jobQueues: [ // StringList
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* maxResults: Number("int"),
|
|
@@ -26,8 +26,8 @@ export interface DescribeJobsCommandOutput extends DescribeJobsResponse, __Metad
|
|
|
26
26
|
* import { BatchClient, DescribeJobsCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, DescribeJobsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* jobs: [ // required
|
|
29
|
+
* const input = { // DescribeJobsRequest
|
|
30
|
+
* jobs: [ // StringList // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* };
|
|
@@ -26,8 +26,8 @@ export interface DescribeSchedulingPoliciesCommandOutput extends DescribeSchedul
|
|
|
26
26
|
* import { BatchClient, DescribeSchedulingPoliciesCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, DescribeSchedulingPoliciesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
30
|
-
* arns: [ // required
|
|
29
|
+
* const input = { // DescribeSchedulingPoliciesRequest
|
|
30
|
+
* arns: [ // StringList // required
|
|
31
31
|
* "STRING_VALUE",
|
|
32
32
|
* ],
|
|
33
33
|
* };
|
|
@@ -40,17 +40,17 @@ export interface ListJobsCommandOutput extends ListJobsResponse, __MetadataBeare
|
|
|
40
40
|
* import { BatchClient, ListJobsCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
41
41
|
* // const { BatchClient, ListJobsCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
42
42
|
* const client = new BatchClient(config);
|
|
43
|
-
* const input = {
|
|
43
|
+
* const input = { // ListJobsRequest
|
|
44
44
|
* jobQueue: "STRING_VALUE",
|
|
45
45
|
* arrayJobId: "STRING_VALUE",
|
|
46
46
|
* multiNodeJobId: "STRING_VALUE",
|
|
47
47
|
* jobStatus: "SUBMITTED" || "PENDING" || "RUNNABLE" || "STARTING" || "RUNNING" || "SUCCEEDED" || "FAILED",
|
|
48
48
|
* maxResults: Number("int"),
|
|
49
49
|
* nextToken: "STRING_VALUE",
|
|
50
|
-
* filters: [
|
|
51
|
-
* {
|
|
50
|
+
* filters: [ // ListJobsFilterList
|
|
51
|
+
* { // KeyValuesPair
|
|
52
52
|
* name: "STRING_VALUE",
|
|
53
|
-
* values: [
|
|
53
|
+
* values: [ // StringList
|
|
54
54
|
* "STRING_VALUE",
|
|
55
55
|
* ],
|
|
56
56
|
* },
|
|
@@ -26,7 +26,7 @@ export interface ListSchedulingPoliciesCommandOutput extends ListSchedulingPolic
|
|
|
26
26
|
* import { BatchClient, ListSchedulingPoliciesCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, ListSchedulingPoliciesCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // ListSchedulingPoliciesRequest
|
|
30
30
|
* maxResults: Number("int"),
|
|
31
31
|
* nextToken: "STRING_VALUE",
|
|
32
32
|
* };
|
|
@@ -27,7 +27,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
|
|
|
27
27
|
* import { BatchClient, ListTagsForResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
28
28
|
* // const { BatchClient, ListTagsForResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
29
29
|
* const client = new BatchClient(config);
|
|
30
|
-
* const input = {
|
|
30
|
+
* const input = { // ListTagsForResourceRequest
|
|
31
31
|
* resourceArn: "STRING_VALUE", // required
|
|
32
32
|
* };
|
|
33
33
|
* const command = new ListTagsForResourceCommand(input);
|
|
@@ -26,48 +26,48 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
26
26
|
* import { BatchClient, RegisterJobDefinitionCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, RegisterJobDefinitionCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // RegisterJobDefinitionRequest
|
|
30
30
|
* jobDefinitionName: "STRING_VALUE", // required
|
|
31
31
|
* type: "container" || "multinode", // required
|
|
32
|
-
* parameters: {
|
|
32
|
+
* parameters: { // ParametersMap
|
|
33
33
|
* "<keys>": "STRING_VALUE",
|
|
34
34
|
* },
|
|
35
35
|
* schedulingPriority: Number("int"),
|
|
36
|
-
* containerProperties: {
|
|
36
|
+
* containerProperties: { // ContainerProperties
|
|
37
37
|
* image: "STRING_VALUE",
|
|
38
38
|
* vcpus: Number("int"),
|
|
39
39
|
* memory: Number("int"),
|
|
40
|
-
* command: [
|
|
40
|
+
* command: [ // StringList
|
|
41
41
|
* "STRING_VALUE",
|
|
42
42
|
* ],
|
|
43
43
|
* jobRoleArn: "STRING_VALUE",
|
|
44
44
|
* executionRoleArn: "STRING_VALUE",
|
|
45
|
-
* volumes: [
|
|
46
|
-
* {
|
|
47
|
-
* host: {
|
|
45
|
+
* volumes: [ // Volumes
|
|
46
|
+
* { // Volume
|
|
47
|
+
* host: { // Host
|
|
48
48
|
* sourcePath: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* name: "STRING_VALUE",
|
|
51
|
-
* efsVolumeConfiguration: {
|
|
51
|
+
* efsVolumeConfiguration: { // EFSVolumeConfiguration
|
|
52
52
|
* fileSystemId: "STRING_VALUE", // required
|
|
53
53
|
* rootDirectory: "STRING_VALUE",
|
|
54
54
|
* transitEncryption: "ENABLED" || "DISABLED",
|
|
55
55
|
* transitEncryptionPort: Number("int"),
|
|
56
|
-
* authorizationConfig: {
|
|
56
|
+
* authorizationConfig: { // EFSAuthorizationConfig
|
|
57
57
|
* accessPointId: "STRING_VALUE",
|
|
58
58
|
* iam: "ENABLED" || "DISABLED",
|
|
59
59
|
* },
|
|
60
60
|
* },
|
|
61
61
|
* },
|
|
62
62
|
* ],
|
|
63
|
-
* environment: [
|
|
64
|
-
* {
|
|
63
|
+
* environment: [ // EnvironmentVariables
|
|
64
|
+
* { // KeyValuePair
|
|
65
65
|
* name: "STRING_VALUE",
|
|
66
66
|
* value: "STRING_VALUE",
|
|
67
67
|
* },
|
|
68
68
|
* ],
|
|
69
|
-
* mountPoints: [
|
|
70
|
-
* {
|
|
69
|
+
* mountPoints: [ // MountPoints
|
|
70
|
+
* { // MountPoint
|
|
71
71
|
* containerPath: "STRING_VALUE",
|
|
72
72
|
* readOnly: true || false,
|
|
73
73
|
* sourceVolume: "STRING_VALUE",
|
|
@@ -75,8 +75,8 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
75
75
|
* ],
|
|
76
76
|
* readonlyRootFilesystem: true || false,
|
|
77
77
|
* privileged: true || false,
|
|
78
|
-
* ulimits: [
|
|
79
|
-
* {
|
|
78
|
+
* ulimits: [ // Ulimits
|
|
79
|
+
* { // Ulimit
|
|
80
80
|
* hardLimit: Number("int"), // required
|
|
81
81
|
* name: "STRING_VALUE", // required
|
|
82
82
|
* softLimit: Number("int"), // required
|
|
@@ -84,26 +84,26 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
84
84
|
* ],
|
|
85
85
|
* user: "STRING_VALUE",
|
|
86
86
|
* instanceType: "STRING_VALUE",
|
|
87
|
-
* resourceRequirements: [
|
|
88
|
-
* {
|
|
87
|
+
* resourceRequirements: [ // ResourceRequirements
|
|
88
|
+
* { // ResourceRequirement
|
|
89
89
|
* value: "STRING_VALUE", // required
|
|
90
90
|
* type: "GPU" || "VCPU" || "MEMORY", // required
|
|
91
91
|
* },
|
|
92
92
|
* ],
|
|
93
|
-
* linuxParameters: {
|
|
94
|
-
* devices: [
|
|
95
|
-
* {
|
|
93
|
+
* linuxParameters: { // LinuxParameters
|
|
94
|
+
* devices: [ // DevicesList
|
|
95
|
+
* { // Device
|
|
96
96
|
* hostPath: "STRING_VALUE", // required
|
|
97
97
|
* containerPath: "STRING_VALUE",
|
|
98
|
-
* permissions: [
|
|
98
|
+
* permissions: [ // DeviceCgroupPermissions
|
|
99
99
|
* "READ" || "WRITE" || "MKNOD",
|
|
100
100
|
* ],
|
|
101
101
|
* },
|
|
102
102
|
* ],
|
|
103
103
|
* initProcessEnabled: true || false,
|
|
104
104
|
* sharedMemorySize: Number("int"),
|
|
105
|
-
* tmpfs: [
|
|
106
|
-
* {
|
|
105
|
+
* tmpfs: [ // TmpfsList
|
|
106
|
+
* { // Tmpfs
|
|
107
107
|
* containerPath: "STRING_VALUE", // required
|
|
108
108
|
* size: Number("int"), // required
|
|
109
109
|
* mountOptions: [
|
|
@@ -114,13 +114,13 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
114
114
|
* maxSwap: Number("int"),
|
|
115
115
|
* swappiness: Number("int"),
|
|
116
116
|
* },
|
|
117
|
-
* logConfiguration: {
|
|
117
|
+
* logConfiguration: { // LogConfiguration
|
|
118
118
|
* logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk", // required
|
|
119
|
-
* options: {
|
|
119
|
+
* options: { // LogConfigurationOptionsMap
|
|
120
120
|
* "<keys>": "STRING_VALUE",
|
|
121
121
|
* },
|
|
122
|
-
* secretOptions: [
|
|
123
|
-
* {
|
|
122
|
+
* secretOptions: [ // SecretList
|
|
123
|
+
* { // Secret
|
|
124
124
|
* name: "STRING_VALUE", // required
|
|
125
125
|
* valueFrom: "STRING_VALUE", // required
|
|
126
126
|
* },
|
|
@@ -132,21 +132,21 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
132
132
|
* valueFrom: "STRING_VALUE", // required
|
|
133
133
|
* },
|
|
134
134
|
* ],
|
|
135
|
-
* networkConfiguration: {
|
|
135
|
+
* networkConfiguration: { // NetworkConfiguration
|
|
136
136
|
* assignPublicIp: "ENABLED" || "DISABLED",
|
|
137
137
|
* },
|
|
138
|
-
* fargatePlatformConfiguration: {
|
|
138
|
+
* fargatePlatformConfiguration: { // FargatePlatformConfiguration
|
|
139
139
|
* platformVersion: "STRING_VALUE",
|
|
140
140
|
* },
|
|
141
|
-
* ephemeralStorage: {
|
|
141
|
+
* ephemeralStorage: { // EphemeralStorage
|
|
142
142
|
* sizeInGiB: Number("int"), // required
|
|
143
143
|
* },
|
|
144
144
|
* },
|
|
145
|
-
* nodeProperties: {
|
|
145
|
+
* nodeProperties: { // NodeProperties
|
|
146
146
|
* numNodes: Number("int"), // required
|
|
147
147
|
* mainNode: Number("int"), // required
|
|
148
|
-
* nodeRangeProperties: [ // required
|
|
149
|
-
* {
|
|
148
|
+
* nodeRangeProperties: [ // NodeRangeProperties // required
|
|
149
|
+
* { // NodeRangeProperty
|
|
150
150
|
* targetNodes: "STRING_VALUE", // required
|
|
151
151
|
* container: {
|
|
152
152
|
* image: "STRING_VALUE",
|
|
@@ -221,9 +221,7 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
221
221
|
* {
|
|
222
222
|
* containerPath: "STRING_VALUE", // required
|
|
223
223
|
* size: Number("int"), // required
|
|
224
|
-
* mountOptions:
|
|
225
|
-
* "<StringList>",
|
|
226
|
-
* ],
|
|
224
|
+
* mountOptions: "<StringList>",
|
|
227
225
|
* },
|
|
228
226
|
* ],
|
|
229
227
|
* maxSwap: Number("int"),
|
|
@@ -232,15 +230,11 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
232
230
|
* logConfiguration: {
|
|
233
231
|
* logDriver: "json-file" || "syslog" || "journald" || "gelf" || "fluentd" || "awslogs" || "splunk", // required
|
|
234
232
|
* options: {
|
|
235
|
-
* "<keys>": "
|
|
233
|
+
* "<keys>": "STRING_VALUE",
|
|
236
234
|
* },
|
|
237
|
-
* secretOptions:
|
|
238
|
-
* "<SecretList>",
|
|
239
|
-
* ],
|
|
235
|
+
* secretOptions: "<SecretList>",
|
|
240
236
|
* },
|
|
241
|
-
* secrets:
|
|
242
|
-
* "<SecretList>",
|
|
243
|
-
* ],
|
|
237
|
+
* secrets: "<SecretList>",
|
|
244
238
|
* networkConfiguration: {
|
|
245
239
|
* assignPublicIp: "ENABLED" || "DISABLED",
|
|
246
240
|
* },
|
|
@@ -254,10 +248,10 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
254
248
|
* },
|
|
255
249
|
* ],
|
|
256
250
|
* },
|
|
257
|
-
* retryStrategy: {
|
|
251
|
+
* retryStrategy: { // RetryStrategy
|
|
258
252
|
* attempts: Number("int"),
|
|
259
|
-
* evaluateOnExit: [
|
|
260
|
-
* {
|
|
253
|
+
* evaluateOnExit: [ // EvaluateOnExitList
|
|
254
|
+
* { // EvaluateOnExit
|
|
261
255
|
* onStatusReason: "STRING_VALUE",
|
|
262
256
|
* onReason: "STRING_VALUE",
|
|
263
257
|
* onExitCode: "STRING_VALUE",
|
|
@@ -266,53 +260,49 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
266
260
|
* ],
|
|
267
261
|
* },
|
|
268
262
|
* propagateTags: true || false,
|
|
269
|
-
* timeout: {
|
|
263
|
+
* timeout: { // JobTimeout
|
|
270
264
|
* attemptDurationSeconds: Number("int"),
|
|
271
265
|
* },
|
|
272
|
-
* tags: {
|
|
266
|
+
* tags: { // TagrisTagsMap
|
|
273
267
|
* "<keys>": "STRING_VALUE",
|
|
274
268
|
* },
|
|
275
|
-
* platformCapabilities: [
|
|
269
|
+
* platformCapabilities: [ // PlatformCapabilityList
|
|
276
270
|
* "EC2" || "FARGATE",
|
|
277
271
|
* ],
|
|
278
|
-
* eksProperties: {
|
|
279
|
-
* podProperties: {
|
|
272
|
+
* eksProperties: { // EksProperties
|
|
273
|
+
* podProperties: { // EksPodProperties
|
|
280
274
|
* serviceAccountName: "STRING_VALUE",
|
|
281
275
|
* hostNetwork: true || false,
|
|
282
276
|
* dnsPolicy: "STRING_VALUE",
|
|
283
|
-
* containers: [
|
|
284
|
-
* {
|
|
277
|
+
* containers: [ // EksContainers
|
|
278
|
+
* { // EksContainer
|
|
285
279
|
* name: "STRING_VALUE",
|
|
286
280
|
* image: "STRING_VALUE", // required
|
|
287
281
|
* imagePullPolicy: "STRING_VALUE",
|
|
288
|
-
* command:
|
|
289
|
-
*
|
|
290
|
-
*
|
|
291
|
-
*
|
|
292
|
-
* "<StringList>",
|
|
293
|
-
* ],
|
|
294
|
-
* env: [
|
|
295
|
-
* {
|
|
282
|
+
* command: "<StringList>",
|
|
283
|
+
* args: "<StringList>",
|
|
284
|
+
* env: [ // EksContainerEnvironmentVariables
|
|
285
|
+
* { // EksContainerEnvironmentVariable
|
|
296
286
|
* name: "STRING_VALUE", // required
|
|
297
287
|
* value: "STRING_VALUE",
|
|
298
288
|
* },
|
|
299
289
|
* ],
|
|
300
|
-
* resources: {
|
|
301
|
-
* limits: {
|
|
290
|
+
* resources: { // EksContainerResourceRequirements
|
|
291
|
+
* limits: { // EksLimits
|
|
302
292
|
* "<keys>": "STRING_VALUE",
|
|
303
293
|
* },
|
|
304
|
-
* requests: {
|
|
294
|
+
* requests: { // EksRequests
|
|
305
295
|
* "<keys>": "STRING_VALUE",
|
|
306
296
|
* },
|
|
307
297
|
* },
|
|
308
|
-
* volumeMounts: [
|
|
309
|
-
* {
|
|
298
|
+
* volumeMounts: [ // EksContainerVolumeMounts
|
|
299
|
+
* { // EksContainerVolumeMount
|
|
310
300
|
* name: "STRING_VALUE",
|
|
311
301
|
* mountPath: "STRING_VALUE",
|
|
312
302
|
* readOnly: true || false,
|
|
313
303
|
* },
|
|
314
304
|
* ],
|
|
315
|
-
* securityContext: {
|
|
305
|
+
* securityContext: { // EksContainerSecurityContext
|
|
316
306
|
* runAsUser: Number("long"),
|
|
317
307
|
* runAsGroup: Number("long"),
|
|
318
308
|
* privileged: true || false,
|
|
@@ -321,25 +311,25 @@ export interface RegisterJobDefinitionCommandOutput extends RegisterJobDefinitio
|
|
|
321
311
|
* },
|
|
322
312
|
* },
|
|
323
313
|
* ],
|
|
324
|
-
* volumes: [
|
|
325
|
-
* {
|
|
314
|
+
* volumes: [ // EksVolumes
|
|
315
|
+
* { // EksVolume
|
|
326
316
|
* name: "STRING_VALUE", // required
|
|
327
|
-
* hostPath: {
|
|
317
|
+
* hostPath: { // EksHostPath
|
|
328
318
|
* path: "STRING_VALUE",
|
|
329
319
|
* },
|
|
330
|
-
* emptyDir: {
|
|
320
|
+
* emptyDir: { // EksEmptyDir
|
|
331
321
|
* medium: "STRING_VALUE",
|
|
332
322
|
* sizeLimit: "STRING_VALUE",
|
|
333
323
|
* },
|
|
334
|
-
* secret: {
|
|
324
|
+
* secret: { // EksSecret
|
|
335
325
|
* secretName: "STRING_VALUE", // required
|
|
336
326
|
* optional: true || false,
|
|
337
327
|
* },
|
|
338
328
|
* },
|
|
339
329
|
* ],
|
|
340
|
-
* metadata: {
|
|
341
|
-
* labels: {
|
|
342
|
-
* "<keys>": "
|
|
330
|
+
* metadata: { // EksMetadata
|
|
331
|
+
* labels: { // EksLabelsMap
|
|
332
|
+
* "<keys>": "STRING_VALUE",
|
|
343
333
|
* },
|
|
344
334
|
* },
|
|
345
335
|
* },
|
|
@@ -38,48 +38,48 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
|
|
|
38
38
|
* import { BatchClient, SubmitJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
39
39
|
* // const { BatchClient, SubmitJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
40
40
|
* const client = new BatchClient(config);
|
|
41
|
-
* const input = {
|
|
41
|
+
* const input = { // SubmitJobRequest
|
|
42
42
|
* jobName: "STRING_VALUE", // required
|
|
43
43
|
* jobQueue: "STRING_VALUE", // required
|
|
44
44
|
* shareIdentifier: "STRING_VALUE",
|
|
45
45
|
* schedulingPriorityOverride: Number("int"),
|
|
46
|
-
* arrayProperties: {
|
|
46
|
+
* arrayProperties: { // ArrayProperties
|
|
47
47
|
* size: Number("int"),
|
|
48
48
|
* },
|
|
49
|
-
* dependsOn: [
|
|
50
|
-
* {
|
|
49
|
+
* dependsOn: [ // JobDependencyList
|
|
50
|
+
* { // JobDependency
|
|
51
51
|
* jobId: "STRING_VALUE",
|
|
52
52
|
* type: "N_TO_N" || "SEQUENTIAL",
|
|
53
53
|
* },
|
|
54
54
|
* ],
|
|
55
55
|
* jobDefinition: "STRING_VALUE", // required
|
|
56
|
-
* parameters: {
|
|
56
|
+
* parameters: { // ParametersMap
|
|
57
57
|
* "<keys>": "STRING_VALUE",
|
|
58
58
|
* },
|
|
59
|
-
* containerOverrides: {
|
|
59
|
+
* containerOverrides: { // ContainerOverrides
|
|
60
60
|
* vcpus: Number("int"),
|
|
61
61
|
* memory: Number("int"),
|
|
62
|
-
* command: [
|
|
62
|
+
* command: [ // StringList
|
|
63
63
|
* "STRING_VALUE",
|
|
64
64
|
* ],
|
|
65
65
|
* instanceType: "STRING_VALUE",
|
|
66
|
-
* environment: [
|
|
67
|
-
* {
|
|
66
|
+
* environment: [ // EnvironmentVariables
|
|
67
|
+
* { // KeyValuePair
|
|
68
68
|
* name: "STRING_VALUE",
|
|
69
69
|
* value: "STRING_VALUE",
|
|
70
70
|
* },
|
|
71
71
|
* ],
|
|
72
|
-
* resourceRequirements: [
|
|
73
|
-
* {
|
|
72
|
+
* resourceRequirements: [ // ResourceRequirements
|
|
73
|
+
* { // ResourceRequirement
|
|
74
74
|
* value: "STRING_VALUE", // required
|
|
75
75
|
* type: "GPU" || "VCPU" || "MEMORY", // required
|
|
76
76
|
* },
|
|
77
77
|
* ],
|
|
78
78
|
* },
|
|
79
|
-
* nodeOverrides: {
|
|
79
|
+
* nodeOverrides: { // NodeOverrides
|
|
80
80
|
* numNodes: Number("int"),
|
|
81
|
-
* nodePropertyOverrides: [
|
|
82
|
-
* {
|
|
81
|
+
* nodePropertyOverrides: [ // NodePropertyOverrides
|
|
82
|
+
* { // NodePropertyOverride
|
|
83
83
|
* targetNodes: "STRING_VALUE", // required
|
|
84
84
|
* containerOverrides: {
|
|
85
85
|
* vcpus: Number("int"),
|
|
@@ -104,10 +104,10 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
|
|
|
104
104
|
* },
|
|
105
105
|
* ],
|
|
106
106
|
* },
|
|
107
|
-
* retryStrategy: {
|
|
107
|
+
* retryStrategy: { // RetryStrategy
|
|
108
108
|
* attempts: Number("int"),
|
|
109
|
-
* evaluateOnExit: [
|
|
110
|
-
* {
|
|
109
|
+
* evaluateOnExit: [ // EvaluateOnExitList
|
|
110
|
+
* { // EvaluateOnExit
|
|
111
111
|
* onStatusReason: "STRING_VALUE",
|
|
112
112
|
* onReason: "STRING_VALUE",
|
|
113
113
|
* onExitCode: "STRING_VALUE",
|
|
@@ -116,16 +116,16 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
|
|
|
116
116
|
* ],
|
|
117
117
|
* },
|
|
118
118
|
* propagateTags: true || false,
|
|
119
|
-
* timeout: {
|
|
119
|
+
* timeout: { // JobTimeout
|
|
120
120
|
* attemptDurationSeconds: Number("int"),
|
|
121
121
|
* },
|
|
122
|
-
* tags: {
|
|
122
|
+
* tags: { // TagrisTagsMap
|
|
123
123
|
* "<keys>": "STRING_VALUE",
|
|
124
124
|
* },
|
|
125
|
-
* eksPropertiesOverride: {
|
|
126
|
-
* podProperties: {
|
|
127
|
-
* containers: [
|
|
128
|
-
* {
|
|
125
|
+
* eksPropertiesOverride: { // EksPropertiesOverride
|
|
126
|
+
* podProperties: { // EksPodPropertiesOverride
|
|
127
|
+
* containers: [ // EksContainerOverrideList
|
|
128
|
+
* { // EksContainerOverride
|
|
129
129
|
* image: "STRING_VALUE",
|
|
130
130
|
* command: [
|
|
131
131
|
* "STRING_VALUE",
|
|
@@ -133,24 +133,24 @@ export interface SubmitJobCommandOutput extends SubmitJobResponse, __MetadataBea
|
|
|
133
133
|
* args: [
|
|
134
134
|
* "STRING_VALUE",
|
|
135
135
|
* ],
|
|
136
|
-
* env: [
|
|
137
|
-
* {
|
|
136
|
+
* env: [ // EksContainerEnvironmentVariables
|
|
137
|
+
* { // EksContainerEnvironmentVariable
|
|
138
138
|
* name: "STRING_VALUE", // required
|
|
139
139
|
* value: "STRING_VALUE",
|
|
140
140
|
* },
|
|
141
141
|
* ],
|
|
142
|
-
* resources: {
|
|
143
|
-
* limits: {
|
|
142
|
+
* resources: { // EksContainerResourceRequirements
|
|
143
|
+
* limits: { // EksLimits
|
|
144
144
|
* "<keys>": "STRING_VALUE",
|
|
145
145
|
* },
|
|
146
|
-
* requests: {
|
|
146
|
+
* requests: { // EksRequests
|
|
147
147
|
* "<keys>": "STRING_VALUE",
|
|
148
148
|
* },
|
|
149
149
|
* },
|
|
150
150
|
* },
|
|
151
151
|
* ],
|
|
152
|
-
* metadata: {
|
|
153
|
-
* labels: {
|
|
152
|
+
* metadata: { // EksMetadata
|
|
153
|
+
* labels: { // EksLabelsMap
|
|
154
154
|
* "<keys>": "STRING_VALUE",
|
|
155
155
|
* },
|
|
156
156
|
* },
|
|
@@ -29,9 +29,9 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
|
|
|
29
29
|
* import { BatchClient, TagResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
30
30
|
* // const { BatchClient, TagResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
31
31
|
* const client = new BatchClient(config);
|
|
32
|
-
* const input = {
|
|
32
|
+
* const input = { // TagResourceRequest
|
|
33
33
|
* resourceArn: "STRING_VALUE", // required
|
|
34
|
-
* tags: { // required
|
|
34
|
+
* tags: { // TagrisTagsMap // required
|
|
35
35
|
* "<keys>": "STRING_VALUE",
|
|
36
36
|
* },
|
|
37
37
|
* };
|
|
@@ -28,7 +28,7 @@ export interface TerminateJobCommandOutput extends TerminateJobResponse, __Metad
|
|
|
28
28
|
* import { BatchClient, TerminateJobCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
29
29
|
* // const { BatchClient, TerminateJobCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
30
30
|
* const client = new BatchClient(config);
|
|
31
|
-
* const input = {
|
|
31
|
+
* const input = { // TerminateJobRequest
|
|
32
32
|
* jobId: "STRING_VALUE", // required
|
|
33
33
|
* reason: "STRING_VALUE", // required
|
|
34
34
|
* };
|
|
@@ -26,9 +26,9 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
|
|
|
26
26
|
* import { BatchClient, UntagResourceCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, UntagResourceCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UntagResourceRequest
|
|
30
30
|
* resourceArn: "STRING_VALUE", // required
|
|
31
|
-
* tagKeys: [ // required
|
|
31
|
+
* tagKeys: [ // TagKeysList // required
|
|
32
32
|
* "STRING_VALUE",
|
|
33
33
|
* ],
|
|
34
34
|
* };
|
|
@@ -26,15 +26,15 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
|
|
|
26
26
|
* import { BatchClient, UpdateComputeEnvironmentCommand } from "@aws-sdk/client-batch"; // ES Modules import
|
|
27
27
|
* // const { BatchClient, UpdateComputeEnvironmentCommand } = require("@aws-sdk/client-batch"); // CommonJS import
|
|
28
28
|
* const client = new BatchClient(config);
|
|
29
|
-
* const input = {
|
|
29
|
+
* const input = { // UpdateComputeEnvironmentRequest
|
|
30
30
|
* computeEnvironment: "STRING_VALUE", // required
|
|
31
31
|
* state: "ENABLED" || "DISABLED",
|
|
32
32
|
* unmanagedvCpus: Number("int"),
|
|
33
|
-
* computeResources: {
|
|
33
|
+
* computeResources: { // ComputeResourceUpdate
|
|
34
34
|
* minvCpus: Number("int"),
|
|
35
35
|
* maxvCpus: Number("int"),
|
|
36
36
|
* desiredvCpus: Number("int"),
|
|
37
|
-
* subnets: [
|
|
37
|
+
* subnets: [ // StringList
|
|
38
38
|
* "STRING_VALUE",
|
|
39
39
|
* ],
|
|
40
40
|
* securityGroupIds: [
|
|
@@ -46,18 +46,18 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
|
|
|
46
46
|
* ],
|
|
47
47
|
* ec2KeyPair: "STRING_VALUE",
|
|
48
48
|
* instanceRole: "STRING_VALUE",
|
|
49
|
-
* tags: {
|
|
49
|
+
* tags: { // TagsMap
|
|
50
50
|
* "<keys>": "STRING_VALUE",
|
|
51
51
|
* },
|
|
52
52
|
* placementGroup: "STRING_VALUE",
|
|
53
53
|
* bidPercentage: Number("int"),
|
|
54
|
-
* launchTemplate: {
|
|
54
|
+
* launchTemplate: { // LaunchTemplateSpecification
|
|
55
55
|
* launchTemplateId: "STRING_VALUE",
|
|
56
56
|
* launchTemplateName: "STRING_VALUE",
|
|
57
57
|
* version: "STRING_VALUE",
|
|
58
58
|
* },
|
|
59
|
-
* ec2Configuration: [
|
|
60
|
-
* {
|
|
59
|
+
* ec2Configuration: [ // Ec2ConfigurationList
|
|
60
|
+
* { // Ec2Configuration
|
|
61
61
|
* imageType: "STRING_VALUE", // required
|
|
62
62
|
* imageIdOverride: "STRING_VALUE",
|
|
63
63
|
* imageKubernetesVersion: "STRING_VALUE",
|
|
@@ -68,7 +68,7 @@ export interface UpdateComputeEnvironmentCommandOutput extends UpdateComputeEnvi
|
|
|
68
68
|
* imageId: "STRING_VALUE",
|
|
69
69
|
* },
|
|
70
70
|
* serviceRole: "STRING_VALUE",
|
|
71
|
-
* updatePolicy: {
|
|
71
|
+
* updatePolicy: { // UpdatePolicy
|
|
72
72
|
* terminateJobsOnUpdate: true || false,
|
|
73
73
|
* jobExecutionTimeoutMinutes: Number("long"),
|
|
74
74
|
* },
|