aws-sdk-pcs 1.18.0 → 1.19.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: c42f233b42c32fb80c44d74ddfcaa14ab436a585954e25d21ca7f5d0976f0fc7
4
- data.tar.gz: 8467063e8d210d573f1d4f14888e4178cf9963dbe22943c4bfc5935a19721ad1
3
+ metadata.gz: 3bf741f90ef49701c9ccbd2ac3ec235aa2b607ee4e859f86957bac061ee44378
4
+ data.tar.gz: baad19e0ce0d8d1cb67a4c52d60936dc146663c9632d2b32b3f07ce83b580c19
5
5
  SHA512:
6
- metadata.gz: '096ea1780bdeb8aed3e2a40675d80a416fb1ff3ed2328755c497605424f50c2a4268e40a2b301a83fc32442d59e6e5cf8676066b1735f94dfda55e2be0bd4403'
7
- data.tar.gz: c780a43f3b8487cd5299cedd43290dcbce63923cfa31bf140783fd1aed14b889f4198d395c42019ac7a9ef22e8110bc637da32bdb366a13d44865f52222d482f
6
+ metadata.gz: 035b359b9768076bcfd7168d99f07215f3bb89701788b2fedc28c99fd3cd54fb85be63add0502507b6fd33891cf0982c567d0b9c1bfe45ee068b711e5cbcaae5
7
+ data.tar.gz: cc94b4d020924354a313fe239cbd6f56079faf24c75e669db345a9ad3e14448367dfdb38d99b1c3dd07024a3d007d8292109283e590a8afee9b2c85de9640640
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.19.0 (2025-05-15)
5
+ ------------------
6
+
7
+ * Feature - This release adds support for Slurm accounting. For more information, see the Slurm accounting topic in the AWS PCS User Guide. Slurm accounting is supported for Slurm 24.11 and later. This release also adds 24.11 as a valid value for the version parameter of the Scheduler data type.
8
+
4
9
  1.18.0 (2025-05-12)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.19.0
@@ -556,6 +556,10 @@ module Aws::PCS
556
556
  # parameter_value: "String", # required
557
557
  # },
558
558
  # ],
559
+ # accounting: {
560
+ # mode: "STANDARD", # required, accepts STANDARD, NONE
561
+ # default_purge_time_in_days: 1,
562
+ # },
559
563
  # },
560
564
  # client_token: "SBClientToken",
561
565
  # tags: {
@@ -580,6 +584,8 @@ module Aws::PCS
580
584
  # resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
581
585
  # resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
582
586
  # resp.cluster.slurm_configuration.auth_key.secret_version #=> String
587
+ # resp.cluster.slurm_configuration.accounting.mode #=> String, one of "STANDARD", "NONE"
588
+ # resp.cluster.slurm_configuration.accounting.default_purge_time_in_days #=> Integer
583
589
  # resp.cluster.networking.subnet_ids #=> Array
584
590
  # resp.cluster.networking.subnet_ids[0] #=> String
585
591
  # resp.cluster.networking.security_group_ids #=> Array
@@ -1000,6 +1006,8 @@ module Aws::PCS
1000
1006
  # resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
1001
1007
  # resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
1002
1008
  # resp.cluster.slurm_configuration.auth_key.secret_version #=> String
1009
+ # resp.cluster.slurm_configuration.accounting.mode #=> String, one of "STANDARD", "NONE"
1010
+ # resp.cluster.slurm_configuration.accounting.default_purge_time_in_days #=> Integer
1003
1011
  # resp.cluster.networking.subnet_ids #=> Array
1004
1012
  # resp.cluster.networking.subnet_ids[0] #=> String
1005
1013
  # resp.cluster.networking.security_group_ids #=> Array
@@ -1315,7 +1323,7 @@ module Aws::PCS
1315
1323
 
1316
1324
  # This API action isn't intended for you to use.
1317
1325
  #
1318
- # Amazon Web Services PCS uses this API action to register the compute
1326
+ # Amazon Web Services PCS uses this API action to register the compute
1319
1327
  # nodes it launches in your account.
1320
1328
  #
1321
1329
  # @option params [required, String] :cluster_identifier
@@ -1646,7 +1654,7 @@ module Aws::PCS
1646
1654
  tracer: tracer
1647
1655
  )
1648
1656
  context[:gem_name] = 'aws-sdk-pcs'
1649
- context[:gem_version] = '1.18.0'
1657
+ context[:gem_version] = '1.19.0'
1650
1658
  Seahorse::Client::Request.new(handlers, context)
1651
1659
  end
1652
1660
 
@@ -15,6 +15,11 @@ module Aws::PCS
15
15
  include Seahorse::Model
