blib/lib/Paws/Transcribe/CreateMedicalVocabulary.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::CreateMedicalVocabulary;
3 use Moose;
4 has LanguageCode => (is => 'ro', isa => 'Str', required => 1);
5 has VocabularyFileUri => (is => 'ro', isa => 'Str', required => 1);
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 => 'CreateMedicalVocabulary');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Transcribe::CreateMedicalVocabularyResponse');
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::CreateMedicalVocabulary - Arguments for method CreateMedicalVocabulary on L<Paws::Transcribe>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method CreateMedicalVocabulary on the
24 L<Amazon Transcribe Service|Paws::Transcribe> service. Use the attributes of this class
25 as arguments to method CreateMedicalVocabulary.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateMedicalVocabulary.
28  
29 =head1 SYNOPSIS
30  
31 my $transcribe = Paws->service('Transcribe');
32 my $CreateMedicalVocabularyResponse = $transcribe->CreateMedicalVocabulary(
33 LanguageCode => 'af-ZA',
34 VocabularyFileUri => 'MyUri',
35 VocabularyName => 'MyVocabularyName',
36  
37 );
38  
39 # Results:
40 my $FailureReason = $CreateMedicalVocabularyResponse->FailureReason;
41 my $LanguageCode = $CreateMedicalVocabularyResponse->LanguageCode;
42 my $LastModifiedTime = $CreateMedicalVocabularyResponse->LastModifiedTime;
43 my $VocabularyName = $CreateMedicalVocabularyResponse->VocabularyName;
44 my $VocabularyState = $CreateMedicalVocabularyResponse->VocabularyState;
45  
46 # Returns a L<Paws::Transcribe::CreateMedicalVocabularyResponse> 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/CreateMedicalVocabulary>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 B<REQUIRED> LanguageCode => Str
55  
56 The language code for the language used for the entries in your custom
57 vocabulary. The language code of your custom vocabulary must match the
58 language code of your transcription job. US English (en-US) is the only
59 language code available for Amazon Transcribe Medical.
60  
61 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">
62  
63 =head2 B<REQUIRED> VocabularyFileUri => Str
64  
65 The location in Amazon S3 of the text file you use to define your
66 custom vocabulary. The URI must be in the same AWS Region as the
67 resource that you're calling. Enter information about your
68 C<VocabularyFileUri> in the following format:
69  
70 C<https://s3.E<lt>aws-regionE<gt>.amazonaws.com/E<lt>bucket-nameE<gt>/E<lt>keyprefixE<gt>/E<lt>objectkeyE<gt>>
71  
72 The following is an example URI for a vocabulary file that is stored in
73 Amazon S3:
74  
75 C<https://s3.us-east-1.amazonaws.com/AWSDOC-EXAMPLE-BUCKET/vocab.txt>
76  
77 For more information about Amazon S3 object names, see Object Keys
78 (http://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html#object-keys)
79 in the I<Amazon S3 Developer Guide>.
80  
81 For more information about custom vocabularies, see Medical Custom
82 Vocabularies
83 (http://docs.aws.amazon.com/transcribe/latest/dg/how-it-works.html#how-vocabulary-med).
84  
85  
86  
87 =head2 B<REQUIRED> VocabularyName => Str
88  
89 The name of the custom vocabulary. This case-sensitive name must be
90 unique within an AWS account. If you try to create a vocabulary with
91 the same name as a previous vocabulary, you get a C<ConflictException>
92 error.
93  
94  
95  
96  
97 =head1 SEE ALSO
98  
99 This class forms part of L<Paws>, documenting arguments for method CreateMedicalVocabulary in L<Paws::Transcribe>
100  
101 =head1 BUGS and CONTRIBUTIONS
102  
103 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
104  
105 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
106  
107 =cut
108