aws-sdk-batch 1.75.0 → 1.76.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +6 -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
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.76.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -512,7 +512,8 @@ module Aws::Batch
|
|
512
512
|
# it to the **AWSBatchServiceRole** service-linked role.
|
513
513
|
#
|
514
514
|
# * Set the allocation strategy (`allocationStrategy`) parameter to
|
515
|
-
# `BEST_FIT_PROGRESSIVE` or
|
515
|
+
# `BEST_FIT_PROGRESSIVE`, `SPOT_CAPACITY_OPTIMIZED`, or
|
516
|
+
# `SPOT_PRICE_CAPACITY_OPTIMIZED`.
|
516
517
|
#
|
517
518
|
# * Set the update to latest image version
|
518
519
|
# (`updateToLatestImageVersion`) parameter to `true`. The
|
@@ -775,7 +776,7 @@ module Aws::Batch
|
|
775
776
|
# unmanagedv_cpus: 1,
|
776
777
|
# compute_resources: {
|
777
778
|
# type: "EC2", # required, accepts EC2, SPOT, FARGATE, FARGATE_SPOT
|
778
|
-
# 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
|
779
780
|
# minv_cpus: 1,
|
780
781
|
# maxv_cpus: 1, # required
|
781
782
|
# desiredv_cpus: 1,
|
@@ -1305,7 +1306,7 @@ module Aws::Batch
|
|
1305
1306
|
# resp.compute_environments[0].status #=> String, one of "CREATING", "UPDATING", "DELETING", "DELETED", "VALID", "INVALID"
|
1306
1307
|
# resp.compute_environments[0].status_reason #=> String
|
1307
1308
|
# resp.compute_environments[0].compute_resources.type #=> String, one of "EC2", "SPOT", "FARGATE", "FARGATE_SPOT"
|
1308
|
-
# 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"
|
1309
1310
|
# resp.compute_environments[0].compute_resources.minv_cpus #=> Integer
|
1310
1311
|
# resp.compute_environments[0].compute_resources.maxv_cpus #=> Integer
|
1311
1312
|
# resp.compute_environments[0].compute_resources.desiredv_cpus #=> Integer
|
@@ -3520,7 +3521,7 @@ module Aws::Batch
|
|
3520
3521
|
# desiredv_cpus: 1,
|
3521
3522
|
# subnets: ["String"],
|
3522
3523
|
# security_group_ids: ["String"],
|
3523
|
-
# 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
|
3524
3525
|
# instance_types: ["String"],
|
3525
3526
|
# ec2_key_pair: "String",
|
3526
3527
|
# instance_role: "String",
|
@@ -3709,7 +3710,7 @@ module Aws::Batch
|
|
3709
3710
|
params: params,
|
3710
3711
|
config: config)
|
3711
3712
|
context[:gem_name] = 'aws-sdk-batch'
|
3712
|
-
context[:gem_version] = '1.
|
3713
|
+
context[:gem_version] = '1.76.0'
|
3713
3714
|
Seahorse::Client::Request.new(handlers, context)
|
3714
3715
|
end
|
3715
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
|