aws-sdk-pcs 1.34.0 → 1.35.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: 95b64c5c2f0f0c0da51d7c49241656d436d2b98dbad47cc3ad4bab57df2f4e85
4
- data.tar.gz: 3a5a4c5e677e8d4110998236cad31316425ca1b75d7e7d265a662bf595c63529
3
+ metadata.gz: f0d163473e412b729d813b05c7a7721652ee5d4251d93d48e291b7a72aaf090e
4
+ data.tar.gz: ca0e9b79856f548e32edc9648477e1e63054f28c4f3ed139029a92d8431500f9
5
5
  SHA512:
6
- metadata.gz: 2886438740c754ba3c32116b7ddac81a57794325bac1efbdb5e0da6cac1f051c07a1832d28927f90142ae0ca26e8107581903e010f85ba00159b829841005878
7
- data.tar.gz: 52d96b6dd919380cce71ec6e7dbcb0c3c2d8b0dd9c1aebd90339b7dd81eb7ecace1b22095c7b04ac65c407c257897d54badd379c3b9c961535cadf5d92b33f39
6
+ metadata.gz: 0c47afdfffba260ebc9ee3a60681c03a32618ad14eddadf0230ca0222dc00cafb737c2dd79f3e4f196cf8b22873b00b6bbe6be0d94a69a41c1179ec6fb5554c1
7
+ data.tar.gz: 52da3d3b918fc2754c885ccfa08102423853c9d37c0c13cfc46ddb548fdae0b6c585b2342492a2617d50a853856b72fd81814b29feab558eb62a4d56b964de98
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.35.0 (2025-11-17)
5
+ ------------------
6
+
7
+ * Feature - Added support for the managed Slurm REST API endpoint
8
+
4
9
  1.34.0 (2025-10-22)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.34.0
1
+ 1.35.0
@@ -567,6 +567,9 @@ module Aws::PCS
567
567
  # default_purge_time_in_days: 1,
568
568
  # mode: "STANDARD", # required, accepts STANDARD, NONE
569
569
  # },
570
+ # slurm_rest: {
571
+ # mode: "STANDARD", # required, accepts STANDARD, NONE
572
+ # },
570
573
  # },
571
574
  # client_token: "SBClientToken",
572
575
  # tags: {
@@ -591,15 +594,18 @@ module Aws::PCS
591
594
  # resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
592
595
  # resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
593
596
  # resp.cluster.slurm_configuration.auth_key.secret_version #=> String
597
+ # resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_arn #=> String
598
+ # resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_version #=> String
594
599
  # resp.cluster.slurm_configuration.accounting.default_purge_time_in_days #=> Integer
595
600
  # resp.cluster.slurm_configuration.accounting.mode #=> String, one of "STANDARD", "NONE"
601
+ # resp.cluster.slurm_configuration.slurm_rest.mode #=> String, one of "STANDARD", "NONE"
596
602
  # resp.cluster.networking.subnet_ids #=> Array
597
603
  # resp.cluster.networking.subnet_ids[0] #=> String
598
604
  # resp.cluster.networking.security_group_ids #=> Array
599
605
  # resp.cluster.networking.security_group_ids[0] #=> String
600
606
  # resp.cluster.networking.network_type #=> String, one of "IPV4", "IPV6"
601
607
  # resp.cluster.endpoints #=> Array
602
- # resp.cluster.endpoints[0].type #=> String, one of "SLURMCTLD", "SLURMDBD"
608
+ # resp.cluster.endpoints[0].type #=> String, one of "SLURMCTLD", "SLURMDBD", "SLURMRESTD"
603
609
  # resp.cluster.endpoints[0].private_ip_address #=> String
604
610
  # resp.cluster.endpoints[0].public_ip_address #=> String
605
611
  # resp.cluster.endpoints[0].ipv6_address #=> String
@@ -1028,15 +1034,18 @@ module Aws::PCS
1028
1034
  # resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
1029
1035
  # resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
1030
1036
  # resp.cluster.slurm_configuration.auth_key.secret_version #=> String
