aws-sdk-batch 1.74.0 → 1.76.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: 94ea482a845913fdd787230208eeaf1370fa617f09117af78800526bff99e688
4
- data.tar.gz: ae3acbc21b27a331f700eb6bba07415ced2125b89838cf2c0b661d5583ec6a94
3
+ metadata.gz: 8a610fb54f9ff3d383b075e6114d3f452134630e442f022338363a47481a42bc
4
+ data.tar.gz: 5638b09a4139dd0778ce9479ba7867cff30d219051d2455b8f59de67fe11bfce
5
5
  SHA512:
6
- metadata.gz: 5aaa12d5a33985489de6516672c59265791c33ac8cd3976a1145626ce3cfe7ed2f76fd25283a0b46e3497f30a897b042feb6a6c3a927eaa24377b58a2f92d0fc
7
- data.tar.gz: 2edc4b1a1a2a1f8526049b0c9275b3ac64f4dd21e2c45be2904443c7b8e67a76d46a66173a5f40d41633f20e33b0ff0c1e8d6e26dcd45f4e7f65e85ad2becc23
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.74.0
1
+ 1.76.0
@@ -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 `SPOT_CAPACITY_OPTIMIZED`.
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.74.0'
3713
+ context[:gem_version] = '1.76.0'
3709
3714
  Seahorse::Client::Request.new(handlers, context)
3710
3715
  end
3711
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.74.0'
55
+ GEM_VERSION = '1.76.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.74.0
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-07-06 00:00:00.000000000 Z
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