aws-sdk-translate 1.42.0 → 1.43.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: dbccaa5325a7a60643eccd5b4eabf0891c06df99218dcc7191e3fbe97187d676
4
- data.tar.gz: 6dc19563254ffc0d8a21aa57b7e60cd8281e94b8e017c7f6a17eabd8f73c3dfc
3
+ metadata.gz: a50f6e1705088e1a59181487d89e8aff9e18bfeb0438e6132b736cfcfdc065b5
4
+ data.tar.gz: 6259e72fc11021491bdde8c2da60ebc2d223827d12a790ff23ffd2b51325d64f
5
5
  SHA512:
6
- metadata.gz: b88054715b10c07e9cc7fa8f4eecc056ca64310b8eee914f00c8b135f2a2f5fe97742cf18466ff09da7bd5e87d9213a420e202f4a89c845b60ff4233ed0fbf60
7
- data.tar.gz: a8ac4364655e9945b2a62484442050959fd6728dc2766ecb3f6da751573b9e00d0122c274fc79de1985a68557df96271b37725f2cf33f22cd7c84435d18804dd
6
+ metadata.gz: af57930dd02b8cf4f0931c9223ea09219b07cbd4239e3f928d54bb9152f8ed0f8cfc746709ef79d067b927693f6c7576d8cafd8aadd032c24a7f3d21b60b0a9b
7
+ data.tar.gz: 12a8de995c8b2c0cfbff11dc728536266fe1b98642c66727b86fdc2b213748cfae28f6840a947a213d8c64c6b650776b4febf03acfabd301154b4be7de992635
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.43.0 (2022-02-22)
5
+ ------------------
6
+
7
+ * Feature - This release enables customers to use translation settings for formality customization in their synchronous translation output.
8
+
4
9
  1.42.0 (2022-02-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.42.0
1
+ 1.43.0
@@ -516,6 +516,7 @@ module Aws::Translate
516
516
  # resp.text_translation_job_properties.output_data_config.encryption_key.type #=> String, one of "KMS"
517
517
  # resp.text_translation_job_properties.output_data_config.encryption_key.id #=> String
518
518
  # resp.text_translation_job_properties.data_access_role_arn #=> String
519
+ # resp.text_translation_job_properties.settings.formality #=> String, one of "FORMAL", "INFORMAL"
519
520
  # resp.text_translation_job_properties.settings.profanity #=> String, one of "MASK"
520
521
  #
521
522
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/DescribeTextTranslationJob AWS API Documentation
@@ -897,6 +898,7 @@ module Aws::Translate
897
898
  # resp.text_translation_job_properties_list[0].output_data_config.encryption_key.type #=> String, one of "KMS"
898
899
  # resp.text_translation_job_properties_list[0].output_data_config.encryption_key.id #=> String
899
900
  # resp.text_translation_job_properties_list[0].data_access_role_arn #=> String
901
+ # resp.text_translation_job_properties_list[0].settings.formality #=> String, one of "FORMAL", "INFORMAL"
900
902
  # resp.text_translation_job_properties_list[0].settings.profanity #=> String, one of "MASK"
901
903
  # resp.next_token #=> String
902
904
  #
@@ -1021,6 +1023,7 @@ module Aws::Translate
1021
1023
  # parallel_data_names: ["ResourceName"],
1022
1024
  # client_token: "ClientTokenString", # required
1023
1025
  # settings: {
1026
+ # formality: "FORMAL", # accepts FORMAL, INFORMAL
1024
1027
  # profanity: "MASK", # accepts MASK
1025
1028
  # },
1026
1029
  # })
@@ -1131,6 +1134,7 @@ module Aws::Translate
1131
1134
  # source_language_code: "LanguageCodeString", # required
1132
1135
  # target_language_code: "LanguageCodeString", # required
1133
1136
  # settings: {
1137
+ # formality: "FORMAL", # accepts FORMAL, INFORMAL
1134
1138
  # profanity: "MASK", # accepts MASK
1135
1139
  # },
1136
1140
  # })
@@ -1145,6 +1149,7 @@ module Aws::Translate
1145
1149
  # resp.applied_terminologies[0].terms #=> Array
1146
1150
  # resp.applied_terminologies[0].terms[0].source_text #=> String
1147
1151
  # resp.applied_terminologies[0].terms[0].target_text #=> String
1152
+ # resp.applied_settings.formality #=> String, one of "FORMAL", "INFORMAL"
1148
1153
  # resp.applied_settings.profanity #=> String, one of "MASK"
1149
1154
  #
1150
1155
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/TranslateText AWS API Documentation
@@ -1224,7 +1229,7 @@ module Aws::Translate
1224
1229
  params: params,
1225
1230
  config: config)
1226
1231
  context[:gem_name] = 'aws-sdk-translate'
1227
- context[:gem_version] = '1.42.0'
1232
+ context[:gem_version] = '1.43.0'
1228
1233
  Seahorse::Client::Request.new(handlers, context)
1229
1234
  end
1230
1235
 
@@ -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
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-translate/customizations'
48
48
  # @!group service
49
49
  module Aws::Translate
50
50
 
51
- GEM_VERSION = '1.42.0'
51
+ GEM_VERSION = '1.43.0'
52
52
 
53
53
  end
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.42.0
4
+ version: 1.43.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: 2022-02-03 00:00:00.000000000 Z
11
+ date: 2022-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core