@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSSavingsPlansAsync extends AWSSavingsPlans
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
AbstractAWSSavingsPlansAsync
instead.
Savings Plans are a pricing model that offer significant savings on Amazon Web Services usage (for example, on Amazon EC2 instances). You commit to a consistent amount of usage per hour, in the specified currency, for a term of one or three years, and receive a lower price for that usage. For more information, see the Amazon Web Services Savings Plans User Guide.
ENDPOINT_PREFIX
createSavingsPlan, deleteQueuedSavingsPlan, describeSavingsPlanRates, describeSavingsPlans, describeSavingsPlansOfferingRates, describeSavingsPlansOfferings, getCachedResponseMetadata, listTagsForResource, returnSavingsPlan, shutdown, tagResource, untagResource
Future<CreateSavingsPlanResult> createSavingsPlanAsync(CreateSavingsPlanRequest createSavingsPlanRequest)
Creates a Savings Plan.
createSavingsPlanRequest
- Future<CreateSavingsPlanResult> createSavingsPlanAsync(CreateSavingsPlanRequest createSavingsPlanRequest, AsyncHandler<CreateSavingsPlanRequest,CreateSavingsPlanResult> asyncHandler)
Creates a Savings Plan.
createSavingsPlanRequest
- 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<DeleteQueuedSavingsPlanResult> deleteQueuedSavingsPlanAsync(DeleteQueuedSavingsPlanRequest deleteQueuedSavingsPlanRequest)
Deletes the queued purchase for the specified Savings Plan.
deleteQueuedSavingsPlanRequest
- Future<DeleteQueuedSavingsPlanResult> deleteQueuedSavingsPlanAsync(DeleteQueuedSavingsPlanRequest deleteQueuedSavingsPlanRequest, AsyncHandler<DeleteQueuedSavingsPlanRequest,DeleteQueuedSavingsPlanResult> asyncHandler)
Deletes the queued purchase for the specified Savings Plan.
deleteQueuedSavingsPlanRequest
- 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<DescribeSavingsPlanRatesResult> describeSavingsPlanRatesAsync(DescribeSavingsPlanRatesRequest describeSavingsPlanRatesRequest)
Describes the rates for the specified Savings Plan.
describeSavingsPlanRatesRequest
- Future<DescribeSavingsPlanRatesResult> describeSavingsPlanRatesAsync(DescribeSavingsPlanRatesRequest describeSavingsPlanRatesRequest, AsyncHandler<DescribeSavingsPlanRatesRequest,DescribeSavingsPlanRatesResult> asyncHandler)
Describes the rates for the specified Savings Plan.
describeSavingsPlanRatesRequest
- 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<DescribeSavingsPlansResult> describeSavingsPlansAsync(DescribeSavingsPlansRequest describeSavingsPlansRequest)
Describes the specified Savings Plans.
describeSavingsPlansRequest
- Future<DescribeSavingsPlansResult> describeSavingsPlansAsync(DescribeSavingsPlansRequest describeSavingsPlansRequest, AsyncHandler<DescribeSavingsPlansRequest,DescribeSavingsPlansResult> asyncHandler)
Describes the specified Savings Plans.
describeSavingsPlansRequest
- 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<DescribeSavingsPlansOfferingRatesResult> describeSavingsPlansOfferingRatesAsync(DescribeSavingsPlansOfferingRatesRequest describeSavingsPlansOfferingRatesRequest)
Describes the offering rates for the specified Savings Plans.
describeSavingsPlansOfferingRatesRequest
- Future<DescribeSavingsPlansOfferingRatesResult> describeSavingsPlansOfferingRatesAsync(DescribeSavingsPlansOfferingRatesRequest describeSavingsPlansOfferingRatesRequest, AsyncHandler<DescribeSavingsPlansOfferingRatesRequest,DescribeSavingsPlansOfferingRatesResult> asyncHandler)
Describes the offering rates for the specified Savings Plans.
describeSavingsPlansOfferingRatesRequest
- 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<DescribeSavingsPlansOfferingsResult> describeSavingsPlansOfferingsAsync(DescribeSavingsPlansOfferingsRequest describeSavingsPlansOfferingsRequest)
Describes the offerings for the specified Savings Plans.
describeSavingsPlansOfferingsRequest
- Future<DescribeSavingsPlansOfferingsResult> describeSavingsPlansOfferingsAsync(DescribeSavingsPlansOfferingsRequest describeSavingsPlansOfferingsRequest, AsyncHandler<DescribeSavingsPlansOfferingsRequest,DescribeSavingsPlansOfferingsResult> asyncHandler)
Describes the offerings for the specified Savings Plans.
describeSavingsPlansOfferingsRequest
- 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 for the specified resource.
listTagsForResourceRequest
- Future<ListTagsForResourceResult> listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, AsyncHandler<ListTagsForResourceRequest,ListTagsForResourceResult> asyncHandler)
Lists the tags for the specified resource.
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<ReturnSavingsPlanResult> returnSavingsPlanAsync(ReturnSavingsPlanRequest returnSavingsPlanRequest)
Returns the specified Savings Plan.
returnSavingsPlanRequest
- Future<ReturnSavingsPlanResult> returnSavingsPlanAsync(ReturnSavingsPlanRequest returnSavingsPlanRequest, AsyncHandler<ReturnSavingsPlanRequest,ReturnSavingsPlanResult> asyncHandler)
Returns the specified Savings Plan.
returnSavingsPlanRequest
- 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)
Adds the specified tags to the specified resource.
tagResourceRequest
- Future<TagResourceResult> tagResourceAsync(TagResourceRequest tagResourceRequest, AsyncHandler<TagResourceRequest,TagResourceResult> asyncHandler)
Adds the specified tags to the specified resource.
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)
Removes the specified tags from the specified resource.
untagResourceRequest
- Future<UntagResourceResult> untagResourceAsync(UntagResourceRequest untagResourceRequest, AsyncHandler<UntagResourceRequest,UntagResourceResult> asyncHandler)
Removes the specified tags from the specified resource.
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.