blib/lib/Paws/MachineLearning/DescribeDataSources.pm untested

filter: Statementstmt 0.0% 0 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::MachineLearning::DescribeDataSources;
3 use Moose;
4 has EQ => (is => 'ro', isa => 'Str');
5 has FilterVariable => (is => 'ro', isa => 'Str');
6 has GE => (is => 'ro', isa => 'Str');
7 has GT => (is => 'ro', isa => 'Str');
8 has LE => (is => 'ro', isa => 'Str');
9 has Limit => (is => 'ro', isa => 'Int');
10 has LT => (is => 'ro', isa => 'Str');
11 has NE => (is => 'ro', isa => 'Str');
12 has NextToken => (is => 'ro', isa => 'Str');
13 has Prefix => (is => 'ro', isa => 'Str');
14 has SortOrder => (is => 'ro', isa => 'Str');
15  
16 use MooseX::ClassAttribute;
17  
18 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeDataSources');
19 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::MachineLearning::DescribeDataSourcesOutput');
20 class_has _result_key => (isa => 'Str', is => 'ro');
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::MachineLearning::DescribeDataSources - Arguments for method DescribeDataSources on L<Paws::MachineLearning>
28  
29 =head1 DESCRIPTION
30  
31 This class represents the parameters used for calling the method DescribeDataSources on the
32 L<Amazon Machine Learning|Paws::MachineLearning> service. Use the attributes of this class
33 as arguments to method DescribeDataSources.
34  
35 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeDataSources.
36  
37 =head1 SYNOPSIS
38  
39 my $machinelearning = Paws->service('MachineLearning');
40 my $DescribeDataSourcesOutput = $machinelearning->DescribeDataSources(
41 EQ => 'MyComparatorValue', # OPTIONAL
42 FilterVariable => 'CreatedAt', # OPTIONAL
43 GE => 'MyComparatorValue', # OPTIONAL
44 GT => 'MyComparatorValue', # OPTIONAL
45 LE => 'MyComparatorValue', # OPTIONAL
46 LT => 'MyComparatorValue', # OPTIONAL
47 Limit => 1, # OPTIONAL
48 NE => 'MyComparatorValue', # OPTIONAL
49 NextToken => 'MyStringType', # OPTIONAL
50 Prefix => 'MyComparatorValue', # OPTIONAL
51 SortOrder => 'asc', # OPTIONAL
52 );
53  
54 # Results:
55 my $NextToken = $DescribeDataSourcesOutput->NextToken;
56 my $Results = $DescribeDataSourcesOutput->Results;
57  
58 # Returns a L<Paws::MachineLearning::DescribeDataSourcesOutput> object.
59  
60 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.
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/machinelearning/DescribeDataSources>
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 EQ => Str
67  
68 The equal to operator. The C<DataSource> results will have
69 C<FilterVariable> values that exactly match the value specified with
70 C<EQ>.
71  
72  
73  
74 =head2 FilterVariable => Str
75  
76 Use one of the following variables to filter a list of C<DataSource>:
77  
78 =over
79  
80 =item *
81  
82 C<CreatedAt> - Sets the search criteria to C<DataSource> creation
83 dates.
84  
85 =item *
86  
87 C<Status> - Sets the search criteria to C<DataSource> statuses.
88  
89 =item *
90  
91 C<Name> - Sets the search criteria to the contents of C<DataSource>
92 C<Name>.
93  
94 =item *
95  
96 C<DataUri> - Sets the search criteria to the URI of data files used to
97 create the C<DataSource>. The URI can identify either a file or an
98 Amazon Simple Storage Service (Amazon S3) bucket or directory.
99  
100 =item *
101  
102 C<IAMUser> - Sets the search criteria to the user account that invoked
103 the C<DataSource> creation.
104  
105 =back
106  
107  
108 Valid values are: C<"CreatedAt">, C<"LastUpdatedAt">, C<"Status">, C<"Name">, C<"DataLocationS3">, C<"IAMUser">
109  
110 =head2 GE => Str
111  
112 The greater than or equal to operator. The C<DataSource> results will
113 have C<FilterVariable> values that are greater than or equal to the
114 value specified with C<GE>.
115  
116  
117  
118 =head2 GT => Str
119  
120 The greater than operator. The C<DataSource> results will have
121 C<FilterVariable> values that are greater than the value specified with
122 C<GT>.
123  
124  
125  
126 =head2 LE => Str
127  
128 The less than or equal to operator. The C<DataSource> results will have
129 C<FilterVariable> values that are less than or equal to the value
130 specified with C<LE>.
131  
132  
133  
134 =head2 Limit => Int
135  
136 The maximum number of C<DataSource> to include in the result.
137  
138  
139  
140 =head2 LT => Str
141  
142 The less than operator. The C<DataSource> results will have
143 C<FilterVariable> values that are less than the value specified with
144 C<LT>.
145  
146  
147  
148 =head2 NE => Str
149  
150 The not equal to operator. The C<DataSource> results will have
151 C<FilterVariable> values not equal to the value specified with C<NE>.
152  
153  
154  
155 =head2 NextToken => Str
156  
157 The ID of the page in the paginated results.
158  
159  
160  
161 =head2 Prefix => Str
162  
163 A string that is found at the beginning of a variable, such as C<Name>
164 or C<Id>.
165  
166 For example, a C<DataSource> could have the C<Name>
167 C<2014-09-09-HolidayGiftMailer>. To search for this C<DataSource>,
168 select C<Name> for the C<FilterVariable> and any of the following
169 strings for the C<Prefix>:
170  
171 =over
172  
173 =item *
174  
175 2014-09
176  
177 =item *
178  
179 2014-09-09
180  
181 =item *
182  
183 2014-09-09-Holiday
184  
185 =back
186  
187  
188  
189  
190 =head2 SortOrder => Str
191  
192 A two-value parameter that determines the sequence of the resulting
193 list of C<DataSource>.
194  
195 =over
196  
197 =item *
198  
199 C<asc> - Arranges the list in ascending order (A-Z, 0-9).
200  
201 =item *
202  
203 C<dsc> - Arranges the list in descending order (Z-A, 9-0).
204  
205 =back
206  
207 Results are sorted by C<FilterVariable>.
208  
209 Valid values are: C<"asc">, C<"dsc">
210  
211  
212 =head1 SEE ALSO
213  
214 This class forms part of L<Paws>, documenting arguments for method DescribeDataSources in L<Paws::MachineLearning>
215  
216 =head1 BUGS and CONTRIBUTIONS
217  
218 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
219  
220 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
221  
222 =cut
223