// 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 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 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 .
func (c *Client) Query(ctx context.Context, params *QueryInput, optFns ...func(*Options)) (*QueryOutput, error) {
	if params == nil {
		params = &QueryInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "Query", params, optFns, addOperationQueryMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*QueryOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) Query ( ctx context . Context , params * QueryInput , optFns ... func ( * Options ) ) ( * QueryOutput , error ) { if params == nil { params = & QueryInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationQueryMiddlewares ) if err != nil { return nil , err } out := result . ( * QueryOutput ) out . ResultMetadata = metadata return out , nil }
Query is a synchronous operation that enables you to execute a query.
Query is a synchronous operation that enables you to execute a query .