@aws-sdk/client-pcs 3.1171.0 → 3.1173.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 +30 -7
- package/dist-es/models/enums.js +3 -0
- package/dist-es/schemas/schemas_0.js +23 -6
- package/dist-types/commands/CreateClusterCommand.d.ts +22 -0
- package/dist-types/commands/GetClusterCommand.d.ts +11 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +22 -0
- package/dist-types/models/enums.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +58 -1
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1172.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -311,6 +311,9 @@ const _IL = "InstanceList";
|
|
|
311
311
|
const _ISE = "InternalServerException";
|
|
312
312
|
const _JA = "JwtAuth";
|
|
313
313
|
const _JK = "JwtKey";
|
|
314
|
+
const _JSP = "JobSubmitPlugin";
|
|
315
|
+
const _JSPL = "JobSubmitPluginList";
|
|
316
|
+
const _JSSS = "JobSubmitScriptSource";
|
|
314
317
|
const _LC = "ListClusters";
|
|
315
318
|
const _LCNG = "ListComputeNodeGroups";
|
|
316
319
|
const _LCNGR = "ListComputeNodeGroupsRequest";
|
|
@@ -423,6 +426,7 @@ const _iIPA = "iamInstanceProfileArn";
|
|
|
423
426
|
const _iT = "instanceType";
|
|
424
427
|
const _jA = "jwtAuth";
|
|
425
428
|
const _jK = "jwtKey";
|
|
429
|
+
const _jSP = "jobSubmitPlugins";
|
|
426
430
|
const _lTM = "launchTemplateMode";
|
|
427
431
|
const _m = "message";
|
|
428
432
|
const _mA = "modifiedAt";
|
|
@@ -558,13 +562,13 @@ var Cluster$ = [3, n0, _C,
|
|
|
558
562
|
];
|
|
559
563
|
var ClusterSlurmConfiguration$ = [3, n0, _CSC,
|
|
560
564
|
0,
|
|
561
|
-
[_sDITIS, _sCS, _sCSl, _cCS, _aK, _jA, _ac, _sR],
|
|
562
|
-
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => SlurmAuthKey$, () => JwtAuth$, () => Accounting$, () => SlurmRest$]
|
|
565
|
+
[_sDITIS, _sCS, _sCSl, _cCS, _jSP, _aK, _jA, _ac, _sR],
|
|
566
|
+
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => JobSubmitPluginList, () => SlurmAuthKey$, () => JwtAuth$, () => Accounting$, () => SlurmRest$]
|
|
563
567
|
];
|
|
564
568
|
var ClusterSlurmConfigurationRequest$ = [3, n0, _CSCR,
|
|
565
569
|
0,
|
|
566
|
-
[_sDITIS, _sCS, _sCSl, _cCS, _ac, _sR],
|
|
567
|
-
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => AccountingRequest$, () => SlurmRestRequest$]
|
|
570
|
+
[_sDITIS, _sCS, _sCSl, _cCS, _jSP, _ac, _sR],
|
|
571
|
+
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => JobSubmitPluginList, () => AccountingRequest$, () => SlurmRestRequest$]
|
|
568
572
|
];
|
|
569
573
|
var ClusterSummary$ = [3, n0, _CS,
|
|
570
574
|
0,
|
|
@@ -706,6 +710,16 @@ var InstanceConfig$ = [3, n0, _IC,
|
|
|
706
710
|
[_iT],
|
|
707
711
|
[0]
|
|
708
712
|
];
|
|
713
|
+
var JobSubmitPlugin$ = [3, n0, _JSP,
|
|
714
|
+
0,
|
|
715
|
+
[_n, _ty, _sS],
|
|
716
|
+
[0, 0, () => JobSubmitScriptSource$], 3
|
|
717
|
+
];
|
|
718
|
+
var JobSubmitScriptSource$ = [3, n0, _JSSS,
|
|
719
|
+
0,
|
|
720
|
+
[_sL, _sVI, _ch],
|
|
721
|
+
[0, 0, 0], 1
|
|
722
|
+
];
|
|
709
723
|
var JwtAuth$ = [3, n0, _JA,
|
|
710
724
|
0,
|
|
711
725
|
[_jK],
|
|
@@ -908,8 +922,8 @@ var UpdateClusterResponse$ = [3, n0, _UCRp,
|
|
|
908
922
|
];
|
|
909
923
|
var UpdateClusterSlurmConfigurationRequest$ = [3, n0, _UCSCR,
|
|
910
924
|
0,
|
|
911
|
-
[_sDITIS, _sCS, _sCSl, _cCS, _ac, _sR],
|
|
912
|
-
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => UpdateAccountingRequest$, () => UpdateSlurmRestRequest$]
|
|
925
|
+
[_sDITIS, _sCS, _sCSl, _cCS, _jSP, _ac, _sR],
|
|
926
|
+
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => JobSubmitPluginList, () => UpdateAccountingRequest$, () => UpdateSlurmRestRequest$]
|
|
913
927
|
];
|
|
914
928
|
var UpdateComputeNodeGroupRequest$ = [3, n0, _UCNGR,
|
|
915
929
|
0,
|
|
@@ -982,6 +996,9 @@ var ErrorInfoList = [1, n0, _EIL,
|
|
|
982
996
|
var InstanceList = [1, n0, _IL,
|
|
983
997
|
0, () => InstanceConfig$
|
|
984
998
|
];
|
|
999
|
+
var JobSubmitPluginList = [1, n0, _JSPL,
|
|
1000
|
+
0, () => JobSubmitPlugin$
|
|
1001
|
+
];
|
|
985
1002
|
var NodeLifecycleScriptList = [1, n0, _NLSL,
|
|
986
1003
|
0, () => NodeLifecycleScript$
|
|
987
1004
|
];
|
|
@@ -1362,6 +1379,9 @@ const Size = {
|
|
|
1362
1379
|
MEDIUM: "MEDIUM",
|
|
1363
1380
|
SMALL: "SMALL",
|
|
1364
1381
|
};
|
|
1382
|
+
const JobSubmitPluginType = {
|
|
1383
|
+
STARLARK: "STARLARK",
|
|
1384
|
+
};
|
|
1365
1385
|
const SlurmRestMode = {
|
|
1366
1386
|
NONE: "NONE",
|
|
1367
1387
|
STANDARD: "STANDARD",
|
|
@@ -1459,6 +1479,9 @@ exports.GetQueueResponse$ = GetQueueResponse$;
|
|
|
1459
1479
|
exports.InstanceConfig$ = InstanceConfig$;
|
|
1460
1480
|
exports.InternalServerException = InternalServerException;
|
|
1461
1481
|
exports.InternalServerException$ = InternalServerException$;
|
|
1482
|
+
exports.JobSubmitPlugin$ = JobSubmitPlugin$;
|
|
1483
|
+
exports.JobSubmitPluginType = JobSubmitPluginType;
|
|
1484
|
+
exports.JobSubmitScriptSource$ = JobSubmitScriptSource$;
|
|
1462
1485
|
exports.JwtAuth$ = JwtAuth$;
|
|
1463
1486
|
exports.JwtKey$ = JwtKey$;
|
|
1464
1487
|
exports.LaunchTemplateMode = LaunchTemplateMode;
|
package/dist-es/models/enums.js
CHANGED
|
@@ -54,6 +54,9 @@ const _IL = "InstanceList";
|
|
|
54
54
|
const _ISE = "InternalServerException";
|
|
55
55
|
const _JA = "JwtAuth";
|
|
56
56
|
const _JK = "JwtKey";
|
|
57
|
+
const _JSP = "JobSubmitPlugin";
|
|
58
|
+
const _JSPL = "JobSubmitPluginList";
|
|
59
|
+
const _JSSS = "JobSubmitScriptSource";
|
|
57
60
|
const _LC = "ListClusters";
|
|
58
61
|
const _LCNG = "ListComputeNodeGroups";
|
|
59
62
|
const _LCNGR = "ListComputeNodeGroupsRequest";
|
|
@@ -166,6 +169,7 @@ const _iIPA = "iamInstanceProfileArn";
|
|
|
166
169
|
const _iT = "instanceType";
|
|
167
170
|
const _jA = "jwtAuth";
|
|
168
171
|
const _jK = "jwtKey";
|
|
172
|
+
const _jSP = "jobSubmitPlugins";
|
|
169
173
|
const _lTM = "launchTemplateMode";
|
|
170
174
|
const _m = "message";
|
|
171
175
|
const _mA = "modifiedAt";
|
|
@@ -304,13 +308,13 @@ export var Cluster$ = [3, n0, _C,
|
|
|
304
308
|
];
|
|
305
309
|
export var ClusterSlurmConfiguration$ = [3, n0, _CSC,
|
|
306
310
|
0,
|
|
307
|
-
[_sDITIS, _sCS, _sCSl, _cCS, _aK, _jA, _ac, _sR],
|
|
308
|
-
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => SlurmAuthKey$, () => JwtAuth$, () => Accounting$, () => SlurmRest$]
|
|
311
|
+
[_sDITIS, _sCS, _sCSl, _cCS, _jSP, _aK, _jA, _ac, _sR],
|
|
312
|
+
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => JobSubmitPluginList, () => SlurmAuthKey$, () => JwtAuth$, () => Accounting$, () => SlurmRest$]
|
|
309
313
|
];
|
|
310
314
|
export var ClusterSlurmConfigurationRequest$ = [3, n0, _CSCR,
|
|
311
315
|
0,
|
|
312
|
-
[_sDITIS, _sCS, _sCSl, _cCS, _ac, _sR],
|
|
313
|
-
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => AccountingRequest$, () => SlurmRestRequest$]
|
|
316
|
+
[_sDITIS, _sCS, _sCSl, _cCS, _jSP, _ac, _sR],
|
|
317
|
+
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => JobSubmitPluginList, () => AccountingRequest$, () => SlurmRestRequest$]
|
|
314
318
|
];
|
|
315
319
|
export var ClusterSummary$ = [3, n0, _CS,
|
|
316
320
|
0,
|
|
@@ -452,6 +456,16 @@ export var InstanceConfig$ = [3, n0, _IC,
|
|
|
452
456
|
[_iT],
|
|
453
457
|
[0]
|
|
454
458
|
];
|
|
459
|
+
export var JobSubmitPlugin$ = [3, n0, _JSP,
|
|
460
|
+
0,
|
|
461
|
+
[_n, _ty, _sS],
|
|
462
|
+
[0, 0, () => JobSubmitScriptSource$], 3
|
|
463
|
+
];
|
|
464
|
+
export var JobSubmitScriptSource$ = [3, n0, _JSSS,
|
|
465
|
+
0,
|
|
466
|
+
[_sL, _sVI, _ch],
|
|
467
|
+
[0, 0, 0], 1
|
|
468
|
+
];
|
|
455
469
|
export var JwtAuth$ = [3, n0, _JA,
|
|
456
470
|
0,
|
|
457
471
|
[_jK],
|
|
@@ -654,8 +668,8 @@ export var UpdateClusterResponse$ = [3, n0, _UCRp,
|
|
|
654
668
|
];
|
|
655
669
|
export var UpdateClusterSlurmConfigurationRequest$ = [3, n0, _UCSCR,
|
|
656
670
|
0,
|
|
657
|
-
[_sDITIS, _sCS, _sCSl, _cCS, _ac, _sR],
|
|
658
|
-
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => UpdateAccountingRequest$, () => UpdateSlurmRestRequest$]
|
|
671
|
+
[_sDITIS, _sCS, _sCSl, _cCS, _jSP, _ac, _sR],
|
|
672
|
+
[1, () => SlurmCustomSettings, () => SlurmdbdCustomSettings, () => CgroupCustomSettings, () => JobSubmitPluginList, () => UpdateAccountingRequest$, () => UpdateSlurmRestRequest$]
|
|
659
673
|
];
|
|
660
674
|
export var UpdateComputeNodeGroupRequest$ = [3, n0, _UCNGR,
|
|
661
675
|
0,
|
|
@@ -731,6 +745,9 @@ var GresCustomSettings = [1, n0, _GCS,
|
|
|
731
745
|
var InstanceList = [1, n0, _IL,
|
|
732
746
|
0, () => InstanceConfig$
|
|
733
747
|
];
|
|
748
|
+
var JobSubmitPluginList = [1, n0, _JSPL,
|
|
749
|
+
0, () => JobSubmitPlugin$
|
|
750
|
+
];
|
|
734
751
|
var NodeLifecycleScriptArguments = 64 | 0;
|
|
735
752
|
var NodeLifecycleScriptList = [1, n0, _NLSL,
|
|
736
753
|
0, () => NodeLifecycleScript$
|
|
@@ -69,6 +69,17 @@ declare const CreateClusterCommand_base: {
|
|
|
69
69
|
* parameterValue: "STRING_VALUE", // required
|
|
70
70
|
* },
|
|
71
71
|
* ],
|
|
72
|
+
* jobSubmitPlugins: [ // JobSubmitPluginList
|
|
73
|
+
* { // JobSubmitPlugin
|
|
74
|
+
* name: "STRING_VALUE", // required
|
|
75
|
+
* type: "STARLARK", // required
|
|
76
|
+
* scriptSource: { // JobSubmitScriptSource
|
|
77
|
+
* scriptLocation: "STRING_VALUE", // required
|
|
78
|
+
* s3VersionId: "STRING_VALUE",
|
|
79
|
+
* checksum: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* },
|
|
82
|
+
* ],
|
|
72
83
|
* accounting: { // AccountingRequest
|
|
73
84
|
* defaultPurgeTimeInDays: Number("int"),
|
|
74
85
|
* mode: "STANDARD" || "NONE", // required
|
|
@@ -117,6 +128,17 @@ declare const CreateClusterCommand_base: {
|
|
|
117
128
|
* // parameterValue: "STRING_VALUE", // required
|
|
118
129
|
* // },
|
|
119
130
|
* // ],
|
|
131
|
+
* // jobSubmitPlugins: [ // JobSubmitPluginList
|
|
132
|
+
* // { // JobSubmitPlugin
|
|
133
|
+
* // name: "STRING_VALUE", // required
|
|
134
|
+
* // type: "STARLARK", // required
|
|
135
|
+
* // scriptSource: { // JobSubmitScriptSource
|
|
136
|
+
* // scriptLocation: "STRING_VALUE", // required
|
|
137
|
+
* // s3VersionId: "STRING_VALUE",
|
|
138
|
+
* // checksum: "STRING_VALUE",
|
|
139
|
+
* // },
|
|
140
|
+
* // },
|
|
141
|
+
* // ],
|
|
120
142
|
* // authKey: { // SlurmAuthKey
|
|
121
143
|
* // secretArn: "STRING_VALUE", // required
|
|
122
144
|
* // secretVersion: "STRING_VALUE", // required
|
|
@@ -71,6 +71,17 @@ declare const GetClusterCommand_base: {
|
|
|
71
71
|
* // parameterValue: "STRING_VALUE", // required
|
|
72
72
|
* // },
|
|
73
73
|
* // ],
|
|
74
|
+
* // jobSubmitPlugins: [ // JobSubmitPluginList
|
|
75
|
+
* // { // JobSubmitPlugin
|
|
76
|
+
* // name: "STRING_VALUE", // required
|
|
77
|
+
* // type: "STARLARK", // required
|
|
78
|
+
* // scriptSource: { // JobSubmitScriptSource
|
|
79
|
+
* // scriptLocation: "STRING_VALUE", // required
|
|
80
|
+
* // s3VersionId: "STRING_VALUE",
|
|
81
|
+
* // checksum: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
74
85
|
* // authKey: { // SlurmAuthKey
|
|
75
86
|
* // secretArn: "STRING_VALUE", // required
|
|
76
87
|
* // secretVersion: "STRING_VALUE", // required
|
|
@@ -56,6 +56,17 @@ declare const UpdateClusterCommand_base: {
|
|
|
56
56
|
* parameterValue: "STRING_VALUE", // required
|
|
57
57
|
* },
|
|
58
58
|
* ],
|
|
59
|
+
* jobSubmitPlugins: [ // JobSubmitPluginList
|
|
60
|
+
* { // JobSubmitPlugin
|
|
61
|
+
* name: "STRING_VALUE", // required
|
|
62
|
+
* type: "STARLARK", // required
|
|
63
|
+
* scriptSource: { // JobSubmitScriptSource
|
|
64
|
+
* scriptLocation: "STRING_VALUE", // required
|
|
65
|
+
* s3VersionId: "STRING_VALUE",
|
|
66
|
+
* checksum: "STRING_VALUE",
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
59
70
|
* accounting: { // UpdateAccountingRequest
|
|
60
71
|
* defaultPurgeTimeInDays: Number("int"),
|
|
61
72
|
* mode: "STANDARD" || "NONE",
|
|
@@ -103,6 +114,17 @@ declare const UpdateClusterCommand_base: {
|
|
|
103
114
|
* // parameterValue: "STRING_VALUE", // required
|
|
104
115
|
* // },
|
|
105
116
|
* // ],
|
|
117
|
+
* // jobSubmitPlugins: [ // JobSubmitPluginList
|
|
118
|
+
* // { // JobSubmitPlugin
|
|
119
|
+
* // name: "STRING_VALUE", // required
|
|
120
|
+
* // type: "STARLARK", // required
|
|
121
|
+
* // scriptSource: { // JobSubmitScriptSource
|
|
122
|
+
* // scriptLocation: "STRING_VALUE", // required
|
|
123
|
+
* // s3VersionId: "STRING_VALUE",
|
|
124
|
+
* // checksum: "STRING_VALUE",
|
|
125
|
+
* // },
|
|
126
|
+
* // },
|
|
127
|
+
* // ],
|
|
106
128
|
* // authKey: { // SlurmAuthKey
|
|
107
129
|
* // secretArn: "STRING_VALUE", // required
|
|
108
130
|
* // secretVersion: "STRING_VALUE", // required
|
|
@@ -157,6 +157,17 @@ export declare const Size: {
|
|
|
157
157
|
* @public
|
|
158
158
|
*/
|
|
159
159
|
export type Size = (typeof Size)[keyof typeof Size];
|
|
160
|
+
/**
|
|
161
|
+
* @public
|
|
162
|
+
* @enum
|
|
163
|
+
*/
|
|
164
|
+
export declare const JobSubmitPluginType: {
|
|
165
|
+
readonly STARLARK: "STARLARK";
|
|
166
|
+
};
|
|
167
|
+
/**
|
|
168
|
+
* @public
|
|
169
|
+
*/
|
|
170
|
+
export type JobSubmitPluginType = (typeof JobSubmitPluginType)[keyof typeof JobSubmitPluginType];
|
|
160
171
|
/**
|
|
161
172
|
* @public
|
|
162
173
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountingMode, ClusterStatus, ComputeNodeGroupStatus, EndpointType, ExecutionPolicy, LaunchTemplateMode, NetworkType, OnError, PurchaseOption, QueueStatus, SchedulerType, ScriptCachingPolicy, Size, SlurmRestMode, SpotAllocationStrategy } from "./enums";
|
|
1
|
+
import type { AccountingMode, ClusterStatus, ComputeNodeGroupStatus, EndpointType, ExecutionPolicy, JobSubmitPluginType, LaunchTemplateMode, NetworkType, OnError, PurchaseOption, QueueStatus, SchedulerType, ScriptCachingPolicy, Size, SlurmRestMode, SpotAllocationStrategy } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The accounting configuration includes configurable settings for Slurm accounting. It's a property of the <b>ClusterSlurmConfiguration</b> object.</p>
|
|
4
4
|
* @public
|
|
@@ -808,6 +808,48 @@ export interface CgroupCustomSetting {
|
|
|
808
808
|
*/
|
|
809
809
|
parameterValue: string | undefined;
|
|
810
810
|
}
|
|
811
|
+
/**
|
|
812
|
+
* <p>The source location and integrity information for the script.</p>
|
|
813
|
+
* @public
|
|
814
|
+
*/
|
|
815
|
+
export interface JobSubmitScriptSource {
|
|
816
|
+
/**
|
|
817
|
+
* <p>The location of the script. Specify an Amazon S3 URI in the format <code>s3://bucket-name/key</code>.</p>
|
|
818
|
+
* @public
|
|
819
|
+
*/
|
|
820
|
+
scriptLocation: string | undefined;
|
|
821
|
+
/**
|
|
822
|
+
* <p>The Amazon S3 version ID of the script. Use this value to pin the script to a specific version in a versioned Amazon S3 bucket.</p>
|
|
823
|
+
* @public
|
|
824
|
+
*/
|
|
825
|
+
s3VersionId?: string | undefined;
|
|
826
|
+
/**
|
|
827
|
+
* <p>The SHA-256 checksum of the script content, as a 64-character hexadecimal string. This value is optional. When specified, PCS uses this value to verify the integrity of the downloaded script.</p>
|
|
828
|
+
* @public
|
|
829
|
+
*/
|
|
830
|
+
checksum?: string | undefined;
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* <p>A job submit plugin configuration, including its name, runtime language, and script source.</p>
|
|
834
|
+
* @public
|
|
835
|
+
*/
|
|
836
|
+
export interface JobSubmitPlugin {
|
|
837
|
+
/**
|
|
838
|
+
* <p>A unique name for the plugin. The name can be up to 64 characters long. Valid characters are letters, numbers, spaces, underscores (<code>_</code>), and hyphens (<code>-</code>). The first character must be a letter or a number.</p>
|
|
839
|
+
* @public
|
|
840
|
+
*/
|
|
841
|
+
name: string | undefined;
|
|
842
|
+
/**
|
|
843
|
+
* <p>The runtime language used to execute the custom script. Valid values:</p> <ul> <li> <p> <code>STARLARK</code> – The script uses Starlark syntax.</p> </li> </ul>
|
|
844
|
+
* @public
|
|
845
|
+
*/
|
|
846
|
+
type: JobSubmitPluginType | undefined;
|
|
847
|
+
/**
|
|
848
|
+
* <p>The source location and integrity information for the script.</p>
|
|
849
|
+
* @public
|
|
850
|
+
*/
|
|
851
|
+
scriptSource: JobSubmitScriptSource | undefined;
|
|
852
|
+
}
|
|
811
853
|
/**
|
|
812
854
|
* <p>Additional settings that directly map to SlurmDBD settings.</p> <important> <p>PCS supports a subset of SlurmDBD settings. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/slurmdbd-custom-settings.html">Configuring custom SlurmDBD settings in PCS</a> in the <i>PCS User Guide</i>.</p> </important>
|
|
813
855
|
* @public
|
|
@@ -860,6 +902,11 @@ export interface ClusterSlurmConfigurationRequest {
|
|
|
860
902
|
* @public
|
|
861
903
|
*/
|
|
862
904
|
cgroupCustomSettings?: CgroupCustomSetting[] | undefined;
|
|
905
|
+
/**
|
|
906
|
+
* <p>The job submit plugins to run on the cluster controller. Use job submit plugins to execute custom scripts during job submission and job modification to validate or modify the job's configuration. Custom scripts can accept or reject jobs based on their configuration or modify the configuration before job execution.</p>
|
|
907
|
+
* @public
|
|
908
|
+
*/
|
|
909
|
+
jobSubmitPlugins?: JobSubmitPlugin[] | undefined;
|
|
863
910
|
/**
|
|
864
911
|
* <p>The accounting configuration includes configurable settings for Slurm accounting.</p>
|
|
865
912
|
* @public
|
|
@@ -1058,6 +1105,11 @@ export interface ClusterSlurmConfiguration {
|
|
|
1058
1105
|
* @public
|
|
1059
1106
|
*/
|
|
1060
1107
|
cgroupCustomSettings?: CgroupCustomSetting[] | undefined;
|
|
1108
|
+
/**
|
|
1109
|
+
* <p>The job submit plugins to run on the cluster controller. Use job submit plugins to execute custom scripts during job submission and job modification to validate or modify the job's configuration. Custom scripts can accept or reject jobs based on their configuration or modify the configuration before job execution.</p>
|
|
1110
|
+
* @public
|
|
1111
|
+
*/
|
|
1112
|
+
jobSubmitPlugins?: JobSubmitPlugin[] | undefined;
|
|
1061
1113
|
/**
|
|
1062
1114
|
* <p>The shared Slurm key for authentication, also known as the <b>cluster secret</b>.</p>
|
|
1063
1115
|
* @public
|
|
@@ -1695,6 +1747,11 @@ export interface UpdateClusterSlurmConfigurationRequest {
|
|
|
1695
1747
|
* @public
|
|
1696
1748
|
*/
|
|
1697
1749
|
cgroupCustomSettings?: CgroupCustomSetting[] | undefined;
|
|
1750
|
+
/**
|
|
1751
|
+
* <p>The job submit plugins to run on the cluster controller. Use job submit plugins to execute custom scripts during job submission and job modification to validate or modify the job's configuration. Custom scripts can accept or reject jobs based on their configuration or modify the configuration before job execution.</p>
|
|
1752
|
+
* @public
|
|
1753
|
+
*/
|
|
1754
|
+
jobSubmitPlugins?: JobSubmitPlugin[] | undefined;
|
|
1698
1755
|
/**
|
|
1699
1756
|
* <p>The accounting configuration includes configurable settings for Slurm accounting.</p>
|
|
1700
1757
|
* @public
|
|
@@ -48,6 +48,8 @@ export declare var GetComputeNodeGroupResponse$: StaticStructureSchema;
|
|
|
48
48
|
export declare var GetQueueRequest$: StaticStructureSchema;
|
|
49
49
|
export declare var GetQueueResponse$: StaticStructureSchema;
|
|
50
50
|
export declare var InstanceConfig$: StaticStructureSchema;
|
|
51
|
+
export declare var JobSubmitPlugin$: StaticStructureSchema;
|
|
52
|
+
export declare var JobSubmitScriptSource$: StaticStructureSchema;
|
|
51
53
|
export declare var JwtAuth$: StaticStructureSchema;
|
|
52
54
|
export declare var JwtKey$: StaticStructureSchema;
|
|
53
55
|
export declare var ListClustersRequest$: StaticStructureSchema;
|
|
@@ -76,6 +76,10 @@ export declare const Size: {
|
|
|
76
76
|
readonly SMALL: "SMALL";
|
|
77
77
|
};
|
|
78
78
|
export type Size = (typeof Size)[keyof typeof Size];
|
|
79
|
+
export declare const JobSubmitPluginType: {
|
|
80
|
+
readonly STARLARK: "STARLARK";
|
|
81
|
+
};
|
|
82
|
+
export type JobSubmitPluginType = (typeof JobSubmitPluginType)[keyof typeof JobSubmitPluginType];
|
|
79
83
|
export declare const SlurmRestMode: {
|
|
80
84
|
readonly NONE: "NONE";
|
|
81
85
|
readonly STANDARD: "STANDARD";
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
ComputeNodeGroupStatus,
|
|
5
5
|
EndpointType,
|
|
6
6
|
ExecutionPolicy,
|
|
7
|
+
JobSubmitPluginType,
|
|
7
8
|
LaunchTemplateMode,
|
|
8
9
|
NetworkType,
|
|
9
10
|
OnError,
|
|
@@ -205,6 +206,16 @@ export interface CgroupCustomSetting {
|
|
|
205
206
|
parameterName: string | undefined;
|
|
206
207
|
parameterValue: string | undefined;
|
|
207
208
|
}
|
|
209
|
+
export interface JobSubmitScriptSource {
|
|
210
|
+
scriptLocation: string | undefined;
|
|
211
|
+
s3VersionId?: string | undefined;
|
|
212
|
+
checksum?: string | undefined;
|
|
213
|
+
}
|
|
214
|
+
export interface JobSubmitPlugin {
|
|
215
|
+
name: string | undefined;
|
|
216
|
+
type: JobSubmitPluginType | undefined;
|
|
217
|
+
scriptSource: JobSubmitScriptSource | undefined;
|
|
218
|
+
}
|
|
208
219
|
export interface SlurmdbdCustomSetting {
|
|
209
220
|
parameterName: string | undefined;
|
|
210
221
|
parameterValue: string | undefined;
|
|
@@ -217,6 +228,7 @@ export interface ClusterSlurmConfigurationRequest {
|
|
|
217
228
|
slurmCustomSettings?: SlurmCustomSetting[] | undefined;
|
|
218
229
|
slurmdbdCustomSettings?: SlurmdbdCustomSetting[] | undefined;
|
|
219
230
|
cgroupCustomSettings?: CgroupCustomSetting[] | undefined;
|
|
231
|
+
jobSubmitPlugins?: JobSubmitPlugin[] | undefined;
|
|
220
232
|
accounting?: AccountingRequest | undefined;
|
|
221
233
|
slurmRest?: SlurmRestRequest | undefined;
|
|
222
234
|
}
|
|
@@ -264,6 +276,7 @@ export interface ClusterSlurmConfiguration {
|
|
|
264
276
|
slurmCustomSettings?: SlurmCustomSetting[] | undefined;
|
|
265
277
|
slurmdbdCustomSettings?: SlurmdbdCustomSetting[] | undefined;
|
|
266
278
|
cgroupCustomSettings?: CgroupCustomSetting[] | undefined;
|
|
279
|
+
jobSubmitPlugins?: JobSubmitPlugin[] | undefined;
|
|
267
280
|
authKey?: SlurmAuthKey | undefined;
|
|
268
281
|
jwtAuth?: JwtAuth | undefined;
|
|
269
282
|
accounting?: Accounting | undefined;
|
|
@@ -418,6 +431,7 @@ export interface UpdateClusterSlurmConfigurationRequest {
|
|
|
418
431
|
slurmCustomSettings?: SlurmCustomSetting[] | undefined;
|
|
419
432
|
slurmdbdCustomSettings?: SlurmdbdCustomSetting[] | undefined;
|
|
420
433
|
cgroupCustomSettings?: CgroupCustomSetting[] | undefined;
|
|
434
|
+
jobSubmitPlugins?: JobSubmitPlugin[] | undefined;
|
|
421
435
|
accounting?: UpdateAccountingRequest | undefined;
|
|
422
436
|
slurmRest?: UpdateSlurmRestRequest | undefined;
|
|
423
437
|
}
|
|
@@ -43,6 +43,8 @@ export declare var GetComputeNodeGroupResponse$: StaticStructureSchema;
|
|
|
43
43
|
export declare var GetQueueRequest$: StaticStructureSchema;
|
|
44
44
|
export declare var GetQueueResponse$: StaticStructureSchema;
|
|
45
45
|
export declare var InstanceConfig$: StaticStructureSchema;
|
|
46
|
+
export declare var JobSubmitPlugin$: StaticStructureSchema;
|
|
47
|
+
export declare var JobSubmitScriptSource$: StaticStructureSchema;
|
|
46
48
|
export declare var JwtAuth$: StaticStructureSchema;
|
|
47
49
|
export declare var JwtKey$: StaticStructureSchema;
|
|
48
50
|
export declare var ListClustersRequest$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-pcs",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1173.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Pcs Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-pcs",
|
|
6
6
|
"license": "Apache-2.0",
|