def delete_saml_provider(name, region=None, key=None, keyid=None, profile=None):
    '''
    Delete SAML provider

    CLI Example:

    .. code-block:: bash

        salt myminion boto_iam.delete_saml_provider my_saml_provider_name
    '''
    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:
            log.info('SAML provider %s not found.', name)
            return True
        conn.delete_saml_provider(saml_provider_arn)
        log.info('Successfully deleted SAML provider %s.', name)
        return True
    except boto.exception.BotoServerError as e:
        aws = __utils__['boto.get_error'](e)
        log.debug(aws)
        log.error('Failed to delete SAML provider %s.', name)
        return False
Delete SAML provider

    CLI Example:

    .. code-block:: bash

        salt myminion boto_iam.delete_saml_provider my_saml_provider_name