@aws-sdk/client-pcs 3.1165.0 → 3.1167.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1164.0";
72
+ var version = "3.1166.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -423,6 +423,7 @@ const _iIPA = "iamInstanceProfileArn";
423
423
  const _iT = "instanceType";
424
424
  const _jA = "jwtAuth";
425
425
  const _jK = "jwtKey";
426
+ const _lTM = "launchTemplateMode";
426
427
  const _m = "message";
427
428
  const _mA = "modifiedAt";
428
429
  const _mIC = "minInstanceCount";
@@ -465,6 +466,7 @@ const _sCl = "slurmConfiguration";
465
466
  const _sDITIS = "scaleDownIdleTimeInSeconds";
466
467
  const _sGI = "securityGroupIds";
467
468
  const _sI = "subnetIds";
469
+ const _sKN = "sshKeyName";
468
470
  const _sL = "scriptLocation";
469
471
  const _sO = "spotOptions";
470
472
  const _sR = "slurmRest";
@@ -571,8 +573,8 @@ var ClusterSummary$ = [3, n0, _CS,
571
573
  ];
572
574
  var ComputeNodeGroup$ = [3, n0, _CNG,
573
575
  0,
574
- [_n, _i, _a, _cI, _cA, _mA, _st, _sI, _cLT, _iIPA, _sCc, _iC, _aI, _pO, _sO, _sCl, _nLA, _eI],
575
- [0, 0, 0, 0, 5, 5, 0, 64 | 0, () => CustomLaunchTemplate$, 0, () => ScalingConfiguration$, () => InstanceList, 0, 0, () => SpotOptions$, () => ComputeNodeGroupSlurmConfiguration$, () => NodeLifecycleActions$, () => ErrorInfoList], 12
576
+ [_n, _i, _a, _cI, _cA, _mA, _st, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _eI],
577
+ [0, 0, 0, 0, 5, 5, 0, 64 | 0, 0, () => ScalingConfiguration$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfiguration$, () => NodeLifecycleActions$, () => ErrorInfoList], 11
576
578
  ];
