File Coverage

blib/lib/Paws/Budgets/Budget.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::Budgets::Budget;
2 1     1   1025 use Moose;
  1         5  
  1         15  
3             has BudgetLimit => (is => 'ro', isa => 'Paws::Budgets::Spend', required => 1);
4             has BudgetName => (is => 'ro', isa => 'Str', required => 1);
5             has BudgetType => (is => 'ro', isa => 'Str', required => 1);
6             has CalculatedSpend => (is => 'ro', isa => 'Paws::Budgets::CalculatedSpend');
7             has CostFilters => (is => 'ro', isa => 'Paws::Budgets::CostFilters');
8             has CostTypes => (is => 'ro', isa => 'Paws::Budgets::CostTypes', required => 1);
9             has TimePeriod => (is => 'ro', isa => 'Paws::Budgets::TimePeriod', required => 1);
10             has TimeUnit => (is => 'ro', isa => 'Str', required => 1);
11             1;
12              
13             ### main pod documentation begin ###
14              
15             =head1 NAME
16              
17             Paws::Budgets::Budget
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::Budgets::Budget object:
29              
30             $service_obj->Method(Att1 => { BudgetLimit => $value, ..., TimeUnit => $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::Budgets::Budget object:
35              
36             $result = $service_obj->Method(...);
37             $result->Att1->BudgetLimit
38              
39             =head1 DESCRIPTION
40              
41             AWS Budget model
42              
43             =head1 ATTRIBUTES
44              
45              
46             =head2 B<REQUIRED> BudgetLimit => L<Paws::Budgets::Spend>
47              
48            
49              
50              
51             =head2 B<REQUIRED> BudgetName => Str
52              
53            
54              
55              
56             =head2 B<REQUIRED> BudgetType => Str
57              
58            
59              
60              
61             =head2 CalculatedSpend => L<Paws::Budgets::CalculatedSpend>
62              
63            
64              
65              
66             =head2 CostFilters => L<Paws::Budgets::CostFilters>
67              
68            
69              
70              
71             =head2 B<REQUIRED> CostTypes => L<Paws::Budgets::CostTypes>
72              
73            
74              
75              
76             =head2 B<REQUIRED> TimePeriod => L<Paws::Budgets::TimePeriod>
77              
78            
79              
80              
81             =head2 B<REQUIRED> TimeUnit => Str
82              
83            
84              
85              
86              
87             =head1 SEE ALSO
88              
89             This class forms part of L<Paws>, describing an object used in L<Paws::Budgets>
90              
91             =head1 BUGS and CONTRIBUTIONS
92              
93             The source code is located here: https://github.com/pplu/aws-sdk-perl
94              
95             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
96              
97             =cut
98