aws-sdk-pcs 1.31.0 → 1.32.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: 2a1facd6e9552c3fb0e0076d3471431e18d3456a7a6efd633f7ac0c724ac063b
4
- data.tar.gz: ad76a9b3631e5476bb0f9a9129ee35f6dee997a497f915b6ef5a0ca136bd6b39
3
+ metadata.gz: 986cfc50541593fb883079c1ceabea6e62ccbc94607a73c8f55a7474c594112c
4
+ data.tar.gz: efec1f7e2db7ec68548ae6578a1b1e1a1ac97afa6dbe85f54bcbcd6e15ad91f7
5
5
  SHA512:
6
- metadata.gz: 3163b755b1f1f67fb5748f7f120447549cab3f36af73a5a5a9be0f3c6d2d54cb92dc5cdb73acdaeea7300448f5e217871408a1dd121ede5f077eb590fb67a4be
7
- data.tar.gz: 393b83de90aeef14403df4afc927c4978c262b3b315321d726ce2fa0aa82afa20b32c0329d736a588af2a06134b32d60be65c6a38dd4b63ecfae59adecfa2d22
6
+ metadata.gz: 4ecc19711d91ec2d3dcb6291e5e2a791471b4b83bd3c58b1c2d4f3c4fea961bc15a1c97a8f3982088b7d1c21a9f4aead7ae1cd2aa45d7d0d10230afc8b54ba76
7
+ data.tar.gz: 8b9b7757a09c7bc0e3248a3d83e677c636fe61cd4f62d292fe2a1afbe5685d7546c9858b680b99cbb7d821cf3e04411b111527b82a6c25e51e86f650f5ac1213
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.32.0 (2025-10-01)
5
+ ------------------
6
+
7
+ * Feature - Added the UpdateCluster API action to modify cluster configurations, and Slurm custom settings for queues.
8
+
4
9
  1.31.0 (2025-09-17)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.31.0
1
+ 1.32.0
@@ -564,8 +564,8 @@ module Aws::PCS
564
564
  # },
565
565
  # ],
566
566
  # accounting: {
567
- # mode: "STANDARD", # required, accepts STANDARD, NONE
568
567
  # default_purge_time_in_days: 1,
568
+ # mode: "STANDARD", # required, accepts STANDARD, NONE
569
569
  # },
570
570
  # },
571
571
  # client_token: "SBClientToken",
@@ -591,8 +591,8 @@ module Aws::PCS
591
591
  # resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
592
592
  # resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
593
593
  # resp.cluster.slurm_configuration.auth_key.secret_version #=> String
594
- # resp.cluster.slurm_configuration.accounting.mode #=> String, one of "STANDARD", "NONE"
595
594
  # resp.cluster.slurm_configuration.accounting.default_purge_time_in_days #=> Integer
595
+ # resp.cluster.slurm_configuration.accounting.mode #=> String, one of "STANDARD", "NONE"
596
596
  # resp.cluster.networking.subnet_ids #=> Array
597
597
  # resp.cluster.networking.subnet_ids[0] #=> String
598
598
  # resp.cluster.networking.security_group_ids #=> Array
@@ -802,6 +802,9 @@ module Aws::PCS
802
802
  # The list of compute node group configurations to associate with the
803
803
  # queue. Queues assign jobs to associated compute node groups.
804
804
  #
805
+ # @option params [Types::QueueSlurmConfigurationRequest] :slurm_configuration
806
+ # Additional options related to the Slurm scheduler.
807
+ #
805
808
  # @option params [String] :client_token
806
809
  # A unique, case-sensitive identifier that you provide to ensure the
807
810
  # idempotency of the request. Idempotency ensures that an API request
@@ -832,6 +835,14 @@ module Aws::PCS
832
835
  # compute_node_group_id: "String",
833
836
  # },
834
837
  # ],
838
+ # slurm_configuration: {
839
+ # slurm_custom_settings: [
840
+ # {
841
+ # parameter_name: "String", # required
842
+ # parameter_value: "String", # required
843
+ # },
844
+ # ],
845
+ # },
835
846
  # client_token: "SBClientToken",
836
847
  # tags: {
837
848
  # "TagKey" => "TagValue",
@@ -849,6 +860,9 @@ module Aws::PCS
849
860
  # resp.queue.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "SUSPENDING", "SUSPENDED"
850
861
  # resp.queue.compute_node_group_configurations #=> Array
851
862
  # resp.queue.compute_node_group_configurations[0].compute_node_group_id #=> String
863
+ # resp.queue.slurm_configuration.slurm_custom_settings #=> Array
864
+ # resp.queue.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
865
+ # resp.queue.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
852
866
  # resp.queue.error_info #=> Array
853
867
  # resp.queue.error_info[0].code #=> String
854
868
  # resp.queue.error_info[0].message #=> String
@@ -985,7 +999,7 @@ module Aws::PCS
985
999
  # for communication with the scheduler, and provisioning status.
986
1000
  #
987
1001
  # @option params [required, String] :cluster_identifier
988
- # The name or ID of the cluster of the queue.
1002
+ # The name or ID of the cluster.
989
1003
  #
990
1004
  # @return [Types::GetClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
991
1005
  #
@@ -1014,8 +1028,8 @@ module Aws::PCS
1014
1028
  # resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
1015
1029
  # resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
1016
1030
  # resp.cluster.slurm_configuration.auth_key.secret_version #=> String
1017
- # resp.cluster.slurm_configuration.accounting.mode #=> String, one of "STANDARD", "NONE"
1018
1031
  # resp.cluster.slurm_configuration.accounting.default_purge_time_in_days #=> Integer
1032
+ # resp.cluster.slurm_configuration.accounting.mode #=> String, one of "STANDARD", "NONE"
1019
1033
  # resp.cluster.networking.subnet_ids #=> Array
1020
1034
  # resp.cluster.networking.subnet_ids[0] #=> String
