CloudWatchLogsClient.get_scheduled_query
rboto-cloudwatch-logs==0.4.0 · Service index · Types
Model summary (excerpt): Retrieves details about a specific scheduled query, including its configuration, execution status, and metadata.
Install and imports
from rboto import CloudWatchLogsClient
from rboto_cloudwatch_logs.types import (
GetScheduledQueryOutput,
)
Signature
Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.
Arguments
| Argument | Required | Model notes (excerpt) |
|---|---|---|
identifier |
Yes | The ARN or name of the scheduled query to retrieve. |
Output
GetScheduledQueryOutput.
Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.
| Field | Type | Presence | References |
|---|---|---|---|
scheduled_query_arn |
str | None |
Always present | — |
name |
str | None |
Always present | — |
description |
str | None |
Always present | — |
query_language |
QueryLanguageOutput | None |
Always present | QueryLanguageOutput |
query_string |
str | None |
Always present | — |
log_group_identifiers |
list[str] | None |
Always present | — |
schedule_expression |
str | None |
Always present | — |
timezone |
str | None |
Always present | — |
start_time_offset |
int | None |
Always present | — |
end_time_offset |
int | None |
Always present | — |
destination_configuration |
DestinationConfigurationOutput | None |
Always present | DestinationConfigurationOutput |
state |
ScheduledQueryStateOutput | None |
Always present | ScheduledQueryStateOutput |
schedule_type |
ScheduleTypeOutput | None |
Always present | ScheduleTypeOutput |
last_triggered_time |
int | None |
Always present | — |
last_execution_status |
ExecutionStatusOutput | None |
Always present | ExecutionStatusOutput |
schedule_start_time |
int | None |
Always present | — |
schedule_end_time |
int | None |
Always present | — |
execution_role_arn |
str | None |
Always present | — |
creation_time |
int | None |
Always present | — |
last_updated_time |
int | None |
Always present | — |
| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.
Related types
Follow these links for nested inputs and outputs; recursive types link back to the same type page.
Pagination and streaming
No generated paginator for this operation.
No output stream.
Errors
Import from rboto_cloudwatch_logs.exceptions:
AccessDeniedError, InternalServerError, ResourceNotFoundError, ThrottlingError, ValidationError.
Other service failures use the service base error; credential, transport and timeout failures use shared errors.