aws-sdk-pcs 1.18.0 → 1.20.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: 6097c65955fa5412d3a5c72515d0ebd2845ad12c45a36debeb86da9cbf024ad2
4
+ data.tar.gz: ec22be556942dab91a374c86a19e2d1c0056b298693bbce0596c6765e9deb7eb
5
5
  SHA512:
6
- metadata.gz: '096ea1780bdeb8aed3e2a40675d80a416fb1ff3ed2328755c497605424f50c2a4268e40a2b301a83fc32442d59e6e5cf8676066b1735f94dfda55e2be0bd4403'
7
- data.tar.gz: c780a43f3b8487cd5299cedd43290dcbce63923cfa31bf140783fd1aed14b889f4198d395c42019ac7a9ef22e8110bc637da32bdb366a13d44865f52222d482f
6
+ metadata.gz: dd6dcd11120f8d2d2c2a128aa25b116cbdd546b4237a373d5f913ed910b9f7b15477f36e47203b5d024726b4422afac3e1e6392ec1cab872ff5c7112c467f245
7
+ data.tar.gz: 91597183951d9e2c1afe485d77f89ca4eaa2ae68512e336687b54b78288b9fd7181b5b83e88273a46532959475ca3bacf401b8c9dfe8ab2f4b9a45c9b467306f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.20.0 (2025-06-02)
5
+ ------------------
6
+
7
+ * Feature - Introduces SUSPENDING and SUSPENDED states for clusters, compute node groups, and queues.
8
+
9
+ 1.19.0 (2025-05-15)
10
+ ------------------
11
+
12
+ * 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.
13
+
4
14
  1.18.0 (2025-05-12)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.18.0
