aws-sdk-pcs 1.30.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: a46ec0218d755c6ebd6ba546924a7cd464c1a8fc4dae3b0949ce27915ba07390
4
- data.tar.gz: c621f450e1de8bb651ca300dc9430961f04c53303bafd541e293948e7300210a
3
+ metadata.gz: 2a1facd6e9552c3fb0e0076d3471431e18d3456a7a6efd633f7ac0c724ac063b
4
+ data.tar.gz: ad76a9b3631e5476bb0f9a9129ee35f6dee997a497f915b6ef5a0ca136bd6b39
5
5
  SHA512:
6
- metadata.gz: 923b96f6264d4c5ba7351cbc0c676e9859f7d3d3927e1b63385dfd9ec55c773a0ec0a14a2d5d82259f2261cf3f5c49d8fae04e312daaeea6539dcb174ecc055e
7
- data.tar.gz: 732586973258d5cd7f374f9fb291e47c41f7894f7b4bb7b32750054c16c1bf1c695a9f1e57e8ae2dccc2f1dd92887ea516dc878f9e23d0967dd7ce46eb30edda
6
+ metadata.gz: 3163b755b1f1f67fb5748f7f120447549cab3f36af73a5a5a9be0f3c6d2d54cb92dc5cdb73acdaeea7300448f5e217871408a1dd121ede5f077eb590fb67a4be
7
+ data.tar.gz: 393b83de90aeef14403df4afc927c4978c262b3b315321d726ce2fa0aa82afa20b32c0329d736a588af2a06134b32d60be65c6a38dd4b63ecfae59adecfa2d22
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.30.0 (2025-09-05)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.30.0
1
+ 1.31.0
@@ -649,15 +649,18 @@ module Aws::PCS
649
649
  # instances. Subnets must be in the same VPC as the cluster.
650
650
  #
651
651
  # @option params [String] :purchase_option
652
- # Specifies how EC2 instances are purchased on your behalf. Amazon Web
653
- # Services PCS supports On-Demand and Spot instances. For more
654
- # information, see [Instance purchasing options][1] in the *Amazon
655
- # Elastic Compute Cloud User Guide*. If you don't provide this option,
656
- # 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.
657
659
  #
658
660
  #
659
661
  #
660
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
661
664
  #
662
665
  # @option params [required, Types::CustomLaunchTemplate] :custom_launch_template
663
666
  # An Amazon EC2 launch template PCS uses to launch compute nodes.
@@ -679,8 +682,8 @@ module Aws::PCS
679
682
  # Specifies the boundaries of the compute node group auto scaling.
680
683
  #
681
684
  # @option params [required, Array<Types::InstanceConfig>] :instance_configs
682
- # A list of EC2 instance configurations that Amazon Web Services PCS can
683
- # provision in the compute node group.
685
+ # A list of EC2 instance configurations that PCS can provision in the
686
+ # compute node group.
684
687
  #
685
688
  # @option params [Types::SpotOptions] :spot_options
686
689
  # Additional configuration when you specify `SPOT` as the
@@ -716,7 +719,7 @@ module Aws::PCS
716
719
  # compute_node_group_name: "ComputeNodeGroupName", # required
717
720
  # ami_id: "AmiId",
718
721
  # subnet_ids: ["String"], # required
719
- # purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT
722
+ # purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT, CAPACITY_BLOCK
720
723
  # custom_launch_template: { # required
721
724
  # id: "String", # required
722
725
  # version: "String", # required
@@ -760,7 +763,7 @@ module Aws::PCS
760
763
  # resp.compute_node_group.ami_id #=> String
761
764
  # resp.compute_node_group.subnet_ids #=> Array
762
765
  # resp.compute_node_group.subnet_ids[0] #=> String
763
- # 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"
764
767
  # resp.compute_node_group.custom_launch_template.id #=> String
765
768
  # resp.compute_node_group.custom_launch_template.version #=> String
766
769
  # resp.compute_node_group.iam_instance_profile_arn #=> String
@@ -1070,7 +1073,7 @@ module Aws::PCS
1070
1073
  # resp.compute_node_group.ami_id #=> String
1071
1074
  # resp.compute_node_group.subnet_ids #=> Array
1072
1075
  # resp.compute_node_group.subnet_ids[0] #=> String
1073
- # 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"
1074
1077
  # resp.compute_node_group.custom_launch_template.id #=> String
1075
1078
  # resp.compute_node_group.custom_launch_template.version #=> String
1076
1079
  # resp.compute_node_group.iam_instance_profile_arn #=> String
@@ -1458,15 +1461,18 @@ module Aws::PCS
1458
1461
  # An Amazon EC2 launch template PCS uses to launch compute nodes.
1459
1462
  #
1460
1463
  # @option params [String] :purchase_option
1461
- # Specifies how EC2 instances are purchased on your behalf. Amazon Web
1462
- # Services PCS supports On-Demand and Spot instances. For more
1463
- # information, see [Instance purchasing options][1] in the *Amazon
1464
- # Elastic Compute Cloud User Guide*. If you don't provide this option,
1465
- # 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.
1466
1471
  #
1467
1472
  #
1468
1473
  #
1469
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
1470
1476
  #
1471
1477
  # @option params [Types::SpotOptions] :spot_options
1472
1478
  # Additional configuration when you specify `SPOT` as the
@@ -1518,7 +1524,7 @@ module Aws::PCS
1518
1524
  # id: "String", # required
1519
1525
  # version: "String", # required
1520
1526
  # },
1521
- # purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT
1527
+ # purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT, CAPACITY_BLOCK
1522
1528
  # spot_options: {
1523
1529
  # allocation_strategy: "lowest-price", # accepts lowest-price, capacity-optimized, price-capacity-optimized
