aws-sdk-batch 1.147.0 → 1.149.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: fded72c30644fd471d52da2b0418f14a014cdc5b05d6bc47084d58789bdacee0
4
- data.tar.gz: 417f535c85b7c4fbe07095500c70304a011adc6043f5a40918a6c05c42dd68af
3
+ metadata.gz: a19772fd82f49a885f174446a3191eaed145b3a9dd9448ab68ea7861fe2a0293
4
+ data.tar.gz: f4e67af1863c7868d761fe68dadd48b3b10562013238c7768d16c4655878b279
5
5
  SHA512:
6
- metadata.gz: 926d862f36ce6517577c4a62af2376d6e9d9ec9d89994095f0033069008e2a6f94b53d4e3633b56df40d7aecdce8e5db07cb8a8c818791dbe4e1a242ab777dc0
7
- data.tar.gz: c58a701c6d933f28dbbd43abd6845db620a5366b0305d6e932228decd823dd81eeae09f3ae8fac5561c5ff63f33ec0db4d310f7438c5ec55bfa9e6eb897651e1
6
+ metadata.gz: 9e67b9317a5d7538abc4c1478f31cc41c6ad169ce4da5f557eb7662517df2bc268930d64af2be196a54b9f951b7753d2e19bdfcca727609f316467e023ac7ba5
7
+ data.tar.gz: a582736dccc27ed22c56a184c15cb47730f1d2c98fab73eff853dd5319d3a2ec8ceda5723e9b4a08441bbf9c3d4316062e75e04fe2e6114fd0a56e6698856e58
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.149.0 (2026-08-19)
5
+ ------------------
6
+
7
+ * Feature - AWS Batch now supports managing CloudWatch Container Insights on compute environments via CreateComputeEnvironment and UpdateComputeEnvironment.
8
+
9
+ 1.148.0 (2026-08-18)
10
+ ------------------
11
+
12
+ * Feature - Update AWS Batch documentation with newer Fargate Supported configurations, notes, and fix broken Docker link re-directs.
13
+
4
14
  1.147.0 (2026-07-09)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.147.0
1
+ 1.149.0
@@ -709,6 +709,11 @@ module Aws::Batch
709
709
  # @option params [String] :context
710
710
  # Reserved.
711
711
  #
712
+ # @option params [Types::EcsSettings] :ecs_settings
713
+ # The Amazon ECS settings for the compute environment. These settings
714
+ # control CloudWatch Container Insights collection for the compute
715
+ # environment.
716
+ #
712
717
  # @return [Types::CreateComputeEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
713
718
  #
714
719
  # * {Types::CreateComputeEnvironmentResponse#compute_environment_name #compute_environment_name} => String
@@ -862,6 +867,9 @@ module Aws::Batch
862
867
  # kubernetes_namespace: "String", # required
863
868
  # },
864
869
  # context: "String",
870
+ # ecs_settings: {
871
+ # container_insights: "ENABLED", # accepts ENABLED, ENHANCED, DISABLED
872
+ # },
865
873
  # })
866
874
  #
867
875
  # @example Response structure
@@ -1764,6 +1772,7 @@ module Aws::Batch
1764
1772
  # resp.compute_environments[0].container_orchestration_type #=> String, one of "ECS", "EKS"
1765
1773
  # resp.compute_environments[0].uuid #=> String
1766
1774
  # resp.compute_environments[0].context #=> String
1775
+ # resp.compute_environments[0].ecs_settings.container_insights #=> String, one of "ENABLED", "ENHANCED", "DISABLED"
1767
1776
  # resp.next_token #=> String
1768
1777
  #
1769
1778
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments AWS API Documentation
@@ -6152,6 +6161,11 @@ module Aws::Batch
6152
6161
  # @option params [String] :context
6153
6162
  # Reserved.
6154
6163
  #
6164
+ # @option params [Types::EcsSettings] :ecs_settings
6165
+ # The Amazon ECS settings for the compute environment. These settings
6166
+ # control CloudWatch Container Insights collection for the compute
6167
+ # environment.
6168
+ #
6155
6169
  # @return [Types::UpdateComputeEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
6156
6170
  #
6157
6171
  # * {Types::UpdateComputeEnvironmentResponse#compute_environment_name #compute_environment_name} => String
@@ -6230,6 +6244,9 @@ module Aws::Batch
6230
6244
  # job_execution_timeout_minutes: 1,
6231
6245
  # },
6232
6246
  # context: "String",