1
+ 1.20.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: {
@@ -568,7 +572,7 @@ module Aws::PCS
568
572
  # resp.cluster.name #=> String
569
573
  # resp.cluster.id #=> String
570
574
  # resp.cluster.arn #=> String
571
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED"
575
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "SUSPENDING", "SUSPENDED"
572
576
  # resp.cluster.created_at #=> Time
573
577
  # resp.cluster.modified_at #=> Time
574
578
  # resp.cluster.scheduler.type #=> String, one of "SLURM"
@@ -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
@@ -745,7 +751,7 @@ module Aws::PCS
745
751
  # resp.compute_node_group.cluster_id #=> String
746
752
  # resp.compute_node_group.created_at #=> Time
747
753
  # resp.compute_node_group.modified_at #=> Time
748
- # resp.compute_node_group.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "DELETED"
754
+ # resp.compute_node_group.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "DELETED", "SUSPENDING", "SUSPENDED"
749
755
  # resp.compute_node_group.ami_id #=> String
750
756
  # resp.compute_node_group.subnet_ids #=> Array
751
757
  # resp.compute_node_group.subnet_ids[0] #=> String
@@ -832,7 +838,7 @@ module Aws::PCS
832
838
  # resp.queue.cluster_id #=> String
833
839
  # resp.queue.created_at #=> Time
834
840
  # resp.queue.modified_at #=> Time
835
- # resp.queue.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED"
841
+ # resp.queue.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "SUSPENDING", "SUSPENDED"
836
842
  # resp.queue.compute_node_group_configurations #=> Array
837
843
  # resp.queue.compute_node_group_configurations[0].compute_node_group_id #=> String
838
844
  # resp.queue.error_info #=> Array
@@ -988,7 +994,7 @@ module Aws::PCS
988
994
  # resp.cluster.name #=> String
989
995
  # resp.cluster.id #=> String
990
996
  # resp.cluster.arn #=> String
991
- # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED"
997
+ # resp.cluster.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "SUSPENDING", "SUSPENDED"
992
998
  # resp.cluster.created_at #=> Time
993
999
  # resp.cluster.modified_at #=> Time
994
1000
  # resp.cluster.scheduler.type #=> String, one of "SLURM"
@@ -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
@@ -1051,7 +1059,7 @@ module Aws::PCS
1051
1059
  # resp.compute_node_group.cluster_id #=> String
1052
1060
  # resp.compute_node_group.created_at #=> Time
1053
1061
  # resp.compute_node_group.modified_at #=> Time
1054
- # resp.compute_node_group.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "DELETED"
1062
+ # resp.compute_node_group.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "DELETED", "SUSPENDING", "SUSPENDED"
1055
1063
  # resp.compute_node_group.ami_id #=> String
1056
1064
  # resp.compute_node_group.subnet_ids #=> Array
1057
1065
  # resp.compute_node_group.subnet_ids[0] #=> String
@@ -1108,7 +1116,7 @@ module Aws::PCS
1108
1116
  # resp.queue.cluster_id #=> String
1109
1117
  # resp.queue.created_at #=> Time
1110
1118
  # resp.queue.modified_at #=> Time
1111
- # resp.queue.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED"
1119
+ # resp.queue.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "SUSPENDING", "SUSPENDED"
1112
1120
  # resp.queue.compute_node_group_configurations #=> Array
1113
1121
  # resp.queue.compute_node_group_configurations[0].compute_node_group_id #=> String
1114
1122
  # resp.queue.error_info #=> Array
@@ -1162,7 +1170,7 @@ module Aws::PCS
1162
1170
  # resp.clusters[0].arn #=> String
1163
1171
  # resp.clusters[0].created_at #=> Time
1164
1172
  # resp.clusters[0].modified_at #=> Time
1165
- # resp.clusters[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED"
1173
+ # resp.clusters[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "SUSPENDING", "SUSPENDED"
1166
1174
  # resp.next_token #=> String
1167
1175
  #
1168
1176
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ListClusters AWS API Documentation
@@ -1217,7 +1225,7 @@ module Aws::PCS
1217
1225
  # resp.compute_node_groups[0].cluster_id #=> String
1218
1226
  # resp.compute_node_groups[0].created_at #=> Time
1219
1227
  # resp.compute_node_groups[0].modified_at #=> Time
1220
- # resp.compute_node_groups[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "DELETED"
1228
+ # resp.compute_node_groups[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "DELETED", "SUSPENDING", "SUSPENDED"
1221
1229
  # resp.next_token #=> String
1222
1230
  #
1223
1231
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ListComputeNodeGroups AWS API Documentation
@@ -1272,7 +1280,7 @@ module Aws::PCS
1272
1280
  # resp.queues[0].cluster_id #=> String
1273
1281
  # resp.queues[0].created_at #=> Time
1274
1282
  # resp.queues[0].modified_at #=> Time
1275
- # resp.queues[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED"
1283
+ # resp.queues[0].status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "SUSPENDING", "SUSPENDED"
1276
1284
  # resp.next_token #=> String
1277
1285
  #
1278
1286
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ListQueues AWS API Documentation
@@ -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
@@ -1533,7 +1541,7 @@ module Aws::PCS
1533
1541
  # resp.compute_node_group.cluster_id #=> String
1534
1542
  # resp.compute_node_group.created_at #=> Time
1535
1543
  # resp.compute_node_group.modified_at #=> Time
1536
- # resp.compute_node_group.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "DELETED"
1544
+ # resp.compute_node_group.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "DELETED", "SUSPENDING", "SUSPENDED"
1537
1545
  # resp.compute_node_group.ami_id #=> String
1538
1546
  # resp.compute_node_group.subnet_ids #=> Array
1539
1547
  # resp.compute_node_group.subnet_ids[0] #=> String
@@ -1612,7 +1620,7 @@ module Aws::PCS
1612
1620
  # resp.queue.cluster_id #=> String
1613
1621
  # resp.queue.created_at #=> Time
1614
1622
  # resp.queue.modified_at #=> Time
1615
- # resp.queue.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED"
1623
+ # resp.queue.status #=> String, one of "CREATING", "ACTIVE", "UPDATING", "DELETING", "CREATE_FAILED", "DELETE_FAILED", "UPDATE_FAILED", "SUSPENDING", "SUSPENDED"
1616
1624
  # resp.queue.compute_node_group_configurations #=> Array
1617
1625
  # resp.queue.compute_node_group_configurations[0].compute_node_group_id #=> String
1618
1626
  # resp.queue.error_info #=> Array
@@ -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.20.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
@@ -55,6 +125,19 @@ module Aws::PCS
55
125
  # cluster.
56
126
  #
57
127
  # </note>
128
+ #
129
+ # The resource enters the `SUSPENDING` and `SUSPENDED` states when the
130
+ # scheduler is beyond end of life and we have suspended the cluster.
131
+ # When in these states, you can't use the cluster. The cluster
132
+ # controller is down and all compute instances are terminated. The
133
+ # resources still count toward your service quotas. You can delete a
134
+ # resource if its status is `SUSPENDED`. For more information, see
135
+ # [Frequently asked questions about Slurm versions in PCS][1] in the
136
+ # *PCS User Guide*.
137
+ #
138
+ #
139
+ #
140
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html
58
141
  # @return [String]
59
142
  #
60
143
  # @!attribute [rw] created_at
@@ -133,12 +216,18 @@ module Aws::PCS
133
216
  # secret**.
134
217
  # @return [Types::SlurmAuthKey]
135
218
  #
219
+ # @!attribute [rw] accounting
220
+ # The accounting configuration includes configurable settings for
221
+ # Slurm accounting.
222
+ # @return [Types::Accounting]
223
+ #
136
224
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ClusterSlurmConfiguration AWS API Documentation
137
225
  #
138
226
  class ClusterSlurmConfiguration < Struct.new(
139
227
  :scale_down_idle_time_in_seconds,
140
228
  :slurm_custom_settings,
141
- :auth_key)
229
+ :auth_key,
230
+ :accounting)
142
231
  SENSITIVE = []
