Smaws_Client_TimestreamQuery.PrepareQueryA 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.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServerException of Types.internal_server_exception
| `InvalidEndpointException of Types.invalid_endpoint_exception
| `ThrottlingException of Types.throttling_exception
| `ValidationException of Types.validation_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.prepare_query_request ->
(Types.prepare_query_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServerException of Types.internal_server_exception
| `InvalidEndpointException of Types.invalid_endpoint_exception
| `ThrottlingException of Types.throttling_exception
| `ValidationException of Types.validation_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.prepare_query_request ->
(Types.prepare_query_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServerException of Types.internal_server_exception
| `InvalidEndpointException of Types.invalid_endpoint_exception
| `ThrottlingException of Types.throttling_exception
| `ValidationException of Types.validation_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result