aws-sdk-pcs 1.47.0 → 1.48.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 +6 -1
- data/lib/aws-sdk-pcs/client_api.rb +6 -0
- data/lib/aws-sdk-pcs/types.rb +27 -0
- data/lib/aws-sdk-pcs.rb +1 -1
- data/sig/client.rbs +2 -0
- data/sig/types.rbs +3 -0
- 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: e513cc3ecf5c9fff165a1692bcf4740d3659e501190410479d3ecdcf28449580
|
|
4
|
+
data.tar.gz: 1368aae80110072a84efe94a00bc6d108fe988572059fd90b2fd01d56e179226
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89cf8a909670fee9ec198cddfda6bb6fee4eab975808ab272a8275f4cdf9d6e4f83aaa0a3a9e4e3367a939ee177ccf5ec5ff9b2e2ee3986cd01b85b9f6e1bb09
|
|
7
|
+
data.tar.gz: 440c697effcb48fb4abb2ab6bdee030d5de5948e5b27c73b92f180d807606a14c9fafc83c846b97614e3ea3405829d8e7a6c8137644a41562b643ce6b8f92a9d
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.48.0 (2026-05-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for configuring scaleDownIdleTimeInSeconds at the compute node group level, allowing customers to set different idle timeouts per node group. Previously this setting was only available at the cluster level.
|
|
8
|
+
|
|
4
9
|
1.47.0 (2026-05-21)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.48.0
|
data/lib/aws-sdk-pcs/client.rb
CHANGED
|
@@ -767,6 +767,7 @@ module Aws::PCS
|
|
|
767
767
|
# allocation_strategy: "lowest-price", # accepts lowest-price, capacity-optimized, price-capacity-optimized
|
|
768
768
|
# },
|
|
769
769
|
# slurm_configuration: {
|
|
770
|
+
# scale_down_idle_time_in_seconds: 1,
|
|
770
771
|
# slurm_custom_settings: [
|
|
771
772
|
# {
|
|
772
773
|
# parameter_name: "String", # required
|
|
@@ -801,6 +802,7 @@ module Aws::PCS
|
|
|
801
802
|
# resp.compute_node_group.instance_configs #=> Array
|
|
802
803
|
# resp.compute_node_group.instance_configs[0].instance_type #=> String
|
|
803
804
|
# resp.compute_node_group.spot_options.allocation_strategy #=> String, one of "lowest-price", "capacity-optimized", "price-capacity-optimized"
|
|
805
|
+
# resp.compute_node_group.slurm_configuration.scale_down_idle_time_in_seconds #=> Integer
|
|
804
806
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings #=> Array
|
|
805
807
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
|
|
806
808
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
|
|
@@ -1134,6 +1136,7 @@ module Aws::PCS
|
|
|
1134
1136
|
# resp.compute_node_group.instance_configs #=> Array
|
|
1135
1137
|
# resp.compute_node_group.instance_configs[0].instance_type #=> String
|
|
1136
1138
|
# resp.compute_node_group.spot_options.allocation_strategy #=> String, one of "lowest-price", "capacity-optimized", "price-capacity-optimized"
|
|
1139
|
+
# resp.compute_node_group.slurm_configuration.scale_down_idle_time_in_seconds #=> Integer
|
|
1137
1140
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings #=> Array
|
|
1138
1141
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
|
|
1139
1142
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
|
|
@@ -1715,6 +1718,7 @@ module Aws::PCS
|
|
|
1715
1718
|
# },
|
|
1716
1719
|
# iam_instance_profile_arn: "InstanceProfileArn",
|
|
1717
1720
|
# slurm_configuration: {
|
|
1721
|
+
# scale_down_idle_time_in_seconds: 1,
|
|
1718
1722
|
# slurm_custom_settings: [
|
|
1719
1723
|
# {
|
|
1720
1724
|
# parameter_name: "String", # required
|
|
@@ -1746,6 +1750,7 @@ module Aws::PCS
|
|
|
1746
1750
|
# resp.compute_node_group.instance_configs #=> Array
|
|
1747
1751
|
# resp.compute_node_group.instance_configs[0].instance_type #=> String
|
|
1748
1752
|
# resp.compute_node_group.spot_options.allocation_strategy #=> String, one of "lowest-price", "capacity-optimized", "price-capacity-optimized"
|
|
1753
|
+
# resp.compute_node_group.slurm_configuration.scale_down_idle_time_in_seconds #=> Integer
|
|
1749
1754
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings #=> Array
|
|
1750
1755
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
|
|
1751
1756
|
# resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
|
|
@@ -1860,7 +1865,7 @@ module Aws::PCS
|
|
|
1860
1865
|
tracer: tracer
|
|
1861
1866
|
)
|
|
1862
1867
|
context[:gem_name] = 'aws-sdk-pcs'
|
|
1863
|
-
context[:gem_version] = '1.
|
|
1868
|
+
context[:gem_version] = '1.48.0'
|
|
1864
1869
|
Seahorse::Client::Request.new(handlers, context)
|
|
1865
1870
|
end
|
|
1866
1871
|
|
|
@@ -43,6 +43,8 @@ module Aws::PCS
|
|
|
43
43
|
ComputeNodeGroupName = Shapes::StringShape.new(name: 'ComputeNodeGroupName')
|
|
44
44
|
ComputeNodeGroupSlurmConfiguration = Shapes::StructureShape.new(name: 'ComputeNodeGroupSlurmConfiguration')
|
|
45
45
|
ComputeNodeGroupSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'ComputeNodeGroupSlurmConfigurationRequest')
|
|
46
|
+
ComputeNodeGroupSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger = Shapes::IntegerShape.new(name: 'ComputeNodeGroupSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger')
|
|
47
|
+
ComputeNodeGroupSlurmConfigurationScaleDownIdleTimeInSecondsInteger = Shapes::IntegerShape.new(name: 'ComputeNodeGroupSlurmConfigurationScaleDownIdleTimeInSecondsInteger')
|
|
46
48
|
ComputeNodeGroupStatus = Shapes::StringShape.new(name: 'ComputeNodeGroupStatus')
|
|
47
49
|
ComputeNodeGroupSummary = Shapes::StructureShape.new(name: 'ComputeNodeGroupSummary')
|
|
48
50
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
|
@@ -150,6 +152,7 @@ module Aws::PCS
|
|
|
150
152
|
UpdateComputeNodeGroupRequest = Shapes::StructureShape.new(name: 'UpdateComputeNodeGroupRequest')
|
|
151
153
|
UpdateComputeNodeGroupResponse = Shapes::StructureShape.new(name: 'UpdateComputeNodeGroupResponse')
|
|
152
154
|
UpdateComputeNodeGroupSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateComputeNodeGroupSlurmConfigurationRequest')
|
|
155
|
+
UpdateComputeNodeGroupSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger = Shapes::IntegerShape.new(name: 'UpdateComputeNodeGroupSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger')
|
|
153
156
|
UpdateQueueRequest = Shapes::StructureShape.new(name: 'UpdateQueueRequest')
|
|
154
157
|
UpdateQueueResponse = Shapes::StructureShape.new(name: 'UpdateQueueResponse')
|
|
155
158
|
UpdateQueueSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateQueueSlurmConfigurationRequest')
|
|
@@ -244,9 +247,11 @@ module Aws::PCS
|
|
|
244
247
|
|
|
245
248
|
ComputeNodeGroupList.member = Shapes::ShapeRef.new(shape: ComputeNodeGroupSummary)
|
|
246
249
|
|
|
250
|
+
ComputeNodeGroupSlurmConfiguration.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ComputeNodeGroupSlurmConfigurationScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
|
|
247
251
|
ComputeNodeGroupSlurmConfiguration.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
248
252
|
ComputeNodeGroupSlurmConfiguration.struct_class = Types::ComputeNodeGroupSlurmConfiguration
|
|
249
253
|
|
|
254
|
+
ComputeNodeGroupSlurmConfigurationRequest.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ComputeNodeGroupSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
|
|
250
255
|
ComputeNodeGroupSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
251
256
|
ComputeNodeGroupSlurmConfigurationRequest.struct_class = Types::ComputeNodeGroupSlurmConfigurationRequest
|
|
252
257
|
|
|
@@ -578,6 +583,7 @@ module Aws::PCS
|
|
|
578
583
|
UpdateComputeNodeGroupResponse.add_member(:compute_node_group, Shapes::ShapeRef.new(shape: ComputeNodeGroup, location_name: "computeNodeGroup"))
|
|
579
584
|
UpdateComputeNodeGroupResponse.struct_class = Types::UpdateComputeNodeGroupResponse
|
|
580
585
|
|
|
586
|
+
UpdateComputeNodeGroupSlurmConfigurationRequest.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: UpdateComputeNodeGroupSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
|
|
581
587
|
UpdateComputeNodeGroupSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
582
588
|
UpdateComputeNodeGroupSlurmConfigurationRequest.struct_class = Types::UpdateComputeNodeGroupSlurmConfigurationRequest
|
|
583
589
|
|
data/lib/aws-sdk-pcs/types.rb
CHANGED
|
@@ -553,6 +553,14 @@ module Aws::PCS
|
|
|
553
553
|
|
|
554
554
|
# Additional options related to the Slurm scheduler.
|
|
555
555
|
#
|
|
556
|
+
# @!attribute [rw] scale_down_idle_time_in_seconds
|
|
557
|
+
# The time (in seconds) before an idle node is scaled down. If not
|
|
558
|
+
# specified, the cluster-level setting applies. This overrides the
|
|
559
|
+
# cluster-level `scaleDownIdleTimeInSeconds` setting. A value of `-1`
|
|
560
|
+
# removes the override and applies the cluster-level setting to this
|
|
561
|
+
# compute node group. Requires Slurm version 25.11 or later.
|
|
562
|
+
# @return [Integer]
|
|
563
|
+
#
|
|
556
564
|
# @!attribute [rw] slurm_custom_settings
|
|
557
565
|
# Additional Slurm-specific configuration that directly maps to Slurm
|
|
558
566
|
# settings.
|
|
@@ -561,6 +569,7 @@ module Aws::PCS
|
|
|
561
569
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ComputeNodeGroupSlurmConfiguration AWS API Documentation
|
|
562
570
|
#
|
|
563
571
|
class ComputeNodeGroupSlurmConfiguration < Struct.new(
|
|
572
|
+
:scale_down_idle_time_in_seconds,
|
|
564
573
|
:slurm_custom_settings)
|
|
565
574
|
SENSITIVE = []
|
|
566
575
|
include Aws::Structure
|
|
@@ -568,6 +577,14 @@ module Aws::PCS
|
|
|
568
577
|
|
|
569
578
|
# Additional options related to the Slurm scheduler.
|
|
570
579
|
#
|
|
580
|
+
# @!attribute [rw] scale_down_idle_time_in_seconds
|
|
581
|
+
# The time (in seconds) before an idle node is scaled down. If not
|
|
582
|
+
# specified, the cluster-level setting applies. This overrides the
|
|
583
|
+
# cluster-level `scaleDownIdleTimeInSeconds` setting. A value of `-1`
|
|
584
|
+
# removes the override and applies the cluster-level setting to this
|
|
585
|
+
# compute node group. Requires Slurm version 25.11 or later.
|
|
586
|
+
# @return [Integer]
|
|
587
|
+
#
|
|
571
588
|
# @!attribute [rw] slurm_custom_settings
|
|
572
589
|
# Additional Slurm-specific configuration that directly maps to Slurm
|
|
573
590
|
# settings.
|
|
@@ -576,6 +593,7 @@ module Aws::PCS
|
|
|
576
593
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ComputeNodeGroupSlurmConfigurationRequest AWS API Documentation
|
|
577
594
|
#
|
|
578
595
|
class ComputeNodeGroupSlurmConfigurationRequest < Struct.new(
|
|
596
|
+
:scale_down_idle_time_in_seconds,
|
|
579
597
|
:slurm_custom_settings)
|
|
580
598
|
SENSITIVE = []
|
|
581
599
|
include Aws::Structure
|
|
@@ -2380,6 +2398,14 @@ module Aws::PCS
|
|
|
2380
2398
|
|
|
2381
2399
|
# Additional options related to the Slurm scheduler.
|
|
2382
2400
|
#
|
|
2401
|
+
# @!attribute [rw] scale_down_idle_time_in_seconds
|
|
2402
|
+
# The time (in seconds) before an idle node is scaled down. If not
|
|
2403
|
+
# specified, the cluster-level setting applies. This overrides the
|
|
2404
|
+
# cluster-level `scaleDownIdleTimeInSeconds` setting. A value of `-1`
|
|
2405
|
+
# removes the override and applies the cluster-level setting to this
|
|
2406
|
+
# compute node group. Requires Slurm version 25.11 or later.
|
|
2407
|
+
# @return [Integer]
|
|
2408
|
+
#
|
|
2383
2409
|
# @!attribute [rw] slurm_custom_settings
|
|
2384
2410
|
# Additional Slurm-specific configuration that directly maps to Slurm
|
|
2385
2411
|
# settings.
|
|
@@ -2388,6 +2414,7 @@ module Aws::PCS
|
|
|
2388
2414
|
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateComputeNodeGroupSlurmConfigurationRequest AWS API Documentation
|
|
2389
2415
|
#
|
|
2390
2416
|
class UpdateComputeNodeGroupSlurmConfigurationRequest < Struct.new(
|
|
2417
|
+
:scale_down_idle_time_in_seconds,
|
|
2391
2418
|
:slurm_custom_settings)
|
|
2392
2419
|
SENSITIVE = []
|
|
2393
2420
|
include Aws::Structure
|
data/lib/aws-sdk-pcs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -158,6 +158,7 @@ module Aws
|
|
|
158
158
|
allocation_strategy: ("lowest-price" | "capacity-optimized" | "price-capacity-optimized")?
|
|
159
159
|
},
|
|
160
160
|
?slurm_configuration: {
|
|
161
|
+
scale_down_idle_time_in_seconds: ::Integer?,
|
|
161
162
|
slurm_custom_settings: Array[
|
|
162
163
|
{
|
|
163
164
|
parameter_name: ::String,
|
|
@@ -404,6 +405,7 @@ module Aws
|
|
|
404
405
|
},
|
|
405
406
|
?iam_instance_profile_arn: ::String,
|
|
406
407
|
?slurm_configuration: {
|
|
408
|
+
scale_down_idle_time_in_seconds: ::Integer?,
|
|
407
409
|
slurm_custom_settings: Array[
|
|
408
410
|
{
|
|
409
411
|
parameter_name: ::String,
|
data/sig/types.rbs
CHANGED
|
@@ -106,11 +106,13 @@ module Aws::PCS
|
|
|
106
106
|
end
|
|
107
107
|
|
|
108
108
|
class ComputeNodeGroupSlurmConfiguration
|
|
109
|
+
attr_accessor scale_down_idle_time_in_seconds: ::Integer
|
|
109
110
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
110
111
|
SENSITIVE: []
|
|
111
112
|
end
|
|
112
113
|
|
|
113
114
|
class ComputeNodeGroupSlurmConfigurationRequest
|
|
115
|
+
attr_accessor scale_down_idle_time_in_seconds: ::Integer
|
|
114
116
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
115
117
|
SENSITIVE: []
|
|
116
118
|
end
|
|
@@ -545,6 +547,7 @@ module Aws::PCS
|
|
|
545
547
|
end
|
|
546
548
|
|
|
547
549
|
class UpdateComputeNodeGroupSlurmConfigurationRequest
|
|
550
|
+
attr_accessor scale_down_idle_time_in_seconds: ::Integer
|
|
548
551
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
549
552
|
SENSITIVE: []
|
|
550
553
|
end
|