1021
1035
  # resp.cluster.networking.security_group_ids #=> Array
@@ -1129,6 +1143,9 @@ module Aws::PCS
1129
1143
  # resp.queue.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "SUSPENDING", "SUSPENDED"
1130
1144
  # resp.queue.compute_node_group_configurations #=> Array
1131
1145
  # resp.queue.compute_node_group_configurations[0].compute_node_group_id #=> String
1146
+ # resp.queue.slurm_configuration.slurm_custom_settings #=> Array
1147
+ # resp.queue.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
1148
+ # resp.queue.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
1132
1149
  # resp.queue.error_info #=> Array
1133
1150
  # resp.queue.error_info[0].code #=> String
1134
1151
  # resp.queue.error_info[0].message #=> String
@@ -1437,6 +1454,101 @@ module Aws::PCS
1437
1454
  req.send_request(options)
1438
1455
  end
1439
1456
 
1457
+ # Updates a cluster configuration. You can modify Slurm scheduler
1458
+ # settings, accounting configuration, and security groups for an
1459
+ # existing cluster.
1460
+ #
1461
+ # <note markdown="1"> You can only update clusters that are in `ACTIVE`, `UPDATE_FAILED`, or
1462
+ # `SUSPENDED` state. All associated resources (queues and compute node
1463
+ # groups) must be in `ACTIVE` state before you can update the cluster.
1464
+ #
1465
+ # </note>
1466
+ #
1467
+ # @option params [required, String] :cluster_identifier
1468
+ # The name or ID of the cluster to update.
1469
+ #
1470
+ # @option params [String] :client_token
1471
+ # A unique, case-sensitive identifier that you provide to ensure the
1472
+ # idempotency of the request. Idempotency ensures that an API request
1473
+ # completes only once. With an idempotent request, if the original
1474
+ # request completes successfully, the subsequent retries with the same
1475
+ # client token return the result from the original successful request
1476
+ # and they have no additional effect. If you don't specify a client
1477
+ # token, the CLI and SDK automatically generate 1 for you.
1478
+ #
1479
+ # **A suitable default value is auto-generated.** You should normally
1480
+ # not need to pass this option.**
1481
+ #
1482
+ # @option params [Types::UpdateClusterSlurmConfigurationRequest] :slurm_configuration
1483
+ # Additional options related to the Slurm scheduler.
1484
+ #
1485
+ # @return [Types::UpdateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1486
+ #
1487
+ # * {Types::UpdateClusterResponse#cluster #cluster} => Types::Cluster
1488
+ #
1489
+ # @example Request syntax with placeholder values
1490
+ #
1491
+ # resp = client.update_cluster({
1492
+ # cluster_identifier: "ClusterIdentifier", # required
1493
+ # client_token: "SBClientToken",
1494
+ # slurm_configuration: {
1495
+ # scale_down_idle_time_in_seconds: 1,
1496
+ # slurm_custom_settings: [
1497
+ # {
1498
+ # parameter_name: "String", # required
1499
+ # parameter_value: "String", # required
1500
+ # },
1501
+ # ],
1502
+ # accounting: {
1503
+ # default_purge_time_in_days: 1,
1504
+ # mode: "STANDARD", # accepts STANDARD, NONE
1505
+ # },
1506
+ # },
1507
+ # })
1508
+ #
1509
+ # @example Response structure
1510
+ #
1511
+ # resp.cluster.name #=> String
1512
+ # resp.cluster.id #=> String
1513
+ # resp.cluster.arn #=> String
1514
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "SUSPENDING", "SUSPENDED"
1515
+ # resp.cluster.created_at #=> Time
1516
+ # resp.cluster.modified_at #=> Time
1517
+ # resp.cluster.scheduler.type #=> String, one of "SLURM"
1518
+ # resp.cluster.scheduler.version #=> String
1519
+ # resp.cluster.size #=> String, one of "SMALL", "MEDIUM", "LARGE"
1520
+ # resp.cluster.slurm_configuration.scale_down_idle_time_in_seconds #=> Integer
1521
+ # resp.cluster.slurm_configuration.slurm_custom_settings #=> Array
1522
+ # resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
1523
+ # resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
1524
+ # resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
1525
+ # resp.cluster.slurm_configuration.auth_key.secret_version #=> String
1526
+ # resp.cluster.slurm_configuration.accounting.default_purge_time_in_days #=> Integer
1527
+ # resp.cluster.slurm_configuration.accounting.mode #=> String, one of "STANDARD", "NONE"
1528
+ # resp.cluster.networking.subnet_ids #=> Array
1529
+ # resp.cluster.networking.subnet_ids[0] #=> String
1530
+ # resp.cluster.networking.security_group_ids #=> Array
1531
+ # resp.cluster.networking.security_group_ids[0] #=> String
1532
+ # resp.cluster.networking.network_type #=> String, one of "IPV4", "IPV6"
1533
+ # resp.cluster.endpoints #=> Array
1534
+ # resp.cluster.endpoints[0].type #=> String, one of "SLURMCTLD", "SLURMDBD"
1535
+ # resp.cluster.endpoints[0].private_ip_address #=> String
1536
+ # resp.cluster.endpoints[0].public_ip_address #=> String
1537
+ # resp.cluster.endpoints[0].ipv6_address #=> String
1538
+ # resp.cluster.endpoints[0].port #=> String
1539
+ # resp.cluster.error_info #=> Array
1540
+ # resp.cluster.error_info[0].code #=> String
1541
+ # resp.cluster.error_info[0].message #=> String
1542
+ #
1543
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateCluster AWS API Documentation
1544
+ #
1545
+ # @overload update_cluster(params = {})
1546
+ # @param [Hash] params ({})
1547
+ def update_cluster(params = {}, options = {})
1548
+ req = build_request(:update_cluster, params)
1549
+ req.send_request(options)
1550
+ end
1551
+
1440
1552
  # Updates a compute node group. You can update many of the fields
