blib/lib/Paws/Route53Domains/GetDomainSuggestions.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::Route53Domains::GetDomainSuggestions;
3 use Moose;
4 has DomainName => (is => 'ro', isa => 'Str', required => 1);
5 has OnlyAvailable => (is => 'ro', isa => 'Bool', required => 1);
6 has SuggestionCount => (is => 'ro', isa => 'Int', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetDomainSuggestions');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Domains::GetDomainSuggestionsResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::Route53Domains::GetDomainSuggestions - Arguments for method GetDomainSuggestions on L<Paws::Route53Domains>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method GetDomainSuggestions on the
24 L<Amazon Route 53 Domains|Paws::Route53Domains> service. Use the attributes of this class
25 as arguments to method GetDomainSuggestions.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetDomainSuggestions.
28  
29 =head1 SYNOPSIS
30  
31 my $route53domains = Paws->service('Route53Domains');
32 my $GetDomainSuggestionsResponse = $route53domains->GetDomainSuggestions(
33 DomainName => 'MyDomainName',
34 OnlyAvailable => 1,
35 SuggestionCount => 1,
36  
37 );
38  
39 # Results:
40 my $SuggestionsList = $GetDomainSuggestionsResponse->SuggestionsList;
41  
42 # Returns a L<Paws::Route53Domains::GetDomainSuggestionsResponse> object.
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/route53domains/GetDomainSuggestions>
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 B<REQUIRED> DomainName => Str
51  
52 A domain name that you want to use as the basis for a list of possible
53 domain names. The top-level domain (TLD), such as .com, must be a TLD
54 that Route 53 supports. For a list of supported TLDs, see Domains that
55 You Can Register with Amazon Route 53
56 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html)
57 in the I<Amazon Route 53 Developer Guide>.
58  
59 The domain name can contain only the following characters:
60  
61 =over
62  
63 =item *
64  
65 Letters a through z. Domain names are not case sensitive.
66  
67 =item *
68  
69 Numbers 0 through 9.
70  
71 =item *
72  
73 Hyphen (-). You can't specify a hyphen at the beginning or end of a
74 label.
75  
76 =item *
77  
78 Period (.) to separate the labels in the name, such as the C<.> in
79 C<example.com>.
80  
81 =back
82  
83 Internationalized domain names are not supported for some top-level
84 domains. To determine whether the TLD that you want to use supports
85 internationalized domain names, see Domains that You Can Register with
86 Amazon Route 53
87 (https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/registrar-tld-list.html).
88  
89  
90  
91 =head2 B<REQUIRED> OnlyAvailable => Bool
92  
93 If C<OnlyAvailable> is C<true>, Route 53 returns only domain names that
94 are available. If C<OnlyAvailable> is C<false>, Route 53 returns domain
95 names without checking whether they're available to be registered. To
96 determine whether the domain is available, you can call
97 C<checkDomainAvailability> for each suggestion.
98  
99  
100  
101 =head2 B<REQUIRED> SuggestionCount => Int
102  
103 The number of suggested domain names that you want Route 53 to return.
104 Specify a value between 1 and 50.
105  
106  
107  
108  
109 =head1 SEE ALSO
110  
111 This class forms part of L<Paws>, documenting arguments for method GetDomainSuggestions in L<Paws::Route53Domains>
112  
113 =head1 BUGS and CONTRIBUTIONS
114  
115 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
116  
117 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
118  
119 =cut
120