aws-sdk-batch 1.84.0 → 1.85.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: 8a0613ac3ac932d3b66d0d88a70bfde8e7afdebfbd5e6e7e2d609961334a2c89
4
- data.tar.gz: af5e559e54d4b00cc5ee5cbbd18280eae9618f3e77524e1f05723055647d58d1
3
+ metadata.gz: 1085447534e64c9ffc179fc8f223704bcfda3e528ba5f0b9ba5d9de896a568ef
4
+ data.tar.gz: 7464a5537908c66821026d68c86639ec231d6df9e31d7bd6402ae1a44a60a598
5
5
  SHA512:
6
- metadata.gz: 4b79c8c00c44cf4352593da80c3086ff301c745481b25cccdfb90ce57c97598593ab9c99f27b18e8ed354d1bc3d79dede33a1cd8fee1cc6bc0385c3fe7df0b95
7
- data.tar.gz: 69dcb497c172dc0d10df4c03d06db28fb11a3f62ac08ebe35899bbdb69a9447106dbdd7c9cfe920cb954bf39483acbc4dd6b8a23bcabd7747e1662c7077e5f2e
6
+ metadata.gz: b9db2385bbcab6044ba705fd826a9c65273afa34c15580134c1c5b6ce8846189e5fec277387eec15dd58e14720471da65b614ecfb6ff75c5d4772b2cd35813af
7
+ data.tar.gz: 36fdfda39b63045052189a97d92f1c69283b61dd2ca2372a95e42aabbd7ff4304af2b7504a2214e433da33b3f7938173c9057fd3d7a3c82ab34986755f9b0604
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.85.0 (2024-04-11)
5
+ ------------------
6
+
7
+ * Feature - This release adds the task properties field to attempt details and the name field on EKS container detail.
8
+
4
9
  1.84.0 (2024-03-27)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.84.0
1
+ 1.85.0
@@ -2029,6 +2029,18 @@ module Aws::Batch
2029
2029
  # resp.jobs[0].attempts[0].started_at #=> Integer
2030
2030
  # resp.jobs[0].attempts[0].stopped_at #=> Integer
2031
2031
  # resp.jobs[0].attempts[0].status_reason #=> String
2032
+ # resp.jobs[0].attempts[0].task_properties #=> Array
2033
+ # resp.jobs[0].attempts[0].task_properties[0].container_instance_arn #=> String
2034
+ # resp.jobs[0].attempts[0].task_properties[0].task_arn #=> String
2035
+ # resp.jobs[0].attempts[0].task_properties[0].containers #=> Array
2036
+ # resp.jobs[0].attempts[0].task_properties[0].containers[0].exit_code #=> Integer
2037
+ # resp.jobs[0].attempts[0].task_properties[0].containers[0].name #=> String
2038
+ # resp.jobs[0].attempts[0].task_properties[0].containers[0].reason #=> String
2039
+ # resp.jobs[0].attempts[0].task_properties[0].containers[0].log_stream_name #=> String
2040
+ # resp.jobs[0].attempts[0].task_properties[0].containers[0].network_interfaces #=> Array
2041
+ # resp.jobs[0].attempts[0].task_properties[0].containers[0].network_interfaces[0].attachment_id #=> String
2042
+ # resp.jobs[0].attempts[0].task_properties[0].containers[0].network_interfaces[0].ipv6_address #=> String
2043
+ # resp.jobs[0].attempts[0].task_properties[0].containers[0].network_interfaces[0].private_ipv_4_address #=> String
2032
2044
  # resp.jobs[0].status_reason #=> String
2033
2045
  # resp.jobs[0].created_at #=> Integer
2034
2046
  # resp.jobs[0].retry_strategy.attempts #=> Integer
@@ -2340,9 +2352,11 @@ module Aws::Batch
2340
2352
  # resp.jobs[0].eks_properties.pod_properties.share_process_namespace #=> Boolean
2341
2353
  # resp.jobs[0].eks_attempts #=> Array
2342
2354
  # resp.jobs[0].eks_attempts[0].containers #=> Array
2355
+ # resp.jobs[0].eks_attempts[0].containers[0].name #=> String
2343
2356
  # resp.jobs[0].eks_attempts[0].containers[0].exit_code #=> Integer
2344
2357
  # resp.jobs[0].eks_attempts[0].containers[0].reason #=> String
2345
2358
  # resp.jobs[0].eks_attempts[0].init_containers #=> Array
2359
+ # resp.jobs[0].eks_attempts[0].init_containers[0].name #=> String
2346
2360
  # resp.jobs[0].eks_attempts[0].init_containers[0].exit_code #=> Integer
2347
2361
  # resp.jobs[0].eks_attempts[0].init_containers[0].reason #=> String
2348
2362
  # resp.jobs[0].eks_attempts[0].pod_name #=> String
