File Coverage

blib/lib/Paws/EC2/Volume.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              
2             package Paws::EC2::Volume;
3 1     1   519 use Moose;
  1     1   3  
  1         6  
  1         579  
  1         3  
  1         9  
4             has Attachments => (is => 'ro', isa => 'ArrayRef[Paws::EC2::VolumeAttachment]', request_name => 'attachmentSet', traits => ['NameInRequest',]);
5             has AvailabilityZone => (is => 'ro', isa => 'Str', request_name => 'availabilityZone', traits => ['NameInRequest',]);
6             has CreateTime => (is => 'ro', isa => 'Str', request_name => 'createTime', traits => ['NameInRequest',]);
7             has Encrypted => (is => 'ro', isa => 'Bool', request_name => 'encrypted', traits => ['NameInRequest',]);
8             has Iops => (is => 'ro', isa => 'Int', request_name => 'iops', traits => ['NameInRequest',]);
9             has KmsKeyId => (is => 'ro', isa => 'Str', request_name => 'kmsKeyId', traits => ['NameInRequest',]);
10             has Size => (is => 'ro', isa => 'Int', request_name => 'size', traits => ['NameInRequest',]);
11             has SnapshotId => (is => 'ro', isa => 'Str', request_name => 'snapshotId', traits => ['NameInRequest',]);
12             has State => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest',]);
13             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest',]);
14             has VolumeId => (is => 'ro', isa => 'Str', request_name => 'volumeId', traits => ['NameInRequest',]);
15             has VolumeType => (is => 'ro', isa => 'Str', request_name => 'volumeType', traits => ['NameInRequest',]);
16              
17             has _request_id => (is => 'ro', isa => 'Str');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::EC2::Volume
25              
26             =head1 ATTRIBUTES
27              
28              
29             =head2 Attachments => ArrayRef[L<Paws::EC2::VolumeAttachment>]
30              
31             Information about the volume attachments.
32              
33              
34             =head2 AvailabilityZone => Str
35              
36             The Availability Zone for the volume.
37              
38              
39             =head2 CreateTime => Str
40              
41             The time stamp when volume creation was initiated.
42              
43              
44             =head2 Encrypted => Bool
45              
46             Indicates whether the volume will be encrypted.
47              
48              
49             =head2 Iops => Int
50              
51             The number of I/O operations per second (IOPS) that the volume
52             supports. For Provisioned IOPS SSD volumes, this represents the number
53             of IOPS that are provisioned for the volume. For General Purpose SSD
54             volumes, this represents the baseline performance of the volume and the
55             rate at which the volume accumulates I/O credits for bursting. For more
56             information on General Purpose SSD baseline performance, I/O credits,
57             and bursting, see Amazon EBS Volume Types in the I<Amazon Elastic
58             Compute Cloud User Guide>.
59              
60             Constraint: Range is 100-20000 IOPS for io1 volumes and 100-10000 IOPS
61             for C<gp2> volumes.
62              
63             Condition: This parameter is required for requests to create C<io1>
64             volumes; it is not used in requests to create C<gp2>, C<st1>, C<sc1>,
65             or C<standard> volumes.
66              
67              
68             =head2 KmsKeyId => Str
69              
70             The full ARN of the AWS Key Management Service (AWS KMS) customer
71             master key (CMK) that was used to protect the volume encryption key for
72             the volume.
73              
74              
75             =head2 Size => Int
76              
77             The size of the volume, in GiBs.
78              
79              
80             =head2 SnapshotId => Str
81              
82             The snapshot from which the volume was created, if applicable.
83              
84              
85             =head2 State => Str
86              
87             The volume state.
88              
89             Valid values are: C<"creating">, C<"available">, C<"in-use">, C<"deleting">, C<"deleted">, C<"error">
90             =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
91              
92             Any tags assigned to the volume.
93              
94              
95             =head2 VolumeId => Str
96              
97             The ID of the volume.
98              
99              
100             =head2 VolumeType => Str
101              
102             The volume type. This can be C<gp2> for General Purpose SSD, C<io1> for
103             Provisioned IOPS SSD, C<st1> for Throughput Optimized HDD, C<sc1> for
104             Cold HDD, or C<standard> for Magnetic volumes.
105              
106             Valid values are: C<"standard">, C<"io1">, C<"gp2">, C<"sc1">, C<"st1">
107             =head2 _request_id => Str
108              
109              
110             =cut
111