blib/lib/Paws/SageMaker/HumanLoopConfig.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 13 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::SageMaker::HumanLoopConfig;
3 use Moose;
4 has HumanTaskUiArn => (is => 'ro', isa => 'Str', required => 1);
5 has PublicWorkforceTaskPrice => (is => 'ro', isa => 'Paws::SageMaker::PublicWorkforceTaskPrice');
6 has TaskAvailabilityLifetimeInSeconds => (is => 'ro', isa => 'Int');
7 has TaskCount => (is => 'ro', isa => 'Int', required => 1);
8 has TaskDescription => (is => 'ro', isa => 'Str', required => 1);
9 has TaskKeywords => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
10 has TaskTimeLimitInSeconds => (is => 'ro', isa => 'Int');
11 has TaskTitle => (is => 'ro', isa => 'Str', required => 1);
12 has WorkteamArn => (is => 'ro', isa => 'Str', required => 1);
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::SageMaker::HumanLoopConfig
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::SageMaker::HumanLoopConfig object:
32  
33 $service_obj->Method(Att1 => { HumanTaskUiArn => $value, ..., WorkteamArn => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::HumanLoopConfig object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->HumanTaskUiArn
41  
42 =head1 DESCRIPTION
43  
44 Describes the work to be performed by human workers.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 B<REQUIRED> HumanTaskUiArn => Str
50  
51 The Amazon Resource Name (ARN) of the human task user interface.
52  
53 You can use standard HTML and Crowd HTML Elements to create a custom
54 worker task template. You use this template to create a human task UI.
55  
56 To learn how to create a custom HTML template, see Create Custom Worker
57 Task Template
58 (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-custom-templates.html).
59  
60 To learn how to create a human task UI, which is a worker task template
61 that can be used in a flow definition, see Create and Delete a Worker
62 Task Templates
63 (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-worker-template-console.html).
64  
65  
66 =head2 PublicWorkforceTaskPrice => L<Paws::SageMaker::PublicWorkforceTaskPrice>
67  
68  
69  
70  
71 =head2 TaskAvailabilityLifetimeInSeconds => Int
72  
73 The length of time that a task remains available for review by human
74 workers.
75  
76  
77 =head2 B<REQUIRED> TaskCount => Int
78  
79 The number of distinct workers who will perform the same task on each
80 object. For example, if C<TaskCount> is set to C<3> for an image
81 classification labeling job, three workers will classify each input
82 image. Increasing C<TaskCount> can improve label accuracy.
83  
84  
85 =head2 B<REQUIRED> TaskDescription => Str
86  
87 A description for the human worker task.
88  
89  
90 =head2 TaskKeywords => ArrayRef[Str|Undef]
91  
92 Keywords used to describe the task so that workers can discover the
93 task.
94  
95  
96 =head2 TaskTimeLimitInSeconds => Int
97  
98 The amount of time that a worker has to complete a task. The default
99 value is 3,600 seconds (1 hour).
100  
101  
102 =head2 B<REQUIRED> TaskTitle => Str
103  
104 A title for the human worker task.
105  
106  
107 =head2 B<REQUIRED> WorkteamArn => Str
108  
109 Amazon Resource Name (ARN) of a team of workers. To learn more about
110 the types of workforces and work teams you can create and use with
111 Amazon A2I, see Create and Manage Workforces
112 (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-management.html).
113  
114  
115  
116 =head1 SEE ALSO
117  
118 This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker>
119  
120 =head1 BUGS and CONTRIBUTIONS
121  
122 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
123  
124 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
125  
126 =cut
127