File Coverage

blib/lib/Paws/OpsWorks/Volume.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::OpsWorks::Volume;
2 1     1   485 use Moose;
  1         4  
  1         10  
3             has AvailabilityZone => (is => 'ro', isa => 'Str');
4             has Device => (is => 'ro', isa => 'Str');
5             has Ec2VolumeId => (is => 'ro', isa => 'Str');
6             has InstanceId => (is => 'ro', isa => 'Str');
7             has Iops => (is => 'ro', isa => 'Int');
8             has MountPoint => (is => 'ro', isa => 'Str');
9             has Name => (is => 'ro', isa => 'Str');
10             has RaidArrayId => (is => 'ro', isa => 'Str');
11             has Region => (is => 'ro', isa => 'Str');
12             has Size => (is => 'ro', isa => 'Int');
13             has Status => (is => 'ro', isa => 'Str');
14             has VolumeId => (is => 'ro', isa => 'Str');
15             has VolumeType => (is => 'ro', isa => 'Str');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::OpsWorks::Volume
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::OpsWorks::Volume object:
34              
35             $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., VolumeType => $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::OpsWorks::Volume object:
40              
41             $result = $service_obj->Method(...);
42             $result->Att1->AvailabilityZone
43              
44             =head1 DESCRIPTION
45              
46             Describes an instance's Amazon EBS volume.
47              
48             =head1 ATTRIBUTES
49              
50              
51             =head2 AvailabilityZone => Str
52              
53             The volume Availability Zone. For more information, see Regions and
54             Endpoints.
55              
56              
57             =head2 Device => Str
58              
59             The device name.
60              
61              
62             =head2 Ec2VolumeId => Str
63              
64             The Amazon EC2 volume ID.
65              
66              
67             =head2 InstanceId => Str
68              
69             The instance ID.
70              
71              
72             =head2 Iops => Int
73              
74             For PIOPS volumes, the IOPS per disk.
75              
76              
77             =head2 MountPoint => Str
78              
79             The volume mount point. For example, "/mnt/disk1".
80              
81              
82             =head2 Name => Str
83              
84             The volume name.
85              
86              
87             =head2 RaidArrayId => Str
88              
89             The RAID array ID.
90              
91              
92             =head2 Region => Str
93              
94             The AWS region. For more information about AWS regions, see Regions and
95             Endpoints.
96              
97              
98             =head2 Size => Int
99              
100             The volume size.
101              
102              
103             =head2 Status => Str
104              
105             The value returned by DescribeVolumes.
106              
107              
108             =head2 VolumeId => Str
109              
110             The volume ID.
111              
112              
113             =head2 VolumeType => Str
114              
115             The volume type, standard or PIOPS.
116              
117              
118              
119             =head1 SEE ALSO
120              
121             This class forms part of L<Paws>, describing an object used in L<Paws::OpsWorks>
122              
123             =head1 BUGS and CONTRIBUTIONS
124              
125             The source code is located here: https://github.com/pplu/aws-sdk-perl
126              
127             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
128              
129             =cut
130