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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EC2::DescribeNetworkInterfacePermissions;
3 use Moose;
4 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::EC2::Filter]', traits => ['NameInRequest'], request_name => 'Filter' );
5 has MaxResults => (is => 'ro', isa => 'Int');
6 has NetworkInterfacePermissionIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'NetworkInterfacePermissionId' );
7 has NextToken => (is => 'ro', isa => 'Str');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeNetworkInterfacePermissions');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::DescribeNetworkInterfacePermissionsResult');
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::DescribeNetworkInterfacePermissions - Arguments for method DescribeNetworkInterfacePermissions on L<Paws::EC2>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DescribeNetworkInterfacePermissions on the
25 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
26 as arguments to method DescribeNetworkInterfacePermissions.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeNetworkInterfacePermissions.
29  
30 =head1 SYNOPSIS
31  
32 my $ec2 = Paws->service('EC2');
33 my $DescribeNetworkInterfacePermissionsResult =
34 $ec2->DescribeNetworkInterfacePermissions(
35 Filters => [
36 {
37 Name => 'MyString', # OPTIONAL
38 Values => [
39 'MyString', ... # OPTIONAL
40 ], # OPTIONAL
41 },
42 ...
43 ], # OPTIONAL
44 MaxResults => 1, # OPTIONAL
45 NetworkInterfacePermissionIds =>
46 [ 'MyNetworkInterfacePermissionId', ... ], # OPTIONAL
47 NextToken => 'MyString', # OPTIONAL
48 );
49  
50 # Results:
51 my $NetworkInterfacePermissions =
52 $DescribeNetworkInterfacePermissionsResult->NetworkInterfacePermissions;
53 my $NextToken = $DescribeNetworkInterfacePermissionsResult->NextToken;
54  
55 # Returns a L<Paws::EC2::DescribeNetworkInterfacePermissionsResult> object.
56  
57 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.
58 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/DescribeNetworkInterfacePermissions>
59  
60 =head1 ATTRIBUTES
61  
62  
63 =head2 Filters => ArrayRef[L<Paws::EC2::Filter>]
64  
65 One or more filters.
66  
67 =over
68  
69 =item *
70  
71 C<network-interface-permission.network-interface-permission-id> - The
72 ID of the permission.
73  
74 =item *
75  
76 C<network-interface-permission.network-interface-id> - The ID of the
77 network interface.
78  
79 =item *
80  
81 C<network-interface-permission.aws-account-id> - The account ID.
82  
83 =item *
84  
85 C<network-interface-permission.aws-service> - The Amazon Web Service.
86  
87 =item *
88  
89 C<network-interface-permission.permission> - The type of permission
90 (C<INSTANCE-ATTACH> | C<EIP-ASSOCIATE>).
91  
92 =back
93  
94  
95  
96  
97 =head2 MaxResults => Int
98  
99 The maximum number of results to return in a single call. To retrieve
100 the remaining results, make another call with the returned C<NextToken>
101 value. If this parameter is not specified, up to 50 results are
102 returned by default.
103  
104  
105  
106 =head2 NetworkInterfacePermissionIds => ArrayRef[Str|Undef]
107  
108 One or more network interface permission IDs.
109  
110  
111  
112 =head2 NextToken => Str
113  
114 The token to request the next page of results.
115  
116  
117  
118  
119 =head1 SEE ALSO
120  
121 This class forms part of L<Paws>, documenting arguments for method DescribeNetworkInterfacePermissions in L<Paws::EC2>
122  
123 =head1 BUGS and CONTRIBUTIONS
124  
125 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
126  
127 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
128  
129 =cut
130