def delete_saml_provider(name, region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 try:
  saml_provider_arn = get_saml_provider_arn(name, region=region, key=key, keyid=keyid, profile=profile)
  if (not saml_provider_arn):
   msg = 'SAML provider {0} not found.'
   log.info(msg.format(name))
   return True
  conn.delete_saml_provider(saml_provider_arn)
  msg = 'Successfully deleted {0} SAML provider.'
  log.info(msg.format(name))
  return True
 except boto.exception.BotoServerError as e:
  aws = __utils__['boto.get_error'](e)
  log.debug(aws)
  msg = 'Failed to delete {0} SAML provider.'
  log.error(msg.format(name))
  return False

def delete_saml_provider ( name , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) try : saml_provider_arn = get_saml_provider_arn ( name , region = region , key = key , keyid = keyid , profile = profile ) if ( not saml_provider_arn ) : msg = 'SAML provider {0} not found.' log . info ( msg . format ( name ) ) return True conn . delete_saml_provider ( saml_provider_arn ) msg = 'Successfully deleted {0} SAML provider.' log . info ( msg . format ( name ) ) return True except boto . exception . BotoServerError as e : aws = __utils__ [ 'boto.get_error' ] ( e ) log . debug ( aws ) msg = 'Failed to delete {0} SAML provider.' log . error ( msg . format ( name ) ) return False
delete saml provider cli example: .