Class: Aws::Translate::Plugins::TranslateDocumentEncoding Private
- Inherits:
-
Seahorse::Client::Plugin
- Object
- Seahorse::Client::Plugin
- Aws::Translate::Plugins::TranslateDocumentEncoding
- Defined in:
- lib/aws-sdk-translate/plugins/translate_document_encoding.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
The translated_documented returned by the translate_document api is modeled as a blob, since it may contain binary data (eg: word doc). However, when the input document is text (eg: text/plain or text/html) the encoding should be preserved.
Defined Under Namespace
Classes: Handler
Instance Method Summary collapse
Instance Method Details
#add_handlers(handlers, _config) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
26 27 28 |
# File 'lib/aws-sdk-translate/plugins/translate_document_encoding.rb', line 26 def add_handlers(handlers, _config) handlers.add(Handler, step: :initialize, operations: [:translate_document]) end |