blib/lib/Paws/Route53Domains/UpdateDomainContactPrivacy.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Route53Domains::UpdateDomainContactPrivacy;
3 use Moose;
4 has AdminPrivacy => (is => 'ro', isa => 'Bool');
5 has DomainName => (is => 'ro', isa => 'Str', required => 1);
6 has RegistrantPrivacy => (is => 'ro', isa => 'Bool');
7 has TechPrivacy => (is => 'ro', isa => 'Bool');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateDomainContactPrivacy');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Domains::UpdateDomainContactPrivacyResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Route53Domains::UpdateDomainContactPrivacy - Arguments for method UpdateDomainContactPrivacy on L<Paws::Route53Domains>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method UpdateDomainContactPrivacy on the
25 L<Amazon Route 53 Domains|Paws::Route53Domains> service. Use the attributes of this class
26 as arguments to method UpdateDomainContactPrivacy.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateDomainContactPrivacy.
29  
30 =head1 SYNOPSIS
31  
32 my $route53domains = Paws->service('Route53Domains');
33 my $UpdateDomainContactPrivacyResponse =
34 $route53domains->UpdateDomainContactPrivacy(
35 DomainName => 'MyDomainName',
36 AdminPrivacy => 1, # OPTIONAL
37 RegistrantPrivacy => 1, # OPTIONAL
38 TechPrivacy => 1, # OPTIONAL
39 );
40  
41 # Results:
42 my $OperationId = $UpdateDomainContactPrivacyResponse->OperationId;
43  
44 # Returns a L<Paws::Route53Domains::UpdateDomainContactPrivacyResponse> object.
45  
46 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.
47 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53domains/UpdateDomainContactPrivacy>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 AdminPrivacy => Bool
53  
54 Whether you want to conceal contact information from WHOIS queries. If
55 you specify C<true>, WHOIS ("who is") queries return contact
56 information either for Amazon Registrar (for .com, .net, and .org
57 domains) or for our registrar associate, Gandi (for all other TLDs). If
58 you specify C<false>, WHOIS queries return the information that you
59 entered for the admin contact.
60  
61  
62  
63 =head2 B<REQUIRED> DomainName => Str
64  
65 The name of the domain that you want to update the privacy setting for.
66  
67  
68  
69 =head2 RegistrantPrivacy => Bool
70  
71 Whether you want to conceal contact information from WHOIS queries. If
72 you specify C<true>, WHOIS ("who is") queries return contact
73 information either for Amazon Registrar (for .com, .net, and .org
74 domains) or for our registrar associate, Gandi (for all other TLDs). If
75 you specify C<false>, WHOIS queries return the information that you
76 entered for the registrant contact (domain owner).
77  
78  
79  
80 =head2 TechPrivacy => Bool
81  
82 Whether you want to conceal contact information from WHOIS queries. If
83 you specify C<true>, WHOIS ("who is") queries return contact
84 information either for Amazon Registrar (for .com, .net, and .org
85 domains) or for our registrar associate, Gandi (for all other TLDs). If
86 you specify C<false>, WHOIS queries return the information that you
87 entered for the technical contact.
88  
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, documenting arguments for method UpdateDomainContactPrivacy in L<Paws::Route53Domains>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103