@Generated(value="software.amazon.awssdk:codegen") @ThreadSafe public interface TimestreamQueryClient extends AwsClient
builder() method.
| Modifier and Type | Field and Description |
|---|---|
static String |
SERVICE_METADATA_ID
Value for looking up the service's metadata from the
ServiceMetadataProvider. |
static String |
SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
static TimestreamQueryClientBuilder |
builder()
Create a builder that can be used to configure and create a
TimestreamQueryClient. |
default CancelQueryResponse |
cancelQuery(CancelQueryRequest cancelQueryRequest)
Cancels a query that has been issued.
|
default CancelQueryResponse |
cancelQuery(Consumer<CancelQueryRequest.Builder> cancelQueryRequest)
Cancels a query that has been issued.
|
static TimestreamQueryClient |
create()
Create a
TimestreamQueryClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider. |
default CreateScheduledQueryResponse |
createScheduledQuery(Consumer<CreateScheduledQueryRequest.Builder> createScheduledQueryRequest)
Create a scheduled query that will be run on your behalf at the configured schedule.
|
default CreateScheduledQueryResponse |
createScheduledQuery(CreateScheduledQueryRequest createScheduledQueryRequest)
Create a scheduled query that will be run on your behalf at the configured schedule.
|
default DeleteScheduledQueryResponse |
deleteScheduledQuery(Consumer<DeleteScheduledQueryRequest.Builder> deleteScheduledQueryRequest)
Deletes a given scheduled query.
|
default DeleteScheduledQueryResponse |
deleteScheduledQuery(DeleteScheduledQueryRequest deleteScheduledQueryRequest)
Deletes a given scheduled query.
|
default DescribeEndpointsResponse |
describeEndpoints(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest)
DescribeEndpoints returns a list of available endpoints to make Timestream API calls against.
|
default DescribeEndpointsResponse |
describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest)
DescribeEndpoints returns a list of available endpoints to make Timestream API calls against.
|
default DescribeScheduledQueryResponse |
describeScheduledQuery(Consumer<DescribeScheduledQueryRequest.Builder> describeScheduledQueryRequest)
Provides detailed information about a scheduled query.
|
default DescribeScheduledQueryResponse |
describeScheduledQuery(DescribeScheduledQueryRequest describeScheduledQueryRequest)
Provides detailed information about a scheduled query.
|
default ExecuteScheduledQueryResponse |
executeScheduledQuery(Consumer<ExecuteScheduledQueryRequest.Builder> executeScheduledQueryRequest)
You can use this API to run a scheduled query manually.
|
default ExecuteScheduledQueryResponse |
executeScheduledQuery(ExecuteScheduledQueryRequest executeScheduledQueryRequest)
You can use this API to run a scheduled query manually.
|
default ListScheduledQueriesResponse |
listScheduledQueries(Consumer<ListScheduledQueriesRequest.Builder> listScheduledQueriesRequest)
Gets a list of all scheduled queries in the caller's Amazon account and Region.
|
default ListScheduledQueriesResponse |
listScheduledQueries(ListScheduledQueriesRequest listScheduledQueriesRequest)
Gets a list of all scheduled queries in the caller's Amazon account and Region.
|
default ListScheduledQueriesIterable |
listScheduledQueriesPaginator(Consumer<ListScheduledQueriesRequest.Builder> listScheduledQueriesRequest)
Gets a list of all scheduled queries in the caller's Amazon account and Region.
|
default ListScheduledQueriesIterable |
listScheduledQueriesPaginator(ListScheduledQueriesRequest listScheduledQueriesRequest)
Gets a list of all scheduled queries in the caller's Amazon account and Region.
|
default ListTagsForResourceResponse |
listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
List all tags on a Timestream query resource.
|
default ListTagsForResourceResponse |
listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
List all tags on a Timestream query resource.
|
default ListTagsForResourceIterable |
listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
List all tags on a Timestream query resource.
|
default ListTagsForResourceIterable |
listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest)
List all tags on a Timestream query resource.
|
default PrepareQueryResponse |
prepareQuery(Consumer<PrepareQueryRequest.Builder> prepareQueryRequest)
A synchronous operation that allows you to submit a query with parameters to be stored by Timestream for later
running.
|
default PrepareQueryResponse |
prepareQuery(PrepareQueryRequest prepareQueryRequest)
A synchronous operation that allows you to submit a query with parameters to be stored by Timestream for later
running.
|
default QueryResponse |
query(Consumer<QueryRequest.Builder> queryRequest)
Query is a synchronous operation that enables you to run a query against your Amazon Timestream
data. |
default QueryResponse |
query(QueryRequest queryRequest)
Query is a synchronous operation that enables you to run a query against your Amazon Timestream
data. |
default QueryIterable |
queryPaginator(Consumer<QueryRequest.Builder> queryRequest)
Query is a synchronous operation that enables you to run a query against your Amazon Timestream
data. |
default QueryIterable |
queryPaginator(QueryRequest queryRequest)
Query is a synchronous operation that enables you to run a query against your Amazon Timestream
data. |
default TimestreamQueryServiceClientConfiguration |
serviceClientConfiguration() |
static ServiceMetadata |
serviceMetadata() |
default TagResourceResponse |
tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Associate a set of tags with a Timestream resource.
|
default TagResourceResponse |
tagResource(TagResourceRequest tagResourceRequest)
Associate a set of tags with a Timestream resource.
|
default UntagResourceResponse |
untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Removes the association of tags from a Timestream query resource.
|
default UntagResourceResponse |
untagResource(UntagResourceRequest untagResourceRequest)
Removes the association of tags from a Timestream query resource.
|
default UpdateScheduledQueryResponse |
updateScheduledQuery(Consumer<UpdateScheduledQueryRequest.Builder> updateScheduledQueryRequest)
Update a scheduled query.
|
default UpdateScheduledQueryResponse |
updateScheduledQuery(UpdateScheduledQueryRequest updateScheduledQueryRequest)
Update a scheduled query.
|
serviceNameclosestatic final String SERVICE_NAME
static final String SERVICE_METADATA_ID
ServiceMetadataProvider.default CancelQueryResponse cancelQuery(CancelQueryRequest cancelQueryRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
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.
cancelQueryRequest - AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CancelQueryResponse cancelQuery(Consumer<CancelQueryRequest.Builder> cancelQueryRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
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.
This is a convenience which creates an instance of the CancelQueryRequest.Builder avoiding the need to
create one manually via CancelQueryRequest.builder()
cancelQueryRequest - A Consumer that will call methods on CancelQueryRequest.Builder to create a request.AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateScheduledQueryResponse createScheduledQuery(CreateScheduledQueryRequest createScheduledQueryRequest) throws AccessDeniedException, ConflictException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
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.
createScheduledQueryRequest - AccessDeniedException - You are not authorized to perform this action.ConflictException - Unable to poll results for a cancelled query.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ServiceQuotaExceededException - You have exceeded the service quota.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault CreateScheduledQueryResponse createScheduledQuery(Consumer<CreateScheduledQueryRequest.Builder> createScheduledQueryRequest) throws AccessDeniedException, ConflictException, InternalServerException, ServiceQuotaExceededException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
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.
This is a convenience which creates an instance of the CreateScheduledQueryRequest.Builder avoiding the
need to create one manually via CreateScheduledQueryRequest.builder()
createScheduledQueryRequest - A Consumer that will call methods on CreateScheduledQueryRequest.Builder to create a
request.AccessDeniedException - You are not authorized to perform this action.ConflictException - Unable to poll results for a cancelled query.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ServiceQuotaExceededException - You have exceeded the service quota.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteScheduledQueryResponse deleteScheduledQuery(DeleteScheduledQueryRequest deleteScheduledQueryRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Deletes a given scheduled query. This is an irreversible operation.
deleteScheduledQueryRequest - AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DeleteScheduledQueryResponse deleteScheduledQuery(Consumer<DeleteScheduledQueryRequest.Builder> deleteScheduledQueryRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Deletes a given scheduled query. This is an irreversible operation.
This is a convenience which creates an instance of the DeleteScheduledQueryRequest.Builder avoiding the
need to create one manually via DeleteScheduledQueryRequest.builder()
deleteScheduledQueryRequest - A Consumer that will call methods on DeleteScheduledQueryRequest.Builder to create a
request.AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeEndpointsResponse describeEndpoints(DescribeEndpointsRequest describeEndpointsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, TimestreamQueryException
DescribeEndpoints 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.
describeEndpointsRequest - InternalServerException - Timestream was unable to fully process this request because of an internal server error.ValidationException - Invalid or malformed request.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeEndpointsResponse describeEndpoints(Consumer<DescribeEndpointsRequest.Builder> describeEndpointsRequest) throws InternalServerException, ValidationException, ThrottlingException, AwsServiceException, SdkClientException, TimestreamQueryException
DescribeEndpoints 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.
This is a convenience which creates an instance of the DescribeEndpointsRequest.Builder avoiding the need
to create one manually via DescribeEndpointsRequest.builder()
describeEndpointsRequest - A Consumer that will call methods on DescribeEndpointsRequest.Builder to create a request.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ValidationException - Invalid or malformed request.ThrottlingException - The request was denied due to request throttling.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeScheduledQueryResponse describeScheduledQuery(DescribeScheduledQueryRequest describeScheduledQueryRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Provides detailed information about a scheduled query.
describeScheduledQueryRequest - AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault DescribeScheduledQueryResponse describeScheduledQuery(Consumer<DescribeScheduledQueryRequest.Builder> describeScheduledQueryRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Provides detailed information about a scheduled query.
This is a convenience which creates an instance of the DescribeScheduledQueryRequest.Builder avoiding the
need to create one manually via DescribeScheduledQueryRequest.builder()
describeScheduledQueryRequest - A Consumer that will call methods on DescribeScheduledQueryRequest.Builder to create a
request.AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExecuteScheduledQueryResponse executeScheduledQuery(ExecuteScheduledQueryRequest executeScheduledQueryRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
You can use this API to run a scheduled query manually.
executeScheduledQueryRequest - AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ExecuteScheduledQueryResponse executeScheduledQuery(Consumer<ExecuteScheduledQueryRequest.Builder> executeScheduledQueryRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
You can use this API to run a scheduled query manually.
This is a convenience which creates an instance of the ExecuteScheduledQueryRequest.Builder avoiding the
need to create one manually via ExecuteScheduledQueryRequest.builder()
executeScheduledQueryRequest - A Consumer that will call methods on ExecuteScheduledQueryRequest.Builder to create a
request.AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListScheduledQueriesResponse listScheduledQueries(ListScheduledQueriesRequest listScheduledQueriesRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Gets a list of all scheduled queries in the caller's Amazon account and Region. ListScheduledQueries
is eventually consistent.
listScheduledQueriesRequest - AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListScheduledQueriesResponse listScheduledQueries(Consumer<ListScheduledQueriesRequest.Builder> listScheduledQueriesRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Gets a list of all scheduled queries in the caller's Amazon account and Region. ListScheduledQueries
is eventually consistent.
This is a convenience which creates an instance of the ListScheduledQueriesRequest.Builder avoiding the
need to create one manually via ListScheduledQueriesRequest.builder()
listScheduledQueriesRequest - A Consumer that will call methods on ListScheduledQueriesRequest.Builder to create a
request.AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListScheduledQueriesIterable listScheduledQueriesPaginator(ListScheduledQueriesRequest listScheduledQueriesRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Gets a list of all scheduled queries in the caller's Amazon account and Region. ListScheduledQueries
is eventually consistent.
This is a variant of
listScheduledQueries(software.amazon.awssdk.services.timestreamquery.model.ListScheduledQueriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.timestreamquery.paginators.ListScheduledQueriesIterable responses = client.listScheduledQueriesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.timestreamquery.paginators.ListScheduledQueriesIterable responses = client
.listScheduledQueriesPaginator(request);
for (software.amazon.awssdk.services.timestreamquery.model.ListScheduledQueriesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.timestreamquery.paginators.ListScheduledQueriesIterable responses = client.listScheduledQueriesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledQueries(software.amazon.awssdk.services.timestreamquery.model.ListScheduledQueriesRequest)
operation.
listScheduledQueriesRequest - AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListScheduledQueriesIterable listScheduledQueriesPaginator(Consumer<ListScheduledQueriesRequest.Builder> listScheduledQueriesRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Gets a list of all scheduled queries in the caller's Amazon account and Region. ListScheduledQueries
is eventually consistent.
This is a variant of
listScheduledQueries(software.amazon.awssdk.services.timestreamquery.model.ListScheduledQueriesRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.timestreamquery.paginators.ListScheduledQueriesIterable responses = client.listScheduledQueriesPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.timestreamquery.paginators.ListScheduledQueriesIterable responses = client
.listScheduledQueriesPaginator(request);
for (software.amazon.awssdk.services.timestreamquery.model.ListScheduledQueriesResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.timestreamquery.paginators.ListScheduledQueriesIterable responses = client.listScheduledQueriesPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listScheduledQueries(software.amazon.awssdk.services.timestreamquery.model.ListScheduledQueriesRequest)
operation.
This is a convenience which creates an instance of the ListScheduledQueriesRequest.Builder avoiding the
need to create one manually via ListScheduledQueriesRequest.builder()
listScheduledQueriesRequest - A Consumer that will call methods on ListScheduledQueriesRequest.Builder to create a
request.AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
List all tags on a Timestream query resource.
listTagsForResourceRequest - ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceResponse listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
List all tags on a Timestream query resource.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceIterable listTagsForResourcePaginator(ListTagsForResourceRequest listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
List all tags on a Timestream query resource.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.timestreamquery.model.ListTagsForResourceRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.timestreamquery.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.timestreamquery.paginators.ListTagsForResourceIterable responses = client
.listTagsForResourcePaginator(request);
for (software.amazon.awssdk.services.timestreamquery.model.ListTagsForResourceResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.timestreamquery.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.timestreamquery.model.ListTagsForResourceRequest)
operation.
listTagsForResourceRequest - ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault ListTagsForResourceIterable listTagsForResourcePaginator(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) throws ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
List all tags on a Timestream query resource.
This is a variant of
listTagsForResource(software.amazon.awssdk.services.timestreamquery.model.ListTagsForResourceRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.timestreamquery.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.timestreamquery.paginators.ListTagsForResourceIterable responses = client
.listTagsForResourcePaginator(request);
for (software.amazon.awssdk.services.timestreamquery.model.ListTagsForResourceResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.timestreamquery.paginators.ListTagsForResourceIterable responses = client.listTagsForResourcePaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxResults won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
listTagsForResource(software.amazon.awssdk.services.timestreamquery.model.ListTagsForResourceRequest)
operation.
This is a convenience which creates an instance of the ListTagsForResourceRequest.Builder avoiding the
need to create one manually via ListTagsForResourceRequest.builder()
listTagsForResourceRequest - A Consumer that will call methods on ListTagsForResourceRequest.Builder to create a
request.ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PrepareQueryResponse prepareQuery(PrepareQueryRequest prepareQueryRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
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 the PrepareQueryRequest$ValidateOnly
set to true.
prepareQueryRequest - AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault PrepareQueryResponse prepareQuery(Consumer<PrepareQueryRequest.Builder> prepareQueryRequest) throws AccessDeniedException, InternalServerException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
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 the PrepareQueryRequest$ValidateOnly
set to true.
This is a convenience which creates an instance of the PrepareQueryRequest.Builder avoiding the need to
create one manually via PrepareQueryRequest.builder()
prepareQueryRequest - A Consumer that will call methods on PrepareQueryRequest.Builder to create a request.AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault QueryResponse query(QueryRequest queryRequest) throws AccessDeniedException, ConflictException, InternalServerException, QueryExecutionException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
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.
queryRequest - AccessDeniedException - You are not authorized to perform this action.ConflictException - Unable to poll results for a cancelled query.InternalServerException - Timestream was unable to fully process this request because of an internal server error.QueryExecutionException - Timestream was unable to run the query successfully.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault QueryResponse query(Consumer<QueryRequest.Builder> queryRequest) throws AccessDeniedException, ConflictException, InternalServerException, QueryExecutionException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
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.
This is a convenience which creates an instance of the QueryRequest.Builder avoiding the need to create
one manually via QueryRequest.builder()
queryRequest - A Consumer that will call methods on QueryRequest.Builder to create a request.AccessDeniedException - You are not authorized to perform this action.ConflictException - Unable to poll results for a cancelled query.InternalServerException - Timestream was unable to fully process this request because of an internal server error.QueryExecutionException - Timestream was unable to run the query successfully.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault QueryIterable queryPaginator(QueryRequest queryRequest) throws AccessDeniedException, ConflictException, InternalServerException, QueryExecutionException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
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.
This is a variant of query(software.amazon.awssdk.services.timestreamquery.model.QueryRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.timestreamquery.paginators.QueryIterable responses = client.queryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.timestreamquery.paginators.QueryIterable responses = client.queryPaginator(request);
for (software.amazon.awssdk.services.timestreamquery.model.QueryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.timestreamquery.paginators.QueryIterable responses = client.queryPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxRows won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
query(software.amazon.awssdk.services.timestreamquery.model.QueryRequest) operation.
queryRequest - AccessDeniedException - You are not authorized to perform this action.ConflictException - Unable to poll results for a cancelled query.InternalServerException - Timestream was unable to fully process this request because of an internal server error.QueryExecutionException - Timestream was unable to run the query successfully.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault QueryIterable queryPaginator(Consumer<QueryRequest.Builder> queryRequest) throws AccessDeniedException, ConflictException, InternalServerException, QueryExecutionException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
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.
This is a variant of query(software.amazon.awssdk.services.timestreamquery.model.QueryRequest)
operation. The return type is a custom iterable that can be used to iterate through all the pages. SDK will
internally handle making service calls for you.
When this operation is called, a custom iterable is returned but no service calls are made yet. So there is no guarantee that the request is valid. As you iterate through the iterable, SDK will start lazily loading response pages by making service calls until there are no pages left or your iteration stops. If there are errors in your request, you will see the failures only after you start iterating through the iterable.
The following are few ways to iterate through the response pages:
1) Using a Stream
software.amazon.awssdk.services.timestreamquery.paginators.QueryIterable responses = client.queryPaginator(request);
responses.stream().forEach(....);
2) Using For loop
{
@code
software.amazon.awssdk.services.timestreamquery.paginators.QueryIterable responses = client.queryPaginator(request);
for (software.amazon.awssdk.services.timestreamquery.model.QueryResponse response : responses) {
// do something;
}
}
3) Use iterator directly
software.amazon.awssdk.services.timestreamquery.paginators.QueryIterable responses = client.queryPaginator(request);
responses.iterator().forEachRemaining(....);
Please notice that the configuration of MaxRows won't limit the number of results you get with the paginator. It only limits the number of results in each page.
Note: If you prefer to have control on service calls, use the
query(software.amazon.awssdk.services.timestreamquery.model.QueryRequest) operation.
This is a convenience which creates an instance of the QueryRequest.Builder avoiding the need to create
one manually via QueryRequest.builder()
queryRequest - A Consumer that will call methods on QueryRequest.Builder to create a request.AccessDeniedException - You are not authorized to perform this action.ConflictException - Unable to poll results for a cancelled query.InternalServerException - Timestream was unable to fully process this request because of an internal server error.QueryExecutionException - Timestream was unable to run the query successfully.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(TagResourceRequest tagResourceRequest) throws ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Associate 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.
tagResourceRequest - ResourceNotFoundException - The requested resource could not be found.ServiceQuotaExceededException - You have exceeded the service quota.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault TagResourceResponse tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) throws ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Associate 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.
This is a convenience which creates an instance of the TagResourceRequest.Builder avoiding the need to
create one manually via TagResourceRequest.builder()
tagResourceRequest - A Consumer that will call methods on TagResourceRequest.Builder to create a request.ResourceNotFoundException - The requested resource could not be found.ServiceQuotaExceededException - You have exceeded the service quota.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(UntagResourceRequest untagResourceRequest) throws ValidationException, ThrottlingException, ResourceNotFoundException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Removes the association of tags from a Timestream query resource.
untagResourceRequest - ValidationException - Invalid or malformed request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - The requested resource could not be found.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UntagResourceResponse untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) throws ValidationException, ThrottlingException, ResourceNotFoundException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Removes the association of tags from a Timestream query resource.
This is a convenience which creates an instance of the UntagResourceRequest.Builder avoiding the need to
create one manually via UntagResourceRequest.builder()
untagResourceRequest - A Consumer that will call methods on UntagResourceRequest.Builder to create a request.ValidationException - Invalid or malformed request.ThrottlingException - The request was denied due to request throttling.ResourceNotFoundException - The requested resource could not be found.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateScheduledQueryResponse updateScheduledQuery(UpdateScheduledQueryRequest updateScheduledQueryRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Update a scheduled query.
updateScheduledQueryRequest - AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptiondefault UpdateScheduledQueryResponse updateScheduledQuery(Consumer<UpdateScheduledQueryRequest.Builder> updateScheduledQueryRequest) throws AccessDeniedException, InternalServerException, ResourceNotFoundException, ThrottlingException, ValidationException, InvalidEndpointException, AwsServiceException, SdkClientException, TimestreamQueryException
Update a scheduled query.
This is a convenience which creates an instance of the UpdateScheduledQueryRequest.Builder avoiding the
need to create one manually via UpdateScheduledQueryRequest.builder()
updateScheduledQueryRequest - A Consumer that will call methods on UpdateScheduledQueryRequest.Builder to create a
request.AccessDeniedException - You are not authorized to perform this action.InternalServerException - Timestream was unable to fully process this request because of an internal server error.ResourceNotFoundException - The requested resource could not be found.ThrottlingException - The request was denied due to request throttling.ValidationException - Invalid or malformed request.InvalidEndpointException - The requested endpoint was not valid.SdkException - Base class for all exceptions that can be thrown by the SDK (both service and client). Can be used for
catch all scenarios.SdkClientException - If any client side error occurs such as an IO related failure, failure to get credentials, etc.TimestreamQueryException - Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.AwsServiceExceptionstatic TimestreamQueryClient create()
TimestreamQueryClient with the region loaded from the
DefaultAwsRegionProviderChain and credentials loaded from the
DefaultCredentialsProvider.static TimestreamQueryClientBuilder builder()
TimestreamQueryClient.static ServiceMetadata serviceMetadata()
default TimestreamQueryServiceClientConfiguration serviceClientConfiguration()
serviceClientConfiguration in interface AwsClientserviceClientConfiguration in interface SdkClientCopyright © 2023. All rights reserved.