NAME

Paws::Translate - Perl Interface to AWS Amazon Translate

SYNOPSIS

use Paws;

my $obj = Paws->service('Translate');
my $res = $obj->Method(
  Arg1 => $val1,
  Arg2 => [ 'V1', 'V2' ],
  # if Arg3 is an object, the HashRef will be used as arguments to the constructor
  # of the arguments type
  Arg3 => { Att1 => 'Val1' },
  # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
  # the constructor of the arguments type
  Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
);

DESCRIPTION

Provides translation between English and one of six languages, or between one of the six languages and English.

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/translate-2017-07-01

METHODS

TranslateText

SourceLanguageCode => Str
TargetLanguageCode => Str
Text => Str

Each argument is described in detail in: Paws::Translate::TranslateText

Returns: a Paws::Translate::TranslateTextResponse instance

Translates input text from the source language to the target language. You can translate between English (en) and one of the following languages, or between one of the following languages and English.

  • Arabic (ar)

  • Chinese (Simplified) (zh)

  • French (fr)

  • German (de)

  • Portuguese (pt)

  • Spanish (es)

To have Amazon Translate determine the source language of your text, you can specify auto in the SourceLanguageCode field. If you specify auto, Amazon Translate will call Amazon Comprehend to determine the source language.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues