File Coverage

blib/lib/Paws/EC2/CustomerGateway.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             package Paws::EC2::CustomerGateway;
2 1     1   282 use Moose;
  1     1   3  
  1         5  
  1         531  
  1         3  
  1         9  
3             has BgpAsn => (is => 'ro', isa => 'Str', request_name => 'bgpAsn', traits => ['NameInRequest']);
4             has CustomerGatewayId => (is => 'ro', isa => 'Str', request_name => 'customerGatewayId', traits => ['NameInRequest']);
5             has IpAddress => (is => 'ro', isa => 'Str', request_name => 'ipAddress', traits => ['NameInRequest']);
6             has State => (is => 'ro', isa => 'Str', request_name => 'state', traits => ['NameInRequest']);
7             has Tags => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Tag]', request_name => 'tagSet', traits => ['NameInRequest']);
8             has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::EC2::CustomerGateway
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::EC2::CustomerGateway object:
27              
28             $service_obj->Method(Att1 => { BgpAsn => $value, ..., Type => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::CustomerGateway object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->BgpAsn
36              
37             =head1 DESCRIPTION
38              
39             This class has no description
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 BgpAsn => Str
45              
46             The customer gateway's Border Gateway Protocol (BGP) Autonomous System
47             Number (ASN).
48              
49              
50             =head2 CustomerGatewayId => Str
51              
52             The ID of the customer gateway.
53              
54              
55             =head2 IpAddress => Str
56              
57             The Internet-routable IP address of the customer gateway's outside
58             interface.
59              
60              
61             =head2 State => Str
62              
63             The current state of the customer gateway (C<pending | available |
64             deleting | deleted>).
65              
66              
67             =head2 Tags => ArrayRef[L<Paws::EC2::Tag>]
68              
69             Any tags assigned to the customer gateway.
70              
71              
72             =head2 Type => Str
73              
74             The type of VPN connection the customer gateway supports (C<ipsec.1>).
75              
76              
77              
78             =head1 SEE ALSO
79              
80             This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
81              
82             =head1 BUGS and CONTRIBUTIONS
83              
84             The source code is located here: https://github.com/pplu/aws-sdk-perl
85              
86             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
87              
88             =cut