aws-sdk-comprehendmedical 1.5.0 → 1.6.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: a94af576c13959417aa1c91271060baee5e7bd76
4
- data.tar.gz: 1f47b8dad115c24247393c413b37230f89fd2ba0
3
+ metadata.gz: 2dac997d0912300f8c8ba5c0ef36ceff50919d1b
4
+ data.tar.gz: 781137e815c9ea2d9dfd285a4972f210bcf3472a
5
5
  SHA512:
6
- metadata.gz: c24c379608ecdc04153c1e458525b22651c9d85ab3972e4a9febfd8bf44f89bf9f6e11e818e76f1debf6db0edc39d76b9ad672a8e92eab81f3a088c643165020
7
- data.tar.gz: c4366c0965493fb2fafb7ed5f6c1aae2e605e51116313de1c5781c4ecb049a68cc9ce36e5334ba23eabee6fe5e04a86f1b3b92828116ed4cdbd1c4b8fa1a0a50
6
+ metadata.gz: ec71090f0db58b019671175c5dea03d40aa13fc84ae23baf9fad1cfeb7301c661a93b81a98e0d122e2dc4d904b71bc9c7f34712997d838d408a04ebdeb64e19c
7
+ data.tar.gz: 4533a08b7dcf6bf2136758076741cfbc555ae68ac839c01264f7548429714d4e5a537ddf32619eb42225ad6809d3d1478aa283c91e0e6d69b9b840ee277ec94f
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-comprehendmedical/customizations'
42
42
  # @service
43
43
  module Aws::ComprehendMedical
44
44
 
45
- GEM_VERSION = '1.5.0'
45
+ GEM_VERSION = '1.6.0'
46
46
 
47
47
  end
@@ -396,7 +396,7 @@ module Aws::ComprehendMedical
396
396
  params: params,
397
397
  config: config)
398
398
  context[:gem_name] = 'aws-sdk-comprehendmedical'
399
- context[:gem_version] = '1.5.0'
399
+ context[:gem_version] = '1.6.0'
400
400
  Seahorse::Client::Request.new(handlers, context)
401
401
  end
402
402
 
@@ -77,6 +77,24 @@ module Aws::ComprehendMedical
77
77
 
78
78
  EntityList.member = Shapes::ShapeRef.new(shape: Entity)
79
79
 
80
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
81
+ InternalServerException.struct_class = Types::InternalServerException
82
+
83
+ InvalidEncodingException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
84
+ InvalidEncodingException.struct_class = Types::InvalidEncodingException
85
+
86
+ InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
87
+ InvalidRequestException.struct_class = Types::InvalidRequestException
88
+
89
+ ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
90
+ ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
91
+
92
+ TextSizeLimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
93
+ TextSizeLimitExceededException.struct_class = Types::TextSizeLimitExceededException
94
+
95
+ TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
96
+ TooManyRequestsException.struct_class = Types::TooManyRequestsException
97
+
80
98
  Trait.add_member(:name, Shapes::ShapeRef.new(shape: AttributeName, location_name: "Name"))
81
99
  Trait.add_member(:score, Shapes::ShapeRef.new(shape: Float, location_name: "Score"))
82
100
  Trait.struct_class = Types::Trait
@@ -10,5 +10,101 @@ module Aws::ComprehendMedical
10
10
 
11
11
  extend Aws::Errors::DynamicErrors
12
12
 
