def describe_function(FunctionName, region=None, key=None,
             keyid=None, profile=None):

    try:
        func = _find_function(FunctionName,
                             region=region, key=key, keyid=keyid, profile=profile)
        if func:
            keys = ('FunctionName', 'Runtime', 'Role', 'Handler', 'CodeSha256',
                'CodeSize', 'Description', 'Timeout', 'MemorySize', 'FunctionArn',
                'LastModified', 'VpcConfig')
            return {'function': dict([(k, func.get(k)) for k in keys])}
        else:
            return {'function': None}
    except ClientError as e:
        return {'error': salt.utils.boto3.get_error(e)}
Given a function name describe its properties.
dataset/ETHPy150Open saltstack/salt/salt/modules/boto_lambda.py/describe_function