1524
1530
  # },
@@ -1550,7 +1556,7 @@ module Aws::PCS
1550
1556
  # resp.compute_node_group.ami_id #=> String
1551
1557
  # resp.compute_node_group.subnet_ids #=> Array
1552
1558
  # resp.compute_node_group.subnet_ids[0] #=> String
1553
- # 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"
1554
1560
  # resp.compute_node_group.custom_launch_template.id #=> String
1555
1561
  # resp.compute_node_group.custom_launch_template.version #=> String
1556
1562
  # resp.compute_node_group.iam_instance_profile_arn #=> String
@@ -1659,7 +1665,7 @@ module Aws::PCS
1659
1665
  tracer: tracer
1660
1666
  )
1661
1667
  context[:gem_name] = 'aws-sdk-pcs'
1662
- context[:gem_version] = '1.30.0'
1668
+ context[:gem_version] = '1.31.0'
1663
1669
  Seahorse::Client::Request.new(handlers, context)
1664
1670
  end
1665
1671
 
@@ -378,15 +378,19 @@ 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
@@ -412,8 +416,8 @@ module Aws::PCS
412
416
  # @return [Types::ScalingConfiguration]
413
417
  #
414
418
  # @!attribute [rw] instance_configs
415
- # A list of EC2 instance configurations that Amazon Web Services PCS
416
- # can provision in the compute node group.
419
+ # A list of EC2 instance configurations that PCS can provision in the
420
+ # compute node group.
417
421
  # @return [Array<Types::InstanceConfig>]
418
422
  #
419
423
  # @!attribute [rw] spot_options
@@ -691,15 +695,19 @@ module Aws::PCS
691
695
  # @return [Array<String>]
692
696
  #
693
697
  # @!attribute [rw] purchase_option
694
- # Specifies how EC2 instances are purchased on your behalf. Amazon Web
695
- # Services PCS supports On-Demand and Spot instances. For more
696
- # information, see [Instance purchasing options][1] in the *Amazon
697
- # Elastic Compute Cloud User Guide*. If you don't provide this
698
- # 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.
699
706
  #
700
707
  #
701
708
  #
702
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
703
711
  # @return [String]
704
712
  #
705
713
  # @!attribute [rw] custom_launch_template
@@ -725,8 +733,8 @@ module Aws::PCS
725
733
  # @return [Types::ScalingConfigurationRequest]
726
734
  #
727
735
  # @!attribute [rw] instance_configs
728
- # A list of EC2 instance configurations that Amazon Web Services PCS
729
- # can provision in the compute node group.
736
+ # A list of EC2 instance configurations that PCS can provision in the
737
+ # compute node group.
730
738
  # @return [Array<Types::InstanceConfig>]
731
739
  #
732
740
  # @!attribute [rw] spot_options
@@ -1376,16 +1384,15 @@ module Aws::PCS
1376
1384
  # The networking configuration for the cluster's control plane.
1377
1385
  #
1378
1386
  # @!attribute [rw] subnet_ids
1379
- # The list of subnet IDs where Amazon Web Services PCS creates an
1380
- # Elastic Network Interface (ENI) to enable communication between
1381
- # managed controllers and Amazon Web Services PCS resources. Subnet
1382
- # 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`.
1383
1391
  #
1384
1392
  # Subnets can't be in Outposts, Wavelength or an Amazon Web Services
1385
1393
  # Local Zone.
1386
1394
  #
1387
- # <note markdown="1"> Amazon Web Services PCS currently supports only 1 subnet in this
1388
- # list.
1395
+ # <note markdown="1"> PCS currently supports only 1 subnet in this list.
1389
1396
  #
1390
1397
  # </note>
1391
1398
  # @return [Array<String>]
@@ -1768,7 +1775,7 @@ module Aws::PCS
1768
1775
  # secret**.
1769
1776
  #
1770
1777
  # @!attribute [rw] secret_arn
1771
- # The Amazon Resource Name (ARN) of the the shared Slurm key.
1778
+ # The Amazon Resource Name (ARN) of the shared Slurm key.
1772
1779
  # @return [String]
1773
1780
  #
1774
1781
  # @!attribute [rw] secret_version
@@ -1835,13 +1842,13 @@ module Aws::PCS
1835
1842
  # `purchaseOption` for the `CreateComputeNodeGroup` API action.
1836
1843
  #
1837
1844
  # @!attribute [rw] allocation_strategy
1838
- # The Amazon EC2 allocation strategy Amazon Web Services PCS uses to
1839
- # provision EC2 instances. Amazon Web Services PCS supports **lowest
1840
- # price**, **capacity optimized**, and **price capacity optimized**.
1841
- # For more information, see [Use allocation strategies to determine
1842
- # how EC2 Fleet or Spot Fleet fulfills Spot and On-Demand capacity][1]
1843
- # in the *Amazon Elastic Compute Cloud User Guide*. If you don't
1844
- # 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**.
1845
1852
  #
1846
1853
  #
1847
1854
  #
@@ -1935,15 +1942,19 @@ module Aws::PCS
1935
1942
  # @return [Types::CustomLaunchTemplate]
1936
1943
  #
1937
1944
  # @!attribute [rw] purchase_option
1938
- # Specifies how EC2 instances are purchased on your behalf. Amazon Web
1939
- # Services PCS supports On-Demand and Spot instances. For more
1940
- # information, see [Instance purchasing options][1] in the *Amazon
1941
- # Elastic Compute Cloud User Guide*. If you don't provide this
1942
- # 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.
1943
1953
  #
1944
1954
  #
1945
1955
  #
1946
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
1947
1958
  # @return [String]
1948
1959
  #
1949
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.30.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.30.0
4
+ version: 1.31.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services