File Coverage

blib/lib/Paws/EC2/ReplaceRoute.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              
2             package Paws::EC2::ReplaceRoute;
3 1     1   394 use Moose;
  1         3  
  1         8  
4             has DestinationCidrBlock => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destinationCidrBlock' );
5             has DestinationIpv6CidrBlock => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destinationIpv6CidrBlock' );
6             has DryRun => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'dryRun' );
7             has EgressOnlyInternetGatewayId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'egressOnlyInternetGatewayId' );
8             has GatewayId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'gatewayId' );
9             has InstanceId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'instanceId' );
10             has NatGatewayId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'natGatewayId' );
11             has NetworkInterfaceId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'networkInterfaceId' );
12             has RouteTableId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'routeTableId' , required => 1);
13             has VpcPeeringConnectionId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'vpcPeeringConnectionId' );
14              
15 1     1   6488 use MooseX::ClassAttribute;
  1         2  
  1         10  
16              
17             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ReplaceRoute');
18             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
19             class_has _result_key => (isa => 'Str', is => 'ro');
20             1;
21              
22             ### main pod documentation begin ###
23              
24             =head1 NAME
25              
26             Paws::EC2::ReplaceRoute - Arguments for method ReplaceRoute on Paws::EC2
27              
28             =head1 DESCRIPTION
29              
30             This class represents the parameters used for calling the method ReplaceRoute on the
31             Amazon Elastic Compute Cloud service. Use the attributes of this class
32             as arguments to method ReplaceRoute.
33              
34             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ReplaceRoute.
35              
36             As an example:
37              
38             $service_obj->ReplaceRoute(Att1 => $value1, Att2 => $value2, ...);
39              
40             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.
41              
42             =head1 ATTRIBUTES
43              
44              
45             =head2 DestinationCidrBlock => Str
46              
47             The IPv4 CIDR address block used for the destination match. The value
48             you provide must match the CIDR of an existing route in the table.
49              
50              
51              
52             =head2 DestinationIpv6CidrBlock => Str
53              
54             The IPv6 CIDR address block used for the destination match. The value
55             you provide must match the CIDR of an existing route in the table.
56              
57              
58              
59             =head2 DryRun => Bool
60              
61             Checks whether you have the required permissions for the action,
62             without actually making the request, and provides an error response. If
63             you have the required permissions, the error response is
64             C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
65              
66              
67              
68             =head2 EgressOnlyInternetGatewayId => Str
69              
70             [IPv6 traffic only] The ID of an egress-only Internet gateway.
71              
72              
73              
74             =head2 GatewayId => Str
75              
76             The ID of an Internet gateway or virtual private gateway.
77              
78              
79              
80             =head2 InstanceId => Str
81              
82             The ID of a NAT instance in your VPC.
83              
84              
85              
86             =head2 NatGatewayId => Str
87              
88             [IPv4 traffic only] The ID of a NAT gateway.
89              
90              
91              
92             =head2 NetworkInterfaceId => Str
93              
94             The ID of a network interface.
95              
96              
97              
98             =head2 B<REQUIRED> RouteTableId => Str
99              
100             The ID of the route table.
101              
102              
103              
104             =head2 VpcPeeringConnectionId => Str
105              
106             The ID of a VPC peering connection.
107              
108              
109              
110              
111             =head1 SEE ALSO
112              
113             This class forms part of L<Paws>, documenting arguments for method ReplaceRoute in L<Paws::EC2>
114              
115             =head1 BUGS and CONTRIBUTIONS
116              
117             The source code is located here: https://github.com/pplu/aws-sdk-perl
118              
119             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
120              
121             =cut
122