aws-sdk-pcs 1.49.0 → 1.50.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: 3179521fc44d7cbd5d9103b38bcaff664fbc0fa025d092ed35aa37dbe5f889e9
4
- data.tar.gz: a7bfbb5bc815acee210722e1d5cba82b074538756b7cd2008081b97ee3e9a0e5
3
+ metadata.gz: 8f6da1d5ffea0ae0affe335c126ccb7c05d6460d1185d2be662a383a884e7b6f
4
+ data.tar.gz: 7a7062f3a3a4b523c051119e29486d7ff32b2e6642e45963ccc67de41a3edbd2
5
5
  SHA512:
6
- metadata.gz: 97a394166b579f197734464ab479fa87436c87a3620c6f0d1089ec2e267e9b2952205ec89d480c95a8a8d972b15b9306b585aaab0969acfd57c44a17ed030f4a
7
- data.tar.gz: afec6b5a0d99015833e7e3bc7e8affe5a87d959fe04ed8a3d6afd4b398c1e90c048ec139e26b0116c750518fa3dd557623fa99134dfd3313439829f95af4f634
6
+ metadata.gz: 871b9960ec72be021fe0334ea472510a6038e286c298c19780c333b9a570833a22b3daf1f7f2bf869859aaea8de7fdab70f7d4b15acc5e33bd31d190d185ce38
7
+ data.tar.gz: 40e65bc3bc3b9acc9136f597fd13bc98fdd611c007e9f7b9d5c22d88ff87eed2a9bb317fbfa088f61d0713fc576430decc5b0d182b66157e9c0d9b6c0d45e36f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2026-06-29)
5
+ ------------------
6
+
7
+ * Feature - Add support for in-place Slurm version upgrades on existing clusters by accepting scheduler.version in UpdateCluster.
8
+
4
9
  1.49.0 (2026-05-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.50.0
@@ -1495,9 +1495,11 @@ module Aws::PCS
1495
1495
  req.send_request(options)
1496
1496
  end
1497
1497
 
1498
- # Updates a cluster configuration. You can modify Slurm scheduler
1499
- # settings, accounting configuration, and security groups for an
1500
- # existing cluster.
1498
+ # Updates a cluster configuration. You can upgrade the Slurm version,
1499
+ # modify scheduler settings, and update accounting configuration for an
1500
+ # existing cluster. For more information about upgrading the Slurm
1501
+ # version, see [Upgrading the Slurm version on a cluster][1] in the *PCS
1502
+ # User Guide*.
1501
1503
  #
1502
1504
  # <note markdown="1"> You can only update clusters that are in `ACTIVE`, `UPDATE_FAILED`, or
1503
1505
  # `SUSPENDED` state. All associated resources (queues and compute node
@@ -1505,6 +1507,10 @@ module Aws::PCS
1505
1507
  #
1506
1508
  # </note>
1507
1509
  #
1510
+ #
1511
+ #
1512
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_upgrade.html
1513
+ #
1508
1514
  # @option params [required, String] :cluster_identifier
1509
1515
  # The name or ID of the cluster to update.
1510
1516
  #
@@ -1523,6 +1529,15 @@ module Aws::PCS
1523
1529
  # @option params [Types::UpdateClusterSlurmConfigurationRequest] :slurm_configuration
1524
1530
  # Additional options related to the Slurm scheduler.
1525
1531
  #
1532
+ # @option params [Types::UpdateSchedulerRequest] :scheduler
1533
+ # The scheduler configuration to update for the cluster. Use this to
1534
+ # upgrade the Slurm version. For more information, see [Upgrading the
1535
+ # Slurm version on a cluster][1] in the *PCS User Guide*.
1536
+ #
1537
+ #
1538
+ #
1539
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_upgrade.html
1540
+ #
1526
1541
  # @return [Types::UpdateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1527
1542
  #
1528
1543
  # * {Types::UpdateClusterResponse#cluster #cluster} => Types::Cluster
@@ -1560,6 +1575,9 @@ module Aws::PCS
1560
1575
  # mode: "STANDARD", # accepts STANDARD, NONE
1561
1576
  # },
1562
1577
  # },
1578
+ # scheduler: {
1579
+ # version: "String", # required
1580
+ # },
1563
1581
  # })
1564
1582
  #
1565
1583
  # @example Response structure
@@ -1865,7 +1883,7 @@ module Aws::PCS
1865
1883
  tracer: tracer
1866
1884
  )
1867
1885
  context[:gem_name] = 'aws-sdk-pcs'
1868
- context[:gem_version] = '1.49.0'
1886
+ context[:gem_version] = '1.50.0'
1869
1887
  Seahorse::Client::Request.new(handlers, context)
1870
1888
  end
1871
1889
 
@@ -156,6 +156,7 @@ module Aws::PCS
156
156
  UpdateQueueRequest = Shapes::StructureShape.new(name: 'UpdateQueueRequest')
157
157
  UpdateQueueResponse = Shapes::StructureShape.new(name: 'UpdateQueueResponse')
158
158
  UpdateQueueSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateQueueSlurmConfigurationRequest')
159
+ UpdateSchedulerRequest = Shapes::StructureShape.new(name: 'UpdateSchedulerRequest')
159
160
  UpdateSlurmRestRequest = Shapes::StructureShape.new(name: 'UpdateSlurmRestRequest')
160
161
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
161
162
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
@@ -554,6 +555,7 @@ module Aws::PCS
554
555
  UpdateClusterRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
555
556
  UpdateClusterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
556
557
  UpdateClusterRequest.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: UpdateClusterSlurmConfigurationRequest, location_name: "slurmConfiguration"))
