| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::Budgets::TimePeriod; | ||
| 3 | use Moose; | ||
| 4 | has End => (is => 'ro', isa => 'Str'); | ||
| 5 | has Start => (is => 'ro', isa => 'Str'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::Budgets::TimePeriod | ||
| 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::TimePeriod object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { End => $value, ..., Start => $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::TimePeriod object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->End | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | The period of time that is covered by a budget. The period has a start | ||
| 38 | date and an end date. The start date must come before the end date. | ||
| 39 | There are no restrictions on the end date. | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 End => Str | ||
| 45 | |||
| 46 | The end date for a budget. If you didn't specify an end date, AWS set | ||
| 47 | your end date to C<06/15/87 00:00 UTC>. The defaults are the same for | ||
| 48 | the AWS Billing and Cost Management console and the API. | ||
| 49 | |||
| 50 | After the end date, AWS deletes the budget and all associated | ||
| 51 | notifications and subscribers. You can change your end date with the | ||
| 52 | C<UpdateBudget> operation. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 Start => Str | ||
| 56 | |||
| 57 | The start date for a budget. If you created your budget and didn't | ||
| 58 | specify a start date, AWS defaults to the start of your chosen time | ||
| 59 | period (DAILY, MONTHLY, QUARTERLY, or ANNUALLY). For example, if you | ||
| 60 | created your budget on January 24, 2018, chose C<DAILY>, and didn't set | ||
| 61 | a start date, AWS set your start date to C<01/24/18 00:00 UTC>. If you | ||
| 62 | chose C<MONTHLY>, AWS set your start date to C<01/01/18 00:00 UTC>. The | ||
| 63 | defaults are the same for the AWS Billing and Cost Management console | ||
| 64 | and the API. | ||
| 65 | |||
| 66 | You can change your start date with the C<UpdateBudget> operation. | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head1 SEE ALSO | ||
| 71 | |||
| 72 | This class forms part of L<Paws>, describing an object used in L<Paws::Budgets> | ||
| 73 | |||
| 74 | =head1 BUGS and CONTRIBUTIONS | ||
| 75 | |||
| 76 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 77 | |||
| 78 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 79 | |||
| 80 | =cut | ||
| 81 |