aws-sdk-batch 1.148.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: 8cc89d0d27abb8ef9cbbee0a210c0b70f702919d6cfef1388420dbf7bb520322
4
- data.tar.gz: 3a67911c0b6156d2917d3efb7b6baac5d1ca3f3463c58d4e6e7edfc083ef9ae6
3
+ metadata.gz: a19772fd82f49a885f174446a3191eaed145b3a9dd9448ab68ea7861fe2a0293
4
+ data.tar.gz: f4e67af1863c7868d761fe68dadd48b3b10562013238c7768d16c4655878b279
5
5
  SHA512:
6
- metadata.gz: 30a82ff7b89f0414ce63efec6e257cecb0f65f7c54be31ea8e290fd8b7b2033d98f8d65e8bfd2be55f2618a47365f42441d4304471a5f9075feb2838496febfd
7
- data.tar.gz: c4791a1784d1ac2862f2a23ab9963472584956c0fd31c3f570309d7c535aceee3a75a2d10ab76386c251fc60b5eb49f6c6c1001525511807b5fd0dad80542e34
6
+ metadata.gz: 9e67b9317a5d7538abc4c1478f31cc41c6ad169ce4da5f557eb7662517df2bc268930d64af2be196a54b9f951b7753d2e19bdfcca727609f316467e023ac7ba5
7
+ data.tar.gz: a582736dccc27ed22c56a184c15cb47730f1d2c98fab73eff853dd5319d3a2ec8ceda5723e9b4a08441bbf9c3d4316062e75e04fe2e6114fd0a56e6698856e58
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
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
+
4
9
  1.148.0 (2026-08-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.148.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.148.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
@@ -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
  #
@@ -11164,6 +11215,12 @@ module Aws::Batch
11164
11215
  # Reserved.
11165
11216
  # @return [String]
11166
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
+ #
11167
11224
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironmentRequest AWS API Documentation
11168
11225
  #
11169
11226
  class UpdateComputeEnvironmentRequest < Struct.new(
@@ -11173,7 +11230,8 @@ module Aws::Batch
11173
11230
  :compute_resources,
11174
11231
  :service_role,
11175
11232
  :update_policy,
11176
- :context)
11233
+ :context,
11234
+ :ecs_settings)
11177
11235
  SENSITIVE = []
11178
11236
  include Aws::Structure
11179
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.148.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.148.0
4
+ version: 1.149.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services