Class: AWS.ApplicationCostProfiler
- Inherits:
- 
      AWS.Service
      
        - Object
- AWS.Service
- AWS.ApplicationCostProfiler
 
- Identifier:
- applicationcostprofiler
- API Version:
- 2020-09-10
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service 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.
Sending a Request Using ApplicationCostProfiler
var applicationcostprofiler = new AWS.ApplicationCostProfiler();
applicationcostprofiler.deleteReportDefinition(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});
Locking the API Version
In order to ensure that the ApplicationCostProfiler object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var applicationcostprofiler = new AWS.ApplicationCostProfiler({apiVersion: '2020-09-10'});
You can also set the API version globally in AWS.config.apiVersions using
the applicationcostprofiler service identifier:
AWS.config.apiVersions = {
  applicationcostprofiler: '2020-09-10',
  // other service API versions
};
var applicationcostprofiler = new AWS.ApplicationCostProfiler();
Constructor Summary collapse
- 
  
    
      new AWS.ApplicationCostProfiler(options = {}) ⇒ Object 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
  
  
    Constructs a service object. 
Property Summary collapse
- 
  
    
      endpoint ⇒ AWS.Endpoint 
    
    
  
  
  
  
    readwrite
  
  
  
  
  
  
  
  
    An Endpoint object representing the endpoint URL for service requests. 
Properties inherited from AWS.Service
Method Summary collapse
- 
  
    
      deleteReportDefinition(params = {}, callback) ⇒ AWS.Request 
    
    
  
  
  
  
  
  
  
  
  
  
  
    Deletes the specified report definition in AWS Application Cost Profiler. 
- 
  
    
      getReportDefinition(params = {}, callback) ⇒ AWS.Request 
    
    
  
  
  
  
  
  
  
  
  
  
  
    Retrieves the definition of a report already configured in AWS Application Cost Profiler. . 
- 
  
    
      importApplicationUsage(params = {}, callback) ⇒ AWS.Request 
    
    
  
  
  
  
  
  
  
  
  
  
  
    Ingests application usage data from Amazon Simple Storage Service (Amazon S3). The data must already exist in the S3 location. 
- 
  
    
      listReportDefinitions(params = {}, callback) ⇒ AWS.Request 
    
    
  
  
  
  
  
  
  
  
  
  
  
    Retrieves a list of all reports and their configurations for your AWS account. The maximum number of reports is one. .
- 
  
    
      putReportDefinition(params = {}, callback) ⇒ AWS.Request 
    
    
  
  
  
  
  
  
  
  
  
  
  
    Creates the report definition for a report in Application Cost Profiler. . 
- 
  
    
      updateReportDefinition(params = {}, callback) ⇒ AWS.Request 
    
    
  
  
  
  
  
  
  
  
  
  
  
    Updates existing report in AWS Application Cost Profiler. . 
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.ApplicationCostProfiler(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.
Property Details
Method Details
deleteReportDefinition(params = {}, callback) ⇒ AWS.Request
Deletes the specified report definition in AWS Application Cost Profiler. This stops the report from being generated.
getReportDefinition(params = {}, callback) ⇒ AWS.Request
Retrieves the definition of a report already configured in AWS Application Cost Profiler.
importApplicationUsage(params = {}, callback) ⇒ AWS.Request
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(params = {}, callback) ⇒ AWS.Request
Retrieves a list of all reports and their configurations for your AWS account.
The maximum number of reports is one.