The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::ApplicationCostProfiler - Perl Interface to AWS AWS Application Cost Profiler

SYNOPSIS

use Paws;

my $obj = Paws->service('ApplicationCostProfiler');
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

This reference provides descriptions of the AWS Application Cost Profiler API.

The AWS Application Cost Profiler API provides programmatic access to view, create, update, and delete application cost report definitions, as well as to import your usage data into the Application Cost Profiler service.

For more information about using this service, see the AWS Application Cost Profiler User Guide (https://docs.aws.amazon.com/application-cost-profiler/latest/userguide/introduction.html).

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/application-cost-profiler-2020-09-10

METHODS

DeleteReportDefinition

ReportId => Str

Each argument is described in detail in: Paws::ApplicationCostProfiler::DeleteReportDefinition

Returns: a Paws::ApplicationCostProfiler::DeleteReportDefinitionResult instance

Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being generated.

GetReportDefinition

ReportId => Str

Each argument is described in detail in: Paws::ApplicationCostProfiler::GetReportDefinition

Returns: a Paws::ApplicationCostProfiler::GetReportDefinitionResult instance

Retrieves the definition of a report already configured in AWS Application Cost Profiler.

ImportApplicationUsage

SourceS3Location => Paws::ApplicationCostProfiler::SourceS3Location

Each argument is described in detail in: Paws::ApplicationCostProfiler::ImportApplicationUsage

Returns: a Paws::ApplicationCostProfiler::ImportApplicationUsageResult instance

Ingests application usage data from Amazon Simple Storage Service (Amazon S3).

The data must already exist in the S3 location. As part of the action, AWS Application Cost Profiler copies the object from your S3 bucket to an S3 bucket owned by Amazon for processing asynchronously.

ListReportDefinitions

[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::ApplicationCostProfiler::ListReportDefinitions

Returns: a Paws::ApplicationCostProfiler::ListReportDefinitionsResult instance

Retrieves a list of all reports and their configurations for your AWS account.

The maximum number of reports is one.

PutReportDefinition

DestinationS3Location => Paws::ApplicationCostProfiler::S3Location
Format => Str
ReportDescription => Str
ReportFrequency => Str
ReportId => Str

Each argument is described in detail in: Paws::ApplicationCostProfiler::PutReportDefinition

Returns: a Paws::ApplicationCostProfiler::PutReportDefinitionResult instance

Creates the report definition for a report in Application Cost Profiler.

UpdateReportDefinition

DestinationS3Location => Paws::ApplicationCostProfiler::S3Location
Format => Str
ReportDescription => Str
ReportFrequency => Str
ReportId => Str

Each argument is described in detail in: Paws::ApplicationCostProfiler::UpdateReportDefinition

Returns: a Paws::ApplicationCostProfiler::UpdateReportDefinitionResult instance

Updates existing report in AWS Application Cost Profiler.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

ListAllReportDefinitions(sub { },[MaxResults => Int, NextToken => Str])

ListAllReportDefinitions([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::ApplicationCostProfiler::ListReportDefinitionsResult instance with all the params; 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