@@ -4480,7 +4494,7 @@ module Aws::Batch
4480
4494
  params: params,
4481
4495
  config: config)
4482
4496
  context[:gem_name] = 'aws-sdk-batch'
4483
- context[:gem_version] = '1.84.0'
4497
+ context[:gem_version] = '1.85.0'
4484
4498
  Seahorse::Client::Request.new(handlers, context)
4485
4499
  end
4486
4500
 
@@ -22,6 +22,8 @@ module Aws::Batch
22
22
  AttemptContainerDetail = Shapes::StructureShape.new(name: 'AttemptContainerDetail')
23
23
  AttemptDetail = Shapes::StructureShape.new(name: 'AttemptDetail')
24
24
  AttemptDetails = Shapes::ListShape.new(name: 'AttemptDetails')
25
+ AttemptEcsTaskDetails = Shapes::StructureShape.new(name: 'AttemptEcsTaskDetails')
26
+ AttemptTaskContainerDetails = Shapes::StructureShape.new(name: 'AttemptTaskContainerDetails')
25
27
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
26
28
  CEState = Shapes::StringShape.new(name: 'CEState')
27
29
  CEStatus = Shapes::StringShape.new(name: 'CEStatus')
@@ -151,6 +153,8 @@ module Aws::Batch
151
153
  KubernetesVersion = Shapes::StringShape.new(name: 'KubernetesVersion')
152
154
  LaunchTemplateSpecification = Shapes::StructureShape.new(name: 'LaunchTemplateSpecification')
153
155
  LinuxParameters = Shapes::StructureShape.new(name: 'LinuxParameters')
156
+ ListAttemptEcsTaskDetails = Shapes::ListShape.new(name: 'ListAttemptEcsTaskDetails')
157
+ ListAttemptTaskContainerDetails = Shapes::ListShape.new(name: 'ListAttemptTaskContainerDetails')
154
158
  ListEcsTaskDetails = Shapes::ListShape.new(name: 'ListEcsTaskDetails')
155
159
  ListEcsTaskProperties = Shapes::ListShape.new(name: 'ListEcsTaskProperties')
156
160
  ListJobsFilterList = Shapes::ListShape.new(name: 'ListJobsFilterList')
@@ -266,10 +270,23 @@ module Aws::Batch
266
270
  AttemptDetail.add_member(:started_at, Shapes::ShapeRef.new(shape: Long, location_name: "startedAt"))
267
271
  AttemptDetail.add_member(:stopped_at, Shapes::ShapeRef.new(shape: Long, location_name: "stoppedAt"))
268
272
  AttemptDetail.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
273
+ AttemptDetail.add_member(:task_properties, Shapes::ShapeRef.new(shape: ListAttemptEcsTaskDetails, location_name: "taskProperties"))
269
274
  AttemptDetail.struct_class = Types::AttemptDetail
270
275
 
271
276
  AttemptDetails.member = Shapes::ShapeRef.new(shape: AttemptDetail)
272
277
 
278
+ AttemptEcsTaskDetails.add_member(:container_instance_arn, Shapes::ShapeRef.new(shape: String, location_name: "containerInstanceArn"))
279
+ AttemptEcsTaskDetails.add_member(:task_arn, Shapes::ShapeRef.new(shape: String, location_name: "taskArn"))
280
+ AttemptEcsTaskDetails.add_member(:containers, Shapes::ShapeRef.new(shape: ListAttemptTaskContainerDetails, location_name: "containers"))
281
+ AttemptEcsTaskDetails.struct_class = Types::AttemptEcsTaskDetails
282
+
283
+ AttemptTaskContainerDetails.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
284
+ AttemptTaskContainerDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
285
+ AttemptTaskContainerDetails.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
286
+ AttemptTaskContainerDetails.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: String, location_name: "logStreamName"))
287
+ AttemptTaskContainerDetails.add_member(:network_interfaces, Shapes::ShapeRef.new(shape: NetworkInterfaceList, location_name: "networkInterfaces"))
288
+ AttemptTaskContainerDetails.struct_class = Types::AttemptTaskContainerDetails
289
+
273
290
  CancelJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobId"))
274
291
  CancelJobRequest.add_member(:reason, Shapes::ShapeRef.new(shape: String, required: true, location_name: "reason"))
275
292
  CancelJobRequest.struct_class = Types::CancelJobRequest
@@ -569,6 +586,7 @@ module Aws::Batch
569
586
  EcsTaskProperties.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
570
587
  EcsTaskProperties.struct_class = Types::EcsTaskProperties
571
588
 
589
+ EksAttemptContainerDetail.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
572
590
  EksAttemptContainerDetail.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, location_name: "exitCode"))
573
591
  EksAttemptContainerDetail.add_member(:reason, Shapes::ShapeRef.new(shape: String, location_name: "reason"))
