def describe_alias(FunctionName, Name, region=None, key=None, keyid=None, profile=None):
 try:
  alias = _find_alias(FunctionName, Name, region=region, key=key, keyid=keyid, profile=profile)
  if alias:
   keys = ('AliasArn', 'Name', 'FunctionVersion', 'Description')
   return {'alias': dict([(k, alias.get(k)) for k in keys])}
  else:
   return {'alias': None}
 except ClientError as e:
  return {'error': salt.utils.boto3.get_error(e)}

def describe_alias ( FunctionName , Name , region = None , key = None , keyid = None , profile = None ) : try : alias = _find_alias ( FunctionName , Name , region = region , key = key , keyid = keyid , profile = profile ) if alias : keys = ( 'AliasArn' , 'Name' , 'FunctionVersion' , 'Description' ) return { 'alias' : dict ( [ ( k , alias . get ( k ) ) for k in keys ] ) } else : return { 'alias' : None } except ClientError as e : return { 'error' : salt . utils . boto3 . get_error ( e ) }
given a function name and alias name describe the properties of the alias .