@aws-sdk/client-pcs 3.687.0 → 3.691.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.
@@ -104,7 +104,7 @@ export interface InstanceConfig {
104
104
  * </p>
105
105
  * @public
106
106
  */
107
- instanceType?: string;
107
+ instanceType?: string | undefined;
108
108
  }
109
109
  /**
110
110
  * @public
@@ -208,7 +208,7 @@ export interface ComputeNodeGroupSlurmConfigurationRequest {
208
208
  * <p>Additional Slurm-specific configuration that directly maps to Slurm settings.</p>
209
209
  * @public
210
210
  */
211
- slurmCustomSettings?: SlurmCustomSetting[];
211
+ slurmCustomSettings?: SlurmCustomSetting[] | undefined;
212
212
  }
213
213
  /**
214
214
  * @public
@@ -240,7 +240,7 @@ export interface SpotOptions {
240
240
  * it defaults to <b>price capacity optimized</b>.</p>
241
241
  * @public
242
242
  */
243
- allocationStrategy?: SpotAllocationStrategy;
243
+ allocationStrategy?: SpotAllocationStrategy | undefined;
244
244
  }
245
245
  /**
246
246
  * @public
@@ -263,7 +263,7 @@ export interface CreateComputeNodeGroupRequest {
263
263
  * in the custom launch template.</p>
264
264
  * @public
265
265
  */
266
- amiId?: string;
266
+ amiId?: string | undefined;
267
267
  /**
268
268
  * <p>The list of subnet IDs where the compute node group launches instances.
269
269
  * Subnets must be in the same VPC as the cluster.</p>
@@ -277,7 +277,7 @@ export interface CreateComputeNodeGroupRequest {
277
277
  * option, it defaults to On-Demand.</p>
278
278
  * @public
279
279
  */
280
- purchaseOption?: PurchaseOption;
280
+ purchaseOption?: PurchaseOption | undefined;
281
281
  /**
282
282
  * <p>An Amazon EC2 launch template Amazon Web Services PCS uses to launch compute nodes.</p>
283
283
  * @public
@@ -322,12 +322,12 @@ export interface CreateComputeNodeGroupRequest {
322
322
  * <code>purchaseOption</code> for the <code>CreateComputeNodeGroup</code> API action.</p>
323
323
  * @public
324
324
  */
325
- spotOptions?: SpotOptions;
325
+ spotOptions?: SpotOptions | undefined;
326
326
  /**
327
327
  * <p>Additional options related to the Slurm scheduler.</p>
328
328
  * @public
329
329
  */
330
- slurmConfiguration?: ComputeNodeGroupSlurmConfigurationRequest;
330
+ slurmConfiguration?: ComputeNodeGroupSlurmConfigurationRequest | undefined;
331
331
  /**
332
332
  * <p>A unique, case-sensitive identifier that you provide to
333
333
  * ensure the idempotency of the request. Idempotency ensures that an API
@@ -338,14 +338,14 @@ export interface CreateComputeNodeGroupRequest {
338
338
  * CLI and SDK automatically generate 1 for you.</p>
339
339
  * @public
340
340
  */
341
- clientToken?: string;
341
+ clientToken?: string | undefined;
342
342
  /**
343
343
  * <p>1 or more tags added to the resource. Each tag consists of a
344
344
  * tag key and tag value. The tag value is optional and can be an empty
345
345
  * string.</p>
346
346
  * @public
347
347
  */
348
- tags?: Record<string, string>;
348
+ tags?: Record<string, string> | undefined;
349
349
  }
350
350
  /**
351
351
  * <p>An error that occurred during resource creation.</p>
@@ -356,12 +356,12 @@ export interface ErrorInfo {
356
356
  * <p>The short-form error code.</p>
357
357
  * @public
358
358
  */
359
- code?: string;
359
+ code?: string | undefined;
360
360
  /**
361
361
  * <p>The detailed error information.</p>
362
362
  * @public
363
363
  */
364
- message?: string;
364
+ message?: string | undefined;
365
365
  }
366
366
  /**
367
367
  * <p>Specifies the boundaries of the compute node group auto scaling.</p>
@@ -388,7 +388,7 @@ export interface ComputeNodeGroupSlurmConfiguration {
388
388
  * <p>Additional Slurm-specific configuration that directly maps to Slurm settings.</p>
389
389
  * @public
390
390
  */
391
- slurmCustomSettings?: SlurmCustomSetting[];
391
+ slurmCustomSettings?: SlurmCustomSetting[] | undefined;
392
392
  }
393
393
  /**
394
394
  * @public
@@ -457,7 +457,7 @@ export interface ComputeNodeGroup {
457
457
  * If not provided, Amazon Web Services PCS uses the AMI ID specified in the custom launch template.</p>
458
458
  * @public
459
459
  */
460
- amiId?: string;
460
+ amiId?: string | undefined;
461
461
  /**
462
462
  * <p>The list of subnet IDs where instances are provisioned by the compute node group.
463
463
  * The subnets must be in the same VPC as the cluster.</p>
@@ -471,7 +471,7 @@ export interface ComputeNodeGroup {
471
471
  * option, it defaults to On-Demand.</p>
472
472
  * @public
473
473
  */
474
- purchaseOption?: PurchaseOption;
474
+ purchaseOption?: PurchaseOption | undefined;
475
475
  /**
476
476
  * <p>An Amazon EC2 launch template Amazon Web Services PCS uses to launch compute nodes.</p>
477
477
  * @public
@@ -516,17 +516,17 @@ export interface ComputeNodeGroup {
516
516
  * <code>purchaseOption</code> for the <code>CreateComputeNodeGroup</code> API action.</p>
517
517
  * @public
518
518
  */
519
- spotOptions?: SpotOptions;
519
+ spotOptions?: SpotOptions | undefined;
520
520
  /**
521
521
  * <p>Additional options related to the Slurm scheduler.</p>
522
522
  * @public
523
523
  */
