aws-sdk-pcs 1.46.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 31780261a75976ad691950463c52220a1524675357eafd0fa209221190f3c360
4
- data.tar.gz: 70e1efb18b7254631f756d4fdeb46c71795f525c11026f14a8fc84b8a53df42b
3
+ metadata.gz: e513cc3ecf5c9fff165a1692bcf4740d3659e501190410479d3ecdcf28449580
4
+ data.tar.gz: 1368aae80110072a84efe94a00bc6d108fe988572059fd90b2fd01d56e179226
5
5
  SHA512:
6
- metadata.gz: b92f84671b2107bddeb935bec3f9f52e9bac5f8e129894d631ff5bbe6da11465376f7e49f1755b8893982bfe5d327bd68bef45f344db5bc213473e1c2b384432
7
- data.tar.gz: 8e101ce01ecbf4a6a7309a1df4961bd7a3b7956dd4020c749a56022c98d697ae576bdfc7032c7a1f5bda5b181993a9672b83ea45246479a258dede9c3b2af83b
6
+ metadata.gz: 89cf8a909670fee9ec198cddfda6bb6fee4eab975808ab272a8275f4cdf9d6e4f83aaa0a3a9e4e3367a939ee177ccf5ec5ff9b2e2ee3986cd01b85b9f6e1bb09
7
+ data.tar.gz: 440c697effcb48fb4abb2ab6bdee030d5de5948e5b27c73b92f180d807606a14c9fafc83c846b97614e3ea3405829d8e7a6c8137644a41562b643ce6b8f92a9d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
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
+
9
+ 1.47.0 (2026-05-21)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
4
14
  1.46.0 (2026-05-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.48.0
@@ -199,7 +199,7 @@ module Aws::PCS
199
199
  # the required types.
200
200
  #
201
201
  # @option options [Boolean] :correct_clock_skew (true)
202
- # Used only in `standard` and adaptive retry modes. Specifies whether to apply
202
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
203
203
  # a clock skew correction and retry requests with skewed client clocks.
204
204
  #
205
205
  # @option options [String] :defaults_mode ("legacy")
@@ -323,17 +323,15 @@ module Aws::PCS
323
323
  # @option options [String] :retry_mode ("legacy")
324
324
  # Specifies which retry algorithm to use. Values are:
325
325
  #
326
- # * `legacy` - The pre-existing retry behavior. This is default value if
327
- # no retry mode is provided.
326
+ # * `legacy` - The pre-existing retry behavior. This is the default
327
+ # value if no retry mode is provided.
328
328
  #
329
329
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
330
330
  # This includes support for retry quotas, which limit the number of
331
331
  # unsuccessful retries a client can make.
332
332
  #
333
- # * `adaptive` - An experimental retry mode that includes all the
334
- # functionality of `standard` mode along with automatic client side
335
- # throttling. This is a provisional mode that may change behavior
336
- # in the future.
333
+ # * `adaptive` - A retry mode that includes all the functionality of
334
+ # `standard` mode along with automatic client side throttling.
337
335
  #
338
336
  # @option options [String] :sdk_ua_app_id
339
337
  # A unique and opaque application ID that is appended to the
@@ -769,6 +767,7 @@ module Aws::PCS
769
767
  # allocation_strategy: "lowest-price", # accepts lowest-price, capacity-optimized, price-capacity-optimized
770
768
  # },
771
769
  # slurm_configuration: {
770
+ # scale_down_idle_time_in_seconds: 1,
772
771
  # slurm_custom_settings: [
773
772
  # {
774
773
  # parameter_name: "String", # required
@@ -803,6 +802,7 @@ module Aws::PCS
803
802
  # resp.compute_node_group.instance_configs #=> Array
804
803
  # resp.compute_node_group.instance_configs[0].instance_type #=> String
805
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
806
806
  # resp.compute_node_group.slurm_configuration.slurm_custom_settings #=> Array
807
807
  # resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
808
808
  # resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
@@ -1136,6 +1136,7 @@ module Aws::PCS
1136
1136
  # resp.compute_node_group.instance_configs #=> Array
1137
1137
  # resp.compute_node_group.instance_configs[0].instance_type #=> String
1138
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
1139
1140
  # resp.compute_node_group.slurm_configuration.slurm_custom_settings #=> Array
1140
1141
  # resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
1141
1142
  # resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
@@ -1717,6 +1718,7 @@ module Aws::PCS
1717
1718
  # },
1718
1719
  # iam_instance_profile_arn: "InstanceProfileArn",
1719
1720
  # slurm_configuration: {
1721
+ # scale_down_idle_time_in_seconds: 1,
1720
1722
  # slurm_custom_settings: [
1721
1723
  # {
1722
1724
  # parameter_name: "String", # required
@@ -1748,6 +1750,7 @@ module Aws::PCS
1748
1750
  # resp.compute_node_group.instance_configs #=> Array
1749
1751
  # resp.compute_node_group.instance_configs[0].instance_type #=> String
1750
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
1751
1754
  # resp.compute_node_group.slurm_configuration.slurm_custom_settings #=> Array
1752
1755
  # resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
1753
1756
  # resp.compute_node_group.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
@@ -1862,7 +1865,7 @@ module Aws::PCS
1862
1865
  tracer: tracer
1863
1866
  )
1864
1867
  context[:gem_name] = 'aws-sdk-pcs'
1865
- context[:gem_version] = '1.46.0'
1868
+ context[:gem_version] = '1.48.0'
1866
1869
  Seahorse::Client::Request.new(handlers, context)
1867
1870
  end
1868
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
 
@@ -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
@@ -55,7 +55,7 @@ module Aws::PCS
55
55
  autoload :EndpointProvider, 'aws-sdk-pcs/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-pcs/endpoints'
57
57
 
58
- GEM_VERSION = '1.46.0'
58
+ GEM_VERSION = '1.48.0'
59
59
 
60
60
  end
61
61
 
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
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.46.0
4
+ version: 1.48.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.247.0
21
+ version: 3.248.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.247.0
31
+ version: 3.248.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement