aws-sdk-translate 1.46.0 → 1.47.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: 1f9fe94a729557cfbef30414d5036466140765718fc320f3e30b8de91d84da44
4
- data.tar.gz: a3e05811ad85d29b995f981dedaec228656e88b8d10b12977a0726813f1114ae
3
+ metadata.gz: 46085b6b84621ff8a4de01ab37dd0c176fe80b05552089f183de578ee4f839ad
4
+ data.tar.gz: 1222bc137a0885cb613d4d5b58ee0e5a83fd23569c3a36aa6d0ac805e6223b15
5
5
  SHA512:
6
- metadata.gz: 2718e2c6462ec8454fb050184488736de5b4269377c8c93fd05b4186f51c984dc66f222d35c1e16fff35ba5a37a478d7268b9cda47a2c518ed68d37f141e6e72
7
- data.tar.gz: e97b7052e461d0daef398065bc6362acbe5f1012b47ae54818a5c8bf873bb0efdeb2bc21a8c1df22f2c83cc95f7f45423e1d391583efd87bb38434b01c6fd8fc
6
+ metadata.gz: dd27a6cb9ce794e8694b1c2c0d20f6fe06b712c206b43405912b39a15c8b231aee87f5241c9438f1195b8d9f374d1ebf31321dfd922f970b6c799b4ae474c196
7
+ data.tar.gz: a1be0a727c69a8eb4d24b9e0f09de68f1b0ab2ea9450e3c6464d7f33b1a40c3fce0eacd238f29add7e0a2dbf548bec0793ee83af16fcb00ecd511d8b29d3dcf5
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2022-10-13)
5
+ ------------------
6
+
7
+ * Feature - This release enables customers to specify multiple target languages in asynchronous batch translation requests.
8
+
4
9
  1.46.0 (2022-09-29)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
@@ -389,6 +389,13 @@ module Aws::Translate
389
389
  # not need to pass this option.**
390
390
  #
391
391
  # @option params [Array<Types::Tag>] :tags
392
+ # Tags to be associated with this resource. A tag is a key-value pair
393
+ # that adds metadata to a resource. Each tag key for the resource must
394
+ # be unique. For more information, see [ Tagging your resources][1].
395
+ #
396
+ #
397
+ #
398
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/tagging.html
392
399
  #
393
400
  # @return [Types::CreateParallelDataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
394
401
  #
@@ -686,6 +693,13 @@ module Aws::Translate
686
693
  # The encryption key for the custom terminology being imported.
687
694
  #
688
695
  # @option params [Array<Types::Tag>] :tags
696
+ # Tags to be associated with this resource. A tag is a key-value pair
697
+ # that adds metadata to a resource. Each tag key for the resource must
698
+ # be unique. For more information, see [ Tagging your resources][1].
699
+ #
700
+ #
701
+ #
702
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/tagging.html
689
703
  #
690
704
  # @return [Types::ImportTerminologyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
691
705
  #
@@ -850,7 +864,16 @@ module Aws::Translate
850
864
  req.send_request(options)
851
865
  end
852
866
 
867
+ # Lists all tags associated with a given Amazon Translate resource. For
868
+ # more information, see [ Tagging your resources][1].
869
+ #
870
+ #
871
+ #
872
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/tagging.html
873
+ #
853
874
  # @option params [required, String] :resource_arn
875
+ # The Amazon Resource Name (ARN) of the given Amazon Translate resource
876
+ # you are querying.
854
877
  #
855
878
  # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
856
879
  #
@@ -1002,9 +1025,13 @@ module Aws::Translate
1002
1025
  req.send_request(options)
1003
1026
  end
1004
1027
 
