aws-sdk-translate 1.88.0 → 1.90.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/CHANGELOG.md +10 -0
 - data/VERSION +1 -1
 - data/lib/aws-sdk-translate/client.rb +1 -1
 - data/lib/aws-sdk-translate/customizations.rb +0 -8
 - data/lib/aws-sdk-translate/endpoint_parameters.rb +4 -4
 - data/lib/aws-sdk-translate/plugins/translate_document_encoding.rb +3 -3
 - data/lib/aws-sdk-translate.rb +1 -1
 - metadata +3 -3
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 6d3b9074b1dbcd6e54c78798a901ee84d3da44e83d798e338a439ccdd246bbe0
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: f37aca004ae17b5fa80291d4ae304d89251ca8fefef7cab40cab194483f8319c
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 1271adb911e308b0c8f1e6b3a37fe3a2b4805868b315e6d6dc30ec0a91839e674075bfdb430f92c12a8a7739e37c195bc3013b859c0298d6d38ff0e3262af03e
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: a9d2fdf01c6ff0f2de9b38986f097deddf595c114eedd5aae99e0306e3086b166628aa24d733c5a890866e86c5884b50577a9c4033c8e7f2eebd2861ba4300a2
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,6 +1,16 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            Unreleased Changes
         
     | 
| 
       2 
2 
     | 
    
         
             
            ------------------
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
      
 4 
     | 
    
         
            +
            1.90.0 (2025-10-24)
         
     | 
| 
      
 5 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            * Feature - Update endpoint ruleset parameters casing
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            1.89.0 (2025-10-21)
         
     | 
| 
      
 10 
     | 
    
         
            +
            ------------------
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
       4 
14 
     | 
    
         
             
            1.88.0 (2025-08-26)
         
     | 
| 
       5 
15 
     | 
    
         
             
            ------------------
         
     | 
| 
       6 
16 
     | 
    
         | 
    
        data/VERSION
    CHANGED
    
    | 
         @@ -1 +1 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            1. 
     | 
| 
      
 1 
     | 
    
         
            +
            1.90.0
         
     | 
| 
         @@ -13,22 +13,22 @@ module Aws::Translate 
     | 
|
| 
       13 
13 
     | 
    
         
             
              # @!attribute region
         
     | 
| 
       14 
14 
     | 
    
         
             
              #   The AWS region used to dispatch the request.
         
     | 
| 
       15 
15 
     | 
    
         
             
              #
         
     | 
| 
       16 
     | 
    
         
            -
              #   @return [ 
     | 
| 
      
 16 
     | 
    
         
            +
              #   @return [string]
         
     | 
| 
       17 
17 
     | 
    
         
             
              #
         
     | 
| 
       18 
18 
     | 
    
         
             
              # @!attribute use_dual_stack
         
     | 
| 
       19 
19 
     | 
    
         
             
              #   When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.
         
     | 
| 
       20 
20 
     | 
    
         
             
              #
         
     | 
| 
       21 
     | 
    
         
            -
              #   @return [ 
     | 
| 
      
 21 
     | 
    
         
            +
              #   @return [boolean]
         
     | 
| 
       22 
22 
     | 
    
         
             
              #
         
     | 
| 
       23 
23 
     | 
    
         
             
              # @!attribute use_fips
         
     | 
| 
       24 
24 
     | 
    
         
             
              #   When true, send this request to the FIPS-compliant regional endpoint. If the configured endpoint does not have a FIPS compliant endpoint, dispatching the request will return an error.
         
     | 
| 
       25 
25 
     | 
    
         
             
              #
         
     | 
| 
       26 
     | 
    
         
            -
              #   @return [ 
     | 
| 
      
 26 
     | 
    
         
            +
              #   @return [boolean]
         
     | 
| 
       27 
27 
     | 
    
         
             
              #
         
     | 
| 
       28 
28 
     | 
    
         
             
              # @!attribute endpoint
         
     | 
| 
       29 
29 
     | 
    
         
             
              #   Override the endpoint used to send this request
         
     | 
| 
       30 
30 
     | 
    
         
             
              #
         
     | 
| 
       31 
     | 
    
         
            -
              #   @return [ 
     | 