6247
+ # ecs_settings: {
6248
+ # container_insights: "ENABLED", # accepts ENABLED, ENHANCED, DISABLED
6249
+ # },
6233
6250
  # })
6234
6251
  #
6235
6252
  # @example Response structure
@@ -6664,7 +6681,7 @@ module Aws::Batch
6664
6681
  tracer: tracer
6665
6682
  )
6666
6683
  context[:gem_name] = 'aws-sdk-batch'
6667
- context[:gem_version] = '1.147.0'
6684
+ context[:gem_version] = '1.149.0'
6668
6685
  Seahorse::Client::Request.new(handlers, context)
6669
6686
  end
6670
6687
 
@@ -51,6 +51,7 @@ module Aws::Batch
51
51
  ConsumableResourceSummary = Shapes::StructureShape.new(name: 'ConsumableResourceSummary')
52
52
  ConsumableResourceSummaryList = Shapes::ListShape.new(name: 'ConsumableResourceSummaryList')
53
53
  ContainerDetail = Shapes::StructureShape.new(name: 'ContainerDetail')
54
+ ContainerInsights = Shapes::StringShape.new(name: 'ContainerInsights')
54
55
  ContainerOverrides = Shapes::StructureShape.new(name: 'ContainerOverrides')
55
56
  ContainerProperties = Shapes::StructureShape.new(name: 'ContainerProperties')
56
57
  ContainerSummary = Shapes::StructureShape.new(name: 'ContainerSummary')
@@ -112,6 +113,7 @@ module Aws::Batch
112
113
  EcsProperties = Shapes::StructureShape.new(name: 'EcsProperties')
113
114
  EcsPropertiesDetail = Shapes::StructureShape.new(name: 'EcsPropertiesDetail')
114
115
  EcsPropertiesOverride = Shapes::StructureShape.new(name: 'EcsPropertiesOverride')
116
+ EcsSettings = Shapes::StructureShape.new(name: 'EcsSettings')
115
117
  EcsTaskDetails = Shapes::StructureShape.new(name: 'EcsTaskDetails')
116
118
  EcsTaskProperties = Shapes::StructureShape.new(name: 'EcsTaskProperties')
117
119
  EksAnnotationsMap = Shapes::MapShape.new(name: 'EksAnnotationsMap')
@@ -451,6 +453,7 @@ module Aws::Batch
451
453
  ComputeEnvironmentDetail.add_member(:container_orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "containerOrchestrationType"))
452
454
  ComputeEnvironmentDetail.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "uuid"))
453
455
  ComputeEnvironmentDetail.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
456
+ ComputeEnvironmentDetail.add_member(:ecs_settings, Shapes::ShapeRef.new(shape: EcsSettings, location_name: "ecsSettings"))
454
457
  ComputeEnvironmentDetail.struct_class = Types::ComputeEnvironmentDetail
455
458
 
456
459
  ComputeEnvironmentDetailList.member = Shapes::ShapeRef.new(shape: ComputeEnvironmentDetail)
@@ -601,6 +604,7 @@ module Aws::Batch
601
604
  CreateComputeEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
602
605
  CreateComputeEnvironmentRequest.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfiguration, location_name: "eksConfiguration"))
603
606
  CreateComputeEnvironmentRequest.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
607
+ CreateComputeEnvironmentRequest.add_member(:ecs_settings, Shapes::ShapeRef.new(shape: EcsSettings, location_name: "ecsSettings"))
604
608
  CreateComputeEnvironmentRequest.struct_class = Types::CreateComputeEnvironmentRequest
605
609
 
606
610
  CreateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
@@ -844,6 +848,9 @@ module Aws::Batch
844
848
  EcsPropertiesOverride.add_member(:task_properties, Shapes::ShapeRef.new(shape: ListTaskPropertiesOverride, location_name: "taskProperties"))
845
849
  EcsPropertiesOverride.struct_class = Types::EcsPropertiesOverride
846
850
 
851
+ EcsSettings.add_member(:container_insights, Shapes::ShapeRef.new(shape: ContainerInsights, location_name: "containerInsights"))
852
+ EcsSettings.struct_class = Types::EcsSettings
853
+
847
854
  EcsTaskDetails.add_member(:containers, Shapes::ShapeRef.new(shape: ListTaskContainerDetails, location_name: "containers"))
848
855
  EcsTaskDetails.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
849
856
  EcsTaskDetails.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
@@ -1817,6 +1824,7 @@ module Aws::Batch
1817
1824
  UpdateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
1818
1825
  UpdateComputeEnvironmentRequest.add_member(:update_policy, Shapes::ShapeRef.new(shape: UpdatePolicy, location_name: "updatePolicy"))
1819
1826
  UpdateComputeEnvironmentRequest.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
1827
+ UpdateComputeEnvironmentRequest.add_member(:ecs_settings, Shapes::ShapeRef.new(shape: EcsSettings, location_name: "ecsSettings"))
1820
1828
  UpdateComputeEnvironmentRequest.struct_class = Types::UpdateComputeEnvironmentRequest
1821
1829
 
1822
1830
  UpdateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
@@ -455,6 +455,11 @@ module Aws::Batch
455
455
  # Reserved.
456
456
  # @return [String]
457
457
  #
458
+ # @!attribute [rw] ecs_settings
459
+ # The Amazon ECS settings for the compute environment. These settings
460
+ # control CloudWatch Container Insights collection.
461
+ # @return [Types::EcsSettings]
462
+ #
458
463
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeEnvironmentDetail AWS API Documentation
459
464
  #
460
465
  class ComputeEnvironmentDetail < Struct.new(
@@ -473,7 +478,8 @@ module Aws::Batch
473
478
  :eks_configuration,
474
479
  :container_orchestration_type,
475
480
  :uuid,
476
- :context)
481
+ :context,
482
+ :ecs_settings)
477
483
  SENSITIVE = []
478
484
  include Aws::Structure
479
485
  end
@@ -1713,8 +1719,8 @@ module Aws::Batch
1713
1719
  #
1714
1720
  #
1715
1721
  #
1716
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
1717
- # [2]: https://docs.docker.com/engine/api/v1.23/
1722
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
1723
+ # [2]: https://docs.docker.com/engine/api/latest/
1718
1724
  # [3]: https://docs.docker.com/engine/reference/run/
1719
1725
  # @return [Integer]
1720
1726
  #
@@ -1769,8 +1775,8 @@ module Aws::Batch
1769
1775
  #
1770
1776
  #
1771
1777
  #
1772
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
1773
- # [2]: https://docs.docker.com/engine/api/v1.23/
1778
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
1779
+ # [2]: https://docs.docker.com/engine/api/latest/
1774
1780
  # [3]: https://docs.docker.com/engine/reference/commandline/run/
1775
1781
  # @return [Boolean]
1776
1782
  #
@@ -1786,8 +1792,8 @@ module Aws::Batch
1786
1792
  #
1787
1793
  #
1788
1794
  #
1789
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
1790
- # [2]: https://docs.docker.com/engine/api/v1.23/
1795
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
1796
+ # [2]: https://docs.docker.com/engine/api/latest/
1791
1797
  # [3]: https://docs.docker.com/engine/reference/run/
1792
1798
  # @return [Array<Types::Ulimit>]
1793
1799
  #
@@ -1809,8 +1815,8 @@ module Aws::Batch
1809
1815
  #
1810
1816
  #
1811
1817
  #
1812
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
1813
- # [2]: https://docs.docker.com/engine/api/v1.23/
1818
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
1819
+ # [2]: https://docs.docker.com/engine/api/latest/
1814
1820
  # [3]: https://docs.docker.com/engine/reference/run/
1815
1821
  # @return [String]
1816
1822
  #
@@ -1906,8 +1912,8 @@ module Aws::Batch
1906
1912
  #
1907
1913
  #
1908
1914
  #
1909
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
1910
- # [2]: https://docs.docker.com/engine/api/v1.23/
1915
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
1916
+ # [2]: https://docs.docker.com/engine/api/latest/
1911
1917
  # [3]: https://docs.docker.com/engine/reference/run/
1912
1918
  # [4]: https://docs.docker.com/engine/admin/logging/overview/
1913
1919
  # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html
@@ -2130,8 +2136,8 @@ module Aws::Batch
2130
2136
  #
2131
2137
  #
2132
2138
  #
2133
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
2134
- # [2]: https://docs.docker.com/engine/api/v1.23/
2139
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
2140
+ # [2]: https://docs.docker.com/engine/api/latest/
2135
2141
  # [3]: https://docs.docker.com/engine/reference/run/
2136
2142
  # @return [String]
2137
2143
  #
@@ -2150,8 +2156,8 @@ module Aws::Batch
2150
2156
  #
2151
2157
  #
2152
2158
  #
2153
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
2154
- # [2]: https://docs.docker.com/engine/api/v1.23/
2159
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
2160
+ # [2]: https://docs.docker.com/engine/api/latest/
2155
2161
  # [3]: https://docs.docker.com/engine/reference/run/
2156
2162
  # @return [Integer]
2157
2163
  #
@@ -2176,8 +2182,8 @@ module Aws::Batch
2176
2182
  #
2177
2183
  #
2178
2184
  #
2179
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
2180
- # [2]: https://docs.docker.com/engine/api/v1.23/
2185
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
2186
+ # [2]: https://docs.docker.com/engine/api/latest/
2181
2187
  # [3]: https://docs.docker.com/engine/reference/run/
2182
2188
  # [4]: https://docs.docker.com/engine/reference/builder/#cmd
2183
2189
  # @return [Array<String>]
@@ -2223,8 +2229,8 @@ module Aws::Batch
2223
2229
  #
2224
2230
  #
2225
2231
  #
2226
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
2227
- # [2]: https://docs.docker.com/engine/api/v1.23/
2232
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
2233
+ # [2]: https://docs.docker.com/engine/api/latest/
2228
2234
  # [3]: https://docs.docker.com/engine/reference/run/
2229
2235
  # @return [Array<Types::KeyValuePair>]
2230
2236
  #
@@ -2235,8 +2241,8 @@ module Aws::Batch
2235
2241
  #
2236
2242
  #
2237
2243
  #
2238
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
2239
- # [2]: https://docs.docker.com/engine/api/v1.23/
2244
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
2245
+ # [2]: https://docs.docker.com/engine/api/latest/
2240
2246
  # [3]: https://docs.docker.com/engine/reference/run/
2241
2247
  # @return [Array<Types::MountPoint>]
2242
2248
  #
@@ -2248,8 +2254,8 @@ module Aws::Batch
2248
2254
  #
2249
2255
  #
2250
2256
  #
2251
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
2252
- # [2]: https://docs.docker.com/engine/api/v1.23/
2257
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
2258
+ # [2]: https://docs.docker.com/engine/api/latest/
2253
2259
  # @return [Boolean]
2254
2260
  #
2255
2261
  # @!attribute [rw] privileged
@@ -2267,8 +2273,8 @@ module Aws::Batch
2267
2273
  #
2268
2274
  #
2269
2275
  #
2270
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
2271
- # [2]: https://docs.docker.com/engine/api/v1.23/
2276
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
2277
+ # [2]: https://docs.docker.com/engine/api/latest/
2272
2278
  # [3]: https://docs.docker.com/engine/reference/run/
2273
2279
  # @return [Boolean]
2274
2280
  #
@@ -2284,8 +2290,8 @@ module Aws::Batch
2284
2290
  #
2285
2291
  #
2286
2292
  #
2287
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
2288
- # [2]: https://docs.docker.com/engine/api/v1.23/
2293
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
2294
+ # [2]: https://docs.docker.com/engine/api/latest/
2289
2295
  # [3]: https://docs.docker.com/engine/reference/run/
2290
2296
  # @return [Array<Types::Ulimit>]
2291
2297
  #
@@ -2296,8 +2302,8 @@ module Aws::Batch
2296
2302
  #
2297
2303
  #
2298
2304
  #
2299
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
2300
- # [2]: https://docs.docker.com/engine/api/v1.23/
2305
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
2306
+ # [2]: https://docs.docker.com/engine/api/latest/
2301
2307
  # [3]: https://docs.docker.com/engine/reference/run/
2302
2308
  # @return [String]
2303
2309
  #
@@ -2359,8 +2365,8 @@ module Aws::Batch
2359
2365
  #
2360
2366
  #
2361
2367
  #
2362
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
2363
- # [2]: https://docs.docker.com/engine/api/v1.23/
2368
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
2369
+ # [2]: https://docs.docker.com/engine/api/latest/
2364
2370
  # [3]: https://docs.docker.com/engine/reference/run/
2365
2371
  # [4]: https://docs.docker.com/engine/admin/logging/overview/
2366
2372
  # [5]: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-batch-jobdefinition-containerproperties-logconfiguration.html
@@ -2604,6 +2610,12 @@ module Aws::Batch
2604
2610
  # Reserved.
2605
2611
  # @return [String]
2606
2612
  #
2613
+ # @!attribute [rw] ecs_settings
2614
+ # The Amazon ECS settings for the compute environment. These settings
2615
+ # control CloudWatch Container Insights collection for the compute
2616
+ # environment.
2617
+ # @return [Types::EcsSettings]
2618
+ #
2607
2619
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironmentRequest AWS API Documentation
2608
2620
  #
