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

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EC2::DescribeClientVpnTargetNetworks;
3 use Moose;
4 has AssociationIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5 has ClientVpnEndpointId => (is => 'ro', isa => 'Str', required => 1);
6 has DryRun => (is => 'ro', isa => 'Bool');
7 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
8 has MaxResults => (is => 'ro', isa => 'Int');
9 has NextToken => (is => 'ro', isa => 'Str');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeClientVpnTargetNetworks');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeClientVpnTargetNetworksResult');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::EC2::DescribeClientVpnTargetNetworks - Arguments for method DescribeClientVpnTargetNetworks on L<Paws::EC2>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method DescribeClientVpnTargetNetworks on the
27 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
28 as arguments to method DescribeClientVpnTargetNetworks.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeClientVpnTargetNetworks.
31  
32 =head1 SYNOPSIS
33  
34 my $ec2 = Paws->service('EC2');
35 my $DescribeClientVpnTargetNetworksResult =
36 $ec2->DescribeClientVpnTargetNetworks(
37 ClientVpnEndpointId => 'MyClientVpnEndpointId',
38 AssociationIds => [ 'MyString', ... ], # OPTIONAL
39 DryRun => 1, # OPTIONAL
40 Filters => [
41 {
42 Name => 'MyString',
43 Values => [ 'MyString', ... ],
44 },
45 ...
46 ], # OPTIONAL
47 MaxResults => 1, # OPTIONAL
48 NextToken => 'MyNextToken', # OPTIONAL
49 );
50  
51 # Results:
52 my $ClientVpnTargetNetworks =
53 $DescribeClientVpnTargetNetworksResult->ClientVpnTargetNetworks;
54 my $NextToken = $DescribeClientVpnTargetNetworksResult->NextToken;
55  
56 # Returns a L<Paws::EC2::DescribeClientVpnTargetNetworksResult> object.
57  
58 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.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeClientVpnTargetNetworks>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 AssociationIds => ArrayRef[Str|Undef]
65  
66 The IDs of the target network associations.
67  
68  
69  
70 =head2 B<REQUIRED> ClientVpnEndpointId => Str
71  
72 The ID of the Client VPN endpoint.
73  
74  
75  
76 =head2 DryRun => Bool
77  
78 Checks whether you have the required permissions for the action,
79 without actually making the request, and provides an error response. If
80 you have the required permissions, the error response is
81 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
82  
83  
84  
85 =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
86  
87 One or more filters. Filter names and values are case-sensitive.
88  
89 =over
90  
91 =item *
92  
93 C<association-id> - The ID of the association.
94  
95 =item *
96  
97 C<target-network-id> - The ID of the subnet specified as the target
98 network.
99  
100 =item *
101  
102 C<vpc-id> - The ID of the VPC in which the target network is located.
103  
104 =back
105  
106  
107  
108  
109 =head2 MaxResults => Int
110  
111 The maximum number of results to return for the request in a single
112 page. The remaining results can be seen by sending another request with
113 the nextToken value.
114  
115  
116  
117 =head2 NextToken => Str
118  
119 The token to retrieve the next page of results.
120  
121  
122  
123  
124 =head1 SEE ALSO
125  
126 This class forms part of L<Paws>, documenting arguments for method DescribeClientVpnTargetNetworks in L<Paws::EC2>
127  
128 =head1 BUGS and CONTRIBUTIONS
129  
130 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
131  
132 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
133  
134 =cut
135