Updates an existing scheduled query with new configuration
Source:R/cloudwatchlogs_operations.R
cloudwatchlogs_update_scheduled_query.RdUpdates an existing scheduled query with new configuration. This operation uses PUT semantics, allowing modification of query parameters, schedule, and destinations.
See https://www.paws-r-sdk.com/docs/cloudwatchlogs_update_scheduled_query/ for full documentation.
Usage
cloudwatchlogs_update_scheduled_query(
identifier,
description = NULL,
queryLanguage,
queryString,
logGroupIdentifiers = NULL,
scheduleExpression,
timezone = NULL,
startTimeOffset = NULL,
destinationConfiguration = NULL,
scheduleStartTime = NULL,
scheduleEndTime = NULL,
executionRoleArn,
state = NULL
)Arguments
- identifier
[required] The ARN or name of the scheduled query to update.
- description
An updated description for the scheduled query.
- queryLanguage
[required] The updated query language for the scheduled query.
- queryString
[required] The updated query string to execute.
- logGroupIdentifiers
The updated array of log group names or ARNs to query.
- scheduleExpression
[required] The updated cron expression that defines when the scheduled query runs.
- timezone
The updated timezone for evaluating the schedule expression.
- startTimeOffset
The updated time offset in seconds that defines the lookback period for the query.
- destinationConfiguration
The updated configuration for where to deliver query results.
- scheduleStartTime
The updated start time for the scheduled query in Unix epoch format.
- scheduleEndTime
The updated end time for the scheduled query in Unix epoch format.
- executionRoleArn
[required] The updated ARN of the IAM role that grants permissions to execute the query and deliver results.
- state
The updated state of the scheduled query.