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 states: OPEN
or CLOSED
.OPEN
only if all calendars in the request are open. If one or more calendars in the request are closed, the status returned is CLOSED
.curl --location -g --request POST 'http://ssm.{region}.amazonaws.com/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
"CalendarNames": [],
"AtTime": "string"
}'
{
"State": "OPEN",
"AtTime": "string",
"NextTransitionTime": "string"
}