16
16
 
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ Accounting = Shapes::StructureShape.new(name: 'Accounting')
19
+ AccountingDefaultPurgeTimeInDaysInteger = Shapes::IntegerShape.new(name: 'AccountingDefaultPurgeTimeInDaysInteger')
20
+ AccountingMode = Shapes::StringShape.new(name: 'AccountingMode')
21
+ AccountingRequest = Shapes::StructureShape.new(name: 'AccountingRequest')
22
+ AccountingRequestDefaultPurgeTimeInDaysInteger = Shapes::IntegerShape.new(name: 'AccountingRequestDefaultPurgeTimeInDaysInteger')
18
23
  AmiId = Shapes::StringShape.new(name: 'AmiId')
19
24
  Arn = Shapes::StringShape.new(name: 'Arn')
20
25
  BootstrapId = Shapes::StringShape.new(name: 'BootstrapId')
@@ -135,6 +140,14 @@ module Aws::PCS
135
140
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
136
141
  AccessDeniedException.struct_class = Types::AccessDeniedException
137
142
 
143
+ Accounting.add_member(:mode, Shapes::ShapeRef.new(shape: AccountingMode, required: true, location_name: "mode"))
144
+ Accounting.add_member(:default_purge_time_in_days, Shapes::ShapeRef.new(shape: AccountingDefaultPurgeTimeInDaysInteger, location_name: "defaultPurgeTimeInDays"))
145
+ Accounting.struct_class = Types::Accounting
146
+
147
+ AccountingRequest.add_member(:mode, Shapes::ShapeRef.new(shape: AccountingMode, required: true, location_name: "mode"))
148
+ AccountingRequest.add_member(:default_purge_time_in_days, Shapes::ShapeRef.new(shape: AccountingRequestDefaultPurgeTimeInDaysInteger, location_name: "defaultPurgeTimeInDays"))
149
+ AccountingRequest.struct_class = Types::AccountingRequest
150
+
138
151
  Cluster.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
139
152
  Cluster.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
140
153
  Cluster.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
@@ -154,10 +167,12 @@ module Aws::PCS
154
167
  ClusterSlurmConfiguration.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ClusterSlurmConfigurationScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
155
168
  ClusterSlurmConfiguration.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
156
169
  ClusterSlurmConfiguration.add_member(:auth_key, Shapes::ShapeRef.new(shape: SlurmAuthKey, location_name: "authKey"))
170
+ ClusterSlurmConfiguration.add_member(:accounting, Shapes::ShapeRef.new(shape: Accounting, location_name: "accounting"))
157
171
  ClusterSlurmConfiguration.struct_class = Types::ClusterSlurmConfiguration
158
172
 
159
173
  ClusterSlurmConfigurationRequest.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
160
174
  ClusterSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
175
+ ClusterSlurmConfigurationRequest.add_member(:accounting, Shapes::ShapeRef.new(shape: AccountingRequest, location_name: "accounting"))
161
176
  ClusterSlurmConfigurationRequest.struct_class = Types::ClusterSlurmConfigurationRequest
162
177
 
163
178
  ClusterSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
@@ -34,6 +34,76 @@ module Aws::PCS
34
34
  include Aws::Structure
35
35
  end
36
36
 
37
+ # The accounting configuration includes configurable settings for Slurm
38
+ # accounting. It's a property of the **ClusterSlurmConfiguration**
39
+ # object.
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
+ # @!attribute [rw] default_purge_time_in_days
47
+ # The default value for all purge settings for `slurmdbd.conf`. For
48
+ # more information, see the [slurmdbd.conf documentation at
49
+ # SchedMD][1].
50
+ #
51
+ # The default value for `defaultPurgeTimeInDays` is `-1`.
52
+ #
53
+ # A value of `-1` means there is no purge time and records persist as
54
+ # long as the cluster exists.
55
+ #
56
+ # `0` isn't a valid value.
57
+ #
58
+ #
59
+ #
60
+ # [1]: https://slurm.schedmd.com/slurmdbd.conf.html
61
+ # @return [Integer]
62
+ #
63
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/Accounting AWS API Documentation
64
+ #
65
+ class Accounting < Struct.new(
66
+ :mode,
67
+ :default_purge_time_in_days)
68
+ SENSITIVE = []
69
+ include Aws::Structure
70
+ end
71
+
72
+ # The accounting configuration includes configurable settings for Slurm
73
+ # accounting. It's a property of the **ClusterSlurmConfiguration**
74
+ # object.
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
+ # @!attribute [rw] default_purge_time_in_days
82
+ # The default value for all purge settings for `slurmdbd.conf`. For
83
+ # more information, see the [slurmdbd.conf documentation at
84
+ # SchedMD][1].
85
+ #
86
+ # The default value for `defaultPurgeTimeInDays` is `-1`.
87
+ #
88
+ # A value of `-1` means there is no purge time and records persist as
89
+ # long as the cluster exists.
90
+ #
91
+ # `0` isn't a valid value.
92
+ #
93
+ #
94
+ #
95
+ # [1]: https://slurm.schedmd.com/slurmdbd.conf.html
96
+ # @return [Integer]
97
+ #
98
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/AccountingRequest AWS API Documentation
99
+ #
100
+ class AccountingRequest < Struct.new(
101
+ :mode,
102
+ :default_purge_time_in_days)
103
+ SENSITIVE = []
104
+ include Aws::Structure
105
+ end
106
+
37
107
  # The cluster resource and configuration.
