aws-sdk-pcs 1.44.0 → 1.45.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: 276b1f111c09a91173853d31ef57de0516504b9be626118d7524d21358d39834
4
- data.tar.gz: 9e9934ffa51c7351f1211e3ab35a939074c3e9dfa24e18f8368b1841a2a8d338
3
+ metadata.gz: 12bc6cd37dc5a2dd246a7787cb5cb354966c6f3ac07d7b99eb0aa975f715186e
4
+ data.tar.gz: 34227f36c575ef8093707c84adc68b13cbc5fc4d4ae7297269e57335ea4b083f
5
5
  SHA512:
6
- metadata.gz: d77067dbff209e6feda167beeb38e0ce295811498f4415ef4c1c19aa35136a2d4b480104fd06dc8ced85708bfeaf3f2923078b0af639fd0d0a7fed46fecdbe4f
7
- data.tar.gz: d44df9606e978ace015aa6b5b547baaf19b42f10be2aad079e83d408173d1b85e8307c99c462ade30160cad3aec1cba7706b258c00df9e8cbab90f69b051c95b
6
+ metadata.gz: ee6c600418903f2b9a5e2d9567e7ee6eb004be704e4bf53619dba28cb3a3f73da7e244a36e18b56a104ceaf030878d923b2865c2eb4d80259cf2c952efd72b02
7
+ data.tar.gz: '09506a836e5176c4f9d591a9cb94899814da5d09bf6247f45a335d841e08432216d7c24f8c856dd64ad371ea5bdce2466a3da572903d493922866b1e05de5c53'
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.45.0 (2026-05-13)
5
+ ------------------
6
+
7
+ * Feature - Add support for Amazon EC2 Interruptible-ODCR
8
+
4
9
  1.44.0 (2026-04-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.44.0
1
+ 1.45.0
@@ -674,17 +674,24 @@ module Aws::PCS
674
674
  #
675
675
  # @option params [String] :purchase_option
676
676
  # Specifies how EC2 instances are purchased on your behalf. PCS supports
677
- # On-Demand Instances, Spot Instances, and Amazon EC2 Capacity Blocks
678
- # for ML. For more information, see [Amazon EC2 billing and purchasing
679
- # options][1] in the *Amazon Elastic Compute Cloud User Guide*. For more
680
- # information about PCS support for Capacity Blocks, see [Using Amazon
681
- # EC2 Capacity Blocks for ML with PCS][2] in the *PCS User Guide*. If
682
- # you don't provide this option, it defaults to On-Demand.
677
+ # On-Demand Instances, Spot Instances, Interruptible Capacity
678
+ # Reservations, On-Demand Capacity Reservations, and Amazon EC2 Capacity
679
+ # Blocks for ML. For more information, see [Amazon EC2 billing and
680
+ # purchasing options][1] in the *Amazon Elastic Compute Cloud User
681
+ # Guide*. For more information about PCS support for Capacity Blocks,
682
+ # see [Using Amazon EC2 Capacity Blocks for ML with PCS][2] in the *PCS
683
+ # User Guide*. For more information about PCS support for interruptible
684
+ # capacity reservations, see [Using I-ODCRs with PCS][3] in the *PCS
685
+ # User Guide*. Choose On-Demand if you plan to use an On-Demand Capacity
686
+ # Reservation (ODCR). For more information, see [Using ODCRs with
687
+ # PCS][4]. If you don't provide this option, it defaults to On-Demand.
683
688
  #
684
689
  #
685
690
  #
686
691
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
687
692
  # [2]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html
693
+ # [3]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-reservations-iodcr.html
694
+ # [4]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-reservations-odcr.html
688
695
  #
689
696
  # @option params [required, Types::CustomLaunchTemplate] :custom_launch_template
690
697
  # An Amazon EC2 launch template PCS uses to launch compute nodes.
@@ -743,7 +750,7 @@ module Aws::PCS
743
750
  # compute_node_group_name: "ComputeNodeGroupName", # required
744
751
  # ami_id: "AmiId",
745
752
  # subnet_ids: ["String"], # required
746
- # purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT, CAPACITY_BLOCK
753
+ # purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT, CAPACITY_BLOCK, INTERRUPTIBLE_CAPACITY_RESERVATION
747
754
  # custom_launch_template: { # required
748
755
  # id: "String", # required
749
756
  # version: "String", # required
@@ -787,7 +794,7 @@ module Aws::PCS
787
794
  # resp.compute_node_group.ami_id #=> String
788
795
  # resp.compute_node_group.subnet_ids #=> Array
789
796
  # resp.compute_node_group.subnet_ids[0] #=> String
790
- # resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT", "CAPACITY_BLOCK"
797
+ # resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT", "CAPACITY_BLOCK", "INTERRUPTIBLE_CAPACITY_RESERVATION"
791
798
  # resp.compute_node_group.custom_launch_template.id #=> String
792
799
  # resp.compute_node_group.custom_launch_template.version #=> String
793
800
  # resp.compute_node_group.iam_instance_profile_arn #=> String
@@ -1120,7 +1127,7 @@ module Aws::PCS
1120
1127
  # resp.compute_node_group.ami_id #=> String
1121
1128
  # resp.compute_node_group.subnet_ids #=> Array
1122
1129
  # resp.compute_node_group.subnet_ids[0] #=> String
1123
- # resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT", "CAPACITY_BLOCK"
1130
+ # resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT", "CAPACITY_BLOCK", "INTERRUPTIBLE_CAPACITY_RESERVATION"
1124
1131
  # resp.compute_node_group.custom_launch_template.id #=> String
1125
1132
  # resp.compute_node_group.custom_launch_template.version #=> String
1126
1133
  # resp.compute_node_group.iam_instance_profile_arn #=> String
@@ -1631,17 +1638,24 @@ module Aws::PCS
1631
1638
  #
1632
1639
  # @option params [String] :purchase_option
1633
1640
  # Specifies how EC2 instances are purchased on your behalf. PCS supports
1634
- # On-Demand Instances, Spot Instances, and Amazon EC2 Capacity Blocks
1635
- # for ML. For more information, see [Amazon EC2 billing and purchasing
1636
- # options][1] in the *Amazon Elastic Compute Cloud User Guide*. For more
1637
- # information about PCS support for Capacity Blocks, see [Using Amazon
1638
- # EC2 Capacity Blocks for ML with PCS][2] in the *PCS User Guide*. If
1639
- # you don't provide this option, it defaults to On-Demand.
1641
+ # On-Demand Instances, Spot Instances, Interruptible Capacity
1642
+ # Reservations, On-Demand Capacity Reservations, and Amazon EC2 Capacity
1643
+ # Blocks for ML. For more information, see [Amazon EC2 billing and
1644
+ # purchasing options][1] in the *Amazon Elastic Compute Cloud User
1645
+ # Guide*. For more information about PCS support for Capacity Blocks,
1646
+ # see [Using Amazon EC2 Capacity Blocks for ML with PCS][2] in the *PCS
1647
+ # User Guide*. For more information about PCS support for interruptible
1648
+ # capacity reservations, see [Using I-ODCRs with PCS][3] in the *PCS
1649
+ # User Guide*. Choose On-Demand if you plan to use an On-Demand Capacity
1650
+ # Reservation (ODCR). For more information, see [Using ODCRs with
1651
+ # PCS][4]. If you don't provide this option, it defaults to On-Demand.
1640
1652
  #
1641
1653
  #
1642
1654
  #
1643
1655
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
1644
1656
  # [2]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html
1657
+ # [3]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-reservations-iodcr.html
1658
+ # [4]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-reservations-odcr.html
1645
1659
  #
1646
1660
  # @option params [Types::SpotOptions] :spot_options
1647
1661
  # Additional configuration when you specify `SPOT` as the
@@ -1693,7 +1707,7 @@ module Aws::PCS
1693
1707
  # id: "String", # required
1694
1708
  # version: "String", # required
1695
1709
  # },
1696
- # purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT, CAPACITY_BLOCK
1710
+ # purchase_option: "ONDEMAND", # accepts ONDEMAND, SPOT, CAPACITY_BLOCK, INTERRUPTIBLE_CAPACITY_RESERVATION
1697
1711
  # spot_options: {
1698
1712
  # allocation_strategy: "lowest-price", # accepts lowest-price, capacity-optimized, price-capacity-optimized
1699
1713
  # },
@@ -1725,7 +1739,7 @@ module Aws::PCS
1725
1739
  # resp.compute_node_group.ami_id #=> String
1726
1740
  # resp.compute_node_group.subnet_ids #=> Array
1727
1741
  # resp.compute_node_group.subnet_ids[0] #=> String
1728
- # resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT", "CAPACITY_BLOCK"
1742
+ # resp.compute_node_group.purchase_option #=> String, one of "ONDEMAND", "SPOT", "CAPACITY_BLOCK", "INTERRUPTIBLE_CAPACITY_RESERVATION"
1729
1743
  # resp.compute_node_group.custom_launch_template.id #=> String
1730
1744
  # resp.compute_node_group.custom_launch_template.version #=> String
1731
1745
  # resp.compute_node_group.iam_instance_profile_arn #=> String
@@ -1848,7 +1862,7 @@ module Aws::PCS
1848
1862
  tracer: tracer
1849
1863
  )
