aws-sdk-translate 1.48.0 → 1.49.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: 66965a6028d1acf066a015908083a5420a4aebfed6c6c9c61da22eab787e9aeb
4
- data.tar.gz: b62d82c6020ac2e4d4e74c79c77cf95598dbb64da56d4b41886112e2194b8145
3
+ metadata.gz: 2d19f613d4d85f7e2256e54b9011c4f8adace45d5905046bab5042838022d969
4
+ data.tar.gz: da91c562246f595f258a64d84118f33091b1c50a0880e40b4956d9ce3217e9a2
5
5
  SHA512:
6
- metadata.gz: f9ab5c8fcad591da48453eb593ab434d45d733a18af01443ee773e7ab0d7b7eb96a16492e333dfb49e8f08e7a1f0677ab3b8fb8edd7699e971d6d116c36cd3f0
7
- data.tar.gz: 674f44573de60345eab4af35f91f47a64253a17ee04abe258f7a1d5b3d4e17c0d45d248953bed21259f8346d70854a3fefef8d65b175f07c3613ccb3446630d6
6
+ metadata.gz: 8bd447c1b8ac2c56a4cda9d00605fb535f6e1f189ba6706a336cf9abfde7994f2e407442d317bd3f9118be0fc185dcab7681c88ec69eda9dc02258eabf6846f8
7
+ data.tar.gz: cbaf5732f0243a4557ae468b30133bc8742225ea166ccb2161766b0e1d95b3e8c70ad21bb6a17eebfb89de8ed52aa17dc70b34f7c664cd6dde020d03244862a7
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.49.0 (2022-12-15)
5
+ ------------------
6
+
7
+ * Feature - Raised the input byte size limit of the Text field in the TranslateText API to 10000 bytes.
8
+
4
9
  1.48.0 (2022-10-25)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.48.0
1
+ 1.49.0
@@ -1044,22 +1044,17 @@ module Aws::Translate
1044
1044
 
1045
1045
  # Starts an asynchronous batch translation job. Use batch translation
1046
1046
  # jobs to translate large volumes of text across multiple documents at
1047
- # once. For batch translation, the input documents must share the same
1048
- # source language. You can specify one or more target languages. Batch
1049
- # translation translates each input document into each of the target
1050
- # languages. For more information, see [Asynchronous batch
1051
- # processing][1]
1047
+ # once. For batch translation, you can input documents with different
1048
+ # source languages (specify `auto` as the source language). You can
1049
+ # specify one or more target languages. Batch translation translates
1050
+ # each input document into each of the target languages. For more
1051
+ # information, see [Asynchronous batch processing][1].
1052
1052
  #
1053
1053
  # Batch translation jobs can be described with the
1054
1054
  # DescribeTextTranslationJob operation, listed with the
1055
1055
  # ListTextTranslationJobs operation, and stopped with the
1056
1056
  # StopTextTranslationJob operation.
1057
1057
  #
1058
- # <note markdown="1"> Amazon Translate does not support batch translation of multiple source
1059
- # languages at once.
1060
- #
1061
- # </note>
1062
- #
1063
1058
  #
1064
1059
  #
1065
1060
  # [1]: https://docs.aws.amazon.com/translate/latest/dg/async.html
@@ -1085,11 +1080,12 @@ module Aws::Translate
1085
1080
  # [1]: https://docs.aws.amazon.com/translate/latest/dg/identity-and-access-management.html
1086
1081
  #
1087
1082
  # @option params [required, String] :source_language_code
1088
- # The language code of the input language. For a list of language codes,
1089
- # see [Supported languages][1].
1090
- #
1091
- # Amazon Translate does not automatically detect a source language
1092
- # during batch translation jobs.
1083
+ # The language code of the input language. Specify the language if all
1084
+ # input documents share the same language. If you don't know the
1085
+ # language of the source files, or your input documents contains
1086
+ # different source languages, select `auto`. Amazon Translate auto
1087
+ # detects the source language for each input document. For a list of
1088
+ # supported language codes, see [Supported languages][1].
1093
1089
  #
1094
1090
  #
1095
1091
  #
@@ -1099,8 +1095,8 @@ module Aws::Translate
1099
1095
  # The target languages of the translation job. Enter up to 10 language
