aws-sdk-batch 1.94.0 → 1.96.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: 8e7ca09976447f542e82541040cd6506cd5fb125605fedf7059b4c32d6d705da
4
+ data.tar.gz: 97af675886c40c69db35ab5e32205690375993f6f31963459b35275206d8b9c0
5
5
  SHA512:
6
- metadata.gz: ad5a899da8320a9d9f57b58d3a7eefbe47d6ddb419e2722528eba28cb27b12b2a7a22e3517c1fe966bce670d87bbb358ff7149977ca37c8c8e337dfe8f809e29
7
- data.tar.gz: da1982ed690a1e9a8cdccb622ec6d8150e1865bbb606312d19dd81a91ccda6af26a2f665c0d17f11e66ca54dcee250fb74c1cb7a8cf0917413d0ebbc50fd36cc
6
+ metadata.gz: 9819eaed7e3397f461fd64ec186bfa78012de339e65f290c40c77d9c404c2d50af7738c32f2de0d0eb76695cdb2bac061f8b6a5ff22eee66ebed8477db5242b7
7
+ data.tar.gz: 81afb9a01ebbfed0d094c86ba990f94d13873eed867e1ad9d513c0244227495d4cb431d74d5c910bdbaf3553338edba9c146c7d65e07c2f4f4271a342e2d2ea0
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.96.0 (2024-09-03)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.95.0 (2024-08-16)
10
+ ------------------
11
+
12
+ * Feature - Improvements of integration between AWS Batch and EC2.
13
+
4
14
  1.94.0 (2024-07-10)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.94.0
1
+ 1.96.0
@@ -32,6 +32,7 @@ require 'aws-sdk-core/plugins/checksum_algorithm.rb'
32
32
  require 'aws-sdk-core/plugins/request_compression.rb'
33
33
  require 'aws-sdk-core/plugins/defaults_mode.rb'
34
34
  require 'aws-sdk-core/plugins/recursion_detection.rb'
35
+ require 'aws-sdk-core/plugins/telemetry.rb'
35
36
  require 'aws-sdk-core/plugins/sign.rb'
36
37
  require 'aws-sdk-core/plugins/protocols/rest_json.rb'
37
38
 
@@ -83,6 +84,7 @@ module Aws::Batch
83
84
  add_plugin(Aws::Plugins::RequestCompression)
84
85
  add_plugin(Aws::Plugins::DefaultsMode)
85
86
  add_plugin(Aws::Plugins::RecursionDetection)
87
+ add_plugin(Aws::Plugins::Telemetry)
86
88
  add_plugin(Aws::Plugins::Sign)
87
89
  add_plugin(Aws::Plugins::Protocols::RestJson)
88
90
  add_plugin(Aws::Batch::Plugins::Endpoints)
@@ -330,6 +332,16 @@ module Aws::Batch
330
332
  # ** Please note ** When response stubbing is enabled, no HTTP
331
333
  # requests are made, and retries are disabled.
332
334
  #
335
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
336
+ # Allows you to provide a telemetry provider, which is used to
337
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
338
+ # will not record or emit any telemetry data. The SDK supports the
339
+ # following telemetry providers:
340
+ #
341
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
342
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
343
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
344
+ #
333
345
  # @option options [Aws::TokenProvider] :token_provider
334
346
  # A Bearer Token Provider. This can be an instance of any one of the
335
347
  # following classes:
@@ -425,9 +437,8 @@ module Aws::Batch
425
437
 
426
438
  # @!group API Operations
427
439
 
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
440
+ # Cancels a job in an Batch job queue. Jobs that are in a `SUBMITTED`,
441
+ # `PENDING`, or `RUNNABLE` state are cancelled and the job status is
431
442
  # updated to `FAILED`.
432
443
  #
433
444
  # <note markdown="1"> A `PENDING` job is canceled after all dependency jobs are completed.
@@ -712,6 +723,9 @@ module Aws::Batch
712
723
  # The details for the Amazon EKS cluster that supports the compute
713
724
  # environment.
714
725
  #
726
+ # @option params [String] :context
727
+ # Reserved.
728
+ #
715
729
  # @return [Types::CreateComputeEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
716
730
  #
717
731
  # * {Types::CreateComputeEnvironmentResponse#compute_environment_name #compute_environment_name} => String
