DE domain nameserver is not updating

I have bought a domain in GoDaddy. My app is hosted in AWS elastic beanstalk. Currently, I am trying to replace GoDaddy nameserver with the following AWS Nameserver
 
 
But it is failed. While I am trying to update nameserver it showing error "command failed".I called to support today they are asking to collect the IP address of AWS nameserver and try again replacing godaddy nameserver with AWS nameserver IP address. when I am trying to enter the IP address in the custom nameserver it's showing an error "You used an invalid format.".