blib/lib/Paws/Personalize/DatasetImportJob.pm untested

filter: Statementstmt 0.0% 0 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 22 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Personalize::DatasetImportJob;
3 use Moose;
4 has CreationDateTime => (is => 'ro', isa => 'Str', request_name => 'creationDateTime', traits => ['NameInRequest']);
5 has DatasetArn => (is => 'ro', isa => 'Str', request_name => 'datasetArn', traits => ['NameInRequest']);
6 has DatasetImportJobArn => (is => 'ro', isa => 'Str', request_name => 'datasetImportJobArn', traits => ['NameInRequest']);
7 has DataSource => (is => 'ro', isa => 'Paws::Personalize::DataSource', request_name => 'dataSource', traits => ['NameInRequest']);
8 has FailureReason => (is => 'ro', isa => 'Str', request_name => 'failureReason', traits => ['NameInRequest']);
9 has JobName => (is => 'ro', isa => 'Str', request_name => 'jobName', traits => ['NameInRequest']);
10 has LastUpdatedDateTime => (is => 'ro', isa => 'Str', request_name => 'lastUpdatedDateTime', traits => ['NameInRequest']);
11 has RoleArn => (is => 'ro', isa => 'Str', request_name => 'roleArn', traits => ['NameInRequest']);
12 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
13  
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::Personalize::DatasetImportJob
21  
22 =head1 USAGE
23  
24 This class represents one of two things:
25  
26 =head3 Arguments in a call to a service
27  
28 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
29 Each attribute should be used as a named argument in the calls that expect this type of object.
30  
31 As an example, if Att1 is expected to be a Paws::Personalize::DatasetImportJob object:
32  
33 $service_obj->Method(Att1 => { CreationDateTime => $value, ..., Status => $value });
34  
35 =head3 Results returned from an API call
36  
37 Use accessors for each attribute. If Att1 is expected to be an Paws::Personalize::DatasetImportJob object:
38  
39 $result = $service_obj->Method(...);
40 $result->Att1->CreationDateTime
41  
42 =head1 DESCRIPTION
43  
44 Describes a job that imports training data from a data source (Amazon
45 S3 bucket) to an Amazon Personalize dataset. For more information, see
46 CreateDatasetImportJob.
47  
48 A dataset import job can be in one of the following states:
49  
50 =over
51  
52 =item *
53  
54 CREATE PENDING E<gt> CREATE IN_PROGRESS E<gt> ACTIVE -or- CREATE FAILED
55  
56 =back
57  
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 CreationDateTime => Str
63  
64 The creation date and time (in Unix time) of the dataset import job.
65  
66  
67 =head2 DatasetArn => Str
68  
69 The Amazon Resource Name (ARN) of the dataset that receives the
70 imported data.
71  
72  
73 =head2 DatasetImportJobArn => Str
74  
75 The ARN of the dataset import job.
76  
77  
78 =head2 DataSource => L<Paws::Personalize::DataSource>
79  
80 The Amazon S3 bucket that contains the training data to import.
81  
82  
83 =head2 FailureReason => Str
84  
85 If a dataset import job fails, provides the reason why.
86  
87  
88 =head2 JobName => Str
89  
90 The name of the import job.
91  
92  
93 =head2 LastUpdatedDateTime => Str
94  
95 The date and time (in Unix time) the dataset was last updated.
96  
97  
98 =head2 RoleArn => Str
99  
100 The ARN of the AWS Identity and Access Management (IAM) role that has
101 permissions to read from the Amazon S3 data source.
102  
103  
104 =head2 Status => Str
105  
106 The status of the dataset import job.
107  
108 A dataset import job can be in one of the following states:
109  
110 =over
111  
112 =item *
113  
114 CREATE PENDING E<gt> CREATE IN_PROGRESS E<gt> ACTIVE -or- CREATE FAILED
115  
116 =back
117  
118  
119  
120  
121 =head1 SEE ALSO
122  
123 This class forms part of L<Paws>, describing an object used in L<Paws::Personalize>
124  
125 =head1 BUGS and CONTRIBUTIONS
126  
127 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
128  
129 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
130  
131 =cut
132