1005
- # Starts an asynchronous batch translation job. Batch translation jobs
1006
- # can be used to translate large volumes of text across multiple
1007
- # documents at once. For more information, see async.
1028
+ # Starts an asynchronous batch translation job. Use batch translation
1029
+ # jobs to translate large volumes of text across multiple documents at
1030
+ # once. For batch translation, the input documents must share the same
1031
+ # source language. You can specify one or more target languages. Batch
1032
+ # translation translates each input document into each of the target
1033
+ # languages. For more information, see [Asynchronous batch
1034
+ # processing][1]
1008
1035
  #
1009
1036
  # Batch translation jobs can be described with the
1010
1037
  # DescribeTextTranslationJob operation, listed with the
@@ -1016,6 +1043,10 @@ module Aws::Translate
1016
1043
  #
1017
1044
  # </note>
1018
1045
  #
1046
+ #
1047
+ #
1048
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/async.html
1049
+ #
1019
1050
  # @option params [String] :job_name
1020
1051
  # The name of the batch translation job to be performed.
1021
1052
  #
@@ -1029,17 +1060,34 @@ module Aws::Translate
1029
1060
  # @option params [required, String] :data_access_role_arn
1030
1061
  # The Amazon Resource Name (ARN) of an AWS Identity Access and
1031
1062
  # Management (IAM) role that grants Amazon Translate read access to your
1032
- # input data. For more information, see identity-and-access-management.
1063
+ # input data. For more information, see [Identity and access management
1064
+ # ][1].
1065
+ #
1066
+ #
1067
+ #
1068
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/identity-and-access-management.html
1033
1069
  #
1034
1070
  # @option params [required, String] :source_language_code
1035
1071
  # The language code of the input language. For a list of language codes,
1036
- # see what-is-languages.
1072
+ # see [Supported languages][1].
1037
1073
  #
1038
1074
  # Amazon Translate does not automatically detect a source language
1039
1075
  # during batch translation jobs.
1040
1076
  #
1077
+ #
1078
+ #
1079
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html
1080
+ #
1041
1081
  # @option params [required, Array<String>] :target_language_codes
1042
- # The language code of the output language.
1082
+ # The target languages of the translation job. Enter up to 10 language
1083
+ # codes. Each input file is translated into each target language.
1084
+ #
1085
+ # Each language code is two or five characters long. For a list of
1086
+ # language codes, see [Supported languages][1].
1087
+ #
1088
+ #
1089
+ #
1090
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html
1043
1091
  #
1044
1092
  # @option params [Array<String>] :terminology_names
1045
1093
  # The name of a custom terminology resource to add to the translation
@@ -1048,16 +1096,28 @@ module Aws::Translate
1048
1096
  #
1049
1097
  # This parameter accepts only one custom terminology resource.
1050
1098
  #
1099
+ # If you specify multiple target languages for the job, translate uses
1100
+ # the designated terminology for each requested target language that has
1101
+ # an entry for the source term in the terminology file.
1102
+ #
1051
1103
  # For a list of available custom terminology resources, use the
1052
1104
  # ListTerminologies operation.
1053
1105
  #
1054
- # For more information, see how-custom-terminology.
1106
+ # For more information, see [Custom terminology][1].
1107
+ #
1108
+ #
1109
+ #
1110
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/how-custom-terminology.html
1055
1111
  #
1056
1112
  # @option params [Array<String>] :parallel_data_names
1057
1113
  # The name of a parallel data resource to add to the translation job.
1058
1114
  # This resource consists of examples that show how you want segments of
1059
- # text to be translated. When you add parallel data to a translation
1060
- # job, you create an *Active Custom Translation* job.
1115
+ # text to be translated. If you specify multiple target languages for
1116
+ # the job, the parallel data file must include translations for all the
1117
+ # target languages.
1118
+ #
1119
+ # When you add parallel data to a translation job, you create an *Active
1120
+ # Custom Translation* job.
1061
1121
  #
1062
1122
  # This parameter accepts only one parallel data resource.
1063
1123
  #
@@ -1070,11 +1130,13 @@ module Aws::Translate
1070
1130
  # For a list of available parallel data resources, use the
1071
1131
  # ListParallelData operation.
