Skip to content

GetCalendarStateResponse

Source code in docs_src/capo_ssm/types/get_calendar_state_response.py
class GetCalendarStateResponse(TypedDict, closed=True):
    state: NotRequired["capo_ssm.types.calendar_state.CalendarState"]
    """<p>The state of the calendar. An <code>OPEN</code> calendar indicates that actions are allowed to proceed, and a <code>CLOSED</code> calendar indicates that actions aren't allowed to proceed.</p>"""
    at_time: NotRequired["capo_ssm.types.iso8601_string.ISO8601String"]
    """<p>The time, as an <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> string, that you specified in your command. If you don't specify a time, <code>GetCalendarState</code> uses the current time.</p>"""
    next_transition_time: NotRequired["capo_ssm.types.iso8601_string.ISO8601String"]
    """<p>The time, as an <a href="https://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> string, that the calendar state will change. If the current calendar state is <code>OPEN</code>, <code>NextTransitionTime</code> indicates when the calendar state changes to <code>CLOSED</code>, and vice-versa.</p>"""

at_time instance-attribute

at_time: NotRequired[ISO8601String]

The time, as an ISO 8601 string, that you specified in your command. If you don't specify a time, GetCalendarState uses the current time.

next_transition_time instance-attribute

next_transition_time: NotRequired[ISO8601String]

The time, as an ISO 8601 string, that the calendar state will change. If the current calendar state is OPEN, NextTransitionTime indicates when the calendar state changes to CLOSED, and vice-versa.

state instance-attribute

state: NotRequired[CalendarState]

The state of the calendar. An OPEN calendar indicates that actions are allowed to proceed, and a CLOSED calendar indicates that actions aren't allowed to proceed.