1
2package Paws::EC2::ImportVolume {
3  use Moose;
4  has AvailabilityZone => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'availabilityZone' , required => 1);
5  has Description => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'description' );
6  has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
7  has Image => (is => 'ro', isa => 'Paws::EC2::DiskImageDetail', traits => ['NameInRequest'], request_name => 'image' , required => 1);
8  has Volume => (is => 'ro', isa => 'Paws::EC2::VolumeDetail', traits => ['NameInRequest'], request_name => 'volume' , required => 1);
9
10  use MooseX::ClassAttribute;
11
12  class_has _api_call => (isa => 'Str', is => 'ro', default => 'ImportVolume');
13  class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::ImportVolumeResult');
14  class_has _result_key => (isa => 'Str', is => 'ro');
15}
161;
17
18### main pod documentation begin ###
19
20=head1 NAME
21
22Paws::EC2::ImportVolume - Arguments for method ImportVolume on Paws::EC2
23
24=head1 DESCRIPTION
25
26This class represents the parameters used for calling the method ImportVolume on the
27Amazon Elastic Compute Cloud service. Use the attributes of this class
28as arguments to method ImportVolume.
29
30You shouln't make instances of this class. Each attribute should be used as a named argument in the call to ImportVolume.
31
32As an example:
33
34  $service_obj->ImportVolume(Att1 => $value1, Att2 => $value2, ...);
35
36Values 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.
37
38=head1 ATTRIBUTES
39
40=head2 B<REQUIRED> AvailabilityZone => Str
41
42
43
44The Availability Zone for the resulting EBS volume.
45
46
47
48
49
50
51
52
53
54
55=head2 Description => Str
56
57
58
59A description of the volume.
60
61
62
63
64
65
66
67
68
69
70=head2 DryRun => Bool
71
72
73
74Checks whether you have the required permissions for the action,
75without actually making the request, and provides an error response. If
76you have the required permissions, the error response is
77C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
78
79
80
81
82
83
84
85
86
87
88=head2 B<REQUIRED> Image => Paws::EC2::DiskImageDetail
89
90
91
92The disk image.
93
94
95
96
97
98
99
100
101
102
103=head2 B<REQUIRED> Volume => Paws::EC2::VolumeDetail
104
105
106
107The volume size.
108
109
110
111
112
113
114
115
116
117
118
119
120=head1 SEE ALSO
121
122This class forms part of L<Paws>, documenting arguments for method ImportVolume in L<Paws::EC2>
123
124=head1 BUGS and CONTRIBUTIONS
125
126The source code is located here: https://github.com/pplu/aws-sdk-perl
127
128Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
129
130=cut
131
132