aws-sdk-batch 1.72.0 → 1.73.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2cdaf92156952257fbf1fd76921660a3d62dfdfadb07b2c0ce579f0d4e055289
4
- data.tar.gz: d781592f3360f9faee01205868e60930c57e12a382996e20c56b31ad91e05b84
3
+ metadata.gz: 73ce936296944485f9e33c12b336a04a405bb9a54fdc5618113907fe4b2a12d5
4
+ data.tar.gz: 1917156eb3d997bb91fd8dbdf1a8fd16db4c0925d0e808efb98fffd6604d1f58
5
5
  SHA512:
6
- metadata.gz: f4536ea2fdb3a74bb11a79bac49a58b4692795cef257473d727175be5e3b0de0d6011edb0728a75da12d381d3bb90b47f4c9d0876b1b8fa24fd16816852692ea
7
- data.tar.gz: bbb614a2e0b0882f6c967a45552037d0c02aecaf04ef9a00c0faa9c7e84051bf9f9210538ef91377cc031115c00b7c6d33c43d86fbc3ca5797bc8c71909f0d1e
6
+ metadata.gz: b8fe16683ea170b26f0de8331f41a4070bee0994dd02f741ab7a4a75fea68c6451f2a278bb18c8a41ec63f3d41c2dee75eae5ece39e72002dbb0273998ee9fff
7
+ data.tar.gz: a7c0398791f803a56082c715a9229a2e14689f6a941604b646afccf53cdd056d17475e4e9f5efff2399bb421966e81c3ce202551a859dc5e3f635f6f91bdd9a3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.73.0 (2023-07-03)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.72.0 (2023-06-28)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.72.0
1
+ 1.73.0
@@ -378,6 +378,16 @@ module Aws::Batch
378
378
  # until it reaches the head of the job queue. Then the job status is
379
379
  # updated to `FAILED`.
380
380
  #
381
+ # <note markdown="1"> A `PENDING` job is canceled after all dependency jobs are completed.
382
+ # Therefore, it may take longer than expected to cancel a job in
383
+ # `PENDING` status.
384
+ #
385
+ # When you try to cancel an array parent job in `PENDING`, Batch
386
+ # attempts to cancel all child jobs. The array parent job is canceled
387
+ # when all child jobs are completed.
388
+ #
389
+ # </note>
390
+ #
381
391
  # Jobs that progressed to the `STARTING` or `RUNNING` state aren't
382
392
  # canceled. However, the API operation still succeeds, even if no job is
383
393
  # canceled. These jobs must be terminated with the TerminateJob
@@ -490,7 +500,10 @@ module Aws::Batch
490
500
  # `BEST_FIT_PROGRESSIVE` or `SPOT_CAPACITY_OPTIMIZED`.
491
501
  #
492
502
  # * Set the update to latest image version
493
- # (`updateToLatestImageVersion`) parameter to `true`.
503
+ # (`updateToLatestImageVersion`) parameter to `true`. The
504
+ # `updateToLatestImageVersion` parameter is used when you update a
505
+ # compute environment. This parameter is ignored when you create a
506
+ # compute environment.
494
507
  #
495
508
  # * Don't specify an AMI ID in `imageId`, `imageIdOverride` (in [
496
509
  # `ec2Configuration` ][5]), or in the launch template
@@ -1500,6 +1513,8 @@ module Aws::Batch
1500
1513
  # resp.job_definitions[0].container_properties.network_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
1501
1514
  # resp.job_definitions[0].container_properties.fargate_platform_configuration.platform_version #=> String
1502
1515
  # resp.job_definitions[0].container_properties.ephemeral_storage.size_in_gi_b #=> Integer
1516
+ # resp.job_definitions[0].container_properties.runtime_platform.operating_system_family #=> String
1517
+ # resp.job_definitions[0].container_properties.runtime_platform.cpu_architecture #=> String
1503
1518
  # resp.job_definitions[0].timeout.attempt_duration_seconds #=> Integer
1504
1519
  # resp.job_definitions[0].node_properties.num_nodes #=> Integer
1505
1520
  # resp.job_definitions[0].node_properties.main_node #=> Integer
@@ -1565,6 +1580,8 @@ module Aws::Batch
1565
1580
  # resp.job_definitions[0].node_properties.node_range_properties[0].container.network_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
1566
1581
  # resp.job_definitions[0].node_properties.node_range_properties[0].container.fargate_platform_configuration.platform_version #=> String
1567
1582
  # resp.job_definitions[0].node_properties.node_range_properties[0].container.ephemeral_storage.size_in_gi_b #=> Integer
1583
+ # resp.job_definitions[0].node_properties.node_range_properties[0].container.runtime_platform.operating_system_family #=> String
1584
+ # resp.job_definitions[0].node_properties.node_range_properties[0].container.runtime_platform.cpu_architecture #=> String
1568
1585
  # resp.job_definitions[0].tags #=> Hash
1569
1586
  # resp.job_definitions[0].tags["TagKey"] #=> String
1570
1587
  # resp.job_definitions[0].propagate_tags #=> Boolean
