aws-sdk-batch 1.19.0 → 1.20.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/lib/aws-sdk-batch.rb +1 -1
- data/lib/aws-sdk-batch/client.rb +1 -1
- data/lib/aws-sdk-batch/client_api.rb +6 -0
- data/lib/aws-sdk-batch/errors.rb +32 -0
- data/lib/aws-sdk-batch/types.rb +27 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c651fdaa9dca9bedc594e9034d211c548270314
|
4
|
+
data.tar.gz: 2ea05107deafe64cc6c8c263f91b5d03b5b37517
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35eaaaae6d1465172968fb7b54189dd3dcdc18e59bd7effc385aa6cd218185d6405fa00f105201c5ef48a70a460e6523d03df0a7a5f6280f109e6913fc667ec2
|
7
|
+
data.tar.gz: 9eb1a6eb57eb3b1732112608718ff01fbbe05fcf8dac930137f7ad6caab43ff79260ce7a3b1499072c23cda6eda89caf6a8735fc9913784030995142362ce6de
|
data/lib/aws-sdk-batch.rb
CHANGED
data/lib/aws-sdk-batch/client.rb
CHANGED
@@ -2097,7 +2097,7 @@ module Aws::Batch
|
|
2097
2097
|
params: params,
|
2098
2098
|
config: config)
|
2099
2099
|
context[:gem_name] = 'aws-sdk-batch'
|
2100
|
-
context[:gem_version] = '1.
|
2100
|
+
context[:gem_version] = '1.20.0'
|
2101
2101
|
Seahorse::Client::Request.new(handlers, context)
|
2102
2102
|
end
|
2103
2103
|
|
@@ -151,6 +151,9 @@ module Aws::Batch
|
|
151
151
|
|
152
152
|
CancelJobResponse.struct_class = Types::CancelJobResponse
|
153
153
|
|
154
|
+
ClientException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
155
|
+
ClientException.struct_class = Types::ClientException
|
156
|
+
|
154
157
|
ComputeEnvironmentDetail.add_member(:compute_environment_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentName"))
|
155
158
|
ComputeEnvironmentDetail.add_member(:compute_environment_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "computeEnvironmentArn"))
|
156
159
|
ComputeEnvironmentDetail.add_member(:ecs_cluster_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ecsClusterArn"))
|
@@ -479,6 +482,9 @@ module Aws::Batch
|
|
479
482
|
RetryStrategy.add_member(:attempts, Shapes::ShapeRef.new(shape: Integer, location_name: "attempts"))
|
480
483
|
RetryStrategy.struct_class = Types::RetryStrategy
|
481
484
|
|
485
|
+
ServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
486
|
+
ServerException.struct_class = Types::ServerException
|
487
|
+
|
482
488
|
StringList.member = Shapes::ShapeRef.new(shape: String)
|
483
489
|
|
484
490
|
SubmitJobRequest.add_member(:job_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "jobName"))
|
data/lib/aws-sdk-batch/errors.rb
CHANGED
@@ -10,5 +10,37 @@ module Aws::Batch
|
|
10
10
|
|
11
11
|
extend Aws::Errors::DynamicErrors
|
12
12
|
|
13
|
+
class ClientException < ServiceError
|
14
|
+
|
15
|
+
# @param [Seahorse::Client::RequestContext] context
|
16
|
+
# @param [String] message
|
17
|
+
# @param [Aws::Batch::Types::ClientException] data
|
18
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
19
|
+
super(context, message, data)
|
20
|
+
end
|
21
|
+
|
22
|
+
# @return [String]
|
23
|
+
def message
|
24
|
+
@message || @data[:message]
|
25
|
+
end
|
26
|
+
|
27
|
+
end
|
28
|
+
|
29
|
+
class ServerException < ServiceError
|
30
|
+
|
31
|
+
# @param [Seahorse::Client::RequestContext] context
|
32
|
+
# @param [String] message
|
33
|
+
# @param [Aws::Batch::Types::ServerException] data
|
34
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
35
|
+
super(context, message, data)
|
36
|
+
end
|
37
|
+
|
38
|
+
# @return [String]
|
39
|
+
def message
|
40
|
+
@message || @data[:message]
|
41
|
+
end
|
42
|
+
|
43
|
+
end
|
44
|
+
|
13
45
|
end
|
14
46
|
end
|
data/lib/aws-sdk-batch/types.rb
CHANGED
@@ -186,6 +186,21 @@ module Aws::Batch
|
|
186
186
|
#
|
187
187
|
class CancelJobResponse < Aws::EmptyStructure; end
|
188
188
|
|
189
|
+
# These errors are usually caused by a client action, such as using an
|
190
|
+
# action or resource on behalf of a user that doesn't have permissions
|
191
|
+
# to use the action or resource, or specifying an identifier that is not
|
192
|
+
# valid.
|
193
|
+
#
|
194
|
+
# @!attribute [rw] message
|
195
|
+
# @return [String]
|
196
|
+
#
|
197
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ClientException AWS API Documentation
|
198
|
+
#
|
199
|
+
class ClientException < Struct.new(
|
200
|
+
:message)
|
201
|
+
include Aws::Structure
|
202
|
+
end
|
203
|
+
|
189
204
|
# An object representing an AWS Batch compute environment.
|
190
205
|
#
|
191
206
|
# @!attribute [rw] compute_environment_name
|
@@ -2647,6 +2662,18 @@ module Aws::Batch
|
|
2647
2662
|
include Aws::Structure
|
2648
2663
|
end
|
2649
2664
|
|
2665
|
+
# These errors are usually caused by a server issue.
|
2666
|
+
#
|
2667
|
+
# @!attribute [rw] message
|
2668
|
+
# @return [String]
|
2669
|
+
#
|
2670
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/batch-2016-08-10/ServerException AWS API Documentation
|
2671
|
+
#
|
2672
|
+
class ServerException < Struct.new(
|
2673
|
+
:message)
|
2674
|
+
include Aws::Structure
|
2675
|
+
end
|
2676
|
+
|
2650
2677
|
# @note When making an API call, you may pass SubmitJobRequest
|
2651
2678
|
# data as a hash:
|
2652
2679
|
#
|
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.20.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: 2019-05-
|
11
|
+
date: 2019-05-21 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.
|
22
|
+
version: 3.53.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.
|
32
|
+
version: 3.53.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|