3 fYB@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@seZdZdZd-ddZddZddZd d Zd d Zd dZ ddZ ddZ ddZ ddZ ddZddZddZddZdd Zd!d"Zd#d$Zd%d&Zd'd(Zd)d*Zd+d,ZdS).CertificatesV1beta1Apiz 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 `/Users/olari/OneDrive/sandbox/awsBlog2/lambda/kubernetes/client/apis/certificates_v1beta1_api.py__init__"s zCertificatesV1beta1Api.__init__cKs6d|d<|jdr |j|f|S|j|f|}|SdS)a> create a CertificateSigningRequest 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.create_certificate_signing_request(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param V1beta1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. T_return_http_data_onlycallbackN)get1create_certificate_signing_request_with_http_info)r bodykwargsdatar r r "create_certificate_signing_request+s  z9CertificatesV1beta1Api.create_certificate_signing_requestcKsLddg}|jd|jd|jd|jdt}x4t|dD]$\}}||kr`td||||<qDW|d=d|ks|dd krtd i}d jd d }i} i} d|kr|d| d<i} g} i} d }d|kr|d}|jjdddg| d<|jjdg| d<dg}|jj |d| | | || | d||j d|j d|j dd|j d|dS)aM create a CertificateSigningRequest 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.create_certificate_signing_request_with_http_info(body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param V1beta1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. rprettyrr_preload_content_request_timeoutrzTGot an unexpected keyword argument '%s' to method create_certificate_signing_requestNzWMissing the required parameter `body` when calling `create_certificate_signing_request`z>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_certificate_signing_request(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. :return: V1Status If the method is called asynchronously, returns the request thread. TrrN)r1delete_certificate_signing_request_with_http_info)r namerrrr r r "delete_certificate_signing_requests  z9CertificatesV1beta1Api.delete_certificate_signing_requestcKsddddddg}|jd|jd|jd |jd t}x4t|d D]$\}}||krhtd ||||<qLW|d =d|ks|dd krtdd|ks|dd krtdi}djdd} i} d|kr|d| d<i} d|kr|d| d<d|kr|d| d<d|kr|d| d<d|kr4|d| d<i} g} i}d }d|krV|d}|jjdddg| d<|jjdg| d<dg}|jj | d| | | || |d||j d|j d|j d d|j d |d S)!a5 delete a CertificateSigningRequest 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.delete_certificate_signing_request_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param V1DeleteOptions body: (required) :param str pretty: If 'true', then the output is pretty printed. :param int grace_period_seconds: The duration in seconds before the object should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. If this value is nil, the default grace period for the specified type will be used. Defaults to a per object value if not specified. zero means delete immediately. :param bool orphan_dependents: Deprecated: please use the PropagationPolicy, this field will be deprecated in 1.7. Should the dependent objects be orphaned. If true/false, the "orphan" finalizer will be added to/removed from the object's finalizers list. Either this field or PropagationPolicy may be set, but not both. :param str propagation_policy: Whether and how garbage collection will be performed. Either this field or OrphanDependents may be set, but not both. The default policy is decided by the existing finalizer set in the metadata.finalizers and the resource-specific default policy. :return: V1Status If the method is called asynchronously, returns the request thread. r7rrgrace_period_secondsorphan_dependentspropagation_policyrrrrrzTGot an unexpected keyword argument '%s' to method delete_certificate_signing_requestNzWMissing the required parameter `name` when calling `delete_certificate_signing_request`zWMissing the required parameter `body` when calling `delete_certificate_signing_request`zC/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}z{format}rgracePeriodSecondsorphanDependentspropagationPolicyzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperDELETEV1StatusT) rrrr r!rrrrr") r#r$rr%r&r'rr(r)r*r)r r7rrr+r,r-r.r"r/r0r1r2r3r4r5r!r r r r6sp                  zHCertificatesV1beta1Api.delete_certificate_signing_request_with_http_infocKs2d|d<|jdr|jf|S|jf|}|SdS)a delete collection of CertificateSigningRequest 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.delete_collection_certificate_signing_request(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1Status If the method is called asynchronously, returns the request thread. TrrN)r>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.delete_collection_certificate_signing_request_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1Status If the method is called asynchronously, returns the request thread. rfield_selectorinclude_uninitializedlabel_selectorresource_versiontimeout_secondswatchrrrrrz_Got an unexpected keyword argument '%s' to method delete_collection_certificate_signing_requestz>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.get_api_resources(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: V1APIResourceList If the method is called asynchronously, returns the request thread. TrrN)r get_api_resources_with_http_info)r rrr r r get_api_resourcess    z(CertificatesV1beta1Api.get_api_resourcescKs g}|jd|jd|jd|jdt}x4t|dD]$\}}||kr\td||||<q@W|d=i}djdd }i}i} i} g} i} d } |jjd d d g| d<|jjd d d g| d<dg}|jj|d|| | | | | d||j d|j d|j dd|j d|dS)a get available resources 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.get_api_resources_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :return: V1APIResourceList If the method is called asynchronously, returns the request thread. rrrrrzCGot an unexpected keyword argument '%s' to method get_api_resourcesz"/apis/certificates.k8s.io/v1beta1/z{format}rNzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz Content-TyperGETV1APIResourceListT) rrrr r!rrrrr") r#r$rr%r'rr(r)r*r)r rr+r,r-r.r"r/r0r1r2r3r4r5r!r r r rNsP        z7CertificatesV1beta1Api.get_api_resources_with_http_infocKs2d|d<|jdr|jf|S|jf|}|SdS)a6 list or watch objects of kind CertificateSigningRequest 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.list_certificate_signing_request(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1beta1CertificateSigningRequestList If the method is called asynchronously, returns the request thread. TrrN)r/list_certificate_signing_request_with_http_info)r rrr r r list_certificate_signing_requests    z7CertificatesV1beta1Api.list_certificate_signing_requestcKsdddddddg}|jd|jd |jd |jd t}x4t|d D]$\}}||krjtd ||||<qNW|d =i}djdd}i}i} d|kr|d| d<d|kr|d| d<d|kr|d| d<d|kr|d| d<d|kr|d| d<d|kr|d| d<d|kr$|d| d<i} g} i} d} |jjdddddg| d<|jjdg| d<dg}|jj|d || | | | | d!||j d|j d |j d d"|j d |d#S)$aE list or watch objects of kind CertificateSigningRequest 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.list_certificate_signing_request_with_http_info(callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str pretty: If 'true', then the output is pretty printed. :param str field_selector: A selector to restrict the list of returned objects by their fields. Defaults to everything. :param bool include_uninitialized: If true, partially initialized resources are included in the response. :param str label_selector: A selector to restrict the list of returned objects by their labels. Defaults to everything. :param str resource_version: When specified with a watch call, shows changes that occur after that particular version of a resource. Defaults to changes from the beginning of history. When specified for list: - if unset, then the result is returned from remote storage based on quorum-read flag; - if it's 0, then we simply return what we currently have in cache, no guarantee; - if set to non zero, then the result is at least as fresh as given rv. :param int timeout_seconds: Timeout for the list/watch call. :param bool watch: Watch for changes to the described resources and return them as a stream of add, update, and remove notifications. Specify resourceVersion. :return: V1beta1CertificateSigningRequestList If the method is called asynchronously, returns the request thread. rrCrDrErFrGrHrrrrrzRGot an unexpected keyword argument '%s' to method list_certificate_signing_requestz>> def callback_function(response): >>> pprint(response) >>> >>> thread = api.patch_certificate_signing_request(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. TrrN)r0patch_certificate_signing_request_with_http_info)r r7rrrr r r !patch_certificate_signing_requestus  z8CertificatesV1beta1Api.patch_certificate_signing_requestcKsdddg}|jd|jd|jd|jdt}x4t|dD]$\}}||krbtd ||||<qFW|d=d|ks|dd krtd d|ks|dd krtd i}d jdd} i} d|kr|d| d<i} d|kr|d| d<i} g} i}d }d|kr|d}|jjdddg| d<|jjdddg| d<dg}|jj | d| | | || |d||j d|j d|j dd|j d|dS)a partially update the specified CertificateSigningRequest 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.patch_certificate_signing_request_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param object body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. r7rrrrrrrzSGot an unexpected keyword argument '%s' to method patch_certificate_signing_requestNzVMissing the required parameter `name` when calling `patch_certificate_signing_request`zVMissing the required parameter `body` when calling `patch_certificate_signing_request`zC/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}z{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrzapplication/json-patch+jsonzapplication/merge-patch+jsonz&application/strategic-merge-patch+jsonz Content-TyperPATCHrT) rrrr r!rrrrr") r#r$rr%r&r'rr(r)r*r)r r7rrr+r,r-r.r"r/r0r1r2r3r4r5r!r r r rUsd            zGCertificatesV1beta1Api.patch_certificate_signing_request_with_http_infocKs6d|d<|jdr |j|f|S|j|f|}|SdS)a6 read the specified CertificateSigningRequest 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.read_certificate_signing_request(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param str pretty: If 'true', then the output is pretty printed. :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. TrrN)r/read_certificate_signing_request_with_http_info)r r7rrr r r read_certificate_signing_requests  z7CertificatesV1beta1Api.read_certificate_signing_requestcKs|ddddg}|jd|jd|jd|jdt}x4t|d D]$\}}||krdtd ||||<qHW|d =d|ks|dd krtd i}d jdd}i} d|kr|d| d<i} d|kr|d| d<d|kr|d| d<d|kr|d| d<i} g} i} d }|jjdddg| d<|jjdg| d<dg}|jj |d| | | || | d||j d|j d|j dd|j d|dS)aE read the specified CertificateSigningRequest 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.read_certificate_signing_request_with_http_info(name, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param str pretty: If 'true', then the output is pretty printed. :param bool exact: Should the export be exact. Exact export maintains cluster-specific fields like 'Namespace'. :param bool export: Should this value be exported. Export strips fields that a user can not specify. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. r7rexactexportrrrrrzRGot an unexpected keyword argument '%s' to method read_certificate_signing_requestNzUMissing the required parameter `name` when calling `read_certificate_signing_request`zC/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}z{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperrPrT) rrrr r!rrrrr") r#r$rr%r&r'rr(r)r*r)r r7rr+r,r-r.r"r/r0r1r2r3r4r5r!r r r rXsd              zFCertificatesV1beta1Api.read_certificate_signing_request_with_http_infocKs:d|d<|jdr"|j||f|S|j||f|}|SdS)a replace the specified CertificateSigningRequest 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.replace_certificate_signing_request(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param V1beta1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. TrrN)r2replace_certificate_signing_request_with_http_info)r r7rrrr r r #replace_certificate_signing_request^s  z:CertificatesV1beta1Api.replace_certificate_signing_requestcKsdddg}|jd|jd|jd|jdt}x4t|dD]$\}}||krbtd ||||<qFW|d=d|ks|dd krtd d|ks|dd krtd i}d jdd} i} d|kr|d| d<i} d|kr|d| d<i} g} i}d }d|kr|d}|jjdddg| d<|jjdg| d<dg}|jj | d| | | || |d||j d|j d|j dd|j d|dS)a replace the specified CertificateSigningRequest 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.replace_certificate_signing_request_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param V1beta1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. r7rrrrrrrzUGot an unexpected keyword argument '%s' to method replace_certificate_signing_requestNzXMissing the required parameter `name` when calling `replace_certificate_signing_request`zXMissing the required parameter `body` when calling `replace_certificate_signing_request`zC/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}z{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-TyperPUTrT) rrrr r!rrrrr") r#r$rr%r&r'rr(r)r*r)r r7rrr+r,r-r.r"r/r0r1r2r3r4r5r!r r r r\ysd             zICertificatesV1beta1Api.replace_certificate_signing_request_with_http_infocKs:d|d<|jdr"|j||f|S|j||f|}|SdS)a replace approval of the specified CertificateSigningRequest 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.replace_certificate_signing_request_approval(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param V1beta1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. TrrN)r;replace_certificate_signing_request_approval_with_http_info)r r7rrrr r r ,replace_certificate_signing_request_approvals  zCCertificatesV1beta1Api.replace_certificate_signing_request_approvalcKsdddg}|jd|jd|jd|jdt}x4t|dD]$\}}||krbtd ||||<qFW|d=d|ks|dd krtd d|ks|dd krtd i}d jdd} i} d|kr|d| d<i} d|kr|d| d<i} g} i}d }d|kr|d}|jjdddg| d<|jjdg| d<dg}|jj | d| | | || |d||j d|j d|j dd|j d|dS)a replace approval of the specified CertificateSigningRequest 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.replace_certificate_signing_request_approval_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param V1beta1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. r7rrrrrrrz^Got an unexpected keyword argument '%s' to method replace_certificate_signing_request_approvalNzaMissing the required parameter `name` when calling `replace_certificate_signing_request_approval`zaMissing the required parameter `body` when calling `replace_certificate_signing_request_approval`zL/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/approvalz{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-Typerr^rT) rrrr r!rrrrr") r#r$rr%r&r'rr(r)r*r)r r7rrr+r,r-r.r"r/r0r1r2r3r4r5r!r r r r_sd             zRCertificatesV1beta1Api.replace_certificate_signing_request_approval_with_http_infocKs:d|d<|jdr"|j||f|S|j||f|}|SdS)a replace status of the specified CertificateSigningRequest 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.replace_certificate_signing_request_status(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param V1beta1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. TrrN)r9replace_certificate_signing_request_status_with_http_info)r r7rrrr r r *replace_certificate_signing_request_statusFs  zACertificatesV1beta1Api.replace_certificate_signing_request_statuscKsdddg}|jd|jd|jd|jdt}x4t|dD]$\}}||krbtd ||||<qFW|d=d|ks|dd krtd d|ks|dd krtd i}d jdd} i} d|kr|d| d<i} d|kr|d| d<i} g} i}d }d|kr|d}|jjdddg| d<|jjdg| d<dg}|jj | d| | | || |d||j d|j d|j dd|j d|dS)a replace status of the specified CertificateSigningRequest 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.replace_certificate_signing_request_status_with_http_info(name, body, callback=callback_function) :param callback function: The callback function for asynchronous request. (optional) :param str name: name of the CertificateSigningRequest (required) :param V1beta1CertificateSigningRequest body: (required) :param str pretty: If 'true', then the output is pretty printed. :return: V1beta1CertificateSigningRequest If the method is called asynchronously, returns the request thread. r7rrrrrrrz\Got an unexpected keyword argument '%s' to method replace_certificate_signing_request_statusNz_Missing the required parameter `name` when calling `replace_certificate_signing_request_status`z_Missing the required parameter `body` when calling `replace_certificate_signing_request_status`zJ/apis/certificates.k8s.io/v1beta1/certificatesigningrequests/{name}/statusz{format}rzapplication/jsonzapplication/yamlz#application/vnd.kubernetes.protobufrz*/*z Content-Typerr^rT) rrrr r!rrrrr") r#r$rr%r&r'rr(r)r*r)r r7rrr+r,r-r.r"r/r0r1r2r3r4r5r!r r r raasd             zPCertificatesV1beta1Api.replace_certificate_signing_request_status_with_http_info)N)__name__ __module__ __qualname____doc__r rrr8r6rBrArOrNrSrRrVrUrYrXr]r\r`r_rbrar r r r rs, Sb_I_YYYYr)rf __future__rsysosresixr configurationrrrobjectrr r r r  s