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

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 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::ResolverRule;
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 DomainName => (is => 'ro', isa => 'Str');
8 has Id => (is => 'ro', isa => 'Str');
9 has ModificationTime => (is => 'ro', isa => 'Str');
10 has Name => (is => 'ro', isa => 'Str');
11 has OwnerId => (is => 'ro', isa => 'Str');
12 has ResolverEndpointId => (is => 'ro', isa => 'Str');
13 has RuleType => (is => 'ro', isa => 'Str');
14 has ShareStatus => (is => 'ro', isa => 'Str');
15 has Status => (is => 'ro', isa => 'Str');
16 has StatusMessage => (is => 'ro', isa => 'Str');
17 has TargetIps => (is => 'ro', isa => 'ArrayRef[Paws::Route53Resolver::TargetAddress]');
18  
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::Route53Resolver::ResolverRule
26  
27 =head1 USAGE
28  
29 This class represents one of two things:
30  
31 =head3 Arguments in a call to a service
32  
33 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34 Each attribute should be used as a named argument in the calls that expect this type of object.
35  
36 As an example, if Att1 is expected to be a Paws::Route53Resolver::ResolverRule object:
37  
38 $service_obj->Method(Att1 => { Arn => $value, ..., TargetIps => $value });
39  
40 =head3 Results returned from an API call
41  
42 Use accessors for each attribute. If Att1 is expected to be an Paws::Route53Resolver::ResolverRule object:
43  
44 $result = $service_obj->Method(...);
45 $result->Att1->Arn
46  
47 =head1 DESCRIPTION
48  
49 For queries that originate in your VPC, detailed information about a
50 Resolver rule, which specifies how to route DNS queries out of the VPC.
51 The C<ResolverRule> parameter appears in the response to a
52 CreateResolverRule
53 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverRule.html),
54 DeleteResolverRule
55 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_DeleteResolverRule.html),
56 GetResolverRule
57 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverRule.html),
58 ListResolverRules
59 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html),
60 or UpdateResolverRule
61 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_UpdateResolverRule.html)
62 request.
63  
64 =head1 ATTRIBUTES
65  
66  
67 =head2 Arn => Str
68  
69 The ARN (Amazon Resource Name) for the Resolver rule specified by
70 C<Id>.
71  
72  
73 =head2 CreationTime => Str
74  
75 The date and time that the Resolver rule was created, in Unix time
76 format and Coordinated Universal Time (UTC).
77  
78  
79 =head2 CreatorRequestId => Str
80  
81 A unique string that you specified when you created the Resolver rule.
82 C<CreatorRequestId> identifies the request and allows failed requests
83 to be retried without the risk of running the operation twice.
84  
85  
86 =head2 DomainName => Str
87  
88 DNS queries for this domain name are forwarded to the IP addresses that
89 are specified in C<TargetIps>. If a query matches multiple Resolver
90 rules (example.com and www.example.com), the query is routed using the
91 Resolver rule that contains the most specific domain name
92 (www.example.com).
93  
94  
95 =head2 Id => Str
96  
97 The ID that Resolver assigned to the Resolver rule when you created it.
98  
99  
100 =head2 ModificationTime => Str
101  
102 The date and time that the Resolver rule was last updated, in Unix time
103 format and Coordinated Universal Time (UTC).
104  
105  
106 =head2 Name => Str
107  
108 The name for the Resolver rule, which you specified when you created
109 the Resolver rule.
110  
111  
112 =head2 OwnerId => Str
113  
114 When a rule is shared with another AWS account, the account ID of the
115 account that the rule is shared with.
116  
117  
118 =head2 ResolverEndpointId => Str
119  
120 The ID of the endpoint that the rule is associated with.
121  
122  
123 =head2 RuleType => Str
124  
125 When you want to forward DNS queries for specified domain name to
126 resolvers on your network, specify C<FORWARD>.
127  
128 When you have a forwarding rule to forward DNS queries for a domain to
129 your network and you want Resolver to process queries for a subdomain
130 of that domain, specify C<SYSTEM>.
131  
132 For example, to forward DNS queries for example.com to resolvers on
133 your network, you create a rule and specify C<FORWARD> for C<RuleType>.
134 To then have Resolver process queries for apex.example.com, you create
135 a rule and specify C<SYSTEM> for C<RuleType>.
136  
137 Currently, only Resolver can create rules that have a value of
138 C<RECURSIVE> for C<RuleType>.
139  
140  
141 =head2 ShareStatus => Str
142  
143 Whether the rule is shared and, if so, whether the current account is
144 sharing the rule with another account, or another account is sharing
145 the rule with the current account.
146  
147  
148 =head2 Status => Str
149  
150 A code that specifies the current status of the Resolver rule.
151  
152  
153 =head2 StatusMessage => Str
154  
155 A detailed description of the status of a Resolver rule.
156  
157  
158 =head2 TargetIps => ArrayRef[L<Paws::Route53Resolver::TargetAddress>]
159  
160 An array that contains the IP addresses and ports that an outbound
161 endpoint forwards DNS queries to. Typically, these are the IP addresses
162 of DNS resolvers on your network. Specify IPv4 addresses. IPv6 is not
163 supported.
164  
165  
166  
167 =head1 SEE ALSO
168  
169 This class forms part of L<Paws>, describing an object used in L<Paws::Route53Resolver>
170  
171 =head1 BUGS and CONTRIBUTIONS
172  
173 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
174  
175 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
176  
177 =cut
178