Skip to content

SSMClient.get_calendar_state

rboto-ssm==0.4.0 · Service index · Types

Model summary (excerpt): Gets the state of a Amazon Web Services Systems Manager change calendar at the current time or a specified time. If you specify a time, GetCalendarState returns the state of the calendar at that specific time, and returns the next time that the change calendar state will transition. If you don't specify a time, GetCalendarState uses the current time. Change Calendar entries have two possible...

Install and imports

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

Signature

async def get_calendar_state(
    *,
    calendar_names: Sequence[str],
    at_time: str | None = None,
) -> GetCalendarStateOutput: ...

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)
calendar_names Yes The names of Amazon Resource Names (ARNs) of the Systems Manager documents (SSM documents) that represent the calendar entries for which you want to get the state.
at_time No (Optional) The specific time for which you want to get calendar state information, in ISO 8601 format. If you don't specify a value or AtTime , the current time is used.

Output

GetCalendarStateOutput.

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
state CalendarStateOutput | None Always present CalendarStateOutput
at_time str | None Always present —
next_transition_time 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.

GetCalendarStateOutput

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:

InternalServerError, InvalidDocumentError, InvalidDocumentTypeError, UnsupportedCalendarError.

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

Service guide · Pinned model