2609
2621
  class CreateComputeEnvironmentRequest < Struct.new(
@@ -2615,7 +2627,8 @@ module Aws::Batch
2615
2627
  :service_role,
2616
2628
  :tags,
2617
2629
  :eks_configuration,
2618
- :context)
2630
+ :context,
2631
+ :ecs_settings)
2619
2632
  SENSITIVE = []
2620
2633
  include Aws::Structure
2621
2634
  end
@@ -4171,6 +4184,44 @@ module Aws::Batch
4171
4184
  include Aws::Structure
4172
4185
  end
4173
4186
 
4187
+ # The Amazon ECS settings for a compute environment, including the
4188
+ # CloudWatch Container Insights mode. Use this structure with
4189
+ # `CreateComputeEnvironment` and `UpdateComputeEnvironment`.
4190
+ #
4191
+ # @!attribute [rw] container_insights
4192
+ # Specifies the CloudWatch Container Insights mode for the compute
4193
+ # environment. Valid values are:
4194
+ #
4195
+ # ENABLED
4196
+ #
4197
+ # : Turns on standard Container Insights, which collects CPU, memory,
4198
+ # disk, and network utilization metrics for the compute environment.
4199
+ #
4200
+ # ENHANCED
4201
+ #
4202
+ # : Turns on enhanced Container Insights, which collects the standard
4203
+ # metrics along with additional per-task observability metrics.
4204
+ #
4205
+ # DISABLED
4206
+ #
4207
+ # : Turns off Container Insights for the compute environment.
4208
+ #
4209
+ # If you don't specify a value, the default is `DISABLED`. For more
4210
+ # information, see [Container Insights][1] in the *Batch User Guide*.
4211
+ #
4212
+ #
4213
+ #
4214
+ # [1]: https://docs.aws.amazon.com/batch/latest/userguide/cloudwatch-container-insights.html
4215
+ # @return [String]
4216
+ #
4217
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EcsSettings AWS API Documentation
4218
+ #
4219
+ class EcsSettings < Struct.new(
4220
+ :container_insights)
4221
+ SENSITIVE = []
4222
+ include Aws::Structure
4223
+ end
4224
+
4174
4225
  # The details of a task definition that describes the container and
4175
4226
  # volume definitions of an Amazon ECS task.
4176
4227
  #
@@ -4342,6 +4393,11 @@ module Aws::Batch
4342
4393
  # depends on the Docker daemon setting on the container instance. For
4343
4394
  # more information, see [IPC settings][1] in the Docker run reference.
4344
4395
  #
4396
+ # <note markdown="1"> This parameter is not supported for jobs that run on Fargate
4397
+ # resources.
4398
+ #
4399
+ # </note>
4400
+ #
4345
4401
  #
4346
4402
  #
4347
4403
  # [1]: https://docs.docker.com/engine/reference/run/#ipc-settings---ipc
@@ -7157,8 +7213,8 @@ module Aws::Batch
7157
7213
  #
7158
7214
  #
7159
7215
  #
7160
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
7161
- # [2]: https://docs.docker.com/engine/api/v1.23/
7216
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
7217
+ # [2]: https://docs.docker.com/engine/api/latest/
7162
7218
  # [3]: https://docs.docker.com/engine/reference/run/
7163
7219
  # @return [Array<Types::Device>]
7164
7220
  #
@@ -8092,7 +8148,7 @@ module Aws::Batch
8092
8148
  #
8093
8149
  #
8094
8150
  #
8095
- # [1]: https://docs.docker.com/engine/api/v1.43/#tag/Container/operation/ContainerCreate
8151
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
8096
8152
  #
8097
8153
  # @!attribute [rw] container_path
8098
8154
  # The path on the container where the host volume is mounted.
@@ -8970,18 +9026,30 @@ module Aws::Batch
8970
9026
  #
8971
9027
  # : `VCPU` = 4 or 8
8972
9028
  #
8973
- # value = 36864, 45056, 53248, or 61440
9029
+ # value = 36864, 45056, or 53248
8974
9030
  #
8975
9031
  # : `VCPU` = 8
8976
9032
  #
9033
+ # value = 61440
9034
+ #
9035
+ # : `VCPU` = 8 or 32
9036
+ #
8977
9037
  # value = 32768, 40960, 49152, or 57344
8978
9038
  #
8979
9039
  # : `VCPU` = 8 or 16
