File Coverage

blib/lib/Paws/EC2/DiskImageDescription.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::EC2::DiskImageDescription;
2 1     1   572 use Moose;
  1     1   4  
  1         9  
  1         335  
  1         2  
  1         5  
3             has Checksum => (is => 'ro', isa => 'Str', request_name => 'checksum', traits => ['NameInRequest']);
4             has Format => (is => 'ro', isa => 'Str', request_name => 'format', traits => ['NameInRequest'], required => 1);
5             has ImportManifestUrl => (is => 'ro', isa => 'Str', request_name => 'importManifestUrl', traits => ['NameInRequest'], required => 1);
6             has Size => (is => 'ro', isa => 'Int', request_name => 'size', traits => ['NameInRequest'], required => 1);
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::EC2::DiskImageDescription
14              
15             =head1 USAGE
16              
17             This class represents one of two things:
18              
19             =head3 Arguments in a call to a service
20              
21             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22             Each attribute should be used as a named argument in the calls that expect this type of object.
23              
24             As an example, if Att1 is expected to be a Paws::EC2::DiskImageDescription object:
25              
26             $service_obj->Method(Att1 => { Checksum => $value, ..., Size => $value });
27              
28             =head3 Results returned from an API call
29              
30             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::DiskImageDescription object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->Checksum
34              
35             =head1 DESCRIPTION
36              
37             This class has no description
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 Checksum => Str
43              
44             The checksum computed for the disk image.
45              
46              
47             =head2 B<REQUIRED> Format => Str
48              
49             The disk image format.
50              
51              
52             =head2 B<REQUIRED> ImportManifestUrl => Str
53              
54             A presigned URL for the import manifest stored in Amazon S3. For
55             information about creating a presigned URL for an Amazon S3 object,
56             read the "Query String Request Authentication Alternative" section of
57             the Authenticating REST Requests topic in the I<Amazon Simple Storage
58             Service Developer Guide>.
59              
60             For information about the import manifest referenced by this API
61             action, see VM Import Manifest.
62              
63              
64             =head2 B<REQUIRED> Size => Int
65              
66             The size of the disk image, in GiB.
67              
68              
69              
70             =head1 SEE ALSO
71              
72             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
73              
74             =head1 BUGS and CONTRIBUTIONS
75              
76             The source code is located here: https://github.com/pplu/aws-sdk-perl
77              
78             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
79              
80             =cut