143
232
  include Aws::Structure
144
233
  end
@@ -156,11 +245,17 @@ module Aws::PCS
156
245
  # settings.
157
246
  # @return [Array<Types::SlurmCustomSetting>]
158
247
  #
248
+ # @!attribute [rw] accounting
249
+ # The accounting configuration includes configurable settings for
250
+ # Slurm accounting.
251
+ # @return [Types::AccountingRequest]
252
+ #
159
253
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ClusterSlurmConfigurationRequest AWS API Documentation
160
254
  #
161
255
  class ClusterSlurmConfigurationRequest < Struct.new(
162
256
  :scale_down_idle_time_in_seconds,
163
- :slurm_custom_settings)
257
+ :slurm_custom_settings,
258
+ :accounting)
164
259
  SENSITIVE = []
165
260
  include Aws::Structure
166
261
  end
@@ -194,6 +289,19 @@ module Aws::PCS
194
289
  # cluster.
195
290
  #
196
291
  # </note>
292
+ #
293
+ # The resource enters the `SUSPENDING` and `SUSPENDED` states when the
294
+ # scheduler is beyond end of life and we have suspended the cluster.
295
+ # When in these states, you can't use the cluster. The cluster
296
+ # controller is down and all compute instances are terminated. The
297
+ # resources still count toward your service quotas. You can delete a
298
+ # resource if its status is `SUSPENDED`. For more information, see
299
+ # [Frequently asked questions about Slurm versions in PCS][1] in the
300
+ # *PCS User Guide*.
301
+ #
302
+ #
303
+ #
304
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html
197
305
  # @return [String]
198
306
  #
199
307
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ClusterSummary AWS API Documentation
@@ -242,6 +350,19 @@ module Aws::PCS
242
350
  # compute node group.
243
351
  #
244
352
  # </note>
353
+ #
354
+ # The resource enters the `SUSPENDING` and `SUSPENDED` states when the
355
+ # scheduler is beyond end of life and we have suspended the cluster.
356
+ # When in these states, you can't use the cluster. The cluster
357
+ # controller is down and all compute instances are terminated. The
358
+ # resources still count toward your service quotas. You can delete a
359
+ # resource if its status is `SUSPENDED`. For more information, see
360
+ # [Frequently asked questions about Slurm versions in PCS][1] in the
361
+ # *PCS User Guide*.
362
+ #
363
+ #
364
+ #
365
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html
245
366
  # @return [String]
246
367
  #
247
368
  # @!attribute [rw] ami_id
@@ -412,6 +533,19 @@ module Aws::PCS
412
533
  # compute node group.
413
534
  #
414
535
  # </note>
536
+ #
537
+ # The resource enters the `SUSPENDING` and `SUSPENDED` states when the
538
+ # scheduler is beyond end of life and we have suspended the cluster.
539
+ # When in these states, you can't use the cluster. The cluster
540
+ # controller is down and all compute instances are terminated. The
541
+ # resources still count toward your service quotas. You can delete a
542
+ # resource if its status is `SUSPENDED`. For more information, see
543
+ # [Frequently asked questions about Slurm versions in PCS][1] in the
544
+ # *PCS User Guide*.
545
+ #
546
+ #
547
+ #
548
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html
415
549
  # @return [String]
416
550
  #
417
551
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ComputeNodeGroupSummary AWS API Documentation
@@ -1296,6 +1430,19 @@ module Aws::PCS
1296
1430
  # queue.
1297
1431
  #
1298
1432
  # </note>
1433
+ #
1434
+ # The resource enters the `SUSPENDING` and `SUSPENDED` states when the
1435
+ # scheduler is beyond end of life and we have suspended the cluster.
1436
+ # When in these states, you can't use the cluster. The cluster
1437
+ # controller is down and all compute instances are terminated. The
1438
+ # resources still count toward your service quotas. You can delete a
1439
+ # resource if its status is `SUSPENDED`. For more information, see
1440
+ # [Frequently asked questions about Slurm versions in PCS][1] in the
1441
+ # *PCS User Guide*.
1442
+ #
1443
+ #
1444
+ #
1445
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html
1299
1446
  # @return [String]
1300
1447
  #
1301
1448
  # @!attribute [rw] compute_node_group_configurations
@@ -1356,6 +1503,19 @@ module Aws::PCS
1356
1503
  # queue.
