aws-sdk-comprehend 1.29.0 → 1.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/aws-sdk-comprehend.rb +9 -4
- data/lib/aws-sdk-comprehend/client.rb +88 -14
- data/lib/aws-sdk-comprehend/client_api.rb +2 -0
- data/lib/aws-sdk-comprehend/errors.rb +40 -16
- data/lib/aws-sdk-comprehend/resource.rb +3 -0
- data/lib/aws-sdk-comprehend/types.rb +161 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 11748948d475c0bf4d3a5411da47e7a422c3ef4cfc54d1fa1818bf8e1f6fa286
|
4
|
+
data.tar.gz: f050489b0d80a847633811f2c1de56861364c545caabb2bdd58b8d011360deea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0af4bdffd5ce15ed08cef833efcb3e92db0533c36b3350676a82223b20fe284cbf3a6eb42fb8450384b45692b0d3d1784ad86779d2e986e4bf6edc7b19b04d89
|
7
|
+
data.tar.gz: a4ea81392c59ae740f7ed0ff858ebb4d18d4f466799755dd5e3af6c16a413089bbe124c53aabe7ff8d889ba033c5044101c0db157092d8669d4383f2f8d6cfcf
|
data/lib/aws-sdk-comprehend.rb
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,17 +26,20 @@ require_relative 'aws-sdk-comprehend/customizations'
|
|
24
26
|
# methods each accept a hash of request parameters and return a response
|
25
27
|
# structure.
|
26
28
|
#
|
29
|
+
# comprehend = Aws::Comprehend::Client.new
|
30
|
+
# resp = comprehend.batch_detect_dominant_language(params)
|
31
|
+
#
|
27
32
|
# See {Client} for more information.
|
28
33
|
#
|
29
34
|
# # Errors
|
30
35
|
#
|
31
|
-
# Errors returned from Amazon Comprehend
|
32
|
-
# extend {Errors::ServiceError}.
|
36
|
+
# Errors returned from Amazon Comprehend are defined in the
|
37
|
+
# {Errors} module and all extend {Errors::ServiceError}.
|
33
38
|
#
|
34
39
|
# begin
|
35
40
|
# # do stuff
|
36
41
|
# rescue Aws::Comprehend::Errors::ServiceError
|
37
|
-
# # rescues all
|
42
|
+
# # rescues all Amazon Comprehend API errors
|
38
43
|
# end
|
39
44
|
#
|
40
45
|
# See {Errors} for more information.
|
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-comprehend/customizations'
|
|
42
47
|
# @service
|
43
48
|
module Aws::Comprehend
|
44
49
|
|
45
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.34.0'
|
46
51
|
|
47
52
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -24,12 +26,25 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
|
|
24
26
|
require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
25
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
26
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
|
+
require 'aws-sdk-core/plugins/http_checksum.rb'
|
27
30
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
28
31
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
29
32
|
|
30
33
|
Aws::Plugins::GlobalConfiguration.add_identifier(:comprehend)
|
31
34
|
|
32
35
|
module Aws::Comprehend
|
36
|
+
# An API client for Comprehend. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::Comprehend::Client.new(
|
39
|
+
# region: region_name,
|
40
|
+
# credentials: credentials,
|
41
|
+
# # ...
|
42
|
+
# )
|
43
|
+
#
|
44
|
+
# For details on configuring region and credentials see
|
45
|
+
# the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
|
46
|
+
#
|
47
|
+
# See {#initialize} for a full list of supported configuration options.
|
33
48
|
class Client < Seahorse::Client::Base
|
34
49
|
|
35
50
|
include Aws::ClientStubs
|
@@ -57,6 +72,7 @@ module Aws::Comprehend
|
|
57
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
58
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
59
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
60
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
61
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
62
78
|
|
@@ -93,7 +109,7 @@ module Aws::Comprehend
|
|
93
109
|
# @option options [required, String] :region
|
94
110
|
# The AWS region to connect to. The configured `:region` is
|
95
111
|
# used to determine the service `:endpoint`. When not passed,
|
96
|
-
# a default `:region` is
|
112
|
+
# a default `:region` is searched for in the following locations:
|
97
113
|
#
|
98
114
|
# * `Aws.config[:region]`
|
99
115
|
# * `ENV['AWS_REGION']`
|
@@ -108,6 +124,12 @@ module Aws::Comprehend
|
|
108
124
|
# When set to `true`, a thread polling for endpoints will be running in
|
109
125
|
# the background every 60 secs (default). Defaults to `false`.
|
110
126
|
#
|
127
|
+
# @option options [Boolean] :adaptive_retry_wait_to_fill (true)
|
128
|
+
# Used only in `adaptive` retry mode. When true, the request will sleep
|
129
|
+
# until there is sufficent client side capacity to retry the request.
|
130
|
+
# When false, the request will raise a `RetryCapacityNotAvailableError` and will
|
131
|
+
# not retry instead of sleeping.
|
132
|
+
#
|
111
133
|
# @option options [Boolean] :client_side_monitoring (false)
|
112
134
|
# When `true`, client-side metrics will be collected for all API requests from
|
113
135
|
# this client.
|
@@ -132,6 +154,10 @@ module Aws::Comprehend
|
|
132
154
|
# When `true`, an attempt is made to coerce request parameters into
|
133
155
|
# the required types.
|
134
156
|
#
|
157
|
+
# @option options [Boolean] :correct_clock_skew (true)
|
158
|
+
# Used only in `standard` and adaptive retry modes. Specifies whether to apply
|
159
|
+
# a clock skew correction and retry requests with skewed client clocks.
|
160
|
+
#
|
135
161
|
# @option options [Boolean] :disable_host_prefix_injection (false)
|
136
162
|
# Set to true to disable SDK automatically adding host prefix
|
137
163
|
# to default service endpoint when available.
|
@@ -139,7 +165,7 @@ module Aws::Comprehend
|
|
139
165
|
# @option options [String] :endpoint
|
140
166
|
# The client endpoint is normally constructed from the `:region`
|
141
167
|
# option. You should only configure an `:endpoint` when connecting
|
142
|
-
# to test endpoints. This should be
|
168
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
143
169
|
#
|
144
170
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
145
171
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -154,7 +180,7 @@ module Aws::Comprehend
|
|
154
180
|
# requests fetching endpoints information. Defaults to 60 sec.
|
155
181
|
#
|
156
182
|
# @option options [Boolean] :endpoint_discovery (false)
|
157
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
183
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
158
184
|
#
|
159
185
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
160
186
|
# The log formatter.
|
@@ -166,15 +192,29 @@ module Aws::Comprehend
|
|
166
192
|
# The Logger instance to send log messages to. If this option
|
167
193
|
# is not set, logging will be disabled.
|
168
194
|
#
|
195
|
+
# @option options [Integer] :max_attempts (3)
|
196
|
+
# An integer representing the maximum number attempts that will be made for
|
197
|
+
# a single request, including the initial attempt. For example,
|
198
|
+
# setting this value to 5 will result in a request being retried up to
|
199
|
+
# 4 times. Used in `standard` and `adaptive` retry modes.
|
200
|
+
#
|
169
201
|
# @option options [String] :profile ("default")
|
170
202
|
# Used when loading credentials from the shared credentials file
|
171
203
|
# at HOME/.aws/credentials. When not specified, 'default' is used.
|
172
204
|
#
|
205
|
+
# @option options [Proc] :retry_backoff
|
206
|
+
# A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
|
207
|
+
# This option is only used in the `legacy` retry mode.
|
208
|
+
#
|
173
209
|
# @option options [Float] :retry_base_delay (0.3)
|
174
|
-
# The base delay in seconds used by the default backoff function.
|
210
|
+
# The base delay in seconds used by the default backoff function. This option
|
211
|
+
# is only used in the `legacy` retry mode.
|
175
212
|
#
|
176
213
|
# @option options [Symbol] :retry_jitter (:none)
|
177
|
-
# A delay randomiser function used by the default backoff function.
|
214
|
+
# A delay randomiser function used by the default backoff function.
|
215
|
+
# Some predefined functions can be referenced by name - :none, :equal, :full,
|
216
|
+
# otherwise a Proc that takes and returns a number. This option is only used
|
217
|
+
# in the `legacy` retry mode.
|
178
218
|
#
|
179
219
|
# @see https://www.awsarchitectureblog.com/2015/03/backoff.html
|
180
220
|
#
|
@@ -182,11 +222,30 @@ module Aws::Comprehend
|
|
182
222
|
# The maximum number of times to retry failed requests. Only
|
183
223
|
# ~ 500 level server errors and certain ~ 400 level client errors
|
184
224
|
# are retried. Generally, these are throttling errors, data
|
185
|
-
# checksum errors, networking errors, timeout errors
|
186
|
-
# errors from expired credentials.
|
225
|
+
# checksum errors, networking errors, timeout errors, auth errors,
|
226
|
+
# endpoint discovery, and errors from expired credentials.
|
227
|
+
# This option is only used in the `legacy` retry mode.
|
187
228
|
#
|
188
229
|
# @option options [Integer] :retry_max_delay (0)
|
189
|
-
# The maximum number of seconds to delay between retries (0 for no limit)
|
230
|
+
# The maximum number of seconds to delay between retries (0 for no limit)
|
231
|
+
# used by the default backoff function. This option is only used in the
|
232
|
+
# `legacy` retry mode.
|
233
|
+
#
|
234
|
+
# @option options [String] :retry_mode ("legacy")
|
235
|
+
# Specifies which retry algorithm to use. Values are:
|
236
|
+
#
|
237
|
+
# * `legacy` - The pre-existing retry behavior. This is default value if
|
238
|
+
# no retry mode is provided.
|
239
|
+
#
|
240
|
+
# * `standard` - A standardized set of retry rules across the AWS SDKs.
|
241
|
+
# This includes support for retry quotas, which limit the number of
|
242
|
+
# unsuccessful retries a client can make.
|
243
|
+
#
|
244
|
+
# * `adaptive` - An experimental retry mode that includes all the
|
245
|
+
# functionality of `standard` mode along with automatic client side
|
246
|
+
# throttling. This is a provisional mode that may change behavior
|
247
|
+
# in the future.
|
248
|
+
#
|
190
249
|
#
|
191
250
|
# @option options [String] :secret_access_key
|
192
251
|
#
|
@@ -219,16 +278,15 @@ module Aws::Comprehend
|
|
219
278
|
# requests through. Formatted like 'http://proxy.com:123'.
|
220
279
|
#
|
221
280
|
# @option options [Float] :http_open_timeout (15) The number of
|
222
|
-
# seconds to wait when opening a HTTP session before
|
281
|
+
# seconds to wait when opening a HTTP session before raising a
|
223
282
|
# `Timeout::Error`.
|
224
283
|
#
|
225
284
|
# @option options [Integer] :http_read_timeout (60) The default
|
226
285
|
# number of seconds to wait for response data. This value can
|
227
|
-
# safely be set
|
228
|
-
# per-request on the session yeidled by {#session_for}.
|
286
|
+
# safely be set per-request on the session.
|
229
287
|
#
|
230
288
|
# @option options [Float] :http_idle_timeout (5) The number of
|
231
|
-
# seconds a connection is allowed to sit
|
289
|
+
# seconds a connection is allowed to sit idle before it is
|
232
290
|
# considered stale. Stale connections are closed and removed
|
233
291
|
# from the pool before making a request.
|
234
292
|
#
|
@@ -237,7 +295,7 @@ module Aws::Comprehend
|
|
237
295
|
# request body. This option has no effect unless the request has
|
238
296
|
# "Expect" header set to "100-continue". Defaults to `nil` which
|
239
297
|
# disables this behaviour. This value can safely be set per
|
240
|
-
# request on the session
|
298
|
+
# request on the session.
|
241
299
|
#
|
242
300
|
# @option options [Boolean] :http_wire_trace (false) When `true`,
|
243
301
|
# HTTP debug output will be sent to the `:logger`.
|
@@ -1571,6 +1629,8 @@ module Aws::Comprehend
|
|
1571
1629
|
# * {Types::ListDocumentClassificationJobsResponse#document_classification_job_properties_list #document_classification_job_properties_list} => Array<Types::DocumentClassificationJobProperties>
|
1572
1630
|
# * {Types::ListDocumentClassificationJobsResponse#next_token #next_token} => String
|
1573
1631
|
#
|
1632
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1633
|
+
#
|
1574
1634
|
# @example Request syntax with placeholder values
|
1575
1635
|
#
|
1576
1636
|
# resp = client.list_document_classification_jobs({
|
@@ -1634,6 +1694,8 @@ module Aws::Comprehend
|
|
1634
1694
|
# * {Types::ListDocumentClassifiersResponse#document_classifier_properties_list #document_classifier_properties_list} => Array<Types::DocumentClassifierProperties>
|
1635
1695
|
# * {Types::ListDocumentClassifiersResponse#next_token #next_token} => String
|
1636
1696
|
#
|
1697
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1698
|
+
#
|
1637
1699
|
# @example Request syntax with placeholder values
|
1638
1700
|
#
|
1639
1701
|
# resp = client.list_document_classifiers({
|
@@ -1710,6 +1772,8 @@ module Aws::Comprehend
|
|
1710
1772
|
# * {Types::ListDominantLanguageDetectionJobsResponse#dominant_language_detection_job_properties_list #dominant_language_detection_job_properties_list} => Array<Types::DominantLanguageDetectionJobProperties>
|
1711
1773
|
# * {Types::ListDominantLanguageDetectionJobsResponse#next_token #next_token} => String
|
1712
1774
|
#
|
1775
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1776
|
+
#
|
1713
1777
|
# @example Request syntax with placeholder values
|
1714
1778
|
#
|
1715
1779
|
# resp = client.list_dominant_language_detection_jobs({
|
@@ -1826,6 +1890,8 @@ module Aws::Comprehend
|
|
1826
1890
|
# * {Types::ListEntitiesDetectionJobsResponse#entities_detection_job_properties_list #entities_detection_job_properties_list} => Array<Types::EntitiesDetectionJobProperties>
|
1827
1891
|
# * {Types::ListEntitiesDetectionJobsResponse#next_token #next_token} => String
|
1828
1892
|
#
|
1893
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1894
|
+
#
|
1829
1895
|
# @example Request syntax with placeholder values
|
1830
1896
|
#
|
1831
1897
|
# resp = client.list_entities_detection_jobs({
|
@@ -1897,6 +1963,8 @@ module Aws::Comprehend
|
|
1897
1963
|
# * {Types::ListEntityRecognizersResponse#entity_recognizer_properties_list #entity_recognizer_properties_list} => Array<Types::EntityRecognizerProperties>
|
1898
1964
|
# * {Types::ListEntityRecognizersResponse#next_token #next_token} => String
|
1899
1965
|
#
|
1966
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
1967
|
+
#
|
1900
1968
|
# @example Request syntax with placeholder values
|
1901
1969
|
#
|
1902
1970
|
# resp = client.list_entity_recognizers({
|
@@ -1972,6 +2040,8 @@ module Aws::Comprehend
|
|
1972
2040
|
# * {Types::ListKeyPhrasesDetectionJobsResponse#key_phrases_detection_job_properties_list #key_phrases_detection_job_properties_list} => Array<Types::KeyPhrasesDetectionJobProperties>
|
1973
2041
|
# * {Types::ListKeyPhrasesDetectionJobsResponse#next_token #next_token} => String
|
1974
2042
|
#
|
2043
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2044
|
+
#
|
1975
2045
|
# @example Request syntax with placeholder values
|
1976
2046
|
#
|
1977
2047
|
# resp = client.list_key_phrases_detection_jobs({
|
@@ -2035,6 +2105,8 @@ module Aws::Comprehend
|
|
2035
2105
|
# * {Types::ListSentimentDetectionJobsResponse#sentiment_detection_job_properties_list #sentiment_detection_job_properties_list} => Array<Types::SentimentDetectionJobProperties>
|
2036
2106
|
# * {Types::ListSentimentDetectionJobsResponse#next_token #next_token} => String
|
2037
2107
|
#
|
2108
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2109
|
+
#
|
2038
2110
|
# @example Request syntax with placeholder values
|
2039
2111
|
#
|
2040
2112
|
# resp = client.list_sentiment_detection_jobs({
|
@@ -2131,6 +2203,8 @@ module Aws::Comprehend
|
|
2131
2203
|
# * {Types::ListTopicsDetectionJobsResponse#topics_detection_job_properties_list #topics_detection_job_properties_list} => Array<Types::TopicsDetectionJobProperties>
|
2132
2204
|
# * {Types::ListTopicsDetectionJobsResponse#next_token #next_token} => String
|
2133
2205
|
#
|
2206
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2207
|
+
#
|
2134
2208
|
# @example Request syntax with placeholder values
|
2135
2209
|
#
|
2136
2210
|
# resp = client.list_topics_detection_jobs({
|
@@ -3084,7 +3158,7 @@ module Aws::Comprehend
|
|
3084
3158
|
params: params,
|
3085
3159
|
config: config)
|
3086
3160
|
context[:gem_name] = 'aws-sdk-comprehend'
|
3087
|
-
context[:gem_version] = '1.
|
3161
|
+
context[:gem_version] = '1.34.0'
|
3088
3162
|
Seahorse::Client::Request.new(handlers, context)
|
3089
3163
|
end
|
3090
3164
|
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
# WARNING ABOUT GENERATED CODE
|
2
4
|
#
|
3
5
|
# This file is generated. See the contributing guide for more information:
|
@@ -6,6 +8,44 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Comprehend
|
11
|
+
|
12
|
+
# When Comprehend returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::Comprehend::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all Comprehend errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::Comprehend::Errors::ServiceError
|
20
|
+
# # rescues all Comprehend API errors
|
21
|
+
# end
|
22
|
+
#
|
23
|
+
#
|
24
|
+
# ## Request Context
|
25
|
+
# ServiceError objects have a {Aws::Errors::ServiceError#context #context} method that returns
|
26
|
+
# information about the request that generated the error.
|
27
|
+
# See {Seahorse::Client::RequestContext} for more information.
|
28
|
+
#
|
29
|
+
# ## Error Classes
|
30
|
+
# * {BatchSizeLimitExceededException}
|
31
|
+
# * {ConcurrentModificationException}
|
32
|
+
# * {InternalServerException}
|
33
|
+
# * {InvalidFilterException}
|
34
|
+
# * {InvalidRequestException}
|
35
|
+
# * {JobNotFoundException}
|
36
|
+
# * {KmsKeyValidationException}
|
37
|
+
# * {ResourceInUseException}
|
38
|
+
# * {ResourceLimitExceededException}
|
39
|
+
# * {ResourceNotFoundException}
|
40
|
+
# * {ResourceUnavailableException}
|
41
|
+
# * {TextSizeLimitExceededException}
|
42
|
+
# * {TooManyRequestsException}
|
43
|
+
# * {TooManyTagKeysException}
|
44
|
+
# * {TooManyTagsException}
|
45
|
+
# * {UnsupportedLanguageException}
|
46
|
+
#
|
47
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
48
|
+
# if they are not defined above.
|
9
49
|
module Errors
|
10
50
|
|
11
51
|
extend Aws::Errors::DynamicErrors
|
@@ -23,7 +63,6 @@ module Aws::Comprehend
|
|
23
63
|
def message
|
24
64
|
@message || @data[:message]
|
25
65
|
end
|
26
|
-
|
27
66
|
end
|
28
67
|
|
29
68
|
class ConcurrentModificationException < ServiceError
|
@@ -39,7 +78,6 @@ module Aws::Comprehend
|
|
39
78
|
def message
|
40
79
|
@message || @data[:message]
|
41
80
|
end
|
42
|
-
|
43
81
|
end
|
44
82
|
|
45
83
|
class InternalServerException < ServiceError
|
@@ -55,7 +93,6 @@ module Aws::Comprehend
|
|
55
93
|
def message
|
56
94
|
@message || @data[:message]
|
57
95
|
end
|
58
|
-
|
59
96
|
end
|
60
97
|
|
61
98
|
class InvalidFilterException < ServiceError
|
@@ -71,7 +108,6 @@ module Aws::Comprehend
|
|
71
108
|
def message
|
72
109
|
@message || @data[:message]
|
73
110
|
end
|
74
|
-
|
75
111
|
end
|
76
112
|
|
77
113
|
class InvalidRequestException < ServiceError
|
@@ -87,7 +123,6 @@ module Aws::Comprehend
|
|
87
123
|
def message
|
88
124
|
@message || @data[:message]
|
89
125
|
end
|
90
|
-
|
91
126
|
end
|
92
127
|
|
93
128
|
class JobNotFoundException < ServiceError
|
@@ -103,7 +138,6 @@ module Aws::Comprehend
|
|
103
138
|
def message
|
104
139
|
@message || @data[:message]
|
105
140
|
end
|
106
|
-
|
107
141
|
end
|
108
142
|
|
109
143
|
class KmsKeyValidationException < ServiceError
|
@@ -119,7 +153,6 @@ module Aws::Comprehend
|
|
119
153
|
def message
|
120
154
|
@message || @data[:message]
|
121
155
|
end
|
122
|
-
|
123
156
|
end
|
124
157
|
|
125
158
|
class ResourceInUseException < ServiceError
|
@@ -135,7 +168,6 @@ module Aws::Comprehend
|
|
135
168
|
def message
|
136
169
|
@message || @data[:message]
|
137
170
|
end
|
138
|
-
|
139
171
|
end
|
140
172
|
|
141
173
|
class ResourceLimitExceededException < ServiceError
|
@@ -151,7 +183,6 @@ module Aws::Comprehend
|
|
151
183
|
def message
|
152
184
|
@message || @data[:message]
|
153
185
|
end
|
154
|
-
|
155
186
|
end
|
156
187
|
|
157
188
|
class ResourceNotFoundException < ServiceError
|
@@ -167,7 +198,6 @@ module Aws::Comprehend
|
|
167
198
|
def message
|
168
199
|
@message || @data[:message]
|
169
200
|
end
|
170
|
-
|
171
201
|
end
|
172
202
|
|
173
203
|
class ResourceUnavailableException < ServiceError
|
@@ -183,7 +213,6 @@ module Aws::Comprehend
|
|
183
213
|
def message
|
184
214
|
@message || @data[:message]
|
185
215
|
end
|
186
|
-
|
187
216
|
end
|
188
217
|
|
189
218
|
class TextSizeLimitExceededException < ServiceError
|
@@ -199,7 +228,6 @@ module Aws::Comprehend
|
|
199
228
|
def message
|
200
229
|
@message || @data[:message]
|
201
230
|
end
|
202
|
-
|
203
231
|
end
|
204
232
|
|
205
233
|
class TooManyRequestsException < ServiceError
|
@@ -215,7 +243,6 @@ module Aws::Comprehend
|
|
215
243
|
def message
|
216
244
|
@message || @data[:message]
|
217
245
|
end
|
218
|
-
|
219
246
|
end
|
220
247
|
|
221
248
|
class TooManyTagKeysException < ServiceError
|
@@ -231,7 +258,6 @@ module Aws::Comprehend
|
|
231
258
|
def message
|
232
259
|
@message || @data[:message]
|
233
260
|
end
|
234
|
-
|
235
261
|
end
|
236
262
|
|
237
263
|
class TooManyTagsException < ServiceError
|
@@ -247,7 +273,6 @@ module Aws::Comprehend
|
|
247
273
|
def message
|
248
274
|
@message || @data[:message]
|
249
275
|
end
|
250
|
-
|
251
276
|
end
|
252
277
|
|
253
278
|
class UnsupportedLanguageException < ServiceError
|
@@ -263,7 +288,6 @@ module Aws::Comprehend
|
|
263
288
|
def message
|
264
289
|
@message || @data[:message]
|
265
290
|
end
|
266
|
-
|
267
291
|
end
|
268
292
|
|
269
293
|
end
|