blib/lib/Paws/EC2/ExportTransitGatewayRoutes.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EC2::ExportTransitGatewayRoutes;
3 use Moose;
4 has DryRun => (is => 'ro', isa => 'Bool');
5 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
6 has S3Bucket => (is => 'ro', isa => 'Str', required => 1);
7 has TransitGatewayRouteTableId => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ExportTransitGatewayRoutes');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::ExportTransitGatewayRoutesResult');
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::ExportTransitGatewayRoutes - Arguments for method ExportTransitGatewayRoutes on L<Paws::EC2>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ExportTransitGatewayRoutes on the
25 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
26 as arguments to method ExportTransitGatewayRoutes.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ExportTransitGatewayRoutes.
29  
30 =head1 SYNOPSIS
31  
32 my $ec2 = Paws->service('EC2');
33 my $ExportTransitGatewayRoutesResult = $ec2->ExportTransitGatewayRoutes(
34 S3Bucket => 'MyString',
35 TransitGatewayRouteTableId => 'MyTransitGatewayRouteTableId',
36 DryRun => 1, # OPTIONAL
37 Filters => [
38 {
39 Name => 'MyString',
40 Values => [ 'MyString', ... ], # OPTIONAL
41 },
42 ...
43 ], # OPTIONAL
44 );
45  
46 # Results:
47 my $S3Location = $ExportTransitGatewayRoutesResult->S3Location;
48  
49 # Returns a L<Paws::EC2::ExportTransitGatewayRoutesResult> object.
50  
51 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.
52 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/ExportTransitGatewayRoutes>
53  
54 =head1 ATTRIBUTES
55  
56  
57 =head2 DryRun => Bool
58  
59 Checks whether you have the required permissions for the action,
60 without actually making the request, and provides an error response. If
61 you have the required permissions, the error response is
62 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
63  
64  
65  
66 =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
67  
68 One or more filters. The possible values are:
69  
70 =over
71  
72 =item *
73  
74 C<attachment.transit-gateway-attachment-id> - The id of the transit
75 gateway attachment.
76  
77 =item *
78  
79 C<attachment.resource-id> - The resource id of the transit gateway
80 attachment.
81  
82 =item *
83  
84 C<route-search.exact-match> - The exact match of the specified filter.
85  
86 =item *
87  
88 C<route-search.longest-prefix-match> - The longest prefix that matches
89 the route.
90  
91 =item *
92  
93 C<route-search.subnet-of-match> - The routes with a subnet that match
94 the specified CIDR filter.
95  
96 =item *
97  
98 C<route-search.supernet-of-match> - The routes with a CIDR that
99 encompass the CIDR filter. For example, if you have 10.0.1.0/29 and
100 10.0.1.0/31 routes in your route table and you specify
101 supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.
102  
103 =item *
104  
105 C<state> - The state of the route (C<active> | C<blackhole>).
106  
107 =item *
108  
109 C<transit-gateway-route-destination-cidr-block> - The CIDR range.
110  
111 =item *
112  
113 C<type> - The type of route (C<propagated> | C<static>).
114  
115 =back
116  
117  
118  
119  
120 =head2 B<REQUIRED> S3Bucket => Str
121  
122 The name of the S3 bucket.
123  
124  
125  
126 =head2 B<REQUIRED> TransitGatewayRouteTableId => Str
127  
128 The ID of the route table.
129  
130  
131  
132  
133 =head1 SEE ALSO
134  
135 This class forms part of L<Paws>, documenting arguments for method ExportTransitGatewayRoutes in L<Paws::EC2>
136  
137 =head1 BUGS and CONTRIBUTIONS
138  
139 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
140  
141 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
142  
143 =cut
144