1357
1504
  #
1358
1505
  # </note>
1506
+ #
1507
+ # The resource enters the `SUSPENDING` and `SUSPENDED` states when the
1508
+ # scheduler is beyond end of life and we have suspended the cluster.
1509
+ # When in these states, you can't use the cluster. The cluster
1510
+ # controller is down and all compute instances are terminated. The
1511
+ # resources still count toward your service quotas. You can delete a
1512
+ # resource if its status is `SUSPENDED`. For more information, see
1513
+ # [Frequently asked questions about Slurm versions in PCS][1] in the
1514
+ # *PCS User Guide*.
1515
+ #
1516
+ #
1517
+ #
1518
+ # [1]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-versions_faq.html
1359
1519
  # @return [String]
1360
1520
  #
1361
1521
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/QueueSummary AWS API Documentation
@@ -1496,7 +1656,7 @@ module Aws::PCS
1496
1656
  # more information, see [Slurm versions in Amazon Web Services PCS][1]
1497
1657
  # in the *Amazon Web Services PCS User Guide*.
1498
1658
  #
1499
- # Valid Values: `23.11 | 24.05`
1659
+ # Valid Values: `23.11 | 24.05 | 24.11`
1500
1660
  #
1501
1661
  #
1502
1662
  #
@@ -1526,7 +1686,7 @@ module Aws::PCS
1526
1686
  # more information, see [Slurm versions in Amazon Web Services PCS][1]
1527
1687
  # in the *Amazon Web Services PCS User Guide*.
1528
1688
  #
1529
- # Valid Values: `23.11 | 24.05`
1689
+ # Valid Values: `23.11 | 24.05 | 24.11`
1530
1690
  #
1531
1691
  #
1532
1692
  #
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.20.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,11 +13,23 @@ 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
19
31
  attr_accessor arn: ::String
20
- attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED")
32
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "SUSPENDING" | "SUSPENDED")
21
33
  attr_accessor created_at: ::Time
22
34
  attr_accessor modified_at: ::Time
23
35
  attr_accessor scheduler: Types::Scheduler
@@ -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
 
@@ -48,7 +62,7 @@ module Aws::PCS
48
62
  attr_accessor arn: ::String
49
63
  attr_accessor created_at: ::Time
50
64
  attr_accessor modified_at: ::Time
51
- attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED")
65
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "SUSPENDING" | "SUSPENDED")
52
66
  SENSITIVE: []
53
67
  end
54
68
 
@@ -59,7 +73,7 @@ module Aws::PCS
59
73
  attr_accessor cluster_id: ::String
60
74
  attr_accessor created_at: ::Time
61
75
  attr_accessor modified_at: ::Time
62
- attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "DELETED")
76
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "DELETED" | "SUSPENDING" | "SUSPENDED")
63
77
  attr_accessor ami_id: ::String
64
78
  attr_accessor subnet_ids: ::Array[::String]
65
79
  attr_accessor purchase_option: ("ONDEMAND" | "SPOT")
@@ -95,7 +109,7 @@ module Aws::PCS
95
109
  attr_accessor cluster_id: ::String
96
110
  attr_accessor created_at: ::Time
97
111
  attr_accessor modified_at: ::Time
98
- attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "DELETED")
112
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "DELETED" | "SUSPENDING" | "SUSPENDED")
99
113
  SENSITIVE: []
100
114
  end
101
115
 
@@ -316,7 +330,7 @@ module Aws::PCS
316
330
  attr_accessor cluster_id: ::String
317
331
  attr_accessor created_at: ::Time
318
332
  attr_accessor modified_at: ::Time
319
- attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED")
333
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "SUSPENDING" | "SUSPENDED")
320
334
  attr_accessor compute_node_group_configurations: ::Array[Types::ComputeNodeGroupConfiguration]
321
335
  attr_accessor error_info: ::Array[Types::ErrorInfo]
322
336
  SENSITIVE: []
@@ -329,7 +343,7 @@ module Aws::PCS
329
343
  attr_accessor cluster_id: ::String
330
344
  attr_accessor created_at: ::Time
331
345
  attr_accessor modified_at: ::Time
332
- attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED")
346
+ attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "SUSPENDING" | "SUSPENDED")
333
347
  SENSITIVE: []
334
348
  end
335
349
 
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.20.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.216.0
21
+ version: 3.225.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.216.0
31
+ version: 3.225.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement
@@ -84,7 +84,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  requirements:
85
85
  - - ">="
86
86
  - !ruby/object:Gem::Version
87
- version: '2.5'
87
+ version: '2.7'
88
88
  required_rubygems_version: !ruby/object:Gem::Requirement
89
89
  requirements:
90
90
  - - ">="