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.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2504

class QueryInfo < Struct.new(
  :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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2504

class QueryInfo < Struct.new(
  :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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2504

class QueryInfo < Struct.new(
  :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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2504

class QueryInfo < Struct.new(
  :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)


2504
2505
2506
2507
2508
2509
2510
2511
2512
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 2504

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