8980
9040
  #
8981
- # value = 65536, 73728, 81920, 90112, 98304, 106496, 114688, or 122880
9041
+ # value = 65536, 73728, 81920, 90112, 98304, 106496, or 114688
8982
9042
  #
8983
9043
  # : `VCPU` = 16
8984
9044
  #
9045
+ # value = 122880
9046
+ #
9047
+ # : `VCPU` = 16 or 32
9048
+ #
9049
+ # value = 249856
9050
+ #
9051
+ # : `VCPU` = 32
9052
+ #
8985
9053
  # type="VCPU"
8986
9054
  #
8987
9055
  # : The number of vCPUs reserved for the container. This parameter
@@ -8999,7 +9067,7 @@ module Aws::Batch
8999
9067
  # For jobs that are running on Fargate resources, then `value` must
9000
9068
  # match one of the supported values and the `MEMORY` values must be
9001
9069
  # one of the values supported for that `VCPU` value. The supported
9002
- # values are 0.25, 0.5, 1, 2, 4, 8, and 16
9070
+ # values are 0.25, 0.5, 1, 2, 4, 8, 16, and 32.
9003
9071
  #
9004
9072
  # value = 0.25
9005
9073
  #
@@ -9034,10 +9102,14 @@ module Aws::Batch
9034
9102
  # : `MEMORY` = 32768, 40960, 49152, 57344, 65536, 73728, 81920,
9035
9103
  # 90112, 98304, 106496, 114688, or 122880
9036
9104
  #
9105
+ # value = 32
9037
9106
  #
9107
+ # : `MEMORY` = 61440, 122880, or 249856
9038
9108
  #
9039
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
9040
- # [2]: https://docs.docker.com/engine/api/v1.23/
9109
+ #
9110
+ #
9111
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
9112
+ # [2]: https://docs.docker.com/engine/api/latest/
9041
9113
  # [3]: https://docs.docker.com/engine/reference/run/
9042
9114
  # [4]: https://docs.aws.amazon.com/batch/latest/userguide/memory-management.html
9043
9115
  # [5]: https://docs.aws.amazon.com/general/latest/gr/ecs-service.html#service-quotas-fargate
@@ -10133,8 +10205,8 @@ module Aws::Batch
10133
10205
  #
10134
10206
  #
10135
10207
  #
10136
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
10137
- # [2]: https://docs.docker.com/engine/api/v1.23/
10208
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10209
+ # [2]: https://docs.docker.com/engine/api/latest/
10138
10210
  # [3]: https://docs.docker.com/engine/reference/run/
10139
10211
  # [4]: https://docs.docker.com/engine/reference/builder/#cmd
10140
10212
  # @return [Array<String>]
@@ -10153,8 +10225,8 @@ module Aws::Batch
10153
10225
  #
10154
10226
  #
10155
10227
  #
10156
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
10157
- # [2]: https://docs.docker.com/engine/api/v1.23/
10228
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10229
+ # [2]: https://docs.docker.com/engine/api/latest/
10158
10230
  # [3]: https://docs.docker.com/engine/reference/run/
10159
10231
  # @return [Array<Types::KeyValuePair>]
10160
10232
  #
@@ -10202,8 +10274,8 @@ module Aws::Batch
10202
10274
  #
10203
10275
  #
10204
10276
  #
10205
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10206
- # [2]: https://docs.docker.com/engine/api/v1.35/
10277
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10278
+ # [2]: https://docs.docker.com/engine/api/latest/
10207
10279
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10208
10280
  # @return [String]
10209
10281
  #
@@ -10263,8 +10335,8 @@ module Aws::Batch
10263
10335
  #
10264
10336
  #
10265
10337
  #
10266
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10267
- # [2]: https://docs.docker.com/engine/api/v1.35/
10338
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10339
+ # [2]: https://docs.docker.com/engine/api/latest/
10268
10340
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10269
10341
  # [4]: https://docs.docker.com/engine/admin/logging/overview/
10270
10342
  # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
@@ -10283,8 +10355,8 @@ module Aws::Batch
10283
10355
  #
10284
10356
  #
10285
10357
  #
10286
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10287
- # [2]: https://docs.docker.com/engine/api/v1.35/
10358
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10359
+ # [2]: https://docs.docker.com/engine/api/latest/
10288
10360
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10289
10361
  # @return [Array<Types::MountPoint>]
10290
10362
  #
@@ -10306,8 +10378,8 @@ module Aws::Batch
10306
10378
  #
