List SAML providers.

    CLI Example:

    .. code-block:: bash

        salt myminion boto_iam.list_saml_providers

def list_saml_providers(region=None, key=None, keyid=None, profile=None):
    '''
    List SAML providers.

    CLI Example:

    .. code-block:: bash

        salt myminion boto_iam.list_saml_providers
    '''
    conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
    try:
        providers = []
        info = conn.list_saml_providers()
        for arn in info['list_saml_providers_response']['list_saml_providers_result']['saml_provider_list']:
            providers.append(arn['arn'].rsplit('/', 1)[1])
        return providers
    except boto.exception.BotoServerError as e:
        log.debug(__utils__['boto.get_error'](e))
        log.error('Failed to get list of SAML providers.')
        return False