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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-pcs/client.rb +24 -18
- data/lib/aws-sdk-pcs/types.rb +44 -33
- 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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.31.0
|
data/lib/aws-sdk-pcs/client.rb
CHANGED
@@ -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.
|
653
|
-
#
|
654
|
-
# information, see [
|
655
|
-
# Elastic Compute Cloud User Guide*.
|
656
|
-
#
|
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
|
683
|
-
#
|
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.
|
1462
|
-
#
|
1463
|
-
# information, see [
|
1464
|
-
# Elastic Compute Cloud User Guide*.
|
1465
|
-
#
|
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.
|
1668
|
+
context[:gem_version] = '1.31.0'
|
1663
1669
|
Seahorse::Client::Request.new(handlers, context)
|
1664
1670
|
end
|
1665
1671
|
|
data/lib/aws-sdk-pcs/types.rb
CHANGED
@@ -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.
|
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
|
@@ -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
|
416
|
-
#
|
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.
|
695
|
-
#
|
696
|
-
#
|
697
|
-
#
|
698
|
-
#
|
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
|
729
|
-
#
|
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
|
1380
|
-
#
|
1381
|
-
#
|
1382
|
-
#
|
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">
|
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
|
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
|
1839
|
-
#
|
1840
|
-
# price
|
1841
|
-
#
|
1842
|
-
#
|
1843
|
-
#
|
1844
|
-
#
|
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.
|
1939
|
-
#
|
1940
|
-
#
|
1941
|
-
#
|
1942
|
-
#
|
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
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
|