1037
+ # resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_arn #=> String
1038
+ # resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_version #=> String
1031
1039
  # resp.cluster.slurm_configuration.accounting.default_purge_time_in_days #=> Integer
1032
1040
  # resp.cluster.slurm_configuration.accounting.mode #=> String, one of "STANDARD", "NONE"
1041
+ # resp.cluster.slurm_configuration.slurm_rest.mode #=> String, one of "STANDARD", "NONE"
1033
1042
  # resp.cluster.networking.subnet_ids #=> Array
1034
1043
  # resp.cluster.networking.subnet_ids[0] #=> String
1035
1044
  # resp.cluster.networking.security_group_ids #=> Array
1036
1045
  # resp.cluster.networking.security_group_ids[0] #=> String
1037
1046
  # resp.cluster.networking.network_type #=> String, one of "IPV4", "IPV6"
1038
1047
  # resp.cluster.endpoints #=> Array
1039
- # resp.cluster.endpoints[0].type #=> String, one of "SLURMCTLD", "SLURMDBD"
1048
+ # resp.cluster.endpoints[0].type #=> String, one of "SLURMCTLD", "SLURMDBD", "SLURMRESTD"
1040
1049
  # resp.cluster.endpoints[0].private_ip_address #=> String
1041
1050
  # resp.cluster.endpoints[0].public_ip_address #=> String
1042
1051
  # resp.cluster.endpoints[0].ipv6_address #=> String
@@ -1378,7 +1387,7 @@ module Aws::PCS
1378
1387
  # resp.node_id #=> String
1379
1388
  # resp.shared_secret #=> String
1380
1389
  # resp.endpoints #=> Array
1381
- # resp.endpoints[0].type #=> String, one of "SLURMCTLD", "SLURMDBD"
1390
+ # resp.endpoints[0].type #=> String, one of "SLURMCTLD", "SLURMDBD", "SLURMRESTD"
1382
1391
  # resp.endpoints[0].private_ip_address #=> String
1383
1392
  # resp.endpoints[0].public_ip_address #=> String
1384
1393
  # resp.endpoints[0].ipv6_address #=> String
@@ -1503,6 +1512,9 @@ module Aws::PCS
1503
1512
  # default_purge_time_in_days: 1,
1504
1513
  # mode: "STANDARD", # accepts STANDARD, NONE
1505
1514
  # },
1515
+ # slurm_rest: {
1516
+ # mode: "STANDARD", # accepts STANDARD, NONE
1517
+ # },
1506
1518
  # },
1507
1519
  # })
1508
1520
  #
@@ -1523,15 +1535,18 @@ module Aws::PCS
1523
1535
  # resp.cluster.slurm_configuration.slurm_custom_settings[0].parameter_value #=> String
1524
1536
  # resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
1525
1537
  # resp.cluster.slurm_configuration.auth_key.secret_version #=> String
1538
+ # resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_arn #=> String
1539
+ # resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_version #=> String
1526
1540
  # resp.cluster.slurm_configuration.accounting.default_purge_time_in_days #=> Integer
1527
1541
  # resp.cluster.slurm_configuration.accounting.mode #=> String, one of "STANDARD", "NONE"
1542
+ # resp.cluster.slurm_configuration.slurm_rest.mode #=> String, one of "STANDARD", "NONE"
1528
1543
  # resp.cluster.networking.subnet_ids #=> Array
1529
1544
  # resp.cluster.networking.subnet_ids[0] #=> String
1530
1545
  # resp.cluster.networking.security_group_ids #=> Array
1531
1546
  # resp.cluster.networking.security_group_ids[0] #=> String
1532
1547
  # resp.cluster.networking.network_type #=> String, one of "IPV4", "IPV6"
1533
1548
  # resp.cluster.endpoints #=> Array
1534
- # resp.cluster.endpoints[0].type #=> String, one of "SLURMCTLD", "SLURMDBD"
1549
+ # resp.cluster.endpoints[0].type #=> String, one of "SLURMCTLD", "SLURMDBD", "SLURMRESTD"
1535
1550
  # resp.cluster.endpoints[0].private_ip_address #=> String
1536
1551
  # resp.cluster.endpoints[0].public_ip_address #=> String
1537
1552
  # resp.cluster.endpoints[0].ipv6_address #=> String
@@ -1791,7 +1806,7 @@ module Aws::PCS
1791
1806
  tracer: tracer
1792
1807
  )
1793
1808
  context[:gem_name] = 'aws-sdk-pcs'
1794
- context[:gem_version] = '1.34.0'
1809
+ context[:gem_version] = '1.35.0'
1795
1810
  Seahorse::Client::Request.new(handlers, context)
1796
1811
  end
1797
1812
 
@@ -73,6 +73,8 @@ module Aws::PCS
73
73
  InstanceProfileArn = Shapes::StringShape.new(name: 'InstanceProfileArn')
74
74
  Integer = Shapes::IntegerShape.new(name: 'Integer')
75
75
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
76
+ JwtAuth = Shapes::StructureShape.new(name: 'JwtAuth')
77
+ JwtKey = Shapes::StructureShape.new(name: 'JwtKey')
76
78
  ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
77
79
  ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
78
80
  ListComputeNodeGroupsRequest = Shapes::StructureShape.new(name: 'ListComputeNodeGroupsRequest')
@@ -117,6 +119,9 @@ module Aws::PCS
117
119
  SlurmAuthKey = Shapes::StructureShape.new(name: 'SlurmAuthKey')
118
120
  SlurmCustomSetting = Shapes::StructureShape.new(name: 'SlurmCustomSetting')
119
121
  SlurmCustomSettings = Shapes::ListShape.new(name: 'SlurmCustomSettings')
122
+ SlurmRest = Shapes::StructureShape.new(name: 'SlurmRest')
123
+ SlurmRestMode = Shapes::StringShape.new(name: 'SlurmRestMode')
124
+ SlurmRestRequest = Shapes::StructureShape.new(name: 'SlurmRestRequest')
120
125
  SpotAllocationStrategy = Shapes::StringShape.new(name: 'SpotAllocationStrategy')
121
126
  SpotOptions = Shapes::StructureShape.new(name: 'SpotOptions')
122
127
  String = Shapes::StringShape.new(name: 'String')
@@ -127,9 +132,11 @@ module Aws::PCS
127
132
  TagKey = Shapes::StringShape.new(name: 'TagKey')
128
133
  TagKeys = Shapes::ListShape.new(name: 'TagKeys')
129
134
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
135
+ TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
130
136
  TagValue = Shapes::StringShape.new(name: 'TagValue')
131
137
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
132
138
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
139
+ UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
133
140
  UpdateAccountingRequest = Shapes::StructureShape.new(name: 'UpdateAccountingRequest')
134
141
  UpdateAccountingRequestDefaultPurgeTimeInDaysInteger = Shapes::IntegerShape.new(name: 'UpdateAccountingRequestDefaultPurgeTimeInDaysInteger')
135
142
  UpdateClusterRequest = Shapes::StructureShape.new(name: 'UpdateClusterRequest')
@@ -142,6 +149,7 @@ module Aws::PCS
142
149
  UpdateQueueRequest = Shapes::StructureShape.new(name: 'UpdateQueueRequest')
143
150
  UpdateQueueResponse = Shapes::StructureShape.new(name: 'UpdateQueueResponse')
144
151
  UpdateQueueSlurmConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateQueueSlurmConfigurationRequest')
152
+ UpdateSlurmRestRequest = Shapes::StructureShape.new(name: 'UpdateSlurmRestRequest')
145
153
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
146
154
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
147
155
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
@@ -177,12 +185,15 @@ module Aws::PCS
177
185
  ClusterSlurmConfiguration.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ClusterSlurmConfigurationScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
178
186
  ClusterSlurmConfiguration.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
179
187
  ClusterSlurmConfiguration.add_member(:auth_key, Shapes::ShapeRef.new(shape: SlurmAuthKey, location_name: "authKey"))
188
+ ClusterSlurmConfiguration.add_member(:jwt_auth, Shapes::ShapeRef.new(shape: JwtAuth, location_name: "jwtAuth"))
180
189
  ClusterSlurmConfiguration.add_member(:accounting, Shapes::ShapeRef.new(shape: Accounting, location_name: "accounting"))
190
+ ClusterSlurmConfiguration.add_member(:slurm_rest, Shapes::ShapeRef.new(shape: SlurmRest, location_name: "slurmRest"))
181
191
  ClusterSlurmConfiguration.struct_class = Types::ClusterSlurmConfiguration
182
192
 
183
193
  ClusterSlurmConfigurationRequest.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: ClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
184
194
  ClusterSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
185
195
  ClusterSlurmConfigurationRequest.add_member(:accounting, Shapes::ShapeRef.new(shape: AccountingRequest, location_name: "accounting"))
196
+ ClusterSlurmConfigurationRequest.add_member(:slurm_rest, Shapes::ShapeRef.new(shape: SlurmRestRequest, location_name: "slurmRest"))
186
197
  ClusterSlurmConfigurationRequest.struct_class = Types::ClusterSlurmConfigurationRequest
187
198
 
188
199
  ClusterSummary.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
@@ -347,6 +358,13 @@ module Aws::PCS
347
358
  InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
348
359
  InternalServerException.struct_class = Types::InternalServerException
349
360
 
361
+ JwtAuth.add_member(:jwt_key, Shapes::ShapeRef.new(shape: JwtKey, location_name: "jwtKey"))
362
+ JwtAuth.struct_class = Types::JwtAuth
363
+
364
+ JwtKey.add_member(:secret_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "secretArn"))
365
+ JwtKey.add_member(:secret_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "secretVersion"))
366
+ JwtKey.struct_class = Types::JwtKey
367
+
350
368
  ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
351
369
  ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "maxResults"))
352
370
  ListClustersRequest.struct_class = Types::ListClustersRequest
@@ -473,6 +491,12 @@ module Aws::PCS
473
491
 
474
492
  SlurmCustomSettings.member = Shapes::ShapeRef.new(shape: SlurmCustomSetting)
475
493
 
494
+ SlurmRest.add_member(:mode, Shapes::ShapeRef.new(shape: SlurmRestMode, required: true, location_name: "mode"))
495
+ SlurmRest.struct_class = Types::SlurmRest
496
+
497
+ SlurmRestRequest.add_member(:mode, Shapes::ShapeRef.new(shape: SlurmRestMode, required: true, location_name: "mode"))
498
+ SlurmRestRequest.struct_class = Types::SlurmRestRequest
499
+
476
500
  SpotOptions.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotAllocationStrategy, location_name: "allocationStrategy"))
477
501
  SpotOptions.struct_class = Types::SpotOptions
478
502
 
@@ -486,6 +510,8 @@ module Aws::PCS
486
510
  TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: RequestTagMap, required: true, location_name: "tags"))
487
511
  TagResourceRequest.struct_class = Types::TagResourceRequest
488
512
 
513
+ TagResourceResponse.struct_class = Types::TagResourceResponse
514
+
489
515
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
490
516
  ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location_name: "retryAfterSeconds"))
491
517
  ThrottlingException.struct_class = Types::ThrottlingException
@@ -494,6 +520,8 @@ module Aws::PCS
494
520
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeys, required: true, location_name: "tagKeys"))
495
521
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
496
522
 
523
+ UntagResourceResponse.struct_class = Types::UntagResourceResponse
524
+
497
525
  UpdateAccountingRequest.add_member(:default_purge_time_in_days, Shapes::ShapeRef.new(shape: UpdateAccountingRequestDefaultPurgeTimeInDaysInteger, location_name: "defaultPurgeTimeInDays"))
498
526
  UpdateAccountingRequest.add_member(:mode, Shapes::ShapeRef.new(shape: AccountingMode, location_name: "mode"))
499
527
  UpdateAccountingRequest.struct_class = Types::UpdateAccountingRequest
@@ -509,6 +537,7 @@ module Aws::PCS
509
537
  UpdateClusterSlurmConfigurationRequest.add_member(:scale_down_idle_time_in_seconds, Shapes::ShapeRef.new(shape: UpdateClusterSlurmConfigurationRequestScaleDownIdleTimeInSecondsInteger, location_name: "scaleDownIdleTimeInSeconds"))