524
- slurmConfiguration?: ComputeNodeGroupSlurmConfiguration;
524
+ slurmConfiguration?: ComputeNodeGroupSlurmConfiguration | undefined;
525
525
  /**
526
526
  * <p>The list of errors that occurred during compute node group provisioning.</p>
527
527
  * @public
528
528
  */
529
- errorInfo?: ErrorInfo[];
529
+ errorInfo?: ErrorInfo[] | undefined;
530
530
  }
531
531
  /**
532
532
  * @public
@@ -536,7 +536,7 @@ export interface CreateComputeNodeGroupResponse {
536
536
  * <p>A compute node group associated with a cluster.</p>
537
537
  * @public
538
538
  */
539
- computeNodeGroup?: ComputeNodeGroup;
539
+ computeNodeGroup?: ComputeNodeGroup | undefined;
540
540
  }
541
541
  /**
542
542
  * <p>Amazon Web Services PCS can't process your request right now. Try again later.</p>
@@ -621,21 +621,21 @@ export declare class ServiceQuotaExceededException extends __BaseException {
621
621
  * </p>
622
622
  * @public
623
623
  */
624
- resourceId?: string;
624
+ resourceId?: string | undefined;
625
625
  /**
626
626
  * <p>
627
627
  * The type or category of the resource that caused the quota to be exceeded.
628
628
  * </p>
629
629
  * @public
630
630
  */
631
- resourceType?: string;
631
+ resourceType?: string | undefined;
632
632
  /**
633
633
  * <p>
634
634
  * The <b>quota code</b> of the service quota that was exceeded.
635
635
  * </p>
636
636
  * @public
637
637
  */
638
- quotaCode?: string;
638
+ quotaCode?: string | undefined;
639
639
  /**
640
640
  * @internal
641
641
  */
@@ -655,7 +655,7 @@ export declare class ThrottlingException extends __BaseException {
655
655
  * </p>
656
656
  * @public
657
657
  */
658
- retryAfterSeconds?: number;
658
+ retryAfterSeconds?: number | undefined;
659
659
  /**
660
660
  * @internal
661
661
  */
@@ -729,7 +729,7 @@ export declare class ValidationException extends __BaseException {
729
729
  * </p>
730
730
  * @public
731
731
  */
732
- fieldList?: ValidationExceptionField[];
732
+ fieldList?: ValidationExceptionField[] | undefined;
733
733
  /**
734
734
  * @internal
735
735
  */
@@ -759,7 +759,7 @@ export interface DeleteComputeNodeGroupRequest {
759
759
  * CLI and SDK automatically generate 1 for you.</p>
760
760
  * @public
761
761
  */
762
- clientToken?: string;
762
+ clientToken?: string | undefined;
763
763
  }
764
764
  /**
765
765
  * @public
@@ -789,7 +789,7 @@ export interface GetComputeNodeGroupResponse {
789
789
  * <p>A compute node group associated with a cluster.</p>
790
790
  * @public
791
791
  */
792
- computeNodeGroup?: ComputeNodeGroup;
792
+ computeNodeGroup?: ComputeNodeGroup | undefined;
793
793
  }
794
794
  /**
795
795
  * @public
@@ -809,7 +809,7 @@ export interface ListComputeNodeGroupsRequest {
809
809
  * error.</p>
810
810
  * @public
811
811
  */
812
- nextToken?: string;
812
+ nextToken?: string | undefined;
813
813
  /**
814
814
  * <p>The maximum number of results that are returned per call.
815
815
  * You can use <code>nextToken</code> to obtain further pages of results. The default
@@ -817,7 +817,7 @@ export interface ListComputeNodeGroupsRequest {
817
817
  * the default.</p>
818
818
  * @public
819
819
  */
820
- maxResults?: number;
820
+ maxResults?: number | undefined;
821
821
  }
822
822
  /**
823
823
  * <p>The object returned by the <code>ListComputeNodeGroups</code> API action.</p>
@@ -882,7 +882,7 @@ export interface ListComputeNodeGroupsResponse {
882
882
  * error.</p>
883
883
  * @public
884
884
  */
885
- nextToken?: string;
885
+ nextToken?: string | undefined;
886
886
  }
887
887
  /**
888
888
  * <p>Additional options related to the Slurm scheduler.</p>
@@ -893,7 +893,7 @@ export interface UpdateComputeNodeGroupSlurmConfigurationRequest {
893
893
  * <p>Additional Slurm-specific configuration that directly maps to Slurm settings.</p>
894
894
  * @public
895
895
  */
896
- slurmCustomSettings?: SlurmCustomSetting[];
896
+ slurmCustomSettings?: SlurmCustomSetting[] | undefined;
897
897
  }
898
898
  /**
899
899
  * @public
@@ -915,18 +915,18 @@ export interface UpdateComputeNodeGroupRequest {
915
915
  * template.</p>
916
916
  * @public
917
917
  */
918
- amiId?: string;
918
+ amiId?: string | undefined;
919
919
  /**
920
920
  * <p>The list of subnet IDs where the compute node group provisions instances.
921
921
  * The subnets must be in the same VPC as the cluster.</p>
922
922
  * @public
923
923
  */
924
- subnetIds?: string[];
924
+ subnetIds?: string[] | undefined;
925
925
  /**
926
926
  * <p>An Amazon EC2 launch template Amazon Web Services PCS uses to launch compute nodes.</p>
927
927
  * @public
928
928
  */
929
- customLaunchTemplate?: CustomLaunchTemplate;
929
+ customLaunchTemplate?: CustomLaunchTemplate | undefined;
930
930
  /**
931
931
  * <p>Specifies how EC2 instances are purchased on your behalf. Amazon Web Services PCS supports On-Demand
932
932
  * and Spot instances. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html">Instance
@@ -934,18 +934,18 @@ export interface UpdateComputeNodeGroupRequest {
934
934
  * option, it defaults to On-Demand.</p>
935
935
  * @public
936
936
  */