@@ -1891,6 +1908,8 @@ module Aws::Batch
1891
1908
  # resp.jobs[0].container.network_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
1892
1909
  # resp.jobs[0].container.fargate_platform_configuration.platform_version #=> String
1893
1910
  # resp.jobs[0].container.ephemeral_storage.size_in_gi_b #=> Integer
1911
+ # resp.jobs[0].container.runtime_platform.operating_system_family #=> String
1912
+ # resp.jobs[0].container.runtime_platform.cpu_architecture #=> String
1894
1913
  # resp.jobs[0].node_details.node_index #=> Integer
1895
1914
  # resp.jobs[0].node_details.is_main_node #=> Boolean
1896
1915
  # resp.jobs[0].node_properties.num_nodes #=> Integer
@@ -1957,6 +1976,8 @@ module Aws::Batch
1957
1976
  # resp.jobs[0].node_properties.node_range_properties[0].container.network_configuration.assign_public_ip #=> String, one of "ENABLED", "DISABLED"
1958
1977
  # resp.jobs[0].node_properties.node_range_properties[0].container.fargate_platform_configuration.platform_version #=> String
1959
1978
  # resp.jobs[0].node_properties.node_range_properties[0].container.ephemeral_storage.size_in_gi_b #=> Integer
1979
+ # resp.jobs[0].node_properties.node_range_properties[0].container.runtime_platform.operating_system_family #=> String
1980
+ # resp.jobs[0].node_properties.node_range_properties[0].container.runtime_platform.cpu_architecture #=> String
1960
1981
  # resp.jobs[0].array_properties.status_summary #=> Hash
1961
1982
  # resp.jobs[0].array_properties.status_summary["String"] #=> Integer
1962
1983
  # resp.jobs[0].array_properties.size #=> Integer
@@ -2685,6 +2706,10 @@ module Aws::Batch
2685
2706
  # ephemeral_storage: {
2686
2707
  # size_in_gi_b: 1, # required
2687
2708
  # },
2709
+ # runtime_platform: {
2710
+ # operating_system_family: "String",
2711
+ # cpu_architecture: "String",
2712
+ # },
2688
2713
  # },
2689
2714
  # node_properties: {
2690
2715
  # num_nodes: 1, # required
@@ -2794,6 +2819,10 @@ module Aws::Batch
2794
2819
  # ephemeral_storage: {
2795
2820
  # size_in_gi_b: 1, # required
2796
2821
  # },
2822
+ # runtime_platform: {
2823
+ # operating_system_family: "String",
2824
+ # cpu_architecture: "String",
2825
+ # },
2797
2826
  # },
2798
2827
  # },
2799
2828
  # ],
@@ -2927,10 +2956,12 @@ module Aws::Batch
2927
2956
  # name or the Amazon Resource Name (ARN) of the queue.
2928
2957
  #
2929
2958
  # @option params [String] :share_identifier
2930
- # The share identifier for the job. If the job queue doesn't have a
2931
- # scheduling policy, then this parameter must not be specified. If the
2932
- # job queue has a scheduling policy, then this parameter must be
2933
- # specified.
2959
+ # The share identifier for the job. Don't specify this parameter if the
2960
+ # job queue doesn't have a scheduling policy. If the job queue has a
2961
+ # scheduling policy, then this parameter must be specified.
2962
+ #
2963
+ # This string is limited to 255 alphanumeric characters, and can be
2964
+ # followed by an asterisk (*).
2934
2965
  #
2935
2966
  # @option params [Integer] :scheduling_priority_override
2936
2967
  # The scheduling priority for the job. This only affects jobs in job
@@ -3663,7 +3694,7 @@ module Aws::Batch
3663
3694
  params: params,
3664
3695
  config: config)
3665
3696
  context[:gem_name] = 'aws-sdk-batch'
3666
- context[:gem_version] = '1.72.0'
3697
+ context[:gem_version] = '1.73.0'
3667
3698
  Seahorse::Client::Request.new(handlers, context)
3668
3699
  end
3669
3700
 
@@ -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"))
@@ -459,7 +459,7 @@ module Aws::Batch
459
459
  # @return [String]
460
460
  #
461
461
  # @!attribute [rw] minv_cpus
462
- # The minimum number of Amazon EC2 vCPUs that an environment should
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 Amazon EC2 vCPUs that a compute environment
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 Amazon EC2 vCPUS in the compute environment.
488
- # Batch modifies this value between the minimum and maximum values
489
- # based on job queue demand.
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 Amazon EC2 vCPUs that an environment should
767
- # maintain (even if the compute environment is `DISABLED`).
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 Amazon EC2 vCPUS in the compute environment.
792
- # Batch modifies this value between the minimum and maximum values
793
- # based on job queue demand.
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. If the job queue doesn't have a
6040
- # scheduling policy, then this parameter must not be specified. If the
6041
- # job queue has a scheduling policy, then this parameter must be
6042
- # specified.
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
@@ -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.72.0'
55
+ GEM_VERSION = '1.73.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.72.0
4
+ version: 1.73.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-28 00:00:00.000000000 Z
11
+ date: 2023-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core