def remove_permission(FunctionName, StatementId, Qualifier=None,
                   region=None, key=None, keyid=None, profile=None):

    try:
        conn = _get_conn(region=region, key=key, keyid=keyid, profile=profile)
        kwargs = {}
        if Qualifier is not None:
            kwargs['Qualifier'] = Qualifier
        conn.remove_permission(FunctionName=FunctionName, StatementId=StatementId,
                                   **kwargs)
        return {'updated': True}
    except ClientError as e:
        return {'updated': False, 'error': salt.utils.boto3.get_error(e)}
import annotations
dataset/ETHPy150Open saltstack/salt/salt/modules/boto_lambda.py/remove_permission--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_kamilah.py/importCodingPotential