@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.
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
ENDPOINT_PREFIX
deleteReportDefinition, describeReportDefinitions, getCachedResponseMetadata, listTagsForResource, modifyReportDefinition, putReportDefinition, setEndpoint, setRegion, shutdown, tagResource, untagResource
Future<DeleteReportDefinitionResult> deleteReportDefinitionAsync(DeleteReportDefinitionRequest deleteReportDefinitionRequest)
Deletes the specified report. Any tags associated with the report are also deleted.
deleteReportDefinitionRequest
- Deletes the specified report.Future<DeleteReportDefinitionResult> deleteReportDefinitionAsync(DeleteReportDefinitionRequest deleteReportDefinitionRequest, AsyncHandler<DeleteReportDefinitionRequest,DeleteReportDefinitionResult> asyncHandler)
Deletes the specified report. Any tags associated with the report are also deleted.
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 Amazon Web Services Cost and Usage Report available to this account.
describeReportDefinitionsRequest
- Requests a Amazon Web Services Cost and Usage Report list owned by the account.Future<DescribeReportDefinitionsResult> describeReportDefinitionsAsync(DescribeReportDefinitionsRequest describeReportDefinitionsRequest, AsyncHandler<DescribeReportDefinitionsRequest,DescribeReportDefinitionsResult> asyncHandler)
Lists the Amazon Web Services Cost and Usage Report available to this account.
describeReportDefinitionsRequest
- Requests a Amazon Web Services Cost and Usage Report list 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<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags associated with the specified report definition.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags associated with the specified report definition.
listTagsForResourceRequest
- 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 programmatically update your report preferences.
modifyReportDefinitionRequest
- Future<ModifyReportDefinitionResult> modifyReportDefinitionAsync(ModifyReportDefinitionRequest modifyReportDefinitionRequest, AsyncHandler<ModifyReportDefinitionRequest,ModifyReportDefinitionResult> asyncHandler)
Allows you to programmatically 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.Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest)
Associates a set of tags with a report definition.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Associates a set of tags with a report definition.
tagResourceRequest
- 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<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest)
Disassociates a set of tags from a report definition.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Disassociates a set of tags from a report definition.
untagResourceRequest
- 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.