AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::DescribeQueriesRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DescribeQueriesRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  log_group_name: "LogGroupName",
  status: "Scheduled", # accepts Scheduled, Running, Complete, Failed, Cancelled
  max_results: 1,
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#log_group_nameString

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

Returns:

  • (String)

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

#max_resultsInteger

Limits the number of returned queries to the specified number.

Returns:

  • (Integer)

    Limits the number of returned queries to the specified number.

#next_tokenString

The token for the next set of items to return. The token expires after 24 hours.

Returns:

  • (String)

    The token for the next set of items to return.

#statusString

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

Possible values:

  • Scheduled
  • Running
  • Complete
  • Failed
  • Cancelled

Returns:

  • (String)

    Limits the returned queries to only those that have the specified status.