1072
1132
  #
1073
- # For more information, see customizing-translations-parallel-data.
1133
+ # For more information, see [ Customizing your translations with
1134
+ # parallel data][2].
1074
1135
  #
1075
1136
  #
1076
1137
  #
1077
1138
  # [1]: http://aws.amazon.com/translate/pricing/
1139
+ # [2]: https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-parallel-data.html
1078
1140
  #
1079
1141
  # @option params [required, String] :client_token
1080
1142
  # A unique identifier for the request. This token is generated for you
@@ -1085,8 +1147,8 @@ module Aws::Translate
1085
1147
  #
1086
1148
  # @option params [Types::TranslationSettings] :settings
1087
1149
  # Settings to configure your translation output, including the option to
1088
- # mask profane words and phrases. `StartTextTranslationJob` does not
1089
- # support the formality setting.
1150
+ # set the formality level of the output text and the option to mask
1151
+ # profane words and phrases.
1090
1152
  #
1091
1153
  # @return [Types::StartTextTranslationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1092
1154
  #
@@ -1174,9 +1236,22 @@ module Aws::Translate
1174
1236
  req.send_request(options)
1175
1237
  end
1176
1238
 
1239
+ # Associates a specific tag with a resource. A tag is a key-value pair
1240
+ # that adds as a metadata to a resource. For more information, see [
1241
+ # Tagging your resources][1].
1242
+ #
1243
+ #
1244
+ #
1245
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/tagging.html
1246
+ #
1177
1247
  # @option params [required, String] :resource_arn
1248
+ # The Amazon Resource Name (ARN) of the given Amazon Translate resource
1249
+ # to which you want to associate the tags.
1178
1250
  #
1179
1251
  # @option params [required, Array<Types::Tag>] :tags
1252
+ # Tags being associated with a specific Amazon Translate resource. There
1253
+ # can be a maximum of 50 tags (both existing and pending) associated
1254
+ # with a specific resource.
1180
1255
  #
1181
1256
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1182
1257
  #
@@ -1202,8 +1277,12 @@ module Aws::Translate
1202
1277
  end
1203
1278
 
1204
1279
  # Translates input text from the source language to the target language.
1205
- # For a list of available languages and language codes, see
1206
- # what-is-languages.
1280
+ # For a list of available languages and language codes, see [Supported
1281
+ # languages][1].
1282
+ #
1283
+ #
1284
+ #
1285
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html
1207
1286
  #
1208
1287
  # @option params [required, String] :text
1209
1288
  # The text to translate. The text string can be a maximum of 5,000 bytes
@@ -1218,11 +1297,11 @@ module Aws::Translate
1218
1297
  # @option params [required, String] :source_language_code
1219
1298
  # The language code for the language of the source text. The language
1220
1299
  # must be a language supported by Amazon Translate. For a list of
1221
- # language codes, see what-is-languages.
1300
+ # language codes, see [Supported languages][1].
1222
1301
  #
1223
1302
  # To have Amazon Translate determine the source language of your text,
1224
1303
  # you can specify `auto` in the `SourceLanguageCode` field. If you
1225
- # specify `auto`, Amazon Translate will call [Amazon Comprehend][1] to
1304
+ # specify `auto`, Amazon Translate will call [Amazon Comprehend][2] to
1226
1305
  # determine the source language.
1227
1306
  #
1228
1307
  # <note markdown="1"> If you specify `auto`, you must send the `TranslateText` request in a
@@ -1233,7 +1312,8 @@ module Aws::Translate
1233
1312
  #
1234
1313
  #
1235
1314
  #
1236
- # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/comprehend-general.html
1315
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html
1316
+ # [2]: https://docs.aws.amazon.com/comprehend/latest/dg/comprehend-general.html
1237
1317
  #
1238
1318
  # @option params [required, String] :target_language_code
1239
1319
  # The language code requested for the language of the target text. The
