Skip to content

Delete Query Definition

cloudwatchlogs_delete_query_definition R Documentation

Deletes a saved CloudWatch Logs Insights query definition

Description

Deletes a saved CloudWatch Logs Insights query definition. A query definition contains details about a saved CloudWatch Logs Insights query.

Each delete_query_definition operation can delete one query definition.

You must have the logs:DeleteQueryDefinition permission to be able to perform this operation.

Usage

cloudwatchlogs_delete_query_definition(queryDefinitionId)

Arguments

queryDefinitionId

[required] The ID of the query definition that you want to delete. You can use describe_query_definitions to retrieve the IDs of your saved query definitions.

Value

A list with the following syntax:

list(
  success = TRUE|FALSE
)

Request syntax

svc$delete_query_definition(
  queryDefinitionId = "string"
)