def remove_cli_error_event(client):
    client.meta.events.unregister(
        'after-call', unique_id='awscli-error-handler')
This unregister call will go away once the client switchover
dataset/ETHPy150Open aws/aws-cli/awscli/customizations/cloudtrail/utils.py/remove_cli_error_event