
com.amazonaws.services.costexplorer.AWSCostExplorerAsync Maven / Gradle / Ivy
Show all versions of aws-java-sdk-costexplorer Show documentation
/*
* 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.costexplorer;
import javax.annotation.Generated;
import com.amazonaws.services.costexplorer.model.*;
/**
* Interface for accessing AWS Cost Explorer 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.costexplorer.AbstractAWSCostExplorerAsync} instead.
*
*
*
* You can use the Cost Explorer API 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. This might include the
* number of daily write operations for Amazon DynamoDB database tables in your production environment.
*
*
* Service Endpoint
*
*
* The Cost Explorer API provides the following endpoint:
*
*
* -
*
* https://ce.us-east-1.amazonaws.com
*
*
*
*
* For information about the costs that are associated with the Cost Explorer API, see Amazon Web Services Cost Management Pricing.
*
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public interface AWSCostExplorerAsync extends AWSCostExplorer {
/**
*
* Creates a new cost anomaly detection monitor with the requested type and monitor specification.
*
*
* @param createAnomalyMonitorRequest
* @return A Java Future containing the result of the CreateAnomalyMonitor operation returned by the service.
* @sample AWSCostExplorerAsync.CreateAnomalyMonitor
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createAnomalyMonitorAsync(CreateAnomalyMonitorRequest createAnomalyMonitorRequest);
/**
*
* Creates a new cost anomaly detection monitor with the requested type and monitor specification.
*
*
* @param createAnomalyMonitorRequest
* @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 CreateAnomalyMonitor operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.CreateAnomalyMonitor
* @see AWS API
* Documentation
*/
java.util.concurrent.Future createAnomalyMonitorAsync(CreateAnomalyMonitorRequest createAnomalyMonitorRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Adds an alert subscription to a cost anomaly detection monitor. You can use each subscription to define
* subscribers with email or SNS notifications. Email subscribers can set an absolute or percentage threshold and a
* time frequency for receiving notifications.
*
*
* @param createAnomalySubscriptionRequest
* @return A Java Future containing the result of the CreateAnomalySubscription operation returned by the service.
* @sample AWSCostExplorerAsync.CreateAnomalySubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createAnomalySubscriptionAsync(
CreateAnomalySubscriptionRequest createAnomalySubscriptionRequest);
/**
*
* Adds an alert subscription to a cost anomaly detection monitor. You can use each subscription to define
* subscribers with email or SNS notifications. Email subscribers can set an absolute or percentage threshold and a
* time frequency for receiving notifications.
*
*
* @param createAnomalySubscriptionRequest
* @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 CreateAnomalySubscription operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.CreateAnomalySubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future createAnomalySubscriptionAsync(
CreateAnomalySubscriptionRequest createAnomalySubscriptionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates a new Cost Category with the requested name and rules.
*
*
* @param createCostCategoryDefinitionRequest
* @return A Java Future containing the result of the CreateCostCategoryDefinition operation returned by the
* service.
* @sample AWSCostExplorerAsync.CreateCostCategoryDefinition
* @see AWS API Documentation
*/
java.util.concurrent.Future createCostCategoryDefinitionAsync(
CreateCostCategoryDefinitionRequest createCostCategoryDefinitionRequest);
/**
*
* Creates a new Cost Category with the requested name and rules.
*
*
* @param createCostCategoryDefinitionRequest
* @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 CreateCostCategoryDefinition operation returned by the
* service.
* @sample AWSCostExplorerAsyncHandler.CreateCostCategoryDefinition
* @see AWS API Documentation
*/
java.util.concurrent.Future createCostCategoryDefinitionAsync(
CreateCostCategoryDefinitionRequest createCostCategoryDefinitionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a cost anomaly monitor.
*
*
* @param deleteAnomalyMonitorRequest
* @return A Java Future containing the result of the DeleteAnomalyMonitor operation returned by the service.
* @sample AWSCostExplorerAsync.DeleteAnomalyMonitor
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteAnomalyMonitorAsync(DeleteAnomalyMonitorRequest deleteAnomalyMonitorRequest);
/**
*
* Deletes a cost anomaly monitor.
*
*
* @param deleteAnomalyMonitorRequest
* @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 DeleteAnomalyMonitor operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.DeleteAnomalyMonitor
* @see AWS API
* Documentation
*/
java.util.concurrent.Future deleteAnomalyMonitorAsync(DeleteAnomalyMonitorRequest deleteAnomalyMonitorRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a cost anomaly subscription.
*
*
* @param deleteAnomalySubscriptionRequest
* @return A Java Future containing the result of the DeleteAnomalySubscription operation returned by the service.
* @sample AWSCostExplorerAsync.DeleteAnomalySubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteAnomalySubscriptionAsync(
DeleteAnomalySubscriptionRequest deleteAnomalySubscriptionRequest);
/**
*
* Deletes a cost anomaly subscription.
*
*
* @param deleteAnomalySubscriptionRequest
* @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 DeleteAnomalySubscription operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.DeleteAnomalySubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future deleteAnomalySubscriptionAsync(
DeleteAnomalySubscriptionRequest deleteAnomalySubscriptionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Deletes a Cost Category. Expenses from this month going forward will no longer be categorized with this Cost
* Category.
*
*
* @param deleteCostCategoryDefinitionRequest
* @return A Java Future containing the result of the DeleteCostCategoryDefinition operation returned by the
* service.
* @sample AWSCostExplorerAsync.DeleteCostCategoryDefinition
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteCostCategoryDefinitionAsync(
DeleteCostCategoryDefinitionRequest deleteCostCategoryDefinitionRequest);
/**
*
* Deletes a Cost Category. Expenses from this month going forward will no longer be categorized with this Cost
* Category.
*
*
* @param deleteCostCategoryDefinitionRequest
* @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 DeleteCostCategoryDefinition operation returned by the
* service.
* @sample AWSCostExplorerAsyncHandler.DeleteCostCategoryDefinition
* @see AWS API Documentation
*/
java.util.concurrent.Future deleteCostCategoryDefinitionAsync(
DeleteCostCategoryDefinitionRequest deleteCostCategoryDefinitionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the name, Amazon Resource Name (ARN), rules, definition, and effective dates of a Cost Category that's
* defined in the account.
*
*
* You have the option to use EffectiveOn
to return a Cost Category that's active on a specific date.
* If there's no EffectiveOn
specified, you see a Cost Category that's effective on the current date.
* If Cost Category is still effective, EffectiveEnd
is omitted in the response.
*
*
* @param describeCostCategoryDefinitionRequest
* @return A Java Future containing the result of the DescribeCostCategoryDefinition operation returned by the
* service.
* @sample AWSCostExplorerAsync.DescribeCostCategoryDefinition
* @see AWS API Documentation
*/
java.util.concurrent.Future describeCostCategoryDefinitionAsync(
DescribeCostCategoryDefinitionRequest describeCostCategoryDefinitionRequest);
/**
*
* Returns the name, Amazon Resource Name (ARN), rules, definition, and effective dates of a Cost Category that's
* defined in the account.
*
*
* You have the option to use EffectiveOn
to return a Cost Category that's active on a specific date.
* If there's no EffectiveOn
specified, you see a Cost Category that's effective on the current date.
* If Cost Category is still effective, EffectiveEnd
is omitted in the response.
*
*
* @param describeCostCategoryDefinitionRequest
* @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 DescribeCostCategoryDefinition operation returned by the
* service.
* @sample AWSCostExplorerAsyncHandler.DescribeCostCategoryDefinition
* @see AWS API Documentation
*/
java.util.concurrent.Future describeCostCategoryDefinitionAsync(
DescribeCostCategoryDefinitionRequest describeCostCategoryDefinitionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves all of the cost anomalies detected on your account during the time period that's specified by the
* DateInterval
object. Anomalies are available for up to 90 days.
*
*
* @param getAnomaliesRequest
* @return A Java Future containing the result of the GetAnomalies operation returned by the service.
* @sample AWSCostExplorerAsync.GetAnomalies
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAnomaliesAsync(GetAnomaliesRequest getAnomaliesRequest);
/**
*
* Retrieves all of the cost anomalies detected on your account during the time period that's specified by the
* DateInterval
object. Anomalies are available for up to 90 days.
*
*
* @param getAnomaliesRequest
* @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 GetAnomalies operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetAnomalies
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAnomaliesAsync(GetAnomaliesRequest getAnomaliesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the cost anomaly monitor definitions for your account. You can filter using a list of cost anomaly
* monitor Amazon Resource Names (ARNs).
*
*
* @param getAnomalyMonitorsRequest
* @return A Java Future containing the result of the GetAnomalyMonitors operation returned by the service.
* @sample AWSCostExplorerAsync.GetAnomalyMonitors
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAnomalyMonitorsAsync(GetAnomalyMonitorsRequest getAnomalyMonitorsRequest);
/**
*
* Retrieves the cost anomaly monitor definitions for your account. You can filter using a list of cost anomaly
* monitor Amazon Resource Names (ARNs).
*
*
* @param getAnomalyMonitorsRequest
* @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 GetAnomalyMonitors operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetAnomalyMonitors
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAnomalyMonitorsAsync(GetAnomalyMonitorsRequest getAnomalyMonitorsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the cost anomaly subscription objects for your account. You can filter using a list of cost anomaly
* monitor Amazon Resource Names (ARNs).
*
*
* @param getAnomalySubscriptionsRequest
* @return A Java Future containing the result of the GetAnomalySubscriptions operation returned by the service.
* @sample AWSCostExplorerAsync.GetAnomalySubscriptions
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAnomalySubscriptionsAsync(GetAnomalySubscriptionsRequest getAnomalySubscriptionsRequest);
/**
*
* Retrieves the cost anomaly subscription objects for your account. You can filter using a list of cost anomaly
* monitor Amazon Resource Names (ARNs).
*
*
* @param getAnomalySubscriptionsRequest
* @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 GetAnomalySubscriptions operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetAnomalySubscriptions
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getAnomalySubscriptionsAsync(GetAnomalySubscriptionsRequest getAnomalySubscriptionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves estimated usage records for hourly granularity or resource-level data at daily granularity.
*
*
* @param getApproximateUsageRecordsRequest
* @return A Java Future containing the result of the GetApproximateUsageRecords operation returned by the service.
* @sample AWSCostExplorerAsync.GetApproximateUsageRecords
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getApproximateUsageRecordsAsync(
GetApproximateUsageRecordsRequest getApproximateUsageRecordsRequest);
/**
*
* Retrieves estimated usage records for hourly granularity or resource-level data at daily granularity.
*
*
* @param getApproximateUsageRecordsRequest
* @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 GetApproximateUsageRecords operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetApproximateUsageRecords
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getApproximateUsageRecordsAsync(
GetApproximateUsageRecordsRequest getApproximateUsageRecordsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric that you
* want the request to return. For example, you can specify BlendedCosts
or UsageQuantity
.
* You can also filter and group your data by various dimensions, such as SERVICE
or AZ
,
* in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all
* member accounts.
*
*
* For information about filter limitations, see Quotas and
* restrictions in the Billing and Cost Management User Guide.
*
*
* @param getCostAndUsageRequest
* @return A Java Future containing the result of the GetCostAndUsage operation returned by the service.
* @sample AWSCostExplorerAsync.GetCostAndUsage
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getCostAndUsageAsync(GetCostAndUsageRequest getCostAndUsageRequest);
/**
*
* Retrieves cost and usage metrics for your account. You can specify which cost and usage-related metric that you
* want the request to return. For example, you can specify BlendedCosts
or UsageQuantity
.
* You can also filter and group your data by various dimensions, such as SERVICE
or AZ
,
* in a specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all
* member accounts.
*
*
* For information about filter limitations, see Quotas and
* restrictions in the Billing and Cost Management User Guide.
*
*
* @param getCostAndUsageRequest
* @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 GetCostAndUsage operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetCostAndUsage
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getCostAndUsageAsync(GetCostAndUsageRequest getCostAndUsageRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves cost and usage metrics with resources 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 SERVICE
or AZ
, in a
* specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all
* member accounts.
*
*
* Hourly granularity is only available for EC2-Instances (Elastic Compute Cloud) resource-level data. All other
* resource-level data is available at daily granularity.
*
*
*
* This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information
* about how to access the Settings page, see Controlling Access for Cost
* Explorer in the Billing and Cost Management User Guide.
*
*
*
* @param getCostAndUsageWithResourcesRequest
* @return A Java Future containing the result of the GetCostAndUsageWithResources operation returned by the
* service.
* @sample AWSCostExplorerAsync.GetCostAndUsageWithResources
* @see AWS API Documentation
*/
java.util.concurrent.Future getCostAndUsageWithResourcesAsync(
GetCostAndUsageWithResourcesRequest getCostAndUsageWithResourcesRequest);
/**
*
* Retrieves cost and usage metrics with resources 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 SERVICE
or AZ
, in a
* specific time range. For a complete list of valid dimensions, see the GetDimensionValues operation. Management account in an organization in Organizations have access to all
* member accounts.
*
*
* Hourly granularity is only available for EC2-Instances (Elastic Compute Cloud) resource-level data. All other
* resource-level data is available at daily granularity.
*
*
*
* This is an opt-in only feature. You can enable this feature from the Cost Explorer Settings page. For information
* about how to access the Settings page, see Controlling Access for Cost
* Explorer in the Billing and Cost Management User Guide.
*
*
*
* @param getCostAndUsageWithResourcesRequest
* @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 GetCostAndUsageWithResources operation returned by the
* service.
* @sample AWSCostExplorerAsyncHandler.GetCostAndUsageWithResources
* @see AWS API Documentation
*/
java.util.concurrent.Future getCostAndUsageWithResourcesAsync(
GetCostAndUsageWithResourcesRequest getCostAndUsageWithResourcesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves an array of Cost Category names and values incurred cost.
*
*
*
* If some Cost Category names and values are not associated with any cost, they will not be returned by this API.
*
*
*
* @param getCostCategoriesRequest
* @return A Java Future containing the result of the GetCostCategories operation returned by the service.
* @sample AWSCostExplorerAsync.GetCostCategories
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getCostCategoriesAsync(GetCostCategoriesRequest getCostCategoriesRequest);
/**
*
* Retrieves an array of Cost Category names and values incurred cost.
*
*
*
* If some Cost Category names and values are not associated with any cost, they will not be returned by this API.
*
*
*
* @param getCostCategoriesRequest
* @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 GetCostCategories operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetCostCategories
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getCostCategoriesAsync(GetCostCategoriesRequest getCostCategoriesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period
* that you select, based on your past costs.
*
*
* @param getCostForecastRequest
* @return A Java Future containing the result of the GetCostForecast operation returned by the service.
* @sample AWSCostExplorerAsync.GetCostForecast
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getCostForecastAsync(GetCostForecastRequest getCostForecastRequest);
/**
*
* Retrieves a forecast for how much Amazon Web Services predicts that you will spend over the forecast time period
* that you select, based on your past costs.
*
*
* @param getCostForecastRequest
* @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 GetCostForecast operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetCostForecast
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getCostForecastAsync(GetCostForecastRequest getCostForecastRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves all available filter values for a specified filter over a period of time. You can search the dimension
* values for an arbitrary string.
*
*
* @param getDimensionValuesRequest
* @return A Java Future containing the result of the GetDimensionValues operation returned by the service.
* @sample AWSCostExplorerAsync.GetDimensionValues
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getDimensionValuesAsync(GetDimensionValuesRequest getDimensionValuesRequest);
/**
*
* Retrieves all available filter values for a specified filter over a period of time. You can search the dimension
* values for an arbitrary string.
*
*
* @param getDimensionValuesRequest
* @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 GetDimensionValues operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetDimensionValues
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getDimensionValuesAsync(GetDimensionValuesRequest getDimensionValuesRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the reservation coverage for your account, which you can use to see how much of your Amazon Elastic
* Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service, or Amazon Redshift usage is covered by a
* reservation. An organization's management account can see the coverage of the associated member accounts. This
* supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data about
* reservation usage by the following dimensions:
*
*
* -
*
* AZ
*
*
* -
*
* CACHE_ENGINE
*
*
* -
*
* DATABASE_ENGINE
*
*
* -
*
* DEPLOYMENT_OPTION
*
*
* -
*
* INSTANCE_TYPE
*
*
* -
*
* LINKED_ACCOUNT
*
*
* -
*
* OPERATING_SYSTEM
*
*
* -
*
* PLATFORM
*
*
* -
*
* REGION
*
*
* -
*
* SERVICE
*
*
* -
*
* TAG
*
*
* -
*
* TENANCY
*
*
*
*
* To determine valid values for a dimension, use the GetDimensionValues
operation.
*
*
* @param getReservationCoverageRequest
* You can use the following request parameters to query for how much of your instance usage a reservation
* covered.
* @return A Java Future containing the result of the GetReservationCoverage operation returned by the service.
* @sample AWSCostExplorerAsync.GetReservationCoverage
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getReservationCoverageAsync(GetReservationCoverageRequest getReservationCoverageRequest);
/**
*
* Retrieves the reservation coverage for your account, which you can use to see how much of your Amazon Elastic
* Compute Cloud, Amazon ElastiCache, Amazon Relational Database Service, or Amazon Redshift usage is covered by a
* reservation. An organization's management account can see the coverage of the associated member accounts. This
* supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data about
* reservation usage by the following dimensions:
*
*
* -
*
* AZ
*
*
* -
*
* CACHE_ENGINE
*
*
* -
*
* DATABASE_ENGINE
*
*
* -
*
* DEPLOYMENT_OPTION
*
*
* -
*
* INSTANCE_TYPE
*
*
* -
*
* LINKED_ACCOUNT
*
*
* -
*
* OPERATING_SYSTEM
*
*
* -
*
* PLATFORM
*
*
* -
*
* REGION
*
*
* -
*
* SERVICE
*
*
* -
*
* TAG
*
*
* -
*
* TENANCY
*
*
*
*
* To determine valid values for a dimension, use the GetDimensionValues
operation.
*
*
* @param getReservationCoverageRequest
* You can use the following request parameters to query for how much of your instance usage a reservation
* covered.
* @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 GetReservationCoverage operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetReservationCoverage
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getReservationCoverageAsync(GetReservationCoverageRequest getReservationCoverageRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Gets recommendations for reservation purchases. These recommendations might help you to reduce your costs.
* Reservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing.
*
*
* Amazon Web Services generates your recommendations by identifying your On-Demand usage during a specific time
* period and collecting your usage into categories that are eligible for a reservation. After Amazon Web Services
* has these categories, it simulates every combination of reservations in each category of usage to identify the
* best number of each type of Reserved Instance (RI) to purchase to maximize your estimated savings.
*
*
* For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared tenancy, and c4 family
* usage in the US West (Oregon) Region and recommends that you buy size-flexible regional reservations to apply to
* the c4 family usage. Amazon Web Services recommends the smallest size instance in an instance family. This makes
* it easier to purchase a size-flexible Reserved Instance (RI). Amazon Web Services also shows the equal number of
* normalized units. This way, you can purchase any instance size that you want. For this example, your RI
* recommendation is for c4.large
because that is the smallest size instance in the c4 instance family.
*
*
* @param getReservationPurchaseRecommendationRequest
* @return A Java Future containing the result of the GetReservationPurchaseRecommendation operation returned by the
* service.
* @sample AWSCostExplorerAsync.GetReservationPurchaseRecommendation
* @see AWS API Documentation
*/
java.util.concurrent.Future getReservationPurchaseRecommendationAsync(
GetReservationPurchaseRecommendationRequest getReservationPurchaseRecommendationRequest);
/**
*
* Gets recommendations for reservation purchases. These recommendations might help you to reduce your costs.
* Reservations provide a discounted hourly rate (up to 75%) compared to On-Demand pricing.
*
*
* Amazon Web Services generates your recommendations by identifying your On-Demand usage during a specific time
* period and collecting your usage into categories that are eligible for a reservation. After Amazon Web Services
* has these categories, it simulates every combination of reservations in each category of usage to identify the
* best number of each type of Reserved Instance (RI) to purchase to maximize your estimated savings.
*
*
* For example, Amazon Web Services automatically aggregates your Amazon EC2 Linux, shared tenancy, and c4 family
* usage in the US West (Oregon) Region and recommends that you buy size-flexible regional reservations to apply to
* the c4 family usage. Amazon Web Services recommends the smallest size instance in an instance family. This makes
* it easier to purchase a size-flexible Reserved Instance (RI). Amazon Web Services also shows the equal number of
* normalized units. This way, you can purchase any instance size that you want. For this example, your RI
* recommendation is for c4.large
because that is the smallest size instance in the c4 instance family.
*
*
* @param getReservationPurchaseRecommendationRequest
* @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 GetReservationPurchaseRecommendation operation returned by the
* service.
* @sample AWSCostExplorerAsyncHandler.GetReservationPurchaseRecommendation
* @see AWS API Documentation
*/
java.util.concurrent.Future getReservationPurchaseRecommendationAsync(
GetReservationPurchaseRecommendationRequest getReservationPurchaseRecommendationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the reservation utilization for your account. Management account in an organization have access to
* 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
.
*
*
* @param getReservationUtilizationRequest
* @return A Java Future containing the result of the GetReservationUtilization operation returned by the service.
* @sample AWSCostExplorerAsync.GetReservationUtilization
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getReservationUtilizationAsync(
GetReservationUtilizationRequest getReservationUtilizationRequest);
/**
*
* Retrieves the reservation utilization for your account. Management account in an organization have access to
* 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
.
*
*
* @param getReservationUtilizationRequest
* @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 GetReservationUtilization operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetReservationUtilization
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getReservationUtilizationAsync(
GetReservationUtilizationRequest getReservationUtilizationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Creates recommendations that help you save cost by identifying idle and underutilized Amazon EC2 instances.
*
*
* Recommendations are generated to either downsize or terminate instances, along with providing savings detail and
* metrics. For more information about calculation and function, see Optimizing Your Cost with
* Rightsizing Recommendations in the Billing and Cost Management User Guide.
*
*
* @param getRightsizingRecommendationRequest
* @return A Java Future containing the result of the GetRightsizingRecommendation operation returned by the
* service.
* @sample AWSCostExplorerAsync.GetRightsizingRecommendation
* @see AWS API Documentation
*/
java.util.concurrent.Future getRightsizingRecommendationAsync(
GetRightsizingRecommendationRequest getRightsizingRecommendationRequest);
/**
*
* Creates recommendations that help you save cost by identifying idle and underutilized Amazon EC2 instances.
*
*
* Recommendations are generated to either downsize or terminate instances, along with providing savings detail and
* metrics. For more information about calculation and function, see Optimizing Your Cost with
* Rightsizing Recommendations in the Billing and Cost Management User Guide.
*
*
* @param getRightsizingRecommendationRequest
* @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 GetRightsizingRecommendation operation returned by the
* service.
* @sample AWSCostExplorerAsyncHandler.GetRightsizingRecommendation
* @see AWS API Documentation
*/
java.util.concurrent.Future getRightsizingRecommendationAsync(
GetRightsizingRecommendationRequest getRightsizingRecommendationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the details for a Savings Plan recommendation. These details include the hourly data-points that
* construct the cost, coverage, and utilization charts.
*
*
* @param getSavingsPlanPurchaseRecommendationDetailsRequest
* @return A Java Future containing the result of the GetSavingsPlanPurchaseRecommendationDetails operation returned
* by the service.
* @sample AWSCostExplorerAsync.GetSavingsPlanPurchaseRecommendationDetails
* @see AWS API Documentation
*/
java.util.concurrent.Future getSavingsPlanPurchaseRecommendationDetailsAsync(
GetSavingsPlanPurchaseRecommendationDetailsRequest getSavingsPlanPurchaseRecommendationDetailsRequest);
/**
*
* Retrieves the details for a Savings Plan recommendation. These details include the hourly data-points that
* construct the cost, coverage, and utilization charts.
*
*
* @param getSavingsPlanPurchaseRecommendationDetailsRequest
* @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 GetSavingsPlanPurchaseRecommendationDetails operation returned
* by the service.
* @sample AWSCostExplorerAsyncHandler.GetSavingsPlanPurchaseRecommendationDetails
* @see AWS API Documentation
*/
java.util.concurrent.Future getSavingsPlanPurchaseRecommendationDetailsAsync(
GetSavingsPlanPurchaseRecommendationDetailsRequest getSavingsPlanPurchaseRecommendationDetailsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the Savings Plans covered for your account. This enables you to see how much of your cost is covered by
* a Savings Plan. An organization’s management account can see the coverage of the associated member accounts. This
* supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data for
* Savings Plans usage with the following dimensions:
*
*
* -
*
* LINKED_ACCOUNT
*
*
* -
*
* REGION
*
*
* -
*
* SERVICE
*
*
* -
*
* INSTANCE_FAMILY
*
*
*
*
* To determine valid values for a dimension, use the GetDimensionValues
operation.
*
*
* @param getSavingsPlansCoverageRequest
* @return A Java Future containing the result of the GetSavingsPlansCoverage operation returned by the service.
* @sample AWSCostExplorerAsync.GetSavingsPlansCoverage
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getSavingsPlansCoverageAsync(GetSavingsPlansCoverageRequest getSavingsPlansCoverageRequest);
/**
*
* Retrieves the Savings Plans covered for your account. This enables you to see how much of your cost is covered by
* a Savings Plan. An organization’s management account can see the coverage of the associated member accounts. This
* supports dimensions, Cost Categories, and nested expressions. For any time period, you can filter data for
* Savings Plans usage with the following dimensions:
*
*
* -
*
* LINKED_ACCOUNT
*
*
* -
*
* REGION
*
*
* -
*
* SERVICE
*
*
* -
*
* INSTANCE_FAMILY
*
*
*
*
* To determine valid values for a dimension, use the GetDimensionValues
operation.
*
*
* @param getSavingsPlansCoverageRequest
* @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 GetSavingsPlansCoverage operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetSavingsPlansCoverage
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getSavingsPlansCoverageAsync(GetSavingsPlansCoverageRequest getSavingsPlansCoverageRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the Savings Plans recommendations for your account. First use
* StartSavingsPlansPurchaseRecommendationGeneration
to generate a new set of recommendations, and then
* use GetSavingsPlansPurchaseRecommendation
to retrieve them.
*
*
* @param getSavingsPlansPurchaseRecommendationRequest
* @return A Java Future containing the result of the GetSavingsPlansPurchaseRecommendation operation returned by
* the service.
* @sample AWSCostExplorerAsync.GetSavingsPlansPurchaseRecommendation
* @see AWS API Documentation
*/
java.util.concurrent.Future getSavingsPlansPurchaseRecommendationAsync(
GetSavingsPlansPurchaseRecommendationRequest getSavingsPlansPurchaseRecommendationRequest);
/**
*
* Retrieves the Savings Plans recommendations for your account. First use
* StartSavingsPlansPurchaseRecommendationGeneration
to generate a new set of recommendations, and then
* use GetSavingsPlansPurchaseRecommendation
to retrieve them.
*
*
* @param getSavingsPlansPurchaseRecommendationRequest
* @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 GetSavingsPlansPurchaseRecommendation operation returned by
* the service.
* @sample AWSCostExplorerAsyncHandler.GetSavingsPlansPurchaseRecommendation
* @see AWS API Documentation
*/
java.util.concurrent.Future getSavingsPlansPurchaseRecommendationAsync(
GetSavingsPlansPurchaseRecommendationRequest getSavingsPlansPurchaseRecommendationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity.
* Management account in an organization have access to member accounts. You can use GetDimensionValues
* in SAVINGS_PLANS
to determine the possible dimension values.
*
*
*
* You can't group by any dimension values for GetSavingsPlansUtilization
.
*
*
*
* @param getSavingsPlansUtilizationRequest
* @return A Java Future containing the result of the GetSavingsPlansUtilization operation returned by the service.
* @sample AWSCostExplorerAsync.GetSavingsPlansUtilization
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getSavingsPlansUtilizationAsync(
GetSavingsPlansUtilizationRequest getSavingsPlansUtilizationRequest);
/**
*
* Retrieves the Savings Plans utilization for your account across date ranges with daily or monthly granularity.
* Management account in an organization have access to member accounts. You can use GetDimensionValues
* in SAVINGS_PLANS
to determine the possible dimension values.
*
*
*
* You can't group by any dimension values for GetSavingsPlansUtilization
.
*
*
*
* @param getSavingsPlansUtilizationRequest
* @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 GetSavingsPlansUtilization operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetSavingsPlansUtilization
* @see AWS
* API Documentation
*/
java.util.concurrent.Future getSavingsPlansUtilizationAsync(
GetSavingsPlansUtilizationRequest getSavingsPlansUtilizationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't
* support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single
* response similar to GetSavingsPlanUtilization
, but you have the option to make multiple calls to
* GetSavingsPlanUtilizationDetails
by providing individual dates. You can use
* GetDimensionValues
in SAVINGS_PLANS
to determine the possible dimension values.
*
*
*
* GetSavingsPlanUtilizationDetails
internally groups data by SavingsPlansArn
.
*
*
*
* @param getSavingsPlansUtilizationDetailsRequest
* @return A Java Future containing the result of the GetSavingsPlansUtilizationDetails operation returned by the
* service.
* @sample AWSCostExplorerAsync.GetSavingsPlansUtilizationDetails
* @see AWS API Documentation
*/
java.util.concurrent.Future getSavingsPlansUtilizationDetailsAsync(
GetSavingsPlansUtilizationDetailsRequest getSavingsPlansUtilizationDetailsRequest);
/**
*
* Retrieves attribute data along with aggregate utilization and savings data for a given time period. This doesn't
* support granular or grouped data (daily/monthly) in response. You can't retrieve data by dates in a single
* response similar to GetSavingsPlanUtilization
, but you have the option to make multiple calls to
* GetSavingsPlanUtilizationDetails
by providing individual dates. You can use
* GetDimensionValues
in SAVINGS_PLANS
to determine the possible dimension values.
*
*
*
* GetSavingsPlanUtilizationDetails
internally groups data by SavingsPlansArn
.
*
*
*
* @param getSavingsPlansUtilizationDetailsRequest
* @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 GetSavingsPlansUtilizationDetails operation returned by the
* service.
* @sample AWSCostExplorerAsyncHandler.GetSavingsPlansUtilizationDetails
* @see AWS API Documentation
*/
java.util.concurrent.Future getSavingsPlansUtilizationDetailsAsync(
GetSavingsPlansUtilizationDetailsRequest getSavingsPlansUtilizationDetailsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Queries for available tag keys and tag values for a specified period. You can search the tag values for an
* arbitrary string.
*
*
* @param getTagsRequest
* @return A Java Future containing the result of the GetTags operation returned by the service.
* @sample AWSCostExplorerAsync.GetTags
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getTagsAsync(GetTagsRequest getTagsRequest);
/**
*
* Queries for available tag keys and tag values for a specified period. You can search the tag values for an
* arbitrary string.
*
*
* @param getTagsRequest
* @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 GetTags operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetTags
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getTagsAsync(GetTagsRequest getTagsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period
* that you select, based on your past usage.
*
*
* @param getUsageForecastRequest
* @return A Java Future containing the result of the GetUsageForecast operation returned by the service.
* @sample AWSCostExplorerAsync.GetUsageForecast
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getUsageForecastAsync(GetUsageForecastRequest getUsageForecastRequest);
/**
*
* Retrieves a forecast for how much Amazon Web Services predicts that you will use over the forecast time period
* that you select, based on your past usage.
*
*
* @param getUsageForecastRequest
* @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 GetUsageForecast operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.GetUsageForecast
* @see AWS API
* Documentation
*/
java.util.concurrent.Future getUsageForecastAsync(GetUsageForecastRequest getUsageForecastRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a list of your historical cost allocation tag backfill requests.
*
*
* @param listCostAllocationTagBackfillHistoryRequest
* @return A Java Future containing the result of the ListCostAllocationTagBackfillHistory operation returned by the
* service.
* @sample AWSCostExplorerAsync.ListCostAllocationTagBackfillHistory
* @see AWS API Documentation
*/
java.util.concurrent.Future listCostAllocationTagBackfillHistoryAsync(
ListCostAllocationTagBackfillHistoryRequest listCostAllocationTagBackfillHistoryRequest);
/**
*
* Retrieves a list of your historical cost allocation tag backfill requests.
*
*
* @param listCostAllocationTagBackfillHistoryRequest
* @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 ListCostAllocationTagBackfillHistory operation returned by the
* service.
* @sample AWSCostExplorerAsyncHandler.ListCostAllocationTagBackfillHistory
* @see AWS API Documentation
*/
java.util.concurrent.Future listCostAllocationTagBackfillHistoryAsync(
ListCostAllocationTagBackfillHistoryRequest listCostAllocationTagBackfillHistoryRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Get a list of cost allocation tags. All inputs in the API are optional and serve as filters. By default, all cost
* allocation tags are returned.
*
*
* @param listCostAllocationTagsRequest
* @return A Java Future containing the result of the ListCostAllocationTags operation returned by the service.
* @sample AWSCostExplorerAsync.ListCostAllocationTags
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listCostAllocationTagsAsync(ListCostAllocationTagsRequest listCostAllocationTagsRequest);
/**
*
* Get a list of cost allocation tags. All inputs in the API are optional and serve as filters. By default, all cost
* allocation tags are returned.
*
*
* @param listCostAllocationTagsRequest
* @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 ListCostAllocationTags operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.ListCostAllocationTags
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listCostAllocationTagsAsync(ListCostAllocationTagsRequest listCostAllocationTagsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns the name, Amazon Resource Name (ARN), NumberOfRules
and effective dates of all Cost
* Categories defined in the account. You have the option to use EffectiveOn
to return a list of Cost
* Categories that were active on a specific date. If there is no EffectiveOn
specified, you’ll see
* Cost Categories that are effective on the current date. If Cost Category is still effective,
* EffectiveEnd
is omitted in the response. ListCostCategoryDefinitions
supports
* pagination. The request can have a MaxResults
range up to 100.
*
*
* @param listCostCategoryDefinitionsRequest
* @return A Java Future containing the result of the ListCostCategoryDefinitions operation returned by the service.
* @sample AWSCostExplorerAsync.ListCostCategoryDefinitions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listCostCategoryDefinitionsAsync(
ListCostCategoryDefinitionsRequest listCostCategoryDefinitionsRequest);
/**
*
* Returns the name, Amazon Resource Name (ARN), NumberOfRules
and effective dates of all Cost
* Categories defined in the account. You have the option to use EffectiveOn
to return a list of Cost
* Categories that were active on a specific date. If there is no EffectiveOn
specified, you’ll see
* Cost Categories that are effective on the current date. If Cost Category is still effective,
* EffectiveEnd
is omitted in the response. ListCostCategoryDefinitions
supports
* pagination. The request can have a MaxResults
range up to 100.
*
*
* @param listCostCategoryDefinitionsRequest
* @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 ListCostCategoryDefinitions operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.ListCostCategoryDefinitions
* @see AWS
* API Documentation
*/
java.util.concurrent.Future listCostCategoryDefinitionsAsync(
ListCostCategoryDefinitionsRequest listCostCategoryDefinitionsRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Retrieves a list of your historical recommendation generations within the past 30 days.
*
*
* @param listSavingsPlansPurchaseRecommendationGenerationRequest
* @return A Java Future containing the result of the ListSavingsPlansPurchaseRecommendationGeneration operation
* returned by the service.
* @sample AWSCostExplorerAsync.ListSavingsPlansPurchaseRecommendationGeneration
* @see AWS API Documentation
*/
java.util.concurrent.Future listSavingsPlansPurchaseRecommendationGenerationAsync(
ListSavingsPlansPurchaseRecommendationGenerationRequest listSavingsPlansPurchaseRecommendationGenerationRequest);
/**
*
* Retrieves a list of your historical recommendation generations within the past 30 days.
*
*
* @param listSavingsPlansPurchaseRecommendationGenerationRequest
* @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 ListSavingsPlansPurchaseRecommendationGeneration operation
* returned by the service.
* @sample AWSCostExplorerAsyncHandler.ListSavingsPlansPurchaseRecommendationGeneration
* @see AWS API Documentation
*/
java.util.concurrent.Future listSavingsPlansPurchaseRecommendationGenerationAsync(
ListSavingsPlansPurchaseRecommendationGenerationRequest listSavingsPlansPurchaseRecommendationGenerationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Returns a list of resource tags associated with the resource specified by the Amazon Resource Name (ARN).
*
*
* @param listTagsForResourceRequest
* @return A Java Future containing the result of the ListTagsForResource operation returned by the service.
* @sample AWSCostExplorerAsync.ListTagsForResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest);
/**
*
* Returns a list of resource tags associated with the resource specified by the Amazon Resource Name (ARN).
*
*
* @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 AWSCostExplorerAsyncHandler.ListTagsForResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Modifies the feedback property of a given cost anomaly.
*
*
* @param provideAnomalyFeedbackRequest
* @return A Java Future containing the result of the ProvideAnomalyFeedback operation returned by the service.
* @sample AWSCostExplorerAsync.ProvideAnomalyFeedback
* @see AWS API
* Documentation
*/
java.util.concurrent.Future provideAnomalyFeedbackAsync(ProvideAnomalyFeedbackRequest provideAnomalyFeedbackRequest);
/**
*
* Modifies the feedback property of a given cost anomaly.
*
*
* @param provideAnomalyFeedbackRequest
* @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 ProvideAnomalyFeedback operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.ProvideAnomalyFeedback
* @see AWS API
* Documentation
*/
java.util.concurrent.Future provideAnomalyFeedbackAsync(ProvideAnomalyFeedbackRequest provideAnomalyFeedbackRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Request a cost allocation tag backfill. This will backfill the activation status (either active
or
* inactive
) for all tag keys from para:BackfillFrom
up to the when this request is made.
*
*
* You can request a backfill once every 24 hours.
*
*
* @param startCostAllocationTagBackfillRequest
* @return A Java Future containing the result of the StartCostAllocationTagBackfill operation returned by the
* service.
* @sample AWSCostExplorerAsync.StartCostAllocationTagBackfill
* @see AWS API Documentation
*/
java.util.concurrent.Future startCostAllocationTagBackfillAsync(
StartCostAllocationTagBackfillRequest startCostAllocationTagBackfillRequest);
/**
*
* Request a cost allocation tag backfill. This will backfill the activation status (either active
or
* inactive
) for all tag keys from para:BackfillFrom
up to the when this request is made.
*
*
* You can request a backfill once every 24 hours.
*
*
* @param startCostAllocationTagBackfillRequest
* @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 StartCostAllocationTagBackfill operation returned by the
* service.
* @sample AWSCostExplorerAsyncHandler.StartCostAllocationTagBackfill
* @see AWS API Documentation
*/
java.util.concurrent.Future startCostAllocationTagBackfillAsync(
StartCostAllocationTagBackfillRequest startCostAllocationTagBackfillRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Requests a Savings Plans recommendation generation. This enables you to calculate a fresh set of Savings Plans
* recommendations that takes your latest usage data and current Savings Plans inventory into account. You can
* refresh Savings Plans recommendations up to three times daily for a consolidated billing family.
*
*
*
* StartSavingsPlansPurchaseRecommendationGeneration
has no request syntax because no input parameters
* are needed to support this operation.
*
*
*
* @param startSavingsPlansPurchaseRecommendationGenerationRequest
* @return A Java Future containing the result of the StartSavingsPlansPurchaseRecommendationGeneration operation
* returned by the service.
* @sample AWSCostExplorerAsync.StartSavingsPlansPurchaseRecommendationGeneration
* @see AWS API Documentation
*/
java.util.concurrent.Future startSavingsPlansPurchaseRecommendationGenerationAsync(
StartSavingsPlansPurchaseRecommendationGenerationRequest startSavingsPlansPurchaseRecommendationGenerationRequest);
/**
*
* Requests a Savings Plans recommendation generation. This enables you to calculate a fresh set of Savings Plans
* recommendations that takes your latest usage data and current Savings Plans inventory into account. You can
* refresh Savings Plans recommendations up to three times daily for a consolidated billing family.
*
*
*
* StartSavingsPlansPurchaseRecommendationGeneration
has no request syntax because no input parameters
* are needed to support this operation.
*
*
*
* @param startSavingsPlansPurchaseRecommendationGenerationRequest
* @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 StartSavingsPlansPurchaseRecommendationGeneration operation
* returned by the service.
* @sample AWSCostExplorerAsyncHandler.StartSavingsPlansPurchaseRecommendationGeneration
* @see AWS API Documentation
*/
java.util.concurrent.Future startSavingsPlansPurchaseRecommendationGenerationAsync(
StartSavingsPlansPurchaseRecommendationGenerationRequest startSavingsPlansPurchaseRecommendationGenerationRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* An API operation for adding one or more tags (key-value pairs) to a resource.
*
*
* You can use the TagResource
operation with a resource that already has tags. If you specify a new
* tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a
* tag key that is already associated with the resource, the new tag value you specify replaces the previous value
* for that tag.
*
*
* Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for
* Amazon Web Services use.
*
*
* @param tagResourceRequest
* @return A Java Future containing the result of the TagResource operation returned by the service.
* @sample AWSCostExplorerAsync.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest);
/**
*
* An API operation for adding one or more tags (key-value pairs) to a resource.
*
*
* You can use the TagResource
operation with a resource that already has tags. If you specify a new
* tag key for the resource, this tag is appended to the list of tags associated with the resource. If you specify a
* tag key that is already associated with the resource, the new tag value you specify replaces the previous value
* for that tag.
*
*
* Although the maximum number of array members is 200, user-tag maximum is 50. The remaining are reserved for
* Amazon Web Services use.
*
*
* @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 AWSCostExplorerAsyncHandler.TagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Removes one or more tags from a resource. Specify only tag keys in your request. Don't specify the value.
*
*
* @param untagResourceRequest
* @return A Java Future containing the result of the UntagResource operation returned by the service.
* @sample AWSCostExplorerAsync.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest);
/**
*
* Removes one or more tags from a resource. Specify only tag keys in your request. Don't specify the value.
*
*
* @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 AWSCostExplorerAsyncHandler.UntagResource
* @see AWS API
* Documentation
*/
java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates an existing cost anomaly monitor. The changes made are applied going forward, and doesn't change
* anomalies detected in the past.
*
*
* @param updateAnomalyMonitorRequest
* @return A Java Future containing the result of the UpdateAnomalyMonitor operation returned by the service.
* @sample AWSCostExplorerAsync.UpdateAnomalyMonitor
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateAnomalyMonitorAsync(UpdateAnomalyMonitorRequest updateAnomalyMonitorRequest);
/**
*
* Updates an existing cost anomaly monitor. The changes made are applied going forward, and doesn't change
* anomalies detected in the past.
*
*
* @param updateAnomalyMonitorRequest
* @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 UpdateAnomalyMonitor operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.UpdateAnomalyMonitor
* @see AWS API
* Documentation
*/
java.util.concurrent.Future updateAnomalyMonitorAsync(UpdateAnomalyMonitorRequest updateAnomalyMonitorRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates an existing cost anomaly subscription. Specify the fields that you want to update. Omitted fields are
* unchanged.
*
*
*
* The JSON below describes the generic construct for each type. See Request Parameters for possible values as they apply to AnomalySubscription
.
*
*
*
* @param updateAnomalySubscriptionRequest
* @return A Java Future containing the result of the UpdateAnomalySubscription operation returned by the service.
* @sample AWSCostExplorerAsync.UpdateAnomalySubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateAnomalySubscriptionAsync(
UpdateAnomalySubscriptionRequest updateAnomalySubscriptionRequest);
/**
*
* Updates an existing cost anomaly subscription. Specify the fields that you want to update. Omitted fields are
* unchanged.
*
*
*
* The JSON below describes the generic construct for each type. See Request Parameters for possible values as they apply to AnomalySubscription
.
*
*
*
* @param updateAnomalySubscriptionRequest
* @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 UpdateAnomalySubscription operation returned by the service.
* @sample AWSCostExplorerAsyncHandler.UpdateAnomalySubscription
* @see AWS
* API Documentation
*/
java.util.concurrent.Future updateAnomalySubscriptionAsync(
UpdateAnomalySubscriptionRequest updateAnomalySubscriptionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates status for cost allocation tags in bulk, with maximum batch size of 20. If the tag status that's updated
* is the same as the existing tag status, the request doesn't fail. Instead, it doesn't have any effect on the tag
* status (for example, activating the active tag).
*
*
* @param updateCostAllocationTagsStatusRequest
* @return A Java Future containing the result of the UpdateCostAllocationTagsStatus operation returned by the
* service.
* @sample AWSCostExplorerAsync.UpdateCostAllocationTagsStatus
* @see AWS API Documentation
*/
java.util.concurrent.Future updateCostAllocationTagsStatusAsync(
UpdateCostAllocationTagsStatusRequest updateCostAllocationTagsStatusRequest);
/**
*
* Updates status for cost allocation tags in bulk, with maximum batch size of 20. If the tag status that's updated
* is the same as the existing tag status, the request doesn't fail. Instead, it doesn't have any effect on the tag
* status (for example, activating the active tag).
*
*
* @param updateCostAllocationTagsStatusRequest
* @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 UpdateCostAllocationTagsStatus operation returned by the
* service.
* @sample AWSCostExplorerAsyncHandler.UpdateCostAllocationTagsStatus
* @see AWS API Documentation
*/
java.util.concurrent.Future updateCostAllocationTagsStatusAsync(
UpdateCostAllocationTagsStatusRequest updateCostAllocationTagsStatusRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
/**
*
* Updates an existing Cost Category. Changes made to the Cost Category rules will be used to categorize the current
* month’s expenses and future expenses. This won’t change categorization for the previous months.
*
*
* @param updateCostCategoryDefinitionRequest
* @return A Java Future containing the result of the UpdateCostCategoryDefinition operation returned by the
* service.
* @sample AWSCostExplorerAsync.UpdateCostCategoryDefinition
* @see AWS API Documentation
*/
java.util.concurrent.Future updateCostCategoryDefinitionAsync(
UpdateCostCategoryDefinitionRequest updateCostCategoryDefinitionRequest);
/**
*
* Updates an existing Cost Category. Changes made to the Cost Category rules will be used to categorize the current
* month’s expenses and future expenses. This won’t change categorization for the previous months.
*
*
* @param updateCostCategoryDefinitionRequest
* @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 UpdateCostCategoryDefinition operation returned by the
* service.
* @sample AWSCostExplorerAsyncHandler.UpdateCostCategoryDefinition
* @see AWS API Documentation
*/
java.util.concurrent.Future updateCostCategoryDefinitionAsync(
UpdateCostCategoryDefinitionRequest updateCostCategoryDefinitionRequest,
com.amazonaws.handlers.AsyncHandler asyncHandler);
}