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

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 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::LabelingJobDataSource;
3 use Moose;
4 has S3DataSource => (is => 'ro', isa => 'Paws::SageMaker::LabelingJobS3DataSource');
5 has SnsDataSource => (is => 'ro', isa => 'Paws::SageMaker::LabelingJobSnsDataSource');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::SageMaker::LabelingJobDataSource
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::SageMaker::LabelingJobDataSource object:
25  
26 $service_obj->Method(Att1 => { S3DataSource => $value, ..., SnsDataSource => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::LabelingJobDataSource object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->S3DataSource
34  
35 =head1 DESCRIPTION
36  
37 Provides information about the location of input data.
38  
39 You must specify at least one of the following: C<S3DataSource> or
40 C<SnsDataSource>.
41  
42 Use C<SnsDataSource> to specify an SNS input topic for a streaming
43 labeling job. If you do not specify and SNS input topic ARN, Ground
44 Truth will create a one-time labeling job.
45  
46 Use C<S3DataSource> to specify an input manifest file for both
47 streaming and one-time labeling jobs. Adding an C<S3DataSource> is
48 optional if you use C<SnsDataSource> to create a streaming labeling
49 job.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 S3DataSource => L<Paws::SageMaker::LabelingJobS3DataSource>
55  
56 The Amazon S3 location of the input data objects.
57  
58  
59 =head2 SnsDataSource => L<Paws::SageMaker::LabelingJobSnsDataSource>
60  
61 An Amazon SNS data source used for streaming labeling jobs. To learn
62 more, see Send Data to a Streaming Labeling Job
63 (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-streaming-labeling-job.html#sms-streaming-how-it-works-send-data).
64  
65  
66  
67 =head1 SEE ALSO
68  
69 This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker>
70  
71 =head1 BUGS and CONTRIBUTIONS
72  
73 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
74  
75 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
76  
77 =cut
78