Skip to content

UpdateScheduledQueryRequest

Source code in docs_src/capo_cloudwatch_logs/types/update_scheduled_query_request.py
class UpdateScheduledQueryRequest(TypedDict, closed=True):
    identifier: (
        "capo_cloudwatch_logs.types.scheduled_query_identifier.ScheduledQueryIdentifier"
    )
    """<p>The ARN or name of the scheduled query to update.</p>"""
    description: NotRequired[
        "capo_cloudwatch_logs.types.scheduled_query_description.ScheduledQueryDescription"
    ]
    """<p>An updated description for the scheduled query.</p>"""
    query_language: "capo_cloudwatch_logs.types.query_language.QueryLanguage"
    """<p>The updated query language for the scheduled query.</p>"""
    query_string: "capo_cloudwatch_logs.types.query_string.QueryString"
    """<p>The updated query string to execute.</p>"""
    log_group_identifiers: NotRequired[
        "capo_cloudwatch_logs.types.scheduled_query_log_group_identifiers.ScheduledQueryLogGroupIdentifiers"
    ]
    """<p>The updated array of log group names or ARNs to query.</p>"""
    schedule_expression: (
        "capo_cloudwatch_logs.types.schedule_expression.ScheduleExpression"
    )
    """<p>The updated cron expression that defines when the scheduled query runs.</p>"""
    timezone: NotRequired[
        "capo_cloudwatch_logs.types.schedule_timezone.ScheduleTimezone"
    ]
    """<p>The updated timezone for evaluating the schedule expression.</p>"""
    start_time_offset: NotRequired[
        "capo_cloudwatch_logs.types.start_time_offset.StartTimeOffset"
    ]
    """<p>The updated time offset in seconds that defines the lookback period for the query.</p>"""
    end_time_offset: NotRequired[
        "capo_cloudwatch_logs.types.end_time_offset.EndTimeOffset"
    ]
    """<p>The updated time offset in seconds that defines the end of the lookback period for the query.</p>"""
    destination_configuration: NotRequired[
        "capo_cloudwatch_logs.types.destination_configuration.DestinationConfiguration"
    ]
    """<p>The updated configuration for where to deliver query results.</p>"""
    schedule_start_time: NotRequired["capo_cloudwatch_logs.types.timestamp.Timestamp"]
    """<p>The updated start time for the scheduled query in Unix epoch format.</p>"""
    schedule_end_time: NotRequired["capo_cloudwatch_logs.types.timestamp.Timestamp"]
    """<p>The updated end time for the scheduled query in Unix epoch format.</p>"""
    execution_role_arn: "capo_cloudwatch_logs.types.role_arn.RoleArn"
    """<p>The updated ARN of the IAM role that grants permissions to execute the query and deliver results.</p>"""
    state: NotRequired[
        "capo_cloudwatch_logs.types.scheduled_query_state.ScheduledQueryState"
    ]
    """<p>The updated state of the scheduled query.</p>"""

description instance-attribute

description: NotRequired[ScheduledQueryDescription]

An updated description for the scheduled query.

destination_configuration instance-attribute

destination_configuration: NotRequired[DestinationConfiguration]

The updated configuration for where to deliver query results.

end_time_offset instance-attribute

end_time_offset: NotRequired[EndTimeOffset]

The updated time offset in seconds that defines the end of the lookback period for the query.

execution_role_arn instance-attribute

execution_role_arn: RoleArn

The updated ARN of the IAM role that grants permissions to execute the query and deliver results.

identifier instance-attribute

The ARN or name of the scheduled query to update.

log_group_identifiers instance-attribute

log_group_identifiers: NotRequired[ScheduledQueryLogGroupIdentifiers]

The updated array of log group names or ARNs to query.

query_language instance-attribute

query_language: QueryLanguage

The updated query language for the scheduled query.

query_string instance-attribute

query_string: QueryString

The updated query string to execute.

schedule_end_time instance-attribute

schedule_end_time: NotRequired[Timestamp]

The updated end time for the scheduled query in Unix epoch format.

schedule_expression instance-attribute

schedule_expression: ScheduleExpression

The updated cron expression that defines when the scheduled query runs.

schedule_start_time instance-attribute

schedule_start_time: NotRequired[Timestamp]

The updated start time for the scheduled query in Unix epoch format.

start_time_offset instance-attribute

start_time_offset: NotRequired[StartTimeOffset]

The updated time offset in seconds that defines the lookback period for the query.

state instance-attribute

state: NotRequired[ScheduledQueryState]

The updated state of the scheduled query.

timezone instance-attribute

timezone: NotRequired[ScheduleTimezone]

The updated timezone for evaluating the schedule expression.