13
+ class InternalServerException < ServiceError
14
+
15
+ # @param [Seahorse::Client::RequestContext] context
16
+ # @param [String] message
17
+ # @param [Aws::ComprehendMedical::Types::InternalServerException] 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 InvalidEncodingException < ServiceError
30
+
31
+ # @param [Seahorse::Client::RequestContext] context
32
+ # @param [String] message
33
+ # @param [Aws::ComprehendMedical::Types::InvalidEncodingException] 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
+
45
+ class InvalidRequestException < ServiceError
46
+
47
+ # @param [Seahorse::Client::RequestContext] context
48
+ # @param [String] message
49
+ # @param [Aws::ComprehendMedical::Types::InvalidRequestException] data
50
+ def initialize(context, message, data = Aws::EmptyStructure.new)
51
+ super(context, message, data)
52
+ end
53
+
54
+ # @return [String]
55
+ def message
56
+ @message || @data[:message]
57
+ end
58
+
59
+ end
60
+
61
+ class ServiceUnavailableException < ServiceError
62
+
63
+ # @param [Seahorse::Client::RequestContext] context
64
+ # @param [String] message
65
+ # @param [Aws::ComprehendMedical::Types::ServiceUnavailableException] data
66
+ def initialize(context, message, data = Aws::EmptyStructure.new)
67
+ super(context, message, data)
68
+ end
69
+
70
+ # @return [String]
71
+ def message
72
+ @message || @data[:message]
73
+ end
74
+
75
+ end
76
+
77
+ class TextSizeLimitExceededException < ServiceError
78
+
79
+ # @param [Seahorse::Client::RequestContext] context
80
+ # @param [String] message
81
+ # @param [Aws::ComprehendMedical::Types::TextSizeLimitExceededException] data
82
+ def initialize(context, message, data = Aws::EmptyStructure.new)
83
+ super(context, message, data)
84
+ end
85
+
86
+ # @return [String]
87
+ def message
88
+ @message || @data[:message]
89
+ end
90
+
91
+ end
92
+
93
+ class TooManyRequestsException < ServiceError
94
+
95
+ # @param [Seahorse::Client::RequestContext] context
96
+ # @param [String] message
97
+ # @param [Aws::ComprehendMedical::Types::TooManyRequestsException] data
98
+ def initialize(context, message, data = Aws::EmptyStructure.new)
99
+ super(context, message, data)
100
+ end
101
+
102
+ # @return [String]
103
+ def message
104
+ @message || @data[:message]
105
+ end
106
+
107
+ end
108
+
13
109
  end
14
110
  end
@@ -217,6 +217,85 @@ module Aws::ComprehendMedical
217
217
  include Aws::Structure
218
218
  end
219
219
 
220
+ # An internal server error occurred. Retry your request.
221
+ #
222
+ # @!attribute [rw] message
223
+ # @return [String]
224
+ #
225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InternalServerException AWS API Documentation
226
+ #
227
+ class InternalServerException < Struct.new(
228
+ :message)
229
+ include Aws::Structure
230
+ end
231
+
232
+ # The input text was not in valid UTF-8 character encoding. Check your
233
+ # text then retry your request.
234
+ #
235
+ # @!attribute [rw] message
236
+ # @return [String]
237
+ #
238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InvalidEncodingException AWS API Documentation
239
+ #
240
+ class InvalidEncodingException < Struct.new(
241
+ :message)
242
+ include Aws::Structure
243
+ end
244
+
245
+ # The request that you made is invalid. Check your request to determine
246
+ # why it's invalid and then retry the request.
247
+ #
248
+ # @!attribute [rw] message
249
+ # @return [String]
250
+ #
251
+ # @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/InvalidRequestException AWS API Documentation
252
+ #
253
+ class InvalidRequestException < Struct.new(
254
+ :message)
255
+ include Aws::Structure
256
+ end
257
+
258
+ # The Comprehend Medical service is temporarily unavailable. Please wait
259
+ # and then retry your request.
260
+ #
261
+ # @!attribute [rw] message
262
+ # @return [String]
263
+ #
264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/ServiceUnavailableException AWS API Documentation
265
+ #
266
+ class ServiceUnavailableException < Struct.new(
267
+ :message)
268
+ include Aws::Structure
269
+ end
270
+
271
+ # The size of the text you submitted exceeds the size limit. Reduce the
272
+ # size of the text or use a smaller document and then retry your
273
+ # request.
274
+ #
275
+ # @!attribute [rw] message
276
+ # @return [String]
277
+ #
278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/TextSizeLimitExceededException AWS API Documentation
279
+ #
280
+ class TextSizeLimitExceededException < Struct.new(
281
+ :message)
282
+ include Aws::Structure
283
+ end
284
+
285
+ # You have made too many requests within a short period of time. Wait
286
+ # for a short time and then try your request again. Contact customer
287
+ # support for more information about a service limit increase.
288
+ #
289
+ # @!attribute [rw] message
290
+ # @return [String]
291
+ #
292
+ # @see http://docs.aws.amazon.com/goto/WebAPI/comprehendmedical-2018-10-30/TooManyRequestsException AWS API Documentation
293
+ #
294
+ class TooManyRequestsException < Struct.new(
295
+ :message)
296
+ include Aws::Structure
297
+ end
298
+
220
299
  # Provides contextual information about the extracted entity.
221
300
  #
222
301
  # @!attribute [rw] name
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-comprehendmedical
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.6.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