510
538
  UpdateClusterSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
511
539
  UpdateClusterSlurmConfigurationRequest.add_member(:accounting, Shapes::ShapeRef.new(shape: UpdateAccountingRequest, location_name: "accounting"))
540
+ UpdateClusterSlurmConfigurationRequest.add_member(:slurm_rest, Shapes::ShapeRef.new(shape: UpdateSlurmRestRequest, location_name: "slurmRest"))
512
541
  UpdateClusterSlurmConfigurationRequest.struct_class = Types::UpdateClusterSlurmConfigurationRequest
513
542
 
514
543
  UpdateComputeNodeGroupRequest.add_member(:cluster_identifier, Shapes::ShapeRef.new(shape: ClusterIdentifier, required: true, location_name: "clusterIdentifier"))
@@ -543,6 +572,9 @@ module Aws::PCS
543
572
  UpdateQueueSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
544
573
  UpdateQueueSlurmConfigurationRequest.struct_class = Types::UpdateQueueSlurmConfigurationRequest
545
574
 
575
+ UpdateSlurmRestRequest.add_member(:mode, Shapes::ShapeRef.new(shape: SlurmRestMode, location_name: "mode"))
576
+ UpdateSlurmRestRequest.struct_class = Types::UpdateSlurmRestRequest
577
+
546
578
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
547
579
  ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, required: true, location_name: "reason"))
548
580
  ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
@@ -787,7 +819,7 @@ module Aws::PCS
787
819
  o.http_method = "POST"
788
820
  o.http_request_uri = "/"
789
821
  o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
790
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
822
+ o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
791
823
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
792
824
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
793
825
  end)
@@ -797,7 +829,7 @@ module Aws::PCS
797
829
  o.http_method = "POST"
798
830
  o.http_request_uri = "/"
799
831
  o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
800
- o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
832
+ o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
801
833
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
802
834
  end)
803
835
 
@@ -216,18 +216,28 @@ module Aws::PCS
216
216
  # secret**.
217
217
  # @return [Types::SlurmAuthKey]
218
218
  #
219
+ # @!attribute [rw] jwt_auth
220
+ # The JWT authentication configuration for Slurm REST API access.
221
+ # @return [Types::JwtAuth]
222
+ #
219
223
  # @!attribute [rw] accounting
220
224
  # The accounting configuration includes configurable settings for
221
225
  # Slurm accounting.
222
226
  # @return [Types::Accounting]
223
227
  #
228
+ # @!attribute [rw] slurm_rest
229
+ # The Slurm REST API configuration for the cluster.
230
+ # @return [Types::SlurmRest]
231
+ #
224
232
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ClusterSlurmConfiguration AWS API Documentation
225
233
  #
226
234
  class ClusterSlurmConfiguration < Struct.new(
227
235
  :scale_down_idle_time_in_seconds,
228
236
  :slurm_custom_settings,
229
237
  :auth_key,
230
- :accounting)
238
+ :jwt_auth,
239
+ :accounting,
240
+ :slurm_rest)
231
241
  SENSITIVE = []
232
242
  include Aws::Structure
233
243
  end
@@ -250,12 +260,17 @@ module Aws::PCS
250
260
  # Slurm accounting.
251
261
  # @return [Types::AccountingRequest]
252
262
  #
263
+ # @!attribute [rw] slurm_rest
264
+ # The Slurm REST API configuration for the cluster.
265
+ # @return [Types::SlurmRestRequest]
266
+ #
253
267
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/ClusterSlurmConfigurationRequest AWS API Documentation
254
268
  #
255
269
  class ClusterSlurmConfigurationRequest < Struct.new(
256
270
  :scale_down_idle_time_in_seconds,
257
271
  :slurm_custom_settings,
258
- :accounting)
272
+ :accounting,
273
+ :slurm_rest)
259
274
  SENSITIVE = []
260
275
  include Aws::Structure
261
276
  end
