line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::Lightsail::InstancePortState; |
2
|
1
|
|
|
1
|
|
410
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
3
|
|
|
|
|
|
|
has FromPort => (is => 'ro', isa => 'Int', request_name => 'fromPort', traits => ['NameInRequest']); |
4
|
|
|
|
|
|
|
has Protocol => (is => 'ro', isa => 'Str', request_name => 'protocol', traits => ['NameInRequest']); |
5
|
|
|
|
|
|
|
has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']); |
6
|
|
|
|
|
|
|
has ToPort => (is => 'ro', isa => 'Int', request_name => 'toPort', traits => ['NameInRequest']); |
7
|
|
|
|
|
|
|
1; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
### main pod documentation begin ### |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Paws::Lightsail::InstancePortState |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 USAGE |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
This class represents one of two things: |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
22
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::Lightsail::InstancePortState object: |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { FromPort => $value, ..., ToPort => $value }); |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head3 Results returned from an API call |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::InstancePortState object: |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
33
|
|
|
|
|
|
|
$result->Att1->FromPort |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
=head1 DESCRIPTION |
36
|
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
Describes the port state. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head2 FromPort => Int |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
The first port in the range. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=head2 Protocol => Str |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
The protocol being used. Can be one of the following. |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
=over |
52
|
|
|
|
|
|
|
|
53
|
|
|
|
|
|
|
=item * |
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
C<tcp> - Transmission Control Protocol (TCP) provides reliable, |
56
|
|
|
|
|
|
|
ordered, and error-checked delivery of streamed data between |
57
|
|
|
|
|
|
|
applications running on hosts communicating by an IP network. If you |
58
|
|
|
|
|
|
|
have an application that doesn't require reliable data stream service, |
59
|
|
|
|
|
|
|
use UDP instead. |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
=item * |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
C<all> - All transport layer protocol types. For more general |
64
|
|
|
|
|
|
|
information, see Transport layer on Wikipedia. |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=item * |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
C<udp> - With User Datagram Protocol (UDP), computer applications can |
69
|
|
|
|
|
|
|
send messages (or datagrams) to other hosts on an Internet Protocol |
70
|
|
|
|
|
|
|
(IP) network. Prior communications are not required to set up |
71
|
|
|
|
|
|
|
transmission channels or data paths. Applications that don't require |
72
|
|
|
|
|
|
|
reliable data stream service can use UDP, which provides a |
73
|
|
|
|
|
|
|
connectionless datagram service that emphasizes reduced latency over |
74
|
|
|
|
|
|
|
reliability. If you do require reliable data stream service, use TCP |
75
|
|
|
|
|
|
|
instead. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=back |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 State => Str |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
Specifies whether the instance port is C<open> or C<closed>. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 ToPort => Int |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
The last port in the range. |
89
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head1 SEE ALSO |
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail> |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
97
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
99
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
101
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=cut |
103
|
|
|
|
|
|
|
|