@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonTimestreamQuery extends Object implements AmazonTimestreamQuery
AmazonTimestreamQuery
. Convenient method forms pass through to the corresponding
overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
CancelQueryResult |
cancelQuery(CancelQueryRequest request)
Cancels a query that has been issued.
|
DescribeEndpointsResult |
describeEndpoints(DescribeEndpointsRequest request)
DescribeEndpoints returns a list of available endpoints to make Timestream API calls against.
|
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.
|
QueryResult |
query(QueryRequest request)
Query is a synchronous operation that enables you to execute a query.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
public CancelQueryResult cancelQuery(CancelQueryRequest request)
AmazonTimestreamQuery
Cancels a query that has been issued. Cancellation is guaranteed only if the query has not completed execution
before the cancellation request was issued. Because cancellation is an idempotent operation, subsequent
cancellation requests will return a CancellationMessage
, indicating that the query has already been
canceled.
cancelQuery
in interface AmazonTimestreamQuery
public DescribeEndpointsResult describeEndpoints(DescribeEndpointsRequest request)
AmazonTimestreamQuery
DescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query.
Because Timestream’s SDKs are designed to transparently work with the service’s architecture, including the management and mapping of the service endpoints, it is not recommended that you use this API unless:
Your application uses a programming language that does not yet have SDK support
You require better control over the client-side implementation
For detailed information on how to use DescribeEndpoints, see The Endpoint Discovery Pattern and REST APIs.
describeEndpoints
in interface AmazonTimestreamQuery
public QueryResult query(QueryRequest request)
AmazonTimestreamQuery
Query is a synchronous operation that enables you to execute a query. Query will timeout after 60 seconds. You must update the default timeout in the SDK to support a timeout of 60 seconds. The result set will be truncated to 1MB. Service quotas apply. For more information, see Quotas in the Timestream Developer Guide.
query
in interface AmazonTimestreamQuery
public void shutdown()
AmazonTimestreamQuery
shutdown
in interface AmazonTimestreamQuery
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonTimestreamQuery
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.
getCachedResponseMetadata
in interface AmazonTimestreamQuery
request
- The originally executed request.