blib/lib/Paws/Forecast/CreatePredictorBacktestExportJob.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Forecast::CreatePredictorBacktestExportJob;
3 use Moose;
4 has Destination => (is => 'ro', isa => 'Paws::Forecast::DataDestination', required => 1);
5 has PredictorArn => (is => 'ro', isa => 'Str', required => 1);
6 has PredictorBacktestExportJobName => (is => 'ro', isa => 'Str', required => 1);
7 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::Forecast::Tag]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreatePredictorBacktestExportJob');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Forecast::CreatePredictorBacktestExportJobResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Forecast::CreatePredictorBacktestExportJob - Arguments for method CreatePredictorBacktestExportJob on L<Paws::Forecast>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method CreatePredictorBacktestExportJob on the
25 L<Amazon Forecast Service|Paws::Forecast> service. Use the attributes of this class
26 as arguments to method CreatePredictorBacktestExportJob.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreatePredictorBacktestExportJob.
29  
30 =head1 SYNOPSIS
31  
32 my $forecast = Paws->service('Forecast');
33 my $CreatePredictorBacktestExportJobResponse =
34 $forecast->CreatePredictorBacktestExportJob(
35 Destination => {
36 S3Config => {
37 Path => 'MyS3Path',
38 RoleArn => 'MyArn', # max: 256
39 KMSKeyArn => 'MyKMSKeyArn', # max: 256; OPTIONAL
40 },
41  
42 },
43 PredictorArn => 'MyArn',
44 PredictorBacktestExportJobName => 'MyName',
45 Tags => [
46 {
47 Key => 'MyTagKey', # min: 1, max: 128
48 Value => 'MyTagValue', # max: 256
49  
50 },
51 ...
52 ], # OPTIONAL
53 );
54  
55 # Results:
56 my $PredictorBacktestExportJobArn =
57 $CreatePredictorBacktestExportJobResponse->PredictorBacktestExportJobArn;
58  
59 # Returns a L<Paws::Forecast::CreatePredictorBacktestExportJobResponse> object.
60  
61 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.
62 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/forecast/CreatePredictorBacktestExportJob>
63  
64 =head1 ATTRIBUTES
65  
66  
67 =head2 B<REQUIRED> Destination => L<Paws::Forecast::DataDestination>
68  
69  
70  
71  
72  
73 =head2 B<REQUIRED> PredictorArn => Str
74  
75 The Amazon Resource Name (ARN) of the predictor that you want to
76 export.
77  
78  
79  
80 =head2 B<REQUIRED> PredictorBacktestExportJobName => Str
81  
82 The name for the backtest export job.
83  
84  
85  
86 =head2 Tags => ArrayRef[L<Paws::Forecast::Tag>]
87  
88 Optional metadata to help you categorize and organize your backtests.
89 Each tag consists of a key and an optional value, both of which you
90 define. Tag keys and values are case sensitive.
91  
92 The following restrictions apply to tags:
93  
94 =over
95  
96 =item *
97  
98 For each resource, each tag key must be unique and each tag key must
99 have one value.
100  
101 =item *
102  
103 Maximum number of tags per resource: 50.
104  
105 =item *
106  
107 Maximum key length: 128 Unicode characters in UTF-8.
108  
109 =item *
110  
111 Maximum value length: 256 Unicode characters in UTF-8.
112  
113 =item *
114  
115 Accepted characters: all letters and numbers, spaces representable in
116 UTF-8, and + - = . _ : / @. If your tagging schema is used across other
117 services and resources, the character restrictions of those services
118 also apply.
119  
120 =item *
121  
122 Key prefixes cannot include any upper or lowercase combination of
123 C<aws:> or C<AWS:>. Values can have this prefix. If a tag value has
124 C<aws> as its prefix but the key does not, Forecast considers it to be
125 a user tag and will count against the limit of 50 tags. Tags with only
126 the key prefix of C<aws> do not count against your tags per resource
127 limit. You cannot edit or delete tag keys with this prefix.
128  
129 =back
130  
131  
132  
133  
134  
135 =head1 SEE ALSO
136  
137 This class forms part of L<Paws>, documenting arguments for method CreatePredictorBacktestExportJob in L<Paws::Forecast>
138  
139 =head1 BUGS and CONTRIBUTIONS
140  
141 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
142  
143 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
144  
145 =cut
146