1441
1553
  # related to your compute node group including the configurations for
1442
1554
  # networking, compute nodes, and settings specific to your scheduler
@@ -1594,6 +1706,9 @@ module Aws::PCS
1594
1706
  # The list of compute node group configurations to associate with the
1595
1707
  # queue. Queues assign jobs to associated compute node groups.
1596
1708
  #
1709
+ # @option params [Types::UpdateQueueSlurmConfigurationRequest] :slurm_configuration
1710
+ # Additional options related to the Slurm scheduler.
1711
+ #
1597
1712
  # @option params [String] :client_token
1598
1713
  # A unique, case-sensitive identifier that you provide to ensure the
1599
1714
  # idempotency of the request. Idempotency ensures that an API request
@@ -1620,6 +1735,14 @@ module Aws::PCS
1620
1735
  # compute_node_group_id: "String",
1621
1736
  # },
1622
1737
  # ],
1738
+ # slurm_configuration: {
1739
+ # slurm_custom_settings: [
1740
+ # {
1741
+ # parameter_name: "String", # required
1742
+ # parameter_value: "String", # required
1743
+ # },
1744
+ # ],
1745
+ # },
1623
1746
  # client_token: "SBClientToken",
1624
1747
  # })
1625
1748
  #
@@ -1634,6 +1757,9 @@ module Aws::PCS
1634
1757
  # resp.queue.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "SUSPENDING", "SUSPENDED"
1635
1758
  # resp.queue.compute_node_group_configurations #=> Array
1636
1759
  # resp.queue.compute_node_group_configurations[0].compute_node_group_id #=> String
1760
+ # resp.queue.slurm_configuration.slurm_custom_settings #=> Array
1761
+ # resp.queue.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
1762
+ # resp.queue.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
1637
1763
  # resp.queue.error_info #=> Array
1638
1764
  # resp.queue.error_info[0].code #=> String
1639
1765
  # resp.queue.error_info[0].message #=> String
@@ -1665,7 +1791,7 @@ module Aws::PCS
1665
1791
  tracer: tracer
1666
1792
  )
1667
1793
  context[:gem_name] = 'aws-sdk-pcs'
1668
- context[:gem_version] = '1.31.0'
1794
+ context[:gem_version] = '1.32.0'
1669
1795
  Seahorse::Client::Request.new(handlers, context)
1670
1796
  end
1671
1797
 
@@ -90,6 +90,8 @@ module Aws::PCS
90
90
  QueueIdentifier = Shapes::StringShape.new(name: 'QueueIdentifier')
91
91
  QueueList = Shapes::ListShape.new(name: 'QueueList')
92
92
  QueueName = Shapes::StringShape.new(name: 'QueueName')
93
+ QueueSlurmConfiguration = Shapes::StructureShape.new(name: 'QueueSlurmConfiguration')
94
+ QueueSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'QueueSlurmConfigurationRequest')
93
95
  QueueStatus = Shapes::StringShape.new(name: 'QueueStatus')
94
96
  QueueSummary = Shapes::StructureShape.new(name: 'QueueSummary')
95
97
  RegisterComputeNodeGroupInstanceRequest = Shapes::StructureShape.new(name: 'RegisterComputeNodeGroupInstanceRequest')
@@ -128,11 +130,18 @@ module Aws::PCS
128
130
  TagValue = Shapes::StringShape.new(name: 'TagValue')
129
131
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
130
132
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
133
+ UpdateAccountingRequest = Shapes::StructureShape.new(name: 'UpdateAccountingRequest')
134
+ UpdateAccountingRequestDefaultPurgeTimeInDaysInteger = Shapes::IntegerShape.new(name: 'UpdateAccountingRequestDefaultPurgeTimeInDaysInteger')
135
+ UpdateClusterRequest = Shapes::StructureShape.new(name: 'UpdateClusterRequest')
136
+ UpdateClusterResponse = Shapes::StructureShape.new(name: 'UpdateClusterResponse')
137
+ UpdateClusterSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateClusterSlurmConfigurationRequest')
138
+ UpdateClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger = Shapes::IntegerShape.new(name: 'UpdateClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger')
131
139
  UpdateComputeNodeGroupRequest = Shapes::StructureShape.new(name: 'UpdateComputeNodeGroupRequest')
132
140
  UpdateComputeNodeGroupResponse = Shapes::StructureShape.new(name: 'UpdateComputeNodeGroupResponse')
133
141
  UpdateComputeNodeGroupSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateComputeNodeGroupSlurmConfigurationRequest')
134
142
  UpdateQueueRequest = Shapes::StructureShape.new(name: 'UpdateQueueRequest')
135
143
  UpdateQueueResponse = Shapes::StructureShape.new(name: 'UpdateQueueResponse')
144
+ UpdateQueueSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateQueueSlurmConfigurationRequest')
136
145
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
137
146
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
138
147
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
@@ -141,12 +150,12 @@ module Aws::PCS
141
150
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
142
151
  AccessDeniedException.struct_class = Types::AccessDeniedException
143
152
 
144
- Accounting.add_member(:mode, Shapes::ShapeRef.new(shape: AccountingMode, required: true, location_name: "mode"))
145
153
  Accounting.add_member(:default_purge_time_in_days, Shapes::ShapeRef.new(shape: AccountingDefaultPurgeTimeInDaysInteger, location_name: "defaultPurgeTimeInDays"))
154
+ Accounting.add_member(:mode, Shapes::ShapeRef.new(shape: AccountingMode, required: true, location_name: "mode"))
146
155
  Accounting.struct_class = Types::Accounting
147
156
 
