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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46fbc4d02ca607106dabb89cd72caab60d1d6e02e9d4941784e7ac344d020588
4
- data.tar.gz: cd4fc06fa937b57ec1e8b5ff068501f9ad9028f860717e2ee025e66e36512582
3
+ metadata.gz: 2a1facd6e9552c3fb0e0076d3471431e18d3456a7a6efd633f7ac0c724ac063b
4
+ data.tar.gz: ad76a9b3631e5476bb0f9a9129ee35f6dee997a497f915b6ef5a0ca136bd6b39
5
5
  SHA512:
6
- metadata.gz: 8558c5d749613112f4bdd6f4159dc745f96a78d35176ecde2fe7147b2d10de1168a505d1cad2da1ad3cbca5534d19e6682eb1ce2f85a20ff6bb3f5356ffb0cad
7
- data.tar.gz: eb482c8a3137129fb1e3601e72fbda46812a5205871ac2cdc67ccdb43a970ea0360da3fc394ed0924e3e16902feba4f533c38c5320606d40759ef3084062d11e
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.29.0
1
+ 1.31.0
@@ -483,16 +483,15 @@ module Aws::PCS
483
483
 
484
484
  # @!group API Operations
485
485
 
486
- # Creates a cluster in your account. Amazon Web Services PCS creates the
487
- # cluster controller in a service-owned account. The cluster controller
488
- # communicates with the cluster resources in your account. The subnets
489
- # and security groups for the cluster must already exist before you use
490
- # this API action.
491
- #
492
- # <note markdown="1"> It takes time for Amazon Web Services PCS to create the cluster. The
493
- # cluster is in a `Creating` state until it is ready to use. There can
494
- # only be 1 cluster in a `Creating` state per Amazon Web Services Region
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 Amazon Web Services PCS queues
623
- # or as part of the login fleet. A compute node group includes the
624
- # definition of the compute properties and lifecycle management. Amazon
625
- # Web Services PCS uses the information you provide to this API action
626
- # to launch compute nodes in your account. You can only specify subnets
627
- # in the same Amazon VPC as your cluster. You receive billing charges
628
- # for the compute nodes that Amazon Web Services PCS launches in your
629
- # account. You must already have a launch template before you call this
630
- # API. For more information, see [Launch an instance from a launch
631
- # template][1] in the *Amazon Elastic Compute Cloud User Guide for Linux
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 Amazon Web Services PCS
646
- # uses to launch compute nodes (Amazon EC2 instances). If you don't
647
- # provide this value, Amazon Web Services PCS uses the AMI ID specified
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. Amazon Web
656
- # Services PCS supports On-Demand and Spot instances. For more
657
- # information, see [Instance purchasing options][1] in the *Amazon
658
- # Elastic Compute Cloud User Guide*. If you don't provide this option,
659
- # it defaults to On-Demand.
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 Amazon Web Services PCS uses to launch
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 Amazon Web Services PCS can
687
- # provision in the compute node group.
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, Amazon Web Services PCS
945
- # terminates all the compute nodes for this queue.
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 Amazon Web Services PCS resource.
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
- # Amazon Web Services PCS uses this API action to register the compute
1338
- # nodes it launches in your account.
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 Amazon Web Services PCS resource. Each tag
1381
- # consists of a tag key and a tag value. The tag key and tag value are
1382
- # case-sensitive strings. The tag value can be an empty (null) string.
1383
- # To add a tag, specify a new tag key and a tag value. To edit a tag,
1384
- # specify an existing tag key and a new tag value.
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 Amazon Web Services PCS resource. To delete a
1414
- # tag, specify the tag key and the Amazon Resource Name (ARN) of the
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 Amazon Web Services PCS
1455
- # uses to launch instances. If not provided, Amazon Web Services PCS
1456
- # uses the AMI ID specified in the custom launch template.
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 Amazon Web Services PCS uses to launch
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. Amazon Web
1468
- # Services PCS supports On-Demand and Spot instances. For more
1469
- # information, see [Instance purchasing options][1] in the *Amazon
1470
- # Elastic Compute Cloud User Guide*. If you don't provide this option,
1471
- # it defaults to On-Demand.
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.29.0'
1668
+ context[:gem_version] = '1.31.0'
1669
1669
  Seahorse::Client::Request.new(handlers, context)
