aws-sdk-batch 1.74.0 → 1.76.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-batch/client.rb +10 -5
- data/lib/aws-sdk-batch/types.rb +44 -25
- data/lib/aws-sdk-batch.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8a610fb54f9ff3d383b075e6114d3f452134630e442f022338363a47481a42bc
|
4
|
+
data.tar.gz: 5638b09a4139dd0778ce9479ba7867cff30d219051d2455b8f59de67fe11bfce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f58fa5adcd69d780b2f0374ac1dbc866e9f4f798c17491c27b126c10e6a5271cc670ef44bd21b8cc7ee1384e4885f71d92e260edbf4b3a62f03c18f44046f41c
|
7
|
+
data.tar.gz: 7f27a1eac0c80a58961a3b614b1c859de35434da5f40e6be7bc1c1236d1017e6b505497659051dbd170dc7b3d5a0bb1968b1c62b212dd9288781b4f004fad9d4
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.76.0 (2023-08-01)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release adds support for price capacity optimized allocation strategy for Spot Instances.
|
8
|
+
|
9
|
+
1.75.0 (2023-07-11)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.74.0 (2023-07-06)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -216,6 +216,10 @@ module Aws::Batch
|
|
216
216
|
# @option options [Boolean] :endpoint_discovery (false)
|
217
217
|
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
218
218
|
#
|
219
|
+
# @option options [Boolean] :ignore_configured_endpoint_urls
|
220
|
+
# Setting to true disables use of endpoint URLs provided via environment
|
221
|
+
# variables and the shared configuration file.
|
222
|
+
#
|
219
223
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
220
224
|
# The log formatter.
|
221
225
|
#
|
@@ -508,7 +512,8 @@ module Aws::Batch
|
|
508
512
|
# it to the **AWSBatchServiceRole** service-linked role.
|
509
513
|
#
|
510
514
|
# * Set the allocation strategy (`allocationStrategy`) parameter to
|
511
|
-
# `BEST_FIT_PROGRESSIVE` or
|
515
|
+
# `BEST_FIT_PROGRESSIVE`, `SPOT_CAPACITY_OPTIMIZED`, or
|
516
|
+
# `SPOT_PRICE_CAPACITY_OPTIMIZED`.
|
512
517
|
#
|
513
518
|
# * Set the update to latest image version
|
514
519
|
# (`updateToLatestImageVersion`) parameter to `true`. The
|
@@ -771,7 +776,7 @@ module Aws::Batch
|
|
771
776
|
# unmanagedv_cpus: 1,
|
772
777
|
# compute_resources: {
|
773
778
|
# type: "EC2", # required, accepts EC2, SPOT, FARGATE, FARGATE_SPOT
|
774
|
-
# allocation_strategy: "BEST_FIT", # accepts BEST_FIT, BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED
|
779
|
+
# allocation_strategy: "BEST_FIT", # accepts BEST_FIT, BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED, SPOT_PRICE_CAPACITY_OPTIMIZED
|
775
780
|
# minv_cpus: 1,
|
776
781
|
# maxv_cpus: 1, # required
|
777
782
|
# desiredv_cpus: 1,
|
@@ -1301,7 +1306,7 @@ module Aws::Batch
|
|
1301
1306
|
# resp.compute_environments[0].status #=> String, one of "CREATING", "UPDATING", "DELETING", "DELETED", "VALID", "INVALID"
|
1302
1307
|
# resp.compute_environments[0].status_reason #=> String
|
1303
1308
|
# resp.compute_environments[0].compute_resources.type #=> String, one of "EC2", "SPOT", "FARGATE", "FARGATE_SPOT"
|
1304
|
-
# resp.compute_environments[0].compute_resources.allocation_strategy #=> String, one of "BEST_FIT", "BEST_FIT_PROGRESSIVE", "SPOT_CAPACITY_OPTIMIZED"
|
1309
|
+
# resp.compute_environments[0].compute_resources.allocation_strategy #=> String, one of "BEST_FIT", "BEST_FIT_PROGRESSIVE", "SPOT_CAPACITY_OPTIMIZED", "SPOT_PRICE_CAPACITY_OPTIMIZED"
|
1305
1310
|
# resp.compute_environments[0].compute_resources.minv_cpus #=> Integer
|
1306
1311
|
# resp.compute_environments[0].compute_resources.maxv_cpus #=> Integer
|
1307
1312
|
# resp.compute_environments[0].compute_resources.desiredv_cpus #=> Integer
|
@@ -3516,7 +3521,7 @@ module Aws::Batch
|
|
3516
3521
|
# desiredv_cpus: 1,
|
3517
3522
|
# subnets: ["String"],
|
3518
3523
|
# security_group_ids: ["String"],
|
3519
|
-
# allocation_strategy: "BEST_FIT_PROGRESSIVE", # accepts BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED
|
3524
|
+
# allocation_strategy: "BEST_FIT_PROGRESSIVE", # accepts BEST_FIT_PROGRESSIVE, SPOT_CAPACITY_OPTIMIZED, SPOT_PRICE_CAPACITY_OPTIMIZED
|
3520
3525
|
# instance_types: ["String"],
|
3521
3526
|
# ec2_key_pair: "String",
|
3522
3527
|
# instance_role: "String",
|
@@ -3705,7 +3710,7 @@ module Aws::Batch
|
|
3705
3710
|
params: params,
|
3706
3711
|
config: config)
|
3707
3712
|
context[:gem_name] = 'aws-sdk-batch'
|
3708
|
-
context[:gem_version] = '1.
|
3713
|
+
context[:gem_version] = '1.76.0'
|
3709
3714
|
Seahorse::Client::Request.new(handlers, context)
|
3710
3715
|
end
|
3711
3716
|
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -445,11 +445,20 @@ module Aws::Batch
|
|
445
445
|
# allocation strategy is only available for Spot Instance compute
|
446
446
|
# resources.
|
447
447
|
#
|
448
|
-
#
|
449
|
-
#
|
450
|
-
#
|
451
|
-
#
|
452
|
-
#
|
448
|
+
# SPOT\_PRICE\_CAPACITY\_OPTIMIZED
|
449
|
+
#
|
450
|
+
# : The price and capacity optimized allocation strategy looks at both
|
451
|
+
# price and capacity to select the Spot Instance pools that are the
|
452
|
+
# least likely to be interrupted and have the lowest possible price.
|
453
|
+
# This allocation strategy is only available for Spot Instance
|
454
|
+
# compute resources.
|
455
|
+
#
|
456
|
+
# With `BEST_FIT_PROGRESSIVE`,`SPOT_CAPACITY_OPTIMIZED` and
|
457
|
+
# `SPOT_PRICE_CAPACITY_OPTIMIZED` strategies using On-Demand or Spot
|
458
|
+
# Instances, and the `BEST_FIT` strategy using Spot Instances, Batch
|
459
|
+
# might need to exceed `maxvCpus` to meet your capacity requirements.
|
460
|
+
# In this event, Batch never exceeds `maxvCpus` by more than a single
|
461
|
+
# instance.
|
453
462
|
#
|
454
463
|
#
|
455
464
|
#
|
@@ -471,13 +480,14 @@ module Aws::Batch
|
|
471
480
|
# @!attribute [rw] maxv_cpus
|
472
481
|
# The maximum number of vCPUs that a compute environment can support.
|
473
482
|
#
|
474
|
-
# <note markdown="1"> With
|
475
|
-
# allocation strategies using
|
476
|
-
#
|
477
|
-
# `maxvCpus` to meet your
|
478
|
-
#
|
479
|
-
#
|
480
|
-
# in your compute environment is
|
483
|
+
# <note markdown="1"> With `BEST_FIT_PROGRESSIVE`, `SPOT_CAPACITY_OPTIMIZED` and
|
484
|
+
# `SPOT_PRICE_CAPACITY_OPTIMIZED` allocation strategies using
|
485
|
+
# On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot
|
486
|
+
# Instances, Batch might need to exceed `maxvCpus` to meet your
|
487
|
+
# capacity requirements. In this event, Batch never exceeds `maxvCpus`
|
488
|
+
# by more than a single instance. For example, no more than a single
|
489
|
+
# instance from among those specified in your compute environment is
|
490
|
+
# allocated.
|
481
491
|
#
|
482
492
|
# </note>
|
483
493
|
# @return [Integer]
|
@@ -775,13 +785,13 @@ module Aws::Batch
|
|
775
785
|
# The maximum number of Amazon EC2 vCPUs that an environment can
|
776
786
|
# reach.
|
777
787
|
#
|
778
|
-
# <note markdown="1"> With
|
779
|
-
# allocation strategies using
|
780
|
-
#
|
781
|
-
# `maxvCpus` to meet your
|
782
|
-
#
|
783
|
-
# more than a single instance
|
784
|
-
# compute environment.
|
788
|
+
# <note markdown="1"> With `BEST_FIT_PROGRESSIVE`, `SPOT_CAPACITY_OPTIMIZED`, and
|
789
|
+
# `SPOT_PRICE_CAPACITY_OPTIMIZED` allocation strategies using
|
790
|
+
# On-Demand or Spot Instances, and the `BEST_FIT` strategy using Spot
|
791
|
+
# Instances, Batch might need to exceed `maxvCpus` to meet your
|
792
|
+
# capacity requirements. In this event, Batch never exceeds `maxvCpus`
|
793
|
+
# by more than a single instance. That is, no more than a single
|
794
|
+
# instance from among those specified in your compute environment.
|
785
795
|
#
|
786
796
|
# </note>
|
787
797
|
# @return [Integer]
|
@@ -904,11 +914,20 @@ module Aws::Batch
|
|
904
914
|
# allocation strategy is only available for Spot Instance compute
|
905
915
|
# resources.
|
906
916
|
#
|
907
|
-
#
|
908
|
-
#
|
909
|
-
#
|
910
|
-
#
|
911
|
-
#
|
917
|
+
# SPOT\_PRICE\_CAPACITY\_OPTIMIZED
|
918
|
+
#
|
919
|
+
# : The price and capacity optimized allocation strategy looks at both
|
920
|
+
# price and capacity to select the Spot Instance pools that are the
|
921
|
+
# least likely to be interrupted and have the lowest possible price.
|
922
|
+
# This allocation strategy is only available for Spot Instance
|
923
|
+
# compute resources.
|
924
|
+
#
|
925
|
+
# With both `BEST_FIT_PROGRESSIVE`, `SPOT_CAPACITY_OPTIMIZED`, and
|
926
|
+
# `SPOT_PRICE_CAPACITY_OPTIMIZED` strategies using On-Demand or Spot
|
927
|
+
# Instances, and the `BEST_FIT` strategy using Spot Instances, Batch
|
928
|
+
# might need to exceed `maxvCpus` to meet your capacity requirements.
|
929
|
+
# In this event, Batch never exceeds `maxvCpus` by more than a single
|
930
|
+
# instance.
|
912
931
|
#
|
913
932
|
#
|
914
933
|
#
|
@@ -5927,7 +5946,7 @@ module Aws::Batch
|
|
5927
5946
|
#
|
5928
5947
|
# @!attribute [rw] cpu_architecture
|
5929
5948
|
# The vCPU architecture. The default value is `X86_64`. Valid values
|
5930
|
-
# are `X86_64` and `
|
5949
|
+
# are `X86_64` and `ARM64`.
|
5931
5950
|
#
|
5932
5951
|
# <note markdown="1"> This parameter must be set to `X86_64` for Windows containers.
|
5933
5952
|
#
|
data/lib/aws-sdk-batch.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-batch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.76.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|