@@ -1154,6 +1169,42 @@ module Aws::PCS
1154
1169
  include Aws::Structure
1155
1170
  end
1156
1171
 
1172
+ # The JWT authentication configuration for Slurm REST API access.
1173
+ #
1174
+ # @!attribute [rw] jwt_key
1175
+ # The JWT key for Slurm REST API authentication.
1176
+ # @return [Types::JwtKey]
1177
+ #
1178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/JwtAuth AWS API Documentation
1179
+ #
1180
+ class JwtAuth < Struct.new(
1181
+ :jwt_key)
1182
+ SENSITIVE = []
1183
+ include Aws::Structure
1184
+ end
1185
+
1186
+ # The JWT key stored in AWS Secrets Manager for Slurm REST API
1187
+ # authentication.
1188
+ #
1189
+ # @!attribute [rw] secret_arn
1190
+ # The Amazon Resource Name (ARN) of the AWS Secrets Manager secret
1191
+ # containing the JWT key.
1192
+ # @return [String]
1193
+ #
1194
+ # @!attribute [rw] secret_version
1195
+ # The version of the AWS Secrets Manager secret containing the JWT
1196
+ # key.
1197
+ # @return [String]
1198
+ #
1199
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/JwtKey AWS API Documentation
1200
+ #
1201
+ class JwtKey < Struct.new(
1202
+ :secret_arn,
1203
+ :secret_version)
1204
+ SENSITIVE = []
1205
+ include Aws::Structure
1206
+ end
1207
+
1157
1208
  # @!attribute [rw] next_token
1158
1209
  # The value of `nextToken` is a unique pagination token for each page
1159
1210
  # of results returned. If `nextToken` is returned, there are more
@@ -1863,6 +1914,40 @@ module Aws::PCS
1863
1914
  include Aws::Structure
1864
1915
  end
1865
1916
 
1917
+ # The Slurm REST API configuration includes settings for enabling and
1918
+ # configuring the Slurm REST API. It's a property of the
1919
+ # **ClusterSlurmConfiguration** object.
1920
+ #
1921
+ # @!attribute [rw] mode
1922
+ # The default value for `mode` is `STANDARD`. A value of `STANDARD`
1923
+ # means the Slurm REST API is enabled.
1924
+ # @return [String]
1925
+ #
1926
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/SlurmRest AWS API Documentation
1927
+ #
1928
+ class SlurmRest < Struct.new(
1929
+ :mode)
1930
+ SENSITIVE = []
1931
+ include Aws::Structure
1932
+ end
1933
+
1934
+ # The Slurm REST API configuration includes settings for enabling and
1935
+ # configuring the Slurm REST API. It's a property of the
1936
+ # **ClusterSlurmConfiguration** object.
1937
+ #
1938
+ # @!attribute [rw] mode
1939
+ # The default value for `mode` is `STANDARD`. A value of `STANDARD`
1940
+ # means the Slurm REST API is enabled.
1941
+ # @return [String]
1942
+ #
1943
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/SlurmRestRequest AWS API Documentation
1944
+ #
1945
+ class SlurmRestRequest < Struct.new(
1946
+ :mode)
1947
+ SENSITIVE = []
1948
+ include Aws::Structure
1949
+ end
1950
+
1866
1951
  # Additional configuration when you specify `SPOT` as the
1867
1952
  # `purchaseOption` for the `CreateComputeNodeGroup` API action.
1868
1953
  #
@@ -1906,6 +1991,10 @@ module Aws::PCS
1906
1991
  include Aws::Structure
1907
1992
  end
1908
1993
 
1994
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/TagResourceResponse AWS API Documentation
1995
+ #
1996
+ class TagResourceResponse < Aws::EmptyStructure; end
1997
+
1909
1998
  # Your request exceeded a request rate quota. Check the resource's
1910
1999
  # request rate quota and try again.
1911
2000
  #
@@ -1943,6 +2032,10 @@ module Aws::PCS
1943
2032
  include Aws::Structure
1944
2033
  end
1945
2034
 
2035
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UntagResourceResponse AWS API Documentation
2036
+ #
2037
+ class UntagResourceResponse < Aws::EmptyStructure; end
2038
+
1946
2039
  # The accounting configuration includes configurable settings for Slurm
