class
Amazonite::CloudWatchLogs::GetQueryResultsResponse
- Amazonite::CloudWatchLogs::GetQueryResultsResponse
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/get_query_results_response.crConstructors
- .new(pull : JSON::PullParser)
- .new(query_language : QueryLanguage | Nil = nil, results : Array(Array(ResultField)) | Nil = nil, statistics : QueryStatistics | Nil = nil, status : QueryStatus | Nil = nil, encryption_key : String | Nil = nil, next_token : String | Nil = nil)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#encryption_key : String | Nil
If you associated an KMS key with the CloudWatch Logs Insights query results in this account, this field displays the ARN of the key that's used to encrypt the query results when StartQuery stores them.
-
#encryption_key=(encryption_key : String | Nil)
If you associated an KMS key with the CloudWatch Logs Insights query results in this account, this field displays the ARN of the key that's used to encrypt the query results when StartQuery stores them.
-
#hash(hasher)
See
Object#hash(hasher) -
#next_token : String | Nil
If there are more log events remaining in the results, the response includes a
nextToken. -
#next_token=(next_token : String | Nil)
If there are more log events remaining in the results, the response includes a
nextToken. -
#query_language : QueryLanguage | Nil
The query language used for this query.
-
#query_language=(query_language : QueryLanguage | Nil)
The query language used for this query.
-
#results : Array(Array(ResultField)) | Nil
The log events that matched the query criteria during the most recent time it ran.
-
#results=(results : Array(Array(ResultField)) | Nil)
The log events that matched the query criteria during the most recent time it ran.
-
#statistics : QueryStatistics | Nil
Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the scanned log events.
-
#statistics=(statistics : QueryStatistics | Nil)
Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the scanned log events.
-
#status : QueryStatus | Nil
The status of the most recent running of the query.
-
#status=(status : QueryStatus | Nil)
The status of the most recent running of the query.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
If you associated an KMS key with the CloudWatch Logs Insights query results in this account, this field displays the ARN of the key that's used to encrypt the query results when StartQuery stores them.
If you associated an KMS key with the CloudWatch Logs Insights query results in this account, this field displays the ARN of the key that's used to encrypt the query results when StartQuery stores them.
If there are more log events remaining in the results, the response includes a nextToken. You
can use this token in a subsequent GetQueryResults request to get the next set of results. You
can retrieve up to 100,000 log event results from a query by paginating with this token. This is
only supported for Logs Insights QL and is currently not supported for PPL and SQL query
languages.
If there are more log events remaining in the results, the response includes a nextToken. You
can use this token in a subsequent GetQueryResults request to get the next set of results. You
can retrieve up to 100,000 log event results from a query by paginating with this token. This is
only supported for Logs Insights QL and is currently not supported for PPL and SQL 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 language used for this query. For more information about the query languages that CloudWatch Logs supports, see Supported query languages.
The log events that matched the query criteria during the most recent time it ran.
The #results value is an array of arrays. Each log event is one object in the top-level array.
Each of these log event objects is an array of field/value pairs.
The log events that matched the query criteria during the most recent time it ran.
The #results value is an array of arrays. Each log event is one object in the top-level array.
Each of these log event objects is an array of field/value pairs.
Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the scanned log events. These values reflect the full raw results of the query.
Includes the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the scanned log events. These values reflect the full raw results of the query.
The status of the most recent running of the query. Possible values are Cancelled, Complete,
Failed, Running, Scheduled, Timeout, and Unknown.
Queries time out after 60 minutes of runtime. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.
The status of the most recent running of the query. Possible values are Cancelled, Complete,
Failed, Running, Scheduled, Timeout, and Unknown.
Queries time out after 60 minutes of runtime. To avoid having your queries time out, reduce the time range being searched or partition your query into a number of queries.