@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSFreeTier
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSFreeTier
instead.
You can use the Amazon Web Services Free Tier API to query programmatically your Free Tier usage data.
Free Tier tracks your monthly usage data for all free tier offers that are associated with your Amazon Web Services account. You can use the Free Tier API to filter and show only the data that you want.
Service endpoint
The Free Tier API provides the following endpoint:
https://freetier.us-east-1.api.aws
For more information, see Using the Amazon Web Services Free Tier in the Billing 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 |
---|---|
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.
|
GetFreeTierUsageResult |
getFreeTierUsage(GetFreeTierUsageRequest getFreeTierUsageRequest)
Returns a list of all Free Tier usage objects that match your filters.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
static final String ENDPOINT_PREFIX
GetFreeTierUsageResult getFreeTierUsage(GetFreeTierUsageRequest getFreeTierUsageRequest)
Returns a list of all Free Tier usage objects that match your filters.
getFreeTierUsageRequest
- InternalServerException
- An unexpected error occurred during the processing of your request.ValidationException
- The input fails to satisfy the constraints specified by an Amazon Web Service.ThrottlingException
- The request was denied due to request throttling.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.