3 fY @s`dZddlmZddlZddlZddlZddlmZddlm Z ddl m Z Gdd d e Z dS) z Kubernetes No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) OpenAPI spec version: v1.7.4 Generated by: https://github.com/swagger-api/swagger-codegen.git )absolute_importN) iteritems) Configuration) ApiClientc@s:eZdZdZd ddZddZddZd d Zd d ZdS)LogsApiz NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen NcCs,t}|r||_n|js t|_|j|_dS)N)r api_clientr)selfrconfigr P/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/apis/logs_api.py__init__"s zLogsApi.__init__cKs6d|d<|jdr |j|f|S|j|f|}|SdS)a This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.log_file_handler(logpath, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str logpath: path to the log (required) :return: None If the method is called asynchronously, returns the request thread. T_return_http_data_onlycallbackN)getlog_file_handler_with_http_info)r logpathkwargsdatar r r log_file_handler+s  zLogsApi.log_file_handlercKsdg}|jd|jd|jd|jdt}x4t|dD]$\}}||kr^td||||<qBW|d=d|ks|ddkrtd i}d jd d }i} d|kr|d| d<i} i} g} i} d}d g}|jj|d| | | || | d||jd|jd|jdd|jd|dS)a This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.log_file_handler_with_http_info(logpath, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str logpath: path to the log (required) :return: None If the method is called asynchronously, returns the request thread. rrr_preload_content_request_timeoutrzBGot an unexpected keyword argument '%s' to method log_file_handlerNzHMissing the required parameter `logpath` when calling `log_file_handler`z/logs/{logpath}z{format}json BearerTokenGETT) body post_paramsfiles response_type auth_settingsrrrrcollection_formats) appendlocalsr TypeError ValueErrorreplacercall_apir)r rr all_paramsparamskeyvalr resource_path path_params query_params header_params form_paramslocal_var_files body_paramsrr r r rCsP         z'LogsApi.log_file_handler_with_http_infocKs2d|d<|jdr|jf|S|jf|}|SdS)aZ This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.log_file_list_handler(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: None If the method is called asynchronously, returns the request thread. TrrN)r$log_file_list_handler_with_http_info)r rrr r r log_file_list_handlers    zLogsApi.log_file_list_handlercKsg}|jd|jd|jd|jdt}x4t|dD]$\}}||kr\td||||<q@W|d=i}djdd }i}i} i} g} i} d } d g}|jj|d || | | | | d ||jd|jd|jdd |jd|dS)ai This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please define a `callback` function to be invoked when receiving the response. >>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.log_file_list_handler_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: None If the method is called asynchronously, returns the request thread. rrrrrzGGot an unexpected keyword argument '%s' to method log_file_list_handlerz/logs/z{format}rNrrT) rrrrrrrrrr )r!r"rr#r%rr&r)r rr'r(r)r*r r+r,r-r.r/r0r1rr r r r2sH        z,LogsApi.log_file_list_handler_with_http_info)N) __name__ __module__ __qualname____doc__r rrr3r2r r r r rs  Gr)r7 __future__rsysosresixr configurationrrrobjectrr r r r  s