blib/lib/Paws/Translate/UpdateParallelData.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Translate::UpdateParallelData;
3 use Moose;
4 has ClientToken => (is => 'ro', isa => 'Str', required => 1);
5 has Description => (is => 'ro', isa => 'Str');
6 has Name => (is => 'ro', isa => 'Str', required => 1);
7 has ParallelDataConfig => (is => 'ro', isa => 'Paws::Translate::ParallelDataConfig', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateParallelData');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Translate::UpdateParallelDataResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Translate::UpdateParallelData - Arguments for method UpdateParallelData on L<Paws::Translate>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method UpdateParallelData on the
25 L<Amazon Translate|Paws::Translate> service. Use the attributes of this class
26 as arguments to method UpdateParallelData.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateParallelData.
29  
30 =head1 SYNOPSIS
31  
32 my $translate = Paws->service('Translate');
33 my $UpdateParallelDataResponse = $translate->UpdateParallelData(
34 ClientToken => 'MyClientTokenString',
35 Name => 'MyResourceName',
36 ParallelDataConfig => {
37 Format => 'TSV', # values: TSV, CSV, TMX
38 S3Uri => 'MyS3Uri', # max: 1024
39  
40 },
41 Description => 'MyDescription', # OPTIONAL
42 );
43  
44 # Results:
45 my $LatestUpdateAttemptAt =
46 $UpdateParallelDataResponse->LatestUpdateAttemptAt;
47 my $LatestUpdateAttemptStatus =
48 $UpdateParallelDataResponse->LatestUpdateAttemptStatus;
49 my $Name = $UpdateParallelDataResponse->Name;
50 my $Status = $UpdateParallelDataResponse->Status;
51  
52 # Returns a L<Paws::Translate::UpdateParallelDataResponse> object.
53  
54 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.
55 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/translate/UpdateParallelData>
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 B<REQUIRED> ClientToken => Str
61  
62 A unique identifier for the request. This token is automatically
63 generated when you use Amazon Translate through an AWS SDK.
64  
65  
66  
67 =head2 Description => Str
68  
69 A custom description for the parallel data resource in Amazon
70 Translate.
71  
72  
73  
74 =head2 B<REQUIRED> Name => Str
75  
76 The name of the parallel data resource being updated.
77  
78  
79  
80 =head2 B<REQUIRED> ParallelDataConfig => L<Paws::Translate::ParallelDataConfig>
81  
82 Specifies the format and S3 location of the parallel data input file.
83  
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, documenting arguments for method UpdateParallelData in L<Paws::Translate>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98