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

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EC2::ModifyManagedPrefixList;
3 use Moose;
4 has AddEntries => (is => 'ro', isa => 'ArrayRef[Paws::EC2::AddPrefixListEntry]', traits => ['NameInRequest'], request_name => 'AddEntry' );
5 has CurrentVersion => (is => 'ro', isa => 'Int');
6 has DryRun => (is => 'ro', isa => 'Bool');
7 has PrefixListId => (is => 'ro', isa => 'Str', required => 1);
8 has PrefixListName => (is => 'ro', isa => 'Str');
9 has RemoveEntries => (is => 'ro', isa => 'ArrayRef[Paws::EC2::RemovePrefixListEntry]', traits => ['NameInRequest'], request_name => 'RemoveEntry' );
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ModifyManagedPrefixList');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EC2::ModifyManagedPrefixListResult');
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::ModifyManagedPrefixList - Arguments for method ModifyManagedPrefixList on L<Paws::EC2>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method ModifyManagedPrefixList on the
27 L<Amazon Elastic Compute Cloud|Paws::EC2> service. Use the attributes of this class
28 as arguments to method ModifyManagedPrefixList.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ModifyManagedPrefixList.
31  
32 =head1 SYNOPSIS
33  
34 my $ec2 = Paws->service('EC2');
35 my $ModifyManagedPrefixListResult = $ec2->ModifyManagedPrefixList(
36 PrefixListId => 'MyPrefixListResourceId',
37 AddEntries => [
38 {
39 Cidr => 'MyString',
40 Description => 'MyString',
41 },
42 ...
43 ], # OPTIONAL
44 CurrentVersion => 1, # OPTIONAL
45 DryRun => 1, # OPTIONAL
46 PrefixListName => 'MyString', # OPTIONAL
47 RemoveEntries => [
48 {
49 Cidr => 'MyString',
50  
51 },
52 ...
53 ], # OPTIONAL
54 );
55  
56 # Results:
57 my $PrefixList = $ModifyManagedPrefixListResult->PrefixList;
58  
59 # Returns a L<Paws::EC2::ModifyManagedPrefixListResult> object.
60  
61 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.
62 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ec2/ModifyManagedPrefixList>
63  
64 =head1 ATTRIBUTES
65  
66  
67 =head2 AddEntries => ArrayRef[L<Paws::EC2::AddPrefixListEntry>]
68  
69 One or more entries to add to the prefix list.
70  
71  
72  
73 =head2 CurrentVersion => Int
74  
75 The current version of the prefix list.
76  
77  
78  
79 =head2 DryRun => Bool
80  
81 Checks whether you have the required permissions for the action,
82 without actually making the request, and provides an error response. If
83 you have the required permissions, the error response is
84 C<DryRunOperation>. Otherwise, it is C<UnauthorizedOperation>.
85  
86  
87  
88 =head2 B<REQUIRED> PrefixListId => Str
89  
90 The ID of the prefix list.
91  
92  
93  
94 =head2 PrefixListName => Str
95  
96 A name for the prefix list.
97  
98  
99  
100 =head2 RemoveEntries => ArrayRef[L<Paws::EC2::RemovePrefixListEntry>]
101  
102 One or more entries to remove from the prefix list.
103  
104  
105  
106  
107 =head1 SEE ALSO
108  
109 This class forms part of L<Paws>, documenting arguments for method ModifyManagedPrefixList in L<Paws::EC2>
110  
111 =head1 BUGS and CONTRIBUTIONS
112  
113 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
114  
115 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
116  
117 =cut
118