937
- purchaseOption?: PurchaseOption;
937
+ purchaseOption?: PurchaseOption | undefined;
938
938
  /**
939
939
  * <p>Additional configuration when you specify <code>SPOT</code> as the
940
940
  * <code>purchaseOption</code> for the <code>CreateComputeNodeGroup</code> API action.</p>
941
941
  * @public
942
942
  */
943
- spotOptions?: SpotOptions;
943
+ spotOptions?: SpotOptions | undefined;
944
944
  /**
945
945
  * <p>Specifies the boundaries of the compute node group auto scaling.</p>
946
946
  * @public
947
947
  */
948
- scalingConfiguration?: ScalingConfigurationRequest;
948
+ scalingConfiguration?: ScalingConfigurationRequest | undefined;
949
949
  /**
950
950
  * <p>The Amazon Resource Name (ARN) of the IAM instance
951
951
  * profile used to pass an IAM role when launching EC2 instances. The role contained
@@ -969,12 +969,12 @@ export interface UpdateComputeNodeGroupRequest {
969
969
  * </ul>
970
970
  * @public
971
971
  */
972
- iamInstanceProfileArn?: string;
972
+ iamInstanceProfileArn?: string | undefined;
973
973
  /**
974
974
  * <p>Additional options related to the Slurm scheduler.</p>
975
975
  * @public
976
976
  */
977
- slurmConfiguration?: UpdateComputeNodeGroupSlurmConfigurationRequest;
977
+ slurmConfiguration?: UpdateComputeNodeGroupSlurmConfigurationRequest | undefined;
978
978
  /**
979
979
  * <p>A unique, case-sensitive identifier that you provide to
980
980
  * ensure the idempotency of the request. Idempotency ensures that an API
@@ -985,7 +985,7 @@ export interface UpdateComputeNodeGroupRequest {
985
985
  * CLI and SDK automatically generate 1 for you.</p>
986
986
  * @public
987
987
  */
988
- clientToken?: string;
988
+ clientToken?: string | undefined;
989
989
  }
990
990
  /**
991
991
  * @public
@@ -995,7 +995,7 @@ export interface UpdateComputeNodeGroupResponse {
995
995
  * <p>A compute node group associated with a cluster.</p>
996
996
  * @public
997
997
  */
998
- computeNodeGroup?: ComputeNodeGroup;
998
+ computeNodeGroup?: ComputeNodeGroup | undefined;
999
999
  }
1000
1000
  /**
1001
1001
  * <p>The networking configuration for the cluster's control plane.</p>
@@ -1012,12 +1012,12 @@ export interface NetworkingRequest {
1012
1012
  * </note>
1013
1013
  * @public
1014
1014
  */
1015
- subnetIds?: string[];
1015
+ subnetIds?: string[] | undefined;
1016
1016
  /**
1017
1017
  * <p>A list of security group IDs associated with the Elastic Network Interface (ENI) created in subnets.</p>
1018
1018
  * @public
1019
1019
  */
1020
- securityGroupIds?: string[];
1020
+ securityGroupIds?: string[] | undefined;
1021
1021
  }
1022
1022
  /**
1023
1023
  * @public
@@ -1070,12 +1070,12 @@ export interface ClusterSlurmConfigurationRequest {
1070
1070
  * </p>
1071
1071
  * @public
1072
1072
  */
1073
- scaleDownIdleTimeInSeconds?: number;
1073
+ scaleDownIdleTimeInSeconds?: number | undefined;
1074
1074
  /**
1075
1075
  * <p>Additional Slurm-specific configuration that directly maps to Slurm settings.</p>
1076
1076
  * @public
1077
1077
  */
1078
- slurmCustomSettings?: SlurmCustomSetting[];
1078
+ slurmCustomSettings?: SlurmCustomSetting[] | undefined;
1079
1079
  }
1080
1080
  /**
1081
1081
  * @public
@@ -1121,7 +1121,7 @@ export interface CreateClusterRequest {
1121
1121
  * <p>Additional options related to the Slurm scheduler.</p>
1122
1122
  * @public
1123
1123
  */
1124
- slurmConfiguration?: ClusterSlurmConfigurationRequest;
1124
+ slurmConfiguration?: ClusterSlurmConfigurationRequest | undefined;
1125
1125
  /**
1126
1126
  * <p>A unique, case-sensitive identifier that you provide to
1127
1127
  * ensure the idempotency of the request. Idempotency ensures that an API
@@ -1132,14 +1132,14 @@ export interface CreateClusterRequest {
1132
1132
  * CLI and SDK automatically generate 1 for you.</p>
1133
1133
  * @public
1134
1134
  */
1135
- clientToken?: string;
1135
+ clientToken?: string | undefined;
1136
1136
  /**
1137
1137
  * <p>1 or more tags added to the resource. Each tag consists of a
1138
1138
  * tag key and tag value. The tag value is optional and can be an empty
1139
1139
  * string.</p>
1140
1140
  * @public
1141
1141
  */
1142
- tags?: Record<string, string>;
1142
+ tags?: Record<string, string> | undefined;
1143
1143
  }
1144
1144
  /**
1145
1145
  * @public
@@ -1176,7 +1176,7 @@ export interface Endpoint {
1176
1176
  * </p>
1177
1177
  * @public
1178
1178
  */
1179
- publicIpAddress?: string;
1179
+ publicIpAddress?: string | undefined;
1180
1180
  /**
1181
1181
  * <p>The endpoint's connection port number.</p>
1182
1182
  * <p> Example: <code>1234</code>
@@ -1199,7 +1199,7 @@ export interface Networking {
1199
1199
  * </p>
1200
1200
  * @public
1201
1201
  */
