aws-sdk-batch 1.72.0 → 1.74.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +48 -6
- data/lib/aws-sdk-batch/client_api.rb +7 -0
- data/lib/aws-sdk-batch/types.rb +91 -17
- data/lib/aws-sdk-batch.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94ea482a845913fdd787230208eeaf1370fa617f09117af78800526bff99e688
|
4
|
+
data.tar.gz: ae3acbc21b27a331f700eb6bba07415ced2125b89838cf2c0b661d5583ec6a94
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aaa12d5a33985489de6516672c59265791c33ac8cd3976a1145626ce3cfe7ed2f76fd25283a0b46e3497f30a897b042feb6a6c3a927eaa24377b58a2f92d0fc
|
7
|
+
data.tar.gz: 2edc4b1a1a2a1f8526049b0c9275b3ac64f4dd21e2c45be2904443c7b8e67a76d46a66173a5f40d41633f20e33b0ff0c1e8d6e26dcd45f4e7f65e85ad2becc23
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.74.0 (2023-07-06)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.73.0 (2023-07-03)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This feature allows customers to use AWS Batch with Linux with ARM64 CPU Architecture and X86_64 CPU Architecture with Windows OS on Fargate Platform.
|
13
|
+
|
4
14
|
1.72.0 (2023-06-28)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.74.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -28,6 +28,7 @@ require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
30
|
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
31
|
+
require 'aws-sdk-core/plugins/request_compression.rb'
|
31
32
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
33
|
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
33
34
|
require 'aws-sdk-core/plugins/sign.rb'
|
@@ -77,6 +78,7 @@ module Aws::Batch
|
|
77
78
|
add_plugin(Aws::Plugins::TransferEncoding)
|
78
79
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
80
|
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
81
|
+
add_plugin(Aws::Plugins::RequestCompression)
|
80
82
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
83
|
add_plugin(Aws::Plugins::RecursionDetection)
|
82
84
|
add_plugin(Aws::Plugins::Sign)
|
@@ -190,6 +192,10 @@ module Aws::Batch
|
|
190
192
|
# Set to true to disable SDK automatically adding host prefix
|
191
193
|
# to default service endpoint when available.
|
192
194
|
#
|
195
|
+
# @option options [Boolean] :disable_request_compression (false)
|
196
|
+
# When set to 'true' the request body will not be compressed
|
197
|
+
# for supported operations.
|
198
|
+
#
|
193
199
|
# @option options [String] :endpoint
|
194
200
|
# The client endpoint is normally constructed from the `:region`
|
195
201
|
# option. You should only configure an `:endpoint` when connecting
|
@@ -230,6 +236,11 @@ module Aws::Batch
|
|
230
236
|
# Used when loading credentials from the shared credentials file
|
231
237
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
232
238
|
#
|
239
|
+
# @option options [Integer] :request_min_compression_size_bytes (10240)
|
240
|
+
# The minimum size in bytes that triggers compression for request
|
241
|
+
# bodies. The value must be non-negative integer value between 0
|
242
|
+
# and 10485780 bytes inclusive.
|
243
|
+
#
|
233
244
|
# @option options [Proc] :retry_backoff
|
234
245
|
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
235
246
|
# This option is only used in the `legacy` retry mode.
|
@@ -378,6 +389,16 @@ module Aws::Batch
|
|
378
389
|
# until it reaches the head of the job queue. Then the job status is
|
379
390
|
# updated to `FAILED`.
|
380
391
|
#
|
392
|
+
# <note markdown="1"> A `PENDING` job is canceled after all dependency jobs are completed.
|
393
|
+
# Therefore, it may take longer than expected to cancel a job in
|
394
|
+
# `PENDING` status.
|
395
|
+
#
|
396
|
+
# When you try to cancel an array parent job in `PENDING`, Batch
|
397
|
+
# attempts to cancel all child jobs. The array parent job is canceled
|
398
|
+
# when all child jobs are completed.
|
399
|
+
#
|
400
|
+
# </note>
|
401
|
+
#
|
381
402
|
# Jobs that progressed to the `STARTING` or `RUNNING` state aren't
|
382
403
|
# canceled. However, the API operation still succeeds, even if no job is
|
383
404
|
# canceled. These jobs must be terminated with the TerminateJob
|
@@ -490,7 +511,10 @@ module Aws::Batch
|
|
490
511
|
# `BEST_FIT_PROGRESSIVE` or `SPOT_CAPACITY_OPTIMIZED`.
|
491
512
|
#
|
492
513
|
# * Set the update to latest image version
|
493
|
-
# (`updateToLatestImageVersion`) parameter to `true`.
|
514
|
+
# (`updateToLatestImageVersion`) parameter to `true`. The
|
515
|
+
# `updateToLatestImageVersion` parameter is used when you update a
|
516
|
+
# compute environment. This parameter is ignored when you create a
|
517
|
+
# compute environment.
|
494
518
|
#
|
495
519
|
# * Don't specify an AMI ID in `imageId`, `imageIdOverride` (in [
|
496
520
|
# `ec2Configuration` ][5]), or in the launch template
|
@@ -1500,6 +1524,8 @@ module Aws::Batch
|
|
1500
1524
|
# resp.job_definitions[0].container_properties.network_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
1501
1525
|
# resp.job_definitions[0].container_properties.fargate_platform_configuration.platform_version #=> String
|
1502
1526
|
# resp.job_definitions[0].container_properties.ephemeral_storage.size_in_gi_b #=> Integer
|
1527
|
+
# resp.job_definitions[0].container_properties.runtime_platform.operating_system_family #=> String
|
1528
|
+
# resp.job_definitions[0].container_properties.runtime_platform.cpu_architecture #=> String
|
1503
1529
|
# resp.job_definitions[0].timeout.attempt_duration_seconds #=> Integer
|
1504
1530
|
# resp.job_definitions[0].node_properties.num_nodes #=> Integer
|
1505
1531
|
# resp.job_definitions[0].node_properties.main_node #=> Integer
|
@@ -1565,6 +1591,8 @@ module Aws::Batch
|
|
1565
1591
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.network_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
1566
1592
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.fargate_platform_configuration.platform_version #=> String
|
1567
1593
|
# resp.job_definitions[0].node_properties.node_range_properties[0].container.ephemeral_storage.size_in_gi_b #=> Integer
|
1594
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.runtime_platform.operating_system_family #=> String
|
1595
|
+
# resp.job_definitions[0].node_properties.node_range_properties[0].container.runtime_platform.cpu_architecture #=> String
|
1568
1596
|
# resp.job_definitions[0].tags #=> Hash
|
1569
1597
|
# resp.job_definitions[0].tags["TagKey"] #=> String
|
1570
1598
|
# resp.job_definitions[0].propagate_tags #=> Boolean
|
@@ -1891,6 +1919,8 @@ module Aws::Batch
|
|
1891
1919
|
# resp.jobs[0].container.network_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
1892
1920
|
# resp.jobs[0].container.fargate_platform_configuration.platform_version #=> String
|
1893
1921
|
# resp.jobs[0].container.ephemeral_storage.size_in_gi_b #=> Integer
|
1922
|
+
# resp.jobs[0].container.runtime_platform.operating_system_family #=> String
|
1923
|
+
# resp.jobs[0].container.runtime_platform.cpu_architecture #=> String
|
1894
1924
|
# resp.jobs[0].node_details.node_index #=> Integer
|
1895
1925
|
# resp.jobs[0].node_details.is_main_node #=> Boolean
|
1896
1926
|
# resp.jobs[0].node_properties.num_nodes #=> Integer
|
@@ -1957,6 +1987,8 @@ module Aws::Batch
|
|
1957
1987
|
# resp.jobs[0].node_properties.node_range_properties[0].container.network_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
|
1958
1988
|
# resp.jobs[0].node_properties.node_range_properties[0].container.fargate_platform_configuration.platform_version #=> String
|
1959
1989
|
# resp.jobs[0].node_properties.node_range_properties[0].container.ephemeral_storage.size_in_gi_b #=> Integer
|
1990
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.runtime_platform.operating_system_family #=> String
|
1991
|
+
# resp.jobs[0].node_properties.node_range_properties[0].container.runtime_platform.cpu_architecture #=> String
|
1960
1992
|
# resp.jobs[0].array_properties.status_summary #=> Hash
|
1961
1993
|
# resp.jobs[0].array_properties.status_summary["String"] #=> Integer
|
1962
1994
|
# resp.jobs[0].array_properties.size #=> Integer
|
@@ -2685,6 +2717,10 @@ module Aws::Batch
|
|
2685
2717
|
# ephemeral_storage: {
|
2686
2718
|
# size_in_gi_b: 1, # required
|
2687
2719
|
# },
|
2720
|
+
# runtime_platform: {
|
2721
|
+
# operating_system_family: "String",
|
2722
|
+
# cpu_architecture: "String",
|
2723
|
+
# },
|
2688
2724
|
# },
|
2689
2725
|
# node_properties: {
|
2690
2726
|
# num_nodes: 1, # required
|
@@ -2794,6 +2830,10 @@ module Aws::Batch
|
|
2794
2830
|
# ephemeral_storage: {
|
2795
2831
|
# size_in_gi_b: 1, # required
|
2796
2832
|
# },
|
2833
|
+
# runtime_platform: {
|
2834
|
+
# operating_system_family: "String",
|
2835
|
+
# cpu_architecture: "String",
|
2836
|
+
# },
|
2797
2837
|
# },
|
2798
2838
|
# },
|
2799
2839
|
# ],
|
@@ -2927,10 +2967,12 @@ module Aws::Batch
|
|
2927
2967
|
# name or the Amazon Resource Name (ARN) of the queue.
|
2928
2968
|
#
|
2929
2969
|
# @option params [String] :share_identifier
|
2930
|
-
# The share identifier for the job.
|
2931
|
-
#
|
2932
|
-
#
|
2933
|
-
#
|
2970
|
+
# The share identifier for the job. Don't specify this parameter if the
|
2971
|
+
# job queue doesn't have a scheduling policy. If the job queue has a
|
2972
|
+
# scheduling policy, then this parameter must be specified.
|
2973
|
+
#
|
2974
|
+
# This string is limited to 255 alphanumeric characters, and can be
|
2975
|
+
# followed by an asterisk (*).
|
2934
2976
|
#
|
2935
2977
|
# @option params [Integer] :scheduling_priority_override
|
2936
2978
|
# The scheduling priority for the job. This only affects jobs in job
|
@@ -3663,7 +3705,7 @@ module Aws::Batch
|
|
3663
3705
|
params: params,
|
3664
3706
|
config: config)
|
3665
3707
|
context[:gem_name] = 'aws-sdk-batch'
|
3666
|
-
context[:gem_version] = '1.
|
3708
|
+
context[:gem_version] = '1.74.0'
|
3667
3709
|
Seahorse::Client::Request.new(handlers, context)
|
3668
3710
|
end
|
3669
3711
|
|
@@ -176,6 +176,7 @@ module Aws::Batch
|
|
176
176
|
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
|
177
177
|
RetryAction = Shapes::StringShape.new(name: 'RetryAction')
|
178
178
|
RetryStrategy = Shapes::StructureShape.new(name: 'RetryStrategy')
|
179
|
+
RuntimePlatform = Shapes::StructureShape.new(name: 'RuntimePlatform')
|
179
180
|
SchedulingPolicyDetail = Shapes::StructureShape.new(name: 'SchedulingPolicyDetail')
|
180
181
|
SchedulingPolicyDetailList = Shapes::ListShape.new(name: 'SchedulingPolicyDetailList')
|
181
182
|
SchedulingPolicyListingDetail = Shapes::StructureShape.new(name: 'SchedulingPolicyListingDetail')
|
@@ -344,6 +345,7 @@ module Aws::Batch
|
|
344
345
|
ContainerDetail.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
345
346
|
ContainerDetail.add_member(:fargate_platform_configuration, Shapes::ShapeRef.new(shape: FargatePlatformConfiguration, location_name: "fargatePlatformConfiguration"))
|
346
347
|
ContainerDetail.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
348
|
+
ContainerDetail.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
347
349
|
ContainerDetail.struct_class = Types::ContainerDetail
|
348
350
|
|
349
351
|
ContainerOverrides.add_member(:vcpus, Shapes::ShapeRef.new(shape: Integer, deprecated: true, location_name: "vcpus", metadata: {"deprecatedMessage"=>"This field is deprecated, use resourceRequirements instead."}))
|
@@ -375,6 +377,7 @@ module Aws::Batch
|
|
375
377
|
ContainerProperties.add_member(:network_configuration, Shapes::ShapeRef.new(shape: NetworkConfiguration, location_name: "networkConfiguration"))
|
376
378
|
ContainerProperties.add_member(:fargate_platform_configuration, Shapes::ShapeRef.new(shape: FargatePlatformConfiguration, location_name: "fargatePlatformConfiguration"))
|
377
379
|
ContainerProperties.add_member(:ephemeral_storage, Shapes::ShapeRef.new(shape: EphemeralStorage, location_name: "ephemeralStorage"))
|
380
|
+
ContainerProperties.add_member(:runtime_platform, Shapes::ShapeRef.new(shape: RuntimePlatform, location_name: "runtimePlatform"))
|
378
381
|
ContainerProperties.struct_class = Types::ContainerProperties
|
379
382
|
|
380
383
|
ContainerSummary.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
|
@@ -900,6 +903,10 @@ module Aws::Batch
|
|
900
903
|
RetryStrategy.add_member(:evaluate_on_exit, Shapes::ShapeRef.new(shape: EvaluateOnExitList, location_name: "evaluateOnExit"))
|
901
904
|
RetryStrategy.struct_class = Types::RetryStrategy
|
902
905
|
|
906
|
+
RuntimePlatform.add_member(:operating_system_family, Shapes::ShapeRef.new(shape: String, location_name: "operatingSystemFamily"))
|
907
|
+
RuntimePlatform.add_member(:cpu_architecture, Shapes::ShapeRef.new(shape: String, location_name: "cpuArchitecture"))
|
908
|
+
RuntimePlatform.struct_class = Types::RuntimePlatform
|
909
|
+
|
903
910
|
SchedulingPolicyDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "name"))
|
904
911
|
SchedulingPolicyDetail.add_member(:arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "arn"))
|
905
912
|
SchedulingPolicyDetail.add_member(:fairshare_policy, Shapes::ShapeRef.new(shape: FairsharePolicy, location_name: "fairsharePolicy"))
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -459,7 +459,7 @@ module Aws::Batch
|
|
459
459
|
# @return [String]
|
460
460
|
#
|
461
461
|
# @!attribute [rw] minv_cpus
|
462
|
-
# The minimum number of
|
462
|
+
# The minimum number of vCPUs that a compute environment should
|
463
463
|
# maintain (even if the compute environment is `DISABLED`).
|
464
464
|
#
|
465
465
|
# <note markdown="1"> This parameter isn't applicable to jobs that are running on Fargate
|
@@ -469,8 +469,7 @@ module Aws::Batch
|
|
469
469
|
# @return [Integer]
|
470
470
|
#
|
471
471
|
# @!attribute [rw] maxv_cpus
|
472
|
-
# The maximum number of
|
473
|
-
# can reach.
|
472
|
+
# The maximum number of vCPUs that a compute environment can support.
|
474
473
|
#
|
475
474
|
# <note markdown="1"> With both `BEST_FIT_PROGRESSIVE` and `SPOT_CAPACITY_OPTIMIZED`
|
476
475
|
# allocation strategies using On-Demand or Spot Instances, and the
|
@@ -484,9 +483,9 @@ module Aws::Batch
|
|
484
483
|
# @return [Integer]
|
485
484
|
#
|
486
485
|
# @!attribute [rw] desiredv_cpus
|
487
|
-
# The desired number of
|
488
|
-
#
|
489
|
-
#
|
486
|
+
# The desired number of vCPUS in the compute environment. Batch
|
487
|
+
# modifies this value between the minimum and maximum values based on
|
488
|
+
# job queue demand.
|
490
489
|
#
|
491
490
|
# <note markdown="1"> This parameter isn't applicable to jobs that are running on Fargate
|
492
491
|
# resources. Don't specify it.
|
@@ -763,8 +762,8 @@ module Aws::Batch
|
|
763
762
|
# [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
|
764
763
|
#
|
765
764
|
# @!attribute [rw] minv_cpus
|
766
|
-
# The minimum number of
|
767
|
-
#
|
765
|
+
# The minimum number of vCPUs that an environment should maintain
|
766
|
+
# (even if the compute environment is `DISABLED`).
|
768
767
|
#
|
769
768
|
# <note markdown="1"> This parameter isn't applicable to jobs that are running on Fargate
|
770
769
|
# resources. Don't specify it.
|
@@ -788,9 +787,9 @@ module Aws::Batch
|
|
788
787
|
# @return [Integer]
|
789
788
|
#
|
790
789
|
# @!attribute [rw] desiredv_cpus
|
791
|
-
# The desired number of
|
792
|
-
#
|
793
|
-
#
|
790
|
+
# The desired number of vCPUS in the compute environment. Batch
|
791
|
+
# modifies this value between the minimum and maximum values based on
|
792
|
+
# job queue demand.
|
794
793
|
#
|
795
794
|
# <note markdown="1"> This parameter isn't applicable to jobs that are running on Fargate
|
796
795
|
# resources. Don't specify it.
|
@@ -1485,6 +1484,11 @@ module Aws::Batch
|
|
1485
1484
|
# available, beyond the default amount, for tasks hosted on Fargate.
|
1486
1485
|
# @return [Types::EphemeralStorage]
|
1487
1486
|
#
|
1487
|
+
# @!attribute [rw] runtime_platform
|
1488
|
+
# An object that represents the compute environment architecture for
|
1489
|
+
# Batch jobs on Fargate.
|
1490
|
+
# @return [Types::RuntimePlatform]
|
1491
|
+
#
|
1488
1492
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerDetail AWS API Documentation
|
1489
1493
|
#
|
1490
1494
|
class ContainerDetail < Struct.new(
|
@@ -1514,13 +1518,21 @@ module Aws::Batch
|
|
1514
1518
|
:secrets,
|
1515
1519
|
:network_configuration,
|
1516
1520
|
:fargate_platform_configuration,
|
1517
|
-
:ephemeral_storage
|
1521
|
+
:ephemeral_storage,
|
1522
|
+
:runtime_platform)
|
1518
1523
|
SENSITIVE = []
|
1519
1524
|
include Aws::Structure
|
1520
1525
|
end
|
1521
1526
|
|
1522
1527
|
# The overrides that should be sent to a container.
|
1523
1528
|
#
|
1529
|
+
# For information about using Batch overrides when you connect event
|
1530
|
+
# sources to targets, see [BatchContainerOverrides][1].
|
1531
|
+
#
|
1532
|
+
#
|
1533
|
+
#
|
1534
|
+
# [1]: https://docs.aws.amazon.com/eventbridge/latest/pipes-reference/API_BatchContainerOverrides.html
|
1535
|
+
#
|
1524
1536
|
# @!attribute [rw] vcpus
|
1525
1537
|
# This parameter is deprecated, use `resourceRequirements` to override
|
1526
1538
|
# the `vcpus` parameter that's set in the job definition. It's not
|
@@ -1562,6 +1574,10 @@ module Aws::Batch
|
|
1562
1574
|
# @!attribute [rw] command
|
1563
1575
|
# The command to send to the container that overrides the default
|
1564
1576
|
# command from the Docker image or the job definition.
|
1577
|
+
#
|
1578
|
+
# <note markdown="1"> This parameter can't contain an empty string.
|
1579
|
+
#
|
1580
|
+
# </note>
|
1565
1581
|
# @return [Array<String>]
|
1566
1582
|
#
|
1567
1583
|
# @!attribute [rw] instance_type
|
@@ -1907,6 +1923,11 @@ module Aws::Batch
|
|
1907
1923
|
# available, beyond the default amount, for tasks hosted on Fargate.
|
1908
1924
|
# @return [Types::EphemeralStorage]
|
1909
1925
|
#
|
1926
|
+
# @!attribute [rw] runtime_platform
|
1927
|
+
# An object that represents the compute environment architecture for
|
1928
|
+
# Batch jobs on Fargate.
|
1929
|
+
# @return [Types::RuntimePlatform]
|
1930
|
+
#
|
1910
1931
|
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ContainerProperties AWS API Documentation
|
1911
1932
|
#
|
1912
1933
|
class ContainerProperties < Struct.new(
|
@@ -1930,7 +1951,8 @@ module Aws::Batch
|
|
1930
1951
|
:secrets,
|
1931
1952
|
:network_configuration,
|
1932
1953
|
:fargate_platform_configuration,
|
1933
|
-
:ephemeral_storage
|
1954
|
+
:ephemeral_storage,
|
1955
|
+
:runtime_platform)
|
1934
1956
|
SENSITIVE = []
|
1935
1957
|
include Aws::Structure
|
1936
1958
|
end
|
@@ -5871,6 +5893,56 @@ module Aws::Batch
|
|
5871
5893
|
include Aws::Structure
|
5872
5894
|
end
|
5873
5895
|
|
5896
|
+
# An object that represents the compute environment architecture for
|
5897
|
+
# Batch jobs on Fargate.
|
5898
|
+
#
|
5899
|
+
# @!attribute [rw] operating_system_family
|
5900
|
+
# The operating system for the compute environment. Valid values are:
|
5901
|
+
# `LINUX` (default), `WINDOWS_SERVER_2019_CORE`,
|
5902
|
+
# `WINDOWS_SERVER_2019_FULL`, `WINDOWS_SERVER_2022_CORE`, and
|
5903
|
+
# `WINDOWS_SERVER_2022_FULL`.
|
5904
|
+
#
|
5905
|
+
# <note markdown="1"> The following parameters can’t be set for Windows containers:
|
5906
|
+
# `linuxParameters`, `privileged`, `user`, `ulimits`,
|
5907
|
+
# `readonlyRootFilesystem`, and `efsVolumeConfiguration`.
|
5908
|
+
#
|
5909
|
+
# </note>
|
5910
|
+
#
|
5911
|
+
# <note markdown="1"> The Batch Scheduler checks before registering a task definition with
|
5912
|
+
# Fargate. If the job requires a Windows container and the first
|
5913
|
+
# compute environment is `LINUX`, the compute environment is skipped
|
5914
|
+
# and the next is checked until a Windows-based compute environment is
|
5915
|
+
# found.
|
5916
|
+
#
|
5917
|
+
# </note>
|
5918
|
+
#
|
5919
|
+
# <note markdown="1"> Fargate Spot is not supported for Windows-based containers on
|
5920
|
+
# Fargate. A job queue will be blocked if a Fargate Windows job is
|
5921
|
+
# submitted to a job queue with only Fargate Spot compute
|
5922
|
+
# environments. However, you can attach both `FARGATE` and
|
5923
|
+
# `FARGATE_SPOT` compute environments to the same job queue.
|
5924
|
+
#
|
5925
|
+
# </note>
|
5926
|
+
# @return [String]
|
5927
|
+
#
|
5928
|
+
# @!attribute [rw] cpu_architecture
|
5929
|
+
# The vCPU architecture. The default value is `X86_64`. Valid values
|
5930
|
+
# are `X86_64` and ` ARM64`.
|
5931
|
+
#
|
5932
|
+
# <note markdown="1"> This parameter must be set to `X86_64` for Windows containers.
|
5933
|
+
#
|
5934
|
+
# </note>
|
5935
|
+
# @return [String]
|
5936
|
+
#
|
5937
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/RuntimePlatform AWS API Documentation
|
5938
|
+
#
|
5939
|
+
class RuntimePlatform < Struct.new(
|
5940
|
+
:operating_system_family,
|
5941
|
+
:cpu_architecture)
|
5942
|
+
SENSITIVE = []
|
5943
|
+
include Aws::Structure
|
5944
|
+
end
|
5945
|
+
|
5874
5946
|
# An object that represents a scheduling policy.
|
5875
5947
|
#
|
5876
5948
|
# @!attribute [rw] name
|
@@ -6036,10 +6108,12 @@ module Aws::Batch
|
|
6036
6108
|
# @return [String]
|
6037
6109
|
#
|
6038
6110
|
# @!attribute [rw] share_identifier
|
6039
|
-
# The share identifier for the job.
|
6040
|
-
#
|
6041
|
-
#
|
6042
|
-
#
|
6111
|
+
# The share identifier for the job. Don't specify this parameter if
|
6112
|
+
# the job queue doesn't have a scheduling policy. If the job queue
|
6113
|
+
# has a scheduling policy, then this parameter must be specified.
|
6114
|
+
#
|
6115
|
+
# This string is limited to 255 alphanumeric characters, and can be
|
6116
|
+
# followed by an asterisk (*).
|
6043
6117
|
# @return [String]
|
6044
6118
|
#
|
6045
6119
|
# @!attribute [rw] scheduling_priority_override
|
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.74.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-06
|
11
|
+
date: 2023-07-06 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.
|
22
|
+
version: 3.177.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.
|
32
|
+
version: 3.177.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|