NAME
Paws::CUR - Perl Interface to AWS AWS Cost and Usage Report Service
SYNOPSIS
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' } ],
);
DESCRIPTION
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
METHODS
DeleteReportDefinition
Each argument is described in detail in: Paws::CUR::DeleteReportDefinition
Returns: a Paws::CUR::DeleteReportDefinitionResponse instance
Deletes the specified report.
DescribeReportDefinitions
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.
ModifyReportDefinition
- ReportDefinition => Paws::CUR::ReportDefinition
- ReportName => Str
Each argument is described in detail in: Paws::CUR::ModifyReportDefinition
Returns: a Paws::CUR::ModifyReportDefinitionResponse instance
Allows you to programatically update your report preferences.
PutReportDefinition
- ReportDefinition => Paws::CUR::ReportDefinition
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.
PAGINATORS
Paginator methods are helpers that repetively call methods that return partial results
DescribeAllReportDefinitions(sub { },[MaxResults => Int, NextToken => Str])
DescribeAllReportDefinitions([MaxResults => Int, NextToken => Str])
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 param
s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
SEE ALSO
This service class forms part of Paws
BUGS and CONTRIBUTIONS
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