@@ -1287,9 +1367,21 @@ module Aws::Translate
1287
1367
  req.send_request(options)
1288
1368
  end
1289
1369
 
1370
+ # Removes a specific tag associated with an Amazon Translate resource.
1371
+ # For more information, see [ Tagging your resources][1].
1372
+ #
1373
+ #
1374
+ #
1375
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/tagging.html
1376
+ #
1290
1377
  # @option params [required, String] :resource_arn
1378
+ # The Amazon Resource Name (ARN) of the given Amazon Translate resource
1379
+ # from which you want to remove the tags.
1291
1380
  #
1292
1381
  # @option params [required, Array<String>] :tag_keys
1382
+ # The initial part of a key-value pair that forms a tag being removed
1383
+ # from a given resource. Keys must be unique and cannot be duplicated
1384
+ # for a particular resource.
1293
1385
  #
1294
1386
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
1295
1387
  #
@@ -1377,7 +1469,7 @@ module Aws::Translate
1377
1469
  params: params,
1378
1470
  config: config)
1379
1471
  context[:gem_name] = 'aws-sdk-translate'
1380
- context[:gem_version] = '1.46.0'
1472
+ context[:gem_version] = '1.47.0'
1381
1473
  Seahorse::Client::Request.new(handlers, context)
1382
1474
  end
1383
1475
 
@@ -115,6 +115,13 @@ module Aws::Translate
115
115
  # @return [String]
116
116
  #
117
117
  # @!attribute [rw] tags
118
+ # Tags to be associated with this resource. A tag is a key-value pair
119
+ # that adds metadata to a resource. Each tag key for the resource must
120
+ # be unique. For more information, see [ Tagging your resources][1].
121
+ #
122
+ #
123
+ #
124
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/tagging.html
118
125
  # @return [Array<Types::Tag>]
119
126
  #
120
127
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/CreateParallelDataRequest AWS API Documentation
@@ -486,6 +493,13 @@ module Aws::Translate
486
493
  # @return [Types::EncryptionKey]
487
494
  #
488
495
  # @!attribute [rw] tags
496
+ # Tags to be associated with this resource. A tag is a key-value pair
497
+ # that adds metadata to a resource. Each tag key for the resource must
498
+ # be unique. For more information, see [ Tagging your resources][1].
499
+ #
500
+ #
501
+ #
502
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/tagging.html
489
503
  # @return [Array<Types::Tag>]
490
504
  #
491
505
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ImportTerminologyRequest AWS API Documentation
@@ -819,6 +833,8 @@ module Aws::Translate
819
833
  # }
820
834
  #
821
835
  # @!attribute [rw] resource_arn
836
+ # The Amazon Resource Name (ARN) of the given Amazon Translate
837
+ # resource you are querying.
822
838
  # @return [String]
823
839
  #
824
840
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ListTagsForResourceRequest AWS API Documentation
@@ -830,6 +846,11 @@ module Aws::Translate
830
846
  end
831
847
 
832
848
  # @!attribute [rw] tags
849
+ # Tags associated with the Amazon Translate resource being queried. A
850
+ # tag is a key-value pair that adds as a metadata to a resource used
851
+ # by Amazon Translate. For example, a tag with "Sales" as the key
852
+ # might be added to a resource to indicate its use by the sales
853
+ # department.
833
854
  # @return [Array<Types::Tag>]
834
855
  #
835
856
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/ListTagsForResourceResponse AWS API Documentation
@@ -1221,20 +1242,36 @@ module Aws::Translate
1221
1242
  # @!attribute [rw] data_access_role_arn
1222
1243
  # The Amazon Resource Name (ARN) of an AWS Identity Access and
1223
1244
  # Management (IAM) role that grants Amazon Translate read access to
1224
- # your input data. For more information, see
1225
- # identity-and-access-management.
1245
+ # your input data. For more information, see [Identity and access
1246
+ # management ][1].
1247
+ #
1248
+ #
1249
+ #
1250
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/identity-and-access-management.html
1226
1251
  # @return [String]
1227
1252
  #
1228
1253
  # @!attribute [rw] source_language_code
1229
1254
  # The language code of the input language. For a list of language
1230
- # codes, see what-is-languages.
1255
+ # codes, see [Supported languages][1].
1231
1256
  #
1232
1257
  # Amazon Translate does not automatically detect a source language
1233
1258
  # during batch translation jobs.
1259
+ #
1260
+ #
1261
+ #
1262
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html
1234
1263
  # @return [String]
1235
1264
  #
1236
1265
  # @!attribute [rw] target_language_codes
1237
- # The language code of the output language.
1266
+ # The target languages of the translation job. Enter up to 10 language
1267
+ # codes. Each input file is translated into each target language.
1268
+ #
1269
+ # Each language code is two or five characters long. For a list of
1270
+ # language codes, see [Supported languages][1].
1271
+ #
1272
+ #
1273
+ #
1274
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html
1238
1275
  # @return [Array<String>]
1239
1276
  #
1240
1277
  # @!attribute [rw] terminology_names
@@ -1244,17 +1281,29 @@ module Aws::Translate
1244
1281
  #
1245
1282
  # This parameter accepts only one custom terminology resource.
1246
1283
  #
1284
+ # If you specify multiple target languages for the job, translate uses
1285
+ # the designated terminology for each requested target language that
1286
+ # has an entry for the source term in the terminology file.
1287
+ #
1247
1288
  # For a list of available custom terminology resources, use the
1248
1289
  # ListTerminologies operation.
1249
1290
  #
1250
- # For more information, see how-custom-terminology.
1291
+ # For more information, see [Custom terminology][1].
1292
+ #
1293
+ #
1294
+ #
1295
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/how-custom-terminology.html
1251
1296
  # @return [Array<String>]
1252
1297
  #
1253
1298
  # @!attribute [rw] parallel_data_names
1254
1299
  # The name of a parallel data resource to add to the translation job.
1255
1300
  # This resource consists of examples that show how you want segments
1256
- # of text to be translated. When you add parallel data to a
1257
- # translation job, you create an *Active Custom Translation* job.
1301
+ # of text to be translated. If you specify multiple target languages
1302
+ # for the job, the parallel data file must include translations for
1303
+ # all the target languages.
1304
+ #
1305
+ # When you add parallel data to a translation job, you create an
1306
+ # *Active Custom Translation* job.
1258
1307
  #
1259
1308
  # This parameter accepts only one parallel data resource.
1260
1309
  #
@@ -1267,11 +1316,13 @@ module Aws::Translate
1267
1316
  # For a list of available parallel data resources, use the
1268
1317
  # ListParallelData operation.
1269
1318
  #
1270
- # For more information, see customizing-translations-parallel-data.
1319
+ # For more information, see [ Customizing your translations with
1320
+ # parallel data][2].
1271
1321
  #
1272
1322
  #
1273
1323
  #
1274
1324
  # [1]: http://aws.amazon.com/translate/pricing/
1325
+ # [2]: https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-parallel-data.html
1275
1326
  # @return [Array<String>]
1276
1327
  #
1277
1328
  # @!attribute [rw] client_token
@@ -1284,8 +1335,8 @@ module Aws::Translate
1284
1335
  #
1285
1336
  # @!attribute [rw] settings
1286
1337
  # Settings to configure your translation output, including the option
1287
- # to mask profane words and phrases. `StartTextTranslationJob` does
1288
- # not support the formality setting.
1338
+ # to set the formality level of the output text and the option to mask
1339
+ # profane words and phrases.
1289
1340
  # @return [Types::TranslationSettings]
1290
1341
  #
1291
1342
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/StartTextTranslationJobRequest AWS API Documentation
@@ -1379,6 +1430,9 @@ module Aws::Translate
1379
1430
  include Aws::Structure
1380
1431
  end