1850
1864
  context[:gem_name] = 'aws-sdk-pcs'
1851
- context[:gem_version] = '1.44.0'
1865
+ context[:gem_version] = '1.45.0'
1852
1866
  Seahorse::Client::Request.new(handlers, context)
1853
1867
  end
1854
1868
 
@@ -451,18 +451,25 @@ module Aws::PCS
451
451
  #
452
452
  # @!attribute [rw] purchase_option
453
453
  # Specifies how EC2 instances are purchased on your behalf. PCS
454
- # supports On-Demand Instances, Spot Instances, and Amazon EC2
454
+ # supports On-Demand Instances, Spot Instances, Interruptible Capacity
455
+ # Reservations, On-Demand Capacity Reservations, and Amazon EC2
455
456
  # Capacity Blocks for ML. For more information, see [Amazon EC2
456
457
  # billing and purchasing options][1] in the *Amazon Elastic Compute
457
458
  # Cloud User Guide*. For more information about PCS support for
458
459
  # Capacity Blocks, see [Using Amazon EC2 Capacity Blocks for ML with
459
- # PCS][2] in the *PCS User Guide*. If you don't provide this option,
460
- # it defaults to On-Demand.
460
+ # PCS][2] in the *PCS User Guide*. For more information about PCS
461
+ # support for interruptible capacity reservations, see [Using I-ODCRs
462
+ # with PCS][3] in the *PCS User Guide*. Choose On-Demand if you plan
463
+ # to use an On-Demand Capacity Reservation (ODCR). For more
464
+ # information, see [Using ODCRs with PCS][4]. If you don't provide
465
+ # this option, it defaults to On-Demand.
461
466
  #
