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

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Forecast::ListForecastExportJobs;
3 use Moose;
4 has Filters => (is => 'ro', isa => 'ArrayRef[Paws::Forecast::Filter]');
5 has MaxResults => (is => 'ro', isa => 'Int');
6 has NextToken => (is => 'ro', isa => 'Str');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListForecastExportJobs');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Forecast::ListForecastExportJobsResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::Forecast::ListForecastExportJobs - Arguments for method ListForecastExportJobs on L<Paws::Forecast>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method ListForecastExportJobs on the
24 L<Amazon Forecast Service|Paws::Forecast> service. Use the attributes of this class
25 as arguments to method ListForecastExportJobs.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListForecastExportJobs.
28  
29 =head1 SYNOPSIS
30  
31 my $forecast = Paws->service('Forecast');
32 my $ListForecastExportJobsResponse = $forecast->ListForecastExportJobs(
33 Filters => [
34 {
35 Condition => 'IS', # values: IS, IS_NOT
36 Key => 'MyString', # max: 256
37 Value => 'MyArn', # max: 256
38  
39 },
40 ...
41 ], # OPTIONAL
42 MaxResults => 1, # OPTIONAL
43 NextToken => 'MyNextToken', # OPTIONAL
44 );
45  
46 # Results:
47 my $ForecastExportJobs =
48 $ListForecastExportJobsResponse->ForecastExportJobs;
49 my $NextToken = $ListForecastExportJobsResponse->NextToken;
50  
51 # Returns a L<Paws::Forecast::ListForecastExportJobsResponse> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/forecast/ListForecastExportJobs>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 Filters => ArrayRef[L<Paws::Forecast::Filter>]
60  
61 An array of filters. For each filter, you provide a condition and a
62 match statement. The condition is either C<IS> or C<IS_NOT>, which
63 specifies whether to include or exclude the forecast export jobs that
64 match the statement from the list, respectively. The match statement
65 consists of a key and a value.
66  
67 B<Filter properties>
68  
69 =over
70  
71 =item *
72  
73 C<Condition> - The condition to apply. Valid values are C<IS> and
74 C<IS_NOT>. To include the forecast export jobs that match the
75 statement, specify C<IS>. To exclude matching forecast export jobs,
76 specify C<IS_NOT>.
77  
78 =item *
79  
80 C<Key> - The name of the parameter to filter on. Valid values are
81 C<ForecastArn> and C<Status>.
82  
83 =item *
84  
85 C<Value> - The value to match.
86  
87 =back
88  
89 For example, to list all jobs that export a forecast named
90 I<electricityforecast>, specify the following filter:
91  
92 C<"Filters": [ { "Condition": "IS", "Key": "ForecastArn", "Value":
93 "arn:aws:forecast:us-west-2:E<lt>acct-idE<gt>:forecast/electricityforecast"
94 } ]>
95  
96  
97  
98 =head2 MaxResults => Int
99  
100 The number of items to return in the response.
101  
102  
103  
104 =head2 NextToken => Str
105  
106 If the result of the previous request was truncated, the response
107 includes a C<NextToken>. To retrieve the next set of results, use the
108 token in the next request. Tokens expire after 24 hours.
109  
110  
111  
112  
113 =head1 SEE ALSO
114  
115 This class forms part of L<Paws>, documenting arguments for method ListForecastExportJobs in L<Paws::Forecast>
116  
117 =head1 BUGS and CONTRIBUTIONS
118  
119 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
120  
121 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
122  
123 =cut
124