blib/lib/Paws/Lightsail/InstanceSnapshot.pm untested

filter: Statementstmt 0.0% 0 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 36 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Lightsail::InstanceSnapshot;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5 has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
6 has FromAttachedDisks => (is => 'ro', isa => 'ArrayRef[Paws::Lightsail::Disk]', request_name => 'fromAttachedDisks', traits => ['NameInRequest']);
7 has FromBlueprintId => (is => 'ro', isa => 'Str', request_name => 'fromBlueprintId', traits => ['NameInRequest']);
8 has FromBundleId => (is => 'ro', isa => 'Str', request_name => 'fromBundleId', traits => ['NameInRequest']);
9 has FromInstanceArn => (is => 'ro', isa => 'Str', request_name => 'fromInstanceArn', traits => ['NameInRequest']);
10 has FromInstanceName => (is => 'ro', isa => 'Str', request_name => 'fromInstanceName', traits => ['NameInRequest']);
11 has IsFromAutoSnapshot => (is => 'ro', isa => 'Bool', request_name => 'isFromAutoSnapshot', traits => ['NameInRequest']);
12 has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']);
13 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
14 has Progress => (is => 'ro', isa => 'Str', request_name => 'progress', traits => ['NameInRequest']);
15 has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']);
16 has SizeInGb => (is => 'ro', isa => 'Int', request_name => 'sizeInGb', traits => ['NameInRequest']);
17 has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
18 has SupportCode => (is => 'ro', isa => 'Str', request_name => 'supportCode', traits => ['NameInRequest']);
19 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Lightsail::Tag]', request_name => 'tags', traits => ['NameInRequest']);
20  
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::Lightsail::InstanceSnapshot
28  
29 =head1 USAGE
30  
31 This class represents one of two things:
32  
33 =head3 Arguments in a call to a service
34  
35 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36 Each attribute should be used as a named argument in the calls that expect this type of object.
37  
38 As an example, if Att1 is expected to be a Paws::Lightsail::InstanceSnapshot object:
39  
40 $service_obj->Method(Att1 => { Arn => $value, ..., Tags => $value });
41  
42 =head3 Results returned from an API call
43  
44 Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::InstanceSnapshot object:
45  
46 $result = $service_obj->Method(...);
47 $result->Att1->Arn
48  
49 =head1 DESCRIPTION
50  
51 Describes an instance snapshot.
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 Arn => Str
57  
58 The Amazon Resource Name (ARN) of the snapshot (e.g.,
59 C<arn:aws:lightsail:us-east-2:123456789101:InstanceSnapshot/d23b5706-3322-4d83-81e5-12345EXAMPLE>).
60  
61  
62 =head2 CreatedAt => Str
63  
64 The timestamp when the snapshot was created (e.g., C<1479907467.024>).
65  
66  
67 =head2 FromAttachedDisks => ArrayRef[L<Paws::Lightsail::Disk>]
68  
69 An array of disk objects containing information about all block storage
70 disks.
71  
72  
73 =head2 FromBlueprintId => Str
74  
75 The blueprint ID from which you created the snapshot (e.g.,
76 C<os_debian_8_3>). A blueprint is a virtual private server (or
77 I<instance>) image used to create instances quickly.
78  
79  
80 =head2 FromBundleId => Str
81  
82 The bundle ID from which you created the snapshot (e.g., C<micro_1_0>).
83  
84  
85 =head2 FromInstanceArn => Str
86  
87 The Amazon Resource Name (ARN) of the instance from which the snapshot
88 was created (e.g.,
89 C<arn:aws:lightsail:us-east-2:123456789101:Instance/64b8404c-ccb1-430b-8daf-12345EXAMPLE>).
90  
91  
92 =head2 FromInstanceName => Str
93  
94 The instance from which the snapshot was created.
95  
96  
97 =head2 IsFromAutoSnapshot => Bool
98  
99 A Boolean value indicating whether the snapshot was created from an
100 automatic snapshot.
101  
102  
103 =head2 Location => L<Paws::Lightsail::ResourceLocation>
104  
105 The region name and Availability Zone where you created the snapshot.
106  
107  
108 =head2 Name => Str
109  
110 The name of the snapshot.
111  
112  
113 =head2 Progress => Str
114  
115 The progress of the snapshot.
116  
117 This is populated only for disk snapshots, and is C<null> for instance
118 snapshots.
119  
120  
121 =head2 ResourceType => Str
122  
123 The type of resource (usually C<InstanceSnapshot>).
124  
125  
126 =head2 SizeInGb => Int
127  
128 The size in GB of the SSD.
129  
130  
131 =head2 State => Str
132  
133 The state the snapshot is in.
134  
135  
136 =head2 SupportCode => Str
137  
138 The support code. Include this code in your email to support when you
139 have questions about an instance or another resource in Lightsail. This
140 code enables our support team to look up your Lightsail information
141 more easily.
142  
143  
144 =head2 Tags => ArrayRef[L<Paws::Lightsail::Tag>]
145  
146 The tag keys and optional values for the resource. For more information
147 about tags in Lightsail, see the Lightsail Dev Guide
148 (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
149  
150  
151  
152 =head1 SEE ALSO
153  
154 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
155  
156 =head1 BUGS and CONTRIBUTIONS
157  
158 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
159  
160 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
161  
162 =cut
163