@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSSavingsPlansClient extends AmazonWebServiceClient implements AWSSavingsPlans
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 |
|---|---|
protected static ClientConfigurationFactory |
configFactory
Client configuration factory providing ClientConfigurations tailored to this client
|
client, clientConfiguration, endpoint, isEndpointOverridden, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffsetENDPOINT_PREFIXaddRequestHandler, addRequestHandler, beforeClientExecution, beforeMarshalling, calculateCRC32FromCompressedData, checkMutability, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, createSignerProvider, endClientExecution, endClientExecution, getClientConfiguration, getClientId, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerOverride, getSignerProvider, getSignerRegionOverride, getSigningRegion, getTimeOffset, isCsmEnabled, isEndpointOverridden, isProfilingEnabled, isRequestMetricsEnabled, makeImmutable, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, shouldGenerateClientSideMonitoringEvents, shutdown, useStrictHostNameVerification, withEndpoint, withRegion, withRegion, withTimeOffsetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitshutdownprotected static final ClientConfigurationFactory configFactory
public static AWSSavingsPlansClientBuilder builder()
public CreateSavingsPlanResult createSavingsPlan(CreateSavingsPlanRequest request)
Creates a Savings Plan.
createSavingsPlan in interface AWSSavingsPlanscreateSavingsPlanRequest - 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.public DescribeSavingsPlanRatesResult describeSavingsPlanRates(DescribeSavingsPlanRatesRequest request)
Describes the specified Savings Plans rates.
describeSavingsPlanRates in interface AWSSavingsPlansdescribeSavingsPlanRatesRequest - ResourceNotFoundException - The specified resource was not found.ValidationException - One of the input parameters is not valid.public DescribeSavingsPlansResult describeSavingsPlans(DescribeSavingsPlansRequest request)
Describes the specified Savings Plans.
describeSavingsPlans in interface AWSSavingsPlansdescribeSavingsPlansRequest - InternalServerException - An unexpected error occurred.ValidationException - One of the input parameters is not valid.public DescribeSavingsPlansOfferingRatesResult describeSavingsPlansOfferingRates(DescribeSavingsPlansOfferingRatesRequest request)
Describes the specified Savings Plans offering rates.
describeSavingsPlansOfferingRates in interface AWSSavingsPlansdescribeSavingsPlansOfferingRatesRequest - ValidationException - One of the input parameters is not valid.InternalServerException - An unexpected error occurred.public DescribeSavingsPlansOfferingsResult describeSavingsPlansOfferings(DescribeSavingsPlansOfferingsRequest request)
Describes the specified Savings Plans offerings.
describeSavingsPlansOfferings in interface AWSSavingsPlansdescribeSavingsPlansOfferingsRequest - ValidationException - One of the input parameters is not valid.InternalServerException - An unexpected error occurred.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists the tags for the specified resource.
listTagsForResource in interface AWSSavingsPlanslistTagsForResourceRequest - ResourceNotFoundException - The specified resource was not found.ValidationException - One of the input parameters is not valid.InternalServerException - An unexpected error occurred.public TagResourceResult tagResource(TagResourceRequest request)
Adds the specified tags to the specified resource.
tagResource in interface AWSSavingsPlanstagResourceRequest - 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.public UntagResourceResult untagResource(UntagResourceRequest request)
Removes the specified tags from the specified resource.
untagResource in interface AWSSavingsPlansuntagResourceRequest - ResourceNotFoundException - The specified resource was not found.ValidationException - One of the input parameters is not valid.InternalServerException - An unexpected error occurred.public 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 the request.
getCachedResponseMetadata in interface AWSSavingsPlansrequest - The originally executed requestCopyright © 2020. All rights reserved.