File Coverage

blib/lib/Paws/EC2/SnapshotDetail.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::EC2::SnapshotDetail;
2 1     1   583 use Moose;
  1         3  
  1         8  
3             has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
4             has DeviceName => (is => 'ro', isa => 'Str', request_name => 'deviceName', traits => ['NameInRequest']);
5             has DiskImageSize => (is => 'ro', isa => 'Num', request_name => 'diskImageSize', traits => ['NameInRequest']);
6             has Format => (is => 'ro', isa => 'Str', request_name => 'format', traits => ['NameInRequest']);
7             has Progress => (is => 'ro', isa => 'Str', request_name => 'progress', traits => ['NameInRequest']);
8             has SnapshotId => (is => 'ro', isa => 'Str', request_name => 'snapshotId', traits => ['NameInRequest']);
9             has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
10             has StatusMessage => (is => 'ro', isa => 'Str', request_name => 'statusMessage', traits => ['NameInRequest']);
11             has Url => (is => 'ro', isa => 'Str', request_name => 'url', traits => ['NameInRequest']);
12             has UserBucket => (is => 'ro', isa => 'Paws::EC2::UserBucketDetails', request_name => 'userBucket', traits => ['NameInRequest']);
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::EC2::SnapshotDetail
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::EC2::SnapshotDetail object:
31              
32             $service_obj->Method(Att1 => { Description => $value, ..., UserBucket => $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::EC2::SnapshotDetail object:
37              
38             $result = $service_obj->Method(...);
39             $result->Att1->Description
40              
41             =head1 DESCRIPTION
42              
43             This class has no description
44              
45             =head1 ATTRIBUTES
46              
47              
48             =head2 Description => Str
49              
50             A description for the snapshot.
51              
52              
53             =head2 DeviceName => Str
54              
55             The block device mapping for the snapshot.
56              
57              
58             =head2 DiskImageSize => Num
59              
60             The size of the disk in the snapshot, in GiB.
61              
62              
63             =head2 Format => Str
64              
65             The format of the disk image from which the snapshot is created.
66              
67              
68             =head2 Progress => Str
69              
70             The percentage of progress for the task.
71              
72              
73             =head2 SnapshotId => Str
74              
75             The snapshot ID of the disk being imported.
76              
77              
78             =head2 Status => Str
79              
80             A brief status of the snapshot creation.
81              
82              
83             =head2 StatusMessage => Str
84              
85             A detailed status message for the snapshot creation.
86              
87              
88             =head2 Url => Str
89              
90             The URL used to access the disk image.
91              
92              
93             =head2 UserBucket => L<Paws::EC2::UserBucketDetails>
94              
95             The S3 bucket for the disk image.
96              
97              
98              
99             =head1 SEE ALSO
100              
101             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
102              
103             =head1 BUGS and CONTRIBUTIONS
104              
105             The source code is located here: https://github.com/pplu/aws-sdk-perl
106              
107             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
108              
109             =cut