File Coverage

blib/lib/Paws/Lightsail/Operation.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::Lightsail::Operation;
2 1     1   339 use Moose;
  1         3  
  1         6  
3             has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
4             has ErrorCode => (is => 'ro', isa => 'Str', request_name => 'errorCode', traits => ['NameInRequest']);
5             has ErrorDetails => (is => 'ro', isa => 'Str', request_name => 'errorDetails', traits => ['NameInRequest']);
6             has Id => (is => 'ro', isa => 'Str', request_name => 'id', traits => ['NameInRequest']);
7             has IsTerminal => (is => 'ro', isa => 'Bool', request_name => 'isTerminal', traits => ['NameInRequest']);
8             has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']);
9             has OperationDetails => (is => 'ro', isa => 'Str', request_name => 'operationDetails', traits => ['NameInRequest']);
10             has OperationType => (is => 'ro', isa => 'Str', request_name => 'operationType', traits => ['NameInRequest']);
11             has ResourceName => (is => 'ro', isa => 'Str', request_name => 'resourceName', traits => ['NameInRequest']);
12             has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']);
13             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
14             has StatusChangedAt => (is => 'ro', isa => 'Str', request_name => 'statusChangedAt', traits => ['NameInRequest']);
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::Lightsail::Operation
22              
23             =head1 USAGE
24              
25             This class represents one of two things:
26              
27             =head3 Arguments in a call to a service
28              
29             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30             Each attribute should be used as a named argument in the calls that expect this type of object.
31              
32             As an example, if Att1 is expected to be a Paws::Lightsail::Operation object:
33              
34             $service_obj->Method(Att1 => { CreatedAt => $value, ..., StatusChangedAt => $value });
35              
36             =head3 Results returned from an API call
37              
38             Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::Operation object:
39              
40             $result = $service_obj->Method(...);
41             $result->Att1->CreatedAt
42              
43             =head1 DESCRIPTION
44              
45             Describes the API operation.
46              
47             =head1 ATTRIBUTES
48              
49              
50             =head2 CreatedAt => Str
51              
52             The timestamp when the operation was initialized (e.g.,
53             C<1479816991.349>).
54              
55              
56             =head2 ErrorCode => Str
57              
58             The error code.
59              
60              
61             =head2 ErrorDetails => Str
62              
63             The error details.
64              
65              
66             =head2 Id => Str
67              
68             The ID of the operation.
69              
70              
71             =head2 IsTerminal => Bool
72              
73             A Boolean value indicating whether the operation is terminal.
74              
75              
76             =head2 Location => L<Paws::Lightsail::ResourceLocation>
77              
78             The region and Availability Zone.
79              
80              
81             =head2 OperationDetails => Str
82              
83             Details about the operation (e.g., C<Debian-1GB-Virginia-1>).
84              
85              
86             =head2 OperationType => Str
87              
88             The type of operation.
89              
90              
91             =head2 ResourceName => Str
92              
93             The resource name.
94              
95              
96             =head2 ResourceType => Str
97              
98             The resource type.
99              
100              
101             =head2 Status => Str
102              
103             The status of the operation.
104              
105              
106             =head2 StatusChangedAt => Str
107              
108             The timestamp when the status was changed (e.g., C<1479816991.349>).
109              
110              
111              
112             =head1 SEE ALSO
113              
114             This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
115              
116             =head1 BUGS and CONTRIBUTIONS
117              
118             The source code is located here: https://github.com/pplu/aws-sdk-perl
119              
120             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
121              
122             =cut
123