Slide 16
Slide 16 text
#JAWSUG
#JAWSUG
16
#JAWSUG
localtime = datetime.datetime.now()
iso8601 = localtime.replace(microsecond=0)
.astimezone().isoformat()
response = ssm_client.get_calendar_state(
CalendarNames=['myCalendar'], AtTime=iso8601)
2019-12-25T00:01:00+09:00
{'State': 'CLOSED', 'AtTime': '2019-12-24T15:01:00Z',
'NextTransitionTime': '2019-12-25T15:00:00Z',
'ResponseMetadata': ・・・