462
467
  #
463
468
  #
464
469
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
465
470
  # [2]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html
471
+ # [3]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-reservations-iodcr.html
472
+ # [4]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-reservations-odcr.html
466
473
  # @return [String]
467
474
  #
468
475
  # @!attribute [rw] custom_launch_template
@@ -768,18 +775,25 @@ module Aws::PCS
768
775
  #
769
776
  # @!attribute [rw] purchase_option
770
777
  # Specifies how EC2 instances are purchased on your behalf. PCS
771
- # supports On-Demand Instances, Spot Instances, and Amazon EC2
778
+ # supports On-Demand Instances, Spot Instances, Interruptible Capacity
779
+ # Reservations, On-Demand Capacity Reservations, and Amazon EC2
772
780
  # Capacity Blocks for ML. For more information, see [Amazon EC2
773
781
  # billing and purchasing options][1] in the *Amazon Elastic Compute
774
782
  # Cloud User Guide*. For more information about PCS support for
775
783
  # Capacity Blocks, see [Using Amazon EC2 Capacity Blocks for ML with
776
- # PCS][2] in the *PCS User Guide*. If you don't provide this option,
777
- # it defaults to On-Demand.
784
+ # PCS][2] in the *PCS User Guide*. For more information about PCS
785
+ # support for interruptible capacity reservations, see [Using I-ODCRs
786
+ # with PCS][3] in the *PCS User Guide*. Choose On-Demand if you plan
787
+ # to use an On-Demand Capacity Reservation (ODCR). For more
788
+ # information, see [Using ODCRs with PCS][4]. If you don't provide
789
+ # this option, it defaults to On-Demand.
778
790
  #
779
791
  #
780
792
  #
781
793
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
782
794
  # [2]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html
795
+ # [3]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-reservations-iodcr.html
796
+ # [4]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-reservations-odcr.html
783
797
  # @return [String]
784
798
  #
785
799
  # @!attribute [rw] custom_launch_template
@@ -2273,18 +2287,25 @@ module Aws::PCS
2273
2287
  #
2274
2288
  # @!attribute [rw] purchase_option
2275
2289
  # Specifies how EC2 instances are purchased on your behalf. PCS
2276
- # supports On-Demand Instances, Spot Instances, and Amazon EC2
2290
+ # supports On-Demand Instances, Spot Instances, Interruptible Capacity
2291
+ # Reservations, On-Demand Capacity Reservations, and Amazon EC2
2277
2292
  # Capacity Blocks for ML. For more information, see [Amazon EC2
