aws-sdk-pcs 1.42.0 → 1.43.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 +43 -1
- data/lib/aws-sdk-pcs/client_api.rb +22 -0
- data/lib/aws-sdk-pcs/types.rb +104 -2
- data/lib/aws-sdk-pcs.rb +1 -1
- data/sig/client.rbs +24 -0
- data/sig/types.rbs +18 -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: ab2c5b70259b963ff06a03661f862772bd53052f6e6405cb79cb3bbcf80f0017
|
|
4
|
+
data.tar.gz: e4c2ea6bf23135eb4c7f6d4503c672248d1fc03fba7596337bc71aa4e361b443
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7387173d76c4ec86139e8bac9340564ad2ef1075b31e35a20441494b07cee747eb0ea7af74353fe19d8ecafb555591a2a6fe05b73a2d8caa3d13c203f91389a9
|
|
7
|
+
data.tar.gz: 98cdeccd417dda17379958bf580f7249cb057791d0aed63db47bf04c8659fe8288a3f3806dde805fcaec759c9f0fb99efbdc9cacd873e8eaea46d5feb42bfb30
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.43.0 (2026-03-24)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - This release adds support for custom slurmdbd and cgroup configuration in AWS PCS. Customers can now specify slurmdbd and cgroup settings to configure database accounting and reporting for their HPC workloads, and control resource allocation and limits for compute jobs.
|
|
8
|
+
|
|
4
9
|
1.42.0 (2026-03-18)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.43.0
|
data/lib/aws-sdk-pcs/client.rb
CHANGED
|
@@ -563,6 +563,18 @@ module Aws::PCS
|
|
|
563
563
|
# parameter_value: "String", # required
|
|
564
564
|
# },
|
|
565
565
|
# ],
|
|
566
|
+
# slurmdbd_custom_settings: [
|
|
567
|
+
# {
|
|
568
|
+
# parameter_name: "String", # required
|
|
569
|
+
# parameter_value: "String", # required
|
|
570
|
+
# },
|
|
571
|
+
# ],
|
|
572
|
+
# cgroup_custom_settings: [
|
|
573
|
+
# {
|
|
574
|
+
# parameter_name: "String", # required
|
|
575
|
+
# parameter_value: "String", # required
|
|
576
|
+
# },
|
|
577
|
+
# ],
|
|
566
578
|
# accounting: {
|
|
567
579
|
# default_purge_time_in_days: 1,
|
|
568
580
|
# mode: "STANDARD", # required, accepts STANDARD, NONE
|
|
@@ -592,6 +604,12 @@ module Aws::PCS
|
|
|
592
604
|
# resp.cluster.slurm_configuration.slurm_custom_settings #=> Array
|
|
593
605
|
# resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
|
|
594
606
|
# resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
|
|
607
|
+
# resp.cluster.slurm_configuration.slurmdbd_custom_settings #=> Array
|
|
608
|
+
# resp.cluster.slurm_configuration.slurmdbd_custom_settings[0].parameter_name #=> String
|
|
609
|
+
# resp.cluster.slurm_configuration.slurmdbd_custom_settings[0].parameter_value #=> String
|
|
610
|
+
# resp.cluster.slurm_configuration.cgroup_custom_settings #=> Array
|
|
611
|
+
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_name #=> String
|
|
612
|
+
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_value #=> String
|
|
595
613
|
# resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
|
|
596
614
|
# resp.cluster.slurm_configuration.auth_key.secret_version #=> String
|
|
597
615
|
# resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_arn #=> String
|
|
@@ -1032,6 +1050,12 @@ module Aws::PCS
|
|
|
1032
1050
|
# resp.cluster.slurm_configuration.slurm_custom_settings #=> Array
|
|
1033
1051
|
# resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
|
|
1034
1052
|
# resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
|
|
1053
|
+
# resp.cluster.slurm_configuration.slurmdbd_custom_settings #=> Array
|
|
1054
|
+
# resp.cluster.slurm_configuration.slurmdbd_custom_settings[0].parameter_name #=> String
|
|
1055
|
+
# resp.cluster.slurm_configuration.slurmdbd_custom_settings[0].parameter_value #=> String
|
|
1056
|
+
# resp.cluster.slurm_configuration.cgroup_custom_settings #=> Array
|
|
1057
|
+
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_name #=> String
|
|
1058
|
+
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_value #=> String
|
|
1035
1059
|
# resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
|
|
1036
1060
|
# resp.cluster.slurm_configuration.auth_key.secret_version #=> String
|
|
1037
1061
|
# resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_arn #=> String
|
|
@@ -1508,6 +1532,18 @@ module Aws::PCS
|
|
|
1508
1532
|
# parameter_value: "String", # required
|
|
1509
1533
|
# },
|
|
1510
1534
|
# ],
|
|
1535
|
+
# slurmdbd_custom_settings: [
|
|
1536
|
+
# {
|
|
1537
|
+
# parameter_name: "String", # required
|
|
1538
|
+
# parameter_value: "String", # required
|
|
1539
|
+
# },
|
|
1540
|
+
# ],
|
|
1541
|
+
# cgroup_custom_settings: [
|
|
1542
|
+
# {
|
|
1543
|
+
# parameter_name: "String", # required
|
|
1544
|
+
# parameter_value: "String", # required
|
|
1545
|
+
# },
|
|
1546
|
+
# ],
|
|
1511
1547
|
# accounting: {
|
|
1512
1548
|
# default_purge_time_in_days: 1,
|
|
1513
1549
|
# mode: "STANDARD", # accepts STANDARD, NONE
|
|
@@ -1533,6 +1569,12 @@ module Aws::PCS
|
|
|
1533
1569
|
# resp.cluster.slurm_configuration.slurm_custom_settings #=> Array
|
|
1534
1570
|
# resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_name #=> String
|
|
1535
1571
|
# resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
|
|
1572
|
+
# resp.cluster.slurm_configuration.slurmdbd_custom_settings #=> Array
|
|
1573
|
+
# resp.cluster.slurm_configuration.slurmdbd_custom_settings[0].parameter_name #=> String
|
|
1574
|
+
# resp.cluster.slurm_configuration.slurmdbd_custom_settings[0].parameter_value #=> String
|
|
1575
|
+
# resp.cluster.slurm_configuration.cgroup_custom_settings #=> Array
|
|
1576
|
+
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_name #=> String
|
|
1577
|
+
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_value #=> String
|
|
1536
1578
|
# resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
|
|
1537
1579
|
# resp.cluster.slurm_configuration.auth_key.secret_version #=> String
|
|
1538
1580
|
# resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_arn #=> String
|
|
@@ -1806,7 +1848,7 @@ module Aws::PCS
|
|
|
1806
1848
|
tracer: tracer
|
|
1807
1849
|
)
|
|
1808
1850
|
context[:gem_name] = 'aws-sdk-pcs'
|
|
1809
|
-
context[:gem_version] = '1.
|
|
1851
|
+
context[:gem_version] = '1.43.0'
|
|
1810
1852
|
Seahorse::Client::Request.new(handlers, context)
|
|
1811
1853
|
end
|
|
1812
1854
|
|
|
@@ -23,6 +23,8 @@ module Aws::PCS
|
|
|
23
23
|
AmiId = Shapes::StringShape.new(name: 'AmiId')
|
|
24
24
|
Arn = Shapes::StringShape.new(name: 'Arn')
|
|
25
25
|
BootstrapId = Shapes::StringShape.new(name: 'BootstrapId')
|
|
26
|
+
CgroupCustomSetting = Shapes::StructureShape.new(name: 'CgroupCustomSetting')
|
|
27
|
+
CgroupCustomSettings = Shapes::ListShape.new(name: 'CgroupCustomSettings')
|
|
26
28
|
Cluster = Shapes::StructureShape.new(name: 'Cluster')
|
|
27
29
|
ClusterIdentifier = Shapes::StringShape.new(name: 'ClusterIdentifier')
|
|
28
30
|
ClusterList = Shapes::ListShape.new(name: 'ClusterList')
|
|
@@ -122,6 +124,8 @@ module Aws::PCS
|
|
|
122
124
|
SlurmRest = Shapes::StructureShape.new(name: 'SlurmRest')
|
|
123
125
|
SlurmRestMode = Shapes::StringShape.new(name: 'SlurmRestMode')
|
|
124
126
|
SlurmRestRequest = Shapes::StructureShape.new(name: 'SlurmRestRequest')
|
|
127
|
+
SlurmdbdCustomSetting = Shapes::StructureShape.new(name: 'SlurmdbdCustomSetting')
|
|
128
|
+
SlurmdbdCustomSettings = Shapes::ListShape.new(name: 'SlurmdbdCustomSettings')
|
|
125
129
|
SpotAllocationStrategy = Shapes::StringShape.new(name: 'SpotAllocationStrategy')
|
|
126
130
|
SpotOptions = Shapes::StructureShape.new(name: 'SpotOptions')
|
|
127
131
|
String = Shapes::StringShape.new(name: 'String')
|
|
@@ -166,6 +170,12 @@ module Aws::PCS
|
|
|
166
170
|
AccountingRequest.add_member(:mode, Shapes::ShapeRef.new(shape: AccountingMode, required: true, location_name: "mode"))
|
|
167
171
|
AccountingRequest.struct_class = Types::AccountingRequest
|
|
168
172
|
|
|
173
|
+
CgroupCustomSetting.add_member(:parameter_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "parameterName"))
|
|
174
|
+
CgroupCustomSetting.add_member(:parameter_value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "parameterValue"))
|
|
175
|
+
CgroupCustomSetting.struct_class = Types::CgroupCustomSetting
|
|
176
|
+
|
|
177
|
+
CgroupCustomSettings.member = Shapes::ShapeRef.new(shape: CgroupCustomSetting)
|
|
178
|
+
|
|
169
179
|
Cluster.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
|
170
180
|
Cluster.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
|
|
171
181
|
Cluster.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
|
@@ -184,6 +194,8 @@ module Aws::PCS
|
|
|
184
194
|
|
|
185
195
|
ClusterSlurmConfiguration.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ClusterSlurmConfigurationScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
|
|
186
196
|
ClusterSlurmConfiguration.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
197
|
+
ClusterSlurmConfiguration.add_member(:slurmdbd_custom_settings, Shapes::ShapeRef.new(shape: SlurmdbdCustomSettings, location_name: "slurmdbdCustomSettings"))
|
|
198
|
+
ClusterSlurmConfiguration.add_member(:cgroup_custom_settings, Shapes::ShapeRef.new(shape: CgroupCustomSettings, location_name: "cgroupCustomSettings"))
|
|
187
199
|
ClusterSlurmConfiguration.add_member(:auth_key, Shapes::ShapeRef.new(shape: SlurmAuthKey, location_name: "authKey"))
|
|
188
200
|
ClusterSlurmConfiguration.add_member(:jwt_auth, Shapes::ShapeRef.new(shape: JwtAuth, location_name: "jwtAuth"))
|
|
189
201
|
ClusterSlurmConfiguration.add_member(:accounting, Shapes::ShapeRef.new(shape: Accounting, location_name: "accounting"))
|
|
@@ -192,6 +204,8 @@ module Aws::PCS
|
|
|
192
204
|
|
|
193
205
|
ClusterSlurmConfigurationRequest.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
|
|
194
206
|
ClusterSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
207
|
+
ClusterSlurmConfigurationRequest.add_member(:slurmdbd_custom_settings, Shapes::ShapeRef.new(shape: SlurmdbdCustomSettings, location_name: "slurmdbdCustomSettings"))
|
|
208
|
+
ClusterSlurmConfigurationRequest.add_member(:cgroup_custom_settings, Shapes::ShapeRef.new(shape: CgroupCustomSettings, location_name: "cgroupCustomSettings"))
|
|
195
209
|
ClusterSlurmConfigurationRequest.add_member(:accounting, Shapes::ShapeRef.new(shape: AccountingRequest, location_name: "accounting"))
|
|
196
210
|
ClusterSlurmConfigurationRequest.add_member(:slurm_rest, Shapes::ShapeRef.new(shape: SlurmRestRequest, location_name: "slurmRest"))
|
|
197
211
|
ClusterSlurmConfigurationRequest.struct_class = Types::ClusterSlurmConfigurationRequest
|
|
@@ -497,6 +511,12 @@ module Aws::PCS
|
|
|
497
511
|
SlurmRestRequest.add_member(:mode, Shapes::ShapeRef.new(shape: SlurmRestMode, required: true, location_name: "mode"))
|
|
498
512
|
SlurmRestRequest.struct_class = Types::SlurmRestRequest
|
|
499
513
|
|
|
514
|
+
SlurmdbdCustomSetting.add_member(:parameter_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "parameterName"))
|
|
515
|
+
SlurmdbdCustomSetting.add_member(:parameter_value, Shapes::ShapeRef.new(shape: String, required: true, location_name: "parameterValue"))
|
|
516
|
+
SlurmdbdCustomSetting.struct_class = Types::SlurmdbdCustomSetting
|
|
517
|
+
|
|
518
|
+
SlurmdbdCustomSettings.member = Shapes::ShapeRef.new(shape: SlurmdbdCustomSetting)
|
|
519
|
+
|
|
500
520
|
SpotOptions.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotAllocationStrategy, location_name: "allocationStrategy"))
|
|
501
521
|
SpotOptions.struct_class = Types::SpotOptions
|
|
502
522
|
|
|
@@ -536,6 +556,8 @@ module Aws::PCS
|
|
|
536
556
|
|
|
537
557
|
UpdateClusterSlurmConfigurationRequest.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: UpdateClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
|
|
538
558
|
UpdateClusterSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
559
|
+
UpdateClusterSlurmConfigurationRequest.add_member(:slurmdbd_custom_settings, Shapes::ShapeRef.new(shape: SlurmdbdCustomSettings, location_name: "slurmdbdCustomSettings"))
|
|
560
|
+
UpdateClusterSlurmConfigurationRequest.add_member(:cgroup_custom_settings, Shapes::ShapeRef.new(shape: CgroupCustomSettings, location_name: "cgroupCustomSettings"))
|
|
539
561
|
UpdateClusterSlurmConfigurationRequest.add_member(:accounting, Shapes::ShapeRef.new(shape: UpdateAccountingRequest, location_name: "accounting"))
|
|
540
562
|
UpdateClusterSlurmConfigurationRequest.add_member(:slurm_rest, Shapes::ShapeRef.new(shape: UpdateSlurmRestRequest, location_name: "slurmRest"))
|
|
541
563
|
UpdateClusterSlurmConfigurationRequest.struct_class = Types::UpdateClusterSlurmConfigurationRequest
|
data/lib/aws-sdk-pcs/types.rb
CHANGED
|
@@ -104,6 +104,39 @@ module Aws::PCS
|
|
|
104
104
|
include Aws::Structure
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
+
# Additional settings that directly map to Cgroup settings.
|
|
108
|
+
#
|
|
109
|
+
# PCS supports a subset of Cgroup settings. For more information, see
|
|
110
|
+
# [Configuring custom Cgroup settings in PCS][1] in the *PCS User
|
|
111
|
+
# Guide*.
|
|
112
|
+
#
|
|
113
|
+
#
|
|
114
|
+
#
|
|
115
|
+
# [1]: https://docs.aws.amazon.com/pcs/latest/userguide/cgroup-custom-settings.html
|
|
116
|
+
#
|
|
117
|
+
# @!attribute [rw] parameter_name
|
|
118
|
+
# PCS supports custom Cgroup settings for clusters. For more
|
|
119
|
+
# information, see [Configuring custom Cgroup settings in PCS][1] in
|
|
120
|
+
# the *PCS User Guide*.
|
|
121
|
+
#
|
|
122
|
+
#
|
|
123
|
+
#
|
|
124
|
+
# [1]: https://docs.aws.amazon.com/pcs/latest/userguide/cgroup-custom-settings.html
|
|
125
|
+
# @return [String]
|
|
126
|
+
#
|
|
127
|
+
# @!attribute [rw] parameter_value
|
|
128
|
+
# The values for the configured Cgroup settings.
|
|
129
|
+
# @return [String]
|
|
130
|
+
#
|
|
131
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/CgroupCustomSetting AWS API Documentation
|
|
132
|
+
#
|
|
133
|
+
class CgroupCustomSetting < Struct.new(
|
|
134
|
+
:parameter_name,
|
|
135
|
+
:parameter_value)
|
|
136
|
+
SENSITIVE = []
|
|
137
|
+
include Aws::Structure
|
|
138
|
+
end
|
|
139
|
+
|
|
107
140
|
# The cluster resource and configuration.
|
|
108
141
|
#
|
|
109
142
|
# @!attribute [rw] name
|
|
@@ -211,6 +244,16 @@ module Aws::PCS
|
|
|
211
244
|
# settings.
|
|
212
245
|
# @return [Array<Types::SlurmCustomSetting>]
|
|
213
246
|
#
|
|
247
|
+
# @!attribute [rw] slurmdbd_custom_settings
|
|
248
|
+
# Additional SlurmDBD-specific configuration that directly maps to
|
|
249
|
+
# SlurmDBD settings.
|
|
250
|
+
# @return [Array<Types::SlurmdbdCustomSetting>]
|
|
251
|
+
#
|
|
252
|
+
# @!attribute [rw] cgroup_custom_settings
|
|
253
|
+
# Additional Cgroup-specific configuration that directly maps to
|
|
254
|
+
# Cgroup settings.
|
|
255
|
+
# @return [Array<Types::CgroupCustomSetting>]
|
|
256
|
+
#
|
|
214
257
|
# @!attribute [rw] auth_key
|
|
215
258
|
# The shared Slurm key for authentication, also known as the **cluster
|
|
216
259
|
# secret**.
|
|
@@ -234,6 +277,8 @@ module Aws::PCS
|
|
|
234
277
|
class ClusterSlurmConfiguration < Struct.new(
|
|
235
278
|
:scale_down_idle_time_in_seconds,
|
|
236
279
|
:slurm_custom_settings,
|
|
280
|
+
:slurmdbd_custom_settings,
|
|
281
|
+
:cgroup_custom_settings,
|
|
237
282
|
:auth_key,
|
|
238
283
|
:jwt_auth,
|
|
239
284
|
:accounting,
|
|
@@ -255,6 +300,16 @@ module Aws::PCS
|
|
|
255
300
|
# settings.
|
|
256
301
|
# @return [Array<Types::SlurmCustomSetting>]
|
|
257
302
|
#
|
|
303
|
+
# @!attribute [rw] slurmdbd_custom_settings
|
|
304
|
+
# Additional SlurmDBD-specific configuration that directly maps to
|
|
305
|
+
# SlurmDBD settings.
|
|
306
|
+
# @return [Array<Types::SlurmdbdCustomSetting>]
|
|
307
|
+
#
|
|
308
|
+
# @!attribute [rw] cgroup_custom_settings
|
|
309
|
+
# Additional Cgroup-specific configuration that directly maps to
|
|
310
|
+
# Cgroup settings.
|
|
311
|
+
# @return [Array<Types::CgroupCustomSetting>]
|
|
312
|
+
#
|
|
258
313
|
# @!attribute [rw] accounting
|
|
259
314
|
# The accounting configuration includes configurable settings for
|
|
260
315
|
# Slurm accounting.
|
|
@@ -269,6 +324,8 @@ module Aws::PCS
|
|
|
269
324
|
class ClusterSlurmConfigurationRequest < Struct.new(
|
|
270
325
|
:scale_down_idle_time_in_seconds,
|
|
271
326
|
:slurm_custom_settings,
|
|
327
|
+
:slurmdbd_custom_settings,
|
|
328
|
+
:cgroup_custom_settings,
|
|
272
329
|
:accounting,
|
|
273
330
|
:slurm_rest)
|
|
274
331
|
SENSITIVE = []
|
|
@@ -1764,7 +1821,7 @@ module Aws::PCS
|
|
|
1764
1821
|
# manage cluster scaling and job scheduling. For more information, see
|
|
1765
1822
|
# [Slurm versions in PCS][1] in the *PCS User Guide*.
|
|
1766
1823
|
#
|
|
1767
|
-
# Valid Values: `23.11 | 24.05 | 24.11`
|
|
1824
|
+
# Valid Values: `23.11 | 24.05 | 24.11 | 25.05`
|
|
1768
1825
|
#
|
|
1769
1826
|
#
|
|
1770
1827
|
#
|
|
@@ -1792,7 +1849,7 @@ module Aws::PCS
|
|
|
1792
1849
|
# manage cluster scaling and job scheduling. For more information, see
|
|
1793
1850
|
# [Slurm versions in PCS][1] in the *PCS User Guide*.
|
|
1794
1851
|
#
|
|
1795
|
-
# Valid Values: `
|
|
1852
|
+
# Valid Values: `24.11 | 25.05`
|
|
1796
1853
|
#
|
|
1797
1854
|
#
|
|
1798
1855
|
#
|
|
@@ -1948,6 +2005,39 @@ module Aws::PCS
|
|
|
1948
2005
|
include Aws::Structure
|
|
1949
2006
|
end
|
|
1950
2007
|
|
|
2008
|
+
# Additional settings that directly map to SlurmDBD settings.
|
|
2009
|
+
#
|
|
2010
|
+
# PCS supports a subset of SlurmDBD settings. For more information, see
|
|
2011
|
+
# [Configuring custom SlurmDBD settings in PCS][1] in the *PCS User
|
|
2012
|
+
# Guide*.
|
|
2013
|
+
#
|
|
2014
|
+
#
|
|
2015
|
+
#
|
|
2016
|
+
# [1]: https://docs.aws.amazon.com/pcs/latest/userguide/slurmdbd-custom-settings.html
|
|
2017
|
+
#
|
|
2018
|
+
# @!attribute [rw] parameter_name
|
|
2019
|
+
# PCS supports custom SlurmDBD settings for clusters. For more
|
|
2020
|
+
# information, see [Configuring custom SlurmDBD settings in PCS][1] in
|
|
2021
|
+
# the *PCS User Guide*.
|
|
2022
|
+
#
|
|
2023
|
+
#
|
|
2024
|
+
#
|
|
2025
|
+
# [1]: https://docs.aws.amazon.com/pcs/latest/userguide/slurmdbd-custom-settings.html
|
|
2026
|
+
# @return [String]
|
|
2027
|
+
#
|
|
2028
|
+
# @!attribute [rw] parameter_value
|
|
2029
|
+
# The values for the configured SlurmDBD settings.
|
|
2030
|
+
# @return [String]
|
|
2031
|
+
#
|
|
2032
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/SlurmdbdCustomSetting AWS API Documentation
|
|
2033
|
+
#
|
|
2034
|
+
class SlurmdbdCustomSetting < Struct.new(
|
|
2035
|
+
:parameter_name,
|
|
2036
|
+
:parameter_value)
|
|
2037
|
+
SENSITIVE = []
|
|
2038
|
+
include Aws::Structure
|
|
2039
|
+
end
|
|
2040
|
+
|
|
1951
2041
|
# Additional configuration when you specify `SPOT` as the
|
|
1952
2042
|
# `purchaseOption` for the `CreateComputeNodeGroup` API action.
|
|
1953
2043
|
#
|
|
@@ -2126,6 +2216,16 @@ module Aws::PCS
|
|
|
2126
2216
|
# settings.
|
|
2127
2217
|
# @return [Array<Types::SlurmCustomSetting>]
|
|
2128
2218
|
#
|
|
2219
|
+
# @!attribute [rw] slurmdbd_custom_settings
|
|
2220
|
+
# Additional SlurmDBD-specific configuration that directly maps to
|
|
2221
|
+
# SlurmDBD settings.
|
|
2222
|
+
# @return [Array<Types::SlurmdbdCustomSetting>]
|
|
2223
|
+
#
|
|
2224
|
+
# @!attribute [rw] cgroup_custom_settings
|
|
2225
|
+
# Additional Cgroup-specific configuration that directly maps to
|
|
2226
|
+
# Cgroup settings.
|
|
2227
|
+
# @return [Array<Types::CgroupCustomSetting>]
|
|
2228
|
+
#
|
|
2129
2229
|
# @!attribute [rw] accounting
|
|
2130
2230
|
# The accounting configuration includes configurable settings for
|
|
2131
2231
|
# Slurm accounting.
|
|
@@ -2140,6 +2240,8 @@ module Aws::PCS
|
|
|
2140
2240
|
class UpdateClusterSlurmConfigurationRequest < Struct.new(
|
|
2141
2241
|
:scale_down_idle_time_in_seconds,
|
|
2142
2242
|
:slurm_custom_settings,
|
|
2243
|
+
:slurmdbd_custom_settings,
|
|
2244
|
+
:cgroup_custom_settings,
|
|
2143
2245
|
:accounting,
|
|
2144
2246
|
:slurm_rest)
|
|
2145
2247
|
SENSITIVE = []
|
data/lib/aws-sdk-pcs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -104,6 +104,18 @@ module Aws
|
|
|
104
104
|
parameter_value: ::String
|
|
105
105
|
},
|
|
106
106
|
]?,
|
|
107
|
+
slurmdbd_custom_settings: Array[
|
|
108
|
+
{
|
|
109
|
+
parameter_name: ::String,
|
|
110
|
+
parameter_value: ::String
|
|
111
|
+
},
|
|
112
|
+
]?,
|
|
113
|
+
cgroup_custom_settings: Array[
|
|
114
|
+
{
|
|
115
|
+
parameter_name: ::String,
|
|
116
|
+
parameter_value: ::String
|
|
117
|
+
},
|
|
118
|
+
]?,
|
|
107
119
|
accounting: {
|
|
108
120
|
default_purge_time_in_days: ::Integer?,
|
|
109
121
|
mode: ("STANDARD" | "NONE")
|
|
@@ -345,6 +357,18 @@ module Aws
|
|
|
345
357
|
parameter_value: ::String
|
|
346
358
|
},
|
|
347
359
|
]?,
|
|
360
|
+
slurmdbd_custom_settings: Array[
|
|
361
|
+
{
|
|
362
|
+
parameter_name: ::String,
|
|
363
|
+
parameter_value: ::String
|
|
364
|
+
},
|
|
365
|
+
]?,
|
|
366
|
+
cgroup_custom_settings: Array[
|
|
367
|
+
{
|
|
368
|
+
parameter_name: ::String,
|
|
369
|
+
parameter_value: ::String
|
|
370
|
+
},
|
|
371
|
+
]?,
|
|
348
372
|
accounting: {
|
|
349
373
|
default_purge_time_in_days: ::Integer?,
|
|
350
374
|
mode: ("STANDARD" | "NONE")?
|
data/sig/types.rbs
CHANGED
|
@@ -25,6 +25,12 @@ module Aws::PCS
|
|
|
25
25
|
SENSITIVE: []
|
|
26
26
|
end
|
|
27
27
|
|
|
28
|
+
class CgroupCustomSetting
|
|
29
|
+
attr_accessor parameter_name: ::String
|
|
30
|
+
attr_accessor parameter_value: ::String
|
|
31
|
+
SENSITIVE: []
|
|
32
|
+
end
|
|
33
|
+
|
|
28
34
|
class Cluster
|
|
29
35
|
attr_accessor name: ::String
|
|
30
36
|
attr_accessor id: ::String
|
|
@@ -44,6 +50,8 @@ module Aws::PCS
|
|
|
44
50
|
class ClusterSlurmConfiguration
|
|
45
51
|
attr_accessor scale_down_idle_time_in_seconds: ::Integer
|
|
46
52
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
53
|
+
attr_accessor slurmdbd_custom_settings: ::Array[Types::SlurmdbdCustomSetting]
|
|
54
|
+
attr_accessor cgroup_custom_settings: ::Array[Types::CgroupCustomSetting]
|
|
47
55
|
attr_accessor auth_key: Types::SlurmAuthKey
|
|
48
56
|
attr_accessor jwt_auth: Types::JwtAuth
|
|
49
57
|
attr_accessor accounting: Types::Accounting
|
|
@@ -54,6 +62,8 @@ module Aws::PCS
|
|
|
54
62
|
class ClusterSlurmConfigurationRequest
|
|
55
63
|
attr_accessor scale_down_idle_time_in_seconds: ::Integer
|
|
56
64
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
65
|
+
attr_accessor slurmdbd_custom_settings: ::Array[Types::SlurmdbdCustomSetting]
|
|
66
|
+
attr_accessor cgroup_custom_settings: ::Array[Types::CgroupCustomSetting]
|
|
57
67
|
attr_accessor accounting: Types::AccountingRequest
|
|
58
68
|
attr_accessor slurm_rest: Types::SlurmRestRequest
|
|
59
69
|
SENSITIVE: []
|
|
@@ -451,6 +461,12 @@ module Aws::PCS
|
|
|
451
461
|
SENSITIVE: []
|
|
452
462
|
end
|
|
453
463
|
|
|
464
|
+
class SlurmdbdCustomSetting
|
|
465
|
+
attr_accessor parameter_name: ::String
|
|
466
|
+
attr_accessor parameter_value: ::String
|
|
467
|
+
SENSITIVE: []
|
|
468
|
+
end
|
|
469
|
+
|
|
454
470
|
class SpotOptions
|
|
455
471
|
attr_accessor allocation_strategy: ("lowest-price" | "capacity-optimized" | "price-capacity-optimized")
|
|
456
472
|
SENSITIVE: []
|
|
@@ -501,6 +517,8 @@ module Aws::PCS
|
|
|
501
517
|
class UpdateClusterSlurmConfigurationRequest
|
|
502
518
|
attr_accessor scale_down_idle_time_in_seconds: ::Integer
|
|
503
519
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
520
|
+
attr_accessor slurmdbd_custom_settings: ::Array[Types::SlurmdbdCustomSetting]
|
|
521
|
+
attr_accessor cgroup_custom_settings: ::Array[Types::CgroupCustomSetting]
|
|
504
522
|
attr_accessor accounting: Types::UpdateAccountingRequest
|
|
505
523
|
attr_accessor slurm_rest: Types::UpdateSlurmRestRequest
|
|
506
524
|
SENSITIVE: []
|