577
579
  var ComputeNodeGroupConfiguration$ = [3, n0, _CNGC,
578
580
  0,
@@ -606,8 +608,8 @@ var CreateClusterResponse$ = [3, n0, _CCRr,
606
608
  ];
607
609
  var CreateComputeNodeGroupRequest$ = [3, n0, _CCNGR,
608
610
  0,
609
- [_cIl, _cNGN, _sI, _cLT, _iIPA, _sCc, _iC, _aI, _pO, _sO, _sCl, _nLA, _cT, _t],
610
- [0, 0, 64 | 0, () => CustomLaunchTemplate$, 0, () => ScalingConfigurationRequest$, () => InstanceList, 0, 0, () => SpotOptions$, () => ComputeNodeGroupSlurmConfigurationRequest$, () => NodeLifecycleActionsRequest$, [0, 4], 128 | 0], 7
611
+ [_cIl, _cNGN, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _cT, _t],
612
+ [0, 0, 64 | 0, 0, () => ScalingConfigurationRequest$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfigurationRequest$, () => NodeLifecycleActionsRequest$, [0, 4], 128 | 0], 6
611
613
  ];
612
614
  var CreateComputeNodeGroupResponse$ = [3, n0, _CCNGRr,
613
615
  0,
@@ -911,8 +913,8 @@ var UpdateClusterSlurmConfigurationRequest$ = [3, n0, _UCSCR,
911
913
  ];
912
914
  var UpdateComputeNodeGroupRequest$ = [3, n0, _UCNGR,
913
915
  0,
914
- [_cIl, _cNGIo, _aI, _sI, _cLT, _pO, _sO, _sCc, _iIPA, _sCl, _nLA, _cT],
915
- [0, 0, 0, 64 | 0, () => CustomLaunchTemplate$, 0, () => SpotOptions$, () => ScalingConfigurationRequest$, 0, () => UpdateComputeNodeGroupSlurmConfigurationRequest$, () => UpdateNodeLifecycleActionsRequest$, [0, 4]], 2
916
+ [_cIl, _cNGIo, _aI, _sGI, _sKN, _sI, _lTM, _cLT, _pO, _sO, _sCc, _iIPA, _sCl, _nLA, _cT],
917
+ [0, 0, 0, 64 | 0, 0, 64 | 0, 0, () => CustomLaunchTemplate$, 0, () => SpotOptions$, () => ScalingConfigurationRequest$, 0, () => UpdateComputeNodeGroupSlurmConfigurationRequest$, () => UpdateNodeLifecycleActionsRequest$, [0, 4]], 2
916
918
  ];
917
919
  var UpdateComputeNodeGroupResponse$ = [3, n0, _UCNGRp,
918
920
  0,
@@ -1301,6 +1303,10 @@ const AccountingMode = {
1301
1303
  NONE: "NONE",
1302
1304
  STANDARD: "STANDARD",
1303
1305
  };
1306
+ const LaunchTemplateMode = {
1307
+ CUSTOM: "CUSTOM",
1308
+ MANAGED: "MANAGED",
1309
+ };
1304
1310
  const ScriptCachingPolicy = {
1305
1311
  CACHE_ONCE: "CACHE_ONCE",
1306
1312
  REFRESH_ON_REBOOT: "REFRESH_ON_REBOOT",
@@ -1455,6 +1461,7 @@ exports.InternalServerException = InternalServerException;
1455
1461
  exports.InternalServerException$ = InternalServerException$;
1456
1462
  exports.JwtAuth$ = JwtAuth$;
1457
1463
  exports.JwtKey$ = JwtKey$;
1464
+ exports.LaunchTemplateMode = LaunchTemplateMode;
1458
1465
  exports.ListClusters$ = ListClusters$;
1459
1466
  exports.ListClustersCommand = ListClustersCommand;
1460
1467
  exports.ListClustersRequest$ = ListClustersRequest$;
@@ -2,6 +2,10 @@ export const AccountingMode = {
2
2
  NONE: "NONE",
3
3
  STANDARD: "STANDARD",
4
4
  };
5
+ export const LaunchTemplateMode = {
6
+ CUSTOM: "CUSTOM",
7
+ MANAGED: "MANAGED",
8
+ };
5
9
  export const ScriptCachingPolicy = {
6
10
  CACHE_ONCE: "CACHE_ONCE",
7
11
  REFRESH_ON_REBOOT: "REFRESH_ON_REBOOT",
@@ -166,6 +166,7 @@ const _iIPA = "iamInstanceProfileArn";
166
166
  const _iT = "instanceType";
167
167
  const _jA = "jwtAuth";
168
168
  const _jK = "jwtKey";
169
+ const _lTM = "launchTemplateMode";
169
170
  const _m = "message";
170
171
  const _mA = "modifiedAt";
171
172
  const _mIC = "minInstanceCount";
@@ -208,6 +209,7 @@ const _sCl = "slurmConfiguration";
208
209
  const _sDITIS = "scaleDownIdleTimeInSeconds";
209
210
  const _sGI = "securityGroupIds";
210
211
  const _sI = "subnetIds";
212
+ const _sKN = "sshKeyName";
211
213
  const _sL = "scriptLocation";
212
214
  const _sO = "spotOptions";
213
215
  const _sR = "slurmRest";
@@ -317,8 +319,8 @@ export var ClusterSummary$ = [3, n0, _CS,
317
319
  ];
318
320
  export var ComputeNodeGroup$ = [3, n0, _CNG,
319
321
  0,
320
- [_n, _i, _a, _cI, _cA, _mA, _st, _sI, _cLT, _iIPA, _sCc, _iC, _aI, _pO, _sO, _sCl, _nLA, _eI],
321
- [0, 0, 0, 0, 5, 5, 0, 64 | 0, () => CustomLaunchTemplate$, 0, () => ScalingConfiguration$, () => InstanceList, 0, 0, () => SpotOptions$, () => ComputeNodeGroupSlurmConfiguration$, () => NodeLifecycleActions$, () => ErrorInfoList], 12
322
+ [_n, _i, _a, _cI, _cA, _mA, _st, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _eI],
323
+ [0, 0, 0, 0, 5, 5, 0, 64 | 0, 0, () => ScalingConfiguration$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfiguration$, () => NodeLifecycleActions$, () => ErrorInfoList], 11
322
324
  ];
323
325
  export var ComputeNodeGroupConfiguration$ = [3, n0, _CNGC,
324
326
  0,
@@ -352,8 +354,8 @@ export var CreateClusterResponse$ = [3, n0, _CCRr,
352
354
  ];
353
355
  export var CreateComputeNodeGroupRequest$ = [3, n0, _CCNGR,
354
356
  0,
355
- [_cIl, _cNGN, _sI, _cLT, _iIPA, _sCc, _iC, _aI, _pO, _sO, _sCl, _nLA, _cT, _t],
356
- [0, 0, 64 | 0, () => CustomLaunchTemplate$, 0, () => ScalingConfigurationRequest$, () => InstanceList, 0, 0, () => SpotOptions$, () => ComputeNodeGroupSlurmConfigurationRequest$, () => NodeLifecycleActionsRequest$, [0, 4], 128 | 0], 7
357
+ [_cIl, _cNGN, _sI, _iIPA, _sCc, _iC, _aI, _sGI, _sKN, _pO, _lTM, _cLT, _sO, _sCl, _nLA, _cT, _t],
358
+ [0, 0, 64 | 0, 0, () => ScalingConfigurationRequest$, () => InstanceList, 0, 64 | 0, 0, 0, 0, () => CustomLaunchTemplate$, () => SpotOptions$, () => ComputeNodeGroupSlurmConfigurationRequest$, () => NodeLifecycleActionsRequest$, [0, 4], 128 | 0], 6
357
359
  ];
358
360
  export var CreateComputeNodeGroupResponse$ = [3, n0, _CCNGRr,
359
361
  0,
@@ -657,8 +659,8 @@ export var UpdateClusterSlurmConfigurationRequest$ = [3, n0, _UCSCR,
657
659
  ];
658
660
  export var UpdateComputeNodeGroupRequest$ = [3, n0, _UCNGR,
659
661
  0,
660
- [_cIl, _cNGIo, _aI, _sI, _cLT, _pO, _sO, _sCc, _iIPA, _sCl, _nLA, _cT],
661
- [0, 0, 0, 64 | 0, () => CustomLaunchTemplate$, 0, () => SpotOptions$, () => ScalingConfigurationRequest$, 0, () => UpdateComputeNodeGroupSlurmConfigurationRequest$, () => UpdateNodeLifecycleActionsRequest$, [0, 4]], 2
662
+ [_cIl, _cNGIo, _aI, _sGI, _sKN, _sI, _lTM, _cLT, _pO, _sO, _sCc, _iIPA, _sCl, _nLA, _cT],
663
+ [0, 0, 0, 64 | 0, 0, 64 | 0, 0, () => CustomLaunchTemplate$, 0, () => SpotOptions$, () => ScalingConfigurationRequest$, 0, () => UpdateComputeNodeGroupSlurmConfigurationRequest$, () => UpdateNodeLifecycleActionsRequest$, [0, 4]], 2
662
664
  ];
663
665
  export var UpdateComputeNodeGroupResponse$ = [3, n0, _UCNGRp,
664
666
  0,
@@ -737,6 +739,7 @@ var QueueList = [1, n0, _QL,
737
739
  0, () => QueueSummary$
738
740
  ];
739
741
  var SecurityGroupIdList = 64 | 0;
742
+ var SecurityGroupIdListOrEmpty = 64 | 0;
740
743
  var SlurmCustomSettings = [1, n0, _SCSlu,
741
744
  0, () => SlurmCustomSetting$
742
745
  ];
@@ -24,7 +24,7 @@ declare const CreateComputeNodeGroupCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Creates a managed set of compute nodes. You associate a compute node group with a cluster through 1 or more PCS queues or as part of the login fleet. A compute node group includes the definition of the compute properties and lifecycle management. PCS uses the information you provide to this API action to launch compute nodes in your account. You can only specify subnets in the same Amazon VPC as your cluster. You receive billing charges for the compute nodes that PCS launches in your account. You must already have a launch template before you call this API. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-launch-templates.html">Launch an instance from a launch template</a> in the <i>Amazon Elastic Compute Cloud User Guide for Linux Instances</i>.</p>
27
+ * <p>Creates a managed set of compute nodes. You associate a compute node group with a cluster through 1 or more PCS queues or as part of the login fleet. A compute node group includes the definition of the compute properties and lifecycle management. PCS uses the information you provide to this API action to launch compute nodes in your account. You can only specify subnets in the same Amazon VPC as your cluster. You receive billing charges for the compute nodes that PCS launches in your account. You can configure common instance settings, such as the AMI, security groups, and SSH key pair, directly on the compute node group, or you can provide a custom EC2 launch template. To use a launch template that PCS manages, set <code>launchTemplateMode</code> to <code>MANAGED</code> and don't provide <code>customLaunchTemplate</code>. In this case, you must specify <code>amiId</code> and <code>securityGroupIds</code>. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/working-with_cng_instance-settings.html">Configuring instance settings for compute node groups in PCS</a> in the <i>PCS User Guide</i>.</p>
28
28
  * @example
29
29
  * Use a bare-bones client and the command you need to make an API call.
30
30
  * ```javascript
@@ -34,13 +34,18 @@ declare const CreateComputeNodeGroupCommand_base: {
34
34
  * const config = {}; // type is PCSClientConfig
35
35
  * const client = new PCSClient(config);
36
36
  * const input = { // CreateComputeNodeGroupRequest
37
+ * amiId: "STRING_VALUE",
38
+ * securityGroupIds: [ // SecurityGroupIdList
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * sshKeyName: "STRING_VALUE",
37
42
  * clusterIdentifier: "STRING_VALUE", // required
38
43
  * computeNodeGroupName: "STRING_VALUE", // required
39
- * amiId: "STRING_VALUE",
40
44
  * subnetIds: [ // StringList // required
41
45
  * "STRING_VALUE",
42
46
  * ],
43
47
  * purchaseOption: "ONDEMAND" || "SPOT" || "CAPACITY_BLOCK" || "INTERRUPTIBLE_CAPACITY_RESERVATION",
48
+ * launchTemplateMode: "CUSTOM" || "MANAGED",
44
49
  * customLaunchTemplate: { // CustomLaunchTemplate
45
50
  * id: "STRING_VALUE", // required
46
51
  * version: "STRING_VALUE", // required
@@ -116,6 +121,11 @@ declare const CreateComputeNodeGroupCommand_base: {
116
121
  * const response = await client.send(command);
117
122
  * // { // CreateComputeNodeGroupResponse
118
123
  * // computeNodeGroup: { // ComputeNodeGroup
124
+ * // amiId: "STRING_VALUE",
125
+ * // securityGroupIds: [ // SecurityGroupIdList
126
+ * // "STRING_VALUE",
127
+ * // ],
128
+ * // sshKeyName: "STRING_VALUE",
119
129
  * // name: "STRING_VALUE", // required
120
130
  * // id: "STRING_VALUE", // required
121
131
  * // arn: "STRING_VALUE", // required
@@ -123,11 +133,11 @@ declare const CreateComputeNodeGroupCommand_base: {
123
133
  * // createdAt: new Date("TIMESTAMP"), // required
124
134
  * // modifiedAt: new Date("TIMESTAMP"), // required
125
135
  * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "DELETE_FAILED" || "UPDATE_FAILED" || "DELETED" || "SUSPENDING" || "SUSPENDED" || "RESUMING", // required
126
- * // amiId: "STRING_VALUE",
127
136
  * // subnetIds: [ // SubnetIdList // required
128
137
  * // "STRING_VALUE",
129
138
  * // ],
130
139
  * // purchaseOption: "ONDEMAND" || "SPOT" || "CAPACITY_BLOCK" || "INTERRUPTIBLE_CAPACITY_RESERVATION",
140
+ * // launchTemplateMode: "CUSTOM" || "MANAGED",
131
141
  * // customLaunchTemplate: { // CustomLaunchTemplate
132
142
  * // id: "STRING_VALUE", // required
133
143
  * // version: "STRING_VALUE", // required
@@ -41,6 +41,11 @@ declare const GetComputeNodeGroupCommand_base: {
41
41
  * const response = await client.send(command);
42
42
  * // { // GetComputeNodeGroupResponse
43
43
  * // computeNodeGroup: { // ComputeNodeGroup
44
+ * // amiId: "STRING_VALUE",
45
+ * // securityGroupIds: [ // SecurityGroupIdList
46
+ * // "STRING_VALUE",
47
+ * // ],
48
+ * // sshKeyName: "STRING_VALUE",
44
49
  * // name: "STRING_VALUE", // required
45
50
  * // id: "STRING_VALUE", // required
46
51
  * // arn: "STRING_VALUE", // required
@@ -48,11 +53,11 @@ declare const GetComputeNodeGroupCommand_base: {
48
53
  * // createdAt: new Date("TIMESTAMP"), // required
49
54
  * // modifiedAt: new Date("TIMESTAMP"), // required
50
55
  * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "DELETE_FAILED" || "UPDATE_FAILED" || "DELETED" || "SUSPENDING" || "SUSPENDED" || "RESUMING", // required
51
- * // amiId: "STRING_VALUE",
52
56
  * // subnetIds: [ // SubnetIdList // required
53
57
  * // "STRING_VALUE",
54
58
  * // ],
55
59
  * // purchaseOption: "ONDEMAND" || "SPOT" || "CAPACITY_BLOCK" || "INTERRUPTIBLE_CAPACITY_RESERVATION",
60
+ * // launchTemplateMode: "CUSTOM" || "MANAGED",
56
61
  * // customLaunchTemplate: { // CustomLaunchTemplate
57
62
  * // id: "STRING_VALUE", // required
58
63
  * // version: "STRING_VALUE", // required
@@ -34,12 +34,17 @@ declare const UpdateComputeNodeGroupCommand_base: {
34
34
  * const config = {}; // type is PCSClientConfig
35
35
  * const client = new PCSClient(config);
36
36
  * const input = { // UpdateComputeNodeGroupRequest
37
+ * amiId: "STRING_VALUE",
38
+ * securityGroupIds: [ // SecurityGroupIdListOrEmpty
39
+ * "STRING_VALUE",
40
+ * ],
41
+ * sshKeyName: "STRING_VALUE",
37
42
  * clusterIdentifier: "STRING_VALUE", // required
38
43
  * computeNodeGroupIdentifier: "STRING_VALUE", // required
39
- * amiId: "STRING_VALUE",
40
44
  * subnetIds: [ // StringList
41
45
  * "STRING_VALUE",
42
46
  * ],
47
+ * launchTemplateMode: "CUSTOM" || "MANAGED",
43
48
  * customLaunchTemplate: { // CustomLaunchTemplate
44
49
  * id: "STRING_VALUE", // required
45
50
  * version: "STRING_VALUE", // required
@@ -108,6 +113,11 @@ declare const UpdateComputeNodeGroupCommand_base: {
108
113
  * const response = await client.send(command);
109
114
  * // { // UpdateComputeNodeGroupResponse
110
115
  * // computeNodeGroup: { // ComputeNodeGroup
116
+ * // amiId: "STRING_VALUE",
117
+ * // securityGroupIds: [ // SecurityGroupIdList
118
+ * // "STRING_VALUE",
119
+ * // ],
120
+ * // sshKeyName: "STRING_VALUE",
111
121
  * // name: "STRING_VALUE", // required
112
122
  * // id: "STRING_VALUE", // required
113
123
  * // arn: "STRING_VALUE", // required
@@ -115,11 +125,11 @@ declare const UpdateComputeNodeGroupCommand_base: {
115
125
  * // createdAt: new Date("TIMESTAMP"), // required
116
126
  * // modifiedAt: new Date("TIMESTAMP"), // required
117
127
  * // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "DELETE_FAILED" || "UPDATE_FAILED" || "DELETED" || "SUSPENDING" || "SUSPENDED" || "RESUMING", // required
118
- * // amiId: "STRING_VALUE",
119
128
  * // subnetIds: [ // SubnetIdList // required
120
129
  * // "STRING_VALUE",
121
130
  * // ],
122
131
  * // purchaseOption: "ONDEMAND" || "SPOT" || "CAPACITY_BLOCK" || "INTERRUPTIBLE_CAPACITY_RESERVATION",
132
+ * // launchTemplateMode: "CUSTOM" || "MANAGED",
123
133
  * // customLaunchTemplate: { // CustomLaunchTemplate
124
134
  * // id: "STRING_VALUE", // required
125
135
  * // version: "STRING_VALUE", // required
@@ -10,6 +10,18 @@ export declare const AccountingMode: {
10
10
  * @public
11
11
  */
12
12
  export type AccountingMode = (typeof AccountingMode)[keyof typeof AccountingMode];
13
+ /**
14
+ * @public
15
+ * @enum
16
+ */
17
+ export declare const LaunchTemplateMode: {
18
+ readonly CUSTOM: "CUSTOM";
19
+ readonly MANAGED: "MANAGED";
20
+ };
21
+ /**
22
+ * @public
23
+ */
24
+ export type LaunchTemplateMode = (typeof LaunchTemplateMode)[keyof typeof LaunchTemplateMode];
13
25
  /**
14
26
  * @public
15
27
  * @enum
@@ -1,4 +1,4 @@
1
- import type { AccountingMode, ClusterStatus, ComputeNodeGroupStatus, EndpointType, ExecutionPolicy, NetworkType, OnError, PurchaseOption, QueueStatus, SchedulerType, ScriptCachingPolicy, Size, SlurmRestMode, SpotAllocationStrategy } from "./enums";
1
+ import type { AccountingMode, ClusterStatus, ComputeNodeGroupStatus, EndpointType, ExecutionPolicy, 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
@@ -32,17 +32,17 @@ export interface AccountingRequest {
32
32
  mode: AccountingMode | undefined;
33
33
  }
34
34
  /**
35
- * <p>An Amazon EC2 launch template PCS uses to launch compute nodes.</p>
35
+ * <p>An Amazon EC2 launch template PCS uses to launch compute nodes. The structure contains the launch template ID and version.</p>
36
36
  * @public
37
37
  */
38
38
  export interface CustomLaunchTemplate {
39
39
  /**
40
- * <p>The ID of the EC2 launch template to use to provision instances.</p> <p> Example: <code>lt-xxxx</code> </p>
40
+ * <p>The ID of the EC2 launch template to use to provision instances. Specify this value together with <code>version</code>.</p> <p> Example: <code>lt-xxxx</code> </p>
41
41
  * @public
42
42
  */
43
43
  id: string | undefined;
44
44
  /**
45
- * <p>The version of the EC2 launch template to use to provision instances.</p>
45
+ * <p>The version of the EC2 launch template to use to provision instances. Specify this value together with <code>id</code>.</p>
46
46
  * @public
47
47
  */
48
48
  version: string | undefined;
@@ -210,6 +210,21 @@ export interface SpotOptions {
210
210
  * @public
211
211
  */
212
212
  export interface CreateComputeNodeGroupRequest {
213
+ /**
214
+ * <p> The ID of the Amazon Machine Image (AMI) that PCS uses to launch compute nodes (Amazon EC2 instances). This value overrides the AMI ID in the custom launch template. If you don't provide this value, PCS uses the AMI ID specified in the custom launch template. You must provide this value if <code>launchTemplateMode</code> is <code>MANAGED</code>.</p>
215
+ * @public
216
+ */
217
+ amiId?: string | undefined;
218
+ /**
219
+ * <p>The IDs of the EC2 security groups to configure directly on the compute node group. The security groups must be in the same VPC as the cluster. PCS uses these security groups instead of the security groups in the custom launch template. You can't specify this value if the custom launch template defines network interfaces. If you don't provide this value, PCS uses the security groups in the custom launch template. You must provide this value if <code>launchTemplateMode</code> is <code>MANAGED</code>. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/working-with_cng_instance-settings.html">Configuring instance settings for compute node groups in PCS</a> in the <i>PCS User Guide</i>.</p>
220
+ * @public
221
+ */
222
+ securityGroupIds?: string[] | undefined;
223
+ /**
224
+ * <p>The name of the EC2 key pair to configure directly on the compute node group. The key pair must exist in your account and Amazon Web Services Region. PCS uses this key pair instead of the key pair in the custom launch template. If you don't provide this value, PCS uses the key pair in the custom launch template, if one is specified. You must have permission for <code>ec2:DescribeKeyPairs</code>. If you delete the key pair later, future instance launches can fail. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/working-with_cng_instance-settings.html">Configuring instance settings for compute node groups in PCS</a> in the <i>PCS User Guide</i>.</p>
225
+ * @public
226
+ */
227
+ sshKeyName?: string | undefined;
213
228
  /**
214
229
  * <p>The name or ID of the cluster to create a compute node group in.</p>
215
230
  * @public
@@ -220,11 +235,6 @@ export interface CreateComputeNodeGroupRequest {
220
235
  * @public
221
236
  */
222
237
  computeNodeGroupName: string | undefined;
223
- /**
224
- * <p> The ID of the Amazon Machine Image (AMI) that PCS uses to launch compute nodes (Amazon EC2 instances). If you don't provide this value, PCS uses the AMI ID specified in the custom launch template.</p>
225
- * @public
226
- */
227
- amiId?: string | undefined;
228
238
  /**
229
239
  * <p>The list of subnet IDs where the compute node group launches instances. Subnets must be in the same VPC as the cluster.</p>
230
240
  * @public
@@ -236,10 +246,15 @@ export interface CreateComputeNodeGroupRequest {
236
246
  */
237
247
  purchaseOption?: PurchaseOption | undefined;
238
248
  /**
239
- * <p>An Amazon EC2 launch template PCS uses to launch compute nodes.</p>
249
+ * <p>Specifies whether the compute node group uses a custom launch template or a launch template that PCS manages. The default value is <code>CUSTOM</code>.</p> <p>If the value is <code>CUSTOM</code>, provide <code>customLaunchTemplate</code>. If the value is <code>MANAGED</code>, omit <code>customLaunchTemplate</code> and provide <code>amiId</code> and <code>securityGroupIds</code>.</p>
240
250
  * @public
241
251
  */
242
- customLaunchTemplate: CustomLaunchTemplate | undefined;
252
+ launchTemplateMode?: LaunchTemplateMode | undefined;
253
+ /**
254
+ * <p>The custom Amazon EC2 launch template to associate with the compute node group. Specify the launch template <code>id</code> and <code>version</code> when <code>launchTemplateMode</code> is <code>CUSTOM</code>. Don't specify this value when <code>launchTemplateMode</code> is <code>MANAGED</code>.</p>
255
+ * @public
256
+ */
257
+ customLaunchTemplate?: CustomLaunchTemplate | undefined;
243
258
  /**
244
259
  * <p>The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have the <code>pcs:RegisterComputeNodeGroupInstance</code> permission and the role name must start with <code>AWSPCS</code> or must have the path <code>/aws-pcs/</code>. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/security-instance-profiles.html">IAM instance profiles for PCS</a> in the <i>PCS User Guide</i>.</p>
245
260
  * @public
@@ -271,7 +286,7 @@ export interface CreateComputeNodeGroupRequest {
271
286
  */
272
287
  nodeLifecycleActions?: NodeLifecycleActionsRequest | undefined;
273
288
  /**
274
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.</p>
289
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate one for you.</p>
275
290
  * @public
276
291
  */
277
292
  clientToken?: string | undefined;
@@ -355,6 +370,21 @@ export interface ComputeNodeGroupSlurmConfiguration {
355
370
  * @public
356
371
  */
357
372
  export interface ComputeNodeGroup {
373
+ /**
374
+ * <p>The ID of the Amazon Machine Image (AMI) that PCS uses to launch instances. If not present, PCS uses the AMI ID specified in the custom launch template.</p>
375
+ * @public
376
+ */
377
+ amiId?: string | undefined;
378
+ /**
379
+ * <p>The IDs of the EC2 security groups configured directly on the compute node group. PCS uses these security groups instead of the security groups in the custom launch template. This value isn't present if security groups aren't configured directly on the compute node group. In that case, PCS uses the security groups in the custom launch template.</p>
380
+ * @public
381
+ */
382
+ securityGroupIds?: string[] | undefined;
383
+ /**
384
+ * <p>The name of the EC2 key pair configured directly on the compute node group. PCS uses this key pair instead of the key pair in the custom launch template. This value isn't present if a key pair isn't configured directly on the compute node group. In that case, PCS uses the key pair in the custom launch template, if one is specified.</p>
385
+ * @public
386
+ */
387
+ sshKeyName?: string | undefined;
358
388
  /**
359
389
  * <p>The name that identifies the compute node group.</p>
360
390
  * @public
@@ -390,11 +420,6 @@ export interface ComputeNodeGroup {
390
420
  * @public
391
421
  */
392
422
  status: ComputeNodeGroupStatus | undefined;
393
- /**
394
- * <p>The ID of the Amazon Machine Image (AMI) that PCS uses to launch instances. If not provided, PCS uses the AMI ID specified in the custom launch template.</p>
395
- * @public
396
- */
397
- amiId?: string | undefined;
398
423
  /**
399
424
  * <p>The list of subnet IDs where instances are provisioned by the compute node group. The subnets must be in the same VPC as the cluster.</p>
400
425
  * @public
@@ -406,10 +431,15 @@ export interface ComputeNodeGroup {
406
431
  */
407
432
  purchaseOption?: PurchaseOption | undefined;
408
433
  /**
409
- * <p>An Amazon EC2 launch template PCS uses to launch compute nodes.</p>
434
+ * <p>Indicates whether the compute node group uses a custom launch template or a launch template that PCS manages. The default value is <code>CUSTOM</code>.</p> <p>Valid values:</p> <ul> <li> <p> <code>CUSTOM</code> – The compute node group uses the launch template in <code>customLaunchTemplate</code>.</p> </li> <li> <p> <code>MANAGED</code> – PCS creates and manages the launch template.</p> </li> </ul>
410
435
  * @public
411
436
  */
412
- customLaunchTemplate: CustomLaunchTemplate | undefined;
437
+ launchTemplateMode?: LaunchTemplateMode | undefined;
438
+ /**
439
+ * <p>The custom Amazon EC2 launch template associated with the compute node group. This value is present when <code>launchTemplateMode</code> is <code>CUSTOM</code> and isn't present when <code>launchTemplateMode</code> is <code>MANAGED</code>.</p>
440
+ * @public
441
+ */
442
+ customLaunchTemplate?: CustomLaunchTemplate | undefined;
413
443
  /**
414
444
  * <p>The Amazon Resource Name (ARN) of the IAM instance profile used to pass an IAM role when launching EC2 instances. The role contained in your instance profile must have the <code>pcs:RegisterComputeNodeGroupInstance</code> permission and the role name must start with <code>AWSPCS</code> or must have the path <code>/aws-pcs/</code>. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/security-instance-profiles.html">IAM instance profiles for PCS</a> in the <i>PCS User Guide</i>.</p>
415
445
  * @public
@@ -487,7 +517,7 @@ export interface DeleteComputeNodeGroupRequest {
487
517
  */
488
518
  computeNodeGroupIdentifier: string | undefined;
489
519
  /**
490
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.</p>
520
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate one for you.</p>
491
521
  * @public
492
522
  */
493
523
  clientToken?: string | undefined;
@@ -639,6 +669,21 @@ export interface UpdateComputeNodeGroupSlurmConfigurationRequest {
639
669
  * @public
640
670
  */
641
671
  export interface UpdateComputeNodeGroupRequest {
672
+ /**
673
+ * <p>The ID of the Amazon Machine Image (AMI) that PCS uses to launch instances. This value overrides the AMI ID in the custom launch template. Specify an empty string (<code>""</code>) to remove the AMI ID from the compute node group and use the AMI ID specified in the custom launch template. Omit this value to leave the current setting unchanged.</p>
674
+ * @public
675
+ */
676
+ amiId?: string | undefined;
677
+ /**
678
+ * <p>The IDs of the EC2 security groups to configure directly on the compute node group. The security groups must be in the same VPC as the cluster. PCS uses these security groups instead of the security groups in the custom launch template. You can't specify this value if the custom launch template defines network interfaces. Specify an empty list (<code>[]</code>) to remove the security groups from the compute node group and use the security groups in the custom launch template. Omit this value to leave the current setting unchanged.</p>
679
+ * @public
680
+ */
681
+ securityGroupIds?: string[] | undefined;
682
+ /**
683
+ * <p>The name of the EC2 key pair to configure directly on the compute node group. The key pair must exist in your account and Amazon Web Services Region. PCS uses this key pair instead of the key pair in the custom launch template. Specify an empty string (<code>""</code>) to remove the key pair from the compute node group and use the key pair in the custom launch template. Omit this value to leave the current setting unchanged. You must have permission for <code>ec2:DescribeKeyPairs</code> to specify a key pair. If you delete the key pair later, future instance launches can fail.</p>
684
+ * @public
685
+ */
686
+ sshKeyName?: string | undefined;
642
687
  /**
643
688
  * <p>The name or ID of the cluster of the compute node group.</p>
644
689
  * @public
@@ -650,17 +695,17 @@ export interface UpdateComputeNodeGroupRequest {
650
695
  */
651
696
  computeNodeGroupIdentifier: string | undefined;
652
697
  /**
653
- * <p>The ID of the Amazon Machine Image (AMI) that PCS uses to launch instances. If not provided, PCS uses the AMI ID specified in the custom launch template.</p>
698
+ * <p>The list of subnet IDs where the compute node group provisions instances. The subnets must be in the same VPC as the cluster.</p>
654
699
  * @public
655
700
  */
656
- amiId?: string | undefined;
701
+ subnetIds?: string[] | undefined;
657
702
  /**
658
- * <p>The list of subnet IDs where the compute node group provisions instances. The subnets must be in the same VPC as the cluster.</p>
703
+ * <p>Specifies whether the compute node group uses a custom launch template or a launch template that PCS manages. Omit this value to keep the current mode.</p> <p>Valid values:</p> <ul> <li> <p> <code>CUSTOM</code> – Use a custom launch template. To switch from <code>MANAGED</code>, also provide <code>customLaunchTemplate</code>. If the compute node group already uses <code>CUSTOM</code> and you omit <code>customLaunchTemplate</code>, the existing launch template is unchanged.</p> </li> <li> <p> <code>MANAGED</code> – Use a launch template created and managed by PCS. Omit <code>customLaunchTemplate</code>. Switching to this mode removes the custom launch template association but doesn't delete the launch template.</p> </li> </ul> <p>When switching to <code>MANAGED</code>, the compute node group must have <code>amiId</code> and <code>securityGroupIds</code> configured. You can set these values in the same request.</p>
659
704
  * @public
660
705
  */
661
- subnetIds?: string[] | undefined;
706
+ launchTemplateMode?: LaunchTemplateMode | undefined;
662
707
  /**
663
- * <p>An Amazon EC2 launch template PCS uses to launch compute nodes.</p>
708
+ * <p>The custom Amazon EC2 launch template to associate with the compute node group. To set or change the custom launch template, specify <code>id</code> and <code>version</code>. If you provide this value and omit <code>launchTemplateMode</code>, the compute node group must already use <code>CUSTOM</code> mode. To switch from <code>MANAGED</code> to <code>CUSTOM</code>, specify <code>launchTemplateMode</code> as <code>CUSTOM</code> and provide this value. If the compute node group already uses <code>CUSTOM</code>, omit this value while also omitting <code>launchTemplateMode</code>, or while specifying <code>CUSTOM</code>, to keep the existing custom launch template. For more information, see <a href="https://docs.aws.amazon.com/pcs/latest/userguide/working-with_cng_instance-settings-migrate.html">Migrating a compute node group from a custom launch template</a> in the <i>PCS User Guide</i>.</p>
664
709
  * @public
665
710
  */
666
711
  customLaunchTemplate?: CustomLaunchTemplate | undefined;
@@ -695,7 +740,7 @@ export interface UpdateComputeNodeGroupRequest {
695
740
  */
696
741
  nodeLifecycleActions?: UpdateNodeLifecycleActionsRequest | undefined;
697
742
  /**
698
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.</p>
743
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate one for you.</p>
699
744
  * @public
700
745
  */
701
746
  clientToken?: string | undefined;
@@ -856,7 +901,7 @@ export interface CreateClusterRequest {
856
901
  */
857
902
  slurmConfiguration?: ClusterSlurmConfigurationRequest | undefined;
858
903
  /**
859
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.</p>
904
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate one for you.</p>
860
905
  * @public
861
906
  */
862
907
  clientToken?: string | undefined;
@@ -1120,7 +1165,7 @@ export interface DeleteClusterRequest {
1120
1165
  */
1121
1166
  clusterIdentifier: string | undefined;
1122
1167
  /**
1123
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.</p>
1168
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate one for you.</p>
1124
1169
  * @public
1125
1170
  */
1126
1171
  clientToken?: string | undefined;
@@ -1263,7 +1308,7 @@ export interface CreateQueueRequest {
1263
1308
  */
1264
1309
  slurmConfiguration?: QueueSlurmConfigurationRequest | undefined;
1265
1310
  /**
1266
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.</p>
1311
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate one for you.</p>
1267
1312
  * @public
1268
1313
  */
1269
1314
  clientToken?: string | undefined;
@@ -1365,7 +1410,7 @@ export interface DeleteQueueRequest {
1365
1410
  */
1366
1411
  queueIdentifier: string | undefined;
1367
1412
  /**
1368
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.</p>
1413
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate one for you.</p>
1369
1414
  * @public
1370
1415
  */
1371
1416
  clientToken?: string | undefined;
@@ -1512,7 +1557,7 @@ export interface UpdateQueueRequest {
1512
1557
  */
1513
1558
  slurmConfiguration?: UpdateQueueSlurmConfigurationRequest | undefined;
1514
1559
  /**
1515
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.</p>
1560
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate one for you.</p>
1516
1561
  * @public
1517
1562
  */
1518
1563
  clientToken?: string | undefined;
@@ -1671,7 +1716,7 @@ export interface UpdateClusterRequest {
1671
1716
  */
1672
1717
  clusterIdentifier: string | undefined;
1673
1718
  /**
1674
- * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate 1 for you.</p>
1719
+ * <p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, the subsequent retries with the same client token return the result from the original successful request and they have no additional effect. If you don't specify a client token, the CLI and SDK automatically generate one for you.</p>
1675
1720
  * @public
1676
1721
  */
1677
1722
  clientToken?: string | undefined;
@@ -3,6 +3,11 @@ export declare const AccountingMode: {
3
3
  readonly STANDARD: "STANDARD";
4
4
  };
5
5
  export type AccountingMode = (typeof AccountingMode)[keyof typeof AccountingMode];
6
+ export declare const LaunchTemplateMode: {
7
+ readonly CUSTOM: "CUSTOM";
8
+ readonly MANAGED: "MANAGED";
9
+ };
10
+ export type LaunchTemplateMode = (typeof LaunchTemplateMode)[keyof typeof LaunchTemplateMode];
6
11
  export declare const ScriptCachingPolicy: {
7
12
  readonly CACHE_ONCE: "CACHE_ONCE";
8
13
  readonly REFRESH_ON_REBOOT: "REFRESH_ON_REBOOT";
@@ -4,6 +4,7 @@ import {
4
4
  ComputeNodeGroupStatus,
5
5
  EndpointType,
6
6
  ExecutionPolicy,
7
+ LaunchTemplateMode,
7
8
  NetworkType,
8
9
  OnError,
9
10
  PurchaseOption,
@@ -66,12 +67,15 @@ export interface SpotOptions {
66
67
  allocationStrategy?: SpotAllocationStrategy | undefined;
67
68
  }
68
69
  export interface CreateComputeNodeGroupRequest {
70
+ amiId?: string | undefined;
71
+ securityGroupIds?: string[] | undefined;
72
+ sshKeyName?: string | undefined;
69
73
  clusterIdentifier: string | undefined;
70
74
  computeNodeGroupName: string | undefined;
71
- amiId?: string | undefined;
72
75
  subnetIds: string[] | undefined;
73
76
  purchaseOption?: PurchaseOption | undefined;
74
- customLaunchTemplate: CustomLaunchTemplate | undefined;
77
+ launchTemplateMode?: LaunchTemplateMode | undefined;
78
+ customLaunchTemplate?: CustomLaunchTemplate | undefined;
75
79
  iamInstanceProfileArn: string | undefined;
76
80
  scalingConfiguration: ScalingConfigurationRequest | undefined;
77
81
  instanceConfigs: InstanceConfig[] | undefined;
@@ -99,6 +103,9 @@ export interface ComputeNodeGroupSlurmConfiguration {
99
103
  gresCustomSettings?: Record<string, string>[] | undefined;
100
104
  }
101
105
  export interface ComputeNodeGroup {
106
+ amiId?: string | undefined;
107
+ securityGroupIds?: string[] | undefined;
108
+ sshKeyName?: string | undefined;
102
109
  name: string | undefined;
103
110
  id: string | undefined;
104
111
  arn: string | undefined;
@@ -106,10 +113,10 @@ export interface ComputeNodeGroup {
106
113
  createdAt: Date | undefined;
107
114
  modifiedAt: Date | undefined;
108
115
  status: ComputeNodeGroupStatus | undefined;
109
- amiId?: string | undefined;
110
116
  subnetIds: string[] | undefined;
111
117
  purchaseOption?: PurchaseOption | undefined;
112
- customLaunchTemplate: CustomLaunchTemplate | undefined;
118
+ launchTemplateMode?: LaunchTemplateMode | undefined;
119
+ customLaunchTemplate?: CustomLaunchTemplate | undefined;
113
120
  iamInstanceProfileArn: string | undefined;
114
121
  scalingConfiguration: ScalingConfiguration | undefined;
115
122
  instanceConfigs: InstanceConfig[] | undefined;
@@ -166,10 +173,13 @@ export interface UpdateComputeNodeGroupSlurmConfigurationRequest {
166
173
  gresCustomSettings?: Record<string, string>[] | undefined;
167
174
  }
168
175
  export interface UpdateComputeNodeGroupRequest {
176
+ amiId?: string | undefined;
177
+ securityGroupIds?: string[] | undefined;
178
+ sshKeyName?: string | undefined;
169
179
  clusterIdentifier: string | undefined;
170
180
  computeNodeGroupIdentifier: string | undefined;
171
- amiId?: string | undefined;
172
181
  subnetIds?: string[] | undefined;
182
+ launchTemplateMode?: LaunchTemplateMode | undefined;
173
183
  customLaunchTemplate?: CustomLaunchTemplate | undefined;
174
184
  purchaseOption?: PurchaseOption | undefined;
175
185
  spotOptions?: SpotOptions | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pcs",
3
- "version": "3.1165.0",
3
+ "version": "3.1167.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",
@@ -46,10 +46,10 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.980.2",
50
- "@aws-sdk/credential-provider-node": "^3.972.95",
49
+ "@aws-sdk/core": "^3.981.0",
50
+ "@aws-sdk/credential-provider-node": "^3.972.97",
51
51
  "@aws-sdk/types": "^3.975.1",
52
- "@smithy/core": "^3.39.0",
52
+ "@smithy/core": "^3.40.0",
53
53
  "@smithy/fetch-http-handler": "^5.8.1",
54
54
  "@smithy/node-http-handler": "^4.14.2",
55
55
  "@smithy/types": "^4.20.0",