code: def update_server_cert(self, cert_name, new_cert_name=None,
                             new_path=None):
          
          params = {'ServerCertificateName' : cert_name}
          if new_cert_name:
              params['NewServerCertificateName'] = new_cert_name
          if new_path:
              params['NewPath'] = new_path
          return self.get_response('UpdateServerCertificate', params)
docs: Updates the name and/or the path of the specified server certificate.
  
          :type cert_name: string
          :param cert_name: The name of the server certificate that you want
                            to update.
  
          :type new_cert_name: string
          :param new_cert_name: The new name for the server certificate.
                                Include this only if you are updating the
                                server certificate's name.
  
          :type new_path: string
          :param new_path: If provided, the path of the certificate will be
                           changed to this path.