@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSCostExplorerAsync extends AWSCostExplorer
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
AbstractAWSCostExplorerAsync
instead.
The Cost Explorer API allows you to programmatically query your cost and usage data. You can query for aggregated data such as total monthly costs or total daily usage. You can also query for granular data, such as the number of daily write operations for DynamoDB database tables in your production environment.
Service Endpoint
The Cost Explorer API provides the following endpoint:
https://ce.us-east-1.amazonaws.com
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<GetCostAndUsageResult> |
getCostAndUsageAsync(GetCostAndUsageRequest getCostAndUsageRequest)
Retrieve cost and usage metrics for your account.
|
Future<GetCostAndUsageResult> |
getCostAndUsageAsync(GetCostAndUsageRequest getCostAndUsageRequest,
AsyncHandler<GetCostAndUsageRequest,GetCostAndUsageResult> asyncHandler)
Retrieve cost and usage metrics for your account.
|
Future<GetDimensionValuesResult> |
getDimensionValuesAsync(GetDimensionValuesRequest getDimensionValuesRequest)
You can use
GetDimensionValues to retrieve all available filter values for a specific filter over a
period of time. |
Future<GetDimensionValuesResult> |
getDimensionValuesAsync(GetDimensionValuesRequest getDimensionValuesRequest,
AsyncHandler<GetDimensionValuesRequest,GetDimensionValuesResult> asyncHandler)
You can use
GetDimensionValues to retrieve all available filter values for a specific filter over a
period of time. |
Future<GetReservationUtilizationResult> |
getReservationUtilizationAsync(GetReservationUtilizationRequest getReservationUtilizationRequest)
You can retrieve the Reservation utilization for your account.
|
Future<GetReservationUtilizationResult> |
getReservationUtilizationAsync(GetReservationUtilizationRequest getReservationUtilizationRequest,
AsyncHandler<GetReservationUtilizationRequest,GetReservationUtilizationResult> asyncHandler)
You can retrieve the Reservation utilization for your account.
|
Future<GetTagsResult> |
getTagsAsync(GetTagsRequest getTagsRequest)
You can query for available tag keys and tag values for a specified period.
|
Future<GetTagsResult> |
getTagsAsync(GetTagsRequest getTagsRequest,
AsyncHandler<GetTagsRequest,GetTagsResult> asyncHandler)
You can query for available tag keys and tag values for a specified period.
|
getCachedResponseMetadata, getCostAndUsage, getDimensionValues, getReservationUtilization, getTags, shutdown
Future<GetCostAndUsageResult> getCostAndUsageAsync(GetCostAndUsageRequest getCostAndUsageRequest)
Retrieve cost and usage metrics for your account. You can specify which cost and usage-related metric, such as
BlendedCosts
or UsageQuantity
, that you want the request to return. You can also filter
and group your data by various dimensions, such as AWS Service
or AvailabilityZone
, in
a specific time range. See the GetDimensionValues
action for a complete list of the valid
dimensions. Master accounts in an organization have access to all member accounts.
getCostAndUsageRequest
- Future<GetCostAndUsageResult> getCostAndUsageAsync(GetCostAndUsageRequest getCostAndUsageRequest, AsyncHandler<GetCostAndUsageRequest,GetCostAndUsageResult> asyncHandler)
Retrieve cost and usage metrics for your account. You can specify which cost and usage-related metric, such as
BlendedCosts
or UsageQuantity
, that you want the request to return. You can also filter
and group your data by various dimensions, such as AWS Service
or AvailabilityZone
, in
a specific time range. See the GetDimensionValues
action for a complete list of the valid
dimensions. Master accounts in an organization have access to all member accounts.
getCostAndUsageRequest
- 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<GetDimensionValuesResult> getDimensionValuesAsync(GetDimensionValuesRequest getDimensionValuesRequest)
You can use GetDimensionValues
to retrieve all available filter values for a specific filter over a
period of time. You can search the dimension values for an arbitrary string.
getDimensionValuesRequest
- Future<GetDimensionValuesResult> getDimensionValuesAsync(GetDimensionValuesRequest getDimensionValuesRequest, AsyncHandler<GetDimensionValuesRequest,GetDimensionValuesResult> asyncHandler)
You can use GetDimensionValues
to retrieve all available filter values for a specific filter over a
period of time. You can search the dimension values for an arbitrary string.
getDimensionValuesRequest
- 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<GetReservationUtilizationResult> getReservationUtilizationAsync(GetReservationUtilizationRequest getReservationUtilizationRequest)
You can retrieve the Reservation utilization for your account. Master accounts in an organization have access to
their associated member accounts. You can filter data by dimensions in a time period. You can use
GetDimensionValues
to determine the possible dimension values. Currently, you can group only by
SUBSCRIPTION_ID
.
getReservationUtilizationRequest
- Future<GetReservationUtilizationResult> getReservationUtilizationAsync(GetReservationUtilizationRequest getReservationUtilizationRequest, AsyncHandler<GetReservationUtilizationRequest,GetReservationUtilizationResult> asyncHandler)
You can retrieve the Reservation utilization for your account. Master accounts in an organization have access to
their associated member accounts. You can filter data by dimensions in a time period. You can use
GetDimensionValues
to determine the possible dimension values. Currently, you can group only by
SUBSCRIPTION_ID
.
getReservationUtilizationRequest
- 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<GetTagsResult> getTagsAsync(GetTagsRequest getTagsRequest)
You can query for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string.
getTagsRequest
- Future<GetTagsResult> getTagsAsync(GetTagsRequest getTagsRequest, AsyncHandler<GetTagsRequest,GetTagsResult> asyncHandler)
You can query for available tag keys and tag values for a specified period. You can search the tag values for an arbitrary string.
getTagsRequest
- 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.Copyright © 2017. All rights reserved.