148
- AccountingRequest.add_member(:mode, Shapes::ShapeRef.new(shape: AccountingMode, required: true, location_name: "mode"))
149
157
  AccountingRequest.add_member(:default_purge_time_in_days, Shapes::ShapeRef.new(shape: AccountingRequestDefaultPurgeTimeInDaysInteger, location_name: "defaultPurgeTimeInDays"))
158
+ AccountingRequest.add_member(:mode, Shapes::ShapeRef.new(shape: AccountingMode, required: true, location_name: "mode"))
150
159
  AccountingRequest.struct_class = Types::AccountingRequest
151
160
 
152
161
  Cluster.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
@@ -263,6 +272,7 @@ module Aws::PCS
263
272
  CreateQueueRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
264
273
  CreateQueueRequest.add_member(:queue_name, Shapes::ShapeRef.new(shape: QueueName, required: true, location_name: "queueName"))
265
274
  CreateQueueRequest.add_member(:compute_node_group_configurations, Shapes::ShapeRef.new(shape: ComputeNodeGroupConfigurationList, location_name: "computeNodeGroupConfigurations"))
275
+ CreateQueueRequest.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: QueueSlurmConfigurationRequest, location_name: "slurmConfiguration"))
266
276
  CreateQueueRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
267
277
  CreateQueueRequest.add_member(:tags, Shapes::ShapeRef.new(shape: RequestTagMap, location_name: "tags"))
268
278
  CreateQueueRequest.struct_class = Types::CreateQueueRequest
@@ -387,11 +397,18 @@ module Aws::PCS
387
397
  Queue.add_member(:modified_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "modifiedAt"))
388
398
  Queue.add_member(:status, Shapes::ShapeRef.new(shape: QueueStatus, required: true, location_name: "status"))
389
399
  Queue.add_member(:compute_node_group_configurations, Shapes::ShapeRef.new(shape: ComputeNodeGroupConfigurationList, required: true, location_name: "computeNodeGroupConfigurations"))
400
+ Queue.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: QueueSlurmConfiguration, location_name: "slurmConfiguration"))
390
401
  Queue.add_member(:error_info, Shapes::ShapeRef.new(shape: ErrorInfoList, location_name: "errorInfo"))
391
402
  Queue.struct_class = Types::Queue
392
403
 
393
404
  QueueList.member = Shapes::ShapeRef.new(shape: QueueSummary)
394
405
 
406
+ QueueSlurmConfiguration.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
407
+ QueueSlurmConfiguration.struct_class = Types::QueueSlurmConfiguration
408
+
409
+ QueueSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
410
+ QueueSlurmConfigurationRequest.struct_class = Types::QueueSlurmConfigurationRequest
411
+
395
412
  QueueSummary.add_member(:name, Shapes::ShapeRef.new(shape: QueueName, required: true, location_name: "name"))
396
413
  QueueSummary.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
397
414
  QueueSummary.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
@@ -477,6 +494,23 @@ module Aws::PCS
477
494
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "tagKeys"))
478
495
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
479
496
 
497
+ UpdateAccountingRequest.add_member(:default_purge_time_in_days, Shapes::ShapeRef.new(shape: UpdateAccountingRequestDefaultPurgeTimeInDaysInteger, location_name: "defaultPurgeTimeInDays"))
498
+ UpdateAccountingRequest.add_member(:mode, Shapes::ShapeRef.new(shape: AccountingMode, location_name: "mode"))
499
+ UpdateAccountingRequest.struct_class = Types::UpdateAccountingRequest
500
+
501
+ UpdateClusterRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
502
+ UpdateClusterRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
503
+ UpdateClusterRequest.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: UpdateClusterSlurmConfigurationRequest, location_name: "slurmConfiguration"))
504
+ UpdateClusterRequest.struct_class = Types::UpdateClusterRequest
505
+
506
+ UpdateClusterResponse.add_member(:cluster, Shapes::ShapeRef.new(shape: Cluster, location_name: "cluster"))
507
+ UpdateClusterResponse.struct_class = Types::UpdateClusterResponse
508
+
509
+ UpdateClusterSlurmConfigurationRequest.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: UpdateClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
510
+ UpdateClusterSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
511
+ UpdateClusterSlurmConfigurationRequest.add_member(:accounting, Shapes::ShapeRef.new(shape: UpdateAccountingRequest, location_name: "accounting"))
512
+ UpdateClusterSlurmConfigurationRequest.struct_class = Types::UpdateClusterSlurmConfigurationRequest
513
+
480
514
  UpdateComputeNodeGroupRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
481
515
  UpdateComputeNodeGroupRequest.add_member(:compute_node_group_identifier, Shapes::ShapeRef.new(shape: ComputeNodeGroupIdentifier, required: true, location_name: "computeNodeGroupIdentifier"))
482
516
  UpdateComputeNodeGroupRequest.add_member(:ami_id, Shapes::ShapeRef.new(shape: AmiId, location_name: "amiId"))
@@ -499,12 +533,16 @@ module Aws::PCS
499
533
  UpdateQueueRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
500
534
  UpdateQueueRequest.add_member(:queue_identifier, Shapes::ShapeRef.new(shape: QueueIdentifier, required: true, location_name: "queueIdentifier"))
501
535
  UpdateQueueRequest.add_member(:compute_node_group_configurations, Shapes::ShapeRef.new(shape: ComputeNodeGroupConfigurationList, location_name: "computeNodeGroupConfigurations"))
536
+ UpdateQueueRequest.add_member(:slurm_configuration, Shapes::ShapeRef.new(shape: UpdateQueueSlurmConfigurationRequest, location_name: "slurmConfiguration"))
502
537
  UpdateQueueRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: SBClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
503
538
  UpdateQueueRequest.struct_class = Types::UpdateQueueRequest
504
539
 
505
540
  UpdateQueueResponse.add_member(:queue, Shapes::ShapeRef.new(shape: Queue, location_name: "queue"))
506
541
  UpdateQueueResponse.struct_class = Types::UpdateQueueResponse
