class Amazonite::CloudWatchLogs::QueryDefinition

Overview

This structure contains details about a saved CloudWatch Logs Insights query definition.

Included Modules

Defined in:

cloudwatch_logs/query_definition.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(query_language : QueryLanguage | Nil = nil, query_definition_id : String | Nil = nil, name : String | Nil = nil, query_string : String | Nil = nil, last_modified : Int64 | Nil = nil, log_group_names : Array(String) | Nil = nil, parameters : Array(QueryParameter) | Nil = nil) #

[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 hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def last_modified : Int64 | Nil #

The date that the query definition was most recently modified.


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

The date that the query definition was most recently modified.


[View source]
def log_group_names : Array(String) | Nil #

If this query definition contains a list of log groups that it is limited to, that list appears here.


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

If this query definition contains a list of log groups that it is limited to, that list appears here.


[View source]
def name : String | Nil #

The name of the query definition.


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

The name of the query definition.


[View source]
def parameters : Array(QueryParameter) | Nil #

If this query definition contains a list of query parameters that define placeholder variables for the query string, that list appears here.


[View source]
def parameters=(parameters : Array(QueryParameter) | Nil) #

If this query definition contains a list of query parameters that define placeholder variables for the query string, that list appears here.


[View source]
def query_definition_id : String | Nil #

The unique ID of the query definition.


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

The unique ID of the query definition.


[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 to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.


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

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.


[View source]
def validate! : Nil #

[View source]