10307
10379
  #
10308
10380
  #
10309
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10310
- # [2]: https://docs.docker.com/engine/api/v1.35/
10381
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10382
+ # [2]: https://docs.docker.com/engine/api/latest/
10311
10383
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10312
10384
  # @return [Boolean]
10313
10385
  #
@@ -10323,8 +10395,8 @@ module Aws::Batch
10323
10395
  #
10324
10396
  #
10325
10397
  #
10326
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10327
- # [2]: https://docs.docker.com/engine/api/v1.35/
10398
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10399
+ # [2]: https://docs.docker.com/engine/api/latest/
10328
10400
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10329
10401
  # @return [Boolean]
10330
10402
  #
@@ -10373,8 +10445,8 @@ module Aws::Batch
10373
10445
  #
10374
10446
  #
10375
10447
  #
10376
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10377
- # [2]: https://docs.docker.com/engine/api/v1.35/
10448
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10449
+ # [2]: https://docs.docker.com/engine/api/latest/
10378
10450
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10379
10451
  # @return [Array<Types::Ulimit>]
10380
10452
  #
@@ -10545,8 +10617,8 @@ module Aws::Batch
10545
10617
  #
10546
10618
  #
10547
10619
  #
10548
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
10549
- # [2]: https://docs.docker.com/engine/api/v1.23/
10620
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10621
+ # [2]: https://docs.docker.com/engine/api/latest/
10550
10622
  # [3]: https://docs.docker.com/engine/reference/run/
10551
10623
  # [4]: https://docs.docker.com/engine/reference/builder/#cmd
10552
10624
  # @return [Array<String>]
@@ -10570,8 +10642,8 @@ module Aws::Batch
10570
10642
  #
10571
10643
  #
10572
10644
  #
10573
- # [1]: https://docs.docker.com/engine/api/v1.23/#create-a-container
10574
- # [2]: https://docs.docker.com/engine/api/v1.23/
10645
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10646
+ # [2]: https://docs.docker.com/engine/api/latest/
10575
10647
  # [3]: https://docs.docker.com/engine/reference/run/
10576
10648
  # @return [Array<Types::KeyValuePair>]
10577
10649
  #
@@ -10619,8 +10691,8 @@ module Aws::Batch
10619
10691
  #
10620
10692
  #
10621
10693
  #
10622
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10623
- # [2]: https://docs.docker.com/engine/api/v1.35/
10694
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10695
+ # [2]: https://docs.docker.com/engine/api/latest/
10624
10696
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10625
10697
  # @return [String]
10626
10698
  #
@@ -10676,8 +10748,8 @@ module Aws::Batch
10676
10748
  #
10677
10749
  #
10678
10750
  #
10679
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10680
- # [2]: https://docs.docker.com/engine/api/v1.35/
10751
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10752
+ # [2]: https://docs.docker.com/engine/api/latest/
10681
10753
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10682
10754
  # [4]: https://docs.docker.com/engine/admin/logging/overview/
10683
10755
  # [5]: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html
@@ -10696,8 +10768,8 @@ module Aws::Batch
10696
10768
  #
10697
10769
  #
10698
10770
  #
10699
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10700
- # [2]: https://docs.docker.com/engine/api/v1.35/
10771
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10772
+ # [2]: https://docs.docker.com/engine/api/latest/
10701
10773
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10702
10774
  # @return [Array<Types::MountPoint>]
10703
10775
  #
@@ -10720,8 +10792,8 @@ module Aws::Batch
10720
10792
  #
10721
10793
  #
10722
10794
  #
10723
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10724
- # [2]: https://docs.docker.com/engine/api/v1.35/
10795
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10796
+ # [2]: https://docs.docker.com/engine/api/latest/
10725
10797
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10726
10798
  # @return [Boolean]
10727
10799
  #
@@ -10737,8 +10809,8 @@ module Aws::Batch
10737
10809
  #
10738
10810
  #
10739
10811
  #
10740
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10741
- # [2]: https://docs.docker.com/engine/api/v1.35/
10812
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10813
+ # [2]: https://docs.docker.com/engine/api/latest/
10742
10814
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10743
10815
  # @return [Boolean]
10744
10816
  #
@@ -10787,8 +10859,8 @@ module Aws::Batch
10787
10859
  #
10788
10860
  #
10789
10861
  #
