File Coverage

blib/lib/Paws/EC2/Snapshot.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::Snapshot;
3 1     1   291 use Moose;
  1     1   3  
  1         6  
  1         496  
  1         2  
  1         12  
4             has DataEncryptionKeyId => (is => 'ro', isa => 'Str', request_name => 'dataEncryptionKeyId', traits => ['NameInRequest',]);
5             has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest',]);
6             has Encrypted => (is => 'ro', isa => 'Bool', request_name => 'encrypted', traits => ['NameInRequest',]);
7             has KmsKeyId => (is => 'ro', isa => 'Str', request_name => 'kmsKeyId', traits => ['NameInRequest',]);
8             has OwnerAlias => (is => 'ro', isa => 'Str', request_name => 'ownerAlias', traits => ['NameInRequest',]);
9             has OwnerId => (is => 'ro', isa => 'Str', request_name => 'ownerId', traits => ['NameInRequest',]);
10             has Progress => (is => 'ro', isa => 'Str', request_name => 'progress', traits => ['NameInRequest',]);
11             has SnapshotId => (is => 'ro', isa => 'Str', request_name => 'snapshotId', traits => ['NameInRequest',]);
12             has StartTime => (is => 'ro', isa => 'Str', request_name => 'startTime', traits => ['NameInRequest',]);
13             has State => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest',]);
14             has StateMessage => (is => 'ro', isa => 'Str', request_name => 'statusMessage', traits => ['NameInRequest',]);
15             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest',]);
16             has VolumeId => (is => 'ro', isa => 'Str', request_name => 'volumeId', traits => ['NameInRequest',]);
17             has VolumeSize => (is => 'ro', isa => 'Int', request_name => 'volumeSize', traits => ['NameInRequest',]);
18              
19             has _request_id => (is => 'ro', isa => 'Str');
20             1;
21              
22             ### main pod documentation begin ###
23              
24             =head1 NAME
25              
26             Paws::EC2::Snapshot
27              
28             =head1 ATTRIBUTES
29              
30              
31             =head2 DataEncryptionKeyId => Str
32              
33             The data encryption key identifier for the snapshot. This value is a
34             unique identifier that corresponds to the data encryption key that was
35             used to encrypt the original volume or snapshot copy. Because data
36             encryption keys are inherited by volumes created from snapshots, and
37             vice versa, if snapshots share the same data encryption key identifier,
38             then they belong to the same volume/snapshot lineage. This parameter is
39             only returned by the DescribeSnapshots API operation.
40              
41              
42             =head2 Description => Str
43              
44             The description for the snapshot.
45              
46              
47             =head2 Encrypted => Bool
48              
49             Indicates whether the snapshot is encrypted.
50              
51              
52             =head2 KmsKeyId => Str
53              
54             The full ARN of the AWS Key Management Service (AWS KMS) customer
55             master key (CMK) that was used to protect the volume encryption key for
56             the parent volume.
57              
58              
59             =head2 OwnerAlias => Str
60              
61             Value from an Amazon-maintained list (C<amazon> | C<aws-marketplace> |
62             C<microsoft>) of snapshot owners. Not to be confused with the
63             user-configured AWS account alias, which is set from the IAM console.
64              
65              
66             =head2 OwnerId => Str
67              
68             The AWS account ID of the EBS snapshot owner.
69              
70              
71             =head2 Progress => Str
72              
73             The progress of the snapshot, as a percentage.
74              
75              
76             =head2 SnapshotId => Str
77              
78             The ID of the snapshot. Each snapshot receives a unique identifier when
79             it is created.
80              
81              
82             =head2 StartTime => Str
83              
84             The time stamp when the snapshot was initiated.
85              
86              
87             =head2 State => Str
88              
89             The snapshot state.
90              
91             Valid values are: C<"pending">, C<"completed">, C<"error">
92             =head2 StateMessage => Str
93              
94             Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot
95             copy operation fails (for example, if the proper AWS Key Management
96             Service (AWS KMS) permissions are not obtained) this field displays
97             error state details to help you diagnose why the error occurred. This
98             parameter is only returned by the DescribeSnapshots API operation.
99              
100              
101             =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
102              
103             Any tags assigned to the snapshot.
104              
105              
106             =head2 VolumeId => Str
107              
108             The ID of the volume that was used to create the snapshot. Snapshots
109             created by the CopySnapshot action have an arbitrary volume ID that
110             should not be used for any purpose.
111              
112              
113             =head2 VolumeSize => Int
114              
115             The size of the volume, in GiB.
116              
117              
118             =head2 _request_id => Str
119              
120              
121             =cut
122