Skip to content

/AWS1/CL_CWL=>DESCRIBEQUERYDEFINITIONS()

About DescribeQueryDefinitions

This operation returns a paginated list of your saved CloudWatch Logs Insights query definitions. You can retrieve query definitions from the current account or from a source account that is linked to the current account.

You can use the queryDefinitionNamePrefix parameter to limit the results to only the query definitions that have names that start with a certain string.

Method Signature

IMPORTING

Optional arguments:

IV_QUERYDEFINITIONNAMEPREFIX TYPE /AWS1/CWLQUERYDEFINITIONNAME /AWS1/CWLQUERYDEFINITIONNAME

Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.

IV_MAXRESULTS TYPE /AWS1/CWLQUERYLISTMAXRESULTS /AWS1/CWLQUERYLISTMAXRESULTS

Limits the number of returned query definitions to the specified number.

IV_NEXTTOKEN TYPE /AWS1/CWLNEXTTOKEN /AWS1/CWLNEXTTOKEN

nextToken

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_CWLDESCRQUERYDEFNSRSP /AWS1/CL_CWLDESCRQUERYDEFNSRSP