aws-sdk-translate 1.19.0 → 1.24.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-translate.rb +9 -4
- data/lib/aws-sdk-translate/client.rb +76 -14
- data/lib/aws-sdk-translate/client_api.rb +2 -0
- data/lib/aws-sdk-translate/errors.rb +35 -11
- data/lib/aws-sdk-translate/resource.rb +3 -0
- data/lib/aws-sdk-translate/types.rb +41 -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: 938ced35ae8ba42d62fa3cdf27109ab960ea2099aa0e1516a59166d1cd572898
|
4
|
+
data.tar.gz: abcac71347e34e2f99992ff008b396c0ad003178fe99b0b140b318ae3398057d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9bf90a44690a7a78011b607f8f7909f2b5cfe25b35153da9aa7bb20a0d85d6f4d40f0f4c70906b0d9d732efdbb85b063da4c62e3e96fd79f9592c7b7ec15b5b
|
7
|
+
data.tar.gz: 54c4364a7f64c2ea2f484b38843cdada922950bc7df459ae43e201d328ad0f8475006f1bb28f29f78730a3c3aaf004ed71b77370efaaeea93df338e800a68cb4
|
data/lib/aws-sdk-translate.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-translate/customizations'
|
|
24
26
|
# methods each accept a hash of request parameters and return a response
|
25
27
|
# structure.
|
26
28
|
#
|
29
|
+
# translate = Aws::Translate::Client.new
|
30
|
+
# resp = translate.delete_terminology(params)
|
31
|
+
#
|
27
32
|
# See {Client} for more information.
|
28
33
|
#
|
29
34
|
# # Errors
|
30
35
|
#
|
31
|
-
# Errors returned from Amazon Translate
|
32
|
-
# extend {Errors::ServiceError}.
|
36
|
+
# Errors returned from Amazon Translate 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::Translate::Errors::ServiceError
|
37
|
-
# # rescues all
|
42
|
+
# # rescues all Amazon Translate API errors
|
38
43
|
# end
|
39
44
|
#
|
40
45
|
# See {Errors} for more information.
|
@@ -42,6 +47,6 @@ require_relative 'aws-sdk-translate/customizations'
|
|
42
47
|
# @service
|
43
48
|
module Aws::Translate
|
44
49
|
|
45
|
-
GEM_VERSION = '1.
|
50
|
+
GEM_VERSION = '1.24.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(:translate)
|
31
34
|
|
32
35
|
module Aws::Translate
|
36
|
+
# An API client for Translate. To construct a client, you need to configure a `:region` and `:credentials`.
|
37
|
+
#
|
38
|
+
# client = Aws::Translate::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::Translate
|
|
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::Translate
|
|
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::Translate
|
|
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::Translate
|
|
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::Translate
|
|
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::Translate
|
|
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::Translate
|
|
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::Translate
|
|
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::Translate
|
|
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::Translate
|
|
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`.
|
@@ -470,6 +528,8 @@ module Aws::Translate
|
|
470
528
|
# * {Types::ListTerminologiesResponse#terminology_properties_list #terminology_properties_list} => Array<Types::TerminologyProperties>
|
471
529
|
# * {Types::ListTerminologiesResponse#next_token #next_token} => String
|
472
530
|
#
|
531
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
532
|
+
#
|
473
533
|
# @example Request syntax with placeholder values
|
474
534
|
#
|
475
535
|
# resp = client.list_terminologies({
|
@@ -522,6 +582,8 @@ module Aws::Translate
|
|
522
582
|
# * {Types::ListTextTranslationJobsResponse#text_translation_job_properties_list #text_translation_job_properties_list} => Array<Types::TextTranslationJobProperties>
|
523
583
|
# * {Types::ListTextTranslationJobsResponse#next_token #next_token} => String
|
524
584
|
#
|
585
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
586
|
+
#
|
525
587
|
# @example Request syntax with placeholder values
|
526
588
|
#
|
527
589
|
# resp = client.list_text_translation_jobs({
|
@@ -781,7 +843,7 @@ module Aws::Translate
|
|
781
843
|
params: params,
|
782
844
|
config: config)
|
783
845
|
context[:gem_name] = 'aws-sdk-translate'
|
784
|
-
context[:gem_version] = '1.
|
846
|
+
context[:gem_version] = '1.24.0'
|
785
847
|
Seahorse::Client::Request.new(handlers, context)
|
786
848
|
end
|
787
849
|
|
@@ -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,39 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Translate
|
11
|
+
|
12
|
+
# When Translate returns an error response, the Ruby SDK constructs and raises an error.
|
13
|
+
# These errors all extend Aws::Translate::Errors::ServiceError < {Aws::Errors::ServiceError}
|
14
|
+
#
|
15
|
+
# You can rescue all Translate errors using ServiceError:
|
16
|
+
#
|
17
|
+
# begin
|
18
|
+
# # do stuff
|
19
|
+
# rescue Aws::Translate::Errors::ServiceError
|
20
|
+
# # rescues all Translate 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
|
+
# * {DetectedLanguageLowConfidenceException}
|
31
|
+
# * {InternalServerException}
|
32
|
+
# * {InvalidFilterException}
|
33
|
+
# * {InvalidParameterValueException}
|
34
|
+
# * {InvalidRequestException}
|
35
|
+
# * {LimitExceededException}
|
36
|
+
# * {ResourceNotFoundException}
|
37
|
+
# * {ServiceUnavailableException}
|
38
|
+
# * {TextSizeLimitExceededException}
|
39
|
+
# * {TooManyRequestsException}
|
40
|
+
# * {UnsupportedLanguagePairException}
|
41
|
+
#
|
42
|
+
# Additionally, error classes are dynamically generated for service errors based on the error code
|
43
|
+
# if they are not defined above.
|
9
44
|
module Errors
|
10
45
|
|
11
46
|
extend Aws::Errors::DynamicErrors
|
@@ -28,7 +63,6 @@ module Aws::Translate
|
|
28
63
|
def detected_language_code
|
29
64
|
@data[:detected_language_code]
|
30
65
|
end
|
31
|
-
|
32
66
|
end
|
33
67
|
|
34
68
|
class InternalServerException < ServiceError
|
@@ -44,7 +78,6 @@ module Aws::Translate
|
|
44
78
|
def message
|
45
79
|
@message || @data[:message]
|
46
80
|
end
|
47
|
-
|
48
81
|
end
|
49
82
|
|
50
83
|
class InvalidFilterException < ServiceError
|
@@ -60,7 +93,6 @@ module Aws::Translate
|
|
60
93
|
def message
|
61
94
|
@message || @data[:message]
|
62
95
|
end
|
63
|
-
|
64
96
|
end
|
65
97
|
|
66
98
|
class InvalidParameterValueException < ServiceError
|
@@ -76,7 +108,6 @@ module Aws::Translate
|
|
76
108
|
def message
|
77
109
|
@message || @data[:message]
|
78
110
|
end
|
79
|
-
|
80
111
|
end
|
81
112
|
|
82
113
|
class InvalidRequestException < ServiceError
|
@@ -92,7 +123,6 @@ module Aws::Translate
|
|
92
123
|
def message
|
93
124
|
@message || @data[:message]
|
94
125
|
end
|
95
|
-
|
96
126
|
end
|
97
127
|
|
98
128
|
class LimitExceededException < ServiceError
|
@@ -108,7 +138,6 @@ module Aws::Translate
|
|
108
138
|
def message
|
109
139
|
@message || @data[:message]
|
110
140
|
end
|
111
|
-
|
112
141
|
end
|
113
142
|
|
114
143
|
class ResourceNotFoundException < ServiceError
|
@@ -124,7 +153,6 @@ module Aws::Translate
|
|
124
153
|
def message
|
125
154
|
@message || @data[:message]
|
126
155
|
end
|
127
|
-
|
128
156
|
end
|
129
157
|
|
130
158
|
class ServiceUnavailableException < ServiceError
|
@@ -140,7 +168,6 @@ module Aws::Translate
|
|
140
168
|
def message
|
141
169
|
@message || @data[:message]
|
142
170
|
end
|
143
|
-
|
144
171
|
end
|
145
172
|
|
146
173
|
class TextSizeLimitExceededException < ServiceError
|
@@ -156,7 +183,6 @@ module Aws::Translate
|
|
156
183
|
def message
|
157
184
|
@message || @data[:message]
|
158
185
|
end
|
159
|
-
|
160
186
|
end
|
161
187
|
|
162
188
|
class TooManyRequestsException < ServiceError
|
@@ -172,7 +198,6 @@ module Aws::Translate
|
|
172
198
|
def message
|
173
199
|
@message || @data[:message]
|
174
200
|
end
|
175
|
-
|
176
201
|
end
|
177
202
|
|
178
203
|
class UnsupportedLanguagePairException < ServiceError
|
@@ -198,7 +223,6 @@ module Aws::Translate
|
|
198
223
|
def target_language_code
|
199
224
|
@data[:target_language_code]
|
200
225
|
end
|
201
|
-
|
202
226
|
end
|
203
227
|
|
204
228
|
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:
|
@@ -6,6 +8,7 @@
|
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
8
10
|
module Aws::Translate
|
11
|
+
|
9
12
|
class Resource
|
10
13
|
|
11
14
|
# @param options ({})
|
@@ -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:
|
@@ -31,6 +33,7 @@ module Aws::Translate
|
|
31
33
|
class AppliedTerminology < Struct.new(
|
32
34
|
:name,
|
33
35
|
:terms)
|
36
|
+
SENSITIVE = []
|
34
37
|
include Aws::Structure
|
35
38
|
end
|
36
39
|
|
@@ -49,6 +52,7 @@ module Aws::Translate
|
|
49
52
|
#
|
50
53
|
class DeleteTerminologyRequest < Struct.new(
|
51
54
|
:name)
|
55
|
+
SENSITIVE = []
|
52
56
|
include Aws::Structure
|
53
57
|
end
|
54
58
|
|
@@ -69,6 +73,7 @@ module Aws::Translate
|
|
69
73
|
#
|
70
74
|
class DescribeTextTranslationJobRequest < Struct.new(
|
71
75
|
:job_id)
|
76
|
+
SENSITIVE = []
|
72
77
|
include Aws::Structure
|
73
78
|
end
|
74
79
|
|
@@ -81,6 +86,7 @@ module Aws::Translate
|
|
81
86
|
#
|
82
87
|
class DescribeTextTranslationJobResponse < Struct.new(
|
83
88
|
:text_translation_job_properties)
|
89
|
+
SENSITIVE = []
|
84
90
|
include Aws::Structure
|
85
91
|
end
|
86
92
|
|
@@ -108,6 +114,7 @@ module Aws::Translate
|
|
108
114
|
class DetectedLanguageLowConfidenceException < Struct.new(
|
109
115
|
:message,
|
110
116
|
:detected_language_code)
|
117
|
+
SENSITIVE = []
|
111
118
|
include Aws::Structure
|
112
119
|
end
|
113
120
|
|
@@ -137,6 +144,7 @@ module Aws::Translate
|
|
137
144
|
class EncryptionKey < Struct.new(
|
138
145
|
:type,
|
139
146
|
:id)
|
147
|
+
SENSITIVE = []
|
140
148
|
include Aws::Structure
|
141
149
|
end
|
142
150
|
|
@@ -162,6 +170,7 @@ module Aws::Translate
|
|
162
170
|
class GetTerminologyRequest < Struct.new(
|
163
171
|
:name,
|
164
172
|
:terminology_data_format)
|
173
|
+
SENSITIVE = []
|
165
174
|
include Aws::Structure
|
166
175
|
end
|
167
176
|
|
@@ -180,6 +189,7 @@ module Aws::Translate
|
|
180
189
|
class GetTerminologyResponse < Struct.new(
|
181
190
|
:terminology_properties,
|
182
191
|
:terminology_data_location)
|
192
|
+
SENSITIVE = []
|
183
193
|
include Aws::Structure
|
184
194
|
end
|
185
195
|
|
@@ -231,6 +241,7 @@ module Aws::Translate
|
|
231
241
|
:description,
|
232
242
|
:terminology_data,
|
233
243
|
:encryption_key)
|
244
|
+
SENSITIVE = []
|
234
245
|
include Aws::Structure
|
235
246
|
end
|
236
247
|
|
@@ -242,6 +253,7 @@ module Aws::Translate
|
|
242
253
|
#
|
243
254
|
class ImportTerminologyResponse < Struct.new(
|
244
255
|
:terminology_properties)
|
256
|
+
SENSITIVE = []
|
245
257
|
include Aws::Structure
|
246
258
|
end
|
247
259
|
|
@@ -273,6 +285,7 @@ module Aws::Translate
|
|
273
285
|
class InputDataConfig < Struct.new(
|
274
286
|
:s3_uri,
|
275
287
|
:content_type)
|
288
|
+
SENSITIVE = []
|
276
289
|
include Aws::Structure
|
277
290
|
end
|
278
291
|
|
@@ -285,6 +298,7 @@ module Aws::Translate
|
|
285
298
|
#
|
286
299
|
class InternalServerException < Struct.new(
|
287
300
|
:message)
|
301
|
+
SENSITIVE = []
|
288
302
|
include Aws::Structure
|
289
303
|
end
|
290
304
|
|
@@ -298,6 +312,7 @@ module Aws::Translate
|
|
298
312
|
#
|
299
313
|
class InvalidFilterException < Struct.new(
|
300
314
|
:message)
|
315
|
+
SENSITIVE = []
|
301
316
|
include Aws::Structure
|
302
317
|
end
|
303
318
|
|
@@ -311,6 +326,7 @@ module Aws::Translate
|
|
311
326
|
#
|
312
327
|
class InvalidParameterValueException < Struct.new(
|
313
328
|
:message)
|
329
|
+
SENSITIVE = []
|
314
330
|
include Aws::Structure
|
315
331
|
end
|
316
332
|
|
@@ -324,6 +340,7 @@ module Aws::Translate
|
|
324
340
|
#
|
325
341
|
class InvalidRequestException < Struct.new(
|
326
342
|
:message)
|
343
|
+
SENSITIVE = []
|
327
344
|
include Aws::Structure
|
328
345
|
end
|
329
346
|
|
@@ -350,6 +367,7 @@ module Aws::Translate
|
|
350
367
|
:translated_documents_count,
|
351
368
|
:documents_with_errors_count,
|
352
369
|
:input_documents_count)
|
370
|
+
SENSITIVE = []
|
353
371
|
include Aws::Structure
|
354
372
|
end
|
355
373
|
|
@@ -363,6 +381,7 @@ module Aws::Translate
|
|
363
381
|
#
|
364
382
|
class LimitExceededException < Struct.new(
|
365
383
|
:message)
|
384
|
+
SENSITIVE = []
|
366
385
|
include Aws::Structure
|
367
386
|
end
|
368
387
|
|
@@ -390,6 +409,7 @@ module Aws::Translate
|
|
390
409
|
class ListTerminologiesRequest < Struct.new(
|
391
410
|
:next_token,
|
392
411
|
:max_results)
|
412
|
+
SENSITIVE = []
|
393
413
|
include Aws::Structure
|
394
414
|
end
|
395
415
|
|
@@ -408,6 +428,7 @@ module Aws::Translate
|
|
408
428
|
class ListTerminologiesResponse < Struct.new(
|
409
429
|
:terminology_properties_list,
|
410
430
|
:next_token)
|
431
|
+
SENSITIVE = []
|
411
432
|
include Aws::Structure
|
412
433
|
end
|
413
434
|
|
@@ -446,6 +467,7 @@ module Aws::Translate
|
|
446
467
|
:filter,
|
447
468
|
:next_token,
|
448
469
|
:max_results)
|
470
|
+
SENSITIVE = []
|
449
471
|
include Aws::Structure
|
450
472
|
end
|
451
473
|
|
@@ -463,6 +485,7 @@ module Aws::Translate
|
|
463
485
|
class ListTextTranslationJobsResponse < Struct.new(
|
464
486
|
:text_translation_job_properties_list,
|
465
487
|
:next_token)
|
488
|
+
SENSITIVE = []
|
466
489
|
include Aws::Structure
|
467
490
|
end
|
468
491
|
|
@@ -485,6 +508,7 @@ module Aws::Translate
|
|
485
508
|
#
|
486
509
|
class OutputDataConfig < Struct.new(
|
487
510
|
:s3_uri)
|
511
|
+
SENSITIVE = []
|
488
512
|
include Aws::Structure
|
489
513
|
end
|
490
514
|
|
@@ -499,6 +523,7 @@ module Aws::Translate
|
|
499
523
|
#
|
500
524
|
class ResourceNotFoundException < Struct.new(
|
501
525
|
:message)
|
526
|
+
SENSITIVE = []
|
502
527
|
include Aws::Structure
|
503
528
|
end
|
504
529
|
|
@@ -512,6 +537,7 @@ module Aws::Translate
|
|
512
537
|
#
|
513
538
|
class ServiceUnavailableException < Struct.new(
|
514
539
|
:message)
|
540
|
+
SENSITIVE = []
|
515
541
|
include Aws::Structure
|
516
542
|
end
|
517
543
|
|
@@ -597,6 +623,7 @@ module Aws::Translate
|
|
597
623
|
:target_language_codes,
|
598
624
|
:terminology_names,
|
599
625
|
:client_token)
|
626
|
+
SENSITIVE = []
|
600
627
|
include Aws::Structure
|
601
628
|
end
|
602
629
|
|
@@ -633,6 +660,7 @@ module Aws::Translate
|
|
633
660
|
class StartTextTranslationJobResponse < Struct.new(
|
634
661
|
:job_id,
|
635
662
|
:job_status)
|
663
|
+
SENSITIVE = []
|
636
664
|
include Aws::Structure
|
637
665
|
end
|
638
666
|
|
@@ -651,6 +679,7 @@ module Aws::Translate
|
|
651
679
|
#
|
652
680
|
class StopTextTranslationJobRequest < Struct.new(
|
653
681
|
:job_id)
|
682
|
+
SENSITIVE = []
|
654
683
|
include Aws::Structure
|
655
684
|
end
|
656
685
|
|
@@ -668,6 +697,7 @@ module Aws::Translate
|
|
668
697
|
class StopTextTranslationJobResponse < Struct.new(
|
669
698
|
:job_id,
|
670
699
|
:job_status)
|
700
|
+
SENSITIVE = []
|
671
701
|
include Aws::Structure
|
672
702
|
end
|
673
703
|
|
@@ -688,6 +718,7 @@ module Aws::Translate
|
|
688
718
|
class Term < Struct.new(
|
689
719
|
:source_text,
|
690
720
|
:target_text)
|
721
|
+
SENSITIVE = []
|
691
722
|
include Aws::Structure
|
692
723
|
end
|
693
724
|
|
@@ -717,6 +748,7 @@ module Aws::Translate
|
|
717
748
|
class TerminologyData < Struct.new(
|
718
749
|
:file,
|
719
750
|
:format)
|
751
|
+
SENSITIVE = [:file]
|
720
752
|
include Aws::Structure
|
721
753
|
end
|
722
754
|
|
@@ -735,6 +767,7 @@ module Aws::Translate
|
|
735
767
|
class TerminologyDataLocation < Struct.new(
|
736
768
|
:repository_type,
|
737
769
|
:location)
|
770
|
+
SENSITIVE = []
|
738
771
|
include Aws::Structure
|
739
772
|
end
|
740
773
|
|
@@ -798,6 +831,7 @@ module Aws::Translate
|
|
798
831
|
:term_count,
|
799
832
|
:created_at,
|
800
833
|
:last_updated_at)
|
834
|
+
SENSITIVE = []
|
801
835
|
include Aws::Structure
|
802
836
|
end
|
803
837
|
|
@@ -812,6 +846,7 @@ module Aws::Translate
|
|
812
846
|
#
|
813
847
|
class TextSizeLimitExceededException < Struct.new(
|
814
848
|
:message)
|
849
|
+
SENSITIVE = []
|
815
850
|
include Aws::Structure
|
816
851
|
end
|
817
852
|
|
@@ -857,6 +892,7 @@ module Aws::Translate
|
|
857
892
|
:job_status,
|
858
893
|
:submitted_before_time,
|
859
894
|
:submitted_after_time)
|
895
|
+
SENSITIVE = []
|
860
896
|
include Aws::Structure
|
861
897
|
end
|
862
898
|
|
@@ -940,6 +976,7 @@ module Aws::Translate
|
|
940
976
|
:input_data_config,
|
941
977
|
:output_data_config,
|
942
978
|
:data_access_role_arn)
|
979
|
+
SENSITIVE = []
|
943
980
|
include Aws::Structure
|
944
981
|
end
|
945
982
|
|
@@ -953,6 +990,7 @@ module Aws::Translate
|
|
953
990
|
#
|
954
991
|
class TooManyRequestsException < Struct.new(
|
955
992
|
:message)
|
993
|
+
SENSITIVE = []
|
956
994
|
include Aws::Structure
|
957
995
|
end
|
958
996
|
|
@@ -1006,6 +1044,7 @@ module Aws::Translate
|
|
1006
1044
|
:terminology_names,
|
1007
1045
|
:source_language_code,
|
1008
1046
|
:target_language_code)
|
1047
|
+
SENSITIVE = []
|
1009
1048
|
include Aws::Structure
|
1010
1049
|
end
|
1011
1050
|
|
@@ -1033,6 +1072,7 @@ module Aws::Translate
|
|
1033
1072
|
:source_language_code,
|
1034
1073
|
:target_language_code,
|
1035
1074
|
:applied_terminologies)
|
1075
|
+
SENSITIVE = []
|
1036
1076
|
include Aws::Structure
|
1037
1077
|
end
|
1038
1078
|
|
@@ -1057,6 +1097,7 @@ module Aws::Translate
|
|
1057
1097
|
:message,
|
1058
1098
|
:source_language_code,
|
1059
1099
|
:target_language_code)
|
1100
|
+
SENSITIVE = []
|
1060
1101
|
include Aws::Structure
|
1061
1102
|
end
|
1062
1103
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-translate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.24.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: 2020-
|
11
|
+
date: 2020-06-23 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.99.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.99.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,7 +81,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
83
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
84
|
+
rubygems_version: 2.7.6.2
|
85
85
|
signing_key:
|
86
86
|
specification_version: 4
|
87
87
|
summary: AWS SDK for Ruby - Amazon Translate
|