@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 AWS usage (for example, on Amazon EC2 instances). You commit to a consistent amount of usage, in USD per hour, for a term of 1 or 3 years, and receive a lower price for that usage. For more information, see the AWS 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 specified Savings Plans rates.
|
DescribeSavingsPlansResult |
describeSavingsPlans(DescribeSavingsPlansRequest describeSavingsPlansRequest)
Describes the specified Savings Plans.
|
DescribeSavingsPlansOfferingRatesResult |
describeSavingsPlansOfferingRates(DescribeSavingsPlansOfferingRatesRequest describeSavingsPlansOfferingRatesRequest)
Describes the specified Savings Plans offering rates.
|
DescribeSavingsPlansOfferingsResult |
describeSavingsPlansOfferings(DescribeSavingsPlansOfferingsRequest describeSavingsPlansOfferingsRequest)
Describes the specified Savings Plans offerings.
|
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.
|
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 specified Savings Plans rates.
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 specified Savings Plans offering rates.
describeSavingsPlansOfferingRatesRequest
- ValidationException
- One of the input parameters is not valid.InternalServerException
- An unexpected error occurred.DescribeSavingsPlansOfferingsResult describeSavingsPlansOfferings(DescribeSavingsPlansOfferingsRequest describeSavingsPlansOfferingsRequest)
Describes the specified Savings Plans offerings.
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.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.