@aws-sdk/client-batch 3.540.0 → 3.543.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-types/commands/DescribeJobDefinitionsCommand.d.ts +7 -0
- package/dist-types/commands/DescribeJobsCommand.d.ts +7 -0
- package/dist-types/commands/RegisterJobDefinitionCommand.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +28 -0
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/package.json +1 -1
|
@@ -393,6 +393,11 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
393
393
|
* // serviceAccountName: "STRING_VALUE",
|
|
394
394
|
* // hostNetwork: true || false,
|
|
395
395
|
* // dnsPolicy: "STRING_VALUE",
|
|
396
|
+
* // imagePullSecrets: [ // ImagePullSecrets
|
|
397
|
+
* // { // ImagePullSecret
|
|
398
|
+
* // name: "STRING_VALUE", // required
|
|
399
|
+
* // },
|
|
400
|
+
* // ],
|
|
396
401
|
* // containers: [ // EksContainers
|
|
397
402
|
* // { // EksContainer
|
|
398
403
|
* // name: "STRING_VALUE",
|
|
@@ -425,6 +430,7 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
425
430
|
* // runAsUser: Number("long"),
|
|
426
431
|
* // runAsGroup: Number("long"),
|
|
427
432
|
* // privileged: true || false,
|
|
433
|
+
* // allowPrivilegeEscalation: true || false,
|
|
428
434
|
* // readOnlyRootFilesystem: true || false,
|
|
429
435
|
* // runAsNonRoot: true || false,
|
|
430
436
|
* // },
|
|
@@ -462,6 +468,7 @@ declare const DescribeJobDefinitionsCommand_base: {
|
|
|
462
468
|
* // runAsUser: Number("long"),
|
|
463
469
|
* // runAsGroup: Number("long"),
|
|
464
470
|
* // privileged: true || false,
|
|
471
|
+
* // allowPrivilegeEscalation: true || false,
|
|
465
472
|
* // readOnlyRootFilesystem: true || false,
|
|
466
473
|
* // runAsNonRoot: true || false,
|
|
467
474
|
* // },
|
|
@@ -404,6 +404,11 @@ declare const DescribeJobsCommand_base: {
|
|
|
404
404
|
* // serviceAccountName: "STRING_VALUE",
|
|
405
405
|
* // hostNetwork: true || false,
|
|
406
406
|
* // dnsPolicy: "STRING_VALUE",
|
|
407
|
+
* // imagePullSecrets: [ // ImagePullSecrets
|
|
408
|
+
* // { // ImagePullSecret
|
|
409
|
+
* // name: "STRING_VALUE", // required
|
|
410
|
+
* // },
|
|
411
|
+
* // ],
|
|
407
412
|
* // containers: [ // EksContainerDetails
|
|
408
413
|
* // { // EksContainerDetail
|
|
409
414
|
* // name: "STRING_VALUE",
|
|
@@ -438,6 +443,7 @@ declare const DescribeJobsCommand_base: {
|
|
|
438
443
|
* // runAsUser: Number("long"),
|
|
439
444
|
* // runAsGroup: Number("long"),
|
|
440
445
|
* // privileged: true || false,
|
|
446
|
+
* // allowPrivilegeEscalation: true || false,
|
|
441
447
|
* // readOnlyRootFilesystem: true || false,
|
|
442
448
|
* // runAsNonRoot: true || false,
|
|
443
449
|
* // },
|
|
@@ -477,6 +483,7 @@ declare const DescribeJobsCommand_base: {
|
|
|
477
483
|
* // runAsUser: Number("long"),
|
|
478
484
|
* // runAsGroup: Number("long"),
|
|
479
485
|
* // privileged: true || false,
|
|
486
|
+
* // allowPrivilegeEscalation: true || false,
|
|
480
487
|
* // readOnlyRootFilesystem: true || false,
|
|
481
488
|
* // runAsNonRoot: true || false,
|
|
482
489
|
* // },
|
|
@@ -336,6 +336,11 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
336
336
|
* serviceAccountName: "STRING_VALUE",
|
|
337
337
|
* hostNetwork: true || false,
|
|
338
338
|
* dnsPolicy: "STRING_VALUE",
|
|
339
|
+
* imagePullSecrets: [ // ImagePullSecrets
|
|
340
|
+
* { // ImagePullSecret
|
|
341
|
+
* name: "STRING_VALUE", // required
|
|
342
|
+
* },
|
|
343
|
+
* ],
|
|
339
344
|
* containers: [ // EksContainers
|
|
340
345
|
* { // EksContainer
|
|
341
346
|
* name: "STRING_VALUE",
|
|
@@ -368,6 +373,7 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
368
373
|
* runAsUser: Number("long"),
|
|
369
374
|
* runAsGroup: Number("long"),
|
|
370
375
|
* privileged: true || false,
|
|
376
|
+
* allowPrivilegeEscalation: true || false,
|
|
371
377
|
* readOnlyRootFilesystem: true || false,
|
|
372
378
|
* runAsNonRoot: true || false,
|
|
373
379
|
* },
|
|
@@ -405,6 +411,7 @@ declare const RegisterJobDefinitionCommand_base: {
|
|
|
405
411
|
* runAsUser: Number("long"),
|
|
406
412
|
* runAsGroup: Number("long"),
|
|
407
413
|
* privileged: true || false,
|
|
414
|
+
* allowPrivilegeEscalation: true || false,
|
|
408
415
|
* readOnlyRootFilesystem: true || false,
|
|
409
416
|
* runAsNonRoot: true || false,
|
|
410
417
|
* },
|
|
@@ -3085,6 +3085,11 @@ export interface EksContainerSecurityContext {
|
|
|
3085
3085
|
* @public
|
|
3086
3086
|
*/
|
|
3087
3087
|
privileged?: boolean;
|
|
3088
|
+
/**
|
|
3089
|
+
* <p>Whether or not a container or a Kubernetes pod is allowed to gain more privileges than its parent process. The default value is <code>false</code>.</p>
|
|
3090
|
+
* @public
|
|
3091
|
+
*/
|
|
3092
|
+
allowPrivilegeEscalation?: boolean;
|
|
3088
3093
|
/**
|
|
3089
3094
|
* <p>When this parameter is <code>true</code>, the container is given read-only access to its
|
|
3090
3095
|
* root file system. The default value is <code>false</code>. This parameter maps to
|
|
@@ -3215,6 +3220,17 @@ export interface EksContainer {
|
|
|
3215
3220
|
*/
|
|
3216
3221
|
securityContext?: EksContainerSecurityContext;
|
|
3217
3222
|
}
|
|
3223
|
+
/**
|
|
3224
|
+
* <p>References a Kubernetes configuration resource that holds a list of secrets. These secrets help to gain access to pull an image from a private registry.</p>
|
|
3225
|
+
* @public
|
|
3226
|
+
*/
|
|
3227
|
+
export interface ImagePullSecret {
|
|
3228
|
+
/**
|
|
3229
|
+
* <p>Provides a unique identifier for the <code>ImagePullSecret</code>. This object is required when <code>EksPodProperties$imagePullSecrets</code> is used.</p>
|
|
3230
|
+
* @public
|
|
3231
|
+
*/
|
|
3232
|
+
name: string | undefined;
|
|
3233
|
+
}
|
|
3218
3234
|
/**
|
|
3219
3235
|
* <p>Describes and uniquely identifies Kubernetes resources. For example, the compute environment that
|
|
3220
3236
|
* a pod runs in or the <code>jobID</code> for a job running in the pod. For more information, see
|
|
@@ -3369,6 +3385,13 @@ export interface EksPodProperties {
|
|
|
3369
3385
|
* @public
|
|
3370
3386
|
*/
|
|
3371
3387
|
dnsPolicy?: string;
|
|
3388
|
+
/**
|
|
3389
|
+
* <p>References a Kubernetes secret resource. This object must start and end with an alphanumeric character, is required to be lowercase, can include periods (.) and hyphens (-), and can't contain more than 253 characters.</p>
|
|
3390
|
+
* <p>
|
|
3391
|
+
* <code>ImagePullSecret$name</code> is required when this object is used.</p>
|
|
3392
|
+
* @public
|
|
3393
|
+
*/
|
|
3394
|
+
imagePullSecrets?: ImagePullSecret[];
|
|
3372
3395
|
/**
|
|
3373
3396
|
* <p>The properties of the container that's used on the Amazon EKS pod.</p>
|
|
3374
3397
|
* @public
|
|
@@ -4660,6 +4683,11 @@ export interface EksPodPropertiesDetail {
|
|
|
4660
4683
|
* @public
|
|
4661
4684
|
*/
|
|
4662
4685
|
dnsPolicy?: string;
|
|
4686
|
+
/**
|
|
4687
|
+
* <p>Displays the reference pointer to the Kubernetes secret resource.</p>
|
|
4688
|
+
* @public
|
|
4689
|
+
*/
|
|
4690
|
+
imagePullSecrets?: ImagePullSecret[];
|
|
4663
4691
|
/**
|
|
4664
4692
|
* <p>The properties of the container that's used on the Amazon EKS pod.</p>
|
|
4665
4693
|
* @public
|
|
@@ -443,6 +443,7 @@ export interface EksContainerSecurityContext {
|
|
|
443
443
|
runAsUser?: number;
|
|
444
444
|
runAsGroup?: number;
|
|
445
445
|
privileged?: boolean;
|
|
446
|
+
allowPrivilegeEscalation?: boolean;
|
|
446
447
|
readOnlyRootFilesystem?: boolean;
|
|
447
448
|
runAsNonRoot?: boolean;
|
|
448
449
|
}
|
|
@@ -462,6 +463,9 @@ export interface EksContainer {
|
|
|
462
463
|
volumeMounts?: EksContainerVolumeMount[];
|
|
463
464
|
securityContext?: EksContainerSecurityContext;
|
|
464
465
|
}
|
|
466
|
+
export interface ImagePullSecret {
|
|
467
|
+
name: string | undefined;
|
|
468
|
+
}
|
|
465
469
|
export interface EksMetadata {
|
|
466
470
|
labels?: Record<string, string>;
|
|
467
471
|
}
|
|
@@ -486,6 +490,7 @@ export interface EksPodProperties {
|
|
|
486
490
|
serviceAccountName?: string;
|
|
487
491
|
hostNetwork?: boolean;
|
|
488
492
|
dnsPolicy?: string;
|
|
493
|
+
imagePullSecrets?: ImagePullSecret[];
|
|
489
494
|
containers?: EksContainer[];
|
|
490
495
|
initContainers?: EksContainer[];
|
|
491
496
|
volumes?: EksVolume[];
|
|
@@ -690,6 +695,7 @@ export interface EksPodPropertiesDetail {
|
|
|
690
695
|
serviceAccountName?: string;
|
|
691
696
|
hostNetwork?: boolean;
|
|
692
697
|
dnsPolicy?: string;
|
|
698
|
+
imagePullSecrets?: ImagePullSecret[];
|
|
693
699
|
containers?: EksContainerDetail[];
|
|
694
700
|
initContainers?: EksContainerDetail[];
|
|
695
701
|
volumes?: EksVolume[];
|
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.543.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",
|