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

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