blib/lib/Paws/Budgets/DescribeBudgetPerformanceHistory.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Budgets::DescribeBudgetPerformanceHistory;
3 use Moose;
4 has AccountId => (is => 'ro', isa => 'Str', required => 1);
5 has BudgetName => (is => 'ro', isa => 'Str', required => 1);
6 has MaxResults => (is => 'ro', isa => 'Int');
7 has NextToken => (is => 'ro', isa => 'Str');
8 has TimePeriod => (is => 'ro', isa => 'Paws::Budgets::TimePeriod');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeBudgetPerformanceHistory');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Budgets::DescribeBudgetPerformanceHistoryResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Budgets::DescribeBudgetPerformanceHistory - Arguments for method DescribeBudgetPerformanceHistory on L<Paws::Budgets>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeBudgetPerformanceHistory on the
26 L<AWS Budgets|Paws::Budgets> service. Use the attributes of this class
27 as arguments to method DescribeBudgetPerformanceHistory.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeBudgetPerformanceHistory.
30  
31 =head1 SYNOPSIS
32  
33 my $budgets = Paws->service('Budgets');
34 my $DescribeBudgetPerformanceHistoryResponse =
35 $budgets->DescribeBudgetPerformanceHistory(
36 AccountId => 'MyAccountId',
37 BudgetName => 'MyBudgetName',
38 MaxResults => 1, # OPTIONAL
39 NextToken => 'MyGenericString', # OPTIONAL
40 TimePeriod => {
41 End => '1970-01-01T01:00:00', # OPTIONAL
42 Start => '1970-01-01T01:00:00', # OPTIONAL
43 }, # OPTIONAL
44 );
45  
46 # Results:
47 my $BudgetPerformanceHistory =
48 $DescribeBudgetPerformanceHistoryResponse->BudgetPerformanceHistory;
49 my $NextToken = $DescribeBudgetPerformanceHistoryResponse->NextToken;
50  
51 # Returns a L<Paws::Budgets::DescribeBudgetPerformanceHistoryResponse> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/budgets/DescribeBudgetPerformanceHistory>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 B<REQUIRED> AccountId => Str
60  
61  
62  
63  
64  
65 =head2 B<REQUIRED> BudgetName => Str
66  
67  
68  
69  
70  
71 =head2 MaxResults => Int
72  
73  
74  
75  
76  
77 =head2 NextToken => Str
78  
79  
80  
81  
82  
83 =head2 TimePeriod => L<Paws::Budgets::TimePeriod>
84  
85 Retrieves how often the budget went into an C<ALARM> state for the
86 specified time period.
87  
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, documenting arguments for method DescribeBudgetPerformanceHistory in L<Paws::Budgets>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102