code: def patch():
      
      if hasattr(aiobotocore.client, '_xray_enabled'):
          return
      setattr(aiobotocore.client, '_xray_enabled', True)
  
      wrapt.wrap_function_wrapper(
          'aiobotocore.client',
          'AioBaseClient._make_api_call',
          _xray_traced_aiobotocore,
      )
  
      wrapt.wrap_function_wrapper(
          'aiobotocore.endpoint',
          'AioEndpoint.prepare_request',
          inject_header,
      )
docs: Patch aiobotocore client so it generates subsegments
      when calling AWS services.