human
Complete this python program:
def boto3_log(method):
assistant
#Here is the Python program you requested.

    """Decorator to run a boto3.ec2.ServiceResource method and
    log additional information about any exceptions that are raised.
    :param func method_name: The method to call.
    :return: A function which will call the method and do
    the extra exception logging.
    """
    counter = itertools.count(1)
    def _run_with_logging(*args, **kwargs):
        '\n                                Run    given    boto3.ec2.ServiceResource    method    with    exception\n                                logging    for    ``ClientError``.\n                                '
        with AWS_ACTION(operation=[method.__name__, args[1:], kwargs], count=next(counter)):
            return method(*args, **kwargs)
    return _run_with_logging