aws-sdk-batch 1.94.0 → 1.95.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: be2c65973ba6bb1311b822a87991734a0f39f105a4ddbd6437dab05083a350c7
4
- data.tar.gz: 619eedd6e90db8d448810bead00fd07482054bf79dbcdbff6e657c86da4acdf6
3
+ metadata.gz: df354f09b181f2685e1355b417d76d4f8b746e5aa37c2c46f8372d1575041288
4
+ data.tar.gz: 424c576cb65c02b0166b65daef7834945f8e28af73c012432ff7678c5156fa5b
5
5
  SHA512:
6
- metadata.gz: ad5a899da8320a9d9f57b58d3a7eefbe47d6ddb419e2722528eba28cb27b12b2a7a22e3517c1fe966bce670d87bbb358ff7149977ca37c8c8e337dfe8f809e29
7
- data.tar.gz: da1982ed690a1e9a8cdccb622ec6d8150e1865bbb606312d19dd81a91ccda6af26a2f665c0d17f11e66ca54dcee250fb74c1cb7a8cf0917413d0ebbc50fd36cc
6
+ metadata.gz: ece8dbdf132ac38e4f05f1ce5915131c26fadb3a9fe5cccf6438875fc485128f049df8541b020dbbed5b48e91df153b439314b94d5f3e8fb80ea2a3d031b65be
7
+ data.tar.gz: 685beed1fd365d896149d13e145016a03920cd8ca244700445617139bf25c73962752e59c082ab72523ed5e91eadecded83fbe756f4c9839bd55210420593e5f
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.95.0 (2024-08-16)
5
+ ------------------
6
+
7
+ * Feature - Improvements of integration between AWS Batch and EC2.
8
+
4
9
  1.94.0 (2024-07-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.94.0
1
+ 1.95.0
@@ -425,9 +425,8 @@ module Aws::Batch
425
425
 
426
426
  # @!group API Operations
427
427
 
428
- # Cancels a job in an Batch job queue. Jobs that are in the `SUBMITTED`
429
- # or `PENDING` are canceled. A job in`RUNNABLE` remains in `RUNNABLE`
430
- # until it reaches the head of the job queue. Then the job status is
428
+ # Cancels a job in an Batch job queue. Jobs that are in a `SUBMITTED`,
429
+ # `PENDING`, or `RUNNABLE` state are cancelled and the job status is
431
430
  # updated to `FAILED`.
432
431
  #
433
432
  # <note markdown="1"> A `PENDING` job is canceled after all dependency jobs are completed.
@@ -712,6 +711,9 @@ module Aws::Batch
712
711
  # The details for the Amazon EKS cluster that supports the compute
713
712
  # environment.
714
713
  #
714
+ # @option params [String] :context
715
+ # Reserved.
716
+ #
715
717
  # @return [Types::CreateComputeEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
716
718
  #
717
719
  # * {Types::CreateComputeEnvironmentResponse#compute_environment_name #compute_environment_name} => String
@@ -850,6 +852,7 @@ module Aws::Batch
850
852
  # eks_cluster_arn: "String", # required
851
853
  # kubernetes_namespace: "String", # required
852
854
  # },
855
+ # context: "String",
853
856
  # })
854
857
  #
855
858
  # @example Response structure
@@ -1388,6 +1391,7 @@ module Aws::Batch
1388
1391
  # resp.compute_environments[0].eks_configuration.kubernetes_namespace #=> String
1389
1392
  # resp.compute_environments[0].container_orchestration_type #=> String, one of "ECS", "EKS"
1390
1393
  # resp.compute_environments[0].uuid #=> String
1394
+ # resp.compute_environments[0].context #=> String
1391
1395
  # resp.next_token #=> String
1392
1396
  #
1393
1397
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments AWS API Documentation
@@ -4632,6 +4636,9 @@ module Aws::Batch
4632
4636
  #
4633
4637
  # [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
4634
4638
  #
4639
+ # @option params [String] :context
4640
+ # Reserved.
4641
+ #
4635
4642
  # @return [Types::UpdateComputeEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4636
4643
  #
4637
4644
  # * {Types::UpdateComputeEnvironmentResponse#compute_environment_name #compute_environment_name} => String
@@ -4695,6 +4702,7 @@ module Aws::Batch
4695
4702
  # terminate_jobs_on_update: false,
4696
4703
  # job_execution_timeout_minutes: 1,
4697
4704
  # },
4705
+ # context: "String",
4698
4706
  # })
4699
4707
  #
4700
4708
  # @example Response structure
@@ -4867,7 +4875,7 @@ module Aws::Batch
4867
4875
  params: params,
4868
4876
  config: config)
4869
4877
  context[:gem_name] = 'aws-sdk-batch'
4870
- context[:gem_version] = '1.94.0'
4878
+ context[:gem_version] = '1.95.0'
4871
4879
  Seahorse::Client::Request.new(handlers, context)
4872
4880
  end
4873
4881
 
@@ -316,6 +316,7 @@ module Aws::Batch
316
316
  ComputeEnvironmentDetail.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfiguration, location_name: "eksConfiguration"))
317
317
  ComputeEnvironmentDetail.add_member(:container_orchestration_type, Shapes::ShapeRef.new(shape: OrchestrationType, location_name: "containerOrchestrationType"))
318
318
  ComputeEnvironmentDetail.add_member(:uuid, Shapes::ShapeRef.new(shape: String, location_name: "uuid"))
319
+ ComputeEnvironmentDetail.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
319
320
  ComputeEnvironmentDetail.struct_class = Types::ComputeEnvironmentDetail
320
321
 
321
322
  ComputeEnvironmentDetailList.member = Shapes::ShapeRef.new(shape: ComputeEnvironmentDetail)
@@ -440,6 +441,7 @@ module Aws::Batch
440
441
  CreateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
441
442
  CreateComputeEnvironmentRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagrisTagsMap, location_name: "tags"))
442
443
  CreateComputeEnvironmentRequest.add_member(:eks_configuration, Shapes::ShapeRef.new(shape: EksConfiguration, location_name: "eksConfiguration"))
444
+ CreateComputeEnvironmentRequest.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
443
445
  CreateComputeEnvironmentRequest.struct_class = Types::CreateComputeEnvironmentRequest
444
446
 
445
447
  CreateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
@@ -1215,6 +1217,7 @@ module Aws::Batch
1215
1217
  UpdateComputeEnvironmentRequest.add_member(:compute_resources, Shapes::ShapeRef.new(shape: ComputeResourceUpdate, location_name: "computeResources"))
1216
1218
  UpdateComputeEnvironmentRequest.add_member(:service_role, Shapes::ShapeRef.new(shape: String, location_name: "serviceRole"))
1217
1219
  UpdateComputeEnvironmentRequest.add_member(:update_policy, Shapes::ShapeRef.new(shape: UpdatePolicy, location_name: "updatePolicy"))
1220
+ UpdateComputeEnvironmentRequest.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
1218
1221
  UpdateComputeEnvironmentRequest.struct_class = Types::UpdateComputeEnvironmentRequest
1219
1222
 
1220
1223
  UpdateComputeEnvironmentResponse.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, location_name: "computeEnvironmentName"))
@@ -392,6 +392,10 @@ module Aws::Batch
392
392
  # Unique identifier for the compute environment.
393
393
  # @return [String]
394
394
  #
395
+ # @!attribute [rw] context
396
+ # Reserved.
397
+ # @return [String]
398
+ #
395
399
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ComputeEnvironmentDetail AWS API Documentation
396
400
  #
397
401
  class ComputeEnvironmentDetail < Struct.new(
@@ -409,7 +413,8 @@ module Aws::Batch
409
413
  :update_policy,
410
414
  :eks_configuration,
411
415
  :container_orchestration_type,
412
- :uuid)
416
+ :uuid,
417
+ :context)
413
418
  SENSITIVE = []