| 
      
 31 
     | 
    
         
            +
              #   @return [string]
         
     | 
| 
       32 
32 
     | 
    
         
             
              #
         
     | 
| 
       33 
33 
     | 
    
         
             
              EndpointParameters = Struct.new(
         
     | 
| 
       34 
34 
     | 
    
         
             
                :region,
         
     | 
| 
         @@ -8,6 +8,7 @@ module Aws::Translate 
     | 
|
| 
       8 
8 
     | 
    
         
             
                # when the input document is text (eg: text/plain or text/html) the encoding
         
     | 
| 
       9 
9 
     | 
    
         
             
                # should be preserved.
         
     | 
| 
       10 
10 
     | 
    
         
             
                class TranslateDocumentEncoding < Seahorse::Client::Plugin
         
     | 
| 
      
 11 
     | 
    
         
            +
                  # @api private
         
     | 
| 
       11 
12 
     | 
    
         
             
                  class Handler < Seahorse::Client::Handler
         
     | 
| 
       12 
13 
     | 
    
         
             
                    def call(context)
         
     | 
| 
       13 
14 
     | 
    
         
             
                      # detect encoding
         
     | 
| 
         @@ -17,12 +18,11 @@ module Aws::Translate 
     | 
|
| 
       17 
18 
     | 
    
         
             
                          document[:content].encoding
         
     | 
| 
       18 
19 
     | 
    
         
             
                        end
         
     | 
| 
       19 
20 
     | 
    
         
             
                      resp = @handler.call(context)
         
     | 
| 
       20 
     | 
    
         
            -
                      if encoding
         
     | 
| 
       21 
     | 
    
         
            -
                        resp.translated_document.content = resp.translated_document.content.force_encoding(encoding)
         
     | 
| 
       22 
     | 
    
         
            -
                      end
         
     | 
| 
      
 21 
     | 
    
         
            +
                      resp.translated_document.content = resp.translated_document.content.force_encoding(encoding) if encoding
         
     | 
| 
       23 
22 
     | 
    
         
             
                      resp
         
     | 
| 
       24 
23 
     | 
    
         
             
                    end
         
     | 
| 
       25 
24 
     | 
    
         
             
                  end
         
     | 
| 
      
 25 
     | 
    
         
            +
             
     | 
| 
       26 
26 
     | 
    
         
             
                  def add_handlers(handlers, _config)
         
     | 
| 
       27 
27 
     | 
    
         
             
                    handlers.add(Handler, step: :initialize, operations: [:translate_document])
         
     | 
| 
       28 
28 
     | 
    
         
             
                  end
         
     | 
    
        data/lib/aws-sdk-translate.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       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.90.0
         
     | 
| 
       5 
5 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       6 
6 
     | 
    
         
             
            authors:
         
     | 
| 
       7 
7 
     | 
    
         
             
            - Amazon Web Services
         
     | 
| 
         @@ -18,7 +18,7 @@ dependencies: 
     | 
|
| 
       18 
18 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       19 
19 
     | 
    
         
             
                - - ">="
         
     | 
| 
       20 
20 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       21 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 21 
     | 
    
         
            +
                    version: 3.234.0
         
     | 
| 
       22 
22 
     | 
    
         
             
              type: :runtime
         
     | 
| 
       23 
23 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       24 
24 
     | 
    
         
             
              version_requirements: !ruby/object:Gem::Requirement
         
     | 
| 
         @@ -28,7 +28,7 @@ dependencies: 
     | 
|
| 
       28 
28 
     | 
    
         
             
                    version: '3'
         
     | 
| 
       29 
29 
     | 
    
         
             
                - - ">="
         
     | 
| 
       30 
30 
     | 
    
         
             
                  - !ruby/object:Gem::Version
         
     | 
| 
       31 
     | 
    
         
            -
                    version: 3. 
     | 
| 
      
 31 
     | 
    
         
            +
                    version: 3.234.0
         
     | 
| 
       32 
32 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       33 
33 
     | 
    
         
             
              name: aws-sigv4
         
     | 
| 
       34 
34 
     | 
    
         
             
              requirement: !ruby/object:Gem::Requirement
         
     |