38
108
  #
39
109
  # @!attribute [rw] name
@@ -133,12 +203,18 @@ module Aws::PCS
133
203
  # secret**.
134
204
  # @return [Types::SlurmAuthKey]
135
205
  #
206
+ # @!attribute [rw] accounting
207
+ # The accounting configuration includes configurable settings for
208
+ # Slurm accounting.
209
+ # @return [Types::Accounting]
210
+ #
136
211
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ClusterSlurmConfiguration AWS API Documentation
137
212
  #
138
213
  class ClusterSlurmConfiguration < Struct.new(
139
214
  :scale_down_idle_time_in_seconds,
140
215
  :slurm_custom_settings,
141
- :auth_key)
216
+ :auth_key,
217
+ :accounting)
142
218
  SENSITIVE = []
143
219
  include Aws::Structure
144
220
  end
@@ -156,11 +232,17 @@ module Aws::PCS
156
232
  # settings.
157
233
  # @return [Array<Types::SlurmCustomSetting>]
158
234
  #
235
+ # @!attribute [rw] accounting
236
+ # The accounting configuration includes configurable settings for
237
+ # Slurm accounting.
238
+ # @return [Types::AccountingRequest]
239
+ #
159
240
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ClusterSlurmConfigurationRequest AWS API Documentation
160
241
  #
161
242
  class ClusterSlurmConfigurationRequest < Struct.new(
162
243
  :scale_down_idle_time_in_seconds,
163
- :slurm_custom_settings)
244
+ :slurm_custom_settings,
245
+ :accounting)
164
246
  SENSITIVE = []
165
247
  include Aws::Structure
166
248
  end
@@ -1496,7 +1578,7 @@ module Aws::PCS
1496
1578
  # more information, see [Slurm versions in Amazon Web Services PCS][1]
1497
1579
  # in the *Amazon Web Services PCS User Guide*.
1498
1580
  #
1499
- # Valid Values: `23.11 | 24.05`
1581
+ # Valid Values: `23.11 | 24.05 | 24.11`
1500
1582
  #
1501
1583
  #
1502
1584
  #
@@ -1526,7 +1608,7 @@ module Aws::PCS
1526
1608
  # more information, see [Slurm versions in Amazon Web Services PCS][1]
1527
1609
  # in the *Amazon Web Services PCS User Guide*.
1528
1610
  #
1529
- # Valid Values: `23.11 | 24.05`
1611
+ # Valid Values: `23.11 | 24.05 | 24.11`
1530
1612
  #
1531
1613
  #
1532
1614
  #
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.18.0'
58
+ GEM_VERSION = '1.19.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -101,7 +101,11 @@ module Aws
101
101
  parameter_name: ::String,
102
102
  parameter_value: ::String
103
103
  },
104
- ]?
104
+ ]?,
105
+ accounting: {
106
+ mode: ("STANDARD" | "NONE"),
107
+ default_purge_time_in_days: ::Integer?
108
+ }?
105
109
  },
106
110
  ?client_token: ::String,
107
111
  ?tags: Hash[::String, ::String]
data/sig/types.rbs CHANGED
@@ -13,6 +13,18 @@ module Aws::PCS
13
13
  SENSITIVE: []
14
14
  end
15
15
 
16
+ class Accounting
17
+ attr_accessor mode: ("STANDARD" | "NONE")
18
+ attr_accessor default_purge_time_in_days: ::Integer
19
+ SENSITIVE: []
20
+ end
21
+
22
+ class AccountingRequest
23
+ attr_accessor mode: ("STANDARD" | "NONE")
24
+ attr_accessor default_purge_time_in_days: ::Integer
25
+ SENSITIVE: []
26
+ end
27
+
16
28
  class Cluster
17
29
  attr_accessor name: ::String
18
30
  attr_accessor id: ::String
@@ -33,12 +45,14 @@ module Aws::PCS
33
45
  attr_accessor scale_down_idle_time_in_seconds: ::Integer
34
46
  attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
35
47
  attr_accessor auth_key: Types::SlurmAuthKey
48
+ attr_accessor accounting: Types::Accounting
36
49
  SENSITIVE: []
37
50
  end
38
51
 
39
52
  class ClusterSlurmConfigurationRequest
40
53
  attr_accessor scale_down_idle_time_in_seconds: ::Integer
41
54
  attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
55
+ attr_accessor accounting: Types::AccountingRequest
42
56
  SENSITIVE: []
43
57
  end
44
58
 
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.18.0
4
+ version: 1.19.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services