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

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 24 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::Campaign;
3 use Moose;
4 has CampaignArn => (is => 'ro', isa => 'Str', request_name => 'campaignArn', traits => ['NameInRequest']);
5 has CampaignConfig => (is => 'ro', isa => 'Paws::Personalize::CampaignConfig', request_name => 'campaignConfig', traits => ['NameInRequest']);
6 has CreationDateTime => (is => 'ro', isa => 'Str', request_name => 'creationDateTime', traits => ['NameInRequest']);
7 has FailureReason => (is => 'ro', isa => 'Str', request_name => 'failureReason', traits => ['NameInRequest']);
8 has LastUpdatedDateTime => (is => 'ro', isa => 'Str', request_name => 'lastUpdatedDateTime', traits => ['NameInRequest']);
9 has LatestCampaignUpdate => (is => 'ro', isa => 'Paws::Personalize::CampaignUpdateSummary', request_name => 'latestCampaignUpdate', traits => ['NameInRequest']);
10 has MinProvisionedTPS => (is => 'ro', isa => 'Int', request_name => 'minProvisionedTPS', traits => ['NameInRequest']);
11 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest']);
12 has SolutionVersionArn => (is => 'ro', isa => 'Str', request_name => 'solutionVersionArn', traits => ['NameInRequest']);
13 has Status => (is => 'ro', isa => 'Str', request_name => 'status', traits => ['NameInRequest']);
14  
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Personalize::Campaign
22  
23 =head1 USAGE
24  
25 This class represents one of two things:
26  
27 =head3 Arguments in a call to a service
28  
29 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
30 Each attribute should be used as a named argument in the calls that expect this type of object.
31  
32 As an example, if Att1 is expected to be a Paws::Personalize::Campaign object:
33  
34 $service_obj->Method(Att1 => { CampaignArn => $value, ..., Status => $value });
35  
36 =head3 Results returned from an API call
37  
38 Use accessors for each attribute. If Att1 is expected to be an Paws::Personalize::Campaign object:
39  
40 $result = $service_obj->Method(...);
41 $result->Att1->CampaignArn
42  
43 =head1 DESCRIPTION
44  
45 Describes a deployed solution version, otherwise known as a campaign.
46 For more information on campaigns, see CreateCampaign.
47  
48 =head1 ATTRIBUTES
49  
50  
51 =head2 CampaignArn => Str
52  
53 The Amazon Resource Name (ARN) of the campaign.
54  
55  
56 =head2 CampaignConfig => L<Paws::Personalize::CampaignConfig>
57  
58 The configuration details of a campaign.
59  
60  
61 =head2 CreationDateTime => Str
62  
63 The date and time (in Unix format) that the campaign was created.
64  
65  
66 =head2 FailureReason => Str
67  
68 If a campaign fails, the reason behind the failure.
69  
70  
71 =head2 LastUpdatedDateTime => Str
72  
73 The date and time (in Unix format) that the campaign was last updated.
74  
75  
76 =head2 LatestCampaignUpdate => L<Paws::Personalize::CampaignUpdateSummary>
77  
78  
79  
80  
81 =head2 MinProvisionedTPS => Int
82  
83 Specifies the requested minimum provisioned transactions
84 (recommendations) per second.
85  
86  
87 =head2 Name => Str
88  
89 The name of the campaign.
90  
91  
92 =head2 SolutionVersionArn => Str
93  
94 The Amazon Resource Name (ARN) of a specific version of the solution.
95  
96  
97 =head2 Status => Str
98  
99 The status of the campaign.
100  
101 A campaign can be in one of the following states:
102  
103 =over
104  
105 =item *
106  
107 CREATE PENDING E<gt> CREATE IN_PROGRESS E<gt> ACTIVE -or- CREATE FAILED
108  
109 =item *
110  
111 DELETE PENDING E<gt> DELETE IN_PROGRESS
112  
113 =back
114  
115  
116  
117  
118 =head1 SEE ALSO
119  
120 This class forms part of L<Paws>, describing an object used in L<Paws::Personalize>
121  
122 =head1 BUGS and CONTRIBUTIONS
123  
124 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
125  
126 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
127  
128 =cut
129