507
542
 
543
+ UpdateQueueSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
544
+ UpdateQueueSlurmConfigurationRequest.struct_class = Types::UpdateQueueSlurmConfigurationRequest
545
+
508
546
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
509
547
  ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
510
548
  ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
@@ -763,6 +801,20 @@ module Aws::PCS
763
801
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
764
802
  end)
765
803
 
804
+ api.add_operation(:update_cluster, Seahorse::Model::Operation.new.tap do |o|
805
+ o.name = "UpdateCluster"
806
+ o.http_method = "POST"
807
+ o.http_request_uri = "/"
808
+ o.input = Shapes::ShapeRef.new(shape: UpdateClusterRequest)
809
+ o.output = Shapes::ShapeRef.new(shape: UpdateClusterResponse)
810
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
811
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
812
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
813
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
814
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
815
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
816
+ end)
817
+
766
818
  api.add_operation(:update_compute_node_group, Seahorse::Model::Operation.new.tap do |o|
767
819
  o.name = "UpdateComputeNodeGroup"
768
820
  o.http_method = "POST"
@@ -38,11 +38,6 @@ module Aws::PCS
38
38
  # accounting. It's a property of the **ClusterSlurmConfiguration**
39
39
  # object.
40
40
  #
41
- # @!attribute [rw] mode
42
- # The default value for `mode` is `STANDARD`. A value of `STANDARD`
43
- # means Slurm accounting is enabled.
44
- # @return [String]
45
- #
46
41
  # @!attribute [rw] default_purge_time_in_days
47
42
  # The default value for all purge settings for `slurmdbd.conf`. For
48
43
  # more information, see the [slurmdbd.conf documentation at
@@ -60,11 +55,16 @@ module Aws::PCS
60
55
  # [1]: https://slurm.schedmd.com/slurmdbd.conf.html
61
56
  # @return [Integer]
62
57
  #
58
+ # @!attribute [rw] mode
59
+ # The default value for `mode` is `STANDARD`. A value of `STANDARD`
60
+ # means Slurm accounting is enabled.
61
+ # @return [String]
62
+ #
63
63
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/Accounting AWS API Documentation
64
64
  #
65
65
  class Accounting < Struct.new(
66
- :mode,
67
- :default_purge_time_in_days)
66
+ :default_purge_time_in_days,
67
+ :mode)
68
68
  SENSITIVE = []
69
69
  include Aws::Structure
70
70
  end
@@ -73,11 +73,6 @@ module Aws::PCS
73
73
  # accounting. It's a property of the **ClusterSlurmConfiguration**
74
74
  # object.
75
75
  #
76
- # @!attribute [rw] mode
77
- # The default value for `mode` is `STANDARD`. A value of `STANDARD`
78
- # means Slurm accounting is enabled.
79
- # @return [String]
80
- #
81
76
  # @!attribute [rw] default_purge_time_in_days
82
77
  # The default value for all purge settings for `slurmdbd.conf`. For
83
78
  # more information, see the [slurmdbd.conf documentation at
@@ -95,11 +90,16 @@ module Aws::PCS
95
90
  # [1]: https://slurm.schedmd.com/slurmdbd.conf.html
96
91
  # @return [Integer]
97
92
  #
93
+ # @!attribute [rw] mode
94
+ # The default value for `mode` is `STANDARD`. A value of `STANDARD`
95
+ # means Slurm accounting is enabled.
96
+ # @return [String]
97
+ #
98
98
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/AccountingRequest AWS API Documentation
99
99
  #
100
100
  class AccountingRequest < Struct.new(
101
- :mode,
102
- :default_purge_time_in_days)
101
+ :default_purge_time_in_days,
102
+ :mode)
103
103
  SENSITIVE = []
104
104
  include Aws::Structure
105
105
  end
@@ -809,6 +809,10 @@ module Aws::PCS
809
809
  # queue. Queues assign jobs to associated compute node groups.
810
810
  # @return [Array<Types::ComputeNodeGroupConfiguration>]
811
811
  #
812
+ # @!attribute [rw] slurm_configuration
813
+ # Additional options related to the Slurm scheduler.
814
+ # @return [Types::QueueSlurmConfigurationRequest]
815
+ #
812
816
  # @!attribute [rw] client_token
813
817
  # A unique, case-sensitive identifier that you provide to ensure the
814
818
  # idempotency of the request. Idempotency ensures that an API request
@@ -833,6 +837,7 @@ module Aws::PCS
833
837
  :cluster_identifier,
834
838
  :queue_name,
835
839
  :compute_node_group_configurations,
840
+ :slurm_configuration,
836
841
  :client_token,
837
842
  :tags)
838
843
  SENSITIVE = []
@@ -1038,7 +1043,7 @@ module Aws::PCS
1038
1043
  end
1039
1044
 
1040
1045
  # @!attribute [rw] cluster_identifier
1041
- # The name or ID of the cluster of the queue.
1046
+ # The name or ID of the cluster.
1042
1047
  # @return [String]
1043
1048
  #
1044
1049
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/GetClusterRequest AWS API Documentation
@@ -1469,6 +1474,10 @@ module Aws::PCS
1469
1474
  # queue. Queues assign jobs to associated compute node groups.
1470
1475
  # @return [Array<Types::ComputeNodeGroupConfiguration>]
1471
1476
  #
1477
+ # @!attribute [rw] slurm_configuration
1478
+ # Additional options related to the Slurm scheduler.
1479
+ # @return [Types::QueueSlurmConfiguration]
1480
+ #
1472
1481
  # @!attribute [rw] error_info
1473
1482
  # The list of errors that occurred during queue provisioning.
1474
1483
  # @return [Array<Types::ErrorInfo>]
@@ -1484,11 +1493,42 @@ module Aws::PCS
1484
1493
  :modified_at,
1485
1494
  :status,
1486
1495
  :compute_node_group_configurations,
