aws-sdk-translate 1.41.0 → 1.44.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 +4 -4
- data/CHANGELOG.md +15 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-translate/client.rb +10 -1
- data/lib/aws-sdk-translate/client_api.rb +2 -0
- data/lib/aws-sdk-translate/types.rb +7 -0
- data/lib/aws-sdk-translate.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f9cdc7a0d222d37e8ec06dbf670c7ec820f6c0bb46d1cd2be50f1cf912f76802
|
4
|
+
data.tar.gz: 6bd7df09084d29b58b264706d4b01370dde080632df9a21f1df4468ae213527d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 18d2c09df89ff166bf194b84fcb51de91757592ded2419e24de43a3776b2820aea41bb5e03d334af2dd68e4236541ef7091c040b474a9060699b08c2f697929b
|
7
|
+
data.tar.gz: 67ff46c300e730de503d2977336027da798d22a63cd926bafdb09a9ece7b4a954ffcc2d26462e2714b7f4ea9a0d00bd4ee60144202459cd36d2c3f1ba2d62df3
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,21 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.44.0 (2022-02-24)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.43.0 (2022-02-22)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - This release enables customers to use translation settings for formality customization in their synchronous translation output.
|
13
|
+
|
14
|
+
1.42.0 (2022-02-03)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
18
|
+
|
4
19
|
1.41.0 (2021-12-21)
|
5
20
|
------------------
|
6
21
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.44.0
|
@@ -27,7 +27,9 @@ require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
|
|
27
27
|
require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
|
28
28
|
require 'aws-sdk-core/plugins/transfer_encoding.rb'
|
29
29
|
require 'aws-sdk-core/plugins/http_checksum.rb'
|
30
|
+
require 'aws-sdk-core/plugins/checksum_algorithm.rb'
|
30
31
|
require 'aws-sdk-core/plugins/defaults_mode.rb'
|
32
|
+
require 'aws-sdk-core/plugins/recursion_detection.rb'
|
31
33
|
require 'aws-sdk-core/plugins/signature_v4.rb'
|
32
34
|
require 'aws-sdk-core/plugins/protocols/json_rpc.rb'
|
33
35
|
|
@@ -74,7 +76,9 @@ module Aws::Translate
|
|
74
76
|
add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
|
75
77
|
add_plugin(Aws::Plugins::TransferEncoding)
|
76
78
|
add_plugin(Aws::Plugins::HttpChecksum)
|
79
|
+
add_plugin(Aws::Plugins::ChecksumAlgorithm)
|
77
80
|
add_plugin(Aws::Plugins::DefaultsMode)
|
81
|
+
add_plugin(Aws::Plugins::RecursionDetection)
|
78
82
|
add_plugin(Aws::Plugins::SignatureV4)
|
79
83
|
add_plugin(Aws::Plugins::Protocols::JsonRpc)
|
80
84
|
|
@@ -514,6 +518,7 @@ module Aws::Translate
|
|
514
518
|
# resp.text_translation_job_properties.output_data_config.encryption_key.type #=> String, one of "KMS"
|
515
519
|
# resp.text_translation_job_properties.output_data_config.encryption_key.id #=> String
|
516
520
|
# resp.text_translation_job_properties.data_access_role_arn #=> String
|
521
|
+
# resp.text_translation_job_properties.settings.formality #=> String, one of "FORMAL", "INFORMAL"
|
517
522
|
# resp.text_translation_job_properties.settings.profanity #=> String, one of "MASK"
|
518
523
|
#
|
519
524
|
# @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/DescribeTextTranslationJob AWS API Documentation
|
@@ -895,6 +900,7 @@ module Aws::Translate
|
|
895
900
|
# resp.text_translation_job_properties_list[0].output_data_config.encryption_key.type #=> String, one of "KMS"
|
896
901
|
# resp.text_translation_job_properties_list[0].output_data_config.encryption_key.id #=> String
|
897
902
|
# resp.text_translation_job_properties_list[0].data_access_role_arn #=> String
|
903
|
+
# resp.text_translation_job_properties_list[0].settings.formality #=> String, one of "FORMAL", "INFORMAL"
|
898
904
|
# resp.text_translation_job_properties_list[0].settings.profanity #=> String, one of "MASK"
|
899
905
|
# resp.next_token #=> String
|
900
906
|
#
|
@@ -1019,6 +1025,7 @@ module Aws::Translate
|
|
1019
1025
|
# parallel_data_names: ["ResourceName"],
|
1020
1026
|
# client_token: "ClientTokenString", # required
|
1021
1027
|
# settings: {
|
1028
|
+
# formality: "FORMAL", # accepts FORMAL, INFORMAL
|
1022
1029
|
# profanity: "MASK", # accepts MASK
|
1023
1030
|
# },
|
1024
1031
|
# })
|
@@ -1129,6 +1136,7 @@ module Aws::Translate
|
|
1129
1136
|
# source_language_code: "LanguageCodeString", # required
|
1130
1137
|
# target_language_code: "LanguageCodeString", # required
|
1131
1138
|
# settings: {
|
1139
|
+
# formality: "FORMAL", # accepts FORMAL, INFORMAL
|
1132
1140
|
# profanity: "MASK", # accepts MASK
|
1133
1141
|
# },
|
1134
1142
|
# })
|
@@ -1143,6 +1151,7 @@ module Aws::Translate
|
|
1143
1151
|
# resp.applied_terminologies[0].terms #=> Array
|
1144
1152
|
# resp.applied_terminologies[0].terms[0].source_text #=> String
|
1145
1153
|
# resp.applied_terminologies[0].terms[0].target_text #=> String
|
1154
|
+
# resp.applied_settings.formality #=> String, one of "FORMAL", "INFORMAL"
|
1146
1155
|
# resp.applied_settings.profanity #=> String, one of "MASK"
|
1147
1156
|
#
|
1148
1157
|
# @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/TranslateText AWS API Documentation
|
@@ -1222,7 +1231,7 @@ module Aws::Translate
|
|
1222
1231
|
params: params,
|
1223
1232
|
config: config)
|
1224
1233
|
context[:gem_name] = 'aws-sdk-translate'
|
1225
|
-
context[:gem_version] = '1.
|
1234
|
+
context[:gem_version] = '1.44.0'
|
1226
1235
|
Seahorse::Client::Request.new(handlers, context)
|
1227
1236
|
end
|
1228
1237
|
|
@@ -33,6 +33,7 @@ module Aws::Translate
|
|
33
33
|
EncryptionKey = Shapes::StructureShape.new(name: 'EncryptionKey')
|
34
34
|
EncryptionKeyID = Shapes::StringShape.new(name: 'EncryptionKeyID')
|
35
35
|
EncryptionKeyType = Shapes::StringShape.new(name: 'EncryptionKeyType')
|
36
|
+
Formality = Shapes::StringShape.new(name: 'Formality')
|
36
37
|
GetParallelDataRequest = Shapes::StructureShape.new(name: 'GetParallelDataRequest')
|
37
38
|
GetParallelDataResponse = Shapes::StructureShape.new(name: 'GetParallelDataResponse')
|
38
39
|
GetTerminologyRequest = Shapes::StructureShape.new(name: 'GetTerminologyRequest')
|
@@ -377,6 +378,7 @@ module Aws::Translate
|
|
377
378
|
TranslateTextResponse.add_member(:applied_settings, Shapes::ShapeRef.new(shape: TranslationSettings, location_name: "AppliedSettings"))
|
378
379
|
TranslateTextResponse.struct_class = Types::TranslateTextResponse
|
379
380
|
|
381
|
+
TranslationSettings.add_member(:formality, Shapes::ShapeRef.new(shape: Formality, location_name: "Formality"))
|
380
382
|
TranslationSettings.add_member(:profanity, Shapes::ShapeRef.new(shape: Profanity, location_name: "Profanity"))
|
381
383
|
TranslationSettings.struct_class = Types::TranslationSettings
|
382
384
|
|
@@ -1066,6 +1066,7 @@ module Aws::Translate
|
|
1066
1066
|
# parallel_data_names: ["ResourceName"],
|
1067
1067
|
# client_token: "ClientTokenString", # required
|
1068
1068
|
# settings: {
|
1069
|
+
# formality: "FORMAL", # accepts FORMAL, INFORMAL
|
1069
1070
|
# profanity: "MASK", # accepts MASK
|
1070
1071
|
# },
|
1071
1072
|
# }
|
@@ -1633,6 +1634,7 @@ module Aws::Translate
|
|
1633
1634
|
# source_language_code: "LanguageCodeString", # required
|
1634
1635
|
# target_language_code: "LanguageCodeString", # required
|
1635
1636
|
# settings: {
|
1637
|
+
# formality: "FORMAL", # accepts FORMAL, INFORMAL
|
1636
1638
|
# profanity: "MASK", # accepts MASK
|
1637
1639
|
# },
|
1638
1640
|
# }
|
@@ -1726,9 +1728,13 @@ module Aws::Translate
|
|
1726
1728
|
# data as a hash:
|
1727
1729
|
#
|
1728
1730
|
# {
|
1731
|
+
# formality: "FORMAL", # accepts FORMAL, INFORMAL
|
1729
1732
|
# profanity: "MASK", # accepts MASK
|
1730
1733
|
# }
|
1731
1734
|
#
|
1735
|
+
# @!attribute [rw] formality
|
1736
|
+
# @return [String]
|
1737
|
+
#
|
1732
1738
|
# @!attribute [rw] profanity
|
1733
1739
|
# Enable the profanity setting if you want Amazon Translate to mask
|
1734
1740
|
# profane words and phrases in your translation output.
|
@@ -1751,6 +1757,7 @@ module Aws::Translate
|
|
1751
1757
|
# @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/TranslationSettings AWS API Documentation
|
1752
1758
|
#
|
1753
1759
|
class TranslationSettings < Struct.new(
|
1760
|
+
:formality,
|
1754
1761
|
:profanity)
|
1755
1762
|
SENSITIVE = []
|
1756
1763
|
include Aws::Structure
|
data/lib/aws-sdk-translate.rb
CHANGED
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.44.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:
|
11
|
+
date: 2022-02-24 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.127.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.127.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|