Paws::CUR - Perl Interface to AWS AWS Cost and Usage Report Service
use Paws; my $obj = Paws->service('CUR'); my $res = $obj->Method( Arg1 => $val1, Arg2 => [ 'V1', 'V2' ], # if Arg3 is an object, the HashRef will be used as arguments to the constructor # of the arguments type Arg3 => { Att1 => 'Val1' }, # if Arg4 is an array of objects, the HashRefs will be passed as arguments to # the constructor of the arguments type Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ], );
The AWS Cost and Usage Report API enables you to programmatically create, query, and delete AWS Cost and Usage report definitions.
AWS Cost and Usage reports track the monthly AWS costs and usage associated with your AWS account. The report contains line items for each unique combination of AWS product, usage type, and operation that your AWS account uses. You can configure the AWS Cost and Usage report to show only the data that you want, using the AWS Cost and Usage API.
Service Endpoint
The AWS Cost and Usage Report API provides the following endpoint:
cur.us-east-1.amazonaws.com
For the AWS API documentation, see https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-reports-costusage.html
Each argument is described in detail in: Paws::CUR::DeleteReportDefinition
Returns: a Paws::CUR::DeleteReportDefinitionResponse instance
Deletes the specified report.
Each argument is described in detail in: Paws::CUR::DescribeReportDefinitions
Returns: a Paws::CUR::DescribeReportDefinitionsResponse instance
Lists the AWS Cost and Usage reports available to this account.
Each argument is described in detail in: Paws::CUR::PutReportDefinition
Returns: a Paws::CUR::PutReportDefinitionResponse instance
Creates a new report using the description that you provide.
Paginator methods are helpers that repetively call methods that return partial results
If passed a sub as first parameter, it will call the sub for each element found in :
- ReportDefinitions, passing the object as the first parameter, and the string 'ReportDefinitions' as the second parameter
If not, it will return a a Paws::CUR::DescribeReportDefinitionsResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
param
This service class forms part of Paws
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
To install Paws::SDK::Config, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Paws::SDK::Config
CPAN shell
perl -MCPAN -e shell install Paws::SDK::Config
For more information on module installation, please visit the detailed CPAN module installation guide.