aws-sdk-translate 1.21.0 → 1.26.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1afca7baeb0ecbacdbcb383c3662f2c20fd30fff01def50a61a9ec23182d76a8
|
4
|
+
data.tar.gz: 972c6fc4171cf7ba004dab06e6e59fbf3dbecd1577b06be6b55df52e5ed61e39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 329ac06d1b3a23129319f992ddd5c18b4bd6eb235266927a9074d8faa7e37f9e183ef6020d098ad7583c11fc2631256fba296e46b5b52f0d0604804dcf2b34dc
|
7
|
+
data.tar.gz: a57ca091bad7e8e0b1ed90522911dd2f9da9c337a8e19c52fa6debf25ae29539a038bc79de8df74696c9c14dc35dcdbd6637fa626c1b231c7ebd30890be450fc
|
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:
|
@@ -5,6 +7,7 @@
|
|
5
7
|
#
|
6
8
|
# WARNING ABOUT GENERATED CODE
|
7
9
|
|
10
|
+
|
8
11
|
require 'aws-sdk-core'
|
9
12
|
require 'aws-sigv4'
|
10
13
|
|
@@ -42,9 +45,9 @@ require_relative 'aws-sdk-translate/customizations'
|
|
42
45
|
#
|
43
46
|
# See {Errors} for more information.
|
44
47
|
#
|
45
|
-
#
|
48
|
+
# @!group service
|
46
49
|
module Aws::Translate
|
47
50
|
|
48
|
-
GEM_VERSION = '1.
|
51
|
+
GEM_VERSION = '1.26.0'
|
49
52
|
|
50
53
|
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,6 +26,7 @@ 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
|
|
@@ -69,6 +72,7 @@ module Aws::Translate
|
|
69
72
|
add_plugin(Aws::Plugins::ClientMetricsPlugin)
|
70
73
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
71
74
|
add_plugin(Aws::Plugins::TransferEncoding)
|
75
|
+
add_plugin(Aws::Plugins::HttpChecksum)
|
72
76
|
add_plugin(Aws::Plugins::SignatureV4)
|
73
77
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
74
78
|
|
@@ -81,13 +85,28 @@ module Aws::Translate
|
|
81
85
|
# * `Aws::Credentials` - Used for configuring static, non-refreshing
|
82
86
|
# credentials.
|
83
87
|
#
|
88
|
+
# * `Aws::SharedCredentials` - Used for loading static credentials from a
|
89
|
+
# shared file, such as `~/.aws/config`.
|
90
|
+
#
|
91
|
+
# * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
|
92
|
+
#
|
93
|
+
# * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
|
94
|
+
# assume a role after providing credentials via the web.
|
95
|
+
#
|
96
|
+
# * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
|
97
|
+
# access token generated from `aws login`.
|
98
|
+
#
|
99
|
+
# * `Aws::ProcessCredentials` - Used for loading credentials from a
|
100
|
+
# process that outputs to stdout.
|
101
|
+
#
|
84
102
|
# * `Aws::InstanceProfileCredentials` - Used for loading credentials
|
85
103
|
# from an EC2 IMDS on an EC2 instance.
|
86
104
|
#
|
87
|
-
# * `Aws::
|
88
|
-
#
|
105
|
+
# * `Aws::ECSCredentials` - Used for loading credentials from
|
106
|
+
# instances running in ECS.
|
89
107
|
#
|
90
|
-
# * `Aws::
|
108
|
+
# * `Aws::CognitoIdentityCredentials` - Used for loading credentials
|
109
|
+
# from the Cognito Identity service.
|
91
110
|
#
|
92
111
|
# When `:credentials` are not configured directly, the following
|
93
112
|
# locations will be searched for credentials:
|
@@ -97,10 +116,10 @@ module Aws::Translate
|
|
97
116
|
# * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
|
98
117
|
# * `~/.aws/credentials`
|
99
118
|
# * `~/.aws/config`
|
100
|
-
# * EC2 IMDS instance profile - When used by default, the timeouts
|
101
|
-
# very aggressive. Construct and pass an instance of
|
102
|
-
# `Aws::InstanceProfileCredentails`
|
103
|
-
# timeouts.
|
119
|
+
# * EC2/ECS IMDS instance profile - When used by default, the timeouts
|
120
|
+
# are very aggressive. Construct and pass an instance of
|
121
|
+
# `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
|
122
|
+
# enable retries and extended timeouts.
|
104
123
|
#
|
105
124
|
# @option options [required, String] :region
|
106
125
|
# The AWS region to connect to. The configured `:region` is
|
@@ -161,7 +180,7 @@ module Aws::Translate
|
|
161
180
|
# @option options [String] :endpoint
|
162
181
|
# The client endpoint is normally constructed from the `:region`
|
163
182
|
# option. You should only configure an `:endpoint` when connecting
|
164
|
-
# to test endpoints. This should be a valid HTTP(S) URI.
|
183
|
+
# to test or custom endpoints. This should be a valid HTTP(S) URI.
|
165
184
|
#
|
166
185
|
# @option options [Integer] :endpoint_cache_max_entries (1000)
|
167
186
|
# Used for the maximum size limit of the LRU cache storing endpoints data
|
@@ -176,7 +195,7 @@ module Aws::Translate
|
|
176
195
|
# requests fetching endpoints information. Defaults to 60 sec.
|
177
196
|
#
|
178
197
|
# @option options [Boolean] :endpoint_discovery (false)
|
179
|
-
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
198
|
+
# When set to `true`, endpoint discovery will be enabled for operations when available.
|
180
199
|
#
|
181
200
|
# @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
|
182
201
|
# The log formatter.
|
@@ -839,7 +858,7 @@ module Aws::Translate
|
|
839
858
|
params: params,
|
840
859
|
config: config)
|
841
860
|
context[:gem_name] = 'aws-sdk-translate'
|
842
|
-
context[:gem_version] = '1.
|
861
|
+
context[:gem_version] = '1.26.0'
|
843
862
|
Seahorse::Client::Request.new(handlers, context)
|
844
863
|
end
|
845
864
|
|
@@ -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.26.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-09-15 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
|