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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f2bf48fb4cd9bd851abd658a8ea8909382017b8
4
- data.tar.gz: abbbd69bb5e3f0b4c2373df56f58b3f3461f77e4
3
+ metadata.gz: 8c651fdaa9dca9bedc594e9034d211c548270314
4
+ data.tar.gz: 2ea05107deafe64cc6c8c263f91b5d03b5b37517
5
5
  SHA512:
6
- metadata.gz: 0cb0aa81480c89bedc44f9a1cef98ae95e0cfd824c5642612d82335030bc664bf55909964cf15010c3ba74beb6c01291604b94af4258ada43b6e5ebf444f9e69
7
- data.tar.gz: 85889056825b4192a20a211999769d9ab203d1e6e25df65fe79fe158cf16711e070ed918e7242949a2a6075706041782eab5bd8eee72ae79046dfb0f49d6af69
6
+ metadata.gz: 35eaaaae6d1465172968fb7b54189dd3dcdc18e59bd7effc385aa6cd218185d6405fa00f105201c5ef48a70a460e6523d03df0a7a5f6280f109e6913fc667ec2
7
+ data.tar.gz: 9eb1a6eb57eb3b1732112608718ff01fbbe05fcf8dac930137f7ad6caab43ff79260ce7a3b1499072c23cda6eda89caf6a8735fc9913784030995142362ce6de
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-batch/customizations'
42
42
  # @service
43
43
  module Aws::Batch
44
44
 
45
- GEM_VERSION = '1.19.0'
45
+ GEM_VERSION = '1.20.0'
46
46
 
47
47
  end
@@ -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.19.0'
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"))
@@ -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
@@ -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.19.0
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-15 00:00:00.000000000 Z
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.52.1
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.52.1
32
+ version: 3.53.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement