File Coverage

blib/lib/Paws/MachineLearning/CreateBatchPrediction.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::MachineLearning::CreateBatchPrediction;
3 1     1   493 use Moose;
  1         4  
  1         9  
4             has BatchPredictionDataSourceId => (is => 'ro', isa => 'Str', required => 1);
5             has BatchPredictionId => (is => 'ro', isa => 'Str', required => 1);
6             has BatchPredictionName => (is => 'ro', isa => 'Str');
7             has MLModelId => (is => 'ro', isa => 'Str', required => 1);
8             has OutputUri => (is => 'ro', isa => 'Str', required => 1);
9              
10 1     1   6268 use MooseX::ClassAttribute;
  1         2  
  1         9  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateBatchPrediction');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MachineLearning::CreateBatchPredictionOutput');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::MachineLearning::CreateBatchPrediction - Arguments for method CreateBatchPrediction on Paws::MachineLearning
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method CreateBatchPrediction on the
26             Amazon Machine Learning service. Use the attributes of this class
27             as arguments to method CreateBatchPrediction.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateBatchPrediction.
30              
31             As an example:
32              
33             $service_obj->CreateBatchPrediction(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 B<REQUIRED> BatchPredictionDataSourceId => Str
41              
42             The ID of the C<DataSource> that points to the group of observations to
43             predict.
44              
45              
46              
47             =head2 B<REQUIRED> BatchPredictionId => Str
48              
49             A user-supplied ID that uniquely identifies the C<BatchPrediction>.
50              
51              
52              
53             =head2 BatchPredictionName => Str
54              
55             A user-supplied name or description of the C<BatchPrediction>.
56             C<BatchPredictionName> can only use the UTF-8 character set.
57              
58              
59              
60             =head2 B<REQUIRED> MLModelId => Str
61              
62             The ID of the C<MLModel> that will generate predictions for the group
63             of observations.
64              
65              
66              
67             =head2 B<REQUIRED> OutputUri => Str
68              
69             The location of an Amazon Simple Storage Service (Amazon S3) bucket or
70             directory to store the batch prediction results. The following
71             substrings are not allowed in the C<s3 key> portion of the C<outputURI>
72             field: ':', '//', '/./', '/../'.
73              
74             Amazon ML needs permissions to store and retrieve the logs on your
75             behalf. For information about how to set permissions, see the Amazon
76             Machine Learning Developer Guide.
77              
78              
79              
80              
81             =head1 SEE ALSO
82              
83             This class forms part of L<Paws>, documenting arguments for method CreateBatchPrediction in L<Paws::MachineLearning>
84              
85             =head1 BUGS and CONTRIBUTIONS
86              
87             The source code is located here: https://github.com/pplu/aws-sdk-perl
88              
89             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
90              
91             =cut
92