1381
1432
 
1433
+ # A key-value pair that adds as a metadata to a resource used by Amazon
1434
+ # Translate.
1435
+ #
1382
1436
  # @note When making an API call, you may pass Tag
1383
1437
  # data as a hash:
1384
1438
  #
@@ -1388,9 +1442,13 @@ module Aws::Translate
1388
1442
  # }
1389
1443
  #
1390
1444
  # @!attribute [rw] key
1445
+ # The initial part of a key-value pair that forms a tag associated
1446
+ # with a given resource.
1391
1447
  # @return [String]
1392
1448
  #
1393
1449
  # @!attribute [rw] value
1450
+ # The second part of a key-value pair that forms a tag associated with
1451
+ # a given resource.
1394
1452
  # @return [String]
1395
1453
  #
1396
1454
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/Tag AWS API Documentation
@@ -1416,9 +1474,14 @@ module Aws::Translate
1416
1474
  # }
1417
1475
  #
1418
1476
  # @!attribute [rw] resource_arn
1477
+ # The Amazon Resource Name (ARN) of the given Amazon Translate
1478
+ # resource to which you want to associate the tags.
1419
1479
  # @return [String]
1420
1480
  #
1421
1481
  # @!attribute [rw] tags
1482
+ # Tags being associated with a specific Amazon Translate resource.
1483
+ # There can be a maximum of 50 tags (both existing and pending)
1484
+ # associated with a specific resource.
1422
1485
  # @return [Array<Types::Tag>]
1423
1486
  #
1424
1487
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/TagResourceRequest AWS API Documentation
@@ -1820,6 +1883,8 @@ module Aws::Translate
1820
1883
  include Aws::Structure
1821
1884
  end
1822
1885
 
1886
+ # You have added too many tags to this resource. The maximum is 50 tags.
1887
+ #
1823
1888
  # @!attribute [rw] message
1824
1889
  # @return [String]
1825
1890
  #
@@ -1865,11 +1930,11 @@ module Aws::Translate
1865
1930
  # @!attribute [rw] source_language_code
1866
1931
  # The language code for the language of the source text. The language
1867
1932
  # must be a language supported by Amazon Translate. For a list of
1868
- # language codes, see what-is-languages.
1933
+ # language codes, see [Supported languages][1].
1869
1934
  #
1870
1935
  # To have Amazon Translate determine the source language of your text,
1871
1936
  # you can specify `auto` in the `SourceLanguageCode` field. If you
1872
- # specify `auto`, Amazon Translate will call [Amazon Comprehend][1] to
1937
+ # specify `auto`, Amazon Translate will call [Amazon Comprehend][2] to
1873
1938
  # determine the source language.
1874
1939
  #
1875
1940
  # <note markdown="1"> If you specify `auto`, you must send the `TranslateText` request in
@@ -1880,7 +1945,8 @@ module Aws::Translate
1880
1945
  #
1881
1946
  #
1882
1947
  #
1883
- # [1]: https://docs.aws.amazon.com/comprehend/latest/dg/comprehend-general.html
1948
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html
1949
+ # [2]: https://docs.aws.amazon.com/comprehend/latest/dg/comprehend-general.html
1884
1950
  # @return [String]
1885
1951
  #
1886
1952
  # @!attribute [rw] target_language_code
@@ -1939,7 +2005,8 @@ module Aws::Translate
1939
2005
  include Aws::Structure
1940
2006
  end
1941
2007
 
1942
- # Settings that configure the translation output.
2008
+ # Optional settings that configure the translation output. Use these
2009
+ # settings for real time translations and asynchronous translation jobs.
1943
2010
  #
1944
2011
  # @note When making an API call, you may pass TranslationSettings
1945
2012
  # data as a hash:
@@ -1951,25 +2018,23 @@ module Aws::Translate
1951
2018
  #
1952
2019
  # @!attribute [rw] formality
1953
2020
  # You can optionally specify the desired level of formality for
