File Coverage

blib/lib/Paws/Lightsail/InstanceSnapshot.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::InstanceSnapshot;
2 1     1   372 use Moose;
  1         2  
  1         7  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
5             has FromBlueprintId => (is => 'ro', isa => 'Str', request_name => 'fromBlueprintId', traits => ['NameInRequest']);
6             has FromBundleId => (is => 'ro', isa => 'Str', request_name => 'fromBundleId', traits => ['NameInRequest']);
7             has FromInstanceArn => (is => 'ro', isa => 'Str', request_name => 'fromInstanceArn', traits => ['NameInRequest']);
8             has FromInstanceName => (is => 'ro', isa => 'Str', request_name => 'fromInstanceName', traits => ['NameInRequest']);
9             has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']);
10             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
11             has Progress => (is => 'ro', isa => 'Str', request_name => 'progress', traits => ['NameInRequest']);
12             has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']);
13             has SizeInGb => (is => 'ro', isa => 'Int', request_name => 'sizeInGb', traits => ['NameInRequest']);
14             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
15             has SupportCode => (is => 'ro', isa => 'Str', request_name => 'supportCode', traits => ['NameInRequest']);
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::Lightsail::InstanceSnapshot
23              
24             =head1 USAGE
25              
26             This class represents one of two things:
27              
28             =head3 Arguments in a call to a service
29              
30             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
31             Each attribute should be used as a named argument in the calls that expect this type of object.
32              
33             As an example, if Att1 is expected to be a Paws::Lightsail::InstanceSnapshot object:
34              
35             $service_obj->Method(Att1 => { Arn => $value, ..., SupportCode => $value });
36              
37             =head3 Results returned from an API call
38              
39             Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::InstanceSnapshot object:
40              
41             $result = $service_obj->Method(...);
42             $result->Att1->Arn
43              
44             =head1 DESCRIPTION
45              
46             Describes the snapshot of the virtual private server, or I<instance>.
47              
48             =head1 ATTRIBUTES
49              
50              
51             =head2 Arn => Str
52              
53             The Amazon Resource Name (ARN) of the snapshot (e.g.,
54             C<arn:aws:lightsail:us-east-1:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE>).
55              
56              
57             =head2 CreatedAt => Str
58              
59             The timestamp when the snapshot was created (e.g., C<1479907467.024>).
60              
61              
62             =head2 FromBlueprintId => Str
63              
64             The blueprint ID from which you created the snapshot (e.g.,
65             C<os_debian_8_3>). A blueprint is a virtual private server (or
66             I<instance>) image used to create instances quickly.
67              
68              
69             =head2 FromBundleId => Str
70              
71             The bundle ID from which you created the snapshot (e.g., C<micro_1_0>).
72              
73              
74             =head2 FromInstanceArn => Str
75              
76             The Amazon Resource Name (ARN) of the instance from which the snapshot
77             was created (e.g.,
78             C<arn:aws:lightsail:us-east-1:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE>).
79              
80              
81             =head2 FromInstanceName => Str
82              
83             The instance from which the snapshot was created.
84              
85              
86             =head2 Location => L<Paws::Lightsail::ResourceLocation>
87              
88             The region name and availability zone where you created the snapshot.
89              
90              
91             =head2 Name => Str
92              
93             The name of the snapshot.
94              
95              
96             =head2 Progress => Str
97              
98             The progress of the snapshot.
99              
100              
101             =head2 ResourceType => Str
102              
103             The type of resource (usually C<InstanceSnapshot>).
104              
105              
106             =head2 SizeInGb => Int
107              
108             The size in GB of the SSD.
109              
110              
111             =head2 State => Str
112              
113             The state the snapshot is in.
114              
115              
116             =head2 SupportCode => Str
117              
118             The support code. Include this code in your email to support when you
119             have questions about an instance or another resource in Lightsail. This
120             code enables our support team to look up your Lightsail information
121             more easily.
122              
123              
124              
125             =head1 SEE ALSO
126              
127             This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
128              
129             =head1 BUGS and CONTRIBUTIONS
130              
131             The source code is located here: https://github.com/pplu/aws-sdk-perl
132              
133             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
134              
135             =cut
136