574
592
  EksAttemptContainerDetail.struct_class = Types::EksAttemptContainerDetail
@@ -873,6 +891,10 @@ module Aws::Batch
873
891
  LinuxParameters.add_member(:swappiness, Shapes::ShapeRef.new(shape: Integer, location_name: "swappiness"))
874
892
  LinuxParameters.struct_class = Types::LinuxParameters
875
893
 
894
+ ListAttemptEcsTaskDetails.member = Shapes::ShapeRef.new(shape: AttemptEcsTaskDetails)
895
+
896
+ ListAttemptTaskContainerDetails.member = Shapes::ShapeRef.new(shape: AttemptTaskContainerDetails)
897
+
876
898
  ListEcsTaskDetails.member = Shapes::ShapeRef.new(shape: EcsTaskDetails)
877
899
 
878
900
  ListEcsTaskProperties.member = Shapes::ShapeRef.new(shape: EcsTaskProperties)
@@ -143,13 +143,84 @@ module Aws::Batch
143
143
  # current status of the job attempt.
144
144
  # @return [String]
145
145
  #
146
+ # @!attribute [rw] task_properties
147
+ # The properties for a task definition that describes the container
148
+ # and volume definitions of an Amazon ECS task.
149
+ # @return [Array<Types::AttemptEcsTaskDetails>]
150
+ #
146
151
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptDetail AWS API Documentation
147
152
  #
148
153
  class AttemptDetail < Struct.new(
149
154
  :container,
150
155
  :started_at,
151
156
  :stopped_at,
152
- :status_reason)
157
+ :status_reason,
158
+ :task_properties)
159
+ SENSITIVE = []
160
+ include Aws::Structure
161
+ end
162
+
163
+ # An object that represents the details of a task.
164
+ #
165
+ # @!attribute [rw] container_instance_arn
166
+ # The Amazon Resource Name (ARN) of the container instance that hosts
167
+ # the task.
168
+ # @return [String]
169
+ #
170
+ # @!attribute [rw] task_arn
171
+ # The ARN of the Amazon ECS task.
172
+ # @return [String]
173
+ #
174
+ # @!attribute [rw] containers
175
+ # A list of containers that are included in the `taskProperties` list.
176
+ # @return [Array<Types::AttemptTaskContainerDetails>]
177
+ #
178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptEcsTaskDetails AWS API Documentation
179
+ #
180
+ class AttemptEcsTaskDetails < Struct.new(
181
+ :container_instance_arn,
182
+ :task_arn,
183
+ :containers)
184
+ SENSITIVE = []
185
+ include Aws::Structure
186
+ end
187
+
188
+ # An object that represents the details of a container that's part of a
189
+ # job attempt.
190
+ #
191
+ # @!attribute [rw] exit_code
192
+ # The exit code for the container’s attempt. A non-zero exit code is
193
+ # considered failed.
194
+ # @return [Integer]
195
+ #
196
+ # @!attribute [rw] name
197
+ # The name of a container.
198
+ # @return [String]
199
+ #
200
+ # @!attribute [rw] reason
201
+ # A short (255 max characters) string that's easy to understand and
202
+ # provides additional details for a running or stopped container.
203
+ # @return [String]
204
+ #
205
+ # @!attribute [rw] log_stream_name
206
+ # The name of the Amazon CloudWatch Logs log stream that's associated
207
+ # with the container. The log group for Batch jobs is
208
+ # `/aws/batch/job`. Each container attempt receives a log stream name
209
+ # when they reach the `RUNNING` status.
210
+ # @return [String]
211
+ #
212
+ # @!attribute [rw] network_interfaces
213
+ # The network interfaces that are associated with the job attempt.
214
+ # @return [Array<Types::NetworkInterface>]
215
+ #
216
+ # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/AttemptTaskContainerDetails AWS API Documentation
217
+ #
218
+ class AttemptTaskContainerDetails < Struct.new(
219
+ :exit_code,
220
+ :name,
221
+ :reason,
222
+ :log_stream_name,
223
+ :network_interfaces)
153
224
  SENSITIVE = []
154
225
  include Aws::Structure
155
226
  end
@@ -3211,6 +3282,10 @@ module Aws::Batch
3211
3282
  # An object that represents the details for an attempt for a job attempt
3212
3283
  # that an Amazon EKS container runs.
3213
3284
  #
3285
+ # @!attribute [rw] name
3286
+ # The name of a container.
3287
+ # @return [String]
3288
+ #
3214
3289
  # @!attribute [rw] exit_code
3215
3290
  # The exit code returned for the job attempt. A non-zero exit code is
3216
3291
  # considered failed.
@@ -3224,6 +3299,7 @@ module Aws::Batch
3224
3299
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/EksAttemptContainerDetail AWS API Documentation
3225
3300
  #