1202
- subnetIds?: string[];
1202
+ subnetIds?: string[] | undefined;
1203
1203
  /**
1204
1204
  * <p>The list of security group IDs associated
1205
1205
  * with the Elastic Network Interface (ENI) created in subnets.</p>
@@ -1250,7 +1250,7 @@ export interface Networking {
1250
1250
  * </ul>
1251
1251
  * @public
1252
1252
  */
1253
- securityGroupIds?: string[];
1253
+ securityGroupIds?: string[] | undefined;
1254
1254
  }
1255
1255
  /**
1256
1256
  * <p>The cluster management and job scheduling software associated with the cluster.</p>
@@ -1295,17 +1295,17 @@ export interface ClusterSlurmConfiguration {
1295
1295
  * </p>
1296
1296
  * @public
1297
1297
  */
1298
- scaleDownIdleTimeInSeconds?: number;
1298
+ scaleDownIdleTimeInSeconds?: number | undefined;
1299
1299
  /**
1300
1300
  * <p>Additional Slurm-specific configuration that directly maps to Slurm settings.</p>
1301
1301
  * @public
1302
1302
  */
1303
- slurmCustomSettings?: SlurmCustomSetting[];
1303
+ slurmCustomSettings?: SlurmCustomSetting[] | undefined;
1304
1304
  /**
1305
1305
  * <p>The shared Slurm key for authentication, also known as the <b>cluster secret</b>.</p>
1306
1306
  * @public
1307
1307
  */
1308
- authKey?: SlurmAuthKey;
1308
+ authKey?: SlurmAuthKey | undefined;
1309
1309
  }
1310
1310
  /**
1311
1311
  * @public
@@ -1390,7 +1390,7 @@ export interface Cluster {
1390
1390
  * <p>Additional options related to the Slurm scheduler.</p>
1391
1391
  * @public
1392
1392
  */
1393
- slurmConfiguration?: ClusterSlurmConfiguration;
1393
+ slurmConfiguration?: ClusterSlurmConfiguration | undefined;
1394
1394
  /**
1395
1395
  * <p>The networking configuration for the cluster's control plane.</p>
1396
1396
  * @public
@@ -1400,12 +1400,12 @@ export interface Cluster {
1400
1400
  * <p>The list of endpoints available for interaction with the scheduler.</p>
1401
1401
  * @public
1402
1402
  */
1403
- endpoints?: Endpoint[];
1403
+ endpoints?: Endpoint[] | undefined;
1404
1404
  /**
1405
1405
  * <p>The list of errors that occurred during cluster provisioning.</p>
1406
1406
  * @public
1407
1407
  */
1408
- errorInfo?: ErrorInfo[];
1408
+ errorInfo?: ErrorInfo[] | undefined;
1409
1409
  }
1410
1410
  /**
1411
1411
  * @public
@@ -1415,7 +1415,7 @@ export interface CreateClusterResponse {
1415
1415
  * <p>The cluster resource.</p>
1416
1416
  * @public
1417
1417
  */
1418
- cluster?: Cluster;
1418
+ cluster?: Cluster | undefined;
1419
1419
  }
1420
1420
  /**
1421
1421
  * @public
@@ -1436,7 +1436,7 @@ export interface DeleteClusterRequest {
1436
1436
  * CLI and SDK automatically generate 1 for you.</p>
1437
1437
  * @public
1438
1438
  */
1439
- clientToken?: string;
1439
+ clientToken?: string | undefined;
1440
1440
  }
1441
1441
  /**
1442
1442
  * @public
@@ -1461,7 +1461,7 @@ export interface GetClusterResponse {
1461
1461
  * <p>The cluster resource.</p>
1462
1462
  * @public
1463
1463
  */
1464
- cluster?: Cluster;
1464
+ cluster?: Cluster | undefined;
1465
1465
  }
1466
1466
  /**
1467
1467
  * @public
@@ -1476,7 +1476,7 @@ export interface ListClustersRequest {
1476
1476
  * error.</p>
1477
1477
  * @public
1478
1478
  */
1479
- nextToken?: string;
1479
+ nextToken?: string | undefined;
1480
1480
  /**
1481
1481
  * <p>The maximum number of results that are returned per call.
1482
1482
  * You can use <code>nextToken</code> to obtain further pages of results. The default
@@ -1484,7 +1484,7 @@ export interface ListClustersRequest {
1484
1484
  * the default.</p>
1485
1485
  * @public
1486
1486
  */
1487
- maxResults?: number;
1487
+ maxResults?: number | undefined;
1488
1488
  }
1489
1489
  /**
1490
1490
  * <p>The object returned by the <code>ListClusters</code> API action.</p>
@@ -1543,7 +1543,7 @@ export interface ListClustersResponse {
1543
1543
  * error.</p>
1544
1544
  * @public
1545
1545
  */
1546
- nextToken?: string;
1546
+ nextToken?: string | undefined;
1547
1547
  }
1548
1548
  /**
1549
1549
  * <p>The compute node group configuration for a queue.</p>
@@ -1554,7 +1554,7 @@ export interface ComputeNodeGroupConfiguration {
1554
1554
  * <p>The compute node group ID for the compute node group configuration.</p>
1555
1555
  * @public
1556
1556
  */
1557
- computeNodeGroupId?: string;
1557
+ computeNodeGroupId?: string | undefined;
1558
1558
  }
1559
1559
  /**
1560
1560
  * @public
@@ -1575,7 +1575,7 @@ export interface CreateQueueRequest {
1575
1575
  * assign jobs to associated compute node groups.</p>
1576
1576
  * @public
1577
1577
  */
