blib/lib/Paws/FraudDetector/CreateBatchPredictionJob.pm untested

filter: Statementstmt 0.0% 0 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 27 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::FraudDetector::CreateBatchPredictionJob;
3 use Moose;
4 has DetectorName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'detectorName' , required => 1);
5 has DetectorVersion => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'detectorVersion' );
6 has EventTypeName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'eventTypeName' , required => 1);
7 has IamRoleArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'iamRoleArn' , required => 1);
8 has InputPath => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'inputPath' , required => 1);
9 has JobId => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'jobId' , required => 1);
10 has OutputPath => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'outputPath' , required => 1);
11 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::FraudDetector::Tag]', traits => ['NameInRequest'], request_name => 'tags' );
12  
13 use MooseX::ClassAttribute;
14  
15 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateBatchPredictionJob');
16 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::FraudDetector::CreateBatchPredictionJobResult');
17 class_has _result_key => (isa => 'Str', is => 'ro');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::FraudDetector::CreateBatchPredictionJob - Arguments for method CreateBatchPredictionJob on L<Paws::FraudDetector>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method CreateBatchPredictionJob on the
29 L<Amazon Fraud Detector|Paws::FraudDetector> service. Use the attributes of this class
30 as arguments to method CreateBatchPredictionJob.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateBatchPredictionJob.
33  
34 =head1 SYNOPSIS
35  
36 my $frauddetector = Paws->service('FraudDetector');
37 my $CreateBatchPredictionJobResult =
38 $frauddetector->CreateBatchPredictionJob(
39 DetectorName => 'Myidentifier',
40 EventTypeName => 'Myidentifier',
41 IamRoleArn => 'MyiamRoleArn',
42 InputPath => 'Mys3BucketLocation',
43 JobId => 'Myidentifier',
44 OutputPath => 'Mys3BucketLocation',
45 DetectorVersion => 'MywholeNumberVersionString', # OPTIONAL
46 Tags => [
47 {
48 Key => 'MytagKey', # min: 1, max: 128
49 Value => 'MytagValue', # max: 256
50  
51 },
52 ...
53 ], # OPTIONAL
54 );
55  
56 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.
57 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/frauddetector/CreateBatchPredictionJob>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 B<REQUIRED> DetectorName => Str
63  
64 The name of the detector.
65  
66  
67  
68 =head2 DetectorVersion => Str
69  
70 The detector version.
71  
72  
73  
74 =head2 B<REQUIRED> EventTypeName => Str
75  
76 The name of the event type.
77  
78  
79  
80 =head2 B<REQUIRED> IamRoleArn => Str
81  
82 The ARN of the IAM role to use for this job request.
83  
84  
85  
86 =head2 B<REQUIRED> InputPath => Str
87  
88 The Amazon S3 location of your training file.
89  
90  
91  
92 =head2 B<REQUIRED> JobId => Str
93  
94 The ID of the batch prediction job.
95  
96  
97  
98 =head2 B<REQUIRED> OutputPath => Str
99  
100 The Amazon S3 location of your output file.
101  
102  
103  
104 =head2 Tags => ArrayRef[L<Paws::FraudDetector::Tag>]
105  
106 A collection of key and value pairs.
107  
108  
109  
110  
111 =head1 SEE ALSO
112  
113 This class forms part of L<Paws>, documenting arguments for method CreateBatchPredictionJob in L<Paws::FraudDetector>
114  
115 =head1 BUGS and CONTRIBUTIONS
116  
117 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
118  
119 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
120  
121 =cut
122