558
+ UpdateClusterRequest.add_member(:scheduler, Shapes::ShapeRef.new(shape: UpdateSchedulerRequest, location_name: "scheduler"))
557
559
  UpdateClusterRequest.struct_class = Types::UpdateClusterRequest
558
560
 
559
561
  UpdateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
@@ -600,6 +602,9 @@ module Aws::PCS
600
602
  UpdateQueueSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
601
603
  UpdateQueueSlurmConfigurationRequest.struct_class = Types::UpdateQueueSlurmConfigurationRequest
602
604
 
605
+ UpdateSchedulerRequest.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
606
+ UpdateSchedulerRequest.struct_class = Types::UpdateSchedulerRequest
607
+
603
608
  UpdateSlurmRestRequest.add_member(:mode, Shapes::ShapeRef.new(shape: SlurmRestMode, location_name: "mode"))
604
609
  UpdateSlurmRestRequest.struct_class = Types::UpdateSlurmRestRequest
605
610
 
@@ -1850,14 +1850,17 @@ module Aws::PCS
1850
1850
  #
1851
1851
  # @!attribute [rw] version
1852
1852
  # The version of the specified scheduling software that PCS uses to
1853
- # manage cluster scaling and job scheduling. For more information, see
1854
- # [Slurm versions in PCS][1] in the *PCS User Guide*.
1853
+ # manage cluster scaling and job scheduling. You can upgrade this
1854
+ # version using the `UpdateCluster` API action. For more information,
1855
+ # see [Upgrading the Slurm version on a cluster][1] and [Slurm
1856
+ # versions in PCS][2] in the *PCS User Guide*.
1855
1857
  #
1856
1858
  # Valid Values: `23.11 | 24.05 | 24.11 | 25.05 | 25.11`
1857
1859
  #
1858
1860
  #
1859
1861
  #
1860
- # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html
1862
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_upgrade.html
1863
+ # [2]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions.html
1861
1864
  # @return [String]
1862
1865
  #
1863
1866
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/Scheduler AWS API Documentation
@@ -2213,12 +2216,23 @@ module Aws::PCS
2213
2216
  # Additional options related to the Slurm scheduler.
2214
2217
  # @return [Types::UpdateClusterSlurmConfigurationRequest]
2215
2218
  #
2219
+ # @!attribute [rw] scheduler
2220
+ # The scheduler configuration to update for the cluster. Use this to
2221
+ # upgrade the Slurm version. For more information, see [Upgrading the
2222
+ # Slurm version on a cluster][1] in the *PCS User Guide*.
2223
+ #
2224
+ #
2225
+ #
2226
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_upgrade.html
2227
+ # @return [Types::UpdateSchedulerRequest]
2228
+ #
2216
2229
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateClusterRequest AWS API Documentation
2217
2230
  #
2218
2231
  class UpdateClusterRequest < Struct.new(
2219
2232
  :cluster_identifier,
2220
2233
  :client_token,
2221
- :slurm_configuration)
2234
+ :slurm_configuration,
2235
+ :scheduler)
2222
2236
  SENSITIVE = []
2223
2237
  include Aws::Structure
2224
2238
  end
@@ -2489,6 +2503,30 @@ module Aws::PCS
2489
2503
  include Aws::Structure
2490
2504
  end
2491
2505
 
2506
+ # The scheduler configuration for updating a cluster. Use this to
2507
+ # specify the Slurm version to upgrade to.
2508
+ #
2509
+ # @!attribute [rw] version
2510
+ # The Slurm version to upgrade the cluster to. You can only upgrade to
2511
+ # a newer version. For more information about supported versions and
2512
+ # upgrade paths, see [Upgrading the Slurm version on a cluster][1] in
2513
+ # the *PCS User Guide*.
2514
+ #
2515
+ # Valid Values: `24.05 | 24.11 | 25.05 | 25.11`
2516
+ #
2517
+ #
2518
+ #
2519
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/working-with_clusters_upgrade.html
2520
+ # @return [String]
2521
+ #
2522
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateSchedulerRequest AWS API Documentation
2523
+ #
2524
+ class UpdateSchedulerRequest < Struct.new(
2525
+ :version)
2526
+ SENSITIVE = []
2527
+ include Aws::Structure
2528
+ end
2529
+
2492
2530
  # The Slurm REST API configuration includes settings for enabling and
2493
2531
  # configuring the Slurm REST API.
2494
2532
  #
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.49.0'
58
+ GEM_VERSION = '1.50.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -377,6 +377,9 @@ module Aws
377
377
  slurm_rest: {
378
378
  mode: ("STANDARD" | "NONE")?
379
379
  }?
380
+ },
381
+ ?scheduler: {
382
+ version: ::String
380
383
  }
381
384
  ) -> _UpdateClusterResponseSuccess
382
385
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterResponseSuccess
data/sig/types.rbs CHANGED
@@ -508,6 +508,7 @@ module Aws::PCS
508
508
  attr_accessor cluster_identifier: ::String
509
509
  attr_accessor client_token: ::String
510
510
  attr_accessor slurm_configuration: Types::UpdateClusterSlurmConfigurationRequest
511
+ attr_accessor scheduler: Types::UpdateSchedulerRequest
511
512
  SENSITIVE: []
512
513
  end
513
514
 
@@ -571,6 +572,11 @@ module Aws::PCS
571
572
  SENSITIVE: []
572
573
  end
573
574
 
575
+ class UpdateSchedulerRequest
576
+ attr_accessor version: ::String
577
+ SENSITIVE: []
578
+ end
579
+
574
580
  class UpdateSlurmRestRequest
575
581
  attr_accessor mode: ("STANDARD" | "NONE")
576
582
  SENSITIVE: []
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.49.0
4
+ version: 1.50.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services