File Coverage

blib/lib/Paws/CodeDeploy/InstanceSummary.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::InstanceSummary;
2 1     1   290 use Moose;
  1         3  
  1         6  
3             has DeploymentId => (is => 'ro', isa => 'Str', request_name => 'deploymentId', traits => ['NameInRequest']);
4             has InstanceId => (is => 'ro', isa => 'Str', request_name => 'instanceId', traits => ['NameInRequest']);
5             has InstanceType => (is => 'ro', isa => 'Str', request_name => 'instanceType', traits => ['NameInRequest']);
6             has LastUpdatedAt => (is => 'ro', isa => 'Str', request_name => 'lastUpdatedAt', traits => ['NameInRequest']);
7             has LifecycleEvents => (is => 'ro', isa => 'ArrayRef[Paws::CodeDeploy::LifecycleEvent]', request_name => 'lifecycleEvents', traits => ['NameInRequest']);
8             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::CodeDeploy::InstanceSummary
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::CodeDeploy::InstanceSummary object:
27              
28             $service_obj->Method(Att1 => { DeploymentId => $value, ..., Status => $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::CodeDeploy::InstanceSummary object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->DeploymentId
36              
37             =head1 DESCRIPTION
38              
39             Information about an instance in a deployment.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 DeploymentId => Str
45              
46             The deployment ID.
47              
48              
49             =head2 InstanceId => Str
50              
51             The instance ID.
52              
53              
54             =head2 InstanceType => Str
55              
56             Information about which environment an instance belongs to in a
57             blue/green deployment.
58              
59             =over
60              
61             =item *
62              
63             BLUE: The instance is part of the original environment.
64              
65             =item *
66              
67             GREEN: The instance is part of the replacement environment.
68              
69             =back
70              
71              
72              
73             =head2 LastUpdatedAt => Str
74              
75             A timestamp indicating when the instance information was last updated.
76              
77              
78             =head2 LifecycleEvents => ArrayRef[L<Paws::CodeDeploy::LifecycleEvent>]
79              
80             A list of lifecycle events for this instance.
81              
82              
83             =head2 Status => Str
84              
85             The deployment status for this instance:
86              
87             =over
88              
89             =item *
90              
91             Pending: The deployment is pending for this instance.
92              
93             =item *
94              
95             In Progress: The deployment is in progress for this instance.
96              
97             =item *
98              
99             Succeeded: The deployment has succeeded for this instance.
100              
101             =item *
102              
103             Failed: The deployment has failed for this instance.
104              
105             =item *
106              
107             Skipped: The deployment has been skipped for this instance.
108              
109             =item *
110              
111             Unknown: The deployment status is unknown for this instance.
112              
113             =back
114              
115              
116              
117              
118             =head1 SEE ALSO
119              
120             This class forms part of L<Paws>, describing an object used in L<Paws::CodeDeploy>
121              
122             =head1 BUGS and CONTRIBUTIONS
123              
124             The source code is located here: https://github.com/pplu/aws-sdk-perl
125              
126             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
127              
128             =cut
129