Skip to content

SSMClient.get_maintenance_window_task

rboto-ssm==0.4.0 · Service index · Types

Model summary (excerpt): Retrieves the details of a maintenance window task. For maintenance window tasks without a specified target, you can't supply values for --max-errors and --max-concurrency . Instead, the system inserts a placeholder value of 1 , which may be reported in the response to this command. These values don't affect the running of your task and can be ignored. To retrieve a list of tasks in a...

Install and imports

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

Signature

async def get_maintenance_window_task(
    *,
    window_id: str,
    window_task_id: str,
) -> GetMaintenanceWindowTaskOutput: ...

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 maintenance window ID that includes the task to retrieve.
window_task_id Yes The maintenance window task ID to retrieve.

Output

GetMaintenanceWindowTaskOutput.

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 —
window_task_id str | None Always present —
targets list[TargetOutput] | None Always present TargetOutput
task_arn str | None Always present —
service_role_arn str | None Always present —
task_type MaintenanceWindowTaskTypeOutput | None Always present MaintenanceWindowTaskTypeOutput
task_parameters dict[str, MaintenanceWindowTaskParameterValueExpressionOutput] | None Always present MaintenanceWindowTaskParameterValueExpressionOutput
task_invocation_parameters MaintenanceWindowTaskInvocationParametersOutput | None Always present MaintenanceWindowTaskInvocationParametersOutput
priority int Always present —
max_concurrency str | None Always present —
max_errors str | None Always present —
logging_info LoggingInfoOutput | None Always present LoggingInfoOutput
name str | None Always present —
description str | None Always present —
cutoff_behavior MaintenanceWindowTaskCutoffBehaviorOutput | None Always present MaintenanceWindowTaskCutoffBehaviorOutput
alarm_configuration AlarmConfigurationOutput | None Always present AlarmConfigurationOutput

| 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.

GetMaintenanceWindowTaskOutput

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