class
Amazonite::CloudWatchLogs::QueryDefinition
- Amazonite::CloudWatchLogs::QueryDefinition
- Reference
- Object
Overview
This structure contains details about a saved CloudWatch Logs Insights query definition.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/query_definition.crConstructors
- .new(pull : JSON::PullParser)
- .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)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#last_modified : Int64 | Nil
The date that the query definition was most recently modified.
-
#last_modified=(last_modified : Int64 | Nil)
The date that the query definition was most recently modified.
-
#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.
-
#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.
-
#name : String | Nil
The name of the query definition.
-
#name=(name : String | Nil)
The name of the query definition.
-
#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.
-
#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.
-
#query_definition_id : String | Nil
The unique ID of the query definition.
-
#query_definition_id=(query_definition_id : String | Nil)
The unique ID of the query definition.
-
#query_language : QueryLanguage | Nil
The query language used for this query.
-
#query_language=(query_language : QueryLanguage | Nil)
The query language used for this query.
-
#query_string : String | Nil
The query string to use for this definition.
-
#query_string=(query_string : String | Nil)
The query string to use for this definition.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The date that the query definition was most recently modified.
If this query definition contains a list of log groups that it is limited to, that list appears here.
If this query definition contains a list of log groups that it is limited to, that list appears here.
If this query definition contains a list of query parameters that define placeholder variables for the query string, that list appears here.
If this query definition contains a list of query parameters that define placeholder variables for the query string, that list appears here.
The unique ID of the query definition.
The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.
The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.
The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.
The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.