File Coverage

blib/lib/Paws/AutoScaling/Activity.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::AutoScaling::Activity;
2 1     1   671 use Moose;
  1     1   2  
  1         9  
  1         519  
  1         2  
  1         8  
3             has ActivityId => (is => 'ro', isa => 'Str', required => 1);
4             has AutoScalingGroupName => (is => 'ro', isa => 'Str', required => 1);
5             has Cause => (is => 'ro', isa => 'Str', required => 1);
6             has Description => (is => 'ro', isa => 'Str');
7             has Details => (is => 'ro', isa => 'Str');
8             has EndTime => (is => 'ro', isa => 'Str');
9             has Progress => (is => 'ro', isa => 'Int');
10             has StartTime => (is => 'ro', isa => 'Str', required => 1);
11             has StatusCode => (is => 'ro', isa => 'Str', required => 1);
12             has StatusMessage => (is => 'ro', isa => 'Str');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::AutoScaling::Activity
20              
21             =head1 USAGE
22              
23             This class represents one of two things:
24              
25             =head3 Arguments in a call to a service
26              
27             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28             Each attribute should be used as a named argument in the calls that expect this type of object.
29              
30             As an example, if Att1 is expected to be a Paws::AutoScaling::Activity object:
31              
32             $service_obj->Method(Att1 => { ActivityId => $value, ..., StatusMessage => $value });
33              
34             =head3 Results returned from an API call
35              
36             Use accessors for each attribute. If Att1 is expected to be an Paws::AutoScaling::Activity object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->ActivityId
40              
41             =head1 DESCRIPTION
42              
43             Describes scaling activity, which is a long-running process that
44             represents a change to your Auto Scaling group, such as changing its
45             size or replacing an instance.
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 B<REQUIRED> ActivityId => Str
51              
52             The ID of the activity.
53              
54              
55             =head2 B<REQUIRED> AutoScalingGroupName => Str
56              
57             The name of the Auto Scaling group.
58              
59              
60             =head2 B<REQUIRED> Cause => Str
61              
62             The reason the activity began.
63              
64              
65             =head2 Description => Str
66              
67             A friendly, more verbose description of the activity.
68              
69              
70             =head2 Details => Str
71              
72             The details about the activity.
73              
74              
75             =head2 EndTime => Str
76              
77             The end time of the activity.
78              
79              
80             =head2 Progress => Int
81              
82             A value between 0 and 100 that indicates the progress of the activity.
83              
84              
85             =head2 B<REQUIRED> StartTime => Str
86              
87             The start time of the activity.
88              
89              
90             =head2 B<REQUIRED> StatusCode => Str
91              
92             The current status of the activity.
93              
94              
95             =head2 StatusMessage => Str
96              
97             A friendly, more verbose description of the activity status.
98              
99              
100              
101             =head1 SEE ALSO
102              
103             This class forms part of L<Paws>, describing an object used in L<Paws::AutoScaling>
104              
105             =head1 BUGS and CONTRIBUTIONS
106              
107             The source code is located here: https://github.com/pplu/aws-sdk-perl
108              
109             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
110              
111             =cut
112