line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
|
2
|
|
|
|
|
|
|
package Paws::Lightsail::CreateInstancesFromSnapshot; |
3
|
1
|
|
|
1
|
|
343
|
use Moose; |
|
1
|
|
|
|
|
6
|
|
|
1
|
|
|
|
|
8
|
|
4
|
|
|
|
|
|
|
has AvailabilityZone => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'availabilityZone' , required => 1); |
5
|
|
|
|
|
|
|
has BundleId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'bundleId' , required => 1); |
6
|
|
|
|
|
|
|
has InstanceNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'instanceNames' , required => 1); |
7
|
|
|
|
|
|
|
has InstanceSnapshotName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'instanceSnapshotName' , required => 1); |
8
|
|
|
|
|
|
|
has KeyPairName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'keyPairName' ); |
9
|
|
|
|
|
|
|
has UserData => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'userData' ); |
10
|
|
|
|
|
|
|
|
11
|
1
|
|
|
1
|
|
5722
|
use MooseX::ClassAttribute; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
10
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateInstancesFromSnapshot'); |
14
|
|
|
|
|
|
|
class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lightsail::CreateInstancesFromSnapshotResult'); |
15
|
|
|
|
|
|
|
class_has _result_key => (isa => 'Str', is => 'ro'); |
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
### main pod documentation begin ### |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Paws::Lightsail::CreateInstancesFromSnapshot - Arguments for method CreateInstancesFromSnapshot on Paws::Lightsail |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 DESCRIPTION |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
This class represents the parameters used for calling the method CreateInstancesFromSnapshot on the |
27
|
|
|
|
|
|
|
Amazon Lightsail service. Use the attributes of this class |
28
|
|
|
|
|
|
|
as arguments to method CreateInstancesFromSnapshot. |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateInstancesFromSnapshot. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
As an example: |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
$service_obj->CreateInstancesFromSnapshot(Att1 => $value1, Att2 => $value2, ...); |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
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. |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 B<REQUIRED> AvailabilityZone => Str |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
The Availability Zone where you want to create your instances. Use the |
44
|
|
|
|
|
|
|
following formatting: C<us-east-1a> (case sensitive). You can get a |
45
|
|
|
|
|
|
|
list of availability zones by using the get regions operation. Be sure |
46
|
|
|
|
|
|
|
to add the C<include availability zones> parameter to your request. |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head2 B<REQUIRED> BundleId => Str |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
The bundle of specification information for your virtual private server |
53
|
|
|
|
|
|
|
(or I<instance>), including the pricing plan (e.g., C<micro_1_0>). |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=head2 B<REQUIRED> InstanceNames => ArrayRef[Str|Undef] |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
The names for your new instances. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=head2 B<REQUIRED> InstanceSnapshotName => Str |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
The name of the instance snapshot on which you are basing your new |
66
|
|
|
|
|
|
|
instances. Use the get instance snapshots operation to return |
67
|
|
|
|
|
|
|
information about your existing snapshots. |
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head2 KeyPairName => Str |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
The name for your key pair. |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 UserData => Str |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
You can create a launch script that configures a server with additional |
80
|
|
|
|
|
|
|
user data. For example, C<apt-get E<ndash>y update>. |
81
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
Depending on the machine image you choose, the command to get software |
83
|
|
|
|
|
|
|
on your instance varies. Amazon Linux and CentOS use C<yum>, Debian and |
84
|
|
|
|
|
|
|
Ubuntu use C<apt-get>, and FreeBSD uses C<pkg>. For a complete list, |
85
|
|
|
|
|
|
|
see the Dev Guide. |
86
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
|
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
=head1 SEE ALSO |
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
This class forms part of L<Paws>, documenting arguments for method CreateInstancesFromSnapshot in L<Paws::Lightsail> |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
=cut |
101
|
|
|
|
|
|
|
|