@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.
|
CreateScheduledQueryResult |
createScheduledQuery(CreateScheduledQueryRequest request)
Create a scheduled query that will be run on your behalf at the configured schedule.
|
DeleteScheduledQueryResult |
deleteScheduledQuery(DeleteScheduledQueryRequest request)
Deletes a given scheduled query.
|
DescribeAccountSettingsResult |
describeAccountSettings(DescribeAccountSettingsRequest request)
Describes the settings for your account that include the query pricing model and the configured maximum TCUs the
service can use for your query workload.
|
DescribeEndpointsResult |
describeEndpoints(DescribeEndpointsRequest request)
DescribeEndpoints returns a list of available endpoints to make Timestream API calls against.
|
DescribeScheduledQueryResult |
describeScheduledQuery(DescribeScheduledQueryRequest request)
Provides detailed information about a scheduled query.
|
ExecuteScheduledQueryResult |
executeScheduledQuery(ExecuteScheduledQueryRequest request)
You can use this API to run a scheduled query manually.
|
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.
|
ListScheduledQueriesResult |
listScheduledQueries(ListScheduledQueriesRequest request)
Gets a list of all scheduled queries in the caller's Amazon account and Region.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
List all tags on a Timestream query resource.
|
PrepareQueryResult |
prepareQuery(PrepareQueryRequest request)
A synchronous operation that allows you to submit a query with parameters to be stored by Timestream for later
running.
|
QueryResult |
query(QueryRequest request)
Query is a synchronous operation that enables you to run a query against your Amazon Timestream
data. |
void |
shutdown()
Shuts down this client object, releasing any resources that might be held open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Associate a set of tags with a Timestream resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Removes the association of tags from a Timestream query resource.
|
UpdateAccountSettingsResult |
updateAccountSettings(UpdateAccountSettingsRequest request)
Transitions your account to use TCUs for query pricing and modifies the maximum query compute units that you've
configured.
|
UpdateScheduledQueryResult |
updateScheduledQuery(UpdateScheduledQueryRequest request)
Update a scheduled query.
|
public CancelQueryResult cancelQuery(CancelQueryRequest request)
AmazonTimestreamQuery
Cancels a query that has been issued. Cancellation is provided only if the query has not completed running 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. See
code
sample for details.
cancelQuery in interface AmazonTimestreamQuerypublic CreateScheduledQueryResult createScheduledQuery(CreateScheduledQueryRequest request)
AmazonTimestreamQuery
Create a scheduled query that will be run on your behalf at the configured schedule. Timestream assumes the
execution role provided as part of the ScheduledQueryExecutionRoleArn parameter to run the query.
You can use the NotificationConfiguration parameter to configure notification for your scheduled
query operations.
createScheduledQuery in interface AmazonTimestreamQuerypublic DeleteScheduledQueryResult deleteScheduledQuery(DeleteScheduledQueryRequest request)
AmazonTimestreamQueryDeletes a given scheduled query. This is an irreversible operation.
deleteScheduledQuery in interface AmazonTimestreamQuerypublic DescribeAccountSettingsResult describeAccountSettings(DescribeAccountSettingsRequest request)
AmazonTimestreamQueryDescribes the settings for your account that include the query pricing model and the configured maximum TCUs the service can use for your query workload.
You're charged only for the duration of compute units used for your workloads.
describeAccountSettings in interface AmazonTimestreamQuerypublic DescribeEndpointsResult describeEndpoints(DescribeEndpointsRequest request)
AmazonTimestreamQueryDescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query.
Because the Timestream 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:
You are using VPC endpoints (Amazon Web Services PrivateLink) with Timestream
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 and when to use and implement DescribeEndpoints, see The Endpoint Discovery Pattern.
describeEndpoints in interface AmazonTimestreamQuerypublic DescribeScheduledQueryResult describeScheduledQuery(DescribeScheduledQueryRequest request)
AmazonTimestreamQueryProvides detailed information about a scheduled query.
describeScheduledQuery in interface AmazonTimestreamQuerypublic ExecuteScheduledQueryResult executeScheduledQuery(ExecuteScheduledQueryRequest request)
AmazonTimestreamQueryYou can use this API to run a scheduled query manually.
executeScheduledQuery in interface AmazonTimestreamQuerypublic ListScheduledQueriesResult listScheduledQueries(ListScheduledQueriesRequest request)
AmazonTimestreamQuery
Gets a list of all scheduled queries in the caller's Amazon account and Region. ListScheduledQueries
is eventually consistent.
listScheduledQueries in interface AmazonTimestreamQuerypublic ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
AmazonTimestreamQueryList all tags on a Timestream query resource.
listTagsForResource in interface AmazonTimestreamQuerypublic PrepareQueryResult prepareQuery(PrepareQueryRequest request)
AmazonTimestreamQuery
A synchronous operation that allows you to submit a query with parameters to be stored by Timestream for later
running. Timestream only supports using this operation with ValidateOnly set to true.
prepareQuery in interface AmazonTimestreamQuerypublic QueryResult query(QueryRequest request)
AmazonTimestreamQuery
Query is a synchronous operation that enables you to run a query against your Amazon Timestream
data. Query will time out after 60 seconds. You must update the default timeout in the SDK to
support a timeout of 60 seconds. See the code sample
for details.
Your query request will fail in the following cases:
If you submit a Query request with the same client token outside of the 5-minute idempotency window.
If you submit a Query request with the same client token, but change other parameters, within the
5-minute idempotency window.
If the size of the row (including the query metadata) exceeds 1 MB, then the query will fail with the following error message:
Query aborted as max page response size has been exceeded by the output result row
If the IAM principal of the query initiator and the result reader are not the same and/or the query initiator and
the result reader do not have the same query string in the query requests, the query will fail with an
Invalid pagination token error.
query in interface AmazonTimestreamQuerypublic TagResourceResult tagResource(TagResourceRequest request)
AmazonTimestreamQueryAssociate a set of tags with a Timestream resource. You can then activate these user-defined tags so that they appear on the Billing and Cost Management console for cost allocation tracking.
tagResource in interface AmazonTimestreamQuerypublic UntagResourceResult untagResource(UntagResourceRequest request)
AmazonTimestreamQueryRemoves the association of tags from a Timestream query resource.
untagResource in interface AmazonTimestreamQuerypublic UpdateAccountSettingsResult updateAccountSettings(UpdateAccountSettingsRequest request)
AmazonTimestreamQuery
Transitions your account to use TCUs for query pricing and modifies the maximum query compute units that you've
configured. If you reduce the value of MaxQueryTCU to a desired configuration, the new value can
take up to 24 hours to be effective.
After you've transitioned your account to use TCUs for query pricing, you can't transition to using bytes scanned for query pricing.
updateAccountSettings in interface AmazonTimestreamQuerypublic UpdateScheduledQueryResult updateScheduledQuery(UpdateScheduledQueryRequest request)
AmazonTimestreamQueryUpdate a scheduled query.
updateScheduledQuery in interface AmazonTimestreamQuerypublic void shutdown()
AmazonTimestreamQueryshutdown in interface AmazonTimestreamQuerypublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonTimestreamQueryResponse 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 AmazonTimestreamQueryrequest - The originally executed request.