1670
1670
  end
1671
1671
 
@@ -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 Amazon Web Services
370
- # PCS uses to launch instances. If not provided, Amazon Web Services
371
- # PCS uses the AMI ID specified in the custom launch template.
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. Amazon Web
382
- # Services PCS supports On-Demand and Spot instances. For more
383
- # information, see [Instance purchasing options][1] in the *Amazon
384
- # Elastic Compute Cloud User Guide*. If you don't provide this
385
- # option, it defaults to On-Demand.
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 Amazon Web Services PCS uses to launch
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 Amazon Web Services PCS
417
- # can provision in the compute node group.
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 Amazon Web Services
685
- # PCS uses to launch compute nodes (Amazon EC2 instances). If you
686
- # don't provide this value, Amazon Web Services PCS uses the AMI ID
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. Amazon Web
697
- # Services PCS supports On-Demand and Spot instances. For more
698
- # information, see [Instance purchasing options][1] in the *Amazon
699
- # Elastic Compute Cloud User Guide*. If you don't provide this
700
- # option, it defaults to On-Demand.
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 Amazon Web Services PCS uses to launch
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 Amazon Web Services PCS
732
- # can provision in the compute node group.
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 Amazon Web Services PCS uses to launch
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 Amazon Web Services PCS uses to launch
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 Amazon Web Services PCS can provision in
1123
- # the compute node group.
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
- # Amazon Web Services PCS can't process your request right now. Try
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 Amazon Web Services PCS creates an
1331
- # Elastic Network Interface (ENI) to enable communication between
1332
- # managed controllers and Amazon Web Services PCS resources. The
1333
- # subnet must have an available IP address, cannot reside in AWS
1334
- # Outposts, AWS Wavelength, or an AWS Local Zone.
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 Amazon Web Services PCS creates an
1386
- # Elastic Network Interface (ENI) to enable communication between
1387
- # managed controllers and Amazon Web Services PCS resources. Subnet
1388
- # IDs have the form `subnet-0123456789abcdef0`.
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"> Amazon Web Services PCS currently supports only 1 subnet in this
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 Amazon Web Services PCS uses to manage cluster scaling
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 Amazon Web
1673
- # Services PCS uses to manage cluster scaling and job scheduling. For
1674
- # more information, see [Slurm versions in Amazon Web Services PCS][1]
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 Amazon Web Services PCS uses to manage cluster scaling
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 Amazon Web
1703
- # Services PCS uses to manage cluster scaling and job scheduling. For
1704
- # more information, see [Slurm versions in Amazon Web Services PCS][1]
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 the shared Slurm key.
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
- # Amazon Web Services PCS supports configuration of the following
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` ][4]
1814
+ # * [ `Weight` ][6]
1813
1815
  #
1814
- # * [ `RealMemory` ][4]
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#OPT_Weight
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 Amazon Web Services PCS uses to
1842
- # provision EC2 instances. Amazon Web Services PCS supports **lowest
1843
- # price**, **capacity optimized**, and **price capacity optimized**.
1844
- # For more information, see [Use allocation strategies to determine
1845
- # how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity][1]
1846
- # in the *Amazon Elastic Compute Cloud User Guide*. If you don't
1847
- # provide this option, it defaults to **price capacity optimized**.
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 Amazon Web Services
1927
- # PCS uses to launch instances. If not provided, Amazon Web Services
1928
- # PCS uses the AMI ID specified in the custom launch template.
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 Amazon Web Services PCS uses to launch
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. Amazon Web
1943
- # Services PCS supports On-Demand and Spot instances. For more
1944
- # information, see [Instance purchasing options][1] in the *Amazon
1945
- # Elastic Compute Cloud User Guide*. If you don't provide this
1946
- # option, it defaults to On-Demand.
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
@@ -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.29.0'
58
+ GEM_VERSION = '1.31.0'
59
59
 
60
60
  end
61
61
 
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
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.29.0
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services