code: def delete_server_cert(cert_name, region=None, key=None, keyid=None, profile=None):
      '''
      Deletes a certificate from Amazon.
  
      .. versionadded:: 2015.8.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_iam.delete_server_cert mycert_name
      '''
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
      try:
          return conn.delete_server_cert(cert_name)
      except boto.exception.BotoServerError as e:
          log.debug(e)
          log.error('Failed to delete certificate %s.', cert_name)
          return Falsf delete_server_cert(cert_name, region=None, key=None, keyid=None, profile=None):
      '''
      Deletes a certificate from Amazon.
  
      .. versionadded:: 2015.8.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_iam.delete_server_cert mycert_name
      '''
      conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
      try:
          return conn.delete_server_cert(cert_name)
      except boto.exception.BotoServerError as e:
          log.debug(e)
          log.error('Failed to delete certificate %s.', cert_name)
          return False
docs: Deletes a certificate from Amazon.
  
      .. versionadded:: 2015.8.0
  
      CLI Example:
  
      .. code-block:: bash
  
          salt myminion boto_iam.delete_server_cert mycert_name