File Coverage

blib/lib/Paws/CodeDeploy/Diagnostics.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CodeDeploy::Diagnostics;
2 1     1   328 use Moose;
  1         3  
  1         6  
3             has ErrorCode => (is => 'ro', isa => 'Str', request_name => 'errorCode', traits => ['NameInRequest']);
4             has LogTail => (is => 'ro', isa => 'Str', request_name => 'logTail', traits => ['NameInRequest']);
5             has Message => (is => 'ro', isa => 'Str', request_name => 'message', traits => ['NameInRequest']);
6             has ScriptName => (is => 'ro', isa => 'Str', request_name => 'scriptName', traits => ['NameInRequest']);
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::CodeDeploy::Diagnostics
14              
15             =head1 USAGE
16              
17             This class represents one of two things:
18              
19             =head3 Arguments in a call to a service
20              
21             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22             Each attribute should be used as a named argument in the calls that expect this type of object.
23              
24             As an example, if Att1 is expected to be a Paws::CodeDeploy::Diagnostics object:
25              
26             $service_obj->Method(Att1 => { ErrorCode => $value, ..., ScriptName => $value });
27              
28             =head3 Results returned from an API call
29              
30             Use accessors for each attribute. If Att1 is expected to be an Paws::CodeDeploy::Diagnostics object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->ErrorCode
34              
35             =head1 DESCRIPTION
36              
37             Diagnostic information about executable scripts that are part of a
38             deployment.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 ErrorCode => Str
44              
45             The associated error code:
46              
47             =over
48              
49             =item *
50              
51             Success: The specified script ran.
52              
53             =item *
54              
55             ScriptMissing: The specified script was not found in the specified
56             location.
57              
58             =item *
59              
60             ScriptNotExecutable: The specified script is not a recognized
61             executable file type.
62              
63             =item *
64              
65             ScriptTimedOut: The specified script did not finish running in the
66             specified time period.
67              
68             =item *
69              
70             ScriptFailed: The specified script failed to run as expected.
71              
72             =item *
73              
74             UnknownError: The specified script did not run for an unknown reason.
75              
76             =back
77              
78              
79              
80             =head2 LogTail => Str
81              
82             The last portion of the diagnostic log.
83              
84             If available, AWS CodeDeploy returns up to the last 4 KB of the
85             diagnostic log.
86              
87              
88             =head2 Message => Str
89              
90             The message associated with the error.
91              
92              
93             =head2 ScriptName => Str
94              
95             The name of the script.
96              
97              
98              
99             =head1 SEE ALSO
100              
101             This class forms part of L<Paws>, describing an object used in L<Paws::CodeDeploy>
102              
103             =head1 BUGS and CONTRIBUTIONS
104              
105             The source code is located here: https://github.com/pplu/aws-sdk-perl
106              
107             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
108              
109             =cut
110