File Coverage

blib/lib/Paws/Lightsail/StaticIp.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Lightsail::StaticIp;
2 1     1   400 use Moose;
  1         3  
  1         7  
3             has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
4             has AttachedTo => (is => 'ro', isa => 'Str', request_name => 'attachedTo', traits => ['NameInRequest']);
5             has CreatedAt => (is => 'ro', isa => 'Str', request_name => 'createdAt', traits => ['NameInRequest']);
6             has IpAddress => (is => 'ro', isa => 'Str', request_name => 'ipAddress', traits => ['NameInRequest']);
7             has IsAttached => (is => 'ro', isa => 'Bool', request_name => 'isAttached', traits => ['NameInRequest']);
8             has Location => (is => 'ro', isa => 'Paws::Lightsail::ResourceLocation', request_name => 'location', traits => ['NameInRequest']);
9             has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
10             has ResourceType => (is => 'ro', isa => 'Str', request_name => 'resourceType', traits => ['NameInRequest']);
11             has SupportCode => (is => 'ro', isa => 'Str', request_name => 'supportCode', traits => ['NameInRequest']);
12             1;
13              
14             ### main pod documentation begin ###
15              
16             =head1 NAME
17              
18             Paws::Lightsail::StaticIp
19              
20             =head1 USAGE
21              
22             This class represents one of two things:
23              
24             =head3 Arguments in a call to a service
25              
26             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27             Each attribute should be used as a named argument in the calls that expect this type of object.
28              
29             As an example, if Att1 is expected to be a Paws::Lightsail::StaticIp object:
30              
31             $service_obj->Method(Att1 => { Arn => $value, ..., SupportCode => $value });
32              
33             =head3 Results returned from an API call
34              
35             Use accessors for each attribute. If Att1 is expected to be an Paws::Lightsail::StaticIp object:
36              
37             $result = $service_obj->Method(...);
38             $result->Att1->Arn
39              
40             =head1 DESCRIPTION
41              
42             Describes the static IP.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 Arn => Str
48              
49             The Amazon Resource Name (ARN) of the static IP (e.g.,
50             C<arn:aws:lightsail:us-east-1:123456789101:StaticIp/9cbb4a9e-f8e3-4dfe-b57e-12345EXAMPLE>).
51              
52              
53             =head2 AttachedTo => Str
54              
55             The instance where the static IP is attached (e.g.,
56             C<Amazon_Linux-1GB-Virginia-1>).
57              
58              
59             =head2 CreatedAt => Str
60              
61             The timestamp when the static IP was created (e.g., C<1479735304.222>).
62              
63              
64             =head2 IpAddress => Str
65              
66             The static IP address.
67              
68              
69             =head2 IsAttached => Bool
70              
71             A Boolean value indicating whether the static IP is attached.
72              
73              
74             =head2 Location => L<Paws::Lightsail::ResourceLocation>
75              
76             The region and Availability Zone where the static IP was created.
77              
78              
79             =head2 Name => Str
80              
81             The name of the static IP (e.g., C<StaticIP-Virginia-EXAMPLE>).
82              
83              
84             =head2 ResourceType => Str
85              
86             The resource type (usually C<StaticIp>).
87              
88              
89             =head2 SupportCode => Str
90              
91             The support code. Include this code in your email to support when you
92             have questions about an instance or another resource in Lightsail. This
93             code enables our support team to look up your Lightsail information
94             more easily.
95              
96              
97              
98             =head1 SEE ALSO
99              
100             This class forms part of L<Paws>, describing an object used in L<Paws::Lightsail>
101              
102             =head1 BUGS and CONTRIBUTIONS
103              
104             The source code is located here: https://github.com/pplu/aws-sdk-perl
105              
106             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
107              
108             =cut
109