aws-sdk-pcs 1.52.0 → 1.53.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pcs/client.rb +20 -1
- data/lib/aws-sdk-pcs/client_api.rb +10 -0
- data/lib/aws-sdk-pcs/types.rb +33 -6
- data/lib/aws-sdk-pcs.rb +1 -1
- data/sig/client.rbs +6 -0
- data/sig/types.rbs +3 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 07fd1626be8b4a97b36dca7ce7733962692b8107bcc11c076d20cad68d572223
|
|
4
|
+
data.tar.gz: dd6348718e4d2b5665a1081828f431c34fbc4be0277c3a176c26aa2381f988ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8695ccbfb095e300e08816edcc6466bcb48e82945398dd594c58a53f42b1f423d47d694cb33c8b35b11c96abd54348ae623f8d059ed632e31df9bd42d9756a58
|
|
7
|
+
data.tar.gz: faa377d92675f4973da7daa7b2881426d3786516ba2d3742e626e839816f91e30a031caaca70665fb478ba2ba88f55ab4e2ce1990755de44a77d7351c9c761ed
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.53.0 (2026-09-09)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for custom Gres.conf configuration and Slurm version 26.05 in AWS PCS. Customers can now specify generic resource (GRES) settings to control how GPUs and other resources are configured and shared on their compute node groups.
|
|
8
|
+
|
|
4
9
|
1.52.0 (2026-07-22)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.53.0
|
data/lib/aws-sdk-pcs/client.rb
CHANGED
|
@@ -780,6 +780,11 @@ module Aws::PCS
|
|
|
780
780
|
# parameter_value: "String", # required
|
|
781
781
|
# },
|
|
782
782
|
# ],
|
|
783
|
+
# gres_custom_settings: [
|
|
784
|
+
# {
|
|
785
|
+
# "String" => "String",
|
|
786
|
+
# },
|
|
787
|
+
# ],
|
|
783
788
|
# },
|
|
784
789
|
# node_lifecycle_actions: {
|
|
785
790
|
# stages: { # required
|
|
@@ -843,6 +848,9 @@ module Aws::PCS
|
|
|
843
848
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings #=> Array
|
|
844
849
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
|
|
845
850
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
|
|
851
|
+
# resp.compute_node_group.slurm_configuration.gres_custom_settings #=> Array
|
|
852
|
+
# resp.compute_node_group.slurm_configuration.gres_custom_settings[0] #=> Hash
|
|
853
|
+
# resp.compute_node_group.slurm_configuration.gres_custom_settings[0]["String"] #=> String
|
|
846
854
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_bootstrapped #=> Array
|
|
847
855
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_bootstrapped[0].name #=> String
|
|
848
856
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_bootstrapped[0].script_source.script_location #=> String
|
|
@@ -1196,6 +1204,9 @@ module Aws::PCS
|
|
|
1196
1204
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings #=> Array
|
|
1197
1205
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
|
|
1198
1206
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
|
|
1207
|
+
# resp.compute_node_group.slurm_configuration.gres_custom_settings #=> Array
|
|
1208
|
+
# resp.compute_node_group.slurm_configuration.gres_custom_settings[0] #=> Hash
|
|
1209
|
+
# resp.compute_node_group.slurm_configuration.gres_custom_settings[0]["String"] #=> String
|
|
1199
1210
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_bootstrapped #=> Array
|
|
1200
1211
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_bootstrapped[0].name #=> String
|
|
1201
1212
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_bootstrapped[0].script_source.script_location #=> String
|
|
@@ -1850,6 +1861,11 @@ module Aws::PCS
|
|
|
1850
1861
|
# parameter_value: "String", # required
|
|
1851
1862
|
# },
|
|
1852
1863
|
# ],
|
|
1864
|
+
# gres_custom_settings: [
|
|
1865
|
+
# {
|
|
1866
|
+
# "String" => "String",
|
|
1867
|
+
# },
|
|
1868
|
+
# ],
|
|
1853
1869
|
# },
|
|
1854
1870
|
# node_lifecycle_actions: {
|
|
1855
1871
|
# stages: { # required
|
|
@@ -1910,6 +1926,9 @@ module Aws::PCS
|
|
|
1910
1926
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings #=> Array
|
|
1911
1927
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
|
|
1912
1928
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
|
|
1929
|
+
# resp.compute_node_group.slurm_configuration.gres_custom_settings #=> Array
|
|
1930
|
+
# resp.compute_node_group.slurm_configuration.gres_custom_settings[0] #=> Hash
|
|
1931
|
+
# resp.compute_node_group.slurm_configuration.gres_custom_settings[0]["String"] #=> String
|
|
1913
1932
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_bootstrapped #=> Array
|
|
1914
1933
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_bootstrapped[0].name #=> String
|
|
1915
1934
|
# resp.compute_node_group.node_lifecycle_actions.stages.node_bootstrapped[0].script_source.script_location #=> String
|
|
@@ -2040,7 +2059,7 @@ module Aws::PCS
|
|
|
2040
2059
|
tracer: tracer
|
|
2041
2060
|
)
|
|
2042
2061
|
context[:gem_name] = 'aws-sdk-pcs'
|
|
2043
|
-
context[:gem_version] = '1.
|
|
2062
|
+
context[:gem_version] = '1.53.0'
|
|
2044
2063
|
Seahorse::Client::Request.new(handlers, context)
|
|
2045
2064
|
end
|
|
2046
2065
|
|
|
@@ -73,6 +73,8 @@ module Aws::PCS
|
|
|
73
73
|
GetComputeNodeGroupResponse = Shapes::StructureShape.new(name: 'GetComputeNodeGroupResponse')
|
|
74
74
|
GetQueueRequest = Shapes::StructureShape.new(name: 'GetQueueRequest')
|
|
75
75
|
GetQueueResponse = Shapes::StructureShape.new(name: 'GetQueueResponse')
|
|
76
|
+
GresCustomSettingMap = Shapes::MapShape.new(name: 'GresCustomSettingMap')
|
|
77
|
+
GresCustomSettings = Shapes::ListShape.new(name: 'GresCustomSettings')
|
|
76
78
|
InstanceConfig = Shapes::StructureShape.new(name: 'InstanceConfig')
|
|
77
79
|
InstanceList = Shapes::ListShape.new(name: 'InstanceList')
|
|
78
80
|
InstanceProfileArn = Shapes::StringShape.new(name: 'InstanceProfileArn')
|
|
@@ -267,10 +269,12 @@ module Aws::PCS
|
|
|
267
269
|
|
|
268
270
|
ComputeNodeGroupSlurmConfiguration.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ComputeNodeGroupSlurmConfigurationScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
|
|
269
271
|
ComputeNodeGroupSlurmConfiguration.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
272
|
+
ComputeNodeGroupSlurmConfiguration.add_member(:gres_custom_settings, Shapes::ShapeRef.new(shape: GresCustomSettings, location_name: "gresCustomSettings"))
|
|
270
273
|
ComputeNodeGroupSlurmConfiguration.struct_class = Types::ComputeNodeGroupSlurmConfiguration
|
|
271
274
|
|
|
272
275
|
ComputeNodeGroupSlurmConfigurationRequest.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ComputeNodeGroupSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
|
|
273
276
|
ComputeNodeGroupSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
277
|
+
ComputeNodeGroupSlurmConfigurationRequest.add_member(:gres_custom_settings, Shapes::ShapeRef.new(shape: GresCustomSettings, location_name: "gresCustomSettings"))
|
|
274
278
|
ComputeNodeGroupSlurmConfigurationRequest.struct_class = Types::ComputeNodeGroupSlurmConfigurationRequest
|
|
275
279
|
|
|
276
280
|
ComputeNodeGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: ComputeNodeGroupName, required: true, location_name: "name"))
|
|
@@ -388,6 +392,11 @@ module Aws::PCS
|
|
|
388
392
|
GetQueueResponse.add_member(:queue, Shapes::ShapeRef.new(shape: Queue, location_name: "queue"))
|
|
389
393
|
GetQueueResponse.struct_class = Types::GetQueueResponse
|
|
390
394
|
|
|
395
|
+
GresCustomSettingMap.key = Shapes::ShapeRef.new(shape: String)
|
|
396
|
+
GresCustomSettingMap.value = Shapes::ShapeRef.new(shape: String)
|
|
397
|
+
|
|
398
|
+
GresCustomSettings.member = Shapes::ShapeRef.new(shape: GresCustomSettingMap)
|
|
399
|
+
|
|
391
400
|
InstanceConfig.add_member(:instance_type, Shapes::ShapeRef.new(shape: String, location_name: "instanceType"))
|
|
392
401
|
InstanceConfig.struct_class = Types::InstanceConfig
|
|
393
402
|
|
|
@@ -638,6 +647,7 @@ module Aws::PCS
|
|
|
638
647
|
|
|
639
648
|
UpdateComputeNodeGroupSlurmConfigurationRequest.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: UpdateComputeNodeGroupSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
|
|
640
649
|
UpdateComputeNodeGroupSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
650
|
+
UpdateComputeNodeGroupSlurmConfigurationRequest.add_member(:gres_custom_settings, Shapes::ShapeRef.new(shape: GresCustomSettings, location_name: "gresCustomSettings"))
|
|
641
651
|
UpdateComputeNodeGroupSlurmConfigurationRequest.struct_class = Types::UpdateComputeNodeGroupSlurmConfigurationRequest
|
|
642
652
|
|
|
643
653
|
UpdateNodeLifecycleActionsRequest.add_member(:stages, Shapes::ShapeRef.new(shape: NodeLifecycleStages, required: true, location_name: "stages"))
|
data/lib/aws-sdk-pcs/types.rb
CHANGED
|
@@ -574,11 +574,20 @@ module Aws::PCS
|
|
|
574
574
|
# settings.
|
|
575
575
|
# @return [Array<Types::SlurmCustomSetting>]
|
|
576
576
|
#
|
|
577
|
+
# @!attribute [rw] gres_custom_settings
|
|
578
|
+
# The additional Slurm `gres.conf` records for the compute node group.
|
|
579
|
+
# Each item is a map of `gres.conf` attribute names to values that
|
|
580
|
+
# describes one `gres.conf` record, such as a GPU topology, MIG, MPS,
|
|
581
|
+
# or custom GRES entry. PCS adds the `NodeName=` prefix and merges
|
|
582
|
+
# these records with the GPU record it derives from the instance type.
|
|
583
|
+
# @return [Array<Hash<String,String>>]
|
|
584
|
+
#
|
|
577
585
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ComputeNodeGroupSlurmConfiguration AWS API Documentation
|
|
578
586
|
#
|
|
579
587
|
class ComputeNodeGroupSlurmConfiguration < Struct.new(
|
|
580
588
|
:scale_down_idle_time_in_seconds,
|
|
581
|
-
:slurm_custom_settings
|
|
589
|
+
:slurm_custom_settings,
|
|
590
|
+
:gres_custom_settings)
|
|
582
591
|
SENSITIVE = []
|
|
583
592
|
include Aws::Structure
|
|
584
593
|
end
|
|
@@ -598,11 +607,20 @@ module Aws::PCS
|
|
|
598
607
|
# settings.
|
|
599
608
|
# @return [Array<Types::SlurmCustomSetting>]
|
|
600
609
|
#
|
|
610
|
+
# @!attribute [rw] gres_custom_settings
|
|
611
|
+
# The additional Slurm `gres.conf` records for the compute node group.
|
|
612
|
+
# Each item is a map of `gres.conf` attribute names to values that
|
|
613
|
+
# describes one `gres.conf` record, such as a GPU topology, MIG, MPS,
|
|
614
|
+
# or custom GRES entry. PCS adds the `NodeName=` prefix and merges
|
|
615
|
+
# these records with the GPU record it derives from the instance type.
|
|
616
|
+
# @return [Array<Hash<String,String>>]
|
|
617
|
+
#
|
|
601
618
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ComputeNodeGroupSlurmConfigurationRequest AWS API Documentation
|
|
602
619
|
#
|
|
603
620
|
class ComputeNodeGroupSlurmConfigurationRequest < Struct.new(
|
|
604
621
|
:scale_down_idle_time_in_seconds,
|
|
605
|
-
:slurm_custom_settings
|
|
622
|
+
:slurm_custom_settings,
|
|
623
|
+
:gres_custom_settings)
|
|
606
624
|
SENSITIVE = []
|
|
607
625
|
include Aws::Structure
|
|
608
626
|
end
|
|
@@ -2030,7 +2048,7 @@ module Aws::PCS
|
|
|
2030
2048
|
# see [Updating the scheduler version on a cluster][1] and [Slurm
|
|
2031
2049
|
# versions in PCS][2] in the *PCS User Guide*.
|
|
2032
2050
|
#
|
|
2033
|
-
# Valid Values: `23.11 | 24.05 | 24.11 | 25.05 | 25.11`
|
|
2051
|
+
# Valid Values: `23.11 | 24.05 | 24.11 | 25.05 | 25.11 | 26.05`
|
|
2034
2052
|
#
|
|
2035
2053
|
#
|
|
2036
2054
|
#
|
|
@@ -2059,7 +2077,7 @@ module Aws::PCS
|
|
|
2059
2077
|
# manage cluster scaling and job scheduling. For more information, see
|
|
2060
2078
|
# [Slurm versions in PCS][1] in the *PCS User Guide*.
|
|
2061
2079
|
#
|
|
2062
|
-
# Valid Values: `24.11 | 25.05 | 25.11`
|
|
2080
|
+
# Valid Values: `24.11 | 25.05 | 25.11 | 26.05`
|
|
2063
2081
|
#
|
|
2064
2082
|
#
|
|
2065
2083
|
#
|
|
@@ -2638,11 +2656,20 @@ module Aws::PCS
|
|
|
2638
2656
|
# settings.
|
|
2639
2657
|
# @return [Array<Types::SlurmCustomSetting>]
|
|
2640
2658
|
#
|
|
2659
|
+
# @!attribute [rw] gres_custom_settings
|
|
2660
|
+
# The additional Slurm `gres.conf` records for the compute node group.
|
|
2661
|
+
# Each item is a map of `gres.conf` attribute names to values that
|
|
2662
|
+
# describes one `gres.conf` record, such as a GPU topology, MIG, MPS,
|
|
2663
|
+
# or custom GRES entry. PCS adds the `NodeName=` prefix and merges
|
|
2664
|
+
# these records with the GPU record it derives from the instance type.
|
|
2665
|
+
# @return [Array<Hash<String,String>>]
|
|
2666
|
+
#
|
|
2641
2667
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateComputeNodeGroupSlurmConfigurationRequest AWS API Documentation
|
|
2642
2668
|
#
|
|
2643
2669
|
class UpdateComputeNodeGroupSlurmConfigurationRequest < Struct.new(
|
|
2644
2670
|
:scale_down_idle_time_in_seconds,
|
|
2645
|
-
:slurm_custom_settings
|
|
2671
|
+
:slurm_custom_settings,
|
|
2672
|
+
:gres_custom_settings)
|
|
2646
2673
|
SENSITIVE = []
|
|
2647
2674
|
include Aws::Structure
|
|
2648
2675
|
end
|
|
@@ -2752,7 +2779,7 @@ module Aws::PCS
|
|
|
2752
2779
|
# and update paths, see [Updating the scheduler version on a
|
|
2753
2780
|
# cluster][1] in the *PCS User Guide*.
|
|
2754
2781
|
#
|
|
2755
|
-
# Valid Values: `24.05 | 24.11 | 25.05 | 25.11`
|
|
2782
|
+
# Valid Values: `24.05 | 24.11 | 25.05 | 25.11 | 26.05`
|
|
2756
2783
|
#
|
|
2757
2784
|
#
|
|
2758
2785
|
#
|
data/lib/aws-sdk-pcs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -164,6 +164,9 @@ module Aws
|
|
|
164
164
|
parameter_name: ::String,
|
|
165
165
|
parameter_value: ::String
|
|
166
166
|
}
|
|
167
|
+
]?,
|
|
168
|
+
gres_custom_settings: Array[
|
|
169
|
+
Hash[::String, ::String]
|
|
167
170
|
]?
|
|
168
171
|
},
|
|
169
172
|
?node_lifecycle_actions: {
|
|
@@ -422,6 +425,9 @@ module Aws
|
|
|
422
425
|
parameter_name: ::String,
|
|
423
426
|
parameter_value: ::String
|
|
424
427
|
}
|
|
428
|
+
]?,
|
|
429
|
+
gres_custom_settings: Array[
|
|
430
|
+
Hash[::String, ::String]
|
|
425
431
|
]?
|
|
426
432
|
},
|
|
427
433
|
?node_lifecycle_actions: {
|
data/sig/types.rbs
CHANGED
|
@@ -109,12 +109,14 @@ module Aws::PCS
|
|
|
109
109
|
class ComputeNodeGroupSlurmConfiguration
|
|
110
110
|
attr_accessor scale_down_idle_time_in_seconds: ::Integer
|
|
111
111
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
112
|
+
attr_accessor gres_custom_settings: ::Array[::Hash[::String, ::String]]
|
|
112
113
|
SENSITIVE: []
|
|
113
114
|
end
|
|
114
115
|
|
|
115
116
|
class ComputeNodeGroupSlurmConfigurationRequest
|
|
116
117
|
attr_accessor scale_down_idle_time_in_seconds: ::Integer
|
|
117
118
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
119
|
+
attr_accessor gres_custom_settings: ::Array[::Hash[::String, ::String]]
|
|
118
120
|
SENSITIVE: []
|
|
119
121
|
end
|
|
120
122
|
|
|
@@ -591,6 +593,7 @@ module Aws::PCS
|
|
|
591
593
|
class UpdateComputeNodeGroupSlurmConfigurationRequest
|
|
592
594
|
attr_accessor scale_down_idle_time_in_seconds: ::Integer
|
|
593
595
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
596
|
+
attr_accessor gres_custom_settings: ::Array[::Hash[::String, ::String]]
|
|
594
597
|
SENSITIVE: []
|
|
595
598
|
end
|
|
596
599
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-pcs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.53.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.255.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.255.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|