File Coverage

blib/lib/Paws/MachineLearning/DataSource.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::MachineLearning::DataSource;
2 1     1   623 use Moose;
  1         5  
  1         10  
3             has ComputeStatistics => (is => 'ro', isa => 'Bool');
4             has ComputeTime => (is => 'ro', isa => 'Int');
5             has CreatedAt => (is => 'ro', isa => 'Str');
6             has CreatedByIamUser => (is => 'ro', isa => 'Str');
7             has DataLocationS3 => (is => 'ro', isa => 'Str');
8             has DataRearrangement => (is => 'ro', isa => 'Str');
9             has DataSizeInBytes => (is => 'ro', isa => 'Int');
10             has DataSourceId => (is => 'ro', isa => 'Str');
11             has FinishedAt => (is => 'ro', isa => 'Str');
12             has LastUpdatedAt => (is => 'ro', isa => 'Str');
13             has Message => (is => 'ro', isa => 'Str');
14             has Name => (is => 'ro', isa => 'Str');
15             has NumberOfFiles => (is => 'ro', isa => 'Int');
16             has RDSMetadata => (is => 'ro', isa => 'Paws::MachineLearning::RDSMetadata');
17             has RedshiftMetadata => (is => 'ro', isa => 'Paws::MachineLearning::RedshiftMetadata');
18             has RoleARN => (is => 'ro', isa => 'Str');
19             has StartedAt => (is => 'ro', isa => 'Str');
20             has Status => (is => 'ro', isa => 'Str');
21             1;
22              
23             ### main pod documentation begin ###
24              
25             =head1 NAME
26              
27             Paws::MachineLearning::DataSource
28              
29             =head1 USAGE
30              
31             This class represents one of two things:
32              
33             =head3 Arguments in a call to a service
34              
35             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
36             Each attribute should be used as a named argument in the calls that expect this type of object.
37              
38             As an example, if Att1 is expected to be a Paws::MachineLearning::DataSource object:
39              
40             $service_obj->Method(Att1 => { ComputeStatistics => $value, ..., Status => $value });
41              
42             =head3 Results returned from an API call
43              
44             Use accessors for each attribute. If Att1 is expected to be an Paws::MachineLearning::DataSource object:
45              
46             $result = $service_obj->Method(...);
47             $result->Att1->ComputeStatistics
48              
49             =head1 DESCRIPTION
50              
51             Represents the output of the C<GetDataSource> operation.
52              
53             The content consists of the detailed metadata and data file information
54             and the current status of the C<DataSource>.
55              
56             =head1 ATTRIBUTES
57              
58              
59             =head2 ComputeStatistics => Bool
60              
61             The parameter is C<true> if statistics need to be generated from the
62             observation data.
63              
64              
65             =head2 ComputeTime => Int
66              
67            
68              
69              
70             =head2 CreatedAt => Str
71              
72             The time that the C<DataSource> was created. The time is expressed in
73             epoch time.
74              
75              
76             =head2 CreatedByIamUser => Str
77              
78             The AWS user account from which the C<DataSource> was created. The
79             account type can be either an AWS root account or an AWS Identity and
80             Access Management (IAM) user account.
81              
82              
83             =head2 DataLocationS3 => Str
84              
85             The location and name of the data in Amazon Simple Storage Service
86             (Amazon S3) that is used by a C<DataSource>.
87              
88              
89             =head2 DataRearrangement => Str
90              
91             A JSON string that represents the splitting and rearrangement
92             requirement used when this C<DataSource> was created.
93              
94              
95             =head2 DataSizeInBytes => Int
96              
97             The total number of observations contained in the data files that the
98             C<DataSource> references.
99              
100              
101             =head2 DataSourceId => Str
102              
103             The ID that is assigned to the C<DataSource> during creation.
104              
105              
106             =head2 FinishedAt => Str
107              
108            
109              
110              
111             =head2 LastUpdatedAt => Str
112              
113             The time of the most recent edit to the C<BatchPrediction>. The time is
114             expressed in epoch time.
115              
116              
117             =head2 Message => Str
118              
119             A description of the most recent details about creating the
120             C<DataSource>.
121              
122              
123             =head2 Name => Str
124              
125             A user-supplied name or description of the C<DataSource>.
126              
127              
128             =head2 NumberOfFiles => Int
129              
130             The number of data files referenced by the C<DataSource>.
131              
132              
133             =head2 RDSMetadata => L<Paws::MachineLearning::RDSMetadata>
134              
135            
136              
137              
138             =head2 RedshiftMetadata => L<Paws::MachineLearning::RedshiftMetadata>
139              
140            
141              
142              
143             =head2 RoleARN => Str
144              
145            
146              
147              
148             =head2 StartedAt => Str
149              
150            
151              
152              
153             =head2 Status => Str
154              
155             The current status of the C<DataSource>. This element can have one of
156             the following values:
157              
158             =over
159              
160             =item * PENDING - Amazon Machine Learning (Amazon ML) submitted a
161             request to create a C<DataSource>.
162              
163             =item * INPROGRESS - The creation process is underway.
164              
165             =item * FAILED - The request to create a C<DataSource> did not run to
166             completion. It is not usable.
167              
168             =item * COMPLETED - The creation process completed successfully.
169              
170             =item * DELETED - The C<DataSource> is marked as deleted. It is not
171             usable.
172              
173             =back
174              
175              
176              
177              
178             =head1 SEE ALSO
179              
180             This class forms part of L<Paws>, describing an object used in L<Paws::MachineLearning>
181              
182             =head1 BUGS and CONTRIBUTIONS
183              
184             The source code is located here: https://github.com/pplu/aws-sdk-perl
185              
186             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
187              
188             =cut
189