aws-sdk-pcs 1.67.0 → 1.68.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 +41 -1
- data/lib/aws-sdk-pcs/client_api.rb +23 -0
- data/lib/aws-sdk-pcs/types.rb +88 -0
- data/lib/aws-sdk-pcs.rb +1 -1
- data/sig/client.rbs +6 -0
- data/sig/params.rbs +10 -0
- data/sig/types.rbs +17 -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: 82f76b49a0f65f3d25ff1d73339d6b634d7d1c86c6313fef04c2077944604447
|
|
4
|
+
data.tar.gz: 3f45ae3f3bd17135cf158925228aa1b85e4279d5c85459b50fa82e36d48d2192
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 878c1f89d19d03859f5fe8dce85acb581c863a77e97a7cd8e0a7e849434d275ab76c2f717a69079fb42d851c7fa9db752c46b47cacdebfdfbae543c7ee29d455
|
|
7
|
+
data.tar.gz: d53b98c6aff6e39064fbd34a4bd8fa9fb6369f09b8e59e452082ab6d96b83d4bbc668d00a3e01a6bb829b10a5ddd9ebbef8c93b57a988994ae6b4135ff13c022
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.68.0
|
data/lib/aws-sdk-pcs/client.rb
CHANGED
|
@@ -581,6 +581,17 @@ module Aws::PCS
|
|
|
581
581
|
# parameter_value: "String", # required
|
|
582
582
|
# },
|
|
583
583
|
# ],
|
|
584
|
+
# job_submit_plugins: [
|
|
585
|
+
# {
|
|
586
|
+
# name: "JobSubmitPluginNameString", # required
|
|
587
|
+
# type: "STARLARK", # required, accepts STARLARK
|
|
588
|
+
# script_source: { # required
|
|
589
|
+
# script_location: "JobSubmitScriptSourceScriptLocationString", # required
|
|
590
|
+
# s3_version_id: "JobSubmitScriptSourceS3VersionIdString",
|
|
591
|
+
# checksum: "JobSubmitScriptSourceChecksumString",
|
|
592
|
+
# },
|
|
593
|
+
# },
|
|
594
|
+
# ],
|
|
584
595
|
# accounting: {
|
|
585
596
|
# default_purge_time_in_days: 1,
|
|
586
597
|
# mode: "STANDARD", # required, accepts STANDARD, NONE
|
|
@@ -616,6 +627,12 @@ module Aws::PCS
|
|
|
616
627
|
# resp.cluster.slurm_configuration.cgroup_custom_settings #=> Array
|
|
617
628
|
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_name #=> String
|
|
618
629
|
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_value #=> String
|
|
630
|
+
# resp.cluster.slurm_configuration.job_submit_plugins #=> Array
|
|
631
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].name #=> String
|
|
632
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].type #=> String, one of "STARLARK"
|
|
633
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].script_source.script_location #=> String
|
|
634
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].script_source.s3_version_id #=> String
|
|
635
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].script_source.checksum #=> String
|
|
619
636
|
# resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
|
|
620
637
|
# resp.cluster.slurm_configuration.auth_key.secret_version #=> String
|
|
621
638
|
# resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_arn #=> String
|
|
@@ -1189,6 +1206,12 @@ module Aws::PCS
|
|
|
1189
1206
|
# resp.cluster.slurm_configuration.cgroup_custom_settings #=> Array
|
|
1190
1207
|
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_name #=> String
|
|
1191
1208
|
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_value #=> String
|
|
1209
|
+
# resp.cluster.slurm_configuration.job_submit_plugins #=> Array
|
|
1210
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].name #=> String
|
|
1211
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].type #=> String, one of "STARLARK"
|
|
1212
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].script_source.script_location #=> String
|
|
1213
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].script_source.s3_version_id #=> String
|
|
1214
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].script_source.checksum #=> String
|
|
1192
1215
|
# resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
|
|
1193
1216
|
# resp.cluster.slurm_configuration.auth_key.secret_version #=> String
|
|
1194
1217
|
# resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_arn #=> String
|
|
@@ -1747,6 +1770,17 @@ module Aws::PCS
|
|
|
1747
1770
|
# parameter_value: "String", # required
|
|
1748
1771
|
# },
|
|
1749
1772
|
# ],
|
|
1773
|
+
# job_submit_plugins: [
|
|
1774
|
+
# {
|
|
1775
|
+
# name: "JobSubmitPluginNameString", # required
|
|
1776
|
+
# type: "STARLARK", # required, accepts STARLARK
|
|
1777
|
+
# script_source: { # required
|
|
1778
|
+
# script_location: "JobSubmitScriptSourceScriptLocationString", # required
|
|
1779
|
+
# s3_version_id: "JobSubmitScriptSourceS3VersionIdString",
|
|
1780
|
+
# checksum: "JobSubmitScriptSourceChecksumString",
|
|
1781
|
+
# },
|
|
1782
|
+
# },
|
|
1783
|
+
# ],
|
|
1750
1784
|
# accounting: {
|
|
1751
1785
|
# default_purge_time_in_days: 1,
|
|
1752
1786
|
# mode: "STANDARD", # accepts STANDARD, NONE
|
|
@@ -1781,6 +1815,12 @@ module Aws::PCS
|
|
|
1781
1815
|
# resp.cluster.slurm_configuration.cgroup_custom_settings #=> Array
|
|
1782
1816
|
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_name #=> String
|
|
1783
1817
|
# resp.cluster.slurm_configuration.cgroup_custom_settings[0].parameter_value #=> String
|
|
1818
|
+
# resp.cluster.slurm_configuration.job_submit_plugins #=> Array
|
|
1819
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].name #=> String
|
|
1820
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].type #=> String, one of "STARLARK"
|
|
1821
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].script_source.script_location #=> String
|
|
1822
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].script_source.s3_version_id #=> String
|
|
1823
|
+
# resp.cluster.slurm_configuration.job_submit_plugins[0].script_source.checksum #=> String
|
|
1784
1824
|
# resp.cluster.slurm_configuration.auth_key.secret_arn #=> String
|
|
1785
1825
|
# resp.cluster.slurm_configuration.auth_key.secret_version #=> String
|
|
1786
1826
|
# resp.cluster.slurm_configuration.jwt_auth.jwt_key.secret_arn #=> String
|
|
@@ -2190,7 +2230,7 @@ module Aws::PCS
|
|
|
2190
2230
|
tracer: tracer
|
|
2191
2231
|
)
|
|
2192
2232
|
context[:gem_name] = 'aws-sdk-pcs'
|
|
2193
|
-
context[:gem_version] = '1.
|
|
2233
|
+
context[:gem_version] = '1.68.0'
|
|
2194
2234
|
Seahorse::Client::Request.new(handlers, context)
|
|
2195
2235
|
end
|
|
2196
2236
|
|
|
@@ -81,6 +81,14 @@ module Aws::PCS
|
|
|
81
81
|
InstanceProfileArn = Shapes::StringShape.new(name: 'InstanceProfileArn')
|
|
82
82
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
|
83
83
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
|
84
|
+
JobSubmitPlugin = Shapes::StructureShape.new(name: 'JobSubmitPlugin')
|
|
85
|
+
JobSubmitPluginList = Shapes::ListShape.new(name: 'JobSubmitPluginList')
|
|
86
|
+
JobSubmitPluginNameString = Shapes::StringShape.new(name: 'JobSubmitPluginNameString')
|
|
87
|
+
JobSubmitPluginType = Shapes::StringShape.new(name: 'JobSubmitPluginType')
|
|
88
|
+
JobSubmitScriptSource = Shapes::StructureShape.new(name: 'JobSubmitScriptSource')
|
|
89
|
+
JobSubmitScriptSourceChecksumString = Shapes::StringShape.new(name: 'JobSubmitScriptSourceChecksumString')
|
|
90
|
+
JobSubmitScriptSourceS3VersionIdString = Shapes::StringShape.new(name: 'JobSubmitScriptSourceS3VersionIdString')
|
|
91
|
+
JobSubmitScriptSourceScriptLocationString = Shapes::StringShape.new(name: 'JobSubmitScriptSourceScriptLocationString')
|
|
84
92
|
JwtAuth = Shapes::StructureShape.new(name: 'JwtAuth')
|
|
85
93
|
JwtKey = Shapes::StructureShape.new(name: 'JwtKey')
|
|
86
94
|
KeyPairName = Shapes::StringShape.new(name: 'KeyPairName')
|
|
@@ -223,6 +231,7 @@ module Aws::PCS
|
|
|
223
231
|
ClusterSlurmConfiguration.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
224
232
|
ClusterSlurmConfiguration.add_member(:slurmdbd_custom_settings, Shapes::ShapeRef.new(shape: SlurmdbdCustomSettings, location_name: "slurmdbdCustomSettings"))
|
|
225
233
|
ClusterSlurmConfiguration.add_member(:cgroup_custom_settings, Shapes::ShapeRef.new(shape: CgroupCustomSettings, location_name: "cgroupCustomSettings"))
|
|
234
|
+
ClusterSlurmConfiguration.add_member(:job_submit_plugins, Shapes::ShapeRef.new(shape: JobSubmitPluginList, location_name: "jobSubmitPlugins"))
|
|
226
235
|
ClusterSlurmConfiguration.add_member(:auth_key, Shapes::ShapeRef.new(shape: SlurmAuthKey, location_name: "authKey"))
|
|
227
236
|
ClusterSlurmConfiguration.add_member(:jwt_auth, Shapes::ShapeRef.new(shape: JwtAuth, location_name: "jwtAuth"))
|
|
228
237
|
ClusterSlurmConfiguration.add_member(:accounting, Shapes::ShapeRef.new(shape: Accounting, location_name: "accounting"))
|
|
@@ -233,6 +242,7 @@ module Aws::PCS
|
|
|
233
242
|
ClusterSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
234
243
|
ClusterSlurmConfigurationRequest.add_member(:slurmdbd_custom_settings, Shapes::ShapeRef.new(shape: SlurmdbdCustomSettings, location_name: "slurmdbdCustomSettings"))
|
|
235
244
|
ClusterSlurmConfigurationRequest.add_member(:cgroup_custom_settings, Shapes::ShapeRef.new(shape: CgroupCustomSettings, location_name: "cgroupCustomSettings"))
|
|
245
|
+
ClusterSlurmConfigurationRequest.add_member(:job_submit_plugins, Shapes::ShapeRef.new(shape: JobSubmitPluginList, location_name: "jobSubmitPlugins"))
|
|
236
246
|
ClusterSlurmConfigurationRequest.add_member(:accounting, Shapes::ShapeRef.new(shape: AccountingRequest, location_name: "accounting"))
|
|
237
247
|
ClusterSlurmConfigurationRequest.add_member(:slurm_rest, Shapes::ShapeRef.new(shape: SlurmRestRequest, location_name: "slurmRest"))
|
|
238
248
|
ClusterSlurmConfigurationRequest.struct_class = Types::ClusterSlurmConfigurationRequest
|
|
@@ -416,6 +426,18 @@ module Aws::PCS
|
|
|
416
426
|
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
417
427
|
InternalServerException.struct_class = Types::InternalServerException
|
|
418
428
|
|
|
429
|
+
JobSubmitPlugin.add_member(:name, Shapes::ShapeRef.new(shape: JobSubmitPluginNameString, required: true, location_name: "name"))
|
|
430
|
+
JobSubmitPlugin.add_member(:type, Shapes::ShapeRef.new(shape: JobSubmitPluginType, required: true, location_name: "type"))
|
|
431
|
+
JobSubmitPlugin.add_member(:script_source, Shapes::ShapeRef.new(shape: JobSubmitScriptSource, required: true, location_name: "scriptSource"))
|
|
432
|
+
JobSubmitPlugin.struct_class = Types::JobSubmitPlugin
|
|
433
|
+
|
|
434
|
+
JobSubmitPluginList.member = Shapes::ShapeRef.new(shape: JobSubmitPlugin)
|
|
435
|
+
|
|
436
|
+
JobSubmitScriptSource.add_member(:script_location, Shapes::ShapeRef.new(shape: JobSubmitScriptSourceScriptLocationString, required: true, location_name: "scriptLocation"))
|
|
437
|
+
JobSubmitScriptSource.add_member(:s3_version_id, Shapes::ShapeRef.new(shape: JobSubmitScriptSourceS3VersionIdString, location_name: "s3VersionId"))
|
|
438
|
+
JobSubmitScriptSource.add_member(:checksum, Shapes::ShapeRef.new(shape: JobSubmitScriptSourceChecksumString, location_name: "checksum"))
|
|
439
|
+
JobSubmitScriptSource.struct_class = Types::JobSubmitScriptSource
|
|
440
|
+
|
|
419
441
|
JwtAuth.add_member(:jwt_key, Shapes::ShapeRef.new(shape: JwtKey, location_name: "jwtKey"))
|
|
420
442
|
JwtAuth.struct_class = Types::JwtAuth
|
|
421
443
|
|
|
@@ -638,6 +660,7 @@ module Aws::PCS
|
|
|
638
660
|
UpdateClusterSlurmConfigurationRequest.add_member(:slurm_custom_settings, Shapes::ShapeRef.new(shape: SlurmCustomSettings, location_name: "slurmCustomSettings"))
|
|
639
661
|
UpdateClusterSlurmConfigurationRequest.add_member(:slurmdbd_custom_settings, Shapes::ShapeRef.new(shape: SlurmdbdCustomSettings, location_name: "slurmdbdCustomSettings"))
|
|
640
662
|
UpdateClusterSlurmConfigurationRequest.add_member(:cgroup_custom_settings, Shapes::ShapeRef.new(shape: CgroupCustomSettings, location_name: "cgroupCustomSettings"))
|
|
663
|
+
UpdateClusterSlurmConfigurationRequest.add_member(:job_submit_plugins, Shapes::ShapeRef.new(shape: JobSubmitPluginList, location_name: "jobSubmitPlugins"))
|
|
641
664
|
UpdateClusterSlurmConfigurationRequest.add_member(:accounting, Shapes::ShapeRef.new(shape: UpdateAccountingRequest, location_name: "accounting"))
|
|
642
665
|
UpdateClusterSlurmConfigurationRequest.add_member(:slurm_rest, Shapes::ShapeRef.new(shape: UpdateSlurmRestRequest, location_name: "slurmRest"))
|
|
643
666
|
UpdateClusterSlurmConfigurationRequest.struct_class = Types::UpdateClusterSlurmConfigurationRequest
|
data/lib/aws-sdk-pcs/types.rb
CHANGED
|
@@ -254,6 +254,14 @@ module Aws::PCS
|
|
|
254
254
|
# Cgroup settings.
|
|
255
255
|
# @return [Array<Types::CgroupCustomSetting>]
|
|
256
256
|
#
|
|
257
|
+
# @!attribute [rw] job_submit_plugins
|
|
258
|
+
# The job submit plugins to run on the cluster controller. Use job
|
|
259
|
+
# submit plugins to execute custom scripts during job submission and
|
|
260
|
+
# job modification to validate or modify the job's configuration.
|
|
261
|
+
# Custom scripts can accept or reject jobs based on their
|
|
262
|
+
# configuration or modify the configuration before job execution.
|
|
263
|
+
# @return [Array<Types::JobSubmitPlugin>]
|
|
264
|
+
#
|
|
257
265
|
# @!attribute [rw] auth_key
|
|
258
266
|
# The shared Slurm key for authentication, also known as the **cluster
|
|
259
267
|
# secret**.
|
|
@@ -279,6 +287,7 @@ module Aws::PCS
|
|
|
279
287
|
:slurm_custom_settings,
|
|
280
288
|
:slurmdbd_custom_settings,
|
|
281
289
|
:cgroup_custom_settings,
|
|
290
|
+
:job_submit_plugins,
|
|
282
291
|
:auth_key,
|
|
283
292
|
:jwt_auth,
|
|
284
293
|
:accounting,
|
|
@@ -310,6 +319,14 @@ module Aws::PCS
|
|
|
310
319
|
# Cgroup settings.
|
|
311
320
|
# @return [Array<Types::CgroupCustomSetting>]
|
|
312
321
|
#
|
|
322
|
+
# @!attribute [rw] job_submit_plugins
|
|
323
|
+
# The job submit plugins to run on the cluster controller. Use job
|
|
324
|
+
# submit plugins to execute custom scripts during job submission and
|
|
325
|
+
# job modification to validate or modify the job's configuration.
|
|
326
|
+
# Custom scripts can accept or reject jobs based on their
|
|
327
|
+
# configuration or modify the configuration before job execution.
|
|
328
|
+
# @return [Array<Types::JobSubmitPlugin>]
|
|
329
|
+
#
|
|
313
330
|
# @!attribute [rw] accounting
|
|
314
331
|
# The accounting configuration includes configurable settings for
|
|
315
332
|
# Slurm accounting.
|
|
@@ -326,6 +343,7 @@ module Aws::PCS
|
|
|
326
343
|
:slurm_custom_settings,
|
|
327
344
|
:slurmdbd_custom_settings,
|
|
328
345
|
:cgroup_custom_settings,
|
|
346
|
+
:job_submit_plugins,
|
|
329
347
|
:accounting,
|
|
330
348
|
:slurm_rest)
|
|
331
349
|
SENSITIVE = []
|
|
@@ -1381,6 +1399,67 @@ module Aws::PCS
|
|
|
1381
1399
|
include Aws::Structure
|
|
1382
1400
|
end
|
|
1383
1401
|
|
|
1402
|
+
# A job submit plugin configuration, including its name, runtime
|
|
1403
|
+
# language, and script source.
|
|
1404
|
+
#
|
|
1405
|
+
# @!attribute [rw] name
|
|
1406
|
+
# A unique name for the plugin. The name can be up to 64 characters
|
|
1407
|
+
# long. Valid characters are letters, numbers, spaces, underscores
|
|
1408
|
+
# (`_`), and hyphens (`-`). The first character must be a letter or a
|
|
1409
|
+
# number.
|
|
1410
|
+
# @return [String]
|
|
1411
|
+
#
|
|
1412
|
+
# @!attribute [rw] type
|
|
1413
|
+
# The runtime language used to execute the custom script. Valid
|
|
1414
|
+
# values:
|
|
1415
|
+
#
|
|
1416
|
+
# * `STARLARK` – The script uses Starlark syntax.
|
|
1417
|
+
#
|
|
1418
|
+
# ^
|
|
1419
|
+
# @return [String]
|
|
1420
|
+
#
|
|
1421
|
+
# @!attribute [rw] script_source
|
|
1422
|
+
# The source location and integrity information for the script.
|
|
1423
|
+
# @return [Types::JobSubmitScriptSource]
|
|
1424
|
+
#
|
|
1425
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/JobSubmitPlugin AWS API Documentation
|
|
1426
|
+
#
|
|
1427
|
+
class JobSubmitPlugin < Struct.new(
|
|
1428
|
+
:name,
|
|
1429
|
+
:type,
|
|
1430
|
+
:script_source)
|
|
1431
|
+
SENSITIVE = []
|
|
1432
|
+
include Aws::Structure
|
|
1433
|
+
end
|
|
1434
|
+
|
|
1435
|
+
# The source location and integrity information for the script.
|
|
1436
|
+
#
|
|
1437
|
+
# @!attribute [rw] script_location
|
|
1438
|
+
# The location of the script. Specify an Amazon S3 URI in the format
|
|
1439
|
+
# `s3://bucket-name/key`.
|
|
1440
|
+
# @return [String]
|
|
1441
|
+
#
|
|
1442
|
+
# @!attribute [rw] s3_version_id
|
|
1443
|
+
# The Amazon S3 version ID of the script. Use this value to pin the
|
|
1444
|
+
# script to a specific version in a versioned Amazon S3 bucket.
|
|
1445
|
+
# @return [String]
|
|
1446
|
+
#
|
|
1447
|
+
# @!attribute [rw] checksum
|
|
1448
|
+
# The SHA-256 checksum of the script content, as a 64-character
|
|
1449
|
+
# hexadecimal string. This value is optional. When specified, PCS uses
|
|
1450
|
+
# this value to verify the integrity of the downloaded script.
|
|
1451
|
+
# @return [String]
|
|
1452
|
+
#
|
|
1453
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/pcs-2023-02-10/JobSubmitScriptSource AWS API Documentation
|
|
1454
|
+
#
|
|
1455
|
+
class JobSubmitScriptSource < Struct.new(
|
|
1456
|
+
:script_location,
|
|
1457
|
+
:s3_version_id,
|
|
1458
|
+
:checksum)
|
|
1459
|
+
SENSITIVE = []
|
|
1460
|
+
include Aws::Structure
|
|
1461
|
+
end
|
|
1462
|
+
|
|
1384
1463
|
# The JWT authentication configuration for Slurm REST API access.
|
|
1385
1464
|
#
|
|
1386
1465
|
# @!attribute [rw] jwt_key
|
|
@@ -2590,6 +2669,14 @@ module Aws::PCS
|
|
|
2590
2669
|
# Cgroup settings.
|
|
2591
2670
|
# @return [Array<Types::CgroupCustomSetting>]
|
|
2592
2671
|
#
|
|
2672
|
+
# @!attribute [rw] job_submit_plugins
|
|
2673
|
+
# The job submit plugins to run on the cluster controller. Use job
|
|
2674
|
+
# submit plugins to execute custom scripts during job submission and
|
|
2675
|
+
# job modification to validate or modify the job's configuration.
|
|
2676
|
+
# Custom scripts can accept or reject jobs based on their
|
|
2677
|
+
# configuration or modify the configuration before job execution.
|
|
2678
|
+
# @return [Array<Types::JobSubmitPlugin>]
|
|
2679
|
+
#
|
|
2593
2680
|
# @!attribute [rw] accounting
|
|
2594
2681
|
# The accounting configuration includes configurable settings for
|
|
2595
2682
|
# Slurm accounting.
|
|
@@ -2606,6 +2693,7 @@ module Aws::PCS
|
|
|
2606
2693
|
:slurm_custom_settings,
|
|
2607
2694
|
:slurmdbd_custom_settings,
|
|
2608
2695
|
:cgroup_custom_settings,
|
|
2696
|
+
:job_submit_plugins,
|
|
2609
2697
|
:accounting,
|
|
2610
2698
|
:slurm_rest)
|
|
2611
2699
|
SENSITIVE = []
|
data/lib/aws-sdk-pcs.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -117,6 +117,9 @@ module Aws
|
|
|
117
117
|
parameter_value: ::String
|
|
118
118
|
}
|
|
119
119
|
]?,
|
|
120
|
+
job_submit_plugins: Array[
|
|
121
|
+
Params::job_submit_plugin
|
|
122
|
+
]?,
|
|
120
123
|
accounting: {
|
|
121
124
|
default_purge_time_in_days: ::Integer?,
|
|
122
125
|
mode: ("STANDARD" | "NONE")
|
|
@@ -386,6 +389,9 @@ module Aws
|
|
|
386
389
|
parameter_value: ::String
|
|
387
390
|
}
|
|
388
391
|
]?,
|
|
392
|
+
job_submit_plugins: Array[
|
|
393
|
+
Params::job_submit_plugin
|
|
394
|
+
]?,
|
|
389
395
|
accounting: {
|
|
390
396
|
default_purge_time_in_days: ::Integer?,
|
|
391
397
|
mode: ("STANDARD" | "NONE")?
|
data/sig/params.rbs
CHANGED
|
@@ -8,6 +8,16 @@
|
|
|
8
8
|
module Aws
|
|
9
9
|
module PCS
|
|
10
10
|
module Params
|
|
11
|
+
type job_submit_plugin = {
|
|
12
|
+
name: ::String,
|
|
13
|
+
type: ("STARLARK"),
|
|
14
|
+
script_source: {
|
|
15
|
+
script_location: ::String,
|
|
16
|
+
s3_version_id: ::String?,
|
|
17
|
+
checksum: ::String?
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
11
21
|
type node_lifecycle_stages = {
|
|
12
22
|
node_bootstrapped: Array[
|
|
13
23
|
Params::node_lifecycle_script
|
data/sig/types.rbs
CHANGED
|
@@ -52,6 +52,7 @@ module Aws::PCS
|
|
|
52
52
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
53
53
|
attr_accessor slurmdbd_custom_settings: ::Array[Types::SlurmdbdCustomSetting]
|
|
54
54
|
attr_accessor cgroup_custom_settings: ::Array[Types::CgroupCustomSetting]
|
|
55
|
+
attr_accessor job_submit_plugins: ::Array[Types::JobSubmitPlugin]
|
|
55
56
|
attr_accessor auth_key: Types::SlurmAuthKey
|
|
56
57
|
attr_accessor jwt_auth: Types::JwtAuth
|
|
57
58
|
attr_accessor accounting: Types::Accounting
|
|
@@ -64,6 +65,7 @@ module Aws::PCS
|
|
|
64
65
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
65
66
|
attr_accessor slurmdbd_custom_settings: ::Array[Types::SlurmdbdCustomSetting]
|
|
66
67
|
attr_accessor cgroup_custom_settings: ::Array[Types::CgroupCustomSetting]
|
|
68
|
+
attr_accessor job_submit_plugins: ::Array[Types::JobSubmitPlugin]
|
|
67
69
|
attr_accessor accounting: Types::AccountingRequest
|
|
68
70
|
attr_accessor slurm_rest: Types::SlurmRestRequest
|
|
69
71
|
SENSITIVE: []
|
|
@@ -290,6 +292,20 @@ module Aws::PCS
|
|
|
290
292
|
SENSITIVE: []
|
|
291
293
|
end
|
|
292
294
|
|
|
295
|
+
class JobSubmitPlugin
|
|
296
|
+
attr_accessor name: ::String
|
|
297
|
+
attr_accessor type: ("STARLARK")
|
|
298
|
+
attr_accessor script_source: Types::JobSubmitScriptSource
|
|
299
|
+
SENSITIVE: []
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
class JobSubmitScriptSource
|
|
303
|
+
attr_accessor script_location: ::String
|
|
304
|
+
attr_accessor s3_version_id: ::String
|
|
305
|
+
attr_accessor checksum: ::String
|
|
306
|
+
SENSITIVE: []
|
|
307
|
+
end
|
|
308
|
+
|
|
293
309
|
class JwtAuth
|
|
294
310
|
attr_accessor jwt_key: Types::JwtKey
|
|
295
311
|
SENSITIVE: []
|
|
@@ -571,6 +587,7 @@ module Aws::PCS
|
|
|
571
587
|
attr_accessor slurm_custom_settings: ::Array[Types::SlurmCustomSetting]
|
|
572
588
|
attr_accessor slurmdbd_custom_settings: ::Array[Types::SlurmdbdCustomSetting]
|
|
573
589
|
attr_accessor cgroup_custom_settings: ::Array[Types::CgroupCustomSetting]
|
|
590
|
+
attr_accessor job_submit_plugins: ::Array[Types::JobSubmitPlugin]
|
|
574
591
|
attr_accessor accounting: Types::UpdateAccountingRequest
|
|
575
592
|
attr_accessor slurm_rest: Types::UpdateSlurmRestRequest
|
|
576
593
|
SENSITIVE: []
|