aws-sdk-pcs 1.28.0 → 1.30.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pcs/client.rb +40 -46
- data/lib/aws-sdk-pcs/types.rb +42 -46
- data/lib/aws-sdk-pcs.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a46ec0218d755c6ebd6ba546924a7cd464c1a8fc4dae3b0949ce27915ba07390
|
4
|
+
data.tar.gz: c621f450e1de8bb651ca300dc9430961f04c53303bafd541e293948e7300210a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 923b96f6264d4c5ba7351cbc0c676e9859f7d3d3927e1b63385dfd9ec55c773a0ec0a14a2d5d82259f2261cf3f5c49d8fae04e312daaeea6539dcb174ecc055e
|
7
|
+
data.tar.gz: 732586973258d5cd7f374f9fb291e47c41f7894f7b4bb7b32750054c16c1bf1c695a9f1e57e8ae2dccc2f1dd92887ea516dc878f9e23d0967dd7ce46eb30edda
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.30.0 (2025-09-05)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Documentation-only update to add AccountingStorageEnforce to SlurmCustomSetting.
|
8
|
+
|
9
|
+
1.29.0 (2025-08-28)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Remove incorrect endpoint tests
|
13
|
+
|
4
14
|
1.28.0 (2025-08-26)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.30.0
|
data/lib/aws-sdk-pcs/client.rb
CHANGED
@@ -483,16 +483,15 @@ module Aws::PCS
|
|
483
483
|
|
484
484
|
# @!group API Operations
|
485
485
|
|
486
|
-
# Creates a cluster in your account.
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
# per Amazon Web Services account. `CreateCluster` fails with a
|
486
|
+
# Creates a cluster in your account. PCS creates the cluster controller
|
487
|
+
# in a service-owned account. The cluster controller communicates with
|
488
|
+
# the cluster resources in your account. The subnets and security groups
|
489
|
+
# for the cluster must already exist before you use this API action.
|
490
|
+
#
|
491
|
+
# <note markdown="1"> It takes time for PCS to create the cluster. The cluster is in a
|
492
|
+
# `Creating` state until it is ready to use. There can only be 1 cluster
|
493
|
+
# in a `Creating` state per Amazon Web Services Region per Amazon Web
|
494
|
+
# Services account. `CreateCluster` fails with a
|
496
495
|
# `ServiceQuotaExceededException` if there is already a cluster in a
|
497
496
|
# `Creating` state.
|
498
497
|
#
|
@@ -619,17 +618,16 @@ module Aws::PCS
|
|
619
618
|
end
|
620
619
|
|
621
620
|
# Creates a managed set of compute nodes. You associate a compute node
|
622
|
-
# group with a cluster through 1 or more
|
623
|
-
#
|
624
|
-
#
|
625
|
-
#
|
626
|
-
#
|
627
|
-
#
|
628
|
-
#
|
629
|
-
#
|
630
|
-
#
|
631
|
-
#
|
632
|
-
# Instances*.
|
621
|
+
# group with a cluster through 1 or more PCS queues or as part of the
|
622
|
+
# login fleet. A compute node group includes the definition of the
|
623
|
+
# compute properties and lifecycle management. PCS uses the information
|
624
|
+
# you provide to this API action to launch compute nodes in your
|
625
|
+
# account. You can only specify subnets in the same Amazon VPC as your
|
626
|
+
# cluster. You receive billing charges for the compute nodes that PCS
|
627
|
+
# launches in your account. You must already have a launch template
|
628
|
+
# before you call this API. For more information, see [Launch an
|
629
|
+
# instance from a launch template][1] in the *Amazon Elastic Compute
|
630
|
+
# Cloud User Guide for Linux Instances*.
|
633
631
|
#
|
634
632
|
#
|
635
633
|
#
|
@@ -642,10 +640,9 @@ module Aws::PCS
|
|
642
640
|
# A name to identify the cluster. Example: `MyCluster`
|
643
641
|
#
|
644
642
|
# @option params [String] :ami_id
|
645
|
-
# The ID of the Amazon Machine Image (AMI) that
|
646
|
-
#
|
647
|
-
#
|
648
|
-
# in the custom launch template.
|
643
|
+
# The ID of the Amazon Machine Image (AMI) that PCS uses to launch
|
644
|
+
# compute nodes (Amazon EC2 instances). If you don't provide this
|
645
|
+
# value, PCS uses the AMI ID specified in the custom launch template.
|
649
646
|
#
|
650
647
|
# @option params [required, Array<String>] :subnet_ids
|
651
648
|
# The list of subnet IDs where the compute node group launches
|
@@ -663,8 +660,7 @@ module Aws::PCS
|
|
663
660
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
|
664
661
|
#
|
665
662
|
# @option params [required, Types::CustomLaunchTemplate] :custom_launch_template
|
666
|
-
# An Amazon EC2 launch template
|
667
|
-
# compute nodes.
|
663
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
668
664
|
#
|
669
665
|
# @option params [required, String] :iam_instance_profile_arn
|
670
666
|
# The Amazon Resource Name (ARN) of the IAM instance profile used to
|
@@ -941,8 +937,8 @@ module Aws::PCS
|
|
941
937
|
end
|
942
938
|
|
943
939
|
# Deletes a job queue. If the compute node group associated with this
|
944
|
-
# queue isn't associated with any other queues,
|
945
|
-
#
|
940
|
+
# queue isn't associated with any other queues, PCS terminates all the
|
941
|
+
# compute nodes for this queue.
|
946
942
|
#
|
947
943
|
# @option params [required, String] :cluster_identifier
|
948
944
|
# The name or ID of the cluster of the queue.
|
@@ -1303,7 +1299,7 @@ module Aws::PCS
|
|
1303
1299
|
req.send_request(options)
|
1304
1300
|
end
|
1305
1301
|
|
1306
|
-
# Returns a list of all tags on an
|
1302
|
+
# Returns a list of all tags on an PCS resource.
|
1307
1303
|
#
|
1308
1304
|
# @option params [required, String] :resource_arn
|
1309
1305
|
# The Amazon Resource Name (ARN) of the resource for which to list tags.
|
@@ -1334,8 +1330,8 @@ module Aws::PCS
|
|
1334
1330
|
|
1335
1331
|
# This API action isn't intended for you to use.
|
1336
1332
|
#
|
1337
|
-
#
|
1338
|
-
#
|
1333
|
+
# PCS uses this API action to register the compute nodes it launches in
|
1334
|
+
# your account.
|
1339
1335
|
#
|
1340
1336
|
# @option params [required, String] :cluster_identifier
|
1341
1337
|
# The name or ID of the cluster to register the compute node group
|
@@ -1377,11 +1373,11 @@ module Aws::PCS
|
|
1377
1373
|
req.send_request(options)
|
1378
1374
|
end
|
1379
1375
|
|
1380
|
-
# Adds or edits tags on an
|
1381
|
-
#
|
1382
|
-
#
|
1383
|
-
#
|
1384
|
-
#
|
1376
|
+
# Adds or edits tags on an PCS resource. Each tag consists of a tag key
|
1377
|
+
# and a tag value. The tag key and tag value are case-sensitive strings.
|
1378
|
+
# The tag value can be an empty (null) string. To add a tag, specify a
|
1379
|
+
# new tag key and a tag value. To edit a tag, specify an existing tag
|
1380
|
+
# key and a new tag value.
|
1385
1381
|
#
|
1386
1382
|
# @option params [required, String] :resource_arn
|
1387
1383
|
# The Amazon Resource Name (ARN) of the resource.
|
@@ -1410,9 +1406,8 @@ module Aws::PCS
|
|
1410
1406
|
req.send_request(options)
|
1411
1407
|
end
|
1412
1408
|
|
1413
|
-
# Deletes tags from an
|
1414
|
-
#
|
1415
|
-
# Amazon Web Services PCS resource.
|
1409
|
+
# Deletes tags from an PCS resource. To delete a tag, specify the tag
|
1410
|
+
# key and the Amazon Resource Name (ARN) of the PCS resource.
|
1416
1411
|
#
|
1417
1412
|
# @option params [required, String] :resource_arn
|
1418
1413
|
# The Amazon Resource Name (ARN) of the resource.
|
@@ -1451,17 +1446,16 @@ module Aws::PCS
|
|
1451
1446
|
# The name or ID of the compute node group.
|
1452
1447
|
#
|
1453
1448
|
# @option params [String] :ami_id
|
1454
|
-
# The ID of the Amazon Machine Image (AMI) that
|
1455
|
-
#
|
1456
|
-
#
|
1449
|
+
# The ID of the Amazon Machine Image (AMI) that PCS uses to launch
|
1450
|
+
# instances. If not provided, PCS uses the AMI ID specified in the
|
1451
|
+
# custom launch template.
|
1457
1452
|
#
|
1458
1453
|
# @option params [Array<String>] :subnet_ids
|
1459
1454
|
# The list of subnet IDs where the compute node group provisions
|
1460
1455
|
# instances. The subnets must be in the same VPC as the cluster.
|
1461
1456
|
#
|
1462
1457
|
# @option params [Types::CustomLaunchTemplate] :custom_launch_template
|
1463
|
-
# An Amazon EC2 launch template
|
1464
|
-
# compute nodes.
|
1458
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
1465
1459
|
#
|
1466
1460
|
# @option params [String] :purchase_option
|
1467
1461
|
# Specifies how EC2 instances are purchased on your behalf. Amazon Web
|
@@ -1665,7 +1659,7 @@ module Aws::PCS
|
|
1665
1659
|
tracer: tracer
|
1666
1660
|
)
|
1667
1661
|
context[:gem_name] = 'aws-sdk-pcs'
|
1668
|
-
context[:gem_version] = '1.
|
1662
|
+
context[:gem_version] = '1.30.0'
|
1669
1663
|
Seahorse::Client::Request.new(handlers, context)
|
1670
1664
|
end
|
1671
1665
|
|
data/lib/aws-sdk-pcs/types.rb
CHANGED
@@ -366,9 +366,9 @@ module Aws::PCS
|
|
366
366
|
# @return [String]
|
367
367
|
#
|
368
368
|
# @!attribute [rw] ami_id
|
369
|
-
# The ID of the Amazon Machine Image (AMI) that
|
370
|
-
#
|
371
|
-
#
|
369
|
+
# The ID of the Amazon Machine Image (AMI) that PCS uses to launch
|
370
|
+
# instances. If not provided, PCS uses the AMI ID specified in the
|
371
|
+
# custom launch template.
|
372
372
|
# @return [String]
|
373
373
|
#
|
374
374
|
# @!attribute [rw] subnet_ids
|
@@ -390,8 +390,7 @@ module Aws::PCS
|
|
390
390
|
# @return [String]
|
391
391
|
#
|
392
392
|
# @!attribute [rw] custom_launch_template
|
393
|
-
# An Amazon EC2 launch template
|
394
|
-
# compute nodes.
|
393
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
395
394
|
# @return [Types::CustomLaunchTemplate]
|
396
395
|
#
|
397
396
|
# @!attribute [rw] iam_instance_profile_arn
|
@@ -681,10 +680,9 @@ module Aws::PCS
|
|
681
680
|
# @return [String]
|
682
681
|
#
|
683
682
|
# @!attribute [rw] ami_id
|
684
|
-
# The ID of the Amazon Machine Image (AMI) that
|
685
|
-
#
|
686
|
-
#
|
687
|
-
# specified in the custom launch template.
|
683
|
+
# The ID of the Amazon Machine Image (AMI) that PCS uses to launch
|
684
|
+
# compute nodes (Amazon EC2 instances). If you don't provide this
|
685
|
+
# value, PCS uses the AMI ID specified in the custom launch template.
|
688
686
|
# @return [String]
|
689
687
|
#
|
690
688
|
# @!attribute [rw] subnet_ids
|
@@ -705,8 +703,7 @@ module Aws::PCS
|
|
705
703
|
# @return [String]
|
706
704
|
#
|
707
705
|
# @!attribute [rw] custom_launch_template
|
708
|
-
# An Amazon EC2 launch template
|
709
|
-
# compute nodes.
|
706
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
710
707
|
# @return [Types::CustomLaunchTemplate]
|
711
708
|
#
|
712
709
|
# @!attribute [rw] iam_instance_profile_arn
|
@@ -846,8 +843,7 @@ module Aws::PCS
|
|
846
843
|
include Aws::Structure
|
847
844
|
end
|
848
845
|
|
849
|
-
# An Amazon EC2 launch template
|
850
|
-
# compute nodes.
|
846
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
851
847
|
#
|
852
848
|
# @!attribute [rw] id
|
853
849
|
# The ID of the EC2 launch template to use to provision instances.
|
@@ -1115,12 +1111,11 @@ module Aws::PCS
|
|
1115
1111
|
include Aws::Structure
|
1116
1112
|
end
|
1117
1113
|
|
1118
|
-
# An EC2 instance configuration
|
1119
|
-
# compute nodes.
|
1114
|
+
# An EC2 instance configuration PCS uses to launch compute nodes.
|
1120
1115
|
#
|
1121
1116
|
# @!attribute [rw] instance_type
|
1122
|
-
# The EC2 instance type that
|
1123
|
-
#
|
1117
|
+
# The EC2 instance type that PCS can provision in the compute node
|
1118
|
+
# group.
|
1124
1119
|
#
|
1125
1120
|
# Example: `t2.xlarge`
|
1126
1121
|
# @return [String]
|
@@ -1133,8 +1128,7 @@ module Aws::PCS
|
|
1133
1128
|
include Aws::Structure
|
1134
1129
|
end
|
1135
1130
|
|
1136
|
-
#
|
1137
|
-
# again later.
|
1131
|
+
# PCS can't process your request right now. Try again later.
|
1138
1132
|
#
|
1139
1133
|
# @!attribute [rw] message
|
1140
1134
|
# @return [String]
|
@@ -1327,11 +1321,11 @@ module Aws::PCS
|
|
1327
1321
|
# The networking configuration for the cluster's control plane.
|
1328
1322
|
#
|
1329
1323
|
# @!attribute [rw] subnet_ids
|
1330
|
-
# The ID of the subnet where
|
1331
|
-
#
|
1332
|
-
#
|
1333
|
-
#
|
1334
|
-
#
|
1324
|
+
# The ID of the subnet where PCS creates an Elastic Network Interface
|
1325
|
+
# (ENI) to enable communication between managed controllers and PCS
|
1326
|
+
# resources. The subnet must have an available IP address, cannot
|
1327
|
+
# reside in Outposts, Wavelength, or an Amazon Web Services Local
|
1328
|
+
# Zone.
|
1335
1329
|
#
|
1336
1330
|
# Example: `subnet-abcd1234`
|
1337
1331
|
# @return [Array<String>]
|
@@ -1664,15 +1658,13 @@ module Aws::PCS
|
|
1664
1658
|
# cluster.
|
1665
1659
|
#
|
1666
1660
|
# @!attribute [rw] type
|
1667
|
-
# The software
|
1668
|
-
# and job scheduling.
|
1661
|
+
# The software PCS uses to manage cluster scaling and job scheduling.
|
1669
1662
|
# @return [String]
|
1670
1663
|
#
|
1671
1664
|
# @!attribute [rw] version
|
1672
|
-
# The version of the specified scheduling software that
|
1673
|
-
#
|
1674
|
-
#
|
1675
|
-
# in the *Amazon Web Services PCS User Guide*.
|
1665
|
+
# The version of the specified scheduling software that PCS uses to
|
1666
|
+
# manage cluster scaling and job scheduling. For more information, see
|
1667
|
+
# [Slurm versions in PCS][1] in the *PCS User Guide*.
|
1676
1668
|
#
|
1677
1669
|
# Valid Values: `23.11 | 24.05 | 24.11`
|
1678
1670
|
#
|
@@ -1694,15 +1686,13 @@ module Aws::PCS
|
|
1694
1686
|
# cluster.
|
1695
1687
|
#
|
1696
1688
|
# @!attribute [rw] type
|
1697
|
-
# The software
|
1698
|
-
# and job scheduling.
|
1689
|
+
# The software PCS uses to manage cluster scaling and job scheduling.
|
1699
1690
|
# @return [String]
|
1700
1691
|
#
|
1701
1692
|
# @!attribute [rw] version
|
1702
|
-
# The version of the specified scheduling software that
|
1703
|
-
#
|
1704
|
-
#
|
1705
|
-
# in the *Amazon Web Services PCS User Guide*.
|
1693
|
+
# The version of the specified scheduling software that PCS uses to
|
1694
|
+
# manage cluster scaling and job scheduling. For more information, see
|
1695
|
+
# [Slurm versions in PCS][1] in the *PCS User Guide*.
|
1706
1696
|
#
|
1707
1697
|
# Valid Values: `23.11 | 24.05 | 24.11`
|
1708
1698
|
#
|
@@ -1797,8 +1787,7 @@ module Aws::PCS
|
|
1797
1787
|
# Additional settings that directly map to Slurm settings.
|
1798
1788
|
#
|
1799
1789
|
# @!attribute [rw] parameter_name
|
1800
|
-
#
|
1801
|
-
# Slurm parameters:
|
1790
|
+
# PCS supports configuration of the following Slurm parameters:
|
1802
1791
|
#
|
1803
1792
|
# * For **clusters**
|
1804
1793
|
#
|
@@ -1807,18 +1796,26 @@ module Aws::PCS
|
|
1807
1796
|
# * [ `Epilog` ][2]
|
1808
1797
|
#
|
1809
1798
|
# * [ `SelectTypeParameters` ][3]
|
1799
|
+
#
|
1800
|
+
# * [ `AccountingStorageEnforce` ][4]
|
1801
|
+
#
|
1802
|
+
# PCS supports a subset of the options for
|
1803
|
+
# `AccountingStorageEnforce`. For more information, see [Slurm
|
1804
|
+
# accounting in PCS][5] in the *PCS User Guide*.
|
1810
1805
|
# * For **compute node groups**
|
1811
1806
|
#
|
1812
|
-
# * [ `Weight` ][
|
1807
|
+
# * [ `Weight` ][6]
|
1813
1808
|
#
|
1814
|
-
# * [ `RealMemory` ][
|
1809
|
+
# * [ `RealMemory` ][6]
|
1815
1810
|
#
|
1816
1811
|
#
|
1817
1812
|
#
|
1818
1813
|
# [1]: https://slurm.schedmd.com/slurm.conf.html#OPT_Prolog_1
|
1819
1814
|
# [2]: https://slurm.schedmd.com/slurm.conf.html#OPT_Epilog_1
|
1820
1815
|
# [3]: https://slurm.schedmd.com/slurm.conf.html#OPT_SelectTypeParameters
|
1821
|
-
# [4]: https://slurm.schedmd.com/slurm.conf.html#
|
1816
|
+
# [4]: https://slurm.schedmd.com/slurm.conf.html#OPT_AccountingStorageEnforce
|
1817
|
+
# [5]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-accounting.html
|
1818
|
+
# [6]: https://slurm.schedmd.com/slurm.conf.html#OPT_Weight
|
1822
1819
|
# @return [String]
|
1823
1820
|
#
|
1824
1821
|
# @!attribute [rw] parameter_value
|
@@ -1923,9 +1920,9 @@ module Aws::PCS
|
|
1923
1920
|
# @return [String]
|
1924
1921
|
#
|
1925
1922
|
# @!attribute [rw] ami_id
|
1926
|
-
# The ID of the Amazon Machine Image (AMI) that
|
1927
|
-
#
|
1928
|
-
#
|
1923
|
+
# The ID of the Amazon Machine Image (AMI) that PCS uses to launch
|
1924
|
+
# instances. If not provided, PCS uses the AMI ID specified in the
|
1925
|
+
# custom launch template.
|
1929
1926
|
# @return [String]
|
1930
1927
|
#
|
1931
1928
|
# @!attribute [rw] subnet_ids
|
@@ -1934,8 +1931,7 @@ module Aws::PCS
|
|
1934
1931
|
# @return [Array<String>]
|
1935
1932
|
#
|
1936
1933
|
# @!attribute [rw] custom_launch_template
|
1937
|
-
# An Amazon EC2 launch template
|
1938
|
-
# compute nodes.
|
1934
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
1939
1935
|
# @return [Types::CustomLaunchTemplate]
|
1940
1936
|
#
|
1941
1937
|
# @!attribute [rw] purchase_option
|
data/lib/aws-sdk-pcs.rb
CHANGED