aws-sdk-batch 1.94.0 → 1.95.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-batch/client.rb +12 -4
- data/lib/aws-sdk-batch/client_api.rb +3 -0
- data/lib/aws-sdk-batch/types.rb +18 -3
- data/lib/aws-sdk-batch.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df354f09b181f2685e1355b417d76d4f8b746e5aa37c2c46f8372d1575041288
|
4
|
+
data.tar.gz: 424c576cb65c02b0166b65daef7834945f8e28af73c012432ff7678c5156fa5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ece8dbdf132ac38e4f05f1ce5915131c26fadb3a9fe5cccf6438875fc485128f049df8541b020dbbed5b48e91df153b439314b94d5f3e8fb80ea2a3d031b65be
|
7
|
+
data.tar.gz: 685beed1fd365d896149d13e145016a03920cd8ca244700445617139bf25c73962752e59c082ab72523ed5e91eadecded83fbe756f4c9839bd55210420593e5f
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.95.0
|
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -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
|
429
|
-
# or `
|
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.
|
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"))
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -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
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.
|
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-
|
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
|