blib/lib/Paws/DS/AddIpRoutes.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::DS::AddIpRoutes;
3 use Moose;
4 has DirectoryId => (is => 'ro', isa => 'Str', required => 1);
5 has IpRoutes => (is => 'ro', isa => 'ArrayRef[Paws::DS::IpRoute]', required => 1);
6 has UpdateSecurityGroupForDirectoryControllers => (is => 'ro', isa => 'Bool');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'AddIpRoutes');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::DS::AddIpRoutesResult');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::DS::AddIpRoutes - Arguments for method AddIpRoutes on L<Paws::DS>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method AddIpRoutes on the
24 L<AWS Directory Service|Paws::DS> service. Use the attributes of this class
25 as arguments to method AddIpRoutes.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to AddIpRoutes.
28  
29 =head1 SYNOPSIS
30  
31 my $ds = Paws->service('DS');
32 my $AddIpRoutesResult = $ds->AddIpRoutes(
33 DirectoryId => 'MyDirectoryId',
34 IpRoutes => [
35 {
36 CidrIp => 'MyCidrIp', # OPTIONAL
37 Description => 'MyDescription', # max: 128; OPTIONAL
38 },
39 ...
40 ],
41 UpdateSecurityGroupForDirectoryControllers => 1, # OPTIONAL
42 );
43  
44 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.
45 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ds/AddIpRoutes>
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 B<REQUIRED> DirectoryId => Str
51  
52 Identifier (ID) of the directory to which to add the address block.
53  
54  
55  
56 =head2 B<REQUIRED> IpRoutes => ArrayRef[L<Paws::DS::IpRoute>]
57  
58 IP address blocks, using CIDR format, of the traffic to route. This is
59 often the IP address block of the DNS server used for your on-premises
60 domain.
61  
62  
63  
64 =head2 UpdateSecurityGroupForDirectoryControllers => Bool
65  
66 If set to true, updates the inbound and outbound rules of the security
67 group that has the description: "AWS created security group for
68 I<directory ID> directory controllers." Following are the new rules:
69  
70 Inbound:
71  
72 =over
73  
74 =item *
75  
76 Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
77  
78 =item *
79  
80 Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0
81  
82 =item *
83  
84 Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0
85  
86 =item *
87  
88 Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0
89  
90 =item *
91  
92 Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0
93  
94 =item *
95  
96 Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0
97  
98 =item *
99  
100 Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
101  
102 =item *
103  
104 Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0
105  
106 =item *
107  
108 Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0
109  
110 =item *
111  
112 Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0
113  
114 =item *
115  
116 Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0
117  
118 =item *
119  
120 Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source:
121 0.0.0.0/0
122  
123 =item *
124  
125 Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source:
126 0.0.0.0/0
127  
128 =item *
129  
130 Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
131  
132 =item *
133  
134 Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
135  
136 =item *
137  
138 Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
139  
140 =item *
141  
142 Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0
143  
144 =back
145  
146 Outbound:
147  
148 =over
149  
150 =item *
151  
152 Type: All traffic, Protocol: All, Range: All, Destination: 0.0.0.0/0
153  
154 =back
155  
156 These security rules impact an internal network interface that is not
157 exposed publicly.
158  
159  
160  
161  
162 =head1 SEE ALSO
163  
164 This class forms part of L<Paws>, documenting arguments for method AddIpRoutes in L<Paws::DS>
165  
166 =head1 BUGS and CONTRIBUTIONS
167  
168 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
169  
170 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
171  
172 =cut
173