blib/lib/Paws/Transcribe/UpdateMedicalVocabulary.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::UpdateMedicalVocabulary;
3 use Moose;
4 has LanguageCode => (is => 'ro', isa => 'Str', required => 1);
5 has VocabularyFileUri => (is => 'ro', isa => 'Str');
6 has VocabularyName => (is => 'ro', isa => 'Str', required => 1);
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateMedicalVocabulary');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Transcribe::UpdateMedicalVocabularyResponse');
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::UpdateMedicalVocabulary - Arguments for method UpdateMedicalVocabulary on L<Paws::Transcribe>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method UpdateMedicalVocabulary on the
24 L<Amazon Transcribe Service|Paws::Transcribe> service. Use the attributes of this class
25 as arguments to method UpdateMedicalVocabulary.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMedicalVocabulary.
28  
29 =head1 SYNOPSIS
30  
31 my $transcribe = Paws->service('Transcribe');
32 my $UpdateMedicalVocabularyResponse = $transcribe->UpdateMedicalVocabulary(
33 LanguageCode => 'af-ZA',
34 VocabularyName => 'MyVocabularyName',
35 VocabularyFileUri => 'MyUri', # OPTIONAL
36 );
37  
38 # Results:
39 my $LanguageCode = $UpdateMedicalVocabularyResponse->LanguageCode;
40 my $LastModifiedTime = $UpdateMedicalVocabularyResponse->LastModifiedTime;
41 my $VocabularyName = $UpdateMedicalVocabularyResponse->VocabularyName;
42 my $VocabularyState = $UpdateMedicalVocabularyResponse->VocabularyState;
43  
44 # Returns a L<Paws::Transcribe::UpdateMedicalVocabularyResponse> object.
45  
46 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.
47 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/transcribe/UpdateMedicalVocabulary>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 B<REQUIRED> LanguageCode => Str
53  
54 The language code of the language used for the entries in the updated
55 vocabulary. US English (en-US) is the only valid language code in
56 Amazon Transcribe Medical.
57  
58 Valid values are: C<"af-ZA">, C<"ar-AE">, C<"ar-SA">, C<"cy-GB">, C<"da-DK">, C<"de-CH">, C<"de-DE">, C<"en-AB">, C<"en-AU">, C<"en-GB">, C<"en-IE">, C<"en-IN">, C<"en-US">, C<"en-WL">, C<"es-ES">, C<"es-US">, C<"fa-IR">, C<"fr-CA">, C<"fr-FR">, C<"ga-IE">, C<"gd-GB">, C<"he-IL">, C<"hi-IN">, C<"id-ID">, C<"it-IT">, C<"ja-JP">, C<"ko-KR">, C<"ms-MY">, C<"nl-NL">, C<"pt-BR">, C<"pt-PT">, C<"ru-RU">, C<"ta-IN">, C<"te-IN">, C<"tr-TR">, C<"zh-CN">
59  
60 =head2 VocabularyFileUri => Str
61  
62 The location in Amazon S3 of the text file that contains the you use
63 for your custom vocabulary. The URI must be in the same AWS Region as
64 the resource that you are calling. The following is the format for a
65 URI:
66  
67 C<https://s3.E<lt>aws-regionE<gt>.amazonaws.com/E<lt>bucket-nameE<gt>/E<lt>keyprefixE<gt>/E<lt>objectkeyE<gt>>
68  
69 For example:
70  
71 C<https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt>
72  
73 For more information about Amazon S3 object names, see Object Keys
74 (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
75 in the I<Amazon S3 Developer Guide>.
76  
77 For more information about custom vocabularies in Amazon Transcribe
78 Medical, see Medical Custom Vocabularies
79 (http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary).
80  
81  
82  
83 =head2 B<REQUIRED> VocabularyName => Str
84  
85 The name of the vocabulary to update. The name is case sensitive. If
86 you try to update a vocabulary with the same name as a vocabulary
87 you've already made, you get a C<ConflictException> error.
88  
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, documenting arguments for method UpdateMedicalVocabulary in L<Paws::Transcribe>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103