1496
+ :slurm_configuration,
1487
1497
  :error_info)
1488
1498
  SENSITIVE = []
1489
1499
  include Aws::Structure
1490
1500
  end
1491
1501
 
1502
+ # Additional options related to the Slurm scheduler.
1503
+ #
1504
+ # @!attribute [rw] slurm_custom_settings
1505
+ # Additional Slurm-specific configuration that directly maps to Slurm
1506
+ # settings.
1507
+ # @return [Array<Types::SlurmCustomSetting>]
1508
+ #
1509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/QueueSlurmConfiguration AWS API Documentation
1510
+ #
1511
+ class QueueSlurmConfiguration < Struct.new(
1512
+ :slurm_custom_settings)
1513
+ SENSITIVE = []
1514
+ include Aws::Structure
1515
+ end
1516
+
1517
+ # Additional options related to the Slurm scheduler.
1518
+ #
1519
+ # @!attribute [rw] slurm_custom_settings
1520
+ # Additional Slurm-specific configuration that directly maps to Slurm
1521
+ # settings.
1522
+ # @return [Array<Types::SlurmCustomSetting>]
1523
+ #
1524
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/QueueSlurmConfigurationRequest AWS API Documentation
1525
+ #
1526
+ class QueueSlurmConfigurationRequest < Struct.new(
1527
+ :slurm_custom_settings)
1528
+ SENSITIVE = []
1529
+ include Aws::Structure
1530
+ end
1531
+
1492
1532
  # The object returned by the `ListQueues` API action.
1493
1533
  #
1494
1534
  # @!attribute [rw] name
@@ -1793,36 +1833,21 @@ module Aws::PCS
1793
1833
 
1794
1834
  # Additional settings that directly map to Slurm settings.
1795
1835
  #
1796
- # @!attribute [rw] parameter_name
1797
- # PCS supports configuration of the following Slurm parameters:
1798
- #
1799
- # * For **clusters**
1836
+ # PCS supports a subset of Slurm settings. For more information, see
1837
+ # [Configuring custom Slurm settings in PCS][1] in the *PCS User Guide*.
1800
1838
  #
1801
- # * [ `Prolog` ][1]
1802
1839
  #
1803
- # * [ `Epilog` ][2]
1804
1840
  #
1805
- # * [ `SelectTypeParameters` ][3]
1841
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-custom-settings.html
1806
1842
  #
1807
- # * [ `AccountingStorageEnforce` ][4]
1808
- #
1809
- # PCS supports a subset of the options for
1810
- # `AccountingStorageEnforce`. For more information, see [Slurm
1811
- # accounting in PCS][5] in the *PCS User Guide*.
1812
- # * For **compute node groups**
1813
- #
1814
- # * [ `Weight` ][6]
1815
- #
1816
- # * [ `RealMemory` ][6]
1843
+ # @!attribute [rw] parameter_name
1844
+ # PCS supports custom Slurm settings for clusters, compute node
1845
+ # groups, and queues. For more information, see [Configuring custom
1846
+ # Slurm settings in PCS][1] in the *PCS User Guide*.
1817
1847
  #
1818
1848
  #
1819
1849
  #
1820
- # [1]: https://slurm.schedmd.com/slurm.conf.html#OPT_Prolog_1
1821
- # [2]: https://slurm.schedmd.com/slurm.conf.html#OPT_Epilog_1
1822
- # [3]: https://slurm.schedmd.com/slurm.conf.html#OPT_SelectTypeParameters
1823
- # [4]: https://slurm.schedmd.com/slurm.conf.html#OPT_AccountingStorageEnforce
1824
- # [5]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-accounting.html
1825
- # [6]: https://slurm.schedmd.com/slurm.conf.html#OPT_Weight
1850
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-custom-settings.html
1826
1851
  # @return [String]
1827
1852
  #
1828
1853
  # @!attribute [rw] parameter_value
@@ -1918,6 +1943,111 @@ module Aws::PCS
1918
1943
  include Aws::Structure
1919
1944
  end
1920
1945
 
