a Of@sddlmZddlmZddlmZddlmZmZddlm Z ddl m Z m Z ddl mZddlmZmZmZd d lmZed ZGd d d eZdS))absolute_import)requests)six)retrycircuit_breaker) BaseClient)get_config_value_or_defaultvalidate_config)Signer)Sentinel#get_signer_from_authentication_typeAUTHENTICATION_TYPE_FIELD_NAME)usage_api_type_mappingMissingc@seZdZdZddZddZddZdd Zd d Zd d Z ddZ ddZ ddZ ddZ ddZddZddZddZddZd d!Zd"d#Zd$d%Zd&d'Zd(d)Zd*S)+UsageapiClienta Use the Usage API to view your Oracle Cloud usage and costs. The API allows you to request data that meets the specified filter criteria, and to group that data by the dimension of your choosing. The Usage API is used by the Cost Analysis tool in the Console. Also see [Using the Usage API](/Content/Billing/Concepts/costanalysisoverview.htm#cost_analysis_using_the_api) for more information. c Ks t||ddd|vr$|d}nDt|vr6t|}n2t|d|d|d|dt|d|dd }d |d d d |dd|dtjd}d|vr|d|d<|ddurtj|d<d|vr|d|d<t d||t fi||_ |d|_ |d|_ dS)a Creates a new service client :param dict config: Configuration keys and values as per `SDK and Tool Configuration `__. The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config the dict using :py:meth:`~oci.config.validate_config` :param str service_endpoint: (optional) The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit need to specify a service endpoint. :param timeout: (optional) The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout. :type timeout: float or tuple(float, float) :param signer: (optional) The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values provided in the config parameter. One use case for this parameter is for `Instance Principals authentication `__ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument :type signer: :py:class:`~oci.signer.AbstractBaseSigner` :param obj retry_strategy: (optional) A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default. Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation. Any value provided at the operation level will override whatever is specified at the client level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. A convenience :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` is also available. The specifics of the default retry strategy are described `here `__. :param obj circuit_breaker_strategy: (optional) A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level). This client uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided. The specifics of circuit breaker strategy are described `here `__. :param function circuit_breaker_callback: (optional) Callback function to receive any exceptions triggerred by the circuit breaker. :param allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not allow control characters to be in the response object. signer)rtenancyuser fingerprintkey_file pass_phrase key_content)rrrprivate_key_file_locationrprivate_key_contentTservice_endpointz /20200107z1https://usageapi.{region}.oci.{secondLevelDomain}skip_deserializationFcircuit_breaker_strategy)regional_clientr base_pathservice_endpoint_templaterrtimeoutNallow_control_charsusageapiretry_strategycircuit_breaker_callback)r getr r r rrGLOBAL_CIRCUIT_BREAKER_STRATEGY DEFAULT_CIRCUIT_BREAKER_STRATEGYrr base_clientr$r%)selfconfigkwargsrbase_client_init_kwargsr./sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/usage_api/usageapi_client.py__init__s:0       zUsageapiClient.__init__c s d}d}d}d}gdfddt|D}|rBtd|d d |d t|d td }d dt|D}|jj|d|j d} | rt | t j s|j ||j|| |j| j|jj||||d|d||d S|jj||||d|d||dSdS)a Returns the created custom table. :param oci.usage_api.models.CreateCustomTableDetails create_custom_table_details: (required) New custom table details. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.CustomTable` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_custom_table API. /customTablesPOSTcreate_custom_tablezRhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/CustomTable/CreateCustomTabler"r$opc_request_idopc_retry_tokencsg|]}|vr|qSr.r..0_keyexpected_kwargsr.r/ z6UsageapiClient.create_custom_table..z,create_custom_table got unknown kwargs: {!r}application/jsonr5r6accept content-typeopc-request-idzopc-retry-tokencSs&i|]\}}|tur|dur||qSNmissingr8kvr.r.r/ r=z6UsageapiClient.create_custom_table..r$operation_retry_strategyclient_retry_strategy CustomTabler" resource_pathmethod header_paramsbody response_typer"operation_nameapi_reference_linkNriterkeys ValueErrorformatr&rE iteritemsr)get_preferred_retry_strategyr$ isinstancerNoneRetryStrategyadd_opc_retry_token_if_neededadd_opc_client_retries_headeradd_circuit_breaker_callbackr%make_retrying_callcall_api) r*create_custom_table_detailsr,rOrPrTrU extra_kwargsrQr$r.r:r/r3ks\%       z"UsageapiClient.create_custom_tablec s d}d}d}d}gdfddt|D}|rBtd|d d |d t|d td }d dt|D}|jj|d|j d} | rt | t j s|j ||j|| |j| j|jj||||d|d||d S|jj||||d|d||dSdS)a Returns the created query. :param oci.usage_api.models.CreateQueryDetails create_query_details: (required) New query details. Up to ten saved queries. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.Query` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_query API. /queriesr2 create_queryzFhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/Query/CreateQueryr4csg|]}|vr|qSr.r.r7r:r.r/r<r=z/UsageapiClient.create_query..z%create_query got unknown kwargs: {!r}r>r5r6r?cSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=z/UsageapiClient.create_query..r$rJQueryr"rNNrV) r*create_query_detailsr,rOrPrTrUrdrQr$r.r:r/rfs\%       zUsageapiClient.create_queryc s d}d}d}d}gdfddt|D}|rBtd|d d |d t|d td }d dt|D}|jj|d|j d} | rt | t j s|j ||j|| |j| j|jj||||d|d||d S|jj||||d|d||dSdS)a Returns the created schedule. :param oci.usage_api.models.CreateScheduleDetails create_schedule_details: (required) New schedule details. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str opc_retry_token: (optional) A token that uniquely identifies a request so it can be retried in case of a timeout or server error, without risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.Schedule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use create_schedule API. /schedulesr2create_schedulezLhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/Schedule/CreateScheduler4csg|]}|vr|qSr.r.r7r:r.r/r<Vr=z2UsageapiClient.create_schedule..z(create_schedule got unknown kwargs: {!r}r>r5r6r?cSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIar=z2UsageapiClient.create_schedule..r$rJScheduler"rNNrV) r*create_schedule_detailsr,rOrPrTrUrdrQr$r.r:r/rj%s\%       zUsageapiClient.create_schedulec sbd}d}d}d}gdfddt|D}|rBtd|d |i}d d t|D}t|D]:\} } | d ust| tjrht| d krhtd| qhdd| dt | dt d} dd t| D} |j j | d|j d} | r>t| tjs|j | | |j| j|j j|||| | d||dS|j j|||| | d||dSd S)aJ Delete a saved custom table by the OCID. :param str custom_table_id: (required) The custom table unique OCID. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted, only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_custom_table API. /customTables/{customTableId}DELETEdelete_custom_tablezRhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/CustomTable/DeleteCustomTabler"r$r5if_matchcsg|]}|vr|qSr.r.r7r:r.r/r<r=z6UsageapiClient.delete_custom_table..z,delete_custom_table got unknown kwargs: {!r} customTableIdcSsi|]\}}|tur||qSr.rDrFr.r.r/rIr=z6UsageapiClient.delete_custom_table..Nr7Parameter {} cannot be None, whitespace or empty stringr>r5rqr@rArBzif-matchcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJr"rOrP path_paramsrQr"rTrUrrWrXrYrZr\ string_typeslenstripr&rEr)r[r$rr]r_r`r%rarb r*custom_table_idr,rOrPrTrUrdrvrGrHrQr$r.r:r/rosb%$     z"UsageapiClient.delete_custom_tablec sbd}d}d}d}gdfddt|D}|rBtd|d |i}d d t|D}t|D]:\} } | d ust| tjrht| d krhtd| qhdd| dt | dt d} dd t| D} |j j | d|j d} | r>t| tjs|j | | |j| j|j j|||| | d||dS|j j|||| | d||dSd S)a' Delete a saved query by the OCID. :param str query_id: (required) The query unique OCID. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted, only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_query API. /queries/{queryId}rn delete_queryzFhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/Query/DeleteQueryrpcsg|]}|vr|qSr.r.r7r:r.r/r<r=z/UsageapiClient.delete_query..z%delete_query got unknown kwargs: {!r}queryIdcSsi|]\}}|tur||qSr.rDrFr.r.r/rI r=z/UsageapiClient.delete_query..Nrrsr>r5rqrtcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rI,r=r$rJr"rurw r*query_idr,rOrPrTrUrdrvrGrHrQr$r.r:r/r~sb%$     zUsageapiClient.delete_queryc sbd}d}d}d}gdfddt|D}|rBtd|d |i}d d t|D}t|D]:\} } | d ust| tjrht| d krhtd| qhdd| dt | dt d} dd t| D} |j j | d|j d} | r>t| tjs|j | | |j| j|j j|||| | d||dS|j j|||| | d||dSd S)a> Delete a saved scheduled report by the OCID. :param str schedule_id: (required) The schedule unique OCID. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted, only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type None :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use delete_schedule API. /schedules/{scheduleId}rndelete_schedulezLhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/Schedule/DeleteSchedulerpcsg|]}|vr|qSr.r.r7r:r.r/r<{r=z2UsageapiClient.delete_schedule..z(delete_schedule got unknown kwargs: {!r} scheduleIdcSsi|]\}}|tur||qSr.rDrFr.r.r/rIr=z2UsageapiClient.delete_schedule..Nrrsr>r5rqrtcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJr"rurw r* schedule_idr,rOrPrTrUrdrvrGrHrQr$r.r:r/rJsb%$     zUsageapiClient.delete_schedulec s\d}d}d}d}gdfddt|D}|rBtd|d |i}d d t|D}t|D]:\} } | d ust| tjrht| d krhtd| qhdd| dt d} dd t| D} |j j | d|j d} | r6t| tjs|j | | |j| j|j j|||| d| d||d S|j j|||| d| d||dSd S)a Returns the saved custom table. :param str custom_table_id: (required) The custom table unique OCID. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.CustomTable` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_custom_table API. rmGETget_custom_tablezOhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/CustomTable/GetCustomTabler"r$r5csg|]}|vr|qSr.r.r7r:r.r/r<r=z3UsageapiClient.get_custom_table..z)get_custom_table got unknown kwargs: {!r}rrcSsi|]\}}|tur||qSr.rDrFr.r.r/rIr=z3UsageapiClient.get_custom_table..Nrrsr>r5r@rArBcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJrMr"rOrPrvrQrSr"rTrUrwr{r.r:r/rsd$    zUsageapiClient.get_custom_tablec s\d}d}d}d}gdfddt|D}|rBtd|d |i}d d t|D}t|D]:\} } | d ust| tjrht| d krhtd| qhdd| dt d} dd t| D} |j j | d|j d} | r6t| tjs|j | | |j| j|j j|||| d| d||d S|j j|||| d| d||dSd S)a Returns the saved query. :param str query_id: (required) The query unique OCID. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.Query` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_query API. r}r get_queryzChttps://docs.oracle.com/iaas/api/#/en/usage/20200107/Query/GetQueryrcsg|]}|vr|qSr.r.r7r:r.r/r<4r=z,UsageapiClient.get_query..z"get_query got unknown kwargs: {!r}rcSsi|]\}}|tur||qSr.rDrFr.r.r/rI=r=z,UsageapiClient.get_query..Nrrsr>r5rcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIHr=r$rJrgr"rrwrr.r:r/r sd$    zUsageapiClient.get_queryc s\d}d}d}d}gdfddt|D}|rBtd|d |i}d d t|D}t|D]:\} } | d ust| tjrht| d krhtd| qhdd| dt d} dd t| D} |j j | d|j d} | r6t| tjs|j | | |j| j|j j|||| d| d||d S|j j|||| d| d||dSd S)a Returns the saved schedule. :param str schedule_id: (required) The schedule unique OCID. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.Schedule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_schedule API. rr get_schedulezIhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/Schedule/GetSchedulercsg|]}|vr|qSr.r.r7r:r.r/r<r=z/UsageapiClient.get_schedule..z%get_schedule got unknown kwargs: {!r}rcSsi|]\}}|tur||qSr.rDrFr.r.r/rIr=z/UsageapiClient.get_schedule..Nrrsr>r5rcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJrkr"rrwrr.r:r/rhsd$    zUsageapiClient.get_schedulec s\d}d}d}d}gdfddt|D}|rBtd|d |i}d d t|D}t|D]:\} } | d ust| tjrht| d krhtd| qhdd| dt d} dd t| D} |j j | d|j d} | r6t| tjs|j | | |j| j|j j|||| d| d||d S|j j|||| d| d||dSd S)a Returns the saved schedule run. :param str scheduled_run_id: (required) The scheduledRun unique OCID. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.ScheduledRun` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use get_scheduled_run API. z/scheduledRuns/{scheduledRunId}rget_scheduled_runzQhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/ScheduledRun/GetScheduledRunrcsg|]}|vr|qSr.r.r7r:r.r/r<r=z4UsageapiClient.get_scheduled_run..z*get_scheduled_run got unknown kwargs: {!r}scheduledRunIdcSsi|]\}}|tur||qSr.rDrFr.r.r/rIr=z4UsageapiClient.get_scheduled_run..Nrrsr>r5rcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJ ScheduledRunr"rrw) r*scheduled_run_idr,rOrPrTrUrdrvrGrHrQr$r.r:r/rsd$    z UsageapiClient.get_scheduled_runc sd}d}d}d}gdfddt|D}|rBtd|d |vrjd g} |d | vrjtd | d |vrd dg} |d | vrtd| |dt|dt|||d t|d td} ddt| D} dd|dtd} ddt| D} |jj|d|j d} | rlt | t j sF|j | | |j| j|jj||| | d|d||d S|jj||| | d|d||dSdS)a Returns the saved custom table list. :param str compartment_id: (required) The compartment ID in which to list resources. :param str saved_report_id: (required) The saved report ID in which to list resources. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param int limit: (optional) The maximumimum number of items to return. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_by: (optional) The field to sort by. If not specified, the default is displayName. Allowed values are: "displayName" :param str sort_order: (optional) The sort order to use, whether 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.CustomTableCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_custom_tables API. r1rlist_custom_tableszQhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/CustomTable/ListCustomTablesr"r$r5limitpagesort_by sort_ordercsg|]}|vr|qSr.r.r7r:r.r/r<cr=z5UsageapiClient.list_custom_tables..z+list_custom_tables got unknown kwargs: {!r}r displayName/Invalid value for `sort_by`, must be one of {0}rASCDESC2Invalid value for `sort_order`, must be one of {0}rr)rr compartmentId savedReportIdsortBy sortOrdercSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rI~r=z5UsageapiClient.list_custom_tables..r>r5rcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJCustomTableCollectionr"rOrP query_paramsrQrSr"rTrUNrrWrXrYr&rErZr)r[r$r\rr]r_r`r%rarb)r*compartment_idsaved_report_idr,rOrPrTrUrdsort_by_allowed_valuessort_order_allowed_valuesrrQr$r.r:r/r"s2           z!UsageapiClient.list_custom_tablesc sd}d}d}d}gdfddt|D}|rBtd|d |vrjd g}|d |vrjtd |d |vrd dg} |d | vrtd| |dt|dt||d t|d td} ddt| D} dd|dtd} ddt| D} |jj|d|j d} | rjt | t j sD|j | | |j| j|jj||| | d|d||d S|jj||| | d|d||dSdS)a0 Returns the saved query list. :param str compartment_id: (required) The compartment ID in which to list resources. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param int limit: (optional) The maximumimum number of items to return. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param str sort_by: (optional) The field to sort by. If not specified, the default is displayName. Allowed values are: "displayName" :param str sort_order: (optional) The sort order to use, whether 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.QueryCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_queries API. rer list_querieszFhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/Query/ListQueriesrcsg|]}|vr|qSr.r.r7r:r.r/r<r=z/UsageapiClient.list_queries..z%list_queries got unknown kwargs: {!r}rrrrrrrrr)rrrrrcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=z/UsageapiClient.list_queries..r>r5rcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJQueryCollectionr"rNr r*rr,rOrPrTrUrdrrrrQr$r.r:r/rs~/           zUsageapiClient.list_queriesc sd}d}d}d}gdfddt|D}|rBtd|d |vrjd g}|d |vrjtd |d |vrd dg} |d | vrtd| |dt|dt||d t|d td} ddt| D} dd|dtd} ddt| D} |jj|d|j d} | rjt | t j sD|j | | |j| j|jj||| | d|d||d S|jj||| | d|d||dSdS)a1 Returns schedule history list. :param str schedule_id: (required) The unique ID of a schedule. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximumimum number of items to return. :param str sort_by: (optional) The field to sort by. If not specified, the default is timeCreated. Allowed values are: "timeCreated" :param str sort_order: (optional) The sort order to use, whether 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.ScheduledRunCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_scheduled_runs API. z/scheduledRunsrlist_scheduled_runszShttps://docs.oracle.com/iaas/api/#/en/usage/20200107/ScheduledRun/ListScheduledRuns)r"r$r5rrrrcsg|]}|vr|qSr.r.r7r:r.r/r<br=z6UsageapiClient.list_scheduled_runs..z,list_scheduled_runs got unknown kwargs: {!r}r timeCreatedrrrrrrr)rrrrrcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rI|r=z6UsageapiClient.list_scheduled_runs..r>r5rcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJScheduledRunCollectionr"rNr) r*rr,rOrPrTrUrdrrrrQr$r.r:r/r$s~/           z"UsageapiClient.list_scheduled_runsc sd}d}d}d}gdfddt|D}|rBtd|d |vrld d g}|d |vrltd |d |vrddg} |d | vrtd| ||dt|dt|d t|d t|d td} ddt| D} dd|dtd} ddt| D} |jj|d|j d} | rvt | t j sP|j | | |j| j|jj||| | d|d||d S|jj||| | d|d||dSdS) a Returns the saved schedule list. :param str compartment_id: (required) The compartment ID in which to list resources. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximumimum number of items to return. :param str sort_by: (optional) The field to sort by. If not specified, the default is timeCreated. Allowed values are: "name", "timeCreated" :param str sort_order: (optional) The sort order to use, whether 'asc' or 'desc'. Allowed values are: "ASC", "DESC" :param str name: (optional) Query parameter for filtering by name :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.ScheduleCollection` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use list_schedules API. rirlist_scheduleszKhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/Schedule/ListSchedules)r"r$r5rrrrnamecsg|]}|vr|qSr.r.r7r:r.r/r<r=z1UsageapiClient.list_schedules..z'list_schedules got unknown kwargs: {!r}rrrrrrrrrr)rrrrrrcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=z1UsageapiClient.list_schedules..r>r5rcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJScheduleCollectionr"rNrrr.r:r/rs2            zUsageapiClient.list_schedulesc sd}d}d}d}gdfddt|D}|rBtd|d |i}d d t|D}d d |d td} dd t| D} |jj|d|j d} | rt | t j s|j | | |j| j|jj|||| d|d||d S|jj|||| d|d||dSdS)a Returns the configurations list for the UI drop-down list. :param str tenant_id: (required) tenant id :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.ConfigurationAggregation` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_configurations API. z/configurationr!request_summarized_configurationszbhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/Configuration/RequestSummarizedConfigurationsrcsg|]}|vr|qSr.r.r7r:r.r/r<Pr=zDUsageapiClient.request_summarized_configurations..z:request_summarized_configurations got unknown kwargs: {!r}tenantIdcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIXr=zDUsageapiClient.request_summarized_configurations..r>r5rcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rI_r=r$rJConfigurationAggregationr"rN)rrWrXrYrZr&rEr)r[r$r\rr]r_r`r%rarb) r* tenant_idr,rOrPrTrUrdrrQr$r.r:r/r's^     z0UsageapiClient.request_summarized_configurationsc s*d}d}d}d}gdfddt|D}|rBtd||d t|d td }d d t|D}dd|dtd} dd t| D} |jj|d|j d} | rt | t j s|j | | |j| j|jj|||| |d|d||d S|jj|||| |d|d||d SdS)aU Returns usage for the given account. :param oci.usage_api.models.RequestSummarizedUsagesDetails request_summarized_usages_details: (required) getUsageRequest contains query inforamtion. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str page: (optional) The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call. :param int limit: (optional) The maximumimum number of items to return. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.UsageAggregation` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use request_summarized_usages API. z/usager2request_summarized_usageszYhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/UsageSummary/RequestSummarizedUsages)r"r$r5rrcsg|]}|vr|qSr.r.r7r:r.r/r<r=z.z2request_summarized_usages got unknown kwargs: {!r}rr)rrcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=z.r>r5rcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJUsageAggregationr") rOrPrrQrRrSr"rTrUNr) r*!request_summarized_usages_detailsr,rOrPrTrUrdrrQr$r.r:r/rsd%       z(UsageapiClient.request_summarized_usagesc sjd}d}d}d}gdfddt|D}|rBtd|d |i} d d t| D} t| D]:\} } | d ust| tjrht| d krhtd| qhdd| dt | dt d} dd t| D} |j j | d|j d} | rBt| tjs|j | | |j| j|j j||| | |d| d||d S|j j||| | |d| d||d Sd S)a Update a saved custom table by table id. :param oci.usage_api.models.UpdateCustomTableDetails update_custom_table_details: (required) The information to be updated. :param str custom_table_id: (required) The custom table unique OCID. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted, only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.CustomTable` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_custom_table API. rmPUTupdate_custom_tablezRhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/CustomTable/UpdateCustomTablerpcsg|]}|vr|qSr.r.r7r:r.r/r<r=z6UsageapiClient.update_custom_table..z,update_custom_table got unknown kwargs: {!r}rrcSsi|]\}}|tur||qSr.rDrFr.r.r/rI r=z6UsageapiClient.update_custom_table..Nrrsr>r5rqrtcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rI,r=r$rJrMr" rOrPrvrQrRrSr"rTrUrw)r*update_custom_table_detailsr|r,rOrPrTrUrdrvrGrHrQr$r.r:r/rsj($     z"UsageapiClient.update_custom_tablec sjd}d}d}d}gdfddt|D}|rBtd|d |i} d d t| D} t| D]:\} } | d ust| tjrht| d krhtd| qhdd| dt | dt d} dd t| D} |j j | d|j d} | rBt| tjs|j | | |j| j|j j||| | |d| d||d S|j j||| | |d| d||d Sd S)a Update a saved query by the OCID. :param oci.usage_api.models.UpdateQueryDetails update_query_details: (required) The information to be updated. :param str query_id: (required) The query unique OCID. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted, only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.Query` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_query API. r}r update_queryzFhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/Query/UpdateQueryrpcsg|]}|vr|qSr.r.r7r:r.r/r<r=z/UsageapiClient.update_query..z%update_query got unknown kwargs: {!r}rcSsi|]\}}|tur||qSr.rDrFr.r.r/rIr=z/UsageapiClient.update_query..Nrrsr>r5rqrtcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJrgr"rrw)r*update_query_detailsrr,rOrPrTrUrdrvrGrHrQr$r.r:r/rNsj($     zUsageapiClient.update_queryc sjd}d}d}d}gdfddt|D}|rBtd|d |i} d d t| D} t| D]:\} } | d ust| tjrht| d krhtd| qhdd| dt | dt d} dd t| D} |j j | d|j d} | rBt| tjs|j | | |j| j|j j||| | |d| d||d S|j j||| | |d| d||d Sd S)a Update a saved schedule :param oci.usage_api.models.UpdateScheduleDetails update_schedule_details: (required) The information to be updated. Currently supports only tags :param str schedule_id: (required) The schedule unique OCID. :param str opc_request_id: (optional) Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, please provide the request ID. :param str if_match: (optional) For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted, only if the etag you provide matches the resource's current etag value. :param obj retry_strategy: (optional) A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level. This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it. The specifics of the default retry strategy are described `here `__. To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`. :param bool allow_control_chars: (optional) allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object. By default, the response will not allow control characters in strings :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.usage_api.models.Schedule` :rtype: :class:`~oci.response.Response` :example: Click `here `__ to see an example of how to use update_schedule API. rrupdate_schedulezLhttps://docs.oracle.com/iaas/api/#/en/usage/20200107/Schedule/UpdateSchedulerpcsg|]}|vr|qSr.r.r7r:r.r/r<r=z2UsageapiClient.update_schedule..z(update_schedule got unknown kwargs: {!r}rcSsi|]\}}|tur||qSr.rDrFr.r.r/rIr=z2UsageapiClient.update_schedule..Nrrsr>r5rqrtcSs&i|]\}}|tur|dur||qSrCrDrFr.r.r/rIr=r$rJrkr"rrw)r*update_schedule_detailsrr,rOrPrTrUrdrvrGrHrQr$r.r:r/rsj($     zUsageapiClient.update_scheduleN)__name__ __module__ __qualname____doc__r0r3rfrjror~rrrrrrrrrrrrrrr.r.r.r/rs.S]]]ddd]]]]XdkkrN) __future__r oci._vendorrrocirroci.base_clientr oci.configrr oci.signerr oci.utilr r r modelsrrEobjectrr.r.r.r/s