File Coverage

blib/lib/Paws/StorageGateway/CreateCachediSCSIVolume.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::StorageGateway::CreateCachediSCSIVolume;
3 1     1   453 use Moose;
  1         2  
  1         9  
4             has ClientToken => (is => 'ro', isa => 'Str', required => 1);
5             has GatewayARN => (is => 'ro', isa => 'Str', required => 1);
6             has NetworkInterfaceId => (is => 'ro', isa => 'Str', required => 1);
7             has SnapshotId => (is => 'ro', isa => 'Str');
8             has SourceVolumeARN => (is => 'ro', isa => 'Str');
9             has TargetName => (is => 'ro', isa => 'Str', required => 1);
10             has VolumeSizeInBytes => (is => 'ro', isa => 'Int', required => 1);
11              
12 1     1   7194 use MooseX::ClassAttribute;
  1         3  
  1         9  
13              
14             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateCachediSCSIVolume');
15             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::StorageGateway::CreateCachediSCSIVolumeOutput');
16             class_has _result_key => (isa => 'Str', is => 'ro');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::StorageGateway::CreateCachediSCSIVolume - Arguments for method CreateCachediSCSIVolume on Paws::StorageGateway
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method CreateCachediSCSIVolume on the
28             AWS Storage Gateway service. Use the attributes of this class
29             as arguments to method CreateCachediSCSIVolume.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCachediSCSIVolume.
32              
33             As an example:
34              
35             $service_obj->CreateCachediSCSIVolume(Att1 => $value1, Att2 => $value2, ...);
36              
37             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> ClientToken => Str
43              
44              
45              
46              
47              
48             =head2 B<REQUIRED> GatewayARN => Str
49              
50              
51              
52              
53              
54             =head2 B<REQUIRED> NetworkInterfaceId => Str
55              
56              
57              
58              
59              
60             =head2 SnapshotId => Str
61              
62              
63              
64              
65              
66             =head2 SourceVolumeARN => Str
67              
68             The ARN for an existing volume. Specifying this ARN makes the new
69             volume into an exact copy of the specified existing volume's latest
70             recovery point. The C<VolumeSizeInBytes> value for this new volume must
71             be equal to or larger than the size of the existing volume, in bytes.
72              
73              
74              
75             =head2 B<REQUIRED> TargetName => Str
76              
77              
78              
79              
80              
81             =head2 B<REQUIRED> VolumeSizeInBytes => Int
82              
83              
84              
85              
86              
87              
88             =head1 SEE ALSO
89              
90             This class forms part of L<Paws>, documenting arguments for method CreateCachediSCSIVolume in L<Paws::StorageGateway>
91              
92             =head1 BUGS and CONTRIBUTIONS
93              
94             The source code is located here: https://github.com/pplu/aws-sdk-perl
95              
96             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
97              
98             =cut
99