1947
2040
  # accounting.
1948
2041
  #
@@ -2038,12 +2131,17 @@ module Aws::PCS
2038
2131
  # Slurm accounting.
2039
2132
  # @return [Types::UpdateAccountingRequest]
2040
2133
  #
2134
+ # @!attribute [rw] slurm_rest
2135
+ # The Slurm REST API configuration for the cluster.
2136
+ # @return [Types::UpdateSlurmRestRequest]
2137
+ #
2041
2138
  # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateClusterSlurmConfigurationRequest AWS API Documentation
2042
2139
  #
2043
2140
  class UpdateClusterSlurmConfigurationRequest < Struct.new(
2044
2141
  :scale_down_idle_time_in_seconds,
2045
2142
  :slurm_custom_settings,
2046
- :accounting)
2143
+ :accounting,
2144
+ :slurm_rest)
2047
2145
  SENSITIVE = []
2048
2146
  include Aws::Structure
2049
2147
  end
@@ -2241,6 +2339,22 @@ module Aws::PCS
2241
2339
  include Aws::Structure
2242
2340
  end
2243
2341
 
2342
+ # The Slurm REST API configuration includes settings for enabling and
2343
+ # configuring the Slurm REST API.
2344
+ #
2345
+ # @!attribute [rw] mode
2346
+ # The default value for `mode` is `STANDARD`. A value of `STANDARD`
2347
+ # means the Slurm REST API is enabled.
2348
+ # @return [String]
2349
+ #
2350
+ # @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/UpdateSlurmRestRequest AWS API Documentation
2351
+ #
2352
+ class UpdateSlurmRestRequest < Struct.new(
2353
+ :mode)
2354
+ SENSITIVE = []
2355
+ include Aws::Structure
2356
+ end
2357
+
2244
2358
  # The request isn't valid.
2245
2359
  #
2246
2360
  # <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.34.0'
58
+ GEM_VERSION = '1.35.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -107,6 +107,9 @@ module Aws
107
107
  accounting: {
108
108
  default_purge_time_in_days: ::Integer?,
109
109
  mode: ("STANDARD" | "NONE")
110
+ }?,
111
+ slurm_rest: {
112
+ mode: ("STANDARD" | "NONE")
110
113
  }?
111
114
  },
112
115
  ?client_token: ::String,
@@ -306,19 +309,25 @@ module Aws
306
309
  ) -> _RegisterComputeNodeGroupInstanceResponseSuccess
307
310
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RegisterComputeNodeGroupInstanceResponseSuccess
308
311
 
312
+ interface _TagResourceResponseSuccess
313
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
314
+ end
309
315
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#tag_resource-instance_method
310
316
  def tag_resource: (
311
317
  resource_arn: ::String,
312
318
  tags: Hash[::String, ::String]
313
- ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
314
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
319
+ ) -> _TagResourceResponseSuccess
320
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
315
321
 
322
+ interface _UntagResourceResponseSuccess
323
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
324
+ end
316
325
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/PCS/Client.html#untag_resource-instance_method
317
326
  def untag_resource: (
318
327
  resource_arn: ::String,
319
328
  tag_keys: Array[::String]
320
- ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
321
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
329
+ ) -> _UntagResourceResponseSuccess
330
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
322
331
 
323
332
  interface _UpdateClusterResponseSuccess
324
333
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateClusterResponse]
@@ -339,6 +348,9 @@ module Aws
339
348
  accounting: {
340
349
  default_purge_time_in_days: ::Integer?,
341
350
  mode: ("STANDARD" | "NONE")?
351
+ }?,
352
+ slurm_rest: {
353
+ mode: ("STANDARD" | "NONE")?
342
354
  }?
343
355
  }
344
356
  ) -> _UpdateClusterResponseSuccess
data/sig/types.rbs CHANGED
@@ -45,7 +45,9 @@ module Aws::PCS
45
45
  attr_accessor scale_down_idle_time_in_seconds: ::Integer
46
46
  attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
