Skip to content

SSMClient.get_patch_baseline

rboto-ssm==0.4.0 · Service index · Types

Model summary (excerpt): Retrieves information about a patch baseline.

Install and imports

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

Signature

async def get_patch_baseline(
    *,
    baseline_id: str,
) -> GetPatchBaselineOutput: ...

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)
baseline_id Yes The ID of the patch baseline to retrieve. To retrieve information about an Amazon Web Services managed patch baseline, specify the full Amazon Resource Name (ARN) of the baseline. For example, for the baseline AWS-AmazonLinuxDefaultPatchBaseline , specify arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7 instead of pb-0e392de35e7c563b7 .

Output

GetPatchBaselineOutput.

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
baseline_id str | None Always present —
name str | None Always present —
operating_system OperatingSystemOutput | None Always present OperatingSystemOutput
global_filters PatchFilterGroupOutput | None Always present PatchFilterGroupOutput
approval_rules PatchRuleGroupOutput | None Always present PatchRuleGroupOutput
approved_patches list[str] | None Always present —
approved_patches_compliance_level PatchComplianceLevelOutput | None Always present PatchComplianceLevelOutput
approved_patches_enable_non_security bool | None Always present —
rejected_patches list[str] | None Always present —
rejected_patches_action PatchActionOutput | None Always present PatchActionOutput
patch_groups list[str] | None Always present —
created_date str | None Always present —
modified_date str | None Always present —
description str | None Always present —
sources list[PatchSourceOutput] | None Always present PatchSourceOutput
available_security_updates_compliance_status PatchComplianceStatusOutput | None Always present PatchComplianceStatusOutput

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

GetPatchBaselineOutput

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

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

Service guide · Pinned model