File Coverage

blib/lib/Paws/CodeDeploy/ErrorInformation.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::ErrorInformation;
2 1     1   399 use Moose;
  1         2  
  1         6  
3             has Code => (is => 'ro', isa => 'Str', request_name => 'code', traits => ['NameInRequest']);
4             has Message => (is => 'ro', isa => 'Str', request_name => 'message', traits => ['NameInRequest']);
5             1;
6              
7             ### main pod documentation begin ###
8              
9             =head1 NAME
10              
11             Paws::CodeDeploy::ErrorInformation
12              
13             =head1 USAGE
14              
15             This class represents one of two things:
16              
17             =head3 Arguments in a call to a service
18              
19             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20             Each attribute should be used as a named argument in the calls that expect this type of object.
21              
22             As an example, if Att1 is expected to be a Paws::CodeDeploy::ErrorInformation object:
23              
24             $service_obj->Method(Att1 => { Code => $value, ..., Message => $value });
25              
26             =head3 Results returned from an API call
27              
28             Use accessors for each attribute. If Att1 is expected to be an Paws::CodeDeploy::ErrorInformation object:
29              
30             $result = $service_obj->Method(...);
31             $result->Att1->Code
32              
33             =head1 DESCRIPTION
34              
35             Information about a deployment error.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 Code => Str
41              
42             For information about additional error codes, see Error Codes for AWS
43             CodeDeploy in the AWS CodeDeploy User Guide.
44              
45             The error code:
46              
47             =over
48              
49             =item *
50              
51             APPLICATION_MISSING: The application was missing. This error code will
52             most likely be raised if the application is deleted after the
53             deployment is created but before it is started.
54              
55             =item *
56              
57             DEPLOYMENT_GROUP_MISSING: The deployment group was missing. This error
58             code will most likely be raised if the deployment group is deleted
59             after the deployment is created but before it is started.
60              
61             =item *
62              
63             HEALTH_CONSTRAINTS: The deployment failed on too many instances to be
64             successfully deployed within the instance health constraints specified.
65              
66             =item *
67              
68             HEALTH_CONSTRAINTS_INVALID: The revision cannot be successfully
69             deployed within the instance health constraints specified.
70              
71             =item *
72              
73             IAM_ROLE_MISSING: The service role cannot be accessed.
74              
75             =item *
76              
77             IAM_ROLE_PERMISSIONS: The service role does not have the correct
78             permissions.
79              
80             =item *
81              
82             INTERNAL_ERROR: There was an internal error.
83              
84             =item *
85              
86             NO_EC2_SUBSCRIPTION: The calling account is not subscribed to the
87             Amazon EC2 service.
88              
89             =item *
90              
91             NO_INSTANCES: No instance were specified, or no instance can be found.
92              
93             =item *
94              
95             OVER_MAX_INSTANCES: The maximum number of instance was exceeded.
96              
97             =item *
98              
99             THROTTLED: The operation was throttled because the calling account
100             exceeded the throttling limits of one or more AWS services.
101              
102             =item *
103              
104             TIMEOUT: The deployment has timed out.
105              
106             =item *
107              
108             REVISION_MISSING: The revision ID was missing. This error code will
109             most likely be raised if the revision is deleted after the deployment
110             is created but before it is started.
111              
112             =back
113              
114              
115              
116             =head2 Message => Str
117              
118             An accompanying error message.
119              
120              
121              
122             =head1 SEE ALSO
123              
124             This class forms part of L<Paws>, describing an object used in L<Paws::CodeDeploy>
125              
126             =head1 BUGS and CONTRIBUTIONS
127              
128             The source code is located here: https://github.com/pplu/aws-sdk-perl
129              
130             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
131              
132             =cut
133