blib/lib/Paws/Batch/EvaluateOnExit.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Batch::EvaluateOnExit;
3 use Moose;
4 has Action => (is => 'ro', isa => 'Str', request_name => 'action', traits => ['NameInRequest'], required => 1);
5 has OnExitCode => (is => 'ro', isa => 'Str', request_name => 'onExitCode', traits => ['NameInRequest']);
6 has OnReason => (is => 'ro', isa => 'Str', request_name => 'onReason', traits => ['NameInRequest']);
7 has OnStatusReason => (is => 'ro', isa => 'Str', request_name => 'onStatusReason', traits => ['NameInRequest']);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Batch::EvaluateOnExit
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::Batch::EvaluateOnExit object:
27  
28 $service_obj->Method(Att1 => { Action => $value, ..., OnStatusReason => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::EvaluateOnExit object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->Action
36  
37 =head1 DESCRIPTION
38  
39 Specifies a set of conditions to be met, and an action to take
40 (C<RETRY> or C<EXIT>) if all conditions are met.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 B<REQUIRED> Action => Str
46  
47 Specifies the action to take if all of the specified conditions
48 (C<onStatusReason>, C<onReason>, and C<onExitCode>) are met. The values
49 aren't case sensitive.
50  
51  
52 =head2 OnExitCode => Str
53  
54 Contains a glob pattern to match against the decimal representation of
55 the C<ExitCode> returned for a job. The pattern can be up to 512
56 characters long, can contain only numbers, and can optionally end with
57 an asterisk (*) so that only the start of the string needs to be an
58 exact match.
59  
60  
61 =head2 OnReason => Str
62  
63 Contains a glob pattern to match against the C<Reason> returned for a
64 job. The pattern can be up to 512 characters long, and can contain
65 letters, numbers, periods (.), colons (:), and white space (including
66 spaces and tabs). It can optionally end with an asterisk (*) so that
67 only the start of the string needs to be an exact match.
68  
69  
70 =head2 OnStatusReason => Str
71  
72 Contains a glob pattern to match against the C<StatusReason> returned
73 for a job. The pattern can be up to 512 characters long, and can
74 contain letters, numbers, periods (.), colons (:), and white space
75 (including spaces or tabs). It can optionally end with an asterisk (*)
76 so that only the start of the string needs to be an exact match.
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91