1954
- # real-time translations to supported target languages. The formality
1955
- # setting controls the level of formal language usage (also known as
2021
+ # translations to supported target languages. The formality setting
2022
+ # controls the level of formal language usage (also known as
1956
2023
  # [register][1]) in the translation output. You can set the value to
1957
2024
  # informal or formal. If you don't specify a value for formality, or
1958
2025
  # if the target language doesn't support formality, the translation
1959
2026
  # will ignore the formality setting.
1960
2027
  #
1961
- # Note that asynchronous translation jobs don't support formality. If
1962
- # you provide a value for formality, the `StartTextTranslationJob` API
1963
- # throws an exception (InvalidRequestException).
2028
+ # If you specify multiple target languages for the job, translate
2029
+ # ignores the formality setting for any unsupported target language.
1964
2030
  #
1965
- # For target languages that support formality, see [Supported
1966
- # Languages and Language Codes in the Amazon Translate Developer
1967
- # Guide][2].
2031
+ # For a list of target languages that support formality, see [Setting
2032
+ # Formality][2] in the Amazon Translate Developer Guide.
1968
2033
  #
1969
2034
  #
1970
2035
  #
1971
2036
  # [1]: https://en.wikipedia.org/wiki/Register_(sociolinguistics)
1972
- # [2]: https://docs.aws.amazon.com/translate/latest/dg/what-is.html
2037
+ # [2]: https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-formality.html
1973
2038
  # @return [String]
1974
2039
  #
1975
2040
  # @!attribute [rw] profanity
@@ -1983,12 +2048,16 @@ module Aws::Translate
1983
2048
  #
1984
2049
  # Amazon Translate doesn't detect profanity in all of its supported
1985
2050
  # languages. For languages that support profanity detection, see
1986
- # [Supported Languages and Language Codes in the Amazon Translate
1987
- # Developer Guide][1].
2051
+ # [Masking profanity][1] in the Amazon Translate Developer Guide.
2052
+ #
2053
+ # If you specify multiple target languages for the job, all the target
2054
+ # languages must support profanity masking. If any of the target
2055
+ # languages don't support profanity masking, the translation job
2056
+ # won't mask profanity for any target language.
1988
2057
  #
1989
2058
  #
1990
2059
  #
1991
- # [1]: https://docs.aws.amazon.com/translate/latest/dg/what-is.html
2060
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-profanity.html
1992
2061
  # @return [String]
1993
2062
  #
1994
2063
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/TranslationSettings AWS API Documentation
@@ -2020,7 +2089,11 @@ module Aws::Translate
2020
2089
 
2021
2090
  # Amazon Translate does not support translation from the language of the
2022
2091
  # source text into the requested target language. For more information,
2023
- # see how-to-error-msg.
2092
+ # see [Error messages][1].
2093
+ #
2094
+ #
2095
+ #
2096
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/how-to-error-msg.html
2024
2097
  #
2025
2098
  # @!attribute [rw] message
2026
2099
  # @return [String]
@@ -2052,9 +2125,14 @@ module Aws::Translate
2052
2125
  # }
2053
2126
  #
2054
2127
  # @!attribute [rw] resource_arn
2128
+ # The Amazon Resource Name (ARN) of the given Amazon Translate
2129
+ # resource from which you want to remove the tags.
2055
2130
  # @return [String]
2056
2131
  #
2057
2132
  # @!attribute [rw] tag_keys
2133
+ # The initial part of a key-value pair that forms a tag being removed
2134
+ # from a given resource. Keys must be unique and cannot be duplicated
2135
+ # for a particular resource.
2058
2136
  # @return [Array<String>]
2059
2137
  #
2060
2138
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/UntagResourceRequest AWS API Documentation
@@ -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.46.0'
51
+ GEM_VERSION = '1.47.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.46.0
4
+ version: 1.47.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-09-29 00:00:00.000000000 Z
11
+ date: 2022-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core