2278
2293
  # billing and purchasing options][1] in the *Amazon Elastic Compute
2279
2294
  # Cloud User Guide*. For more information about PCS support for
2280
2295
  # Capacity Blocks, see [Using Amazon EC2 Capacity Blocks for ML with
2281
- # PCS][2] in the *PCS User Guide*. If you don't provide this option,
2282
- # it defaults to On-Demand.
2296
+ # PCS][2] in the *PCS User Guide*. For more information about PCS
2297
+ # support for interruptible capacity reservations, see [Using I-ODCRs
2298
+ # with PCS][3] in the *PCS User Guide*. Choose On-Demand if you plan
2299
+ # to use an On-Demand Capacity Reservation (ODCR). For more
2300
+ # information, see [Using ODCRs with PCS][4]. If you don't provide
2301
+ # this option, it defaults to On-Demand.
2283
2302
  #
2284
2303
  #
2285
2304
  #
2286
2305
  # [1]: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-purchasing-options.html
2287
2306
  # [2]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-blocks.html
2307
+ # [3]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-reservations-iodcr.html
2308
+ # [4]: https://docs.aws.amazon.com/pcs/latest/userguide/capacity-reservations-odcr.html
2288
2309
  # @return [String]
2289
2310
  #
2290
2311
  # @!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.44.0'
58
+ GEM_VERSION = '1.45.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -139,7 +139,7 @@ module Aws
139
139
  compute_node_group_name: ::String,
140
140
  ?ami_id: ::String,
141
141
  subnet_ids: Array[::String],
142
- ?purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK"),
142
+ ?purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK" | "INTERRUPTIBLE_CAPACITY_RESERVATION"),
143
143
  custom_launch_template: {
144
144
  id: ::String,
145
145
  version: ::String
@@ -394,7 +394,7 @@ module Aws
394
394
  id: ::String,
395
395
  version: ::String
396
396
  },
397
- ?purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK"),
397
+ ?purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK" | "INTERRUPTIBLE_CAPACITY_RESERVATION"),
398
398
  ?spot_options: {
399
399
  allocation_strategy: ("lowest-price" | "capacity-optimized" | "price-capacity-optimized")?
400
400
  },
data/sig/types.rbs CHANGED
@@ -89,7 +89,7 @@ module Aws::PCS
89
89
  attr_accessor status: ("CREATING" | "ACTIVE" | "UPDATING" | "DELETING" | "CREATE_FAILED" | "DELETE_FAILED" | "UPDATE_FAILED" | "DELETED" | "SUSPENDING" | "SUSPENDED" | "RESUMING")
90
90
  attr_accessor ami_id: ::String
91
91
  attr_accessor subnet_ids: ::Array[::String]
92
- attr_accessor purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK")
92
+ attr_accessor purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK" | "INTERRUPTIBLE_CAPACITY_RESERVATION")
93
93
  attr_accessor custom_launch_template: Types::CustomLaunchTemplate
94
94
  attr_accessor iam_instance_profile_arn: ::String
95
95
  attr_accessor scaling_configuration: Types::ScalingConfiguration
@@ -154,7 +154,7 @@ module Aws::PCS
154
154
  attr_accessor compute_node_group_name: ::String
155
155
  attr_accessor ami_id: ::String
156
156
  attr_accessor subnet_ids: ::Array[::String]
157
- attr_accessor purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK")
157
+ attr_accessor purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK" | "INTERRUPTIBLE_CAPACITY_RESERVATION")
158
158
  attr_accessor custom_launch_template: Types::CustomLaunchTemplate
159
159
  attr_accessor iam_instance_profile_arn: ::String
160
160
  attr_accessor scaling_configuration: Types::ScalingConfigurationRequest
@@ -530,7 +530,7 @@ module Aws::PCS
530
530
  attr_accessor ami_id: ::String
531
531
  attr_accessor subnet_ids: ::Array[::String]
532
532
  attr_accessor custom_launch_template: Types::CustomLaunchTemplate
533
- attr_accessor purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK")
533
+ attr_accessor purchase_option: ("ONDEMAND" | "SPOT" | "CAPACITY_BLOCK" | "INTERRUPTIBLE_CAPACITY_RESERVATION")
534
534
  attr_accessor spot_options: Types::SpotOptions
535
535
  attr_accessor scaling_configuration: Types::ScalingConfigurationRequest
536
536
  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.44.0
4
+ version: 1.45.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.244.0
21
+ version: 3.247.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.244.0
31
+ version: 3.247.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement