blib/lib/Paws/CostExplorer/AnomalySubscription.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CostExplorer::AnomalySubscription;
3 use Moose;
4 has AccountId => (is => 'ro', isa => 'Str');
5 has Frequency => (is => 'ro', isa => 'Str', required => 1);
6 has MonitorArnList => (is => 'ro', isa => 'ArrayRef[Str|Undef]', required => 1);
7 has Subscribers => (is => 'ro', isa => 'ArrayRef[Paws::CostExplorer::Subscriber]', required => 1);
8 has SubscriptionArn => (is => 'ro', isa => 'Str');
9 has SubscriptionName => (is => 'ro', isa => 'Str', required => 1);
10 has Threshold => (is => 'ro', isa => 'Num', required => 1);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::CostExplorer::AnomalySubscription
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::CostExplorer::AnomalySubscription object:
30  
31 $service_obj->Method(Att1 => { AccountId => $value, ..., Threshold => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::CostExplorer::AnomalySubscription object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->AccountId
39  
40 =head1 DESCRIPTION
41  
42 The association between a monitor, threshold, and list of subscribers
43 used to deliver notifications about anomalies detected by a monitor
44 that exceeds a threshold. The content consists of the detailed metadata
45 and the current status of the C<AnomalySubscription> object.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 AccountId => Str
51  
52 Your unique account identifier.
53  
54  
55 =head2 B<REQUIRED> Frequency => Str
56  
57 The frequency at which anomaly reports are sent over email.
58  
59  
60 =head2 B<REQUIRED> MonitorArnList => ArrayRef[Str|Undef]
61  
62 A list of cost anomaly monitors.
63  
64  
65 =head2 B<REQUIRED> Subscribers => ArrayRef[L<Paws::CostExplorer::Subscriber>]
66  
67 A list of subscribers to notify.
68  
69  
70 =head2 SubscriptionArn => Str
71  
72 The C<AnomalySubscription> Amazon Resource Name (ARN).
73  
74  
75 =head2 B<REQUIRED> SubscriptionName => Str
76  
77 The name for the subscription.
78  
79  
80 =head2 B<REQUIRED> Threshold => Num
81  
82 The dollar value that triggers a notification if the threshold is
83 exceeded.
84  
85  
86  
87 =head1 SEE ALSO
88  
89 This class forms part of L<Paws>, describing an object used in L<Paws::CostExplorer>
90  
91 =head1 BUGS and CONTRIBUTIONS
92  
93 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
94  
95 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
96  
97 =cut
98