@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSCostAndUsageReportAsync extends AWSCostAndUsageReport
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
AbstractAWSCostAndUsageReportAsync
instead.
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
ENDPOINT_PREFIX
deleteReportDefinition, describeReportDefinitions, getCachedResponseMetadata, modifyReportDefinition, putReportDefinition, setEndpoint, setRegion, shutdown
Future<DeleteReportDefinitionResult> deleteReportDefinitionAsync(DeleteReportDefinitionRequest deleteReportDefinitionRequest)
Deletes the specified report.
deleteReportDefinitionRequest
- Deletes the specified report.Future<DeleteReportDefinitionResult> deleteReportDefinitionAsync(DeleteReportDefinitionRequest deleteReportDefinitionRequest, AsyncHandler<DeleteReportDefinitionRequest,DeleteReportDefinitionResult> asyncHandler)
Deletes the specified report.
deleteReportDefinitionRequest
- Deletes the specified report.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.Future<DescribeReportDefinitionsResult> describeReportDefinitionsAsync(DescribeReportDefinitionsRequest describeReportDefinitionsRequest)
Lists the AWS Cost and Usage reports available to this account.
describeReportDefinitionsRequest
- Requests a list of AWS Cost and Usage reports owned by the account.Future<DescribeReportDefinitionsResult> describeReportDefinitionsAsync(DescribeReportDefinitionsRequest describeReportDefinitionsRequest, AsyncHandler<DescribeReportDefinitionsRequest,DescribeReportDefinitionsResult> asyncHandler)
Lists the AWS Cost and Usage reports available to this account.
describeReportDefinitionsRequest
- Requests a list of AWS Cost and Usage reports owned by the account.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.Future<ModifyReportDefinitionResult> modifyReportDefinitionAsync(ModifyReportDefinitionRequest modifyReportDefinitionRequest)
Allows you to programatically update your report preferences.
modifyReportDefinitionRequest
- Future<ModifyReportDefinitionResult> modifyReportDefinitionAsync(ModifyReportDefinitionRequest modifyReportDefinitionRequest, AsyncHandler<ModifyReportDefinitionRequest,ModifyReportDefinitionResult> asyncHandler)
Allows you to programatically update your report preferences.
modifyReportDefinitionRequest
- 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.Future<PutReportDefinitionResult> putReportDefinitionAsync(PutReportDefinitionRequest putReportDefinitionRequest)
Creates a new report using the description that you provide.
putReportDefinitionRequest
- Creates a Cost and Usage Report.Future<PutReportDefinitionResult> putReportDefinitionAsync(PutReportDefinitionRequest putReportDefinitionRequest, AsyncHandler<PutReportDefinitionRequest,PutReportDefinitionResult> asyncHandler)
Creates a new report using the description that you provide.
putReportDefinitionRequest
- Creates a Cost and Usage Report.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.