blib/lib/Paws/Transcribe/UpdateVocabularyFilter.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::Transcribe::UpdateVocabularyFilter;
3 use Moose;
4 has VocabularyFilterFileUri => (is => 'ro', isa => 'Str');
5 has VocabularyFilterName => (is => 'ro', isa => 'Str', required => 1);
6 has Words => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateVocabularyFilter');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Transcribe::UpdateVocabularyFilterResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::Transcribe::UpdateVocabularyFilter - Arguments for method UpdateVocabularyFilter on L<Paws::Transcribe>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method UpdateVocabularyFilter on the
24 L<Amazon Transcribe Service|Paws::Transcribe> service. Use the attributes of this class
25 as arguments to method UpdateVocabularyFilter.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateVocabularyFilter.
28  
29 =head1 SYNOPSIS
30  
31 my $transcribe = Paws->service('Transcribe');
32 my $UpdateVocabularyFilterResponse = $transcribe->UpdateVocabularyFilter(
33 VocabularyFilterName => 'MyVocabularyFilterName',
34 VocabularyFilterFileUri => 'MyUri', # OPTIONAL
35 Words => [
36 'MyWord', ... # min: 1, max: 256
37 ], # OPTIONAL
38 );
39  
40 # Results:
41 my $LanguageCode = $UpdateVocabularyFilterResponse->LanguageCode;
42 my $LastModifiedTime = $UpdateVocabularyFilterResponse->LastModifiedTime;
43 my $VocabularyFilterName =
44 $UpdateVocabularyFilterResponse->VocabularyFilterName;
45  
46 # Returns a L<Paws::Transcribe::UpdateVocabularyFilterResponse> object.
47  
48 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.
49 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/transcribe/UpdateVocabularyFilter>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 VocabularyFilterFileUri => Str
55  
56 The Amazon S3 location of a text file used as input to create the
57 vocabulary filter. Only use characters from the character set defined
58 for custom vocabularies. For a list of character sets, see Character
59 Sets for Custom Vocabularies
60 (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).
61  
62 The specified file must be less than 50 KB of UTF-8 characters.
63  
64 If you provide the location of a list of words in the
65 C<VocabularyFilterFileUri> parameter, you can't use the C<Words>
66 parameter.
67  
68  
69  
70 =head2 B<REQUIRED> VocabularyFilterName => Str
71  
72 The name of the vocabulary filter to update. If you try to update a
73 vocabulary filter with the same name as another vocabulary filter, you
74 get a C<ConflictException> error.
75  
76  
77  
78 =head2 Words => ArrayRef[Str|Undef]
79  
80 The words to use in the vocabulary filter. Only use characters from the
81 character set defined for custom vocabularies. For a list of character
82 sets, see Character Sets for Custom Vocabularies
83 (https://docs.aws.amazon.com/transcribe/latest/dg/how-vocabulary.html#charsets).
84  
85 If you provide a list of words in the C<Words> parameter, you can't use
86 the C<VocabularyFilterFileUri> parameter.
87  
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, documenting arguments for method UpdateVocabularyFilter in L<Paws::Transcribe>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102