47
47
  attr_accessor auth_key: Types::SlurmAuthKey
48
+ attr_accessor jwt_auth: Types::JwtAuth
48
49
  attr_accessor accounting: Types::Accounting
50
+ attr_accessor slurm_rest: Types::SlurmRest
49
51
  SENSITIVE: []
50
52
  end
51
53
 
@@ -53,6 +55,7 @@ module Aws::PCS
53
55
  attr_accessor scale_down_idle_time_in_seconds: ::Integer
54
56
  attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
55
57
  attr_accessor accounting: Types::AccountingRequest
58
+ attr_accessor slurm_rest: Types::SlurmRestRequest
56
59
  SENSITIVE: []
57
60
  end
58
61
 
@@ -209,7 +212,7 @@ module Aws::PCS
209
212
  end
210
213
 
211
214
  class Endpoint
212
- attr_accessor type: ("SLURMCTLD" | "SLURMDBD")
215
+ attr_accessor type: ("SLURMCTLD" | "SLURMDBD" | "SLURMRESTD")
213
216
  attr_accessor private_ip_address: ::String
214
217
  attr_accessor public_ip_address: ::String
215
218
  attr_accessor ipv6_address: ::String
@@ -265,6 +268,17 @@ module Aws::PCS
265
268
  SENSITIVE: []
266
269
  end
267
270
 
271
+ class JwtAuth
272
+ attr_accessor jwt_key: Types::JwtKey
273
+ SENSITIVE: []
274
+ end
275
+
276
+ class JwtKey
277
+ attr_accessor secret_arn: ::String
278
+ attr_accessor secret_version: ::String
279
+ SENSITIVE: []
280
+ end
281
+
268
282
  class ListClustersRequest
269
283
  attr_accessor next_token: ::String
270
284
  attr_accessor max_results: ::Integer
@@ -427,6 +441,16 @@ module Aws::PCS
427
441
  SENSITIVE: []
428
442
  end
429
443
 
444
+ class SlurmRest
445
+ attr_accessor mode: ("STANDARD" | "NONE")
446
+ SENSITIVE: []
447
+ end
448
+
449
+ class SlurmRestRequest
450
+ attr_accessor mode: ("STANDARD" | "NONE")
451
+ SENSITIVE: []
452
+ end
453
+
430
454
  class SpotOptions
431
455
  attr_accessor allocation_strategy: ("lowest-price" | "capacity-optimized" | "price-capacity-optimized")
432
456
  SENSITIVE: []
@@ -438,6 +462,9 @@ module Aws::PCS
438
462
  SENSITIVE: []
439
463
  end
440
464
 
465
+ class TagResourceResponse < Aws::EmptyStructure
466
+ end
467
+
441
468
  class ThrottlingException
442
469
  attr_accessor message: ::String
443
470
  attr_accessor retry_after_seconds: ::Integer
@@ -450,6 +477,9 @@ module Aws::PCS
450
477
  SENSITIVE: []
451
478
  end
452
479
 
480
+ class UntagResourceResponse < Aws::EmptyStructure
481
+ end
482
+
453
483
  class UpdateAccountingRequest
454
484
  attr_accessor default_purge_time_in_days: ::Integer
455
485
  attr_accessor mode: ("STANDARD" | "NONE")
@@ -472,6 +502,7 @@ module Aws::PCS
472
502
  attr_accessor scale_down_idle_time_in_seconds: ::Integer
473
503
  attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
474
504
  attr_accessor accounting: Types::UpdateAccountingRequest
505
+ attr_accessor slurm_rest: Types::UpdateSlurmRestRequest
475
506
  SENSITIVE: []
476
507
  end
477
508
 
@@ -519,6 +550,11 @@ module Aws::PCS
519
550
  SENSITIVE: []
520
551
  end
521
552
 
553
+ class UpdateSlurmRestRequest
554
+ attr_accessor mode: ("STANDARD" | "NONE")
555
+ SENSITIVE: []
556
+ end
557
+
522
558
  class ValidationException
523
559
  attr_accessor message: ::String
524
560
  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.34.0
4
+ version: 1.35.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services