3226
3301
  class EksAttemptContainerDetail < Struct.new(
3302
+ :name,
3227
3303
  :exit_code,
3228
3304
  :reason)
3229
3305
  SENSITIVE = []
@@ -4033,10 +4109,9 @@ module Aws::Batch
4033
4109
  # @return [String]
4034
4110
  #
4035
4111
  # @!attribute [rw] image_pull_secrets
4036
- # References a Kubernetes secret resource. This object must start and
4037
- # end with an alphanumeric character, is required to be lowercase, can
4038
- # include periods (.) and hyphens (-), and can't contain more than
4039
- # 253 characters.
4112
+ # References a Kubernetes secret resource. It holds a list of secrets.
4113
+ # These secrets help to gain access to pull an images from a private
4114
+ # registry.
4040
4115
  #
4041
4116
  # `ImagePullSecret$name` is required when this object is used.
4042
4117
  # @return [Array<Types::ImagePullSecret>]
@@ -4161,6 +4236,8 @@ module Aws::Batch
4161
4236
  #
4162
4237
  # @!attribute [rw] image_pull_secrets
4163
4238
  # Displays the reference pointer to the Kubernetes secret resource.
4239
+ # These secrets help to gain access to pull an images from a private
4240
+ # registry.
4164
4241
  # @return [Array<Types::ImagePullSecret>]
4165
4242
  #
4166
4243
  # @!attribute [rw] containers
@@ -4562,9 +4639,10 @@ module Aws::Batch
4562
4639
  include Aws::Structure
4563
4640
  end
4564
4641
 
4565
- # References a Kubernetes configuration resource that holds a list of
4566
- # secrets. These secrets help to gain access to pull an image from a
4567
- # private registry.
4642
+ # References a Kubernetes secret resource. This name of the secret must
4643
+ # start and end with an alphanumeric character, is required to be
4644
+ # lowercase, can include periods (.) and hyphens (-), and can't contain
4645
+ # more than 253 characters.
4568
4646
  #
4569
4647
  # @!attribute [rw] name
4570
4648
  # Provides a unique identifier for the `ImagePullSecret`. This object
@@ -5053,7 +5131,7 @@ module Aws::Batch
5053
5131
  #
5054
5132
  # @!attribute [rw] state
5055
5133
  # The state of the job needed to trigger the action. The only
5056
- # supported value is "`RUNNABLE`".
5134
+ # supported value is `RUNNABLE`.
5057
5135
  # @return [String]
5058
5136
  #
5059
5137
  # @!attribute [rw] max_time_seconds
@@ -5066,7 +5144,7 @@ module Aws::Batch
5066
5144
  # @!attribute [rw] action
5067
5145
  # The action to take when a job is at the head of the job queue in the
5068
5146
  # specified state for the specified period of time. The only supported
5069
- # value is "`CANCEL`", which will cancel the job.
5147
+ # value is `CANCEL`, which will cancel the job.
5070
5148
  # @return [String]
5071
5149
  #
5072
5150
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/JobStateTimeLimitAction AWS API Documentation
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.84.0'
55
+ GEM_VERSION = '1.85.0'
56
56
 
57
57
  end
data/sig/types.rbs CHANGED
@@ -41,6 +41,23 @@ module Aws::Batch
41
41
  attr_accessor started_at: ::Integer
42
42
  attr_accessor stopped_at: ::Integer
43
43
  attr_accessor status_reason: ::String
44
+ attr_accessor task_properties: ::Array[Types::AttemptEcsTaskDetails]
45
+ SENSITIVE: []
46
+ end
47
+
48
+ class AttemptEcsTaskDetails
49
+ attr_accessor container_instance_arn: ::String
50
+ attr_accessor task_arn: ::String
51
+ attr_accessor containers: ::Array[Types::AttemptTaskContainerDetails]
52
+ SENSITIVE: []
53
+ end
54
+
55
+ class AttemptTaskContainerDetails
56
+ attr_accessor exit_code: ::Integer
57
+ attr_accessor name: ::String
58
+ attr_accessor reason: ::String
59
+ attr_accessor log_stream_name: ::String
60
+ attr_accessor network_interfaces: ::Array[Types::NetworkInterface]
44
61
  SENSITIVE: []
45
62
  end
46
63
 
@@ -417,6 +434,7 @@ module Aws::Batch
417
434
  end
418
435
 
419
436
  class EksAttemptContainerDetail
437
+ attr_accessor name: ::String
420
438
  attr_accessor exit_code: ::Integer
421
439
  attr_accessor reason: ::String
422
440
  SENSITIVE: []
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.84.0
4
+ version: 1.85.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: 2024-03-27 00:00:00.000000000 Z
11
+ date: 2024-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core