def describe_identity_pools(IdentityPoolName, IdentityPoolId=None, region=None, key=None, keyid=None, profile=None):
 conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
 try:
  ids = _find_identity_pool_ids(IdentityPoolName, IdentityPoolId, conn)
  if ids:
   results = []
   for pool_id in ids:
    response = conn.describe_identity_pool(IdentityPoolId=pool_id)
    response.pop('ResponseMetadata', None)
    results.append(response)
   return {'identity_pools': results}
  else:
   return {'identity_pools': None}
 except ClientError as e:
  return {'error': salt.utils.boto3.get_error(e)}

def describe_identity_pools ( IdentityPoolName , IdentityPoolId = None , region = None , key = None , keyid = None , profile = None ) : conn = _get_conn ( region = region , key = key , keyid = keyid , profile = profile ) try : ids = _find_identity_pool_ids ( IdentityPoolName , IdentityPoolId , conn ) if ids : results = [ ] for pool_id in ids : response = conn . describe_identity_pool ( IdentityPoolId = pool_id ) response . pop ( 'ResponseMetadata' , None ) results . append ( response ) return { 'identity_pools' : results } else : return { 'identity_pools' : None } except ClientError as e : return { 'error' : salt . utils . boto3 . get_error ( e ) }
given an identity pool name .