10790
- # [1]: https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate
10791
- # [2]: https://docs.docker.com/engine/api/v1.35/
10862
+ # [1]: https://docs.docker.com/engine/api/latest/#tag/Container/operation/ContainerCreate
10863
+ # [2]: https://docs.docker.com/engine/api/latest/
10792
10864
  # [3]: https://docs.docker.com/engine/reference/run/#security-configuration
10793
10865
  # @return [Array<Types::Ulimit>]
10794
10866
  #
@@ -11143,6 +11215,12 @@ module Aws::Batch
11143
11215
  # Reserved.
11144
11216
  # @return [String]
11145
11217
  #
11218
+ # @!attribute [rw] ecs_settings
11219
+ # The Amazon ECS settings for the compute environment. These settings
11220
+ # control CloudWatch Container Insights collection for the compute
11221
+ # environment.
11222
+ # @return [Types::EcsSettings]
11223
+ #
11146
11224
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironmentRequest AWS API Documentation
11147
11225
  #
11148
11226
  class UpdateComputeEnvironmentRequest < Struct.new(
@@ -11152,7 +11230,8 @@ module Aws::Batch
11152
11230
  :compute_resources,
11153
11231
  :service_role,
11154
11232
  :update_policy,
11155
- :context)
11233
+ :context,
11234
+ :ecs_settings)
11156
11235
  SENSITIVE = []
11157
11236
  include Aws::Structure
11158
11237
  end
data/lib/aws-sdk-batch.rb CHANGED
@@ -54,7 +54,7 @@ module Aws::Batch
54
54
  autoload :EndpointProvider, 'aws-sdk-batch/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-batch/endpoints'
56
56
 
57
- GEM_VERSION = '1.147.0'
57
+ GEM_VERSION = '1.149.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -134,7 +134,10 @@ module Aws
134
134
  eks_cluster_arn: ::String,
135
135
  kubernetes_namespace: ::String
136
136
  },
137
- ?context: ::String
137
+ ?context: ::String,
138
+ ?ecs_settings: {
139
+ container_insights: ("ENABLED" | "ENHANCED" | "DISABLED")?
140
+ }
138
141
  ) -> _CreateComputeEnvironmentResponseSuccess
139
142
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateComputeEnvironmentResponseSuccess
140
143
 
@@ -818,7 +821,10 @@ module Aws
818
821
  terminate_jobs_on_update: bool?,
819
822
  job_execution_timeout_minutes: ::Integer?
820
823
  },
821
- ?context: ::String
824
+ ?context: ::String,
825
+ ?ecs_settings: {
826
+ container_insights: ("ENABLED" | "ENHANCED" | "DISABLED")?
827
+ }
822
828
  ) -> _UpdateComputeEnvironmentResponseSuccess
823
829
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateComputeEnvironmentResponseSuccess
824
830
 
data/sig/types.rbs CHANGED
@@ -101,6 +101,7 @@ module Aws::Batch
101
101
  attr_accessor container_orchestration_type: ("ECS" | "EKS")
102
102
  attr_accessor uuid: ::String
103
103
  attr_accessor context: ::String
104
+ attr_accessor ecs_settings: Types::EcsSettings
104
105
  SENSITIVE: []
105
106
  end
106
107
 
@@ -267,6 +268,7 @@ module Aws::Batch
267
268
  attr_accessor tags: ::Hash[::String, ::String]
268
269
  attr_accessor eks_configuration: Types::EksConfiguration
269
270
  attr_accessor context: ::String
271
+ attr_accessor ecs_settings: Types::EcsSettings
270
272
  SENSITIVE: []
271
273
  end
272
274
 
@@ -598,6 +600,11 @@ module Aws::Batch
598
600
  SENSITIVE: []
599
601
  end
600
602
 
603
+ class EcsSettings
604
+ attr_accessor container_insights: ("ENABLED" | "ENHANCED" | "DISABLED")
605
+ SENSITIVE: []
606
+ end
607
+
601
608
  class EcsTaskDetails
602
609
  attr_accessor containers: ::Array[Types::TaskContainerDetails]
603
610
  attr_accessor container_instance_arn: ::String
@@ -1678,6 +1685,7 @@ module Aws::Batch
1678
1685
  attr_accessor service_role: ::String
1679
1686
  attr_accessor update_policy: Types::UpdatePolicy
1680
1687
  attr_accessor context: ::String
1688
+ attr_accessor ecs_settings: Types::EcsSettings
1681
1689
  SENSITIVE: []
1682
1690
  end
1683
1691
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-batch
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.147.0
4
+ version: 1.149.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services