« blib/lib/Paws/Translate/AppliedTerminology.pm
↑ Summary
blib/lib/Paws/Translate/CreateParallelDataResponse.pm »
| 1 | |||
| 2 | package Paws::Translate::CreateParallelData; | ||
| 3 | use Moose; | ||
| 4 | has ClientToken => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has Description => (is => 'ro', isa => 'Str'); | ||
| 6 | has EncryptionKey => (is => 'ro', isa => 'Paws::Translate::EncryptionKey'); | ||
| 7 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 8 | has ParallelDataConfig => (is => 'ro', isa => 'Paws::Translate::ParallelDataConfig', required => 1); | ||
| 9 | |||
| 10 | use MooseX::ClassAttribute; | ||
| 11 | |||
| 12 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateParallelData'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Translate::CreateParallelDataResponse'); | ||
| 14 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 15 | 1; | ||
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::Translate::CreateParallelData - Arguments for method CreateParallelData on L<Paws::Translate> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method CreateParallelData on the | ||
| 26 | L<Amazon Translate|Paws::Translate> service. Use the attributes of this class | ||
| 27 | as arguments to method CreateParallelData. | ||
| 28 | |||
| 29 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateParallelData. | ||
| 30 | |||
| 31 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $translate = Paws->service('Translate'); | ||
| 34 | my $CreateParallelDataResponse = $translate->CreateParallelData( | ||
| 35 | ClientToken => 'MyClientTokenString', | ||
| 36 | Name => 'MyResourceName', | ||
| 37 | ParallelDataConfig => { | ||
| 38 | Format => 'TSV', # values: TSV, CSV, TMX | ||
| 39 | S3Uri => 'MyS3Uri', # max: 1024 | ||
| 40 | |||
| 41 | }, | ||
| 42 | Description => 'MyDescription', # OPTIONAL | ||
| 43 | EncryptionKey => { | ||
| 44 | Id => 'MyEncryptionKeyID', # min: 1, max: 400 | ||
| 45 | Type => 'KMS', # values: KMS | ||
| 46 | |||
| 47 | }, # OPTIONAL | ||
| 48 | ); | ||
| 49 | |||
| 50 | # Results: | ||
| 51 | my $Name = $CreateParallelDataResponse->Name; | ||
| 52 | my $Status = $CreateParallelDataResponse->Status; | ||
| 53 | |||
| 54 | # Returns a L<Paws::Translate::CreateParallelDataResponse> object. | ||
| 55 | |||
| 56 | Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. | ||
| 57 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/translate/CreateParallelData> | ||
| 58 | |||
| 59 | =head1 ATTRIBUTES | ||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> ClientToken => Str | ||
| 63 | |||
| 64 | A unique identifier for the request. This token is automatically | ||
| 65 | generated when you use Amazon Translate through an AWS SDK. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 Description => Str | ||
| 70 | |||
| 71 | A custom description for the parallel data resource in Amazon | ||
| 72 | Translate. | ||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head2 EncryptionKey => L<Paws::Translate::EncryptionKey> | ||
| 77 | |||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | |||
| 82 | =head2 B<REQUIRED> Name => Str | ||
| 83 | |||
| 84 | A custom name for the parallel data resource in Amazon Translate. You | ||
| 85 | must assign a name that is unique in the account and region. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head2 B<REQUIRED> ParallelDataConfig => L<Paws::Translate::ParallelDataConfig> | ||
| 90 | |||
| 91 | Specifies the format and S3 location of the parallel data input file. | ||
| 92 | |||
| 93 | |||
| 94 | |||
| 95 | |||
| 96 | =head1 SEE ALSO | ||
| 97 | |||
| 98 | This class forms part of L<Paws>, documenting arguments for method CreateParallelData in L<Paws::Translate> | ||
| 99 | |||
| 100 | =head1 BUGS and CONTRIBUTIONS | ||
| 101 | |||
| 102 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 103 | |||
| 104 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 105 | |||
| 106 | =cut | ||
| 107 |