blib/lib/Paws/Route53Resolver/ResolverEndpoint.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Route53Resolver::ResolverEndpoint;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str');
5 has CreationTime => (is => 'ro', isa => 'Str');
6 has CreatorRequestId => (is => 'ro', isa => 'Str');
7 has Direction => (is => 'ro', isa => 'Str');
8 has HostVPCId => (is => 'ro', isa => 'Str');
9 has Id => (is => 'ro', isa => 'Str');
10 has IpAddressCount => (is => 'ro', isa => 'Int');
11 has ModificationTime => (is => 'ro', isa => 'Str');
12 has Name => (is => 'ro', isa => 'Str');
13 has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
14 has Status => (is => 'ro', isa => 'Str');
15 has StatusMessage => (is => 'ro', isa => 'Str');
16  
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::Route53Resolver::ResolverEndpoint
24  
25 =head1 USAGE
26  
27 This class represents one of two things:
28  
29 =head3 Arguments in a call to a service
30  
31 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
32 Each attribute should be used as a named argument in the calls that expect this type of object.
33  
34 As an example, if Att1 is expected to be a Paws::Route53Resolver::ResolverEndpoint object:
35  
36 $service_obj->Method(Att1 => { Arn => $value, ..., StatusMessage => $value });
37  
38 =head3 Results returned from an API call
39  
40 Use accessors for each attribute. If Att1 is expected to be an Paws::Route53Resolver::ResolverEndpoint object:
41  
42 $result = $service_obj->Method(...);
43 $result->Att1->Arn
44  
45 =head1 DESCRIPTION
46  
47 In the response to a CreateResolverEndpoint
48 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html),
49 DeleteResolverEndpoint
50 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DeleteResolverEndpoint.html),
51 GetResolverEndpoint
52 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html),
53 ListResolverEndpoints
54 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html),
55 or UpdateResolverEndpoint
56 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverEndpoint.html)
57 request, a complex type that contains settings for an existing inbound
58 or outbound Resolver endpoint.
59  
60 =head1 ATTRIBUTES
61  
62  
63 =head2 Arn => Str
64  
65 The ARN (Amazon Resource Name) for the Resolver endpoint.
66  
67  
68 =head2 CreationTime => Str
69  
70 The date and time that the endpoint was created, in Unix time format
71 and Coordinated Universal Time (UTC).
72  
73  
74 =head2 CreatorRequestId => Str
75  
76 A unique string that identifies the request that created the Resolver
77 endpoint. The C<CreatorRequestId> allows failed requests to be retried
78 without the risk of running the operation twice.
79  
80  
81 =head2 Direction => Str
82  
83 Indicates whether the Resolver endpoint allows inbound or outbound DNS
84 queries:
85  
86 =over
87  
88 =item *
89  
90 C<INBOUND>: allows DNS queries to your VPC from your network
91  
92 =item *
93  
94 C<OUTBOUND>: allows DNS queries from your VPC to your network
95  
96 =back
97  
98  
99  
100 =head2 HostVPCId => Str
101  
102 The ID of the VPC that you want to create the Resolver endpoint in.
103  
104  
105 =head2 Id => Str
106  
107 The ID of the Resolver endpoint.
108  
109  
110 =head2 IpAddressCount => Int
111  
112 The number of IP addresses that the Resolver endpoint can use for DNS
113 queries.
114  
115  
116 =head2 ModificationTime => Str
117  
118 The date and time that the endpoint was last modified, in Unix time
119 format and Coordinated Universal Time (UTC).
120  
121  
122 =head2 Name => Str
123  
124 The name that you assigned to the Resolver endpoint when you submitted
125 a CreateResolverEndpoint
126 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html)
127 request.
128  
129  
130 =head2 SecurityGroupIds => ArrayRef[Str|Undef]
131  
132 The ID of one or more security groups that control access to this VPC.
133 The security group must include one or more inbound rules (for inbound
134 endpoints) or outbound rules (for outbound endpoints). Inbound and
135 outbound rules must allow TCP and UDP access. For inbound access, open
136 port 53. For outbound access, open the port that you're using for DNS
137 queries on your network.
138  
139  
140 =head2 Status => Str
141  
142 A code that specifies the current status of the Resolver endpoint.
143 Valid values include the following:
144  
145 =over
146  
147 =item *
148  
149 C<CREATING>: Resolver is creating and configuring one or more Amazon
150 VPC network interfaces for this endpoint.
151  
152 =item *
153  
154 C<OPERATIONAL>: The Amazon VPC network interfaces for this endpoint are
155 correctly configured and able to pass inbound or outbound DNS queries
156 between your network and Resolver.
157  
158 =item *
159  
160 C<UPDATING>: Resolver is associating or disassociating one or more
161 network interfaces with this endpoint.
162  
163 =item *
164  
165 C<AUTO_RECOVERING>: Resolver is trying to recover one or more of the
166 network interfaces that are associated with this endpoint. During the
167 recovery process, the endpoint functions with limited capacity because
168 of the limit on the number of DNS queries per IP address (per network
169 interface). For the current limit, see Limits on Route 53 Resolver
170 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-entities-resolver).
171  
172 =item *
173  
174 C<ACTION_NEEDED>: This endpoint is unhealthy, and Resolver can't
175 automatically recover it. To resolve the problem, we recommend that you
176 check each IP address that you associated with the endpoint. For each
177 IP address that isn't available, add another IP address and then delete
178 the IP address that isn't available. (An endpoint must always include
179 at least two IP addresses.) A status of C<ACTION_NEEDED> can have a
180 variety of causes. Here are two common causes:
181  
182 =over
183  
184 =item *
185  
186 One or more of the network interfaces that are associated with the
187 endpoint were deleted using Amazon VPC.
188  
189 =item *
190  
191 The network interface couldn't be created for some reason that's
192 outside the control of Resolver.
193  
194 =back
195  
196 =item *
197  
198 C<DELETING>: Resolver is deleting this endpoint and the associated
199 network interfaces.
200  
201 =back
202  
203  
204  
205 =head2 StatusMessage => Str
206  
207 A detailed description of the status of the Resolver endpoint.
208  
209  
210  
211 =head1 SEE ALSO
212  
213 This class forms part of L<Paws>, describing an object used in L<Paws::Route53Resolver>
214  
215 =head1 BUGS and CONTRIBUTIONS
216  
217 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
218  
219 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
220  
221 =cut
222