/
The Amazon SSM multi-region endpoint
http://ssm.{region}.amazonaws.com
The Amazon SSM multi-region endpoint
http://ssm.{region}.amazonaws.com
POST
/
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
.Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'http://ssm.{region}.amazonaws.com/' \
--header 'X-Amz-Target;' \
--header 'Content-Type: application/json' \
--data-raw '{
"CalendarNames": [],
"AtTime": "string"
}'
Response Response Example
200 - Example 1
{
"State": "OPEN",
"AtTime": "string",
"NextTransitionTime": "string"
}
Request
Header Params
X-Amz-Target
stringÂ
required
Body Params application/json