File Coverage

blib/lib/Paws/EC2/CreateCustomerGateway.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::EC2::CreateCustomerGateway;
3 1     1   647 use Moose;
  1     1   6  
  1         12  
  1         839  
  1         4  
  1         18  
4             has BgpAsn => (is => 'ro', isa => 'Int', required => 1);
5             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
6             has PublicIp => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'IpAddress' , required => 1);
7             has Type => (is => 'ro', isa => 'Str', required => 1);
8              
9 1     1   11267 use MooseX::ClassAttribute;
  1     1   6  
  1         13  
  1         21444  
  1         6  
  1         15  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateCustomerGateway');
12             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::CreateCustomerGatewayResult');
13             class_has _result_key => (isa => 'Str', is => 'ro');
14             1;
15              
16             ### main pod documentation begin ###
17              
18             =head1 NAME
19              
20             Paws::EC2::CreateCustomerGateway - Arguments for method CreateCustomerGateway on Paws::EC2
21              
22             =head1 DESCRIPTION
23              
24             This class represents the parameters used for calling the method CreateCustomerGateway on the
25             Amazon Elastic Compute Cloud service. Use the attributes of this class
26             as arguments to method CreateCustomerGateway.
27              
28             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCustomerGateway.
29              
30             As an example:
31              
32             $service_obj->CreateCustomerGateway(Att1 => $value1, Att2 => $value2, ...);
33              
34             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.
35              
36             =head1 ATTRIBUTES
37              
38              
39             =head2 B<REQUIRED> BgpAsn => Int
40              
41             For devices that support BGP, the customer gateway's BGP ASN.
42              
43             Default: 65000
44              
45              
46              
47             =head2 DryRun => Bool
48              
49             Checks whether you have the required permissions for the action,
50             without actually making the request, and provides an error response. If
51             you have the required permissions, the error response is
52             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
53              
54              
55              
56             =head2 B<REQUIRED> PublicIp => Str
57              
58             The Internet-routable IP address for the customer gateway's outside
59             interface. The address must be static.
60              
61              
62              
63             =head2 B<REQUIRED> Type => Str
64              
65             The type of VPN connection that this customer gateway supports
66             (C<ipsec.1>).
67              
68             Valid values are: C<"ipsec.1">
69              
70              
71             =head1 SEE ALSO
72              
73             This class forms part of L<Paws>, documenting arguments for method CreateCustomerGateway in L<Paws::EC2>
74              
75             =head1 BUGS and CONTRIBUTIONS
76              
77             The source code is located here: https://github.com/pplu/aws-sdk-perl
78              
79             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
80              
81             =cut
82