All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.costandusagereport.AWSCostAndUsageReportAsync Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS Cost and Usage Report module holds the client classes that are used for communicating with AWS Cost and Usage Report service.

The newest version!
/*
 * Copyright 2020-2025 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.costandusagereport;

import javax.annotation.Generated;

import com.amazonaws.services.costandusagereport.model.*;

/**
 * Interface for accessing AWS Cost and Usage Report Service asynchronously. Each asynchronous method will return a Java
 * Future object representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to
 * receive notification when an asynchronous operation completes.
 * 

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.costandusagereport.AbstractAWSCostAndUsageReportAsync} instead. *

*

*

* You can use the Amazon Web Services Cost and Usage Report API to programmatically create, query, and delete Amazon * Web Services Cost and Usage Report definitions. *

*

* Amazon Web Services Cost and Usage Report track the monthly Amazon Web Services costs and usage associated with your * Amazon Web Services account. The report contains line items for each unique combination of Amazon Web Services * product, usage type, and operation that your Amazon Web Services account uses. You can configure the Amazon Web * Services Cost and Usage Report to show only the data that you want, using the Amazon Web Services Cost and Usage * Report API. *

*

* Service Endpoint *

*

* The Amazon Web Services Cost and Usage Report API provides the following endpoint: *

*
    *
  • *

    * cur.us-east-1.amazonaws.com *

    *
  • *
*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AWSCostAndUsageReportAsync extends AWSCostAndUsageReport { /** *

* Deletes the specified report. Any tags associated with the report are also deleted. *

* * @param deleteReportDefinitionRequest * Deletes the specified report. * @return A Java Future containing the result of the DeleteReportDefinition operation returned by the service. * @sample AWSCostAndUsageReportAsync.DeleteReportDefinition * @see AWS API * Documentation */ java.util.concurrent.Future deleteReportDefinitionAsync(DeleteReportDefinitionRequest deleteReportDefinitionRequest); /** *

* Deletes the specified report. Any tags associated with the report are also deleted. *

* * @param deleteReportDefinitionRequest * Deletes the specified report. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteReportDefinition operation returned by the service. * @sample AWSCostAndUsageReportAsyncHandler.DeleteReportDefinition * @see AWS API * Documentation */ java.util.concurrent.Future deleteReportDefinitionAsync(DeleteReportDefinitionRequest deleteReportDefinitionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the Amazon Web Services Cost and Usage Report available to this account. *

* * @param describeReportDefinitionsRequest * Requests a Amazon Web Services Cost and Usage Report list owned by the account. * @return A Java Future containing the result of the DescribeReportDefinitions operation returned by the service. * @sample AWSCostAndUsageReportAsync.DescribeReportDefinitions * @see AWS * API Documentation */ java.util.concurrent.Future describeReportDefinitionsAsync( DescribeReportDefinitionsRequest describeReportDefinitionsRequest); /** *

* Lists the Amazon Web Services Cost and Usage Report available to this account. *

* * @param describeReportDefinitionsRequest * Requests a Amazon Web Services Cost and Usage Report list owned by the account. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DescribeReportDefinitions operation returned by the service. * @sample AWSCostAndUsageReportAsyncHandler.DescribeReportDefinitions * @see AWS * API Documentation */ java.util.concurrent.Future describeReportDefinitionsAsync( DescribeReportDefinitionsRequest describeReportDefinitionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists the tags associated with the specified report definition. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSCostAndUsageReportAsync.ListTagsForResource * @see AWS API * Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Lists the tags associated with the specified report definition. *

* * @param listTagsForResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AWSCostAndUsageReportAsyncHandler.ListTagsForResource * @see AWS API * Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Allows you to programmatically update your report preferences. *

* * @param modifyReportDefinitionRequest * @return A Java Future containing the result of the ModifyReportDefinition operation returned by the service. * @sample AWSCostAndUsageReportAsync.ModifyReportDefinition * @see AWS API * Documentation */ java.util.concurrent.Future modifyReportDefinitionAsync(ModifyReportDefinitionRequest modifyReportDefinitionRequest); /** *

* Allows you to programmatically update your report preferences. *

* * @param modifyReportDefinitionRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ModifyReportDefinition operation returned by the service. * @sample AWSCostAndUsageReportAsyncHandler.ModifyReportDefinition * @see AWS API * Documentation */ java.util.concurrent.Future modifyReportDefinitionAsync(ModifyReportDefinitionRequest modifyReportDefinitionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates a new report using the description that you provide. *

* * @param putReportDefinitionRequest * Creates a Cost and Usage Report. * @return A Java Future containing the result of the PutReportDefinition operation returned by the service. * @sample AWSCostAndUsageReportAsync.PutReportDefinition * @see AWS API * Documentation */ java.util.concurrent.Future putReportDefinitionAsync(PutReportDefinitionRequest putReportDefinitionRequest); /** *

* Creates a new report using the description that you provide. *

* * @param putReportDefinitionRequest * Creates a Cost and Usage Report. * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the PutReportDefinition operation returned by the service. * @sample AWSCostAndUsageReportAsyncHandler.PutReportDefinition * @see AWS API * Documentation */ java.util.concurrent.Future putReportDefinitionAsync(PutReportDefinitionRequest putReportDefinitionRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Associates a set of tags with a report definition. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSCostAndUsageReportAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Associates a set of tags with a report definition. *

* * @param tagResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AWSCostAndUsageReportAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Disassociates a set of tags from a report definition. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSCostAndUsageReportAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Disassociates a set of tags from a report definition. *

* * @param untagResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AWSCostAndUsageReportAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy