class Amazonite::CloudWatchLogs::QueryInfo

Overview

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

Included Modules

Defined in:

cloudwatch_logs/query_info.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(query_language : QueryLanguage | Nil = nil, query_id : String | Nil = nil, query_string : String | Nil = nil, status : QueryStatus | Nil = nil, create_time : Int64 | Nil = nil, log_group_name : String | Nil = nil, query_duration : Int64 | Nil = nil, bytes_scanned : Float64 | Nil = nil, user_identity : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def bytes_scanned : Float64 | Nil #

The total number of bytes scanned by the query. This indicates the cost associated with the query.


[View source]
def bytes_scanned=(bytes_scanned : Float64 | Nil) #

The total number of bytes scanned by the query. This indicates the cost associated with the query.


[View source]
def create_time : Int64 | Nil #

The date and time that this query was created.


[View source]
def create_time=(create_time : Int64 | Nil) #

The date and time that this query was created.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def log_group_name : String | Nil #

The name of the log group scanned by this query.


[View source]
def log_group_name=(log_group_name : String | Nil) #

The name of the log group scanned by this query.


[View source]
def query_duration : Int64 | Nil #

The duration in milliseconds that the query took to execute.


[View source]
def query_duration=(query_duration : Int64 | Nil) #

The duration in milliseconds that the query took to execute.


[View source]
def query_id : String | Nil #

The unique ID number of this query.


[View source]
def query_id=(query_id : String | Nil) #

The unique ID number of this query.


[View source]
def query_language : QueryLanguage | Nil #

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


[View source]
def query_language=(query_language : QueryLanguage | Nil) #

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


[View source]
def query_string : String | Nil #

The query string used in this query.


[View source]
def query_string=(query_string : String | Nil) #

The query string used in this query.


[View source]
def status : QueryStatus | Nil #

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


[View source]
def status=(status : QueryStatus | Nil) #

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


[View source]
def user_identity : String | Nil #

The ARN of the user who ran the query.


[View source]
def user_identity=(user_identity : String | Nil) #

The ARN of the user who ran the query.


[View source]
def validate! : Nil #

[View source]