414
419
  include Aws::Structure
415
420
  end
@@ -2212,6 +2217,10 @@ module Aws::Batch
2212
2217
  # environment.
2213
2218
  # @return [Types::EksConfiguration]
2214
2219
  #
2220
+ # @!attribute [rw] context
2221
+ # Reserved.
2222
+ # @return [String]
2223
+ #
2215
2224
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/CreateComputeEnvironmentRequest AWS API Documentation
2216
2225
  #
2217
2226
  class CreateComputeEnvironmentRequest < Struct.new(
@@ -2222,7 +2231,8 @@ module Aws::Batch
2222
2231
  :compute_resources,
2223
2232
  :service_role,
2224
2233
  :tags,
2225
- :eks_configuration)
2234
+ :eks_configuration,
2235
+ :context)
2226
2236
  SENSITIVE = []
2227
2237
  include Aws::Structure
2228
2238
  end
@@ -8072,6 +8082,10 @@ module Aws::Batch
8072
8082
  # [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
8073
8083
  # @return [Types::UpdatePolicy]
8074
8084
  #
8085
+ # @!attribute [rw] context
8086
+ # Reserved.
8087
+ # @return [String]
8088
+ #
8075
8089
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/UpdateComputeEnvironmentRequest AWS API Documentation
8076
8090
  #
8077
8091
  class UpdateComputeEnvironmentRequest < Struct.new(
@@ -8080,7 +8094,8 @@ module Aws::Batch
8080
8094
  :unmanagedv_cpus,
8081
8095
  :compute_resources,
8082
8096
  :service_role,
8083
- :update_policy)
8097
+ :update_policy,
8098
+ :context)
8084
8099
  SENSITIVE = []
8085
8100
  include Aws::Structure
8086
8101
  end
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.94.0'
55
+ GEM_VERSION = '1.95.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -128,7 +128,8 @@ module Aws
128
128
  ?eks_configuration: {
129
129
  eks_cluster_arn: ::String,
130
130
  kubernetes_namespace: ::String
131
- }
131
+ },
132
+ ?context: ::String
132
133
  ) -> _CreateComputeEnvironmentResponseSuccess
133
134
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateComputeEnvironmentResponseSuccess
134
135
 
@@ -1328,7 +1329,8 @@ module Aws
1328
1329
  ?update_policy: {
1329
1330
  terminate_jobs_on_update: bool?,
1330
1331
  job_execution_timeout_minutes: ::Integer?
1331
- }
1332
+ },
1333
+ ?context: ::String
1332
1334
  ) -> _UpdateComputeEnvironmentResponseSuccess
1333
1335
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateComputeEnvironmentResponseSuccess
1334
1336
 
data/sig/types.rbs CHANGED
@@ -91,6 +91,7 @@ module Aws::Batch
91
91
  attr_accessor eks_configuration: Types::EksConfiguration
92
92
  attr_accessor container_orchestration_type: ("ECS" | "EKS")
93
93
  attr_accessor uuid: ::String
94
+ attr_accessor context: ::String
94
95
  SENSITIVE: []
95
96
  end
96
97
 
@@ -227,6 +228,7 @@ module Aws::Batch
227
228
  attr_accessor service_role: ::String
228
229
  attr_accessor tags: ::Hash[::String, ::String]
229
230
  attr_accessor eks_configuration: Types::EksConfiguration
231
+ attr_accessor context: ::String
230
232
  SENSITIVE: []
231
233
  end
232
234
 
@@ -1118,6 +1120,7 @@ module Aws::Batch
1118
1120
  attr_accessor compute_resources: Types::ComputeResourceUpdate
1119
1121
  attr_accessor service_role: ::String
1120
1122
  attr_accessor update_policy: Types::UpdatePolicy
1123
+ attr_accessor context: ::String
1121
1124
  SENSITIVE: []
1122
1125
  end
1123
1126
 
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.94.0
4
+ version: 1.95.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-07-10 00:00:00.000000000 Z
11
+ date: 2024-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core