@@ -850,6 +864,7 @@ module Aws::Batch
850
864
  # eks_cluster_arn: "String", # required
851
865
  # kubernetes_namespace: "String", # required
852
866
  # },
867
+ # context: "String",
853
868
  # })
854
869
  #
855
870
  # @example Response structure
@@ -1388,6 +1403,7 @@ module Aws::Batch
1388
1403
  # resp.compute_environments[0].eks_configuration.kubernetes_namespace #=> String
1389
1404
  # resp.compute_environments[0].container_orchestration_type #=> String, one of "ECS", "EKS"
1390
1405
  # resp.compute_environments[0].uuid #=> String
1406
+ # resp.compute_environments[0].context #=> String
1391
1407
  # resp.next_token #=> String
1392
1408
  #
1393
1409
  # @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/DescribeComputeEnvironments AWS API Documentation
@@ -4632,6 +4648,9 @@ module Aws::Batch
4632
4648
  #
4633
4649
  # [1]: https://docs.aws.amazon.com/batch/latest/userguide/updating-compute-environments.html
4634
4650
  #
4651
+ # @option params [String] :context
4652
+ # Reserved.
4653
+ #
4635
4654
  # @return [Types::UpdateComputeEnvironmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4636
4655
  #
4637
4656
  # * {Types::UpdateComputeEnvironmentResponse#compute_environment_name #compute_environment_name} => String
@@ -4695,6 +4714,7 @@ module Aws::Batch
4695
4714
  # terminate_jobs_on_update: false,
4696
4715
  # job_execution_timeout_minutes: 1,
4697
4716
  # },
4717
+ # context: "String",
4698
4718
  # })
4699
4719
  #
4700
4720
  # @example Response structure
@@ -4860,14 +4880,19 @@ module Aws::Batch
4860
4880
  # @api private
4861
4881
  def build_request(operation_name, params = {})
4862
4882
  handlers = @handlers.for(operation_name)
4883
+ tracer = config.telemetry_provider.tracer_provider.tracer(
4884
+ Aws::Telemetry.module_to_tracer_name('Aws::Batch')
4885
+ )
4863
4886
  context = Seahorse::Client::RequestContext.new(
4864
4887
  operation_name: operation_name,
4865
4888
  operation: config.api.operation(operation_name),
4866
4889
  client: self,
4867
4890
  params: params,
4868
- config: config)
4891
+ config: config,
4892
+ tracer: tracer
4893
+ )
4869
4894
  context[:gem_name] = 'aws-sdk-batch'
4870
- context[:gem_version] = '1.94.0'
4895
+ context[:gem_version] = '1.96.0'
4871
4896
  Seahorse::Client::Request.new(handlers, context)
4872
4897
  end
4873
4898
 
@@ -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.96.0'
56
56
 
57
57
  end
data/sig/client.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
@@ -128,7 +129,8 @@ module Aws
128
129
  ?eks_configuration: {
129
130
  eks_cluster_arn: ::String,
130
131
  kubernetes_namespace: ::String
131
- }
132
+ },
133
+ ?context: ::String
132
134
  ) -> _CreateComputeEnvironmentResponseSuccess
133
135
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateComputeEnvironmentResponseSuccess
134
136
 
@@ -1328,7 +1330,8 @@ module Aws
1328
1330
  ?update_policy: {
1329
1331
  terminate_jobs_on_update: bool?,
1330
1332
  job_execution_timeout_minutes: ::Integer?
1331
- }
1333
+ },
1334
+ ?context: ::String
1332
1335
  ) -> _UpdateComputeEnvironmentResponseSuccess
1333
1336
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateComputeEnvironmentResponseSuccess
1334
1337
 
data/sig/resource.rbs CHANGED
@@ -50,6 +50,7 @@ module Aws
50
50
  ?session_token: String,
51
51
  ?sigv4a_signing_region_set: Array[String],
52
52
  ?stub_responses: untyped,
53
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
53
54
  ?token_provider: untyped,
54
55
  ?use_dualstack_endpoint: bool,
55
56
  ?use_fips_endpoint: bool,
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.96.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-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.201.0
22
+ version: 3.203.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.201.0
32
+ version: 3.203.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement