.. versionadded:: 2016.11.0

    Ensure the SAML provider with the specified name is absent.

    name (string)
        The name of the SAML provider.

    saml_metadata_document (string)
        The xml document of the SAML provider.

    region (string)
        Region to connect to.

    key (string)
        Secret key to be used.

    keyid (string)
        Access key to be used.

    profile (dict)
        A dict with region, key and keyid, or a pillar key (string)
        that contains a dict with region, key and keyid.

def saml_provider_absent(name, region=None, key=None, keyid=None, profile=None):
    '''
    .. versionadded:: 2016.11.0

    Ensure the SAML provider with the specified name is absent.

    name (string)
        The name of the SAML provider.

    saml_metadata_document (string)
        The xml document of the SAML provider.

    region (string)
        Region to connect to.

    key (string)
        Secret key to be used.

    keyid (string)
        Access key to be used.

    profile (dict)
        A dict with region, key and keyid, or a pillar key (string)
        that contains a dict with region, key and keyid.
    '''
    ret = {'name': name, 'result': True, 'comment': '', 'changes': {}}
    provider = __salt__['boto_iam.list_saml_providers'](region=region,
                                                        key=key, keyid=keyid,
                                                        profile=profile)
    if not provider:
        ret['comment'] = 'SAML provider {0} is absent.'.format(name)
        return ret
    if __opts__['test']:
        ret['comment'] = 'SAML provider {0} is set to be removed.'.format(name)
        ret['result'] = None
        return ret
    deleted = __salt__['boto_iam.delete_saml_provider'](name, region=region,
                                                        key=key, keyid=keyid,
                                                        profile=profile)
    if deleted is not False:
        ret['comment'] = 'SAML provider {0} was deleted.'.format(name)
        ret['changes']['old'] = name
        return ret
    ret['result'] = False
    ret['comment'] = 'SAML provider {0} failed to be deleted.'.format(name)
    return ret