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

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 30 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::Solution;
3 use Moose;
4 has AutoMLResult => (is => 'ro', isa => 'Paws::Personalize::AutoMLResult', request_name => 'autoMLResult', traits => ['NameInRequest']);
5 has CreationDateTime => (is => 'ro', isa => 'Str', request_name => 'creationDateTime', traits => ['NameInRequest']);
6 has DatasetGroupArn => (is => 'ro', isa => 'Str', request_name => 'datasetGroupArn', traits => ['NameInRequest']);
7 has EventType => (is => 'ro', isa => 'Str', request_name => 'eventType', traits => ['NameInRequest']);
8 has LastUpdatedDateTime => (is => 'ro', isa => 'Str', request_name => 'lastUpdatedDateTime', traits => ['NameInRequest']);
9 has LatestSolutionVersion => (is => 'ro', isa => 'Paws::Personalize::SolutionVersionSummary', request_name => 'latestSolutionVersion', traits => ['NameInRequest']);
10 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
11 has PerformAutoML => (is => 'ro', isa => 'Bool', request_name => 'performAutoML', traits => ['NameInRequest']);
12 has PerformHPO => (is => 'ro', isa => 'Bool', request_name => 'performHPO', traits => ['NameInRequest']);
13 has RecipeArn => (is => 'ro', isa => 'Str', request_name => 'recipeArn', traits => ['NameInRequest']);
14 has SolutionArn => (is => 'ro', isa => 'Str', request_name => 'solutionArn', traits => ['NameInRequest']);
15 has SolutionConfig => (is => 'ro', isa => 'Paws::Personalize::SolutionConfig', request_name => 'solutionConfig', traits => ['NameInRequest']);
16 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
17  
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::Personalize::Solution
25  
26 =head1 USAGE
27  
28 This class represents one of two things:
29  
30 =head3 Arguments in a call to a service
31  
32 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
33 Each attribute should be used as a named argument in the calls that expect this type of object.
34  
35 As an example, if Att1 is expected to be a Paws::Personalize::Solution object:
36  
37 $service_obj->Method(Att1 => { AutoMLResult => $value, ..., Status => $value });
38  
39 =head3 Results returned from an API call
40  
41 Use accessors for each attribute. If Att1 is expected to be an Paws::Personalize::Solution object:
42  
43 $result = $service_obj->Method(...);
44 $result->Att1->AutoMLResult
45  
46 =head1 DESCRIPTION
47  
48 An object that provides information about a solution. A solution is a
49 trained model that can be deployed as a campaign.
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 AutoMLResult => L<Paws::Personalize::AutoMLResult>
55  
56 When C<performAutoML> is true, specifies the best recipe found.
57  
58  
59 =head2 CreationDateTime => Str
60  
61 The creation date and time (in Unix time) of the solution.
62  
63  
64 =head2 DatasetGroupArn => Str
65  
66 The Amazon Resource Name (ARN) of the dataset group that provides the
67 training data.
68  
69  
70 =head2 EventType => Str
71  
72 The event type (for example, 'click' or 'like') that is used for
73 training the model. If no C<eventType> is provided, Amazon Personalize
74 uses all interactions for training with equal weight regardless of
75 type.
76  
77  
78 =head2 LastUpdatedDateTime => Str
79  
80 The date and time (in Unix time) that the solution was last updated.
81  
82  
83 =head2 LatestSolutionVersion => L<Paws::Personalize::SolutionVersionSummary>
84  
85 Describes the latest version of the solution, including the status and
86 the ARN.
87  
88  
89 =head2 Name => Str
90  
91 The name of the solution.
92  
93  
94 =head2 PerformAutoML => Bool
95  
96 When true, Amazon Personalize performs a search for the best
97 USER_PERSONALIZATION recipe from the list specified in the solution
98 configuration (C<recipeArn> must not be specified). When false (the
99 default), Amazon Personalize uses C<recipeArn> for training.
100  
101  
102 =head2 PerformHPO => Bool
103  
104 Whether to perform hyperparameter optimization (HPO) on the chosen
105 recipe. The default is C<false>.
106  
107  
108 =head2 RecipeArn => Str
109  
110 The ARN of the recipe used to create the solution.
111  
112  
113 =head2 SolutionArn => Str
114  
115 The ARN of the solution.
116  
117  
118 =head2 SolutionConfig => L<Paws::Personalize::SolutionConfig>
119  
120 Describes the configuration properties for the solution.
121  
122  
123 =head2 Status => Str
124  
125 The status of the solution.
126  
127 A solution can be in one of the following states:
128  
129 =over
130  
131 =item *
132  
133 CREATE PENDING E<gt> CREATE IN_PROGRESS E<gt> ACTIVE -or- CREATE FAILED
134  
135 =item *
136  
137 DELETE PENDING E<gt> DELETE IN_PROGRESS
138  
139 =back
140  
141  
142  
143  
144 =head1 SEE ALSO
145  
146 This class forms part of L<Paws>, describing an object used in L<Paws::Personalize>
147  
148 =head1 BUGS and CONTRIBUTIONS
149  
150 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
151  
152 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
153  
154 =cut
155