def METHOD_NAME(self, **kwargs):
    # AWSQueryConnection and AWSAuthConnection are two different classes
    # called by different services for connection.
    # For example EC2 uses AWSQueryConnection and S3 uses
    # AWSAuthConnection
    # pylint: disable=attribute-defined-outside-init
    self._tracer = get_tracer(
        __name__, __version__, kwargs.get("tracer_provider")
    )
    wrap_function_wrapper(
        "boto.connection",
        "AWSQueryConnection.make_request",
        self._patched_query_request,
    )
    wrap_function_wrapper(
        "boto.connection",
        "AWSAuthConnection.make_request",
        self._patched_auth_request,
    )