@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSSavingsPlans
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSSavingsPlans
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.
Modifier and Type | Field and Description |
---|---|
static String |
ENDPOINT_PREFIX
The region metadata service name for computing region endpoints.
|
Modifier and Type | Method and Description |
---|---|
CreateSavingsPlanResult |
createSavingsPlan(CreateSavingsPlanRequest createSavingsPlanRequest)
Creates a Savings Plan.
|
DeleteQueuedSavingsPlanResult |
deleteQueuedSavingsPlan(DeleteQueuedSavingsPlanRequest deleteQueuedSavingsPlanRequest)
Deletes the queued purchase for the specified Savings Plan.
|
DescribeSavingsPlanRatesResult |
describeSavingsPlanRates(DescribeSavingsPlanRatesRequest describeSavingsPlanRatesRequest)
Describes the rates for the specified Savings Plan.
|
DescribeSavingsPlansResult |
describeSavingsPlans(DescribeSavingsPlansRequest describeSavingsPlansRequest)
Describes the specified Savings Plans.
|
DescribeSavingsPlansOfferingRatesResult |
describeSavingsPlansOfferingRates(DescribeSavingsPlansOfferingRatesRequest describeSavingsPlansOfferingRatesRequest)
Describes the offering rates for the specified Savings Plans.
|
DescribeSavingsPlansOfferingsResult |
describeSavingsPlansOfferings(DescribeSavingsPlansOfferingsRequest describeSavingsPlansOfferingsRequest)
Describes the offerings for the specified Savings Plans.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful request, typically used for debugging issues
where a service isn't acting as expected.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
|
ReturnSavingsPlanResult |
returnSavingsPlan(ReturnSavingsPlanRequest returnSavingsPlanRequest)
Returns the specified Savings Plan.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
|
static final String ENDPOINT_PREFIX
CreateSavingsPlanResult createSavingsPlan(CreateSavingsPlanRequest createSavingsPlanRequest)
Creates a Savings Plan.
createSavingsPlanRequest
- ResourceNotFoundException
- The specified resource was not found.ValidationException
- One of the input parameters is not valid.InternalServerException
- An unexpected error occurred.ServiceQuotaExceededException
- A service quota has been exceeded.DeleteQueuedSavingsPlanResult deleteQueuedSavingsPlan(DeleteQueuedSavingsPlanRequest deleteQueuedSavingsPlanRequest)
Deletes the queued purchase for the specified Savings Plan.
deleteQueuedSavingsPlanRequest
- ValidationException
- One of the input parameters is not valid.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- An unexpected error occurred.ServiceQuotaExceededException
- A service quota has been exceeded.DescribeSavingsPlanRatesResult describeSavingsPlanRates(DescribeSavingsPlanRatesRequest describeSavingsPlanRatesRequest)
Describes the rates for the specified Savings Plan.
describeSavingsPlanRatesRequest
- ResourceNotFoundException
- The specified resource was not found.ValidationException
- One of the input parameters is not valid.DescribeSavingsPlansResult describeSavingsPlans(DescribeSavingsPlansRequest describeSavingsPlansRequest)
Describes the specified Savings Plans.
describeSavingsPlansRequest
- InternalServerException
- An unexpected error occurred.ValidationException
- One of the input parameters is not valid.DescribeSavingsPlansOfferingRatesResult describeSavingsPlansOfferingRates(DescribeSavingsPlansOfferingRatesRequest describeSavingsPlansOfferingRatesRequest)
Describes the offering rates for the specified Savings Plans.
describeSavingsPlansOfferingRatesRequest
- ValidationException
- One of the input parameters is not valid.InternalServerException
- An unexpected error occurred.DescribeSavingsPlansOfferingsResult describeSavingsPlansOfferings(DescribeSavingsPlansOfferingsRequest describeSavingsPlansOfferingsRequest)
Describes the offerings for the specified Savings Plans.
describeSavingsPlansOfferingsRequest
- ValidationException
- One of the input parameters is not valid.InternalServerException
- An unexpected error occurred.ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Lists the tags for the specified resource.
listTagsForResourceRequest
- ResourceNotFoundException
- The specified resource was not found.ValidationException
- One of the input parameters is not valid.InternalServerException
- An unexpected error occurred.ReturnSavingsPlanResult returnSavingsPlan(ReturnSavingsPlanRequest returnSavingsPlanRequest)
Returns the specified Savings Plan.
returnSavingsPlanRequest
- ValidationException
- One of the input parameters is not valid.ResourceNotFoundException
- The specified resource was not found.InternalServerException
- An unexpected error occurred.ServiceQuotaExceededException
- A service quota has been exceeded.TagResourceResult tagResource(TagResourceRequest tagResourceRequest)
Adds the specified tags to the specified resource.
tagResourceRequest
- ResourceNotFoundException
- The specified resource was not found.ServiceQuotaExceededException
- A service quota has been exceeded.ValidationException
- One of the input parameters is not valid.InternalServerException
- An unexpected error occurred.UntagResourceResult untagResource(UntagResourceRequest untagResourceRequest)
Removes the specified tags from the specified resource.
untagResourceRequest
- ResourceNotFoundException
- The specified resource was not found.ValidationException
- One of the input parameters is not valid.InternalServerException
- An unexpected error occurred.void shutdown()
ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
request
- The originally executed request.