File Coverage

blib/lib/Paws/CloudSearch.pm
Criterion Covered Total %
statement 10 82 12.2
branch n/a
condition n/a
subroutine 4 30 13.3
pod 24 28 85.7
total 38 140 27.1


line stmt bran cond sub pod time code
1             package Paws::CloudSearch;
2 1     1   2715 use Moose;
  1     2   4  
  1         13  
  2         1625  
  2         5  
  2         13  
3 7     7 0 25 sub service { 'cloudsearch' }
4 0     0 0 0 sub version { '2013-01-01' }
5 0     0 0 0 sub flattened_arrays { 0 }
6             has max_attempts => (is => 'ro', isa => 'Int', default => 5);
7             has retry => (is => 'ro', isa => 'HashRef', default => sub {
8             { base => 'rand', type => 'exponential', growth_factor => 2 }
9             });
10             has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
11             sub { defined $_[0]->http_status and $_[0]->http_status == 509 and $_[0]->code eq 'BandwidthLimitExceeded' },
12             ] });
13              
14             with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::QueryCaller', 'Paws::Net::XMLResponse';
15              
16            
17             sub BuildSuggesters {
18 0     0 1 0 my $self = shift;
19 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::BuildSuggesters', @_);
20 0         0 return $self->caller->do_call($self, $call_object);
21             }
22             sub CreateDomain {
23 0     0 1 0 my $self = shift;
24 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::CreateDomain', @_);
25 0         0 return $self->caller->do_call($self, $call_object);
26             }
27             sub DefineAnalysisScheme {
28 0     0 1 0 my $self = shift;
29 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DefineAnalysisScheme', @_);
30 0         0 return $self->caller->do_call($self, $call_object);
31             }
32             sub DefineExpression {
33 0     0 1 0 my $self = shift;
34 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DefineExpression', @_);
35 0         0 return $self->caller->do_call($self, $call_object);
36             }
37             sub DefineIndexField {
38 0     0 1 0 my $self = shift;
39 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DefineIndexField', @_);
40 0         0 return $self->caller->do_call($self, $call_object);
41             }
42             sub DefineSuggester {
43 0     0 1 0 my $self = shift;
44 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DefineSuggester', @_);
45 0         0 return $self->caller->do_call($self, $call_object);
46             }
47             sub DeleteAnalysisScheme {
48 0     0 1 0 my $self = shift;
49 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DeleteAnalysisScheme', @_);
50 0         0 return $self->caller->do_call($self, $call_object);
51             }
52             sub DeleteDomain {
53 0     0 1 0 my $self = shift;
54 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DeleteDomain', @_);
55 0         0 return $self->caller->do_call($self, $call_object);
56             }
57             sub DeleteExpression {
58 0     0 1 0 my $self = shift;
59 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DeleteExpression', @_);
60 0         0 return $self->caller->do_call($self, $call_object);
61             }
62             sub DeleteIndexField {
63 0     0 1 0 my $self = shift;
64 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DeleteIndexField', @_);
65 0         0 return $self->caller->do_call($self, $call_object);
66             }
67             sub DeleteSuggester {
68 0     0 1 0 my $self = shift;
69 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DeleteSuggester', @_);
70 0         0 return $self->caller->do_call($self, $call_object);
71             }
72             sub DescribeAnalysisSchemes {
73 0     0 1 0 my $self = shift;
74 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DescribeAnalysisSchemes', @_);
75 0         0 return $self->caller->do_call($self, $call_object);
76             }
77             sub DescribeAvailabilityOptions {
78 0     0 1 0 my $self = shift;
79 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DescribeAvailabilityOptions', @_);
80 0         0 return $self->caller->do_call($self, $call_object);
81             }
82             sub DescribeDomains {
83 0     0 1 0 my $self = shift;
84 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DescribeDomains', @_);
85 0         0 return $self->caller->do_call($self, $call_object);
86             }
87             sub DescribeExpressions {
88 0     0 1 0 my $self = shift;
89 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DescribeExpressions', @_);
90 0         0 return $self->caller->do_call($self, $call_object);
91             }
92             sub DescribeIndexFields {
93 0     0 1 0 my $self = shift;
94 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DescribeIndexFields', @_);
95 0         0 return $self->caller->do_call($self, $call_object);
96             }
97             sub DescribeScalingParameters {
98 0     0 1 0 my $self = shift;
99 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DescribeScalingParameters', @_);
100 0         0 return $self->caller->do_call($self, $call_object);
101             }
102             sub DescribeServiceAccessPolicies {
103 0     0 1 0 my $self = shift;
104 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DescribeServiceAccessPolicies', @_);
105 0         0 return $self->caller->do_call($self, $call_object);
106             }
107             sub DescribeSuggesters {
108 0     0 1 0 my $self = shift;
109 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::DescribeSuggesters', @_);
110 0         0 return $self->caller->do_call($self, $call_object);
111             }
112             sub IndexDocuments {
113 0     0 1 0 my $self = shift;
114 0         0 my $call_object = $self->new_with_coercions('Paws::CloudSearch::IndexDocuments', @_);
115 0         0 return $self->caller->do_call($self, $call_object);
116             }
117             sub ListDomainNames {
118 2     2 1 5 my $self = shift;
119 2         11 my $call_object = $self->new_with_coercions('Paws::CloudSearch::ListDomainNames', @_);
120 2         425 return $self->caller->do_call($self, $call_object);
121             }
122             sub UpdateAvailabilityOptions {
123 0     0 1   my $self = shift;
124 0           my $call_object = $self->new_with_coercions('Paws::CloudSearch::UpdateAvailabilityOptions', @_);
125 0           return $self->caller->do_call($self, $call_object);
126             }
127             sub UpdateScalingParameters {
128 0     0 1   my $self = shift;
129 0           my $call_object = $self->new_with_coercions('Paws::CloudSearch::UpdateScalingParameters', @_);
130 0           return $self->caller->do_call($self, $call_object);
131             }
132             sub UpdateServiceAccessPolicies {
133 0     0 1   my $self = shift;
134 0           my $call_object = $self->new_with_coercions('Paws::CloudSearch::UpdateServiceAccessPolicies', @_);
135 0           return $self->caller->do_call($self, $call_object);
136             }
137            
138              
139              
140 0     0 0   sub operations { qw/BuildSuggesters CreateDomain DefineAnalysisScheme DefineExpression DefineIndexField DefineSuggester DeleteAnalysisScheme DeleteDomain DeleteExpression DeleteIndexField DeleteSuggester DescribeAnalysisSchemes DescribeAvailabilityOptions DescribeDomains DescribeExpressions DescribeIndexFields DescribeScalingParameters DescribeServiceAccessPolicies DescribeSuggesters IndexDocuments ListDomainNames UpdateAvailabilityOptions UpdateScalingParameters UpdateServiceAccessPolicies / }
141              
142             1;
143              
144             ### main pod documentation begin ###
145              
146             =head1 NAME
147              
148             Paws::CloudSearch - Perl Interface to AWS Amazon CloudSearch
149              
150             =head1 SYNOPSIS
151              
152             use Paws;
153              
154             my $obj = Paws->service('CloudSearch');
155             my $res = $obj->Method(
156             Arg1 => $val1,
157             Arg2 => [ 'V1', 'V2' ],
158             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
159             # of the arguments type
160             Arg3 => { Att1 => 'Val1' },
161             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
162             # the constructor of the arguments type
163             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
164             );
165              
166             =head1 DESCRIPTION
167              
168             Amazon CloudSearch Configuration Service
169              
170             You use the Amazon CloudSearch configuration service to create,
171             configure, and manage search domains. Configuration service requests
172             are submitted using the AWS Query protocol. AWS Query requests are HTTP
173             or HTTPS requests submitted via HTTP GET or POST with a query parameter
174             named Action.
175              
176             The endpoint for configuration service requests is region-specific:
177             cloudsearch.I<region>.amazonaws.com. For example,
178             cloudsearch.us-east-1.amazonaws.com. For a current list of supported
179             regions and endpoints, see Regions and Endpoints.
180              
181             =head1 METHODS
182              
183             =head2 BuildSuggesters(DomainName => Str)
184              
185             Each argument is described in detail in: L<Paws::CloudSearch::BuildSuggesters>
186              
187             Returns: a L<Paws::CloudSearch::BuildSuggestersResponse> instance
188              
189             Indexes the search suggestions. For more information, see Configuring
190             Suggesters in the I<Amazon CloudSearch Developer Guide>.
191              
192              
193             =head2 CreateDomain(DomainName => Str)
194              
195             Each argument is described in detail in: L<Paws::CloudSearch::CreateDomain>
196              
197             Returns: a L<Paws::CloudSearch::CreateDomainResponse> instance
198              
199             Creates a new search domain. For more information, see Creating a
200             Search Domain in the I<Amazon CloudSearch Developer Guide>.
201              
202              
203             =head2 DefineAnalysisScheme(AnalysisScheme => L<Paws::CloudSearch::AnalysisScheme>, DomainName => Str)
204              
205             Each argument is described in detail in: L<Paws::CloudSearch::DefineAnalysisScheme>
206              
207             Returns: a L<Paws::CloudSearch::DefineAnalysisSchemeResponse> instance
208              
209             Configures an analysis scheme that can be applied to a C<text> or
210             C<text-array> field to define language-specific text processing
211             options. For more information, see Configuring Analysis Schemes in the
212             I<Amazon CloudSearch Developer Guide>.
213              
214              
215             =head2 DefineExpression(DomainName => Str, Expression => L<Paws::CloudSearch::Expression>)
216              
217             Each argument is described in detail in: L<Paws::CloudSearch::DefineExpression>
218              
219             Returns: a L<Paws::CloudSearch::DefineExpressionResponse> instance
220              
221             Configures an C<Expression> for the search domain. Used to create new
222             expressions and modify existing ones. If the expression exists, the new
223             configuration replaces the old one. For more information, see
224             Configuring Expressions in the I<Amazon CloudSearch Developer Guide>.
225              
226              
227             =head2 DefineIndexField(DomainName => Str, IndexField => L<Paws::CloudSearch::IndexField>)
228              
229             Each argument is described in detail in: L<Paws::CloudSearch::DefineIndexField>
230              
231             Returns: a L<Paws::CloudSearch::DefineIndexFieldResponse> instance
232              
233             Configures an C<IndexField> for the search domain. Used to create new
234             fields and modify existing ones. You must specify the name of the
235             domain you are configuring and an index field configuration. The index
236             field configuration specifies a unique name, the index field type, and
237             the options you want to configure for the field. The options you can
238             specify depend on the C<IndexFieldType>. If the field exists, the new
239             configuration replaces the old one. For more information, see
240             Configuring Index Fields in the I<Amazon CloudSearch Developer Guide>.
241              
242              
243             =head2 DefineSuggester(DomainName => Str, Suggester => L<Paws::CloudSearch::Suggester>)
244              
245             Each argument is described in detail in: L<Paws::CloudSearch::DefineSuggester>
246              
247             Returns: a L<Paws::CloudSearch::DefineSuggesterResponse> instance
248              
249             Configures a suggester for a domain. A suggester enables you to display
250             possible matches before users finish typing their queries. When you
251             configure a suggester, you must specify the name of the text field you
252             want to search for possible matches and a unique name for the
253             suggester. For more information, see Getting Search Suggestions in the
254             I<Amazon CloudSearch Developer Guide>.
255              
256              
257             =head2 DeleteAnalysisScheme(AnalysisSchemeName => Str, DomainName => Str)
258              
259             Each argument is described in detail in: L<Paws::CloudSearch::DeleteAnalysisScheme>
260              
261             Returns: a L<Paws::CloudSearch::DeleteAnalysisSchemeResponse> instance
262              
263             Deletes an analysis scheme. For more information, see Configuring
264             Analysis Schemes in the I<Amazon CloudSearch Developer Guide>.
265              
266              
267             =head2 DeleteDomain(DomainName => Str)
268              
269             Each argument is described in detail in: L<Paws::CloudSearch::DeleteDomain>
270              
271             Returns: a L<Paws::CloudSearch::DeleteDomainResponse> instance
272              
273             Permanently deletes a search domain and all of its data. Once a domain
274             has been deleted, it cannot be recovered. For more information, see
275             Deleting a Search Domain in the I<Amazon CloudSearch Developer Guide>.
276              
277              
278             =head2 DeleteExpression(DomainName => Str, ExpressionName => Str)
279              
280             Each argument is described in detail in: L<Paws::CloudSearch::DeleteExpression>
281              
282             Returns: a L<Paws::CloudSearch::DeleteExpressionResponse> instance
283              
284             Removes an C<Expression> from the search domain. For more information,
285             see Configuring Expressions in the I<Amazon CloudSearch Developer
286             Guide>.
287              
288              
289             =head2 DeleteIndexField(DomainName => Str, IndexFieldName => Str)
290              
291             Each argument is described in detail in: L<Paws::CloudSearch::DeleteIndexField>
292              
293             Returns: a L<Paws::CloudSearch::DeleteIndexFieldResponse> instance
294              
295             Removes an C<IndexField> from the search domain. For more information,
296             see Configuring Index Fields in the I<Amazon CloudSearch Developer
297             Guide>.
298              
299              
300             =head2 DeleteSuggester(DomainName => Str, SuggesterName => Str)
301              
302             Each argument is described in detail in: L<Paws::CloudSearch::DeleteSuggester>
303              
304             Returns: a L<Paws::CloudSearch::DeleteSuggesterResponse> instance
305              
306             Deletes a suggester. For more information, see Getting Search
307             Suggestions in the I<Amazon CloudSearch Developer Guide>.
308              
309              
310             =head2 DescribeAnalysisSchemes(DomainName => Str, [AnalysisSchemeNames => ArrayRef[Str|Undef], Deployed => Bool])
311              
312             Each argument is described in detail in: L<Paws::CloudSearch::DescribeAnalysisSchemes>
313              
314             Returns: a L<Paws::CloudSearch::DescribeAnalysisSchemesResponse> instance
315              
316             Gets the analysis schemes configured for a domain. An analysis scheme
317             defines language-specific text processing options for a C<text> field.
318             Can be limited to specific analysis schemes by name. By default, shows
319             all analysis schemes and includes any pending changes to the
320             configuration. Set the C<Deployed> option to C<true> to show the active
321             configuration and exclude pending changes. For more information, see
322             Configuring Analysis Schemes in the I<Amazon CloudSearch Developer
323             Guide>.
324              
325              
326             =head2 DescribeAvailabilityOptions(DomainName => Str, [Deployed => Bool])
327              
328             Each argument is described in detail in: L<Paws::CloudSearch::DescribeAvailabilityOptions>
329              
330             Returns: a L<Paws::CloudSearch::DescribeAvailabilityOptionsResponse> instance
331              
332             Gets the availability options configured for a domain. By default,
333             shows the configuration with any pending changes. Set the C<Deployed>
334             option to C<true> to show the active configuration and exclude pending
335             changes. For more information, see Configuring Availability Options in
336             the I<Amazon CloudSearch Developer Guide>.
337              
338              
339             =head2 DescribeDomains([DomainNames => ArrayRef[Str|Undef]])
340              
341             Each argument is described in detail in: L<Paws::CloudSearch::DescribeDomains>
342              
343             Returns: a L<Paws::CloudSearch::DescribeDomainsResponse> instance
344              
345             Gets information about the search domains owned by this account. Can be
346             limited to specific domains. Shows all domains by default. To get the
347             number of searchable documents in a domain, use the console or submit a
348             C<matchall> request to your domain's search endpoint:
349             C<q=matchall&amp;q.parser=structured&amp;size=0>. For more information,
350             see Getting Information about a Search Domain in the I<Amazon
351             CloudSearch Developer Guide>.
352              
353              
354             =head2 DescribeExpressions(DomainName => Str, [Deployed => Bool, ExpressionNames => ArrayRef[Str|Undef]])
355              
356             Each argument is described in detail in: L<Paws::CloudSearch::DescribeExpressions>
357              
358             Returns: a L<Paws::CloudSearch::DescribeExpressionsResponse> instance
359              
360             Gets the expressions configured for the search domain. Can be limited
361             to specific expressions by name. By default, shows all expressions and
362             includes any pending changes to the configuration. Set the C<Deployed>
363             option to C<true> to show the active configuration and exclude pending
364             changes. For more information, see Configuring Expressions in the
365             I<Amazon CloudSearch Developer Guide>.
366              
367              
368             =head2 DescribeIndexFields(DomainName => Str, [Deployed => Bool, FieldNames => ArrayRef[Str|Undef]])
369              
370             Each argument is described in detail in: L<Paws::CloudSearch::DescribeIndexFields>
371              
372             Returns: a L<Paws::CloudSearch::DescribeIndexFieldsResponse> instance
373              
374             Gets information about the index fields configured for the search
375             domain. Can be limited to specific fields by name. By default, shows
376             all fields and includes any pending changes to the configuration. Set
377             the C<Deployed> option to C<true> to show the active configuration and
378             exclude pending changes. For more information, see Getting Domain
379             Information in the I<Amazon CloudSearch Developer Guide>.
380              
381              
382             =head2 DescribeScalingParameters(DomainName => Str)
383              
384             Each argument is described in detail in: L<Paws::CloudSearch::DescribeScalingParameters>
385              
386             Returns: a L<Paws::CloudSearch::DescribeScalingParametersResponse> instance
387              
388             Gets the scaling parameters configured for a domain. A domain's scaling
389             parameters specify the desired search instance type and replication
390             count. For more information, see Configuring Scaling Options in the
391             I<Amazon CloudSearch Developer Guide>.
392              
393              
394             =head2 DescribeServiceAccessPolicies(DomainName => Str, [Deployed => Bool])
395              
396             Each argument is described in detail in: L<Paws::CloudSearch::DescribeServiceAccessPolicies>
397              
398             Returns: a L<Paws::CloudSearch::DescribeServiceAccessPoliciesResponse> instance
399              
400             Gets information about the access policies that control access to the
401             domain's document and search endpoints. By default, shows the
402             configuration with any pending changes. Set the C<Deployed> option to
403             C<true> to show the active configuration and exclude pending changes.
404             For more information, see Configuring Access for a Search Domain in the
405             I<Amazon CloudSearch Developer Guide>.
406              
407              
408             =head2 DescribeSuggesters(DomainName => Str, [Deployed => Bool, SuggesterNames => ArrayRef[Str|Undef]])
409              
410             Each argument is described in detail in: L<Paws::CloudSearch::DescribeSuggesters>
411              
412             Returns: a L<Paws::CloudSearch::DescribeSuggestersResponse> instance
413              
414             Gets the suggesters configured for a domain. A suggester enables you to
415             display possible matches before users finish typing their queries. Can
416             be limited to specific suggesters by name. By default, shows all
417             suggesters and includes any pending changes to the configuration. Set
418             the C<Deployed> option to C<true> to show the active configuration and
419             exclude pending changes. For more information, see Getting Search
420             Suggestions in the I<Amazon CloudSearch Developer Guide>.
421              
422              
423             =head2 IndexDocuments(DomainName => Str)
424              
425             Each argument is described in detail in: L<Paws::CloudSearch::IndexDocuments>
426              
427             Returns: a L<Paws::CloudSearch::IndexDocumentsResponse> instance
428              
429             Tells the search domain to start indexing its documents using the
430             latest indexing options. This operation must be invoked to activate
431             options whose OptionStatus is C<RequiresIndexDocuments>.
432              
433              
434             =head2 ListDomainNames( => )
435              
436             Each argument is described in detail in: L<Paws::CloudSearch::ListDomainNames>
437              
438             Returns: a L<Paws::CloudSearch::ListDomainNamesResponse> instance
439              
440             Lists all search domains owned by an account.
441              
442              
443             =head2 UpdateAvailabilityOptions(DomainName => Str, MultiAZ => Bool)
444              
445             Each argument is described in detail in: L<Paws::CloudSearch::UpdateAvailabilityOptions>
446              
447             Returns: a L<Paws::CloudSearch::UpdateAvailabilityOptionsResponse> instance
448              
449             Configures the availability options for a domain. Enabling the Multi-AZ
450             option expands an Amazon CloudSearch domain to an additional
451             Availability Zone in the same Region to increase fault tolerance in the
452             event of a service disruption. Changes to the Multi-AZ option can take
453             about half an hour to become active. For more information, see
454             Configuring Availability Options in the I<Amazon CloudSearch Developer
455             Guide>.
456              
457              
458             =head2 UpdateScalingParameters(DomainName => Str, ScalingParameters => L<Paws::CloudSearch::ScalingParameters>)
459              
460             Each argument is described in detail in: L<Paws::CloudSearch::UpdateScalingParameters>
461              
462             Returns: a L<Paws::CloudSearch::UpdateScalingParametersResponse> instance
463              
464             Configures scaling parameters for a domain. A domain's scaling
465             parameters specify the desired search instance type and replication
466             count. Amazon CloudSearch will still automatically scale your domain
467             based on the volume of data and traffic, but not below the desired
468             instance type and replication count. If the Multi-AZ option is enabled,
469             these values control the resources used per Availability Zone. For more
470             information, see Configuring Scaling Options in the I<Amazon
471             CloudSearch Developer Guide>.
472              
473              
474             =head2 UpdateServiceAccessPolicies(AccessPolicies => Str, DomainName => Str)
475              
476             Each argument is described in detail in: L<Paws::CloudSearch::UpdateServiceAccessPolicies>
477              
478             Returns: a L<Paws::CloudSearch::UpdateServiceAccessPoliciesResponse> instance
479              
480             Configures the access rules that control access to the domain's
481             document and search endpoints. For more information, see Configuring
482             Access for an Amazon CloudSearch Domain.
483              
484              
485              
486              
487             =head1 PAGINATORS
488              
489             Paginator methods are helpers that repetively call methods that return partial results
490              
491              
492              
493              
494             =head1 SEE ALSO
495              
496             This service class forms part of L<Paws>
497              
498             =head1 BUGS and CONTRIBUTIONS
499              
500             The source code is located here: https://github.com/pplu/aws-sdk-perl
501              
502             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
503              
504             =cut
505