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

filter: Statementstmt 0.0% 0 / 33 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 34 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::DiskSnapshot;
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 FromDiskArn => (is => 'ro', isa => 'Str', request_name => 'fromDiskArn', traits => ['NameInRequest']);
7 has FromDiskName => (is => 'ro', isa => 'Str', request_name => 'fromDiskName', traits => ['NameInRequest']);
8 has FromInstanceArn => (is => 'ro', isa => 'Str', request_name => 'fromInstanceArn', traits => ['NameInRequest']);
9 has FromInstanceName => (is => 'ro', isa => 'Str', request_name => 'fromInstanceName', traits => ['NameInRequest']);
10 has IsFromAutoSnapshot => (is => 'ro', isa => 'Bool', request_name => 'isFromAutoSnapshot', traits => ['NameInRequest']);
11 has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']);
12 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
13 has Progress => (is => 'ro', isa => 'Str', request_name => 'progress', traits => ['NameInRequest']);
14 has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']);
15 has SizeInGb => (is => 'ro', isa => 'Int', request_name => 'sizeInGb', traits => ['NameInRequest']);
16 has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
17 has SupportCode => (is => 'ro', isa => 'Str', request_name => 'supportCode', traits => ['NameInRequest']);
18 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Lightsail::Tag]', request_name => 'tags', traits => ['NameInRequest']);
19  
20 1;
21  
22 ### main pod documentation begin ###
23  
24 =head1 NAME
25  
26 Paws::Lightsail::DiskSnapshot
27  
28 =head1 USAGE
29  
30 This class represents one of two things:
31  
32 =head3 Arguments in a call to a service
33  
34 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
35 Each attribute should be used as a named argument in the calls that expect this type of object.
36  
37 As an example, if Att1 is expected to be a Paws::Lightsail::DiskSnapshot object:
38  
39 $service_obj->Method(Att1 => { Arn => $value, ..., Tags => $value });
40  
41 =head3 Results returned from an API call
42  
43 Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::DiskSnapshot object:
44  
45 $result = $service_obj->Method(...);
46 $result->Att1->Arn
47  
48 =head1 DESCRIPTION
49  
50 Describes a block storage disk snapshot.
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 Arn => Str
56  
57 The Amazon Resource Name (ARN) of the disk snapshot.
58  
59  
60 =head2 CreatedAt => Str
61  
62 The date when the disk snapshot was created.
63  
64  
65 =head2 FromDiskArn => Str
66  
67 The Amazon Resource Name (ARN) of the source disk from which the disk
68 snapshot was created.
69  
70  
71 =head2 FromDiskName => Str
72  
73 The unique name of the source disk from which the disk snapshot was
74 created.
75  
76  
77 =head2 FromInstanceArn => Str
78  
79 The Amazon Resource Name (ARN) of the source instance from which the
80 disk (system volume) snapshot was created.
81  
82  
83 =head2 FromInstanceName => Str
84  
85 The unique name of the source instance from which the disk (system
86 volume) snapshot was created.
87  
88  
89 =head2 IsFromAutoSnapshot => Bool
90  
91 A Boolean value indicating whether the snapshot was created from an
92 automatic snapshot.
93  
94  
95 =head2 Location => L<Paws::Lightsail::ResourceLocation>
96  
97 The AWS Region and Availability Zone where the disk snapshot was
98 created.
99  
100  
101 =head2 Name => Str
102  
103 The name of the disk snapshot (e.g., C<my-disk-snapshot>).
104  
105  
106 =head2 Progress => Str
107  
108 The progress of the snapshot.
109  
110  
111 =head2 ResourceType => Str
112  
113 The Lightsail resource type (e.g., C<DiskSnapshot>).
114  
115  
116 =head2 SizeInGb => Int
117  
118 The size of the disk in GB.
119  
120  
121 =head2 State => Str
122  
123 The status of the disk snapshot operation.
124  
125  
126 =head2 SupportCode => Str
127  
128 The support code. Include this code in your email to support when you
129 have questions about an instance or another resource in Lightsail. This
130 code enables our support team to look up your Lightsail information
131 more easily.
132  
133  
134 =head2 Tags => ArrayRef[L<Paws::Lightsail::Tag>]
135  
136 The tag keys and optional values for the resource. For more information
137 about tags in Lightsail, see the Lightsail Dev Guide
138 (https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-tags).
139  
140  
141  
142 =head1 SEE ALSO
143  
144 This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
145  
146 =head1 BUGS and CONTRIBUTIONS
147  
148 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
149  
150 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
151  
152 =cut
153