def check_response()

in functions/source/UpdateDnsRecord/handler.py [0:0]


def check_response(response_json):
  try:
    if response_json['ResponseMetadata']['HTTPStatusCode'] == 200:
      return True
    else:
      return False
  except KeyError:
    return False