File Coverage

blib/lib/Paws/Route53/TestDNSAnswer.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Route53::TestDNSAnswer;
3 1     1   374 use Moose;
  1         2  
  1         6  
4             has EDNS0ClientSubnetIP => (is => 'ro', isa => 'Str', query_name => 'edns0clientsubnetip', traits => ['ParamInQuery']);
5             has EDNS0ClientSubnetMask => (is => 'ro', isa => 'Str', query_name => 'edns0clientsubnetmask', traits => ['ParamInQuery']);
6             has HostedZoneId => (is => 'ro', isa => 'Str', query_name => 'hostedzoneid', traits => ['ParamInQuery'], required => 1);
7             has RecordName => (is => 'ro', isa => 'Str', query_name => 'recordname', traits => ['ParamInQuery'], required => 1);
8             has RecordType => (is => 'ro', isa => 'Str', query_name => 'recordtype', traits => ['ParamInQuery'], required => 1);
9             has ResolverIP => (is => 'ro', isa => 'Str', query_name => 'resolverip', traits => ['ParamInQuery']);
10              
11 1     1   5917 use MooseX::ClassAttribute;
  1         5  
  1         11  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'TestDNSAnswer');
14             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/testdnsanswer');
15             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::TestDNSAnswerResponse');
17             class_has _result_key => (isa => 'Str', is => 'ro');
18            
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::Route53::TestDNSAnswer - Arguments for method TestDNSAnswer on Paws::Route53
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method TestDNSAnswer on the
30             Amazon Route 53 service. Use the attributes of this class
31             as arguments to method TestDNSAnswer.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to TestDNSAnswer.
34              
35             As an example:
36              
37             $service_obj->TestDNSAnswer(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 EDNS0ClientSubnetIP => Str
45              
46             If the resolver that you specified for resolverip supports EDNS0,
47             specify the IPv4 or IPv6 address of a client in the applicable
48             location, for example, C<192.0.2.44> or
49             C<2001:db8:85a3::8a2e:370:7334>.
50              
51              
52              
53             =head2 EDNS0ClientSubnetMask => Str
54              
55             If you specify an IP address for C<edns0clientsubnetip>, you can
56             optionally specify the number of bits of the IP address that you want
57             the checking tool to include in the DNS query. For example, if you
58             specify C<192.0.2.44> for C<edns0clientsubnetip> and C<24> for
59             C<edns0clientsubnetmask>, the checking tool will simulate a request
60             from 192.0.2.0/24. The default value is 24 bits for IPv4 addresses and
61             64 bits for IPv6 addresses.
62              
63              
64              
65             =head2 B<REQUIRED> HostedZoneId => Str
66              
67             The ID of the hosted zone that you want Amazon Route 53 to simulate a
68             query for.
69              
70              
71              
72             =head2 B<REQUIRED> RecordName => Str
73              
74             The name of the resource record set that you want Amazon Route 53 to
75             simulate a query for.
76              
77              
78              
79             =head2 B<REQUIRED> RecordType => Str
80              
81             The type of the resource record set.
82              
83             Valid values are: C<"SOA">, C<"A">, C<"TXT">, C<"NS">, C<"CNAME">, C<"MX">, C<"NAPTR">, C<"PTR">, C<"SRV">, C<"SPF">, C<"AAAA">, C<"CAA">
84              
85             =head2 ResolverIP => Str
86              
87             If you want to simulate a request from a specific DNS resolver, specify
88             the IP address for that resolver. If you omit this value,
89             C<TestDnsAnswer> uses the IP address of a DNS resolver in the AWS US
90             East (N. Virginia) Region (C<us-east-1>).
91              
92              
93              
94              
95             =head1 SEE ALSO
96              
97             This class forms part of L<Paws>, documenting arguments for method TestDNSAnswer in L<Paws::Route53>
98              
99             =head1 BUGS and CONTRIBUTIONS
100              
101             The source code is located here: https://github.com/pplu/aws-sdk-perl
102              
103             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
104              
105             =cut
106