Skip to content

QueryInfo

Source code in docs_src/capo_cloudwatch_logs/types/query_info.py
class QueryInfo(TypedDict, closed=True):
    query_language: NotRequired[
        "capo_cloudwatch_logs.types.query_language.QueryLanguage"
    ]
    """<p>The query language used for this query. For more information about the query languages that CloudWatch Logs supports, see <a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/CWL_AnalyzeLogData_Languages.html">Supported query languages</a>.</p>"""
    query_id: NotRequired["capo_cloudwatch_logs.types.query_id.QueryId"]
    """<p>The unique ID number of this query.</p>"""
    query_string: NotRequired["capo_cloudwatch_logs.types.query_string.QueryString"]
    """<p>The query string used in this query.</p>"""
    status: NotRequired["capo_cloudwatch_logs.types.query_status.QueryStatus"]
    """<p>The status of this query. Possible values are <code>Cancelled</code>, <code>Complete</code>, <code>Failed</code>, <code>Running</code>, <code>Scheduled</code>, and <code>Unknown</code>.</p>"""
    create_time: NotRequired["capo_cloudwatch_logs.types.timestamp.Timestamp"]
    """<p>The date and time that this query was created.</p>"""
    log_group_name: NotRequired[
        "capo_cloudwatch_logs.types.log_group_name.LogGroupName"
    ]
    """<p>The name of the log group scanned by this query.</p>"""
    query_duration: NotRequired[
        "capo_cloudwatch_logs.types.query_duration.QueryDuration"
    ]
    """<p>The duration in milliseconds that the query took to execute.</p>"""
    bytes_scanned: NotRequired[
        "capo_cloudwatch_logs.types.bytes_scanned_value.BytesScannedValue"
    ]
    """<p>The total number of bytes scanned by the query. This indicates the cost associated with the query.</p>"""
    user_identity: NotRequired["capo_cloudwatch_logs.types.user_identity.UserIdentity"]
    """<p>The ARN of the user who ran the query.</p>"""

bytes_scanned instance-attribute

bytes_scanned: NotRequired[BytesScannedValue]

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

create_time instance-attribute

create_time: NotRequired[Timestamp]

The date and time that this query was created.

log_group_name instance-attribute

log_group_name: NotRequired[LogGroupName]

The name of the log group scanned by this query.

query_duration instance-attribute

query_duration: NotRequired[QueryDuration]

The duration in milliseconds that the query took to execute.

query_id instance-attribute

query_id: NotRequired[QueryId]

The unique ID number of this query.

query_language instance-attribute

query_language: NotRequired[QueryLanguage]

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

query_string instance-attribute

query_string: NotRequired[QueryString]

The query string used in this query.

status instance-attribute

status: NotRequired[QueryStatus]

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

user_identity instance-attribute

user_identity: NotRequired[UserIdentity]

The ARN of the user who ran the query.