aws-sdk-translate 1.26.0 → 1.27.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/lib/aws-sdk-translate.rb +1 -1
- data/lib/aws-sdk-translate/client.rb +3 -9
- data/lib/aws-sdk-translate/client_api.rb +1 -0
- data/lib/aws-sdk-translate/types.rb +31 -12
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 56110a33fddba09e12399d561ba33f394203fcc7f8dda59695e6cae93da0cecd
|
|
4
|
+
data.tar.gz: 172c81eb06c763d12c6ece3ccd9612ba487f482d1db34a01b761539115483b21
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e86e825ebaf61bb45028c7081b82f7426cad625290e81bf136838b6743399f671d421ebb68626d0f9bf03ae9621f705d004d1e095666e76b311aa7772e38805
|
|
7
|
+
data.tar.gz: ebf579160fdd5064946367f8d205f48055b32f40d47700df47d7b9c13bf965c9723c21c2e6792203ea7820d7dbbb85cccc61145dbac241a7762293e8380ef6e1
|
data/lib/aws-sdk-translate.rb
CHANGED
|
@@ -688,14 +688,8 @@ module Aws::Translate
|
|
|
688
688
|
# list of available terminologies, use the ListTerminologies operation.
|
|
689
689
|
#
|
|
690
690
|
# @option params [required, String] :client_token
|
|
691
|
-
#
|
|
692
|
-
#
|
|
693
|
-
# the
|
|
694
|
-
# [DescribeInstances](docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html)
|
|
695
|
-
# EC2 operation to retreive an instance's client token. For more
|
|
696
|
-
# information, see [Client
|
|
697
|
-
# Tokens](docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html#client-tokens)
|
|
698
|
-
# in the EC2 User Guide.
|
|
691
|
+
# A unique identifier for the request. This token is auto-generated when
|
|
692
|
+
# using the Amazon Translate SDK.
|
|
699
693
|
#
|
|
700
694
|
# **A suitable default value is auto-generated.** You should normally
|
|
701
695
|
# not need to pass this option.**
|
|
@@ -858,7 +852,7 @@ module Aws::Translate
|
|
|
858
852
|
params: params,
|
|
859
853
|
config: config)
|
|
860
854
|
context[:gem_name] = 'aws-sdk-translate'
|
|
861
|
-
context[:gem_version] = '1.
|
|
855
|
+
context[:gem_version] = '1.27.0'
|
|
862
856
|
Seahorse::Client::Request.new(handlers, context)
|
|
863
857
|
end
|
|
864
858
|
|
|
@@ -302,6 +302,7 @@ module Aws::Translate
|
|
|
302
302
|
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
|
303
303
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
304
304
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
|
305
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
|
|
305
306
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
306
307
|
end)
|
|
307
308
|
|
|
@@ -275,9 +275,34 @@ module Aws::Translate
|
|
|
275
275
|
# @return [String]
|
|
276
276
|
#
|
|
277
277
|
# @!attribute [rw] content_type
|
|
278
|
-
#
|
|
279
|
-
#
|
|
280
|
-
#
|
|
278
|
+
# Describes the format of the data that you submit to Amazon Translate
|
|
279
|
+
# as input. You can specify one of the following multipurpose internet
|
|
280
|
+
# mail extension (MIME) types:
|
|
281
|
+
#
|
|
282
|
+
# * `text/html`\: The input data consists of one or more HTML files.
|
|
283
|
+
# Amazon Translate translates only the text that resides in the
|
|
284
|
+
# `html` element in each file.
|
|
285
|
+
#
|
|
286
|
+
# * `text/plain`\: The input data consists of one or more unformatted
|
|
287
|
+
# text files. Amazon Translate translates every character in this
|
|
288
|
+
# type of input.
|
|
289
|
+
#
|
|
290
|
+
# * `application/vnd.openxmlformats-officedocument.wordprocessingml.document`\:
|
|
291
|
+
# The input data consists of one or more Word documents (.docx).
|
|
292
|
+
#
|
|
293
|
+
# * `application/vnd.openxmlformats-officedocument.presentationml.presentation`\:
|
|
294
|
+
# The input data consists of one or more PowerPoint Presentation
|
|
295
|
+
# files (.pptx).
|
|
296
|
+
#
|
|
297
|
+
# * `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`\:
|
|
298
|
+
# The input data consists of one or more Excel Workbook files
|
|
299
|
+
# (.xlsx).
|
|
300
|
+
#
|
|
301
|
+
# If you structure your input data as HTML, ensure that you set this
|
|
302
|
+
# parameter to `text/html`. By doing so, you cut costs by limiting the
|
|
303
|
+
# translation to the contents of the `html` element in each file.
|
|
304
|
+
# Otherwise, if you set this parameter to `text/plain`, your costs
|
|
305
|
+
# will cover the translation of every character.
|
|
281
306
|
# @return [String]
|
|
282
307
|
#
|
|
283
308
|
# @see http://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01/InputDataConfig AWS API Documentation
|
|
@@ -599,14 +624,8 @@ module Aws::Translate
|
|
|
599
624
|
# @return [Array<String>]
|
|
600
625
|
#
|
|
601
626
|
# @!attribute [rw] client_token
|
|
602
|
-
#
|
|
603
|
-
#
|
|
604
|
-
# use the
|
|
605
|
-
# [DescribeInstances](docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html)
|
|
606
|
-
# EC2 operation to retreive an instance's client token. For more
|
|
607
|
-
# information, see [Client
|
|
608
|
-
# Tokens](docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html#client-tokens)
|
|
609
|
-
# in the EC2 User Guide.
|
|
627
|
+
# A unique identifier for the request. This token is auto-generated
|
|
628
|
+
# when using the Amazon Translate SDK.
|
|
610
629
|
#
|
|
611
630
|
# **A suitable default value is auto-generated.** You should normally
|
|
612
631
|
# not need to pass this option.
|
|
@@ -643,7 +662,7 @@ module Aws::Translate
|
|
|
643
662
|
# * `COMPLETED` - The job was successfully completed and the output is
|
|
644
663
|
# available.
|
|
645
664
|
#
|
|
646
|
-
# * `
|
|
665
|
+
# * `COMPLETED_WITH_ERROR` - The job was completed with errors. The
|
|
647
666
|
# errors can be analyzed in the job's output.
|
|
648
667
|
#
|
|
649
668
|
# * `FAILED` - The job did not complete. To get details, use the
|
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.27.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-09-
|
|
11
|
+
date: 2020-09-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|