aws-sdk-pcs 1.29.0 → 1.31.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pcs/client.rb +63 -63
- data/lib/aws-sdk-pcs/types.rb +86 -79
- data/lib/aws-sdk-pcs.rb +1 -1
- data/sig/client.rbs +2 -2
- data/sig/types.rbs +3 -3
- 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: 2a1facd6e9552c3fb0e0076d3471431e18d3456a7a6efd633f7ac0c724ac063b
|
4
|
+
data.tar.gz: ad76a9b3631e5476bb0f9a9129ee35f6dee997a497f915b6ef5a0ca136bd6b39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3163b755b1f1f67fb5748f7f120447549cab3f36af73a5a5a9be0f3c6d2d54cb92dc5cdb73acdaeea7300448f5e217871408a1dd121ede5f077eb590fb67a4be
|
7
|
+
data.tar.gz: 393b83de90aeef14403df4afc927c4978c262b3b315321d726ce2fa0aa82afa20b32c0329d736a588af2a06134b32d60be65c6a38dd4b63ecfae59adecfa2d22
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.31.0 (2025-09-17)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Add support for Amazon EC2 Capacity Blocks for ML
|
8
|
+
|
9
|
+
1.30.0 (2025-09-05)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Documentation-only update to add AccountingStorageEnforce to SlurmCustomSetting.
|
13
|
+
|
4
14
|
1.29.0 (2025-08-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
data/lib/aws-sdk-pcs/client.rb
CHANGED
@@ -483,16 +483,15 @@ module Aws::PCS
|
|
483
483
|
|
484
484
|
# @!group API Operations
|
485
485
|
|
486
|
-
# Creates a cluster in your account.
|
487
|
-
#
|
488
|
-
#
|
489
|
-
#
|
490
|
-
#
|
491
|
-
#
|
492
|
-
#
|
493
|
-
#
|
494
|
-
#
|
495
|
-
# per Amazon Web Services account. `CreateCluster` fails with a
|
486
|
+
# Creates a cluster in your account. PCS creates the cluster controller
|
487
|
+
# in a service-owned account. The cluster controller communicates with
|
488
|
+
# the cluster resources in your account. The subnets and security groups
|
489
|
+
# for the cluster must already exist before you use this API action.
|
490
|
+
#
|
491
|
+
# <note markdown="1"> It takes time for PCS to create the cluster. The cluster is in a
|
492
|
+
# `Creating` state until it is ready to use. There can only be 1 cluster
|
493
|
+
# in a `Creating` state per Amazon Web Services Region per Amazon Web
|
494
|
+
# Services account. `CreateCluster` fails with a
|
496
495
|
# `ServiceQuotaExceededException` if there is already a cluster in a
|
497
496
|
# `Creating` state.
|
498
497
|
#
|
@@ -619,17 +618,16 @@ module Aws::PCS
|
|
619
618
|
end
|
620
619
|
|
621
620
|
# Creates a managed set of compute nodes. You associate a compute node
|
622
|
-
# group with a cluster through 1 or more
|
623
|
-
#
|
624
|
-
#
|
625
|
-
#
|
626
|
-
#
|
627
|
-
#
|
628
|
-
#
|
629
|
-
#
|
630
|
-
#
|
631
|
-
#
|
632
|
-
# Instances*.
|
621
|
+
# group with a cluster through 1 or more PCS queues or as part of the
|
622
|
+
# login fleet. A compute node group includes the definition of the
|
623
|
+
# compute properties and lifecycle management. PCS uses the information
|
624
|
+
# you provide to this API action to launch compute nodes in your
|
625
|
+
# account. You can only specify subnets in the same Amazon VPC as your
|
626
|
+
# cluster. You receive billing charges for the compute nodes that PCS
|
627
|
+
# launches in your account. You must already have a launch template
|
628
|
+
# before you call this API. For more information, see [Launch an
|
629
|
+
# instance from a launch template][1] in the *Amazon Elastic Compute
|
630
|
+
# Cloud User Guide for Linux Instances*.
|
633
631
|
#
|
634
632
|
#
|
635
633
|
#
|
@@ -642,29 +640,30 @@ module Aws::PCS
|
|
642
640
|
# A name to identify the cluster. Example: `MyCluster`
|
643
641
|
#
|
644
642
|
# @option params [String] :ami_id
|
645
|
-
# The ID of the Amazon Machine Image (AMI) that
|
646
|
-
#
|
647
|
-
#
|
648
|
-
# in the custom launch template.
|
643
|
+
# The ID of the Amazon Machine Image (AMI) that PCS uses to launch
|
644
|
+
# compute nodes (Amazon EC2 instances). If you don't provide this
|
645
|
+
# value, PCS uses the AMI ID specified in the custom launch template.
|
649
646
|
#
|
650
647
|
# @option params [required, Array<String>] :subnet_ids
|
651
648
|
# The list of subnet IDs where the compute node group launches
|
652
649
|
# instances. Subnets must be in the same VPC as the cluster.
|
653
650
|
#
|
654
651
|
# @option params [String] :purchase_option
|
655
|
-
# Specifies how EC2 instances are purchased on your behalf.
|
656
|
-
#
|
657
|
-
# information, see [
|
658
|
-
# Elastic Compute Cloud User Guide*.
|
659
|
-
#
|
652
|
+
# Specifies how EC2 instances are purchased on your behalf. PCS supports
|
653
|
+
# On-Demand Instances, Spot Instances, and Amazon EC2 Capacity Blocks
|
654
|
+
# for ML. For more information, see [Amazon EC2 billing and purchasing
|
655
|
+
# options][1] in the *Amazon Elastic Compute Cloud User Guide*. For more
|
656
|
+
# information about PCS support for Capacity Blocks, see [Using Amazon
|
657
|
+
# EC2 Capacity Blocks for ML with PCS][2] in the *PCS User Guide*. If
|
658
|
+
# you don't provide this option, it defaults to On-Demand.
|
660
659
|
#
|
661
660
|
#
|
662
661
|
#
|
663
662
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
|
663
|
+
# [2]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html
|
664
664
|
#
|
665
665
|
# @option params [required, Types::CustomLaunchTemplate] :custom_launch_template
|
666
|
-
# An Amazon EC2 launch template
|
667
|
-
# compute nodes.
|
666
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
668
667
|
#
|
669
668
|
# @option params [required, String] :iam_instance_profile_arn
|
670
669
|
# The Amazon Resource Name (ARN) of the IAM instance profile used to
|
@@ -683,8 +682,8 @@ module Aws::PCS
|
|
683
682
|
# Specifies the boundaries of the compute node group auto scaling.
|
684
683
|
#
|
685
684
|
# @option params [required, Array<Types::InstanceConfig>] :instance_configs
|
686
|
-
# A list of EC2 instance configurations that
|
687
|
-
#
|
685
|
+
# A list of EC2 instance configurations that PCS can provision in the
|
686
|
+
# compute node group.
|
688
687
|
#
|
689
688
|
# @option params [Types::SpotOptions] :spot_options
|
690
689
|
# Additional configuration when you specify `SPOT` as the
|
@@ -720,7 +719,7 @@ module Aws::PCS
|
|
720
719
|
# compute_node_group_name: "ComputeNodeGroupName", # required
|
721
720
|
# ami_id: "AmiId",
|
722
721
|
# subnet_ids: ["String"], # required
|
723
|
-
# purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT
|
722
|
+
# purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT, CAPACITY_BLOCK
|
724
723
|
# custom_launch_template: { # required
|
725
724
|
# id: "String", # required
|
726
725
|
# version: "String", # required
|
@@ -764,7 +763,7 @@ module Aws::PCS
|
|
764
763
|
# resp.compute_node_group.ami_id #=> String
|
765
764
|
# resp.compute_node_group.subnet_ids #=> Array
|
766
765
|
# resp.compute_node_group.subnet_ids[0] #=> String
|
767
|
-
# resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT"
|
766
|
+
# resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT", "CAPACITY_BLOCK"
|
768
767
|
# resp.compute_node_group.custom_launch_template.id #=> String
|
769
768
|
# resp.compute_node_group.custom_launch_template.version #=> String
|
770
769
|
# resp.compute_node_group.iam_instance_profile_arn #=> String
|
@@ -941,8 +940,8 @@ module Aws::PCS
|
|
941
940
|
end
|
942
941
|
|
943
942
|
# Deletes a job queue. If the compute node group associated with this
|
944
|
-
# queue isn't associated with any other queues,
|
945
|
-
#
|
943
|
+
# queue isn't associated with any other queues, PCS terminates all the
|
944
|
+
# compute nodes for this queue.
|
946
945
|
#
|
947
946
|
# @option params [required, String] :cluster_identifier
|
948
947
|
# The name or ID of the cluster of the queue.
|
@@ -1074,7 +1073,7 @@ module Aws::PCS
|
|
1074
1073
|
# resp.compute_node_group.ami_id #=> String
|
1075
1074
|
# resp.compute_node_group.subnet_ids #=> Array
|
1076
1075
|
# resp.compute_node_group.subnet_ids[0] #=> String
|
1077
|
-
# resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT"
|
1076
|
+
# resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT", "CAPACITY_BLOCK"
|
1078
1077
|
# resp.compute_node_group.custom_launch_template.id #=> String
|
1079
1078
|
# resp.compute_node_group.custom_launch_template.version #=> String
|
1080
1079
|
# resp.compute_node_group.iam_instance_profile_arn #=> String
|
@@ -1303,7 +1302,7 @@ module Aws::PCS
|
|
1303
1302
|
req.send_request(options)
|
1304
1303
|
end
|
1305
1304
|
|
1306
|
-
# Returns a list of all tags on an
|
1305
|
+
# Returns a list of all tags on an PCS resource.
|
1307
1306
|
#
|
1308
1307
|
# @option params [required, String] :resource_arn
|
1309
1308
|
# The Amazon Resource Name (ARN) of the resource for which to list tags.
|
@@ -1334,8 +1333,8 @@ module Aws::PCS
|
|
1334
1333
|
|
1335
1334
|
# This API action isn't intended for you to use.
|
1336
1335
|
#
|
1337
|
-
#
|
1338
|
-
#
|
1336
|
+
# PCS uses this API action to register the compute nodes it launches in
|
1337
|
+
# your account.
|
1339
1338
|
#
|
1340
1339
|
# @option params [required, String] :cluster_identifier
|
1341
1340
|
# The name or ID of the cluster to register the compute node group
|
@@ -1377,11 +1376,11 @@ module Aws::PCS
|
|
1377
1376
|
req.send_request(options)
|
1378
1377
|
end
|
1379
1378
|
|
1380
|
-
# Adds or edits tags on an
|
1381
|
-
#
|
1382
|
-
#
|
1383
|
-
#
|
1384
|
-
#
|
1379
|
+
# Adds or edits tags on an PCS resource. Each tag consists of a tag key
|
1380
|
+
# and a tag value. The tag key and tag value are case-sensitive strings.
|
1381
|
+
# The tag value can be an empty (null) string. To add a tag, specify a
|
1382
|
+
# new tag key and a tag value. To edit a tag, specify an existing tag
|
1383
|
+
# key and a new tag value.
|
1385
1384
|
#
|
1386
1385
|
# @option params [required, String] :resource_arn
|
1387
1386
|
# The Amazon Resource Name (ARN) of the resource.
|
@@ -1410,9 +1409,8 @@ module Aws::PCS
|
|
1410
1409
|
req.send_request(options)
|
1411
1410
|
end
|
1412
1411
|
|
1413
|
-
# Deletes tags from an
|
1414
|
-
#
|
1415
|
-
# Amazon Web Services PCS resource.
|
1412
|
+
# Deletes tags from an PCS resource. To delete a tag, specify the tag
|
1413
|
+
# key and the Amazon Resource Name (ARN) of the PCS resource.
|
1416
1414
|
#
|
1417
1415
|
# @option params [required, String] :resource_arn
|
1418
1416
|
# The Amazon Resource Name (ARN) of the resource.
|
@@ -1451,28 +1449,30 @@ module Aws::PCS
|
|
1451
1449
|
# The name or ID of the compute node group.
|
1452
1450
|
#
|
1453
1451
|
# @option params [String] :ami_id
|
1454
|
-
# The ID of the Amazon Machine Image (AMI) that
|
1455
|
-
#
|
1456
|
-
#
|
1452
|
+
# The ID of the Amazon Machine Image (AMI) that PCS uses to launch
|
1453
|
+
# instances. If not provided, PCS uses the AMI ID specified in the
|
1454
|
+
# custom launch template.
|
1457
1455
|
#
|
1458
1456
|
# @option params [Array<String>] :subnet_ids
|
1459
1457
|
# The list of subnet IDs where the compute node group provisions
|
1460
1458
|
# instances. The subnets must be in the same VPC as the cluster.
|
1461
1459
|
#
|
1462
1460
|
# @option params [Types::CustomLaunchTemplate] :custom_launch_template
|
1463
|
-
# An Amazon EC2 launch template
|
1464
|
-
# compute nodes.
|
1461
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
1465
1462
|
#
|
1466
1463
|
# @option params [String] :purchase_option
|
1467
|
-
# Specifies how EC2 instances are purchased on your behalf.
|
1468
|
-
#
|
1469
|
-
# information, see [
|
1470
|
-
# Elastic Compute Cloud User Guide*.
|
1471
|
-
#
|
1464
|
+
# Specifies how EC2 instances are purchased on your behalf. PCS supports
|
1465
|
+
# On-Demand Instances, Spot Instances, and Amazon EC2 Capacity Blocks
|
1466
|
+
# for ML. For more information, see [Amazon EC2 billing and purchasing
|
1467
|
+
# options][1] in the *Amazon Elastic Compute Cloud User Guide*. For more
|
1468
|
+
# information about PCS support for Capacity Blocks, see [Using Amazon
|
1469
|
+
# EC2 Capacity Blocks for ML with PCS][2] in the *PCS User Guide*. If
|
1470
|
+
# you don't provide this option, it defaults to On-Demand.
|
1472
1471
|
#
|
1473
1472
|
#
|
1474
1473
|
#
|
1475
1474
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
|
1475
|
+
# [2]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html
|
1476
1476
|
#
|
1477
1477
|
# @option params [Types::SpotOptions] :spot_options
|
1478
1478
|
# Additional configuration when you specify `SPOT` as the
|
@@ -1524,7 +1524,7 @@ module Aws::PCS
|
|
1524
1524
|
# id: "String", # required
|
1525
1525
|
# version: "String", # required
|
1526
1526
|
# },
|
1527
|
-
# purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT
|
1527
|
+
# purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT, CAPACITY_BLOCK
|
1528
1528
|
# spot_options: {
|
1529
1529
|
# allocation_strategy: "lowest-price", # accepts lowest-price, capacity-optimized, price-capacity-optimized
|
1530
1530
|
# },
|
@@ -1556,7 +1556,7 @@ module Aws::PCS
|
|
1556
1556
|
# resp.compute_node_group.ami_id #=> String
|
1557
1557
|
# resp.compute_node_group.subnet_ids #=> Array
|
1558
1558
|
# resp.compute_node_group.subnet_ids[0] #=> String
|
1559
|
-
# resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT"
|
1559
|
+
# resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT", "CAPACITY_BLOCK"
|
1560
1560
|
# resp.compute_node_group.custom_launch_template.id #=> String
|
1561
1561
|
# resp.compute_node_group.custom_launch_template.version #=> String
|
1562
1562
|
# resp.compute_node_group.iam_instance_profile_arn #=> String
|
@@ -1665,7 +1665,7 @@ module Aws::PCS
|
|
1665
1665
|
tracer: tracer
|
1666
1666
|
)
|
1667
1667
|
context[:gem_name] = 'aws-sdk-pcs'
|
1668
|
-
context[:gem_version] = '1.
|
1668
|
+
context[:gem_version] = '1.31.0'
|
1669
1669
|
Seahorse::Client::Request.new(handlers, context)
|
1670
1670
|
end
|
1671
1671
|
|
data/lib/aws-sdk-pcs/types.rb
CHANGED
@@ -366,9 +366,9 @@ module Aws::PCS
|
|
366
366
|
# @return [String]
|
367
367
|
#
|
368
368
|
# @!attribute [rw] ami_id
|
369
|
-
# The ID of the Amazon Machine Image (AMI) that
|
370
|
-
#
|
371
|
-
#
|
369
|
+
# The ID of the Amazon Machine Image (AMI) that PCS uses to launch
|
370
|
+
# instances. If not provided, PCS uses the AMI ID specified in the
|
371
|
+
# custom launch template.
|
372
372
|
# @return [String]
|
373
373
|
#
|
374
374
|
# @!attribute [rw] subnet_ids
|
@@ -378,20 +378,23 @@ module Aws::PCS
|
|
378
378
|
# @return [Array<String>]
|
379
379
|
#
|
380
380
|
# @!attribute [rw] purchase_option
|
381
|
-
# Specifies how EC2 instances are purchased on your behalf.
|
382
|
-
#
|
383
|
-
#
|
384
|
-
#
|
385
|
-
#
|
381
|
+
# Specifies how EC2 instances are purchased on your behalf. PCS
|
382
|
+
# supports On-Demand Instances, Spot Instances, and Amazon EC2
|
383
|
+
# Capacity Blocks for ML. For more information, see [Amazon EC2
|
384
|
+
# billing and purchasing options][1] in the *Amazon Elastic Compute
|
385
|
+
# Cloud User Guide*. For more information about PCS support for
|
386
|
+
# Capacity Blocks, see [Using Amazon EC2 Capacity Blocks for ML with
|
387
|
+
# PCS][2] in the *PCS User Guide*. If you don't provide this option,
|
388
|
+
# it defaults to On-Demand.
|
386
389
|
#
|
387
390
|
#
|
388
391
|
#
|
389
392
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
|
393
|
+
# [2]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html
|
390
394
|
# @return [String]
|
391
395
|
#
|
392
396
|
# @!attribute [rw] custom_launch_template
|
393
|
-
# An Amazon EC2 launch template
|
394
|
-
# compute nodes.
|
397
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
395
398
|
# @return [Types::CustomLaunchTemplate]
|
396
399
|
#
|
397
400
|
# @!attribute [rw] iam_instance_profile_arn
|
@@ -413,8 +416,8 @@ module Aws::PCS
|
|
413
416
|
# @return [Types::ScalingConfiguration]
|
414
417
|
#
|
415
418
|
# @!attribute [rw] instance_configs
|
416
|
-
# A list of EC2 instance configurations that
|
417
|
-
#
|
419
|
+
# A list of EC2 instance configurations that PCS can provision in the
|
420
|
+
# compute node group.
|
418
421
|
# @return [Array<Types::InstanceConfig>]
|
419
422
|
#
|
420
423
|
# @!attribute [rw] spot_options
|
@@ -681,10 +684,9 @@ module Aws::PCS
|
|
681
684
|
# @return [String]
|
682
685
|
#
|
683
686
|
# @!attribute [rw] ami_id
|
684
|
-
# The ID of the Amazon Machine Image (AMI) that
|
685
|
-
#
|
686
|
-
#
|
687
|
-
# specified in the custom launch template.
|
687
|
+
# The ID of the Amazon Machine Image (AMI) that PCS uses to launch
|
688
|
+
# compute nodes (Amazon EC2 instances). If you don't provide this
|
689
|
+
# value, PCS uses the AMI ID specified in the custom launch template.
|
688
690
|
# @return [String]
|
689
691
|
#
|
690
692
|
# @!attribute [rw] subnet_ids
|
@@ -693,20 +695,23 @@ module Aws::PCS
|
|
693
695
|
# @return [Array<String>]
|
694
696
|
#
|
695
697
|
# @!attribute [rw] purchase_option
|
696
|
-
# Specifies how EC2 instances are purchased on your behalf.
|
697
|
-
#
|
698
|
-
#
|
699
|
-
#
|
700
|
-
#
|
698
|
+
# Specifies how EC2 instances are purchased on your behalf. PCS
|
699
|
+
# supports On-Demand Instances, Spot Instances, and Amazon EC2
|
700
|
+
# Capacity Blocks for ML. For more information, see [Amazon EC2
|
701
|
+
# billing and purchasing options][1] in the *Amazon Elastic Compute
|
702
|
+
# Cloud User Guide*. For more information about PCS support for
|
703
|
+
# Capacity Blocks, see [Using Amazon EC2 Capacity Blocks for ML with
|
704
|
+
# PCS][2] in the *PCS User Guide*. If you don't provide this option,
|
705
|
+
# it defaults to On-Demand.
|
701
706
|
#
|
702
707
|
#
|
703
708
|
#
|
704
709
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
|
710
|
+
# [2]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html
|
705
711
|
# @return [String]
|
706
712
|
#
|
707
713
|
# @!attribute [rw] custom_launch_template
|
708
|
-
# An Amazon EC2 launch template
|
709
|
-
# compute nodes.
|
714
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
710
715
|
# @return [Types::CustomLaunchTemplate]
|
711
716
|
#
|
712
717
|
# @!attribute [rw] iam_instance_profile_arn
|
@@ -728,8 +733,8 @@ module Aws::PCS
|
|
728
733
|
# @return [Types::ScalingConfigurationRequest]
|
729
734
|
#
|
730
735
|
# @!attribute [rw] instance_configs
|
731
|
-
# A list of EC2 instance configurations that
|
732
|
-
#
|
736
|
+
# A list of EC2 instance configurations that PCS can provision in the
|
737
|
+
# compute node group.
|
733
738
|
# @return [Array<Types::InstanceConfig>]
|
734
739
|
#
|
735
740
|
# @!attribute [rw] spot_options
|
@@ -846,8 +851,7 @@ module Aws::PCS
|
|
846
851
|
include Aws::Structure
|
847
852
|
end
|
848
853
|
|
849
|
-
# An Amazon EC2 launch template
|
850
|
-
# compute nodes.
|
854
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
851
855
|
#
|
852
856
|
# @!attribute [rw] id
|
853
857
|
# The ID of the EC2 launch template to use to provision instances.
|
@@ -1115,12 +1119,11 @@ module Aws::PCS
|
|
1115
1119
|
include Aws::Structure
|
1116
1120
|
end
|
1117
1121
|
|
1118
|
-
# An EC2 instance configuration
|
1119
|
-
# compute nodes.
|
1122
|
+
# An EC2 instance configuration PCS uses to launch compute nodes.
|
1120
1123
|
#
|
1121
1124
|
# @!attribute [rw] instance_type
|
1122
|
-
# The EC2 instance type that
|
1123
|
-
#
|
1125
|
+
# The EC2 instance type that PCS can provision in the compute node
|
1126
|
+
# group.
|
1124
1127
|
#
|
1125
1128
|
# Example: `t2.xlarge`
|
1126
1129
|
# @return [String]
|
@@ -1133,8 +1136,7 @@ module Aws::PCS
|
|
1133
1136
|
include Aws::Structure
|
1134
1137
|
end
|
1135
1138
|
|
1136
|
-
#
|
1137
|
-
# again later.
|
1139
|
+
# PCS can't process your request right now. Try again later.
|
1138
1140
|
#
|
1139
1141
|
# @!attribute [rw] message
|
1140
1142
|
# @return [String]
|
@@ -1327,11 +1329,11 @@ module Aws::PCS
|
|
1327
1329
|
# The networking configuration for the cluster's control plane.
|
1328
1330
|
#
|
1329
1331
|
# @!attribute [rw] subnet_ids
|
1330
|
-
# The ID of the subnet where
|
1331
|
-
#
|
1332
|
-
#
|
1333
|
-
#
|
1334
|
-
#
|
1332
|
+
# The ID of the subnet where PCS creates an Elastic Network Interface
|
1333
|
+
# (ENI) to enable communication between managed controllers and PCS
|
1334
|
+
# resources. The subnet must have an available IP address, cannot
|
1335
|
+
# reside in Outposts, Wavelength, or an Amazon Web Services Local
|
1336
|
+
# Zone.
|
1335
1337
|
#
|
1336
1338
|
# Example: `subnet-abcd1234`
|
1337
1339
|
# @return [Array<String>]
|
@@ -1382,16 +1384,15 @@ module Aws::PCS
|
|
1382
1384
|
# The networking configuration for the cluster's control plane.
|
1383
1385
|
#
|
1384
1386
|
# @!attribute [rw] subnet_ids
|
1385
|
-
# The list of subnet IDs where
|
1386
|
-
#
|
1387
|
-
#
|
1388
|
-
#
|
1387
|
+
# The list of subnet IDs where PCS creates an Elastic Network
|
1388
|
+
# Interface (ENI) to enable communication between managed controllers
|
1389
|
+
# and PCS resources. Subnet IDs have the form
|
1390
|
+
# `subnet-0123456789abcdef0`.
|
1389
1391
|
#
|
1390
1392
|
# Subnets can't be in Outposts, Wavelength or an Amazon Web Services
|
1391
1393
|
# Local Zone.
|
1392
1394
|
#
|
1393
|
-
# <note markdown="1">
|
1394
|
-
# list.
|
1395
|
+
# <note markdown="1"> PCS currently supports only 1 subnet in this list.
|
1395
1396
|
#
|
1396
1397
|
# </note>
|
1397
1398
|
# @return [Array<String>]
|
@@ -1664,15 +1665,13 @@ module Aws::PCS
|
|
1664
1665
|
# cluster.
|
1665
1666
|
#
|
1666
1667
|
# @!attribute [rw] type
|
1667
|
-
# The software
|
1668
|
-
# and job scheduling.
|
1668
|
+
# The software PCS uses to manage cluster scaling and job scheduling.
|
1669
1669
|
# @return [String]
|
1670
1670
|
#
|
1671
1671
|
# @!attribute [rw] version
|
1672
|
-
# The version of the specified scheduling software that
|
1673
|
-
#
|
1674
|
-
#
|
1675
|
-
# in the *Amazon Web Services PCS User Guide*.
|
1672
|
+
# The version of the specified scheduling software that PCS uses to
|
1673
|
+
# manage cluster scaling and job scheduling. For more information, see
|
1674
|
+
# [Slurm versions in PCS][1] in the *PCS User Guide*.
|
1676
1675
|
#
|
1677
1676
|
# Valid Values: `23.11 | 24.05 | 24.11`
|
1678
1677
|
#
|
@@ -1694,15 +1693,13 @@ module Aws::PCS
|
|
1694
1693
|
# cluster.
|
1695
1694
|
#
|
1696
1695
|
# @!attribute [rw] type
|
1697
|
-
# The software
|
1698
|
-
# and job scheduling.
|
1696
|
+
# The software PCS uses to manage cluster scaling and job scheduling.
|
1699
1697
|
# @return [String]
|
1700
1698
|
#
|
1701
1699
|
# @!attribute [rw] version
|
1702
|
-
# The version of the specified scheduling software that
|
1703
|
-
#
|
1704
|
-
#
|
1705
|
-
# in the *Amazon Web Services PCS User Guide*.
|
1700
|
+
# The version of the specified scheduling software that PCS uses to
|
1701
|
+
# manage cluster scaling and job scheduling. For more information, see
|
1702
|
+
# [Slurm versions in PCS][1] in the *PCS User Guide*.
|
1706
1703
|
#
|
1707
1704
|
# Valid Values: `23.11 | 24.05 | 24.11`
|
1708
1705
|
#
|
@@ -1778,7 +1775,7 @@ module Aws::PCS
|
|
1778
1775
|
# secret**.
|
1779
1776
|
#
|
1780
1777
|
# @!attribute [rw] secret_arn
|
1781
|
-
# The Amazon Resource Name (ARN) of the
|
1778
|
+
# The Amazon Resource Name (ARN) of the shared Slurm key.
|
1782
1779
|
# @return [String]
|
1783
1780
|
#
|
1784
1781
|
# @!attribute [rw] secret_version
|
@@ -1797,8 +1794,7 @@ module Aws::PCS
|
|
1797
1794
|
# Additional settings that directly map to Slurm settings.
|
1798
1795
|
#
|
1799
1796
|
# @!attribute [rw] parameter_name
|
1800
|
-
#
|
1801
|
-
# Slurm parameters:
|
1797
|
+
# PCS supports configuration of the following Slurm parameters:
|
1802
1798
|
#
|
1803
1799
|
# * For **clusters**
|
1804
1800
|
#
|
@@ -1807,18 +1803,26 @@ module Aws::PCS
|
|
1807
1803
|
# * [ `Epilog` ][2]
|
1808
1804
|
#
|
1809
1805
|
# * [ `SelectTypeParameters` ][3]
|
1806
|
+
#
|
1807
|
+
# * [ `AccountingStorageEnforce` ][4]
|
1808
|
+
#
|
1809
|
+
# PCS supports a subset of the options for
|
1810
|
+
# `AccountingStorageEnforce`. For more information, see [Slurm
|
1811
|
+
# accounting in PCS][5] in the *PCS User Guide*.
|
1810
1812
|
# * For **compute node groups**
|
1811
1813
|
#
|
1812
|
-
# * [ `Weight` ][
|
1814
|
+
# * [ `Weight` ][6]
|
1813
1815
|
#
|
1814
|
-
# * [ `RealMemory` ][
|
1816
|
+
# * [ `RealMemory` ][6]
|
1815
1817
|
#
|
1816
1818
|
#
|
1817
1819
|
#
|
1818
1820
|
# [1]: https://slurm.schedmd.com/slurm.conf.html#OPT_Prolog_1
|
1819
1821
|
# [2]: https://slurm.schedmd.com/slurm.conf.html#OPT_Epilog_1
|
1820
1822
|
# [3]: https://slurm.schedmd.com/slurm.conf.html#OPT_SelectTypeParameters
|
1821
|
-
# [4]: https://slurm.schedmd.com/slurm.conf.html#
|
1823
|
+
# [4]: https://slurm.schedmd.com/slurm.conf.html#OPT_AccountingStorageEnforce
|
1824
|
+
# [5]: https://docs.aws.amazon.com/pcs/latest/userguide/slurm-accounting.html
|
1825
|
+
# [6]: https://slurm.schedmd.com/slurm.conf.html#OPT_Weight
|
1822
1826
|
# @return [String]
|
1823
1827
|
#
|
1824
1828
|
# @!attribute [rw] parameter_value
|
@@ -1838,13 +1842,13 @@ module Aws::PCS
|
|
1838
1842
|
# `purchaseOption` for the `CreateComputeNodeGroup` API action.
|
1839
1843
|
#
|
1840
1844
|
# @!attribute [rw] allocation_strategy
|
1841
|
-
# The Amazon EC2 allocation strategy
|
1842
|
-
#
|
1843
|
-
# price
|
1844
|
-
#
|
1845
|
-
#
|
1846
|
-
#
|
1847
|
-
#
|
1845
|
+
# The Amazon EC2 allocation strategy PCS uses to provision EC2
|
1846
|
+
# instances. PCS supports **lowest price**, **capacity optimized**,
|
1847
|
+
# and **price capacity optimized**. For more information, see [Use
|
1848
|
+
# allocation strategies to determine how EC2 Fleet or Spot Fleet
|
1849
|
+
# fulfills Spot and On-Demand capacity][1] in the *Amazon Elastic
|
1850
|
+
# Compute Cloud User Guide*. If you don't provide this option, it
|
1851
|
+
# defaults to **price capacity optimized**.
|
1848
1852
|
#
|
1849
1853
|
#
|
1850
1854
|
#
|
@@ -1923,9 +1927,9 @@ module Aws::PCS
|
|
1923
1927
|
# @return [String]
|
1924
1928
|
#
|
1925
1929
|
# @!attribute [rw] ami_id
|
1926
|
-
# The ID of the Amazon Machine Image (AMI) that
|
1927
|
-
#
|
1928
|
-
#
|
1930
|
+
# The ID of the Amazon Machine Image (AMI) that PCS uses to launch
|
1931
|
+
# instances. If not provided, PCS uses the AMI ID specified in the
|
1932
|
+
# custom launch template.
|
1929
1933
|
# @return [String]
|
1930
1934
|
#
|
1931
1935
|
# @!attribute [rw] subnet_ids
|
@@ -1934,20 +1938,23 @@ module Aws::PCS
|
|
1934
1938
|
# @return [Array<String>]
|
1935
1939
|
#
|
1936
1940
|
# @!attribute [rw] custom_launch_template
|
1937
|
-
# An Amazon EC2 launch template
|
1938
|
-
# compute nodes.
|
1941
|
+
# An Amazon EC2 launch template PCS uses to launch compute nodes.
|
1939
1942
|
# @return [Types::CustomLaunchTemplate]
|
1940
1943
|
#
|
1941
1944
|
# @!attribute [rw] purchase_option
|
1942
|
-
# Specifies how EC2 instances are purchased on your behalf.
|
1943
|
-
#
|
1944
|
-
#
|
1945
|
-
#
|
1946
|
-
#
|
1945
|
+
# Specifies how EC2 instances are purchased on your behalf. PCS
|
1946
|
+
# supports On-Demand Instances, Spot Instances, and Amazon EC2
|
1947
|
+
# Capacity Blocks for ML. For more information, see [Amazon EC2
|
1948
|
+
# billing and purchasing options][1] in the *Amazon Elastic Compute
|
1949
|
+
# Cloud User Guide*. For more information about PCS support for
|
1950
|
+
# Capacity Blocks, see [Using Amazon EC2 Capacity Blocks for ML with
|
1951
|
+
# PCS][2] in the *PCS User Guide*. If you don't provide this option,
|
1952
|
+
# it defaults to On-Demand.
|
1947
1953
|
#
|
1948
1954
|
#
|
1949
1955
|
#
|
1950
1956
|
# [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
|
1957
|
+
# [2]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html
|
1951
1958
|
# @return [String]
|
1952
1959
|
#
|
1953
1960
|
# @!attribute [rw] spot_options
|
data/lib/aws-sdk-pcs.rb
CHANGED
data/sig/client.rbs
CHANGED
@@ -124,7 +124,7 @@ module Aws
|
|
124
124
|
compute_node_group_name: ::String,
|
125
125
|
?ami_id: ::String,
|
126
126
|
subnet_ids: Array[::String],
|
127
|
-
?purchase_option: ("ONDEMAND" | "SPOT"),
|
127
|
+
?purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK"),
|
128
128
|
custom_launch_template: {
|
129
129
|
id: ::String,
|
130
130
|
version: ::String
|
@@ -326,7 +326,7 @@ module Aws
|
|
326
326
|
id: ::String,
|
327
327
|
version: ::String
|
328
328
|
},
|
329
|
-
?purchase_option: ("ONDEMAND" | "SPOT"),
|
329
|
+
?purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK"),
|
330
330
|
?spot_options: {
|
331
331
|
allocation_strategy: ("lowest-price" | "capacity-optimized" | "price-capacity-optimized")?
|
332
332
|
},
|
data/sig/types.rbs
CHANGED
@@ -76,7 +76,7 @@ module Aws::PCS
|
|
76
76
|
attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "DELETED" | "SUSPENDING" | "SUSPENDED")
|
77
77
|
attr_accessor ami_id: ::String
|
78
78
|
attr_accessor subnet_ids: ::Array[::String]
|
79
|
-
attr_accessor purchase_option: ("ONDEMAND" | "SPOT")
|
79
|
+
attr_accessor purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK")
|
80
80
|
attr_accessor custom_launch_template: Types::CustomLaunchTemplate
|
81
81
|
attr_accessor iam_instance_profile_arn: ::String
|
82
82
|
attr_accessor scaling_configuration: Types::ScalingConfiguration
|
@@ -141,7 +141,7 @@ module Aws::PCS
|
|
141
141
|
attr_accessor compute_node_group_name: ::String
|
142
142
|
attr_accessor ami_id: ::String
|
143
143
|
attr_accessor subnet_ids: ::Array[::String]
|
144
|
-
attr_accessor purchase_option: ("ONDEMAND" | "SPOT")
|
144
|
+
attr_accessor purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK")
|
145
145
|
attr_accessor custom_launch_template: Types::CustomLaunchTemplate
|
146
146
|
attr_accessor iam_instance_profile_arn: ::String
|
147
147
|
attr_accessor scaling_configuration: Types::ScalingConfigurationRequest
|
@@ -444,7 +444,7 @@ module Aws::PCS
|
|
444
444
|
attr_accessor ami_id: ::String
|
445
445
|
attr_accessor subnet_ids: ::Array[::String]
|
446
446
|
attr_accessor custom_launch_template: Types::CustomLaunchTemplate
|
447
|
-
attr_accessor purchase_option: ("ONDEMAND" | "SPOT")
|
447
|
+
attr_accessor purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK")
|
448
448
|
attr_accessor spot_options: Types::SpotOptions
|
449
449
|
attr_accessor scaling_configuration: Types::ScalingConfigurationRequest
|
450
450
|
attr_accessor iam_instance_profile_arn: ::String
|