blib/lib/Paws/CloudSearch/DefineAnalysisScheme.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CloudSearch::DefineAnalysisScheme;
3 use Moose;
4 has AnalysisScheme => (is => 'ro', isa => 'Paws::CloudSearch::AnalysisScheme', required => 1);
5 has DomainName => (is => 'ro', isa => 'Str', required => 1);
6  
7 use MooseX::ClassAttribute;
8  
9 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DefineAnalysisScheme');
10 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CloudSearch::DefineAnalysisSchemeResponse');
11 class_has _result_key => (isa => 'Str', is => 'ro', default => 'DefineAnalysisSchemeResult');
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::CloudSearch::DefineAnalysisScheme - Arguments for method DefineAnalysisScheme on L<Paws::CloudSearch>
19  
20 =head1 DESCRIPTION
21  
22 This class represents the parameters used for calling the method DefineAnalysisScheme on the
23 L<Amazon CloudSearch|Paws::CloudSearch> service. Use the attributes of this class
24 as arguments to method DefineAnalysisScheme.
25  
26 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DefineAnalysisScheme.
27  
28 =head1 SYNOPSIS
29  
30 my $cloudsearch = Paws->service('CloudSearch');
31 my $DefineAnalysisSchemeResponse = $cloudsearch->DefineAnalysisScheme(
32 AnalysisScheme => {
33 AnalysisSchemeLanguage => 'ar'
34 , # values: ar, bg, ca, cs, da, de, el, en, es, eu, fa, fi, fr, ga, gl, he, hi, hu, hy, id, it, ja, ko, lv, mul, nl, no, pt, ro, ru, sv, th, tr, zh-Hans, zh-Hant
35 AnalysisSchemeName => 'MyStandardName', # min: 1, max: 64
36 AnalysisOptions => {
37 AlgorithmicStemming =>
38 'none', # values: none, minimal, light, full; OPTIONAL
39 JapaneseTokenizationDictionary => 'MyString', # OPTIONAL
40 StemmingDictionary => 'MyString', # OPTIONAL
41 Stopwords => 'MyString', # OPTIONAL
42 Synonyms => 'MyString', # OPTIONAL
43 }, # OPTIONAL
44 },
45 DomainName => 'MyDomainName',
46  
47 );
48  
49 # Results:
50 my $AnalysisScheme = $DefineAnalysisSchemeResponse->AnalysisScheme;
51  
52 # Returns a L<Paws::CloudSearch::DefineAnalysisSchemeResponse> object.
53  
54 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.
55 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/cloudsearch/DefineAnalysisScheme>
56  
57 =head1 ATTRIBUTES
58  
59  
60 =head2 B<REQUIRED> AnalysisScheme => L<Paws::CloudSearch::AnalysisScheme>
61  
62  
63  
64  
65  
66 =head2 B<REQUIRED> DomainName => Str
67  
68  
69  
70  
71  
72  
73 =head1 SEE ALSO
74  
75 This class forms part of L<Paws>, documenting arguments for method DefineAnalysisScheme in L<Paws::CloudSearch>
76  
77 =head1 BUGS and CONTRIBUTIONS
78  
79 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
80  
81 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
82  
83 =cut
84