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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1afca7baeb0ecbacdbcb383c3662f2c20fd30fff01def50a61a9ec23182d76a8
4
- data.tar.gz: 972c6fc4171cf7ba004dab06e6e59fbf3dbecd1577b06be6b55df52e5ed61e39
3
+ metadata.gz: 56110a33fddba09e12399d561ba33f394203fcc7f8dda59695e6cae93da0cecd
4
+ data.tar.gz: 172c81eb06c763d12c6ece3ccd9612ba487f482d1db34a01b761539115483b21
5
5
  SHA512:
6
- metadata.gz: 329ac06d1b3a23129319f992ddd5c18b4bd6eb235266927a9074d8faa7e37f9e183ef6020d098ad7583c11fc2631256fba296e46b5b52f0d0604804dcf2b34dc
7
- data.tar.gz: a57ca091bad7e8e0b1ed90522911dd2f9da9c337a8e19c52fa6debf25ae29539a038bc79de8df74696c9c14dc35dcdbd6637fa626c1b231c7ebd30890be450fc
6
+ metadata.gz: 0e86e825ebaf61bb45028c7081b82f7426cad625290e81bf136838b6743399f671d421ebb68626d0f9bf03ae9621f705d004d1e095666e76b311aa7772e38805
7
+ data.tar.gz: ebf579160fdd5064946367f8d205f48055b32f40d47700df47d7b9c13bf965c9723c21c2e6792203ea7820d7dbbb85cccc61145dbac241a7762293e8380ef6e1
@@ -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.26.0'
51
+ GEM_VERSION = '1.27.0'
52
52
 
53
53
  end
@@ -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
- # The client token of the EC2 instance calling the request. This token
692
- # is auto-generated when using the Amazon Translate SDK. Otherwise, use
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.26.0'
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
- # The multipurpose internet mail extension (MIME) type of the input
279
- # files. Valid values are `text/plain` for plaintext files and
280
- # `text/html` for HTML files.
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
- # The client token of the EC2 instance calling the request. This token
603
- # is auto-generated when using the Amazon Translate SDK. Otherwise,
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
- # * `COMPLETED_WITH_ERRORS` - The job was completed with errors. The
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.26.0
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-15 00:00:00.000000000 Z
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