Class: Aws::CloudWatchLogs::Types::QueryInfo

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Information about one CloudWatch Logs Insights query that matches the request in a ‘DescribeQueries` operation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#create_timeInteger

The date and time that this query was created.

Returns:

  • (Integer)


6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6735

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#log_group_nameString

The name of the log group scanned by this query.

Returns:

  • (String)


6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6735

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#query_idString

The unique ID number of this query.

Returns:

  • (String)


6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6735

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#query_languageString

The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see [Supported query languages].

[1]: docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData_Languages.html

Returns:

  • (String)


6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6735

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#query_stringString

The query string used in this query.

Returns:

  • (String)


6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6735

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status of this query. Possible values are ‘Cancelled`, `Complete`, `Failed`, `Running`, `Scheduled`, and `Unknown`.

Returns:

  • (String)


6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
# File 'lib/aws-sdk-cloudwatchlogs/types.rb', line 6735

class QueryInfo < Struct.new(
  :query_language,
  :query_id,
  :query_string,
  :status,
  :create_time,
  :log_group_name)
  SENSITIVE = []
  include Aws::Structure
end