// Schedules a query of a log group using CloudWatch Logs Insights. You specify the
// log group and time range to query and the query string to use. For more
// information, see CloudWatch Logs Insights Query Syntax
// (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_QuerySyntax.html).
// Queries time out after 15 minutes of execution. If your queries are timing out,
// reduce the time range being searched or partition your query into a number of
// queries.
Schedules a query of a log group using CloudWatch Logs Insights. You specify the
log group and time range to query and the query string to use. For more
information, see CloudWatch Logs Insights Query Syntax
.
Queries time out after 15 minutes of execution. If your queries are timing out,
reduce the time range being searched or partition your query into a number of
queries.
// Schedules a query of a log group using CloudWatch Logs Insights . You specify the // log group and time range to query and the query string to use . For more // information see CloudWatch Logs Insights Query Syntax // ( https : // docs . aws . amazon . com / AmazonCloudWatch / latest / logs / CWL_QuerySyntax . html ) . // Queries time out after 15 minutes of execution . If your queries are timing out // reduce the time range being searched or partition your query into a number of // queries .
func (c *Client) StartQuery(ctx context.Context, params *StartQueryInput, optFns ...func(*Options)) (*StartQueryOutput, error) {
	if params == nil {
		params = &StartQueryInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "StartQuery", params, optFns, addOperationStartQueryMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*StartQueryOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) StartQuery ( ctx context . Context , params * StartQueryInput , optFns ... func ( * Options ) ) ( * StartQueryOutput , error ) { if params == nil { params = & StartQueryInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationStartQueryMiddlewares ) if err != nil { return nil , err } out := result . ( * StartQueryOutput ) out . ResultMetadata = metadata return out , nil }
Schedules a query of a log group using CloudWatch Logs Insights.
Schedules a query of a log group using CloudWatch Logs Insights .