1100
1096
  # codes. Each input file is translated into each target language.
1101
1097
  #
1102
- # Each language code is two or five characters long. For a list of
1103
- # language codes, see [Supported languages][1].
1098
+ # Each language code is 2 or 5 characters long. For a list of language
1099
+ # codes, see [Supported languages][1].
1104
1100
  #
1105
1101
  #
1106
1102
  #
@@ -1302,9 +1298,9 @@ module Aws::Translate
1302
1298
  # [1]: https://docs.aws.amazon.com/translate/latest/dg/what-is-languages.html
1303
1299
  #
1304
1300
  # @option params [required, String] :text
1305
- # The text to translate. The text string can be a maximum of 5,000 bytes
1306
- # long. Depending on your character set, this may be fewer than 5,000
1307
- # characters.
1301
+ # The text to translate. The text string can be a maximum of 10,000
1302
+ # bytes long. Depending on your character set, this may be fewer than
1303
+ # 10,000 characters.
1308
1304
  #
1309
1305
  # @option params [Array<String>] :terminology_names
1310
1306
  # The name of the terminology list file to be used in the TranslateText
@@ -1486,7 +1482,7 @@ module Aws::Translate
1486
1482
  params: params,
1487
1483
  config: config)
1488
1484
  context[:gem_name] = 'aws-sdk-translate'
1489
- context[:gem_version] = '1.48.0'
1485
+ context[:gem_version] = '1.49.0'
1490
1486
  Seahorse::Client::Request.new(handlers, context)
1491
1487
  end
1492
1488
 
@@ -118,6 +118,7 @@ module Aws::Translate
118
118
  TooManyTagsException = Shapes::StructureShape.new(name: 'TooManyTagsException')
119
119
  TranslateTextRequest = Shapes::StructureShape.new(name: 'TranslateTextRequest')
120
120
  TranslateTextResponse = Shapes::StructureShape.new(name: 'TranslateTextResponse')
121
+ TranslatedTextString = Shapes::StringShape.new(name: 'TranslatedTextString')
121
122
  TranslationSettings = Shapes::StructureShape.new(name: 'TranslationSettings')
122
123
  UnboundedLengthString = Shapes::StringShape.new(name: 'UnboundedLengthString')
123
124
  UnsupportedDisplayLanguageCodeException = Shapes::StructureShape.new(name: 'UnsupportedDisplayLanguageCodeException')
@@ -433,7 +434,7 @@ module Aws::Translate
433
434
  TranslateTextRequest.add_member(:settings, Shapes::ShapeRef.new(shape: TranslationSettings, location_name: "Settings"))
434
435
  TranslateTextRequest.struct_class = Types::TranslateTextRequest
435
436
 
