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

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 17 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CostExplorer::UpdateAnomalySubscription;
3 use Moose;
4 has Frequency => (is => 'ro', isa => 'Str');
5 has MonitorArnList => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6 has Subscribers => (is => 'ro', isa => 'ArrayRef[Paws::CostExplorer::Subscriber]');
7 has SubscriptionArn => (is => 'ro', isa => 'Str', required => 1);
8 has SubscriptionName => (is => 'ro', isa => 'Str');
9 has Threshold => (is => 'ro', isa => 'Num');
10  
11 use MooseX::ClassAttribute;
12  
13 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAnomalySubscription');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CostExplorer::UpdateAnomalySubscriptionResponse');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16 1;
17  
18 ### main pod documentation begin ###
19  
20 =head1 NAME
21  
22 Paws::CostExplorer::UpdateAnomalySubscription - Arguments for method UpdateAnomalySubscription on L<Paws::CostExplorer>
23  
24 =head1 DESCRIPTION
25  
26 This class represents the parameters used for calling the method UpdateAnomalySubscription on the
27 L<AWS Cost Explorer Service|Paws::CostExplorer> service. Use the attributes of this class
28 as arguments to method UpdateAnomalySubscription.
29  
30 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAnomalySubscription.
31  
32 =head1 SYNOPSIS
33  
34 my $ce = Paws->service('CostExplorer');
35 my $UpdateAnomalySubscriptionResponse = $ce->UpdateAnomalySubscription(
36 SubscriptionArn => 'MyGenericString',
37 Frequency => 'DAILY', # OPTIONAL
38 MonitorArnList => [
39 'MyArn', ... # min: 20, max: 2048
40 ], # OPTIONAL
41 Subscribers => [
42 {
43 Address => 'MySubscriberAddress', # min: 6, max: 302; OPTIONAL
44 Status => 'CONFIRMED', # values: CONFIRMED, DECLINED; OPTIONAL
45 Type => 'EMAIL', # values: EMAIL, SNS; OPTIONAL
46 },
47 ...
48 ], # OPTIONAL
49 SubscriptionName => 'MyGenericString', # OPTIONAL
50 Threshold => 1, # OPTIONAL
51 );
52  
53 # Results:
54 my $SubscriptionArn = $UpdateAnomalySubscriptionResponse->SubscriptionArn;
55  
56 # Returns a L<Paws::CostExplorer::UpdateAnomalySubscriptionResponse> object.
57  
58 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
59 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/ce/UpdateAnomalySubscription>
60  
61 =head1 ATTRIBUTES
62  
63  
64 =head2 Frequency => Str
65  
66 The update to the frequency value at which subscribers will receive
67 notifications.
68  
69 Valid values are: C<"DAILY">, C<"IMMEDIATE">, C<"WEEKLY">
70  
71 =head2 MonitorArnList => ArrayRef[Str|Undef]
72  
73 A list of cost anomaly monitor ARNs.
74  
75  
76  
77 =head2 Subscribers => ArrayRef[L<Paws::CostExplorer::Subscriber>]
78  
79 The update to the subscriber list.
80  
81  
82  
83 =head2 B<REQUIRED> SubscriptionArn => Str
84  
85 A cost anomaly subscription Amazon Resource Name (ARN).
86  
87  
88  
89 =head2 SubscriptionName => Str
90  
91 The subscription's new name.
92  
93  
94  
95 =head2 Threshold => Num
96  
97 The update to the threshold value for receiving notifications.
98  
99  
100  
101  
102 =head1 SEE ALSO
103  
104 This class forms part of L<Paws>, documenting arguments for method UpdateAnomalySubscription in L<Paws::CostExplorer>
105  
106 =head1 BUGS and CONTRIBUTIONS
107  
108 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
109  
110 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
111  
112 =cut
113