1946
+ # The accounting configuration includes configurable settings for Slurm
1947
+ # accounting.
1948
+ #
1949
+ # @!attribute [rw] default_purge_time_in_days
1950
+ # The default value for all purge settings for `slurmdbd.conf`. For
1951
+ # more information, see the [slurmdbd.conf documentation at
1952
+ # SchedMD][1].
1953
+ #
1954
+ # The default value for `defaultPurgeTimeInDays` is `-1`.
1955
+ #
1956
+ # A value of `-1` means there is no purge time and records persist as
1957
+ # long as the cluster exists.
1958
+ #
1959
+ # `0` isn't a valid value.
1960
+ #
1961
+ #
1962
+ #
1963
+ # [1]: https://slurm.schedmd.com/slurmdbd.conf.html
1964
+ # @return [Integer]
1965
+ #
1966
+ # @!attribute [rw] mode
1967
+ # The default value for `mode` is `STANDARD`. A value of `STANDARD`
1968
+ # means Slurm accounting is enabled.
1969
+ # @return [String]
1970
+ #
1971
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateAccountingRequest AWS API Documentation
1972
+ #
1973
+ class UpdateAccountingRequest < Struct.new(
1974
+ :default_purge_time_in_days,
1975
+ :mode)
1976
+ SENSITIVE = []
1977
+ include Aws::Structure
1978
+ end
1979
+
1980
+ # @!attribute [rw] cluster_identifier
1981
+ # The name or ID of the cluster to update.
1982
+ # @return [String]
1983
+ #
1984
+ # @!attribute [rw] client_token
1985
+ # A unique, case-sensitive identifier that you provide to ensure the
1986
+ # idempotency of the request. Idempotency ensures that an API request
1987
+ # completes only once. With an idempotent request, if the original
1988
+ # request completes successfully, the subsequent retries with the same
1989
+ # client token return the result from the original successful request
1990
+ # and they have no additional effect. If you don't specify a client
1991
+ # token, the CLI and SDK automatically generate 1 for you.
1992
+ #
1993
+ # **A suitable default value is auto-generated.** You should normally
1994
+ # not need to pass this option.
1995
+ # @return [String]
1996
+ #
1997
+ # @!attribute [rw] slurm_configuration
1998
+ # Additional options related to the Slurm scheduler.
1999
+ # @return [Types::UpdateClusterSlurmConfigurationRequest]
2000
+ #
2001
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateClusterRequest AWS API Documentation
2002
+ #
2003
+ class UpdateClusterRequest < Struct.new(
2004
+ :cluster_identifier,
2005
+ :client_token,
2006
+ :slurm_configuration)
2007
+ SENSITIVE = []
2008
+ include Aws::Structure
2009
+ end
2010
+
2011
+ # @!attribute [rw] cluster
2012
+ # The cluster resource and configuration.
2013
+ # @return [Types::Cluster]
2014
+ #
2015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateClusterResponse AWS API Documentation
2016
+ #
2017
+ class UpdateClusterResponse < Struct.new(
2018
+ :cluster)
2019
+ SENSITIVE = []
2020
+ include Aws::Structure
2021
+ end
2022
+
2023
+ # Additional options related to the Slurm scheduler.
2024
+ #
2025
+ # @!attribute [rw] scale_down_idle_time_in_seconds
2026
+ # The time (in seconds) before an idle node is scaled down.
2027
+ #
2028
+ # Default: `600`
2029
+ # @return [Integer]
2030
+ #
2031
+ # @!attribute [rw] slurm_custom_settings
2032
+ # Additional Slurm-specific configuration that directly maps to Slurm
2033
+ # settings.
2034
+ # @return [Array<Types::SlurmCustomSetting>]
2035
+ #
2036
+ # @!attribute [rw] accounting
2037
+ # The accounting configuration includes configurable settings for
2038
+ # Slurm accounting.
2039
+ # @return [Types::UpdateAccountingRequest]
2040
+ #
2041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateClusterSlurmConfigurationRequest AWS API Documentation
2042
+ #
2043
+ class UpdateClusterSlurmConfigurationRequest < Struct.new(
2044
+ :scale_down_idle_time_in_seconds,
2045
+ :slurm_custom_settings,
2046
+ :accounting)
2047
+ SENSITIVE = []
2048
+ include Aws::Structure
2049
+ end
2050
+
1921
2051
  # @!attribute [rw] cluster_identifier
1922
2052
  # The name or ID of the cluster of the compute node group.
1923
2053
  # @return [String]
@@ -2055,6 +2185,10 @@ module Aws::PCS
2055
2185
  # queue. Queues assign jobs to associated compute node groups.
2056
2186
  # @return [Array<Types::ComputeNodeGroupConfiguration>]
2057
2187
  #
2188
+ # @!attribute [rw] slurm_configuration
2189
+ # Additional options related to the Slurm scheduler.
2190
+ # @return [Types::UpdateQueueSlurmConfigurationRequest]
2191
+ #
2058
2192
  # @!attribute [rw] client_token
2059
2193
  # A unique, case-sensitive identifier that you provide to ensure the
2060
2194
  # idempotency of the request. Idempotency ensures that an API request
@@ -2074,6 +2208,7 @@ module Aws::PCS
2074
2208
  :cluster_identifier,
2075
2209
  :queue_identifier,
2076
2210
  :compute_node_group_configurations,
2211
+ :slurm_configuration,
2077
2212
  :client_token)
2078
2213
  SENSITIVE = []
2079
2214
  include Aws::Structure
@@ -2091,6 +2226,21 @@ module Aws::PCS
2091
2226
  include Aws::Structure
2092
2227
  end
2093
2228
 
2229
+ # Additional options related to the Slurm scheduler.
2230
+ #
2231
+ # @!attribute [rw] slurm_custom_settings
2232
+ # Additional Slurm-specific configuration that directly maps to Slurm
2233
+ # settings.
2234
+ # @return [Array<Types::SlurmCustomSetting>]
2235
+ #
2236
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateQueueSlurmConfigurationRequest AWS API Documentation
2237
+ #
2238
+ class UpdateQueueSlurmConfigurationRequest < Struct.new(
2239
+ :slurm_custom_settings)
2240
+ SENSITIVE = []
2241
+ include Aws::Structure
2242
+ end
2243
+
2094
2244
  # The request isn't valid.
2095
2245
  #
2096
2246
  # <u>Examples</u>
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.31.0'
58
+ GEM_VERSION = '1.32.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -105,8 +105,8 @@ module Aws
105
105
  },
106
106
  ]?,
107
107
  accounting: {
108
- mode: ("STANDARD" | "NONE"),
109
- default_purge_time_in_days: ::Integer?
108
+ default_purge_time_in_days: ::Integer?,
109
+ mode: ("STANDARD" | "NONE")
110
110
  }?
111
111
  },
112
112
  ?client_token: ::String,
@@ -168,6 +168,14 @@ module Aws
168
168
  compute_node_group_id: ::String?
169
169
  },
170
170
  ],
171
+ ?slurm_configuration: {
172
+ slurm_custom_settings: Array[
173
+ {
174
+ parameter_name: ::String,
175
+ parameter_value: ::String
176
+ },
177
+ ]?
178
+ },
171
179
  ?client_token: ::String,
172
180
  ?tags: Hash[::String, ::String]
173
181
  ) -> _CreateQueueResponseSuccess
@@ -312,6 +320,30 @@ module Aws
312
320
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
313
321
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
314
322
 
