blib/lib/Paws/Transcribe/ListVocabularies.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::Transcribe::ListVocabularies;
3 use Moose;
4 has MaxResults => (is => 'ro', isa => 'Int');
5 has NameContains => (is => 'ro', isa => 'Str');
6 has NextToken => (is => 'ro', isa => 'Str');
7 has StateEquals => (is => 'ro', isa => 'Str');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListVocabularies');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Transcribe::ListVocabulariesResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Transcribe::ListVocabularies - Arguments for method ListVocabularies on L<Paws::Transcribe>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ListVocabularies on the
25 L<Amazon Transcribe Service|Paws::Transcribe> service. Use the attributes of this class
26 as arguments to method ListVocabularies.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListVocabularies.
29  
30 =head1 SYNOPSIS
31  
32 my $transcribe = Paws->service('Transcribe');
33 my $ListVocabulariesResponse = $transcribe->ListVocabularies(
34 MaxResults => 1, # OPTIONAL
35 NameContains => 'MyVocabularyName', # OPTIONAL
36 NextToken => 'MyNextToken', # OPTIONAL
37 StateEquals => 'PENDING', # OPTIONAL
38 );
39  
40 # Results:
41 my $NextToken = $ListVocabulariesResponse->NextToken;
42 my $Status = $ListVocabulariesResponse->Status;
43 my $Vocabularies = $ListVocabulariesResponse->Vocabularies;
44  
45 # Returns a L<Paws::Transcribe::ListVocabulariesResponse> object.
46  
47 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.
48 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/transcribe/ListVocabularies>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 MaxResults => Int
54  
55 The maximum number of vocabularies to return in the response. If there
56 are fewer results in the list, this response contains only the actual
57 results.
58  
59  
60  
61 =head2 NameContains => Str
62  
63 When specified, the vocabularies returned in the list are limited to
64 vocabularies whose name contains the specified string. The search is
65 not case sensitive, C<ListVocabularies> returns both "vocabularyname"
66 and "VocabularyName" in the response list.
67  
68  
69  
70 =head2 NextToken => Str
71  
72 If the result of the previous request to C<ListVocabularies> was
73 truncated, include the C<NextToken> to fetch the next set of jobs.
74  
75  
76  
77 =head2 StateEquals => Str
78  
79 When specified, only returns vocabularies with the C<VocabularyState>
80 field equal to the specified state.
81  
82 Valid values are: C<"PENDING">, C<"READY">, C<"FAILED">
83  
84  
85 =head1 SEE ALSO
86  
87 This class forms part of L<Paws>, documenting arguments for method ListVocabularies in L<Paws::Transcribe>
88  
89 =head1 BUGS and CONTRIBUTIONS
90  
91 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
92  
93 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
94  
95 =cut
96