« blib/lib/Paws/Budgets/BudgetedAndActualAmounts.pm
↑ Summary
blib/lib/Paws/Budgets/CostFilters.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Budgets::CalculatedSpend; | ||
| 3 | use Moose; | ||
| 4 | has ActualSpend => (is => 'ro', isa => 'Paws::Budgets::Spend', required => 1); | ||
| 5 | has ForecastedSpend => (is => 'ro', isa => 'Paws::Budgets::Spend'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Budgets::CalculatedSpend | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::Budgets::CalculatedSpend object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { ActualSpend => $value, ..., ForecastedSpend => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::Budgets::CalculatedSpend object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->ActualSpend | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The spend objects that are associated with this budget. The | ||
| 38 | C<actualSpend> tracks how much you've used, cost, usage, RI units, or | ||
| 39 | Savings Plans units and the C<forecastedSpend> tracks how much you are | ||
| 40 | predicted to spend based on your historical usage profile. | ||
| 41 | |||
| 42 | For example, if it is the 20th of the month and you have spent C<50> | ||
| 43 | dollars on Amazon EC2, your C<actualSpend> is C<50 USD>, and your | ||
| 44 | C<forecastedSpend> is C<75 USD>. | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 B<REQUIRED> ActualSpend => L<Paws::Budgets::Spend> | ||
| 50 | |||
| 51 | The amount of cost, usage, RI units, or Savings Plans units that you | ||
| 52 | have used. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 ForecastedSpend => L<Paws::Budgets::Spend> | ||
| 56 | |||
| 57 | The amount of cost, usage, RI units, or Savings Plans units that you | ||
| 58 | are forecasted to use. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head1 SEE ALSO | ||
| 63 | |||
| 64 | This class forms part of L<Paws>, describing an object used in L<Paws::Budgets> | ||
| 65 | |||
| 66 | =head1 BUGS and CONTRIBUTIONS | ||
| 67 | |||
| 68 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 69 | |||
| 70 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 71 | |||
| 72 | =cut | ||
| 73 |