Skip to content

SSMClient.get_maintenance_window

rboto-ssm==0.4.0 · Service index · Types

Model summary (excerpt): Retrieves a maintenance window.

Install and imports

python -m pip install "rboto[ssm]==0.4.0"
from rboto import SSMClient
from rboto_ssm.types import (
    GetMaintenanceWindowOutput,
)

Signature

async def get_maintenance_window(
    *,
    window_id: str,
) -> GetMaintenanceWindowOutput: ...

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)
window_id Yes The ID of the maintenance window for which you want to retrieve information.

Output

GetMaintenanceWindowOutput.

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
window_id str | None Always present —
name str | None Always present —
description str | None Always present —
start_date str | None Always present —
end_date str | None Always present —
schedule str | None Always present —
schedule_timezone str | None Always present —
schedule_offset int | None Always present —
next_execution_time str | None Always present —
duration int | None Always present —
cutoff int Always present —
allow_unassociated_targets bool Always present —
enabled bool Always present —
created_date str | None Always present —
modified_date str | 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.

GetMaintenanceWindowOutput

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_ssm.exceptions:

DoesNotExistError, InternalServerError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model