1578
- computeNodeGroupConfigurations?: ComputeNodeGroupConfiguration[];
1578
+ computeNodeGroupConfigurations?: ComputeNodeGroupConfiguration[] | undefined;
1579
1579
  /**
1580
1580
  * <p>A unique, case-sensitive identifier that you provide to
1581
1581
  * ensure the idempotency of the request. Idempotency ensures that an API
@@ -1586,14 +1586,14 @@ export interface CreateQueueRequest {
1586
1586
  * CLI and SDK automatically generate 1 for you.</p>
1587
1587
  * @public
1588
1588
  */
1589
- clientToken?: string;
1589
+ clientToken?: string | undefined;
1590
1590
  /**
1591
1591
  * <p>1 or more tags added to the resource. Each tag consists of a
1592
1592
  * tag key and tag value. The tag value is optional and can be an empty
1593
1593
  * string.</p>
1594
1594
  * @public
1595
1595
  */
1596
- tags?: Record<string, string>;
1596
+ tags?: Record<string, string> | undefined;
1597
1597
  }
1598
1598
  /**
1599
1599
  * @public
@@ -1665,7 +1665,7 @@ export interface Queue {
1665
1665
  * <p>The list of errors that occurred during queue provisioning.</p>
1666
1666
  * @public
1667
1667
  */
1668
- errorInfo?: ErrorInfo[];
1668
+ errorInfo?: ErrorInfo[] | undefined;
1669
1669
  }
1670
1670
  /**
1671
1671
  * @public
@@ -1675,7 +1675,7 @@ export interface CreateQueueResponse {
1675
1675
  * <p>A queue resource.</p>
1676
1676
  * @public
1677
1677
  */
1678
- queue?: Queue;
1678
+ queue?: Queue | undefined;
1679
1679
  }
1680
1680
  /**
1681
1681
  * @public
@@ -1701,7 +1701,7 @@ export interface DeleteQueueRequest {
1701
1701
  * CLI and SDK automatically generate 1 for you.</p>
1702
1702
  * @public
1703
1703
  */
1704
- clientToken?: string;
1704
+ clientToken?: string | undefined;
1705
1705
  }
1706
1706
  /**
1707
1707
  * @public
@@ -1731,7 +1731,7 @@ export interface GetQueueResponse {
1731
1731
  * <p>A queue resource.</p>
1732
1732
  * @public
1733
1733
  */
1734
- queue?: Queue;
1734
+ queue?: Queue | undefined;
1735
1735
  }
1736
1736
  /**
1737
1737
  * @public
@@ -1751,7 +1751,7 @@ export interface ListQueuesRequest {
1751
1751
  * error.</p>
1752
1752
  * @public
1753
1753
  */
1754
- nextToken?: string;
1754
+ nextToken?: string | undefined;
1755
1755
  /**
1756
1756
  * <p>The maximum number of results that are returned per call.
1757
1757
  * You can use <code>nextToken</code> to obtain further pages of results. The default
@@ -1759,7 +1759,7 @@ export interface ListQueuesRequest {
1759
1759
  * the default.</p>
1760
1760
  * @public
1761
1761
  */
1762
- maxResults?: number;
1762
+ maxResults?: number | undefined;
1763
1763
  }
1764
1764
  /**
1765
1765
  * <p>The object returned by the <code>ListQueues</code> API action.</p>
@@ -1823,7 +1823,7 @@ export interface ListQueuesResponse {
1823
1823
  * error.</p>
1824
1824
  * @public
1825
1825
  */
1826
- nextToken?: string;
1826
+ nextToken?: string | undefined;
1827
1827
  }
1828
1828
  /**
1829
1829
  * @public
@@ -1844,7 +1844,7 @@ export interface UpdateQueueRequest {
1844
1844
  * assign jobs to associated compute node groups.</p>
1845
1845
  * @public
1846
1846
  */
1847
- computeNodeGroupConfigurations?: ComputeNodeGroupConfiguration[];
1847
+ computeNodeGroupConfigurations?: ComputeNodeGroupConfiguration[] | undefined;
1848
1848
  /**
1849
1849
  * <p>A unique, case-sensitive identifier that you provide to
1850
1850
  * ensure the idempotency of the request. Idempotency ensures that an API
@@ -1855,7 +1855,7 @@ export interface UpdateQueueRequest {
1855
1855
  * CLI and SDK automatically generate 1 for you.</p>
1856
1856
  * @public
1857
1857
  */
1858
- clientToken?: string;
1858
+ clientToken?: string | undefined;
1859
1859
  }
1860
1860
  /**
1861
1861
  * @public
@@ -1865,7 +1865,7 @@ export interface UpdateQueueResponse {
1865
1865
  * <p>A queue resource.</p>
1866
1866
  * @public
1867
1867
  */
1868
- queue?: Queue;
1868
+ queue?: Queue | undefined;
1869
1869
  }
1870
1870
  /**
1871
1871
  * @public
@@ -1923,7 +1923,7 @@ export interface ListTagsForResourceResponse {
1923
1923
  * string.</p>
1924
1924
  * @public
1925
1925
  */
1926
- tags?: Record<string, string>;
1926
+ tags?: Record<string, string> | undefined;
1927
1927
  }