436
- TranslateTextResponse.add_member(:translated_text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TranslatedText"))
437
+ TranslateTextResponse.add_member(:translated_text, Shapes::ShapeRef.new(shape: TranslatedTextString, required: true, location_name: "TranslatedText"))
437
438
  TranslateTextResponse.add_member(:source_language_code, Shapes::ShapeRef.new(shape: LanguageCodeString, required: true, location_name: "SourceLanguageCode"))
438
439
  TranslateTextResponse.add_member(:target_language_code, Shapes::ShapeRef.new(shape: LanguageCodeString, required: true, location_name: "TargetLanguageCode"))
439
440
  TranslateTextResponse.add_member(:applied_terminologies, Shapes::ShapeRef.new(shape: AppliedTerminologyList, location_name: "AppliedTerminologies"))
@@ -50,6 +50,9 @@ module Aws::Translate
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
+ if self[:region].nil?
54
+ raise ArgumentError, "Missing required EndpointParameter: :region"
55
+ end
53
56
  self[:use_dual_stack] = options[:use_dual_stack]
54
57
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
55
58
  if self[:use_dual_stack].nil?
@@ -29,83 +29,81 @@ module Aws::Translate
29
29
  # @api private
30
30
  RULES = <<-JSON
31
31
  eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
32
- bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOmZhbHNlLCJkb2N1bWVu
33
- dGF0aW9uIjoiVGhlIEFXUyByZWdpb24gdXNlZCB0byBkaXNwYXRjaCB0aGUg
34
- cmVxdWVzdC4iLCJ0eXBlIjoiU3RyaW5nIn0sIlVzZUR1YWxTdGFjayI6eyJi
35
- dWlsdEluIjoiQVdTOjpVc2VEdWFsU3RhY2siLCJyZXF1aXJlZCI6dHJ1ZSwi
36
- ZGVmYXVsdCI6ZmFsc2UsImRvY3VtZW50YXRpb24iOiJXaGVuIHRydWUsIHVz
37
- ZSB0aGUgZHVhbC1zdGFjayBlbmRwb2ludC4gSWYgdGhlIGNvbmZpZ3VyZWQg
38
- ZW5kcG9pbnQgZG9lcyBub3Qgc3VwcG9ydCBkdWFsLXN0YWNrLCBkaXNwYXRj
39
- aGluZyB0aGUgcmVxdWVzdCBNQVkgcmV0dXJuIGFuIGVycm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wic3VwcG9ydHNEdWFsU3RhY2siXX1d
97
+ fV0sInR5cGUiOiJ0cmVlIiwicnVsZXMiOlt7ImNvbmRpdGlvbnMiOltdLCJl
98
+ bmRwb2ludCI6eyJ1cmwiOiJodHRwczovL3RyYW5zbGF0ZS57UmVnaW9ufS57
99
+ UGFydGl0aW9uUmVzdWx0I2R1YWxTdGFja0Ruc1N1ZmZpeH0iLCJwcm9wZXJ0
100
+ aWVzIjp7fSwiaGVhZGVycyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19LHsi
101
+ Y29uZGl0aW9ucyI6W10sImVycm9yIjoiRHVhbFN0YWNrIGlzIGVuYWJsZWQg
102
+ YnV0IHRoaXMgcGFydGl0aW9uIGRvZXMgbm90IHN1cHBvcnQgRHVhbFN0YWNr
103
+ IiwidHlwZSI6ImVycm9yIn1dfSx7ImNvbmRpdGlvbnMiOltdLCJlbmRwb2lu
104
+ dCI6eyJ1cmwiOiJodHRwczovL3RyYW5zbGF0ZS57UmVnaW9ufS57UGFydGl0
105
+ aW9uUmVzdWx0I2Ruc1N1ZmZpeH0iLCJwcm9wZXJ0aWVzIjp7fSwiaGVhZGVy
106
+ cyI6e319LCJ0eXBlIjoiZW5kcG9pbnQifV19XX0=
109
107
 
110
108
  JSON
111
109
  end
@@ -64,29 +64,6 @@ module Aws::Translate
64
64
  include Aws::Structure
65
65
  end
66
66
 
67
- # @note When making an API call, you may pass CreateParallelDataRequest
68
- # data as a hash:
69
- #
70
- # {
71
- # name: "ResourceName", # required
72
- # description: "Description",
73
- # parallel_data_config: { # required
74
- # s3_uri: "S3Uri", # required
75
- # format: "TSV", # required, accepts TSV, CSV, TMX
76
- # },
77
- # encryption_key: {
78
- # type: "KMS", # required, accepts KMS
79
- # id: "EncryptionKeyID", # required
80
- # },
81
- # client_token: "ClientTokenString", # required
82
- # tags: [
83
- # {
84
- # key: "TagKey", # required
85
- # value: "TagValue", # required
86
- # },
87
- # ],
88
- # }
89
- #
90
67
  # @!attribute [rw] name
91
68
  # A custom name for the parallel data resource in Amazon Translate.
92
69
  # You must assign a name that is unique in the account and region.
@@ -155,13 +132,6 @@ module Aws::Translate
155
132
  include Aws::Structure
156
133
  end
157
134
 
158
- # @note When making an API call, you may pass DeleteParallelDataRequest
159
- # data as a hash:
160
- #
161
- # {
162
- # name: "ResourceName", # required
163
- # }
164
- #
165
135
  # @!attribute [rw] name
166
136
  # The name of the parallel data resource that is being deleted.
167
137
  # @return [String]
@@ -191,13 +161,6 @@ module Aws::Translate
191
161
  include Aws::Structure
192
162
  end
193
163
 
194
- # @note When making an API call, you may pass DeleteTerminologyRequest
195
- # data as a hash:
196
- #
197
- # {
198
- # name: "ResourceName", # required
199
- # }
200
- #
201
164
  # @!attribute [rw] name
202
165
  # The name of the custom terminology being deleted.
203
166
  # @return [String]
@@ -210,13 +173,6 @@ module Aws::Translate
210
173
  include Aws::Structure
211
174
  end
212
175
 
213
- # @note When making an API call, you may pass DescribeTextTranslationJobRequest
214
- # data as a hash:
215
- #
216
- # {
217
- # job_id: "JobId", # required
218
- # }
219
- #
220
176
  # @!attribute [rw] job_id
221
177
  # The identifier that Amazon Translate generated for the job. The
222
178
  # StartTextTranslationJob operation returns this identifier in its
@@ -274,14 +230,6 @@ module Aws::Translate
274
230
 
275
231
  # The encryption key used to encrypt this object.
276
232
  #
277
- # @note When making an API call, you may pass EncryptionKey
278
- # data as a hash:
279
- #
280
- # {
281
- # type: "KMS", # required, accepts KMS
282
- # id: "EncryptionKeyID", # required
283
- # }
284
- #
285
233
  # @!attribute [rw] type
286
234
  # The type of encryption key used by Amazon Translate to encrypt this
287
235
  # object.
@@ -301,13 +249,6 @@ module Aws::Translate
301
249
  include Aws::Structure
302
250
  end
303
251
 
304
- # @note When making an API call, you may pass GetParallelDataRequest
305
- # data as a hash:
306
- #
307
- # {
308
- # name: "ResourceName", # required
309
- # }
310
- #
311
252
  # @!attribute [rw] name
312
253
  # The name of the parallel data resource that is being retrieved.
313
254
  # @return [String]
@@ -370,14 +311,6 @@ module Aws::Translate
370
311
  include Aws::Structure
371
312
  end
372
313
 
373
- # @note When making an API call, you may pass GetTerminologyRequest
374
- # data as a hash:
375
- #
376
- # {
377
- # name: "ResourceName", # required
378
- # terminology_data_format: "CSV", # accepts CSV, TMX, TSV
379
- # }
380
- #
381
314
  # @!attribute [rw] name
382
315
  # The name of the custom terminology being retrieved.
383
316
  # @return [String]
@@ -445,30 +378,6 @@ module Aws::Translate
445
378
  include Aws::Structure
446
379
  end
447
380
 
448
- # @note When making an API call, you may pass ImportTerminologyRequest
449
- # data as a hash:
450
- #
451
- # {
452
- # name: "ResourceName", # required
453
- # merge_strategy: "OVERWRITE", # required, accepts OVERWRITE
454
- # description: "Description",
455
- # terminology_data: { # required
456
- # file: "data", # required
457
- # format: "CSV", # required, accepts CSV, TMX, TSV
458
- # directionality: "UNI", # accepts UNI, MULTI
459
- # },
460
- # encryption_key: {
461
- # type: "KMS", # required, accepts KMS
462
- # id: "EncryptionKeyID", # required
463
- # },
464
- # tags: [
465
- # {
466
- # key: "TagKey", # required
467
- # value: "TagValue", # required
468
- # },
469
- # ],
470
- # }
471
- #
472
381
  # @!attribute [rw] name
473
382
  # The name of the custom terminology being imported.
474
383
  # @return [String]
@@ -539,27 +448,11 @@ module Aws::Translate
539
448
  # The input configuration properties for requesting a batch translation
540
449
  # job.
541
450
  #
542
- # @note When making an API call, you may pass InputDataConfig
543
- # data as a hash:
544
- #
545
- # {
546
- # s3_uri: "S3Uri", # required
547
- # content_type: "ContentType", # required
548
- # }
549
- #
550
451
  # @!attribute [rw] s3_uri
551
452
  # The URI of the AWS S3 folder that contains the input files. Amazon
552
- # Translate translates all the files in the folder. The folder must be
553
- # in the same Region as the API endpoint you are calling.
554
- #
555
- # <note markdown="1"> The URI can also point to a single input document, or it can provide
556
- # the prefix for a collection of input documents. For example. if you
557
- # use the URI `S3://bucketName/prefix` and the prefix is a single
558
- # file, Amazon Translate uses that files as input. If more than one
559
- # file begins with the prefix, Amazon Translate uses all of them as
560
- # input.
561
- #
562
- # </note>
453
+ # Translate translates all the files in the folder and all its
454
+ # sub-folders. The folder must be in the same Region as the API
455
+ # endpoint you are calling.
563
456
  # @return [String]
564
457
  #
565
458
  # @!attribute [rw] content_type
@@ -721,15 +614,6 @@ module Aws::Translate
721
614
  include Aws::Structure
722
615
  end
723
616
 
724
- # @note When making an API call, you may pass ListLanguagesRequest
725
- # data as a hash:
726
- #
727
- # {
728
- # display_language_code: "de", # accepts de, en, es, fr, it, ja, ko, pt, zh, zh-TW
729
- # next_token: "NextToken",
730
- # max_results: 1,
731
- # }
732
- #
733
617
  # @!attribute [rw] display_language_code
734
618
  # The language code for the language to use to display the language
735
619
  # names in the response. The language code is `en` by default.
@@ -778,14 +662,6 @@ module Aws::Translate
778
662
  include Aws::Structure
779
663
  end
780
664
 
781
- # @note When making an API call, you may pass ListParallelDataRequest
782
- # data as a hash:
783
- #
784
- # {
785
- # next_token: "NextToken",
786
- # max_results: 1,
787
- # }
788
- #
789
665
  # @!attribute [rw] next_token
790
666
  # A string that specifies the next page of results to return in a
791
667
  # paginated response.
@@ -825,13 +701,6 @@ module Aws::Translate
825
701
  include Aws::Structure
826
702
  end
827
703
 
828
- # @note When making an API call, you may pass ListTagsForResourceRequest
829
- # data as a hash:
830
- #
831
- # {
832
- # resource_arn: "ResourceArn", # required
833
- # }
834
- #
835
704
  # @!attribute [rw] resource_arn
836
705
  # The Amazon Resource Name (ARN) of the given Amazon Translate
837
706
  # resource you are querying.
@@ -861,14 +730,6 @@ module Aws::Translate
861
730
  include Aws::Structure
862
731
  end
863
732
 
864
- # @note When making an API call, you may pass ListTerminologiesRequest
865
- # data as a hash:
866
- #
867
- # {
868
- # next_token: "NextToken",
869
- # max_results: 1,
870
- # }
871
- #
872
733
  # @!attribute [rw] next_token
873
734
  # If the result of the request to ListTerminologies was truncated,
874
735
  # include the NextToken to fetch the next group of custom
@@ -908,20 +769,6 @@ module Aws::Translate
908
769
  include Aws::Structure
909
770
  end
910
771
 
911
- # @note When making an API call, you may pass ListTextTranslationJobsRequest
912
- # data as a hash:
913
- #
914
- # {
915
- # filter: {
916
- # job_name: "JobName",
917
- # job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
918
- # submitted_before_time: Time.now,
919
- # submitted_after_time: Time.now,
920
- # },
921
- # next_token: "NextToken",
922
- # max_results: 1,
923
- # }
924
- #
925
772
  # @!attribute [rw] filter
926
773
  # The parameters that specify which batch translation jobs to
927
774
  # retrieve. Filters include job name, job status, and submission time.
@@ -967,17 +814,6 @@ module Aws::Translate
967
814
 
968
815
  # The output configuration properties for a batch translation job.
969
816
  #
970
- # @note When making an API call, you may pass OutputDataConfig
971
- # data as a hash:
972
- #
973
- # {
974
- # s3_uri: "S3Uri", # required
975
- # encryption_key: {
976
- # type: "KMS", # required, accepts KMS
977
- # id: "EncryptionKeyID", # required
978
- # },
979
- # }
980
- #
981
817
  # @!attribute [rw] s3_uri
982
818
  # The URI of the S3 folder that contains a translation job's output
983
819
  # file. The folder must be in the same Region as the API endpoint that
@@ -999,14 +835,6 @@ module Aws::Translate
999
835
 
1000
836
  # Specifies the format and S3 location of the parallel data input file.
1001
837
  #
1002
- # @note When making an API call, you may pass ParallelDataConfig
1003
- # data as a hash:
1004
- #
1005
- # {
1006
- # s3_uri: "S3Uri", # required
1007
- # format: "TSV", # required, accepts TSV, CSV, TMX
1008
- # }
1009
- #
1010
838
  # @!attribute [rw] s3_uri
1011
839
  # The URI of the Amazon S3 folder that contains the parallel data
1012
840
  # input file. The folder must be in the same Region as the API
@@ -1198,34 +1026,6 @@ module Aws::Translate
1198
1026
  include Aws::Structure
1199
1027
  end
1200
1028
 
1201
- # @note When making an API call, you may pass StartTextTranslationJobRequest
1202
- # data as a hash:
1203
- #
1204
- # {
1205
- # job_name: "JobName",
1206
- # input_data_config: { # required
1207
- # s3_uri: "S3Uri", # required
1208
- # content_type: "ContentType", # required
1209
- # },
1210
- # output_data_config: { # required
1211
- # s3_uri: "S3Uri", # required
1212
- # encryption_key: {
1213
- # type: "KMS", # required, accepts KMS
1214
- # id: "EncryptionKeyID", # required
1215
- # },
1216
- # },
1217
- # data_access_role_arn: "IamRoleArn", # required
1218
- # source_language_code: "LanguageCodeString", # required
1219
- # target_language_codes: ["LanguageCodeString"], # required
1220
- # terminology_names: ["ResourceName"],
1221
- # parallel_data_names: ["ResourceName"],
1222
- # client_token: "ClientTokenString", # required
1223
- # settings: {
1224
- # formality: "FORMAL", # accepts FORMAL, INFORMAL
1225
- # profanity: "MASK", # accepts MASK
1226
- # },
1227
- # }
1228
- #
1229
1029
  # @!attribute [rw] job_name
1230
1030
  # The name of the batch translation job to be performed.
1231
1031
  # @return [String]
@@ -1251,11 +1051,12 @@ module Aws::Translate
1251
1051
  # @return [String]
1252
1052
  #
1253
1053
  # @!attribute [rw] source_language_code
1254
- # The language code of the input language. For a list of language
1255
- # codes, see [Supported languages][1].
1256
- #
1257
- # Amazon Translate does not automatically detect a source language
1258
- # during batch translation jobs.
1054
+ # The language code of the input language. Specify the language if all
1055
+ # input documents share the same language. If you don't know the
1056
+ # language of the source files, or your input documents contains
1057
+ # different source languages, select `auto`. Amazon Translate auto
1058
+ # detects the source language for each input document. For a list of
1059
+ # supported language codes, see [Supported languages][1].
1259
1060
  #
1260
1061
  #
1261
1062
  #
@@ -1266,8 +1067,8 @@ module Aws::Translate
1266
1067
  # The target languages of the translation job. Enter up to 10 language
1267
1068
  # codes. Each input file is translated into each target language.
1268
1069
  #
1269
- # Each language code is two or five characters long. For a list of
1270
- # language codes, see [Supported languages][1].
1070
+ # Each language code is 2 or 5 characters long. For a list of language
1071
+ # codes, see [Supported languages][1].
1271
1072
  #
1272
1073
  #
1273
1074
  #
@@ -1393,13 +1194,6 @@ module Aws::Translate
1393
1194
  include Aws::Structure
1394
1195
  end
1395
1196
 
1396
- # @note When making an API call, you may pass StopTextTranslationJobRequest
1397
- # data as a hash:
1398
- #
1399
- # {
1400
- # job_id: "JobId", # required
1401
- # }
1402
- #
1403
1197
  # @!attribute [rw] job_id
1404
1198
  # The job ID of the job to be stopped.
1405
1199
  # @return [String]
@@ -1433,14 +1227,6 @@ module Aws::Translate
1433
1227
  # A key-value pair that adds as a metadata to a resource used by Amazon
1434
1228
  # Translate.
1435
1229
  #
1436
- # @note When making an API call, you may pass Tag
1437
- # data as a hash:
1438
- #
1439
- # {
1440
- # key: "TagKey", # required
1441
- # value: "TagValue", # required
1442
- # }
1443
- #
1444
1230
  # @!attribute [rw] key
1445
1231
  # The initial part of a key-value pair that forms a tag associated
1446
1232
  # with a given resource.
@@ -1460,19 +1246,6 @@ module Aws::Translate
1460
1246
  include Aws::Structure
1461
1247
  end
1462
1248
 
1463
- # @note When making an API call, you may pass TagResourceRequest
1464
- # data as a hash:
1465
- #
1466
- # {
1467
- # resource_arn: "ResourceArn", # required
1468
- # tags: [ # required
1469
- # {
1470
- # key: "TagKey", # required
1471
- # value: "TagValue", # required
1472
- # },
1473
- # ],
1474
- # }
1475
- #
1476
1249
  # @!attribute [rw] resource_arn
1477
1250
  # The Amazon Resource Name (ARN) of the given Amazon Translate
1478
1251
  # resource to which you want to associate the tags.
@@ -1525,15 +1298,6 @@ module Aws::Translate
1525
1298
  #
1526
1299
  # [1]: https://docs.aws.amazon.com/translate/latest/dg/creating-custom-terminology.html
1527
1300
  #
1528
- # @note When making an API call, you may pass TerminologyData
1529
- # data as a hash:
1530
- #
1531
- # {
1532
- # file: "data", # required
1533
- # format: "CSV", # required, accepts CSV, TMX, TSV
1534
- # directionality: "UNI", # accepts UNI, MULTI
1535
- # }
1536
- #
1537
1301
  # @!attribute [rw] file
1538
1302
  # The file containing the custom terminology data. Your version of the
1539
1303
  # AWS SDK performs a Base64-encoding on this field before sending a
@@ -1731,16 +1495,6 @@ module Aws::Translate
1731
1495
  # Provides information for filtering a list of translation jobs. For
1732
1496
  # more information, see ListTextTranslationJobs.
1733
1497
  #
1734
- # @note When making an API call, you may pass TextTranslationJobFilter
1735
- # data as a hash:
1736
- #
1737
- # {
1738
- # job_name: "JobName",
1739
- # job_status: "SUBMITTED", # accepts SUBMITTED, IN_PROGRESS, COMPLETED, COMPLETED_WITH_ERROR, FAILED, STOP_REQUESTED, STOPPED
1740
- # submitted_before_time: Time.now,
1741
- # submitted_after_time: Time.now,
1742
- # }
1743
- #
1744
1498
  # @!attribute [rw] job_name
1745
1499
  # Filters the list of jobs by name.
1746
1500
  # @return [String]
@@ -1900,24 +1654,10 @@ module Aws::Translate
1900
1654
  include Aws::Structure
1901
1655
  end
1902
1656
 
1903
- # @note When making an API call, you may pass TranslateTextRequest
1904
- # data as a hash:
1905
- #
1906
- # {
1907
- # text: "BoundedLengthString", # required
1908
- # terminology_names: ["ResourceName"],
1909
- # source_language_code: "LanguageCodeString", # required
1910
- # target_language_code: "LanguageCodeString", # required
1911
- # settings: {
1912
- # formality: "FORMAL", # accepts FORMAL, INFORMAL
1913
- # profanity: "MASK", # accepts MASK
1914
- # },
1915
- # }
1916
- #
1917
1657
  # @!attribute [rw] text
1918
- # The text to translate. The text string can be a maximum of 5,000
1658
+ # The text to translate. The text string can be a maximum of 10,000
1919
1659
  # bytes long. Depending on your character set, this may be fewer than
1920
- # 5,000 characters.
1660
+ # 10,000 characters.
1921
1661
  # @return [String]
1922
1662
  #
1923
1663
  # @!attribute [rw] terminology_names
@@ -2008,14 +1748,6 @@ module Aws::Translate
2008
1748
  # Optional settings that configure the translation output. Use these
2009
1749
  # settings for real time translations and asynchronous translation jobs.
2010
1750
  #
2011
- # @note When making an API call, you may pass TranslationSettings
2012
- # data as a hash:
2013
- #
2014
- # {
2015
- # formality: "FORMAL", # accepts FORMAL, INFORMAL
2016
- # profanity: "MASK", # accepts MASK
2017
- # }
2018
- #
2019
1751
  # @!attribute [rw] formality
2020
1752
  # You can optionally specify the desired level of formality for
2021
1753
  # translations to supported target languages. The formality setting
@@ -2028,13 +1760,13 @@ module Aws::Translate
2028
1760
  # If you specify multiple target languages for the job, translate
2029
1761
  # ignores the formality setting for any unsupported target language.
2030
1762
  #
2031
- # For a list of target languages that support formality, see [Setting
2032
- # Formality][2] in the Amazon Translate Developer Guide.
1763
+ # For a list of target languages that support formality, see
1764
+ # [Supported languages][2] in the Amazon Translate Developer Guide.
2033
1765
  #
2034
1766
  #
2035
1767
  #
2036
1768
  # [1]: https://en.wikipedia.org/wiki/Register_(sociolinguistics)
2037
- # [2]: https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-formality.html
1769
+ # [2]: https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-formality.html#customizing-translations-formality-languages
2038
1770
  # @return [String]
2039
1771
  #
2040
1772
  # @!attribute [rw] profanity
@@ -2047,8 +1779,9 @@ module Aws::Translate
2047
1779
  # of words.
2048
1780
  #
2049
1781
  # Amazon Translate doesn't detect profanity in all of its supported
2050
- # languages. For languages that support profanity detection, see
2051
- # [Masking profanity][1] in the Amazon Translate Developer Guide.
1782
+ # languages. For languages that don't support profanity detection,
1783
+ # see [Unsupported languages][1] in the Amazon Translate Developer
1784
+ # Guide.
2052
1785
  #
2053
1786
  # If you specify multiple target languages for the job, all the target
2054
1787
  # languages must support profanity masking. If any of the target
@@ -2057,7 +1790,7 @@ module Aws::Translate
2057
1790
  #
2058
1791
  #
2059
1792
  #
2060
- # [1]: https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-profanity.html
1793
+ # [1]: https://docs.aws.amazon.com/translate/latest/dg/customizing-translations-profanity.html#customizing-translations-profanity-languages
2061
1794
  # @return [String]
2062
1795
  #
2063
1796
  # @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/TranslationSettings AWS API Documentation
@@ -2116,14 +1849,6 @@ module Aws::Translate
2116
1849
  include Aws::Structure
2117
1850
  end
2118
1851
 
2119
- # @note When making an API call, you may pass UntagResourceRequest
2120
- # data as a hash:
2121
- #
2122
- # {
2123
- # resource_arn: "ResourceArn", # required
2124
- # tag_keys: ["TagKey"], # required
2125
- # }
2126
- #
2127
1852
  # @!attribute [rw] resource_arn
2128
1853
  # The Amazon Resource Name (ARN) of the given Amazon Translate
2129
1854
  # resource from which you want to remove the tags.
@@ -2148,19 +1873,6 @@ module Aws::Translate
2148
1873
  #
2149
1874
  class UntagResourceResponse < Aws::EmptyStructure; end
2150
1875
 
2151
- # @note When making an API call, you may pass UpdateParallelDataRequest
2152
- # data as a hash:
2153
- #
2154
- # {
2155
- # name: "ResourceName", # required
2156
- # description: "Description",
2157
- # parallel_data_config: { # required
2158
- # s3_uri: "S3Uri", # required
2159
- # format: "TSV", # required, accepts TSV, CSV, TMX
2160
- # },
2161
- # client_token: "ClientTokenString", # required
2162
- # }
2163
- #
2164
1876
  # @!attribute [rw] name
2165
1877
  # The name of the parallel data resource being updated.
2166
1878
  # @return [String]
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-translate/customizations'
52
52
  # @!group service
53
53
  module Aws::Translate
54
54
 
55
- GEM_VERSION = '1.48.0'
55
+ GEM_VERSION = '1.49.0'
56
56
 
57
57
  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.48.0
4
+ version: 1.49.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-10-25 00:00:00.000000000 Z
11
+ date: 2022-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core