323
+ interface _UpdateClusterResponseSuccess
324
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateClusterResponse]
325
+ def cluster: () -> Types::Cluster
326
+ end
327
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#update_cluster-instance_method
328
+ def update_cluster: (
329
+ cluster_identifier: ::String,
330
+ ?client_token: ::String,
331
+ ?slurm_configuration: {
332
+ scale_down_idle_time_in_seconds: ::Integer?,
333
+ slurm_custom_settings: Array[
334
+ {
335
+ parameter_name: ::String,
336
+ parameter_value: ::String
337
+ },
338
+ ]?,
339
+ accounting: {
340
+ default_purge_time_in_days: ::Integer?,
341
+ mode: ("STANDARD" | "NONE")?
342
+ }?
343
+ }
344
+ ) -> _UpdateClusterResponseSuccess
345
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterResponseSuccess
346
+
315
347
  interface _UpdateComputeNodeGroupResponseSuccess
316
348
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateComputeNodeGroupResponse]
317
349
  def compute_node_group: () -> Types::ComputeNodeGroup
@@ -360,6 +392,14 @@ module Aws
360
392
  compute_node_group_id: ::String?
361
393
  },
362
394
  ],
395
+ ?slurm_configuration: {
396
+ slurm_custom_settings: Array[
397
+ {
398
+ parameter_name: ::String,
399
+ parameter_value: ::String
400
+ },
401
+ ]?
402
+ },
363
403
  ?client_token: ::String
364
404
  ) -> _UpdateQueueResponseSuccess
365
405
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateQueueResponseSuccess
data/sig/types.rbs CHANGED
@@ -14,14 +14,14 @@ module Aws::PCS
14
14
  end
15
15
 
16
16
  class Accounting
17
- attr_accessor mode: ("STANDARD" | "NONE")
18
17
  attr_accessor default_purge_time_in_days: ::Integer
18
+ attr_accessor mode: ("STANDARD" | "NONE")
19
19
  SENSITIVE: []
20
20
  end
21
21
 
22
22
  class AccountingRequest
23
- attr_accessor mode: ("STANDARD" | "NONE")
24
23
  attr_accessor default_purge_time_in_days: ::Integer
24
+ attr_accessor mode: ("STANDARD" | "NONE")
25
25
  SENSITIVE: []
26
26
  end
27
27
 
@@ -162,6 +162,7 @@ module Aws::PCS
162
162
  attr_accessor cluster_identifier: ::String
163
163
  attr_accessor queue_name: ::String
164
164
  attr_accessor compute_node_group_configurations: ::Array[Types::ComputeNodeGroupConfiguration]
165
+ attr_accessor slurm_configuration: Types::QueueSlurmConfigurationRequest
165
166
  attr_accessor client_token: ::String
166
167
  attr_accessor tags: ::Hash[::String, ::String]
167
168
  SENSITIVE: []
@@ -335,10 +336,21 @@ module Aws::PCS
335
336
  attr_accessor modified_at: ::Time
336
337
  attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "SUSPENDING" | "SUSPENDED")
337
338
  attr_accessor compute_node_group_configurations: ::Array[Types::ComputeNodeGroupConfiguration]
339
+ attr_accessor slurm_configuration: Types::QueueSlurmConfiguration
338
340
  attr_accessor error_info: ::Array[Types::ErrorInfo]
339
341
  SENSITIVE: []
340
342
  end
341
343
 
344
+ class QueueSlurmConfiguration
345
+ attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
346
+ SENSITIVE: []
347
+ end
348
+
349
+ class QueueSlurmConfigurationRequest
350
+ attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
351
+ SENSITIVE: []
352
+ end
353
+
342
354
  class QueueSummary
343
355
  attr_accessor name: ::String
344
356
  attr_accessor id: ::String
@@ -438,6 +450,31 @@ module Aws::PCS
438
450
  SENSITIVE: []
439
451
  end
440
452
 
453
+ class UpdateAccountingRequest
454
+ attr_accessor default_purge_time_in_days: ::Integer
455
+ attr_accessor mode: ("STANDARD" | "NONE")
456
+ SENSITIVE: []
457
+ end
458
+
459
+ class UpdateClusterRequest
460
+ attr_accessor cluster_identifier: ::String
461
+ attr_accessor client_token: ::String
462
+ attr_accessor slurm_configuration: Types::UpdateClusterSlurmConfigurationRequest
463
+ SENSITIVE: []
464
+ end
465
+
466
+ class UpdateClusterResponse
467
+ attr_accessor cluster: Types::Cluster
468
+ SENSITIVE: []
469
+ end
470
+
471
+ class UpdateClusterSlurmConfigurationRequest
472
+ attr_accessor scale_down_idle_time_in_seconds: ::Integer
473
+ attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
474
+ attr_accessor accounting: Types::UpdateAccountingRequest
475
+ SENSITIVE: []
476
+ end
477
+
441
478
  class UpdateComputeNodeGroupRequest
442
479
  attr_accessor cluster_identifier: ::String
443
480
  attr_accessor compute_node_group_identifier: ::String
@@ -467,6 +504,7 @@ module Aws::PCS
467
504
  attr_accessor cluster_identifier: ::String
468
505
  attr_accessor queue_identifier: ::String
469
506
  attr_accessor compute_node_group_configurations: ::Array[Types::ComputeNodeGroupConfiguration]
507
+ attr_accessor slurm_configuration: Types::UpdateQueueSlurmConfigurationRequest
470
508
  attr_accessor client_token: ::String
471
509
  SENSITIVE: []
472
510
  end
@@ -476,6 +514,11 @@ module Aws::PCS
476
514
  SENSITIVE: []
477
515
  end
478
516
 
517
+ class UpdateQueueSlurmConfigurationRequest
518
+ attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
519
+ SENSITIVE: []
520
+ end
521
+
479
522
  class ValidationException
480
523
  attr_accessor message: ::String
481
524
  attr_accessor reason: ("unknownOperation" | "cannotParse" | "fieldValidationFailed" | "other")
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.31.0
4
+ version: 1.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services