cloudwatchlogs_describe_queries: Returns a list of CloudWatch Logs Insights queries that are...

Description Usage Arguments Value Request syntax

View source: R/cloudwatchlogs_operations.R

Description

Returns a list of CloudWatch Logs Insights queries that are scheduled, executing, or have been executed recently in this account. You can request all queries or limit it to queries of a specific log group or queries with a certain status.

Usage

1
2
cloudwatchlogs_describe_queries(logGroupName, status, maxResults,
  nextToken)

Arguments

logGroupName

Limits the returned queries to only those for the specified log group.

status

Limits the returned queries to only those that have the specified status. Valid values are Cancelled, Complete, Failed, Running, and Scheduled.

maxResults

Limits the number of returned queries to the specified number.

nextToken

Value

A list with the following syntax:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
list(
  queries = list(
    list(
      queryId = "string",
      queryString = "string",
      status = "Scheduled"|"Running"|"Complete"|"Failed"|"Cancelled",
      createTime = 123,
      logGroupName = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

1
2
3
4
5
6
svc$describe_queries(
  logGroupName = "string",
  status = "Scheduled"|"Running"|"Complete"|"Failed"|"Cancelled",
  maxResults = 123,
  nextToken = "string"
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.