@aws-sdk/client-batch 3.713.0 → 3.714.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/runtimeConfig.js +8 -6
- package/dist-es/runtimeConfig.js +8 -6
- package/dist-types/BatchClient.d.ts +18 -0
- package/dist-types/commands/CreateComputeEnvironmentCommand.d.ts +3 -5
- package/dist-types/commands/DescribeJobDefinitionsCommand.d.ts +20 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +20 -0
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +20 -0
- package/dist-types/commands/SubmitJobCommand.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +137 -88
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/BatchClient.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +8 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +14 -14
|
@@ -23,6 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
24
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
25
|
(0, core_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
|
+
const profileConfig = { profile: config?.profile };
|
|
26
27
|
return {
|
|
27
28
|
...clientSharedValues,
|
|
28
29
|
...config,
|
|
@@ -32,19 +33,20 @@ const getRuntimeConfig = (config) => {
|
|
|
32
33
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
33
34
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
34
35
|
(0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
|
-
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
36
|
-
region: config?.region ??
|
|
36
|
+
maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
37
|
+
region: config?.region ??
|
|
38
|
+
(0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
37
39
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
38
40
|
retryMode: config?.retryMode ??
|
|
39
41
|
(0, node_config_provider_1.loadConfig)({
|
|
40
42
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
41
43
|
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
42
|
-
}),
|
|
44
|
+
}, config),
|
|
43
45
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
44
46
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
46
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
47
|
-
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
|
|
47
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
48
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
49
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
|
48
50
|
};
|
|
49
51
|
};
|
|
50
52
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -19,6 +19,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
19
19
|
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
20
20
|
const clientSharedValues = getSharedRuntimeConfig(config);
|
|
21
21
|
awsCheckVersion(process.version);
|
|
22
|
+
const profileConfig = { profile: config?.profile };
|
|
22
23
|
return {
|
|
23
24
|
...clientSharedValues,
|
|
24
25
|
...config,
|
|
@@ -28,18 +29,19 @@ export const getRuntimeConfig = (config) => {
|
|
|
28
29
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
30
31
|
createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
31
|
-
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
32
|
-
region: config?.region ??
|
|
32
|
+
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
33
|
+
region: config?.region ??
|
|
34
|
+
loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...profileConfig }),
|
|
33
35
|
requestHandler: RequestHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
34
36
|
retryMode: config?.retryMode ??
|
|
35
37
|
loadNodeConfig({
|
|
36
38
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
39
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
38
|
-
}),
|
|
40
|
+
}, config),
|
|
39
41
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
40
42
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
41
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
42
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
43
|
-
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
|
43
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
44
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, profileConfig),
|
|
45
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS, profileConfig),
|
|
44
46
|
};
|
|
45
47
|
};
|
|
@@ -119,6 +119,24 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
119
119
|
* The AWS region to which this client will send requests
|
|
120
120
|
*/
|
|
121
121
|
region?: string | __Provider<string>;
|
|
122
|
+
/**
|
|
123
|
+
* Setting a client profile is similar to setting a value for the
|
|
124
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
125
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
126
|
+
*
|
|
127
|
+
* When set, and only for environments where an AWS configuration
|
|
128
|
+
* file exists, fields configurable by this file will be retrieved
|
|
129
|
+
* from the specified profile within that file.
|
|
130
|
+
* Conflicting code configuration and environment variables will
|
|
131
|
+
* still have higher priority.
|
|
132
|
+
*
|
|
133
|
+
* For client credential resolution that involves checking the AWS
|
|
134
|
+
* configuration file, the client's profile (this value) will be
|
|
135
|
+
* used unless a different profile is set in the credential
|
|
136
|
+
* provider options.
|
|
137
|
+
*
|
|
138
|
+
*/
|
|
139
|
+
profile?: string;
|
|
122
140
|
/**
|
|
123
141
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
124
142
|
* @internal
|
|
@@ -93,11 +93,9 @@ declare const CreateComputeEnvironmentCommand_base: {
|
|
|
93
93
|
* </li>
|
|
94
94
|
* <li>
|
|
95
95
|
* <p>Set the update to latest image version (<code>updateToLatestImageVersion</code>)
|
|
96
|
-
* parameter to
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* environment. This parameter is ignored when you create a compute
|
|
100
|
-
* environment.</p>
|
|
96
|
+
* parameter to <code>true</code>. The <code>updateToLatestImageVersion</code> parameter
|
|
97
|
+
* is used when you update a compute environment. This parameter is ignored when you create
|
|
98
|
+
* a compute environment.</p>
|
|
101
99
|
* </li>
|
|
102
100
|
* <li>
|
|
103
101
|
* <p>Don't specify an AMI ID in <code>imageId</code>, <code>imageIdOverride</code> (in
|
|
@@ -374,6 +374,7 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
374
374
|
* // { // EksContainerVolumeMount
|
|
375
375
|
* // name: "STRING_VALUE",
|
|
376
376
|
* // mountPath: "STRING_VALUE",
|
|
377
|
+
* // subPath: "STRING_VALUE",
|
|
377
378
|
* // readOnly: true || false,
|
|
378
379
|
* // },
|
|
379
380
|
* // ],
|
|
@@ -412,6 +413,7 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
412
413
|
* // {
|
|
413
414
|
* // name: "STRING_VALUE",
|
|
414
415
|
* // mountPath: "STRING_VALUE",
|
|
416
|
+
* // subPath: "STRING_VALUE",
|
|
415
417
|
* // readOnly: true || false,
|
|
416
418
|
* // },
|
|
417
419
|
* // ],
|
|
@@ -439,12 +441,20 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
439
441
|
* // secretName: "STRING_VALUE", // required
|
|
440
442
|
* // optional: true || false,
|
|
441
443
|
* // },
|
|
444
|
+
* // persistentVolumeClaim: { // EksPersistentVolumeClaim
|
|
445
|
+
* // claimName: "STRING_VALUE", // required
|
|
446
|
+
* // readOnly: true || false,
|
|
447
|
+
* // },
|
|
442
448
|
* // },
|
|
443
449
|
* // ],
|
|
444
450
|
* // metadata: { // EksMetadata
|
|
445
451
|
* // labels: { // EksLabelsMap
|
|
446
452
|
* // "<keys>": "STRING_VALUE",
|
|
447
453
|
* // },
|
|
454
|
+
* // annotations: { // EksAnnotationsMap
|
|
455
|
+
* // "<keys>": "STRING_VALUE",
|
|
456
|
+
* // },
|
|
457
|
+
* // namespace: "STRING_VALUE",
|
|
448
458
|
* // },
|
|
449
459
|
* // shareProcessNamespace: true || false,
|
|
450
460
|
* // },
|
|
@@ -534,6 +544,7 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
534
544
|
* // {
|
|
535
545
|
* // name: "STRING_VALUE",
|
|
536
546
|
* // mountPath: "STRING_VALUE",
|
|
547
|
+
* // subPath: "STRING_VALUE",
|
|
537
548
|
* // readOnly: true || false,
|
|
538
549
|
* // },
|
|
539
550
|
* // ],
|
|
@@ -572,6 +583,7 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
572
583
|
* // {
|
|
573
584
|
* // name: "STRING_VALUE",
|
|
574
585
|
* // mountPath: "STRING_VALUE",
|
|
586
|
+
* // subPath: "STRING_VALUE",
|
|
575
587
|
* // readOnly: true || false,
|
|
576
588
|
* // },
|
|
577
589
|
* // ],
|
|
@@ -599,12 +611,20 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
599
611
|
* // secretName: "STRING_VALUE", // required
|
|
600
612
|
* // optional: true || false,
|
|
601
613
|
* // },
|
|
614
|
+
* // persistentVolumeClaim: {
|
|
615
|
+
* // claimName: "STRING_VALUE", // required
|
|
616
|
+
* // readOnly: true || false,
|
|
617
|
+
* // },
|
|
602
618
|
* // },
|
|
603
619
|
* // ],
|
|
604
620
|
* // metadata: {
|
|
605
621
|
* // labels: {
|
|
606
622
|
* // "<keys>": "STRING_VALUE",
|
|
607
623
|
* // },
|
|
624
|
+
* // annotations: {
|
|
625
|
+
* // "<keys>": "STRING_VALUE",
|
|
626
|
+
* // },
|
|
627
|
+
* // namespace: "STRING_VALUE",
|
|
608
628
|
* // },
|
|
609
629
|
* // shareProcessNamespace: true || false,
|
|
610
630
|
* // },
|
|
@@ -430,6 +430,7 @@ declare const DescribeJobsCommand_base: {
|
|
|
430
430
|
* // { // EksContainerVolumeMount
|
|
431
431
|
* // name: "STRING_VALUE",
|
|
432
432
|
* // mountPath: "STRING_VALUE",
|
|
433
|
+
* // subPath: "STRING_VALUE",
|
|
433
434
|
* // readOnly: true || false,
|
|
434
435
|
* // },
|
|
435
436
|
* // ],
|
|
@@ -468,6 +469,7 @@ declare const DescribeJobsCommand_base: {
|
|
|
468
469
|
* // {
|
|
469
470
|
* // name: "STRING_VALUE",
|
|
470
471
|
* // mountPath: "STRING_VALUE",
|
|
472
|
+
* // subPath: "STRING_VALUE",
|
|
471
473
|
* // readOnly: true || false,
|
|
472
474
|
* // },
|
|
473
475
|
* // ],
|
|
@@ -495,12 +497,20 @@ declare const DescribeJobsCommand_base: {
|
|
|
495
497
|
* // secretName: "STRING_VALUE", // required
|
|
496
498
|
* // optional: true || false,
|
|
497
499
|
* // },
|
|
500
|
+
* // persistentVolumeClaim: { // EksPersistentVolumeClaim
|
|
501
|
+
* // claimName: "STRING_VALUE", // required
|
|
502
|
+
* // readOnly: true || false,
|
|
503
|
+
* // },
|
|
498
504
|
* // },
|
|
499
505
|
* // ],
|
|
500
506
|
* // metadata: { // EksMetadata
|
|
501
507
|
* // labels: { // EksLabelsMap
|
|
502
508
|
* // "<keys>": "STRING_VALUE",
|
|
503
509
|
* // },
|
|
510
|
+
* // annotations: { // EksAnnotationsMap
|
|
511
|
+
* // "<keys>": "STRING_VALUE",
|
|
512
|
+
* // },
|
|
513
|
+
* // namespace: "STRING_VALUE",
|
|
504
514
|
* // },
|
|
505
515
|
* // shareProcessNamespace: true || false,
|
|
506
516
|
* // },
|
|
@@ -562,6 +572,7 @@ declare const DescribeJobsCommand_base: {
|
|
|
562
572
|
* // {
|
|
563
573
|
* // name: "STRING_VALUE",
|
|
564
574
|
* // mountPath: "STRING_VALUE",
|
|
575
|
+
* // subPath: "STRING_VALUE",
|
|
565
576
|
* // readOnly: true || false,
|
|
566
577
|
* // },
|
|
567
578
|
* // ],
|
|
@@ -602,6 +613,7 @@ declare const DescribeJobsCommand_base: {
|
|
|
602
613
|
* // {
|
|
603
614
|
* // name: "STRING_VALUE",
|
|
604
615
|
* // mountPath: "STRING_VALUE",
|
|
616
|
+
* // subPath: "STRING_VALUE",
|
|
605
617
|
* // readOnly: true || false,
|
|
606
618
|
* // },
|
|
607
619
|
* // ],
|
|
@@ -629,6 +641,10 @@ declare const DescribeJobsCommand_base: {
|
|
|
629
641
|
* // secretName: "STRING_VALUE", // required
|
|
630
642
|
* // optional: true || false,
|
|
631
643
|
* // },
|
|
644
|
+
* // persistentVolumeClaim: {
|
|
645
|
+
* // claimName: "STRING_VALUE", // required
|
|
646
|
+
* // readOnly: true || false,
|
|
647
|
+
* // },
|
|
632
648
|
* // },
|
|
633
649
|
* // ],
|
|
634
650
|
* // podName: "STRING_VALUE",
|
|
@@ -637,6 +653,10 @@ declare const DescribeJobsCommand_base: {
|
|
|
637
653
|
* // labels: {
|
|
638
654
|
* // "<keys>": "STRING_VALUE",
|
|
639
655
|
* // },
|
|
656
|
+
* // annotations: {
|
|
657
|
+
* // "<keys>": "STRING_VALUE",
|
|
658
|
+
* // },
|
|
659
|
+
* // namespace: "STRING_VALUE",
|
|
640
660
|
* // },
|
|
641
661
|
* // shareProcessNamespace: true || false,
|
|
642
662
|
* // },
|
|
@@ -343,6 +343,7 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
343
343
|
* { // EksContainerVolumeMount
|
|
344
344
|
* name: "STRING_VALUE",
|
|
345
345
|
* mountPath: "STRING_VALUE",
|
|
346
|
+
* subPath: "STRING_VALUE",
|
|
346
347
|
* readOnly: true || false,
|
|
347
348
|
* },
|
|
348
349
|
* ],
|
|
@@ -381,6 +382,7 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
381
382
|
* {
|
|
382
383
|
* name: "STRING_VALUE",
|
|
383
384
|
* mountPath: "STRING_VALUE",
|
|
385
|
+
* subPath: "STRING_VALUE",
|
|
384
386
|
* readOnly: true || false,
|
|
385
387
|
* },
|
|
386
388
|
* ],
|
|
@@ -408,12 +410,20 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
408
410
|
* secretName: "STRING_VALUE", // required
|
|
409
411
|
* optional: true || false,
|
|
410
412
|
* },
|
|
413
|
+
* persistentVolumeClaim: { // EksPersistentVolumeClaim
|
|
414
|
+
* claimName: "STRING_VALUE", // required
|
|
415
|
+
* readOnly: true || false,
|
|
416
|
+
* },
|
|
411
417
|
* },
|
|
412
418
|
* ],
|
|
413
419
|
* metadata: { // EksMetadata
|
|
414
420
|
* labels: { // EksLabelsMap
|
|
415
421
|
* "<keys>": "STRING_VALUE",
|
|
416
422
|
* },
|
|
423
|
+
* annotations: { // EksAnnotationsMap
|
|
424
|
+
* "<keys>": "STRING_VALUE",
|
|
425
|
+
* },
|
|
426
|
+
* namespace: "STRING_VALUE",
|
|
417
427
|
* },
|
|
418
428
|
* shareProcessNamespace: true || false,
|
|
419
429
|
* },
|
|
@@ -477,6 +487,7 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
477
487
|
* {
|
|
478
488
|
* name: "STRING_VALUE",
|
|
479
489
|
* mountPath: "STRING_VALUE",
|
|
490
|
+
* subPath: "STRING_VALUE",
|
|
480
491
|
* readOnly: true || false,
|
|
481
492
|
* },
|
|
482
493
|
* ],
|
|
@@ -515,6 +526,7 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
515
526
|
* {
|
|
516
527
|
* name: "STRING_VALUE",
|
|
517
528
|
* mountPath: "STRING_VALUE",
|
|
529
|
+
* subPath: "STRING_VALUE",
|
|
518
530
|
* readOnly: true || false,
|
|
519
531
|
* },
|
|
520
532
|
* ],
|
|
@@ -542,12 +554,20 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
542
554
|
* secretName: "STRING_VALUE", // required
|
|
543
555
|
* optional: true || false,
|
|
544
556
|
* },
|
|
557
|
+
* persistentVolumeClaim: {
|
|
558
|
+
* claimName: "STRING_VALUE", // required
|
|
559
|
+
* readOnly: true || false,
|
|
560
|
+
* },
|
|
545
561
|
* },
|
|
546
562
|
* ],
|
|
547
563
|
* metadata: {
|
|
548
564
|
* labels: {
|
|
549
565
|
* "<keys>": "STRING_VALUE",
|
|
550
566
|
* },
|
|
567
|
+
* annotations: {
|
|
568
|
+
* "<keys>": "STRING_VALUE",
|
|
569
|
+
* },
|
|
570
|
+
* namespace: "STRING_VALUE",
|
|
551
571
|
* },
|
|
552
572
|
* shareProcessNamespace: true || false,
|
|
553
573
|
* },
|
|
@@ -176,6 +176,10 @@ declare const SubmitJobCommand_base: {
|
|
|
176
176
|
* labels: { // EksLabelsMap
|
|
177
177
|
* "<keys>": "STRING_VALUE",
|
|
178
178
|
* },
|
|
179
|
+
* annotations: { // EksAnnotationsMap
|
|
180
|
+
* "<keys>": "STRING_VALUE",
|
|
181
|
+
* },
|
|
182
|
+
* namespace: "STRING_VALUE",
|
|
179
183
|
* },
|
|
180
184
|
* },
|
|
181
185
|
* },
|
|
@@ -250,6 +254,10 @@ declare const SubmitJobCommand_base: {
|
|
|
250
254
|
* labels: {
|
|
251
255
|
* "<keys>": "STRING_VALUE",
|
|
252
256
|
* },
|
|
257
|
+
* annotations: {
|
|
258
|
+
* "<keys>": "STRING_VALUE",
|
|
259
|
+
* },
|
|
260
|
+
* namespace: "STRING_VALUE",
|
|
253
261
|
* },
|
|
254
262
|
* },
|
|
255
263
|
* },
|
|
@@ -604,20 +604,16 @@ export interface ComputeResource {
|
|
|
604
604
|
* </dd>
|
|
605
605
|
* </dl>
|
|
606
606
|
* <p>With <code>BEST_FIT_PROGRESSIVE</code>,<code>SPOT_CAPACITY_OPTIMIZED</code> and
|
|
607
|
-
* <code>SPOT_PRICE_CAPACITY_OPTIMIZED</code>
|
|
608
|
-
*
|
|
609
|
-
* <code>
|
|
610
|
-
* <code>maxvCpus</code>
|
|
611
|
-
* <code>maxvCpus</code> by more than a single instance.</p>
|
|
607
|
+
* <code>SPOT_PRICE_CAPACITY_OPTIMIZED</code> (recommended) strategies using On-Demand or Spot
|
|
608
|
+
* Instances, and the <code>BEST_FIT</code> strategy using Spot Instances, Batch might need to
|
|
609
|
+
* exceed <code>maxvCpus</code> to meet your capacity requirements. In this event, Batch never
|
|
610
|
+
* exceeds <code>maxvCpus</code> by more than a single instance.</p>
|
|
612
611
|
* @public
|
|
613
612
|
*/
|
|
614
613
|
allocationStrategy?: CRAllocationStrategy | undefined;
|
|
615
614
|
/**
|
|
616
|
-
* <p>The minimum number of
|
|
617
|
-
*
|
|
618
|
-
* a
|
|
619
|
-
* compute
|
|
620
|
-
* environment should maintain (even if the compute environment is <code>DISABLED</code>).</p>
|
|
615
|
+
* <p>The minimum number of vCPUs that a compute environment should maintain (even if the compute
|
|
616
|
+
* environment is <code>DISABLED</code>).</p>
|
|
621
617
|
* <note>
|
|
622
618
|
* <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>
|
|
623
619
|
* </note>
|
|
@@ -625,15 +621,11 @@ export interface ComputeResource {
|
|
|
625
621
|
*/
|
|
626
622
|
minvCpus?: number | undefined;
|
|
627
623
|
/**
|
|
628
|
-
* <p>The maximum number of
|
|
629
|
-
* vCPUs that a
|
|
630
|
-
* compute environment can
|
|
631
|
-
* support.</p>
|
|
624
|
+
* <p>The maximum number of vCPUs that a compute environment can support.</p>
|
|
632
625
|
* <note>
|
|
633
626
|
* <p>With <code>BEST_FIT_PROGRESSIVE</code>,<code>SPOT_CAPACITY_OPTIMIZED</code> and
|
|
634
|
-
* <code>SPOT_PRICE_CAPACITY_OPTIMIZED</code>
|
|
635
|
-
*
|
|
636
|
-
* <code>BEST_FIT</code> strategy using Spot Instances, Batch might need to exceed
|
|
627
|
+
* <code>SPOT_PRICE_CAPACITY_OPTIMIZED</code> (recommended) strategies using On-Demand or Spot Instances,
|
|
628
|
+
* and the <code>BEST_FIT</code> strategy using Spot Instances, Batch might need to exceed
|
|
637
629
|
* <code>maxvCpus</code> to meet your capacity requirements. In this event, Batch never exceeds
|
|
638
630
|
* <code>maxvCpus</code> by more than a single instance.</p>
|
|
639
631
|
* </note>
|
|
@@ -641,10 +633,8 @@ export interface ComputeResource {
|
|
|
641
633
|
*/
|
|
642
634
|
maxvCpus: number | undefined;
|
|
643
635
|
/**
|
|
644
|
-
* <p>The desired number of
|
|
645
|
-
*
|
|
646
|
-
* compute environment. Batch modifies this value between the minimum and maximum values based on
|
|
647
|
-
* job queue demand.</p>
|
|
636
|
+
* <p>The desired number of vCPUS in the compute environment. Batch modifies this value between
|
|
637
|
+
* the minimum and maximum values based on job queue demand.</p>
|
|
648
638
|
* <note>
|
|
649
639
|
* <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>
|
|
650
640
|
* </note>
|
|
@@ -778,8 +768,7 @@ export interface ComputeResource {
|
|
|
778
768
|
* percentage is 20%, then the Spot price must be less than 20% of the current On-Demand price for
|
|
779
769
|
* that Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum
|
|
780
770
|
* percentage. If you leave this field empty, the default value is 100% of the On-Demand
|
|
781
|
-
* price. For most use cases,
|
|
782
|
-
* we recommend leaving this field empty.</p>
|
|
771
|
+
* price. For most use cases, we recommend leaving this field empty.</p>
|
|
783
772
|
* <note>
|
|
784
773
|
* <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>
|
|
785
774
|
* </note>
|
|
@@ -2242,35 +2231,26 @@ export interface ResourceRequirement {
|
|
|
2242
2231
|
*/
|
|
2243
2232
|
export interface RuntimePlatform {
|
|
2244
2233
|
/**
|
|
2245
|
-
* <p>The operating system for the compute environment.
|
|
2246
|
-
* Valid values are:
|
|
2234
|
+
* <p>The operating system for the compute environment. Valid values are:
|
|
2247
2235
|
* <code>LINUX</code> (default), <code>WINDOWS_SERVER_2019_CORE</code>,
|
|
2248
2236
|
* <code>WINDOWS_SERVER_2019_FULL</code>, <code>WINDOWS_SERVER_2022_CORE</code>, and
|
|
2249
2237
|
* <code>WINDOWS_SERVER_2022_FULL</code>.</p>
|
|
2250
2238
|
* <note>
|
|
2251
2239
|
* <p>The following parameters can’t be set for Windows containers: <code>linuxParameters</code>,
|
|
2252
2240
|
* <code>privileged</code>, <code>user</code>, <code>ulimits</code>,
|
|
2253
|
-
* <code>readonlyRootFilesystem</code>,
|
|
2254
|
-
* and <code>efsVolumeConfiguration</code>.</p>
|
|
2241
|
+
* <code>readonlyRootFilesystem</code>, and <code>efsVolumeConfiguration</code>.</p>
|
|
2255
2242
|
* </note>
|
|
2256
2243
|
* <note>
|
|
2257
|
-
* <p>The Batch Scheduler checks
|
|
2258
|
-
* the
|
|
2259
|
-
*
|
|
2260
|
-
*
|
|
2261
|
-
*
|
|
2262
|
-
* Windows container and the first compute environment is <code>LINUX</code>, the compute
|
|
2263
|
-
* environment is skipped and the next compute environment is checked until a Windows-based compute
|
|
2264
|
-
* environment is found.</p>
|
|
2244
|
+
* <p>The Batch Scheduler checks the compute environments that are attached to the job queue before
|
|
2245
|
+
* registering a task definition with Fargate. In this scenario, the job queue is where the job is
|
|
2246
|
+
* submitted. If the job requires a Windows container and the first compute environment is <code>LINUX</code>,
|
|
2247
|
+
* the compute environment is skipped and the next compute environment is checked until a Windows-based
|
|
2248
|
+
* compute environment is found.</p>
|
|
2265
2249
|
* </note>
|
|
2266
2250
|
* <note>
|
|
2267
|
-
* <p>Fargate Spot is not supported for
|
|
2268
|
-
*
|
|
2269
|
-
*
|
|
2270
|
-
* Fargate
|
|
2271
|
-
* <code>ARM64</code> or
|
|
2272
|
-
* Windows job is submitted to a job queue with only Fargate Spot compute environments.
|
|
2273
|
-
* However, you can attach both <code>FARGATE</code> and
|
|
2251
|
+
* <p>Fargate Spot is not supported for <code>ARM64</code> and Windows-based containers on Fargate.
|
|
2252
|
+
* A job queue will be blocked if a Fargate <code>ARM64</code> or Windows job is submitted to a job
|
|
2253
|
+
* queue with only Fargate Spot compute environments. However, you can attach both <code>FARGATE</code> and
|
|
2274
2254
|
* <code>FARGATE_SPOT</code> compute environments to the same job queue.</p>
|
|
2275
2255
|
* </note>
|
|
2276
2256
|
* @public
|
|
@@ -2280,9 +2260,7 @@ export interface RuntimePlatform {
|
|
|
2280
2260
|
* <p> The vCPU architecture. The default value is <code>X86_64</code>. Valid values are
|
|
2281
2261
|
* <code>X86_64</code> and <code>ARM64</code>.</p>
|
|
2282
2262
|
* <note>
|
|
2283
|
-
* <p>This parameter must be set to
|
|
2284
|
-
* <code>X86_64</code>
|
|
2285
|
-
* for Windows containers.</p>
|
|
2263
|
+
* <p>This parameter must be set to <code>X86_64</code> for Windows containers.</p>
|
|
2286
2264
|
* </note>
|
|
2287
2265
|
* <note>
|
|
2288
2266
|
* <p>Fargate Spot is not supported for <code>ARM64</code> and Windows-based containers on
|
|
@@ -2477,16 +2455,13 @@ export interface Volume {
|
|
|
2477
2455
|
efsVolumeConfiguration?: EFSVolumeConfiguration | undefined;
|
|
2478
2456
|
}
|
|
2479
2457
|
/**
|
|
2480
|
-
* <p>Container properties are used
|
|
2481
|
-
*
|
|
2482
|
-
* Amazon ECS based job definitions. These properties to describe the container that's
|
|
2483
|
-
* launched as part of a job.</p>
|
|
2458
|
+
* <p>Container properties are used for Amazon ECS based job definitions. These properties to describe the
|
|
2459
|
+
* container that's launched as part of a job.</p>
|
|
2484
2460
|
* @public
|
|
2485
2461
|
*/
|
|
2486
2462
|
export interface ContainerProperties {
|
|
2487
2463
|
/**
|
|
2488
|
-
* <p>Required.
|
|
2489
|
-
* The image used to start a container. This string is passed directly to the
|
|
2464
|
+
* <p>Required. The image used to start a container. This string is passed directly to the
|
|
2490
2465
|
* Docker daemon. Images in the Docker Hub registry are available by default. Other repositories are
|
|
2491
2466
|
* specified with
|
|
2492
2467
|
* <code>
|
|
@@ -3289,6 +3264,11 @@ export interface EksContainerVolumeMount {
|
|
|
3289
3264
|
* @public
|
|
3290
3265
|
*/
|
|
3291
3266
|
mountPath?: string | undefined;
|
|
3267
|
+
/**
|
|
3268
|
+
* <p>A sub-path inside the referenced volume instead of its root.</p>
|
|
3269
|
+
* @public
|
|
3270
|
+
*/
|
|
3271
|
+
subPath?: string | undefined;
|
|
3292
3272
|
/**
|
|
3293
3273
|
* <p>If this value is <code>true</code>, the container has read-only access to the volume.
|
|
3294
3274
|
* Otherwise, the container can write to the volume. The default value is <code>false</code>.</p>
|
|
@@ -3401,7 +3381,8 @@ export interface ImagePullSecret {
|
|
|
3401
3381
|
/**
|
|
3402
3382
|
* <p>Describes and uniquely identifies Kubernetes resources. For example, the compute environment that
|
|
3403
3383
|
* a pod runs in or the <code>jobID</code> for a job running in the pod. For more information, see
|
|
3404
|
-
*
|
|
3384
|
+
* <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/">
|
|
3385
|
+
* Understanding Kubernetes Objects</a> in the <i>Kubernetes documentation</i>.</p>
|
|
3405
3386
|
* @public
|
|
3406
3387
|
*/
|
|
3407
3388
|
export interface EksMetadata {
|
|
@@ -3413,6 +3394,61 @@ export interface EksMetadata {
|
|
|
3413
3394
|
* @public
|
|
3414
3395
|
*/
|
|
3415
3396
|
labels?: Record<string, string> | undefined;
|
|
3397
|
+
/**
|
|
3398
|
+
* <p>Key-value pairs used to attach arbitrary, non-identifying metadata to Kubernetes objects.
|
|
3399
|
+
* Valid annotation keys have two segments: an optional prefix and a name, separated by a
|
|
3400
|
+
* slash (/). </p>
|
|
3401
|
+
* <ul>
|
|
3402
|
+
* <li>
|
|
3403
|
+
* <p>The prefix is optional and must be 253 characters or less. If specified, the prefix
|
|
3404
|
+
* must be a DNS subdomain− a series of DNS labels separated by dots (.), and it must
|
|
3405
|
+
* end with a slash (/).</p>
|
|
3406
|
+
* </li>
|
|
3407
|
+
* <li>
|
|
3408
|
+
* <p>The name segment is required and must be 63 characters or less. It can include alphanumeric
|
|
3409
|
+
* characters ([a-z0-9A-Z]), dashes (-), underscores (_), and dots (.), but must begin and end
|
|
3410
|
+
* with an alphanumeric character.</p>
|
|
3411
|
+
* </li>
|
|
3412
|
+
* </ul>
|
|
3413
|
+
* <note>
|
|
3414
|
+
* <p>Annotation values must be 255 characters or less.</p>
|
|
3415
|
+
* </note>
|
|
3416
|
+
* <p>Annotations can be added or modified at any time. Each resource can have multiple annotations. </p>
|
|
3417
|
+
* @public
|
|
3418
|
+
*/
|
|
3419
|
+
annotations?: Record<string, string> | undefined;
|
|
3420
|
+
/**
|
|
3421
|
+
* <p>The namespace of the Amazon EKS cluster. In Kubernetes, namespaces provide a mechanism for isolating
|
|
3422
|
+
* groups of resources within a single cluster. Names of resources need to be unique within a namespace,
|
|
3423
|
+
* but not across namespaces. Batch places Batch Job pods in this namespace. If this field is provided,
|
|
3424
|
+
* the value can't be empty or null. It must meet the following requirements:</p>
|
|
3425
|
+
* <ul>
|
|
3426
|
+
* <li>
|
|
3427
|
+
* <p>1-63 characters long</p>
|
|
3428
|
+
* </li>
|
|
3429
|
+
* <li>
|
|
3430
|
+
* <p>Can't be set to default</p>
|
|
3431
|
+
* </li>
|
|
3432
|
+
* <li>
|
|
3433
|
+
* <p>Can't start with <code>kube</code>
|
|
3434
|
+
* </p>
|
|
3435
|
+
* </li>
|
|
3436
|
+
* <li>
|
|
3437
|
+
* <p>Must match the following regular expression:
|
|
3438
|
+
* <code>^[a-z0-9]([-a-z0-9]*[a-z0-9])?$</code>
|
|
3439
|
+
* </p>
|
|
3440
|
+
* </li>
|
|
3441
|
+
* </ul>
|
|
3442
|
+
* <p>
|
|
3443
|
+
* For more information, see
|
|
3444
|
+
* <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/">Namespaces</a> in the <i>Kubernetes documentation</i>. This namespace can be
|
|
3445
|
+
* different from the <code>kubernetesNamespace</code> set in the compute environment's
|
|
3446
|
+
* <code>EksConfiguration</code>, but must have identical role-based access control (RBAC) roles as
|
|
3447
|
+
* the compute environment's <code>kubernetesNamespace</code>. For multi-node parallel jobs,
|
|
3448
|
+
* the same value must be provided across all the node ranges.</p>
|
|
3449
|
+
* @public
|
|
3450
|
+
*/
|
|
3451
|
+
namespace?: string | undefined;
|
|
3416
3452
|
}
|
|
3417
3453
|
/**
|
|
3418
3454
|
* <p>Specifies the configuration of a Kubernetes <code>emptyDir</code> volume. An
|
|
@@ -3464,6 +3500,29 @@ export interface EksHostPath {
|
|
|
3464
3500
|
*/
|
|
3465
3501
|
path?: string | undefined;
|
|
3466
3502
|
}
|
|
3503
|
+
/**
|
|
3504
|
+
* <p>A <code>persistentVolumeClaim</code> volume is used to mount a <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/">PersistentVolume</a>
|
|
3505
|
+
* into a Pod. PersistentVolumeClaims are a way for users to "claim" durable storage without knowing
|
|
3506
|
+
* the details of the particular cloud environment. See the information about <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/">PersistentVolumes</a>
|
|
3507
|
+
* in the <i>Kubernetes documentation</i>.</p>
|
|
3508
|
+
* @public
|
|
3509
|
+
*/
|
|
3510
|
+
export interface EksPersistentVolumeClaim {
|
|
3511
|
+
/**
|
|
3512
|
+
* <p>The name of the <code>persistentVolumeClaim</code> bounded to a <code>persistentVolume</code>.
|
|
3513
|
+
* For more information, see <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims">
|
|
3514
|
+
* Persistent Volume Claims</a> in the <i>Kubernetes documentation</i>.</p>
|
|
3515
|
+
* @public
|
|
3516
|
+
*/
|
|
3517
|
+
claimName: string | undefined;
|
|
3518
|
+
/**
|
|
3519
|
+
* <p>An optional boolean value indicating if the mount is read only. Default is false. For more
|
|
3520
|
+
* information, see <a href="https://kubernetes.io/docs/concepts/storage/volumes/#read-only-mounts">
|
|
3521
|
+
* Read Only Mounts</a> in the <i>Kubernetes documentation</i>.</p>
|
|
3522
|
+
* @public
|
|
3523
|
+
*/
|
|
3524
|
+
readOnly?: boolean | undefined;
|
|
3525
|
+
}
|
|
3467
3526
|
/**
|
|
3468
3527
|
* <p>Specifies the configuration of a Kubernetes <code>secret</code> volume. For more information, see
|
|
3469
3528
|
* <a href="https://kubernetes.io/docs/concepts/storage/volumes/#secret">secret</a> in the
|
|
@@ -3515,6 +3574,13 @@ export interface EksVolume {
|
|
|
3515
3574
|
* @public
|
|
3516
3575
|
*/
|
|
3517
3576
|
secret?: EksSecret | undefined;
|
|
3577
|
+
/**
|
|
3578
|
+
* <p>Specifies the configuration of a Kubernetes <code>persistentVolumeClaim</code> bounded to a
|
|
3579
|
+
* <code>persistentVolume</code>. For more information, see <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims">
|
|
3580
|
+
* Persistent Volume Claims</a> in the <i>Kubernetes documentation</i>.</p>
|
|
3581
|
+
* @public
|
|
3582
|
+
*/
|
|
3583
|
+
persistentVolumeClaim?: EksPersistentVolumeClaim | undefined;
|
|
3518
3584
|
}
|
|
3519
3585
|
/**
|
|
3520
3586
|
* <p>The properties for the pod.</p>
|
|
@@ -3586,10 +3652,7 @@ export interface EksPodProperties {
|
|
|
3586
3652
|
*/
|
|
3587
3653
|
volumes?: EksVolume[] | undefined;
|
|
3588
3654
|
/**
|
|
3589
|
-
* <p>Metadata about the
|
|
3590
|
-
* Kubernetes
|
|
3591
|
-
* pod. For
|
|
3592
|
-
* more information, see <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/">Understanding Kubernetes Objects</a> in the <i>Kubernetes
|
|
3655
|
+
* <p>Metadata about the Kubernetes pod. For more information, see <a href="https://kubernetes.io/docs/concepts/overview/working-with-objects/kubernetes-objects/">Understanding Kubernetes Objects</a> in the <i>Kubernetes
|
|
3593
3656
|
* documentation</i>.</p>
|
|
3594
3657
|
* @public
|
|
3595
3658
|
*/
|
|
@@ -3718,10 +3781,8 @@ export interface EvaluateOnExit {
|
|
|
3718
3781
|
/**
|
|
3719
3782
|
* <p>Contains a glob pattern to match against the <code>StatusReason</code> returned for a job.
|
|
3720
3783
|
* The pattern can contain up to 512 characters. It can contain letters, numbers, periods (.),
|
|
3721
|
-
* colons (:), and white spaces (including spaces or tabs).
|
|
3722
|
-
*
|
|
3723
|
-
* optionally end with an asterisk (*) so that only the start of the string needs to be an exact
|
|
3724
|
-
* match.</p>
|
|
3784
|
+
* colons (:), and white spaces (including spaces or tabs). It can optionally end with an asterisk (*)
|
|
3785
|
+
* so that only the start of the string needs to be an exact match.</p>
|
|
3725
3786
|
* @public
|
|
3726
3787
|
*/
|
|
3727
3788
|
onStatusReason?: string | undefined;
|
|
@@ -4122,9 +4183,7 @@ export interface ContainerDetail {
|
|
|
4122
4183
|
*/
|
|
4123
4184
|
jobRoleArn?: string | undefined;
|
|
4124
4185
|
/**
|
|
4125
|
-
* <p>The Amazon Resource Name (ARN) of the
|
|
4126
|
-
* execution
|
|
4127
|
-
* role that Batch can assume. For more information,
|
|
4186
|
+
* <p>The Amazon Resource Name (ARN) of the execution role that Batch can assume. For more information,
|
|
4128
4187
|
* see <a href="https://docs.aws.amazon.com/batch/latest/userguide/execution-IAM-role.html">Batch execution IAM
|
|
4129
4188
|
* role</a> in the <i>Batch User Guide</i>.</p>
|
|
4130
4189
|
* @public
|
|
@@ -6018,8 +6077,7 @@ export interface EksPodPropertiesOverride {
|
|
|
6018
6077
|
*/
|
|
6019
6078
|
initContainers?: EksContainerOverride[] | undefined;
|
|
6020
6079
|
/**
|
|
6021
|
-
* <p>Metadata about the
|
|
6022
|
-
* overrides for the container that's used on the Amazon EKS pod.</p>
|
|
6080
|
+
* <p>Metadata about the overrides for the container that's used on the Amazon EKS pod.</p>
|
|
6023
6081
|
* @public
|
|
6024
6082
|
*/
|
|
6025
6083
|
metadata?: EksMetadata | undefined;
|
|
@@ -6140,10 +6198,8 @@ export interface SubmitJobRequest {
|
|
|
6140
6198
|
/**
|
|
6141
6199
|
* <p>The scheduling priority for the job. This only affects jobs in job queues with a fair
|
|
6142
6200
|
* share policy. Jobs with a higher scheduling priority are scheduled before jobs with a lower
|
|
6143
|
-
* scheduling priority.
|
|
6144
|
-
*
|
|
6145
|
-
* overrides any scheduling priority in the job definition and works only within a single share
|
|
6146
|
-
* identifier.</p>
|
|
6201
|
+
* scheduling priority. This overrides any scheduling priority in the job definition and works only
|
|
6202
|
+
* within a single share identifier.</p>
|
|
6147
6203
|
* <p>The minimum supported value is 0 and the maximum supported value is 9999.</p>
|
|
6148
6204
|
* @public
|
|
6149
6205
|
*/
|
|
@@ -6363,9 +6419,8 @@ export type CRUpdateAllocationStrategy = (typeof CRUpdateAllocationStrategy)[key
|
|
|
6363
6419
|
*/
|
|
6364
6420
|
export interface ComputeResourceUpdate {
|
|
6365
6421
|
/**
|
|
6366
|
-
* <p>The minimum number of
|
|
6367
|
-
*
|
|
6368
|
-
* an environment should maintain (even if the compute environment is <code>DISABLED</code>).</p>
|
|
6422
|
+
* <p>The minimum number of vCPUs that an environment should maintain (even if the compute environment
|
|
6423
|
+
* is <code>DISABLED</code>).</p>
|
|
6369
6424
|
* <note>
|
|
6370
6425
|
* <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>
|
|
6371
6426
|
* </note>
|
|
@@ -6376,20 +6431,17 @@ export interface ComputeResourceUpdate {
|
|
|
6376
6431
|
* <p>The maximum number of Amazon EC2 vCPUs that an environment can reach.</p>
|
|
6377
6432
|
* <note>
|
|
6378
6433
|
* <p>With <code>BEST_FIT_PROGRESSIVE</code>,<code>SPOT_CAPACITY_OPTIMIZED</code> and
|
|
6379
|
-
* <code>SPOT_PRICE_CAPACITY_OPTIMIZED</code>
|
|
6380
|
-
*
|
|
6381
|
-
* <code>
|
|
6382
|
-
* <code>maxvCpus</code>
|
|
6383
|
-
* <code>maxvCpus</code> by more than a single instance.</p>
|
|
6434
|
+
* <code>SPOT_PRICE_CAPACITY_OPTIMIZED</code> (recommended) strategies using On-Demand or Spot
|
|
6435
|
+
* Instances, and the <code>BEST_FIT</code> strategy using Spot Instances, Batch might need to
|
|
6436
|
+
* exceed <code>maxvCpus</code> to meet your capacity requirements. In this event, Batch never
|
|
6437
|
+
* exceeds <code>maxvCpus</code> by more than a single instance.</p>
|
|
6384
6438
|
* </note>
|
|
6385
6439
|
* @public
|
|
6386
6440
|
*/
|
|
6387
6441
|
maxvCpus?: number | undefined;
|
|
6388
6442
|
/**
|
|
6389
|
-
* <p>The desired number of
|
|
6390
|
-
*
|
|
6391
|
-
* compute environment. Batch modifies this value between the minimum and maximum values based on
|
|
6392
|
-
* job queue demand.</p>
|
|
6443
|
+
* <p>The desired number of vCPUS in the compute environment. Batch modifies this value between
|
|
6444
|
+
* the minimum and maximum values based on job queue demand.</p>
|
|
6393
6445
|
* <note>
|
|
6394
6446
|
* <p>This parameter isn't applicable to jobs that are running on Fargate resources. Don't specify it.</p>
|
|
6395
6447
|
* </note>
|
|
@@ -6476,9 +6528,8 @@ export interface ComputeResourceUpdate {
|
|
|
6476
6528
|
* </dd>
|
|
6477
6529
|
* </dl>
|
|
6478
6530
|
* <p>With <code>BEST_FIT_PROGRESSIVE</code>,<code>SPOT_CAPACITY_OPTIMIZED</code> and
|
|
6479
|
-
* <code>SPOT_PRICE_CAPACITY_OPTIMIZED</code>
|
|
6480
|
-
*
|
|
6481
|
-
* <code>BEST_FIT</code> strategy using Spot Instances, Batch might need to exceed
|
|
6531
|
+
* <code>SPOT_PRICE_CAPACITY_OPTIMIZED</code> (recommended) strategies using On-Demand or Spot Instances,
|
|
6532
|
+
* and the <code>BEST_FIT</code> strategy using Spot Instances, Batch might need to exceed
|
|
6482
6533
|
* <code>maxvCpus</code> to meet your capacity requirements. In this event, Batch never exceeds
|
|
6483
6534
|
* <code>maxvCpus</code> by more than a single instance.</p>
|
|
6484
6535
|
* @public
|
|
@@ -6524,8 +6575,7 @@ export interface ComputeResourceUpdate {
|
|
|
6524
6575
|
ec2KeyPair?: string | undefined;
|
|
6525
6576
|
/**
|
|
6526
6577
|
* <p>The Amazon ECS instance profile applied to Amazon EC2 instances in a compute environment.
|
|
6527
|
-
* Required for Amazon EC2
|
|
6528
|
-
* instances. You can specify the short name or full Amazon Resource Name (ARN) of an instance
|
|
6578
|
+
* Required for Amazon EC2 instances. You can specify the short name or full Amazon Resource Name (ARN) of an instance
|
|
6529
6579
|
* profile. For example, <code>
|
|
6530
6580
|
* <i>ecsInstanceRole</i>
|
|
6531
6581
|
* </code> or
|
|
@@ -6578,8 +6628,7 @@ export interface ComputeResourceUpdate {
|
|
|
6578
6628
|
* price for that instance type before instances are launched. For example, if your maximum
|
|
6579
6629
|
* percentage is 20%, the Spot price must be less than 20% of the current On-Demand price for that
|
|
6580
6630
|
* Amazon EC2 instance. You always pay the lowest (market) price and never more than your maximum
|
|
6581
|
-
* percentage. For most use
|
|
6582
|
-
* cases, we recommend leaving this field empty.</p>
|
|
6631
|
+
* percentage. For most use cases, we recommend leaving this field empty.</p>
|
|
6583
6632
|
* <p>When updating a compute environment, changing the bid percentage requires an infrastructure
|
|
6584
6633
|
* update of the compute environment. For more information, see <a href="https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html">Updating compute environments</a> in the
|
|
6585
6634
|
* <i>Batch User Guide</i>.</p>
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
26
26
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
27
27
|
disableHostPrefix: boolean;
|
|
28
28
|
serviceId: string;
|
|
29
|
+
profile?: string | undefined;
|
|
29
30
|
logger: import("@smithy/types").Logger;
|
|
30
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
27
27
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
28
28
|
disableHostPrefix: boolean;
|
|
29
29
|
serviceId: string;
|
|
30
|
+
profile?: string | undefined;
|
|
30
31
|
logger: import("@smithy/types").Logger;
|
|
31
32
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -20,6 +20,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
+
profile?: string | undefined;
|
|
23
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
24
25
|
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
@@ -221,6 +221,7 @@ export interface ClientDefaults
|
|
|
221
221
|
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
222
222
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
223
223
|
region?: string | __Provider<string>;
|
|
224
|
+
profile?: string;
|
|
224
225
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
225
226
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
226
227
|
maxAttempts?: number | __Provider<number>;
|
|
@@ -472,6 +472,7 @@ export interface EksContainerSecurityContext {
|
|
|
472
472
|
export interface EksContainerVolumeMount {
|
|
473
473
|
name?: string | undefined;
|
|
474
474
|
mountPath?: string | undefined;
|
|
475
|
+
subPath?: string | undefined;
|
|
475
476
|
readOnly?: boolean | undefined;
|
|
476
477
|
}
|
|
477
478
|
export interface EksContainer {
|
|
@@ -490,6 +491,8 @@ export interface ImagePullSecret {
|
|
|
490
491
|
}
|
|
491
492
|
export interface EksMetadata {
|
|
492
493
|
labels?: Record<string, string> | undefined;
|
|
494
|
+
annotations?: Record<string, string> | undefined;
|
|
495
|
+
namespace?: string | undefined;
|
|
493
496
|
}
|
|
494
497
|
export interface EksEmptyDir {
|
|
495
498
|
medium?: string | undefined;
|
|
@@ -498,6 +501,10 @@ export interface EksEmptyDir {
|
|
|
498
501
|
export interface EksHostPath {
|
|
499
502
|
path?: string | undefined;
|
|
500
503
|
}
|
|
504
|
+
export interface EksPersistentVolumeClaim {
|
|
505
|
+
claimName: string | undefined;
|
|
506
|
+
readOnly?: boolean | undefined;
|
|
507
|
+
}
|
|
501
508
|
export interface EksSecret {
|
|
502
509
|
secretName: string | undefined;
|
|
503
510
|
optional?: boolean | undefined;
|
|
@@ -507,6 +514,7 @@ export interface EksVolume {
|
|
|
507
514
|
hostPath?: EksHostPath | undefined;
|
|
508
515
|
emptyDir?: EksEmptyDir | undefined;
|
|
509
516
|
secret?: EksSecret | undefined;
|
|
517
|
+
persistentVolumeClaim?: EksPersistentVolumeClaim | undefined;
|
|
510
518
|
}
|
|
511
519
|
export interface EksPodProperties {
|
|
512
520
|
serviceAccountName?: string | undefined;
|
|
@@ -33,6 +33,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
33
33
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
34
34
|
disableHostPrefix: boolean;
|
|
35
35
|
serviceId: string;
|
|
36
|
+
profile?: string | undefined;
|
|
36
37
|
logger: import("@smithy/types").Logger;
|
|
37
38
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
38
39
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -38,6 +38,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
38
38
|
utf8Encoder: (input: string | Uint8Array) => string;
|
|
39
39
|
disableHostPrefix: boolean;
|
|
40
40
|
serviceId: string;
|
|
41
|
+
profile?: string | undefined;
|
|
41
42
|
logger: import("@smithy/types").Logger;
|
|
42
43
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
44
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
@@ -22,6 +22,7 @@ export declare const getRuntimeConfig: (config: BatchClientConfig) => {
|
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
+
profile?: string | undefined;
|
|
25
26
|
defaultUserAgentProvider: (
|
|
26
27
|
config?:
|
|
27
28
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
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.
|
|
4
|
+
"version": "3.714.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,19 +20,19 @@
|
|
|
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.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.714.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.714.0",
|
|
25
|
+
"@aws-sdk/core": "3.714.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.714.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.714.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.714.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.714.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.714.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.714.0",
|
|
32
|
+
"@aws-sdk/types": "3.714.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.714.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.714.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.714.0",
|
|
36
36
|
"@smithy/config-resolver": "^3.0.13",
|
|
37
37
|
"@smithy/core": "^2.5.5",
|
|
38
38
|
"@smithy/fetch-http-handler": "^4.1.2",
|