1928
1928
  /**
1929
1929
  * @public
@@ -19,7 +19,7 @@ export interface CustomLaunchTemplate {
19
19
  version: string | undefined;
20
20
  }
21
21
  export interface InstanceConfig {
22
- instanceType?: string;
22
+ instanceType?: string | undefined;
23
23
  }
24
24
  export declare const PurchaseOption: {
25
25
  readonly ONDEMAND: "ONDEMAND";
@@ -36,7 +36,7 @@ export interface SlurmCustomSetting {
36
36
  parameterValue: string | undefined;
37
37
  }
38
38
  export interface ComputeNodeGroupSlurmConfigurationRequest {
39
- slurmCustomSettings?: SlurmCustomSetting[];
39
+ slurmCustomSettings?: SlurmCustomSetting[] | undefined;
40
40
  }
41
41
  export declare const SpotAllocationStrategy: {
42
42
  readonly CAPACITY_OPTIMIZED: "capacity-optimized";
@@ -46,33 +46,33 @@ export declare const SpotAllocationStrategy: {
46
46
  export type SpotAllocationStrategy =
47
47
  (typeof SpotAllocationStrategy)[keyof typeof SpotAllocationStrategy];
48
48
  export interface SpotOptions {
49
- allocationStrategy?: SpotAllocationStrategy;
49
+ allocationStrategy?: SpotAllocationStrategy | undefined;
50
50
  }
51
51
  export interface CreateComputeNodeGroupRequest {
52
52
  clusterIdentifier: string | undefined;
53
53
  computeNodeGroupName: string | undefined;
54
- amiId?: string;
54
+ amiId?: string | undefined;
55
55
  subnetIds: string[] | undefined;
56
- purchaseOption?: PurchaseOption;
56
+ purchaseOption?: PurchaseOption | undefined;
57
57
  customLaunchTemplate: CustomLaunchTemplate | undefined;
58
58
  iamInstanceProfileArn: string | undefined;
59
59
  scalingConfiguration: ScalingConfigurationRequest | undefined;
60
60
  instanceConfigs: InstanceConfig[] | undefined;
61
- spotOptions?: SpotOptions;
62
- slurmConfiguration?: ComputeNodeGroupSlurmConfigurationRequest;
63
- clientToken?: string;
64
- tags?: Record<string, string>;
61
+ spotOptions?: SpotOptions | undefined;
62
+ slurmConfiguration?: ComputeNodeGroupSlurmConfigurationRequest | undefined;
63
+ clientToken?: string | undefined;
64
+ tags?: Record<string, string> | undefined;
65
65
  }
66
66
  export interface ErrorInfo {
67
- code?: string;
68
- message?: string;
67
+ code?: string | undefined;
68
+ message?: string | undefined;
69
69
  }
70
70
  export interface ScalingConfiguration {
71
71
  minInstanceCount: number | undefined;
72
72
  maxInstanceCount: number | undefined;
73
73
  }
74
74
  export interface ComputeNodeGroupSlurmConfiguration {
75
- slurmCustomSettings?: SlurmCustomSetting[];
75
+ slurmCustomSettings?: SlurmCustomSetting[] | undefined;
76
76
  }
77
77
  export declare const ComputeNodeGroupStatus: {
78
78
  readonly ACTIVE: "ACTIVE";
@@ -94,19 +94,19 @@ export interface ComputeNodeGroup {
94
94
  createdAt: Date | undefined;
95
95
  modifiedAt: Date | undefined;
96
96
  status: ComputeNodeGroupStatus | undefined;
97
- amiId?: string;
97
+ amiId?: string | undefined;
98
98
  subnetIds: string[] | undefined;
99
- purchaseOption?: PurchaseOption;
99
+ purchaseOption?: PurchaseOption | undefined;
100
100
  customLaunchTemplate: CustomLaunchTemplate | undefined;
101
101
  iamInstanceProfileArn: string | undefined;
102
102
  scalingConfiguration: ScalingConfiguration | undefined;
103
103
  instanceConfigs: InstanceConfig[] | undefined;
104
- spotOptions?: SpotOptions;
105
- slurmConfiguration?: ComputeNodeGroupSlurmConfiguration;
106
- errorInfo?: ErrorInfo[];
104
+ spotOptions?: SpotOptions | undefined;
105
+ slurmConfiguration?: ComputeNodeGroupSlurmConfiguration | undefined;
106
+ errorInfo?: ErrorInfo[] | undefined;
107
107
  }
108
108
  export interface CreateComputeNodeGroupResponse {
109
- computeNodeGroup?: ComputeNodeGroup;
109
+ computeNodeGroup?: ComputeNodeGroup | undefined;
110
110
  }
111
111
  export declare class InternalServerException extends __BaseException {
112
112
  readonly name: "InternalServerException";
@@ -129,9 +129,9 @@ export declare class ServiceQuotaExceededException extends __BaseException {
129
129
  readonly name: "ServiceQuotaExceededException";
130
130
  readonly $fault: "client";
131
131
  serviceCode: string | undefined;
132
- resourceId?: string;
133
- resourceType?: string;
134
- quotaCode?: string;
132
+ resourceId?: string | undefined;
133
+ resourceType?: string | undefined;
134
+ quotaCode?: string | undefined;
135
135
  constructor(
136
136
  opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
137
137
  );
@@ -140,7 +140,7 @@ export declare class ThrottlingException extends __BaseException {
140
140
  readonly name: "ThrottlingException";
141
141
  readonly $fault: "client";
142
142
  $retryable: {};
143
- retryAfterSeconds?: number;
143
+ retryAfterSeconds?: number | undefined;
144
144
  constructor(
145
145
  opts: __ExceptionOptionType<ThrottlingException, __BaseException>
146
146
  );
@@ -161,7 +161,7 @@ export declare class ValidationException extends __BaseException {
161
161
  readonly name: "ValidationException";
162
162
  readonly $fault: "client";
163
163
  reason: ValidationExceptionReason | undefined;
164
- fieldList?: ValidationExceptionField[];
164
+ fieldList?: ValidationExceptionField[] | undefined;
165
165
  constructor(
166
166
  opts: __ExceptionOptionType<ValidationException, __BaseException>
167
167
  );
@@ -169,7 +169,7 @@ export declare class ValidationException extends __BaseException {
169
169
  export interface DeleteComputeNodeGroupRequest {
170
170
  clusterIdentifier: string | undefined;
171
171
  computeNodeGroupIdentifier: string | undefined;
172
- clientToken?: string;
172
+ clientToken?: string | undefined;
173
173
  }
174
174
  export interface DeleteComputeNodeGroupResponse {}
175
175
  export interface GetComputeNodeGroupRequest {
@@ -177,12 +177,12 @@ export interface GetComputeNodeGroupRequest {
177
177
  computeNodeGroupIdentifier: string | undefined;
178
178
  }
179
179
  export interface GetComputeNodeGroupResponse {
180
- computeNodeGroup?: ComputeNodeGroup;
180
+ computeNodeGroup?: ComputeNodeGroup | undefined;
181
181
  }
182
182
  export interface ListComputeNodeGroupsRequest {
183
183
  clusterIdentifier: string | undefined;
184
- nextToken?: string;
185
- maxResults?: number;
184
+ nextToken?: string | undefined;
185
+ maxResults?: number | undefined;
186
186
  }
187
187
  export interface ComputeNodeGroupSummary {
188
188
  name: string | undefined;
@@ -195,30 +195,32 @@ export interface ComputeNodeGroupSummary {
195
195
  }
196
196
  export interface ListComputeNodeGroupsResponse {
197
197
  computeNodeGroups: ComputeNodeGroupSummary[] | undefined;
198
- nextToken?: string;
198
+ nextToken?: string | undefined;
199
199
  }
200
200
  export interface UpdateComputeNodeGroupSlurmConfigurationRequest {
201
- slurmCustomSettings?: SlurmCustomSetting[];
201
+ slurmCustomSettings?: SlurmCustomSetting[] | undefined;
202
202
  }
203
203
  export interface UpdateComputeNodeGroupRequest {
204
204
  clusterIdentifier: string | undefined;
205
205
  computeNodeGroupIdentifier: string | undefined;
206
- amiId?: string;
207
- subnetIds?: string[];
208
- customLaunchTemplate?: CustomLaunchTemplate;
209
- purchaseOption?: PurchaseOption;
210
- spotOptions?: SpotOptions;
211
- scalingConfiguration?: ScalingConfigurationRequest;
212
- iamInstanceProfileArn?: string;
213
- slurmConfiguration?: UpdateComputeNodeGroupSlurmConfigurationRequest;
214
- clientToken?: string;
206
+ amiId?: string | undefined;
207
+ subnetIds?: string[] | undefined;
208
+ customLaunchTemplate?: CustomLaunchTemplate | undefined;
209
+ purchaseOption?: PurchaseOption | undefined;
210
+ spotOptions?: SpotOptions | undefined;
211
+ scalingConfiguration?: ScalingConfigurationRequest | undefined;
212
+ iamInstanceProfileArn?: string | undefined;
213
+ slurmConfiguration?:
214
+ | UpdateComputeNodeGroupSlurmConfigurationRequest
215
+ | undefined;
216
+ clientToken?: string | undefined;
215
217
  }
216
218
  export interface UpdateComputeNodeGroupResponse {
217
- computeNodeGroup?: ComputeNodeGroup;
219
+ computeNodeGroup?: ComputeNodeGroup | undefined;
218
220
  }
219
221
  export interface NetworkingRequest {
220
- subnetIds?: string[];
221
- securityGroupIds?: string[];
222
+ subnetIds?: string[] | undefined;
223
+ securityGroupIds?: string[] | undefined;
222
224
  }
223
225
  export declare const SchedulerType: {
224
226
  readonly SLURM: "SLURM";
@@ -235,17 +237,17 @@ export declare const Size: {
235
237
  };
236
238
  export type Size = (typeof Size)[keyof typeof Size];
237
239
  export interface ClusterSlurmConfigurationRequest {
238
- scaleDownIdleTimeInSeconds?: number;
239
- slurmCustomSettings?: SlurmCustomSetting[];
240
+ scaleDownIdleTimeInSeconds?: number | undefined;
241
+ slurmCustomSettings?: SlurmCustomSetting[] | undefined;
240
242
  }
241
243
  export interface CreateClusterRequest {
242
244
  clusterName: string | undefined;
243
245
  scheduler: SchedulerRequest | undefined;
244
246
  size: Size | undefined;
245
247
  networking: NetworkingRequest | undefined;
246
- slurmConfiguration?: ClusterSlurmConfigurationRequest;
247
- clientToken?: string;
248
- tags?: Record<string, string>;
248
+ slurmConfiguration?: ClusterSlurmConfigurationRequest | undefined;
249
+ clientToken?: string | undefined;
250
+ tags?: Record<string, string> | undefined;
249
251
  }
250
252
  export declare const EndpointType: {
251
253
  readonly SLURMCTLD: "SLURMCTLD";
@@ -255,12 +257,12 @@ export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
255
257
  export interface Endpoint {
256
258
  type: EndpointType | undefined;
257
259
  privateIpAddress: string | undefined;
258
- publicIpAddress?: string;
260
+ publicIpAddress?: string | undefined;
259
261
  port: string | undefined;
260
262
  }
261
263
  export interface Networking {
262
- subnetIds?: string[];
263
- securityGroupIds?: string[];
264
+ subnetIds?: string[] | undefined;
265
+ securityGroupIds?: string[] | undefined;
264
266
  }
265
267
  export interface Scheduler {
266
268
  type: SchedulerType | undefined;
@@ -271,9 +273,9 @@ export interface SlurmAuthKey {
271
273
  secretVersion: string | undefined;
272
274
  }
273
275
  export interface ClusterSlurmConfiguration {
274
- scaleDownIdleTimeInSeconds?: number;
275
- slurmCustomSettings?: SlurmCustomSetting[];
276
- authKey?: SlurmAuthKey;
276
+ scaleDownIdleTimeInSeconds?: number | undefined;
277
+ slurmCustomSettings?: SlurmCustomSetting[] | undefined;
278
+ authKey?: SlurmAuthKey | undefined;
277
279
  }
278
280
  export declare const ClusterStatus: {
279
281
  readonly ACTIVE: "ACTIVE";
@@ -294,28 +296,28 @@ export interface Cluster {
294
296
  modifiedAt: Date | undefined;
295
297
  scheduler: Scheduler | undefined;
296
298
  size: Size | undefined;
297
- slurmConfiguration?: ClusterSlurmConfiguration;
299
+ slurmConfiguration?: ClusterSlurmConfiguration | undefined;
298
300
  networking: Networking | undefined;
299
- endpoints?: Endpoint[];
300
- errorInfo?: ErrorInfo[];
301
+ endpoints?: Endpoint[] | undefined;
302
+ errorInfo?: ErrorInfo[] | undefined;
301
303
  }
302
304
  export interface CreateClusterResponse {
303
- cluster?: Cluster;
305
+ cluster?: Cluster | undefined;
304
306
  }
305
307
  export interface DeleteClusterRequest {
306
308
  clusterIdentifier: string | undefined;
307
- clientToken?: string;
309
+ clientToken?: string | undefined;
308
310
  }
309
311
  export interface DeleteClusterResponse {}
310
312
  export interface GetClusterRequest {
311
313
  clusterIdentifier: string | undefined;
312
314
  }
313
315
  export interface GetClusterResponse {
314
- cluster?: Cluster;
316
+ cluster?: Cluster | undefined;
315
317
  }
316
318
  export interface ListClustersRequest {
317
- nextToken?: string;
318
- maxResults?: number;
319
+ nextToken?: string | undefined;
320
+ maxResults?: number | undefined;
319
321
  }
320
322
  export interface ClusterSummary {
321
323
  name: string | undefined;
@@ -327,17 +329,17 @@ export interface ClusterSummary {
327
329
  }
328
330
  export interface ListClustersResponse {
329
331
  clusters: ClusterSummary[] | undefined;
330
- nextToken?: string;
332
+ nextToken?: string | undefined;
331
333
  }
332
334
  export interface ComputeNodeGroupConfiguration {
333
- computeNodeGroupId?: string;
335
+ computeNodeGroupId?: string | undefined;
334
336
  }
335
337
  export interface CreateQueueRequest {
336
338
  clusterIdentifier: string | undefined;
337
339
  queueName: string | undefined;
338
- computeNodeGroupConfigurations?: ComputeNodeGroupConfiguration[];
339
- clientToken?: string;
340
- tags?: Record<string, string>;
340
+ computeNodeGroupConfigurations?: ComputeNodeGroupConfiguration[] | undefined;
341
+ clientToken?: string | undefined;
342
+ tags?: Record<string, string> | undefined;
341
343
  }
342
344
  export declare const QueueStatus: {
343
345
  readonly ACTIVE: "ACTIVE";
@@ -358,15 +360,15 @@ export interface Queue {
358
360
  modifiedAt: Date | undefined;
359
361
  status: QueueStatus | undefined;
360
362
  computeNodeGroupConfigurations: ComputeNodeGroupConfiguration[] | undefined;
361
- errorInfo?: ErrorInfo[];
363
+ errorInfo?: ErrorInfo[] | undefined;
362
364
  }
363
365
  export interface CreateQueueResponse {
364
- queue?: Queue;
366
+ queue?: Queue | undefined;
365
367
  }
366
368
  export interface DeleteQueueRequest {
367
369
  clusterIdentifier: string | undefined;
368
370
  queueIdentifier: string | undefined;
369
- clientToken?: string;
371
+ clientToken?: string | undefined;
370
372
  }
371
373
  export interface DeleteQueueResponse {}
372
374
  export interface GetQueueRequest {
@@ -374,12 +376,12 @@ export interface GetQueueRequest {
374
376
  queueIdentifier: string | undefined;
375
377
  }
376
378
  export interface GetQueueResponse {
377
- queue?: Queue;
379
+ queue?: Queue | undefined;
378
380
  }
379
381
  export interface ListQueuesRequest {
380
382
  clusterIdentifier: string | undefined;
381
- nextToken?: string;
382
- maxResults?: number;
383
+ nextToken?: string | undefined;
384
+ maxResults?: number | undefined;
383
385
  }
384
386
  export interface QueueSummary {
385
387
  name: string | undefined;
@@ -392,16 +394,16 @@ export interface QueueSummary {
392
394
  }
393
395
  export interface ListQueuesResponse {
394
396
  queues: QueueSummary[] | undefined;
395
- nextToken?: string;
397
+ nextToken?: string | undefined;
396
398
  }
397
399
  export interface UpdateQueueRequest {
398
400
  clusterIdentifier: string | undefined;
399
401
  queueIdentifier: string | undefined;
400
- computeNodeGroupConfigurations?: ComputeNodeGroupConfiguration[];
401
- clientToken?: string;
402
+ computeNodeGroupConfigurations?: ComputeNodeGroupConfiguration[] | undefined;
403
+ clientToken?: string | undefined;
402
404
  }
403
405
  export interface UpdateQueueResponse {
404
- queue?: Queue;
406
+ queue?: Queue | undefined;
405
407
  }
406
408
  export interface RegisterComputeNodeGroupInstanceRequest {
407
409
  clusterIdentifier: string | undefined;
@@ -416,7 +418,7 @@ export interface ListTagsForResourceRequest {
416
418
  resourceArn: string | undefined;
417
419
  }
418
420
  export interface ListTagsForResourceResponse {
419
- tags?: Record<string, string>;
421
+ tags?: Record<string, string> | undefined;
420
422
  }
421
423
  export interface TagResourceRequest {
422
424
  resourceArn: string | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-pcs",
3
3
  "description": "AWS SDK for JavaScript Pcs Client for Node.js, Browser and React Native",
4
- "version": "3.687.0",
4
+ "version": "3.691.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -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.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",