blib/lib/Paws/ComprehendMedical/StartEntitiesDetectionV2Job.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ComprehendMedical::StartEntitiesDetectionV2Job;
3 use Moose;
4 has ClientRequestToken => (is => 'ro', isa => 'Str');
5 has DataAccessRoleArn => (is => 'ro', isa => 'Str', required => 1);
6 has InputDataConfig => (is => 'ro', isa => 'Paws::ComprehendMedical::InputDataConfig', required => 1);
7 has JobName => (is => 'ro', isa => 'Str');
8 has KMSKey => (is => 'ro', isa => 'Str');
9 has LanguageCode => (is => 'ro', isa => 'Str', required => 1);
10 has OutputDataConfig => (is => 'ro', isa => 'Paws::ComprehendMedical::OutputDataConfig', required => 1);
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'StartEntitiesDetectionV2Job');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ComprehendMedical::StartEntitiesDetectionV2JobResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::ComprehendMedical::StartEntitiesDetectionV2Job - Arguments for method StartEntitiesDetectionV2Job on L<Paws::ComprehendMedical>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method StartEntitiesDetectionV2Job on the
28 L<AWS Comprehend Medical|Paws::ComprehendMedical> service. Use the attributes of this class
29 as arguments to method StartEntitiesDetectionV2Job.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to StartEntitiesDetectionV2Job.
32  
33 =head1 SYNOPSIS
34  
35 my $comprehendmedical = Paws->service('ComprehendMedical');
36 my $StartEntitiesDetectionV2JobResponse =
37 $comprehendmedical->StartEntitiesDetectionV2Job(
38 DataAccessRoleArn => 'MyIamRoleArn',
39 InputDataConfig => {
40 S3Bucket => 'MyS3Bucket', # min: 3, max: 63
41 S3Key => 'MyS3Key', # max: 1024; OPTIONAL
42 },
43 LanguageCode => 'en',
44 OutputDataConfig => {
45 S3Bucket => 'MyS3Bucket', # min: 3, max: 63
46 S3Key => 'MyS3Key', # max: 1024; OPTIONAL
47 },
48 ClientRequestToken => 'MyClientRequestTokenString', # OPTIONAL
49 JobName => 'MyJobName', # OPTIONAL
50 KMSKey => 'MyKMSKey', # OPTIONAL
51 );
52  
53 # Results:
54 my $JobId = $StartEntitiesDetectionV2JobResponse->JobId;
55  
56 # Returns a L<Paws::ComprehendMedical::StartEntitiesDetectionV2JobResponse> object.
57  
58 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.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/comprehendmedical/StartEntitiesDetectionV2Job>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 ClientRequestToken => Str
65  
66 A unique identifier for the request. If you don't set the client
67 request token, Amazon Comprehend Medical generates one.
68  
69  
70  
71 =head2 B<REQUIRED> DataAccessRoleArn => Str
72  
73 The Amazon Resource Name (ARN) of the AWS Identity and Access
74 Management (IAM) role that grants Amazon Comprehend Medical read access
75 to your input data. For more information, see Role-Based Permissions
76 Required for Asynchronous Operations
77 (https://docs.aws.amazon.com/comprehend/latest/dg/access-control-managing-permissions-med.html#auth-role-permissions-med).
78  
79  
80  
81 =head2 B<REQUIRED> InputDataConfig => L<Paws::ComprehendMedical::InputDataConfig>
82  
83 Specifies the format and location of the input data for the job.
84  
85  
86  
87 =head2 JobName => Str
88  
89 The identifier of the job.
90  
91  
92  
93 =head2 KMSKey => Str
94  
95 An AWS Key Management Service key to encrypt your output files. If you
96 do not specify a key, the files are written in plain text.
97  
98  
99  
100 =head2 B<REQUIRED> LanguageCode => Str
101  
102 The language of the input documents. All documents must be in the same
103 language.
104  
105 Valid values are: C<"en">
106  
107 =head2 B<REQUIRED> OutputDataConfig => L<Paws::ComprehendMedical::OutputDataConfig>
108  
109 Specifies where to send the output files.
110  
111  
112  
113  
114 =head1 SEE ALSO
115  
116 This class forms part of L<Paws>, documenting arguments for method StartEntitiesDetectionV2Job in L<Paws::ComprehendMedical>
117  
118 =head1 BUGS and CONTRIBUTIONS
119  
120 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
121  
122 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
123  
124 =cut
125