aws-sdk-batch 1.75.0 → 1.77.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cd9b5ac171f184e98b78225b567834e431a35cf49a22ac00595c6b48ed6458b1
4
- data.tar.gz: 7dcabddaba65331e5e5863e39d34bd47f5f44ef0bfaf13ca77cec99d947296c2
3
+ metadata.gz: df8a8df3fdcfc1a3f56317abdf3ecf6e5d7e1ff9755ee824b0ec86f11afc2759
4
+ data.tar.gz: 0e9dde315116a66b6cf8b05e17c7be6faacd1e1b3229ee95624fa6d0a05e5beb
5
5
  SHA512:
6
- metadata.gz: 5e443015f36db0fe9796236f6246bdaf4e88a268064ec3c05b580c0e6c1dc923075a9e6ffc428d3e2915ffe8287b45792c37ff1bd731262c61e6adcb08d5eaab
7
- data.tar.gz: d29c2a616b08d7ae6fb8d5107d4a955def8bb349761deac3d036fc904606c4533f666851935334af965dbd935d76623ed0cfe7bb103fb85de2f9b6c26365840a
6
+ metadata.gz: 6861736af94d12f1e5be1edef867ef6b09208ab2f0e95626ea314dbfa0abd9f1c65125fbc9ca91bdfb8ff80b25cbe839e160fae552bd07311e105ed0c282f3ec
7
+ data.tar.gz: 6e0cbe8930d14e3eeecefbd9028936ebd28c5f53b775c9d63b2e3a71cb33b71fd2e12deb3c371ba08ff77a15a89a36b41a75c4fb85aa2781bb6f8aee83d2289d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.77.0 (2023-09-27)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.76.0 (2023-08-01)
10
+ ------------------
11
+
12
+ * Feature - This release adds support for price capacity optimized allocation strategy for Spot Instances.
13
+
4
14
  1.75.0 (2023-07-11)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.75.0
1
+ 1.77.0
@@ -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 `SPOT_CAPACITY_OPTIMIZED`.
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.75.0'
3713
+ context[:gem_version] = '1.77.0'
3713
3714
  Seahorse::Client::Request.new(handlers, context)
3714
3715
  end
3715
3716
 
@@ -445,11 +445,20 @@ module Aws::Batch
445
445
  # allocation strategy is only available for Spot Instance compute
446
446
  # resources.
447
447
  #
448
- # With both `BEST_FIT_PROGRESSIVE` and `SPOT_CAPACITY_OPTIMIZED`
449
- # strategies using On-Demand or Spot Instances, and the `BEST_FIT`
450
- # strategy using Spot Instances, Batch might need to exceed `maxvCpus`
451
- # to meet your capacity requirements. In this event, Batch never
452
- # exceeds `maxvCpus` by more than a single instance.
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 both `BEST_FIT_PROGRESSIVE` and `SPOT_CAPACITY_OPTIMIZED`
475
- # allocation strategies using On-Demand or Spot Instances, and the
476
- # `BEST_FIT` strategy using Spot Instances, Batch might need to exceed
477
- # `maxvCpus` to meet your capacity requirements. In this event, Batch
478
- # never exceeds `maxvCpus` by more than a single instance. For
479
- # example, no more than a single instance from among those specified
480
- # in your compute environment is allocated.
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 both `BEST_FIT_PROGRESSIVE` and `SPOT_CAPACITY_OPTIMIZED`
779
- # allocation strategies using On-Demand or Spot Instances, and the
780
- # `BEST_FIT` strategy using Spot Instances, Batch might need to exceed
781
- # `maxvCpus` to meet your capacity requirements. In this event, Batch
782
- # never exceeds `maxvCpus` by more than a single instance. That is, no
783
- # more than a single instance from among those specified in your
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
- # With both `BEST_FIT_PROGRESSIVE` and `SPOT_CAPACITY_OPTIMIZED`
908
- # strategies using On-Demand or Spot Instances, and the `BEST_FIT`
909
- # strategy using Spot Instances, Batch might need to exceed `maxvCpus`
910
- # to meet your capacity requirements. In this event, Batch never
911
- # exceeds `maxvCpus` by more than a single instance.
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 ` ARM64`.
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
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-batch/customizations'
52
52
  # @!group service
53
53
  module Aws::Batch
54
54
 
55
- GEM_VERSION = '1.75.0'
55
+ GEM_VERSION = '1.77.0'
56
56
 
57
57
  end
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.75.0
4
+ version: 1.77.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-07-11 00:00:00.000000000 Z
11
+ date: 2023-09-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.177.0
22
+ version: 3.184.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.177.0
32
+ version: 3.184.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement