o
    ɶd                    @   s   d dl mZ d dlmZ d dlmZ d dlmZmZ d dlm	Z	 d dl
mZmZ d dlmZ d dlmZmZmZ d	d
lmZ edZG dd deZdS )    )absolute_import)requests)six)retrycircuit_breaker)
BaseClient)get_config_value_or_defaultvalidate_config)Signer)Sentinel#get_signer_from_authentication_typeAUTHENTICATION_TYPE_FIELD_NAME   )logging_type_mappingZMissingc                   @   s  e Zd ZdZdd Zdd Zdd Zdd	 Zd
d Zdd Z	dd Z
dd Zdd Zdd Zdd Zdd Zdd Zdd Zdd Zd d! Zd"d# Zd$d% Zd&d' Zd(d) Zd*d+ Zd,d- Zd.d/ Zd0d1 Zd2d3 Zd4d5 Zd6d7 Zd8d9 Zd:d; Z d<d= Z!d>d? Z"d@S )ALoggingManagementClientaN  
    Use the Logging Management API to create, read, list, update, move and delete
    log groups, log objects, log saved searches, agent configurations, log data models,
    continuous queries, and managed continuous queries.

    For more information, see [Logging Overview](/iaas/Content/Logging/Concepts/loggingoverview.htm).
    c              
   K   s  t ||dd d|v r|d }n"t|v rt|}nt|d |d |d |dt|d|dd	}d
|dddi |dd|dtj|dd}d|v rY|d|d< |ddu retj|d< d|v rp|d|d< t	d||t
fi || _|d| _|d| _dS )a  
        Creates a new service client

        :param dict config:
            Configuration keys and values as per `SDK and Tool Configuration <https://docs.cloud.oracle.com/Content/API/Concepts/sdkconfig.htm>`__.
            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 <https://docs.cloud.oracle.com/Content/Identity/Tasks/callingservicesfrominstances.htm>`__
            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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/circuit_breakers.html>`__.

        :param function circuit_breaker_callback: (optional)
            Callback function to receive any exceptions triggerred by the circuit breaker.

        :param bool client_level_realm_specific_endpoint_template_enabled: (optional)
            A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.

        :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)r   tenancyuserfingerprintZkey_filepass_phraseZkey_content)r   r   r   Zprivate_key_file_locationr   Zprivate_key_contentTservice_endpointz	/20200531z0https://logging.{region}.oci.{secondLevelDomain}skip_deserializationFcircuit_breaker_strategy5client_level_realm_specific_endpoint_template_enabled)Zregional_clientr   	base_pathZservice_endpoint_templateZ#service_endpoint_template_per_realmr   r   r   timeoutNallow_control_charsZlogging_managementretry_strategycircuit_breaker_callback)r	   getr   r   r
   r   r   ZGLOBAL_CIRCUIT_BREAKER_STRATEGYZ DEFAULT_CIRCUIT_BREAKER_STRATEGYr   r   base_clientr   r   )selfconfigkwargsr   Zbase_client_init_kwargs r$   Iusr/lib/python3.10/site-packages/oci/logging/logging_management_client.py__init__   s>   3





z LoggingManagementClient.__init__c                    h  dg}d}d}d}d}g d  fddt |D }	|	r$td	|	d|i}
d
d t |
D }
t |
D ]\}}|du sMt|t jrTt| dkrTtd|q7dd|	dt
|	dt
d}dd t |D }| jj|	d| jd}|rt|tjs| j| || j |j| jj|||
|||	d|||d
S | jj|||
|||	d|||d	S )aW
  
        Moves a log group into a different compartment within the same tenancy.  When provided, the If-Match is checked against the resource ETag values.
        For information about moving resources between compartments, see `Moving Resources Between Compartments`__.

        __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes


        :param str log_group_id: (required)
            OCID of a log group to work with.

        :param oci.logging.models.ChangeLogGroupCompartmentDetails change_log_group_compartment_details: (required)
            Request to change the compartment of a given resource.

        :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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/change_log_group_compartment.py.html>`__ to see an example of how to use change_log_group_compartment API.
        
logGroupIdz1/logGroups/{logGroupId}/actions/changeCompartmentPOSTchange_log_group_compartmentzdhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/ChangeLogGroupCompartmentr   r   if_matchopc_request_idc                       g | ]}| vr|qS r$   r$   .0_keyZexpected_kwargsr$   r%   
<listcomp>       zHLoggingManagementClient.change_log_group_compartment.<locals>.<listcomp>z5change_log_group_compartment got unknown kwargs: {!r}c                 S      i | ]\}}|t ur||qS r$   missingr0   kvr$   r$   r%   
<dictcomp>       zHLoggingManagementClient.change_log_group_compartment.<locals>.<dictcomp>Nr   7Parameter {} cannot be None, whitespace or empty stringapplication/jsonr,   r-   acceptcontent-typeif-matchopc-request-idc                 S   &   i | ]\}}|t ur|d ur||qS Nr6   r8   r$   r$   r%   r;         & r   Zoperation_retry_strategyZclient_retry_strategyr   	resource_pathmethodpath_paramsheader_paramsbodyr   operation_nameapi_reference_linkrequired_argumentsr   iterkeys
ValueErrorformat	iteritems
isinstancestring_typeslenstripr   r7   r    get_preferred_retry_strategyr   r   NoneRetryStrategyadd_opc_client_retries_headeradd_circuit_breaker_callbackr   make_retrying_callcall_api)r!   log_group_idZ$change_log_group_compartment_detailsr#   rP   rI   rJ   rN   rO   extra_kwargsrK   r9   r:   rL   r   r$   r2   r%   r*   v   sn   ,$

z4LoggingManagementClient.change_log_group_compartmentc                    l  ddg}d}d}d}d}	g d  fdd	t |D }
|
r%td
|
||d}dd t |D }t |D ]\}}|du sOt|t jrVt| dkrVtd|q9dd|	dt
|	dt
d}dd t |D }| jj|	d| jd}|rt|tjs| j| || j |j| jj||||||	d||	|d
S | jj||||||	d||	|d	S )a	  
        Moves a log into a different log group within the same tenancy.  When provided, the If-Match is checked against the ETag values of the resource.


        :param str log_group_id: (required)
            OCID of a log group to work with.

        :param str log_id: (required)
            OCID of a log to work with.

        :param oci.logging.models.ChangeLogLogGroupDetails change_log_log_group_details: (required)
            Request to change the log group of a given log.

        :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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/change_log_log_group.py.html>`__ to see an example of how to use change_log_log_group API.
        r(   logIdz;/logGroups/{logGroupId}/logs/{logId}/actions/changeLogGroupr)   change_log_log_groupzWhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/ChangeLogLogGroupr+   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   z@LoggingManagementClient.change_log_log_group.<locals>.<listcomp>z-change_log_log_group got unknown kwargs: {!r}r(   rc   c                 S   r5   r$   r6   r8   r$   r$   r%   r;   )  r<   z@LoggingManagementClient.change_log_log_group.<locals>.<dictcomp>Nr   r=   r>   r,   r-   r?   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   5  rF   r   rG   r   rH   rQ   )r!   r`   log_idZchange_log_log_group_detailsr#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   rd      sp   ,$

z,LoggingManagementClient.change_log_log_groupc                    ~  dg}d}d}d}d}g d  fddt |D }	|	r$td	|	d|i}
d
d t |
D }
t |
D ]\}}|du sMt|t jrTt| dkrTtd|q7dd|	dt
|	dt
|	dt
d}dd t |D }| jj|	d| jd}|rt|tjs| j| | j| || j |j| jj|||
|||	d|||d
S | jj|||
|||	d|||d	S )a=  
        Moves a saved search into a different compartment within the same tenancy. For information about moving
        resources between compartments, see `Moving Resources to a Different Compartment`__.

        __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes


        :param str log_saved_search_id: (required)
            OCID of the logSavedSearch.

        :param oci.logging.models.ChangeLogSavedSearchCompartmentDetails change_log_saved_search_compartment_details: (required)
            Contains details indicating which compartment the resource should move to.

        :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 (e.g., if a resource has been
            deleted and purged from the system, then a retry of the original
            creation request may be rejected).

        :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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/change_log_saved_search_compartment.py.html>`__ to see an example of how to use change_log_saved_search_compartment API.
        logSavedSearchIdz>/logSavedSearches/{logSavedSearchId}/actions/changeCompartmentr)   #change_log_saved_search_compartmentzphttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/ChangeLogSavedSearchCompartmentr   r   opc_retry_tokenr,   r-   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   zOLoggingManagementClient.change_log_saved_search_compartment.<locals>.<listcomp>z<change_log_saved_search_compartment got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   zOLoggingManagementClient.change_log_saved_search_compartment.<locals>.<dictcomp>Nr   r=   r>   rk   r,   r-   r@   rA   opc-retry-tokenrB   rC   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   r   rH   r   rR   rS   rT   rU   rV   rW   rX   rY   r   r7   r    rZ   r   r   r[   add_opc_retry_token_if_neededr\   r]   r   r^   r_   )r!   log_saved_search_idZ+change_log_saved_search_compartment_detailsr#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   ri   W  r   4$


z;LoggingManagementClient.change_log_saved_search_compartmentc                    rg   )a  
        Moves the unified agent configuration into a different compartment within the same tenancy.  When provided, the If-Match is checked against the ETag values of the resource.
        For information about moving resources between compartments, see `Moving Resources Between Compartments`__.

        __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes


        :param str unified_agent_configuration_id: (required)
            The OCID of the Unified Agent configuration.

        :param oci.logging.models.ChangeUnifiedAgentConfigurationCompartmentDetails change_unified_agent_configuration_compartment_details: (required)
            Request to change the compartment of a given resource.

        :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 (e.g., if a resource has been
            deleted and purged from the system, then a retry of the original
            creation request may be rejected).

        :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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/change_unified_agent_configuration_compartment.py.html>`__ to see an example of how to use change_unified_agent_configuration_compartment API.
        unifiedAgentConfigurationIdzS/unifiedAgentConfigurations/{unifiedAgentConfigurationId}/actions/changeCompartmentr)   .change_unified_agent_configuration_compartmentzhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/ChangeUnifiedAgentConfigurationCompartmentrj   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   zZLoggingManagementClient.change_unified_agent_configuration_compartment.<locals>.<listcomp>zGchange_unified_agent_configuration_compartment got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   zZLoggingManagementClient.change_unified_agent_configuration_compartment.<locals>.<dictcomp>Nr   r=   r>   rk   r,   r-   rl   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   *  rF   r   rG   r   rH   rn   )r!   unified_agent_configuration_idZ6change_unified_agent_configuration_compartment_detailsr#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   rs     rq   zFLoggingManagementClient.change_unified_agent_configuration_compartmentc                    st  dg}d}d}d}d}g d  fddt |D }	|	r$td	|	d|i}
d
d t |
D }
t |
D ]\}}|du sMt|t jrTt| dkrTtd|q7dd|	dt
|	dt
d}dd t |D }| jj|	d| jd}|rt|tjs| j| | j| || j |j| jj|||
|||	d|||d
S | jj|||
|||	d|||d	S )a	  
        Creates a log within the specified log group. This call fails if a log group has already been created
        with the same displayName or (service, resource, category) triplet.


        :param str log_group_id: (required)
            OCID of a log group to work with.

        :param oci.logging.models.CreateLogDetails create_log_details: (required)
            Log object configuration details.

        :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 (e.g., if a resource has been
            deleted and purged from the system, then a retry of the original
            creation request may be rejected).

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/create_log.py.html>`__ to see an example of how to use create_log API.
        r(   /logGroups/{logGroupId}/logsr)   
create_logzOhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/CreateLogr   r   rk   r-   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   z6LoggingManagementClient.create_log.<locals>.<listcomp>z#create_log got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   z6LoggingManagementClient.create_log.<locals>.<dictcomp>Nr   r=   r>   rk   r-   r@   rA   rm   rC   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   r   rH   rn   )r!   r`   Zcreate_log_detailsr#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   rv   M  sp   +$

z"LoggingManagementClient.create_logc                      g }d}d}d}d}g d  fddt |D }|r#td|d	d	|d
t|dtd}	dd t |	D }	| jj|d| j	d}
|
rut
|
tjsb| j|	 | j|	 |
| j |
j| jj|||	||d|||d	S | jj|||	||d|||dS )aI	  
        Create a new log group with a unique display name. This call fails
        if the log group is already created with the same displayName in the compartment.


        :param oci.logging.models.CreateLogGroupDetails create_log_group_details: (required)
            Details to create log group.

        :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 (e.g., if a resource has been
            deleted and purged from the system, then a retry of the original
            creation request may be rejected).

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/create_log_group.py.html>`__ to see an example of how to use create_log_group API.
        
/logGroupsr)   create_log_groupzYhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/CreateLogGrouprw   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   z<LoggingManagementClient.create_log_group.<locals>.<listcomp>z)create_log_group got unknown kwargs: {!r}r>   rk   r-   rx   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   z<LoggingManagementClient.create_log_group.<locals>.<dictcomp>r   rG   r   rI   rJ   rL   rM   r   rN   rO   rP   r   rR   rS   rT   r   r7   rU   r    rZ   r   rV   r   r[   ro   r\   r]   r   r^   r_   )r!   Zcreate_log_group_detailsr#   rP   rI   rJ   rN   rO   ra   rL   r   r$   r2   r%   r{     s^   (

z(LoggingManagementClient.create_log_groupc                    s  g }d}d}d}d}g d  fddt |D }|r#td|d	d	|d
t|dtd}	dd t |	D }	| jj|d| j	d}
|
rvt
|
tjsb| j|	 | j|	 |
| j |
j| jj|||	|d|d|||d
S | jj|||	|d|d|||d	S )a	  
        Creates a new LogSavedSearch.


        :param oci.logging.models.CreateLogSavedSearchDetails create_log_saved_search_details: (required)
            Specification of the saved search to create.

        :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 (e.g., if a resource has been
            deleted and purged from the system, then a retry of the original
            creation request may be rejected).

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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.logging.models.LogSavedSearch`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/create_log_saved_search.py.html>`__ to see an example of how to use create_log_saved_search API.
        /logSavedSearchesr)   create_log_saved_searchzehttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/CreateLogSavedSearchrw   c                    r.   r$   r$   r/   r2   r$   r%   r3   R  r4   zCLoggingManagementClient.create_log_saved_search.<locals>.<listcomp>z0create_log_saved_search got unknown kwargs: {!r}r>   rk   r-   rx   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   ]  rF   zCLoggingManagementClient.create_log_saved_search.<locals>.<dictcomp>r   rG   LogSavedSearchr   )	rI   rJ   rL   rM   response_typer   rN   rO   rP   r}   )r!   Zcreate_log_saved_search_detailsr#   rP   rI   rJ   rN   rO   ra   rL   r   r$   r2   r%   r     sb   '

z/LoggingManagementClient.create_log_saved_searchc                    ry   )a4	  
        Create unified agent configuration registration.


        :param oci.logging.models.CreateUnifiedAgentConfigurationDetails create_unified_agent_configuration_details: (required)
            Unified agent configuration creation object.

        :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 (e.g., if a resource has been
            deleted and purged from the system, then a retry of the original
            creation request may 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/create_unified_agent_configuration.py.html>`__ to see an example of how to use create_unified_agent_configuration API.
        /unifiedAgentConfigurationsr)   "create_unified_agent_configurationz{https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/CreateUnifiedAgentConfiguration)r   r   r-   rk   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   zNLoggingManagementClient.create_unified_agent_configuration.<locals>.<listcomp>z;create_unified_agent_configuration got unknown kwargs: {!r}r>   r-   rk   )r@   rA   rC   rm   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   zNLoggingManagementClient.create_unified_agent_configuration.<locals>.<dictcomp>r   rG   r   r|   r}   )r!   Z*create_unified_agent_configuration_detailsr#   rP   rI   rJ   rN   rO   ra   rL   r   r$   r2   r%   r     s^   '

z:LoggingManagementClient.create_unified_agent_configurationc                    sh  ddg}d}d}d}d}g d  fdd	t |D }	|	r%td
|	||d}
dd t |
D }
t |
D ]\}}|du sOt|t jrVt| dkrVtd|q9dd|	dt
|	dt
d}dd t |D }| jj|	d| jd}|rt|tjs| j| || j |j| jj|||
||	d|||d	S | jj|||
||	d|||dS )a  
        Deletes the log object in a log group.


        :param str log_group_id: (required)
            OCID of a log group to work with.

        :param str log_id: (required)
            OCID of a log to work with.

        :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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/delete_log.py.html>`__ to see an example of how to use delete_log API.
        r(   rc   $/logGroups/{logGroupId}/logs/{logId}DELETE
delete_logzOhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/DeleteLogr+   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   z6LoggingManagementClient.delete_log.<locals>.<listcomp>z#delete_log got unknown kwargs: {!r}re   c                 S   r5   r$   r6   r8   r$   r$   r%   r;      r<   z6LoggingManagementClient.delete_log.<locals>.<dictcomp>Nr   r=   r>   r,   r-   r?   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   ,  rF   r   rG   r   rI   rJ   rK   rL   r   rN   rO   rP   rQ   r!   r`   rf   r#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   r     sl   )$

z"LoggingManagementClient.delete_logc                    d  dg}d}d}d}d}g d  fddt |D }|r$td	|d|i}	d
d t |	D }	t |	D ]\}
}|du sMt|t jrTt| dkrTtd|
q7dd|	dt
|	dt
d}dd t |D }| jj|	d| jd}|rt|tjs| j| || j |j| jj|||	||	d|||d	S | jj|||	||	d|||dS )a;  
        Deletes the specified log group.


        :param str log_group_id: (required)
            OCID of a log group to work with.

        :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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/delete_log_group.py.html>`__ to see an example of how to use delete_log_group API.
        r(   /logGroups/{logGroupId}r   delete_log_groupzYhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/DeleteLogGroupr+   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   z<LoggingManagementClient.delete_log_group.<locals>.<listcomp>z)delete_log_group got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   z<LoggingManagementClient.delete_log_group.<locals>.<dictcomp>Nr   r=   r>   r,   r-   r?   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   r   r   rQ   r!   r`   r#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   r   L  j   &$

z(LoggingManagementClient.delete_log_groupc                    r   )aO  
        Deletes the specified LogSavedSearch.


        :param str log_saved_search_id: (required)
            OCID of the logSavedSearch.

        :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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/delete_log_saved_search.py.html>`__ to see an example of how to use delete_log_saved_search API.
        rh   $/logSavedSearches/{logSavedSearchId}r   delete_log_saved_searchzehttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/DeleteLogSavedSearchr+   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   zCLoggingManagementClient.delete_log_saved_search.<locals>.<listcomp>z0delete_log_saved_search got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   zCLoggingManagementClient.delete_log_saved_search.<locals>.<dictcomp>Nr   r=   r>   r,   r-   r?   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   r   r   rQ   r!   rp   r#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   r     r   z/LoggingManagementClient.delete_log_saved_searchc                    r   )a  
        Delete unified agent configuration.


        :param str unified_agent_configuration_id: (required)
            The OCID of the Unified Agent configuration.

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/delete_unified_agent_configuration.py.html>`__ to see an example of how to use delete_unified_agent_configuration API.
        rr   9/unifiedAgentConfigurations/{unifiedAgentConfigurationId}r   "delete_unified_agent_configurationz{https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/DeleteUnifiedAgentConfiguration)r   r   r-   r,   c                    r.   r$   r$   r/   r2   r$   r%   r3   O  r4   zNLoggingManagementClient.delete_unified_agent_configuration.<locals>.<listcomp>z;delete_unified_agent_configuration got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;   X  r<   zNLoggingManagementClient.delete_unified_agent_configuration.<locals>.<dictcomp>Nr   r=   r>   r-   r,   )r@   rA   rC   rB   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   d  rF   r   rG   r   r   rQ   r!   rt   r#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   r     r   z:LoggingManagementClient.delete_unified_agent_configurationc                    r   )aN  
        Cancel a work request that has not started yet.


        :param str work_request_id: (required)
            The asynchronous 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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/delete_work_request.py.html>`__ to see an example of how to use delete_work_request API.
        workRequestId/workRequests/{workRequestId}r   delete_work_requestz_https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/DeleteWorkRequestr+   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   z?LoggingManagementClient.delete_work_request.<locals>.<listcomp>z,delete_work_request got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   z?LoggingManagementClient.delete_work_request.<locals>.<dictcomp>Nr   r=   r>   r,   r-   r?   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   r   r   rQ   r!   work_request_idr#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   r     r   z+LoggingManagementClient.delete_work_requestc                    sb  ddg}d}d}d}d}g d  fdd	t |D }	|	r%td
|	||d}
dd t |
D }
t |
D ]\}}|du sOt|t jrVt| dkrVtd|q9dd|	dt
d}dd t |D }| jj|	d| jd}|rt|tjs| j| || j |j| jj|||
|d|	d|||d
S | jj|||
|d|	d|||d	S )a  
        Gets the log object configuration for the log object OCID.


        :param str log_group_id: (required)
            OCID of a log group to work with.

        :param str log_id: (required)
            OCID of a log to work with.

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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.logging.models.Log`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/get_log.py.html>`__ to see an example of how to use get_log API.
        r(   rc   r   GETget_logzLhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/GetLogr   r   r-   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   z3LoggingManagementClient.get_log.<locals>.<listcomp>z get_log got unknown kwargs: {!r}re   c                 S   r5   r$   r6   r8   r$   r$   r%   r;   $  r<   z3LoggingManagementClient.get_log.<locals>.<dictcomp>Nr   r=   r>   r-   r@   rA   rC   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   /  rF   r   rG   Logr   	rI   rJ   rK   rL   r   r   rN   rO   rP   rQ   r   r$   r2   r%   r     sn   "$
zLoggingManagementClient.get_logc                    ^  dg}d}d}d}d}g d  fddt |D }|r$td	|d|i}	d
d t |	D }	t |	D ]\}
}|du sMt|t jrTt| dkrTtd|
q7dd|	dt
d}dd t |D }| jj|	d| jd}|rt|tjs| j| || j |j| jj|||	|d|	d|||d
S | jj|||	|d|	d|||d	S )a  
        Get the specified log group's information.


        :param str log_group_id: (required)
            OCID of a log group to work with.

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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.logging.models.LogGroup`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/get_log_group.py.html>`__ to see an example of how to use get_log_group API.
        r(   r   r   get_log_groupzVhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/GetLogGroupr   c                    r.   r$   r$   r/   r2   r$   r%   r3   |  r4   z9LoggingManagementClient.get_log_group.<locals>.<listcomp>z&get_log_group got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   z9LoggingManagementClient.get_log_group.<locals>.<dictcomp>Nr   r=   r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   ZLogGroupr   r   rQ   r   r$   r2   r%   r   Q  l   $
z%LoggingManagementClient.get_log_groupc                    r   )a  
        Retrieves a LogSavedSearch.


        :param str log_saved_search_id: (required)
            OCID of the logSavedSearch.

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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.logging.models.LogSavedSearch`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/get_log_saved_search.py.html>`__ to see an example of how to use get_log_saved_search API.
        rh   r   r   get_log_saved_searchzbhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/GetLogSavedSearchr   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   z@LoggingManagementClient.get_log_saved_search.<locals>.<listcomp>z-get_log_saved_search got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   z@LoggingManagementClient.get_log_saved_search.<locals>.<dictcomp>Nr   r=   r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   r   r   r   rQ   r   r$   r2   r%   r     r   z,LoggingManagementClient.get_log_saved_searchc                    r   )a%  
        Get the unified agent configuration for an ID.


        :param str unified_agent_configuration_id: (required)
            The OCID of the Unified Agent configuration.

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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.logging.models.UnifiedAgentConfiguration`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/get_unified_agent_configuration.py.html>`__ to see an example of how to use get_unified_agent_configuration API.
        rr   r   r   get_unified_agent_configurationzxhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/GetUnifiedAgentConfigurationr   c                    r.   r$   r$   r/   r2   r$   r%   r3   >  r4   zKLoggingManagementClient.get_unified_agent_configuration.<locals>.<listcomp>z8get_unified_agent_configuration got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;   G  r<   zKLoggingManagementClient.get_unified_agent_configuration.<locals>.<dictcomp>Nr   r=   r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   R  rF   r   rG   ZUnifiedAgentConfigurationr   r   rQ   r   r$   r2   r%   r     r   z7LoggingManagementClient.get_unified_agent_configurationc                    r   )a  
        Gets the details of the work request with the given ID.


        :param str work_request_id: (required)
            The asynchronous request 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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.logging.models.WorkRequest`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/get_work_request.py.html>`__ to see an example of how to use get_work_request API.
        r   r   r   get_work_requestz\https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/GetWorkRequestr   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   z<LoggingManagementClient.get_work_request.<locals>.<listcomp>z)get_work_request got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   z<LoggingManagementClient.get_work_request.<locals>.<dictcomp>Nr   r=   r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   ZWorkRequestr   r   rQ   r   r$   r2   r%   r   t  r   z(LoggingManagementClient.get_work_requestc                      dg}d}d}d}d}g d  fddt |D }|r$td	|d
|v r9ddg}	|d
 |	vr9td|	d|v rNddg}
|d |
vrNtd|
||dt|dt|dt|dt|d
t|dtd}dd t |D }dd|dtd}dd t |D }| jj|d| j	d}|rt
|tjs| j| || j |j| jj||||d|d |||d!
S | jj||||d|d |||d!	S )"a  
        Lists all log groups for the specified compartment or tenancy.


        :param str compartment_id: (required)
            Compartment OCID to list resources in. See compartmentIdInSubtree
                 for nested compartments traversal.

        :param bool is_compartment_id_in_subtree: (optional)
            Specifies whether or not nested compartments should be traversed. Defaults to false.

        :param str display_name: (optional)
            Resource name.

        :param str page: (optional)
            For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
            For important details about how pagination works, see `List Pagination`__.

            __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine

        :param int limit: (optional)
            The maximum number of items to return in a paginated "List" call.

        :param str sort_by: (optional)
            The field to sort by (one column only). Default sort order is
            ascending exception of `timeCreated` and `timeLastModified` columns (descending).

            Allowed values are: "timeCreated", "displayName"

        :param str sort_order: (optional)
            The sort order to use, whether 'asc' or 'desc'.

            Allowed values are: "ASC", "DESC"

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 list of :class:`~oci.logging.models.LogGroupSummary`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/list_log_groups.py.html>`__ to see an example of how to use list_log_groups API.
        compartmentIdrz   r   list_log_groupsz_https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroupSummary/ListLogGroups)	r   r   is_compartment_id_in_subtreedisplay_namepagelimitsort_by
sort_orderr-   c                    r.   r$   r$   r/   r2   r$   r%   r3   !  r4   z;LoggingManagementClient.list_log_groups.<locals>.<listcomp>z(list_log_groups got unknown kwargs: {!r}r   timeCreateddisplayName/Invalid value for `sort_by`, must be one of {0}r   ASCDESC2Invalid value for `sort_order`, must be one of {0}r   r   r   r   )r   isCompartmentIdInSubtreer   r   r   sortBy	sortOrderc                 S   rD   rE   r6   r8   r$   r$   r%   r;   =  rF   z;LoggingManagementClient.list_log_groups.<locals>.<dictcomp>r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   D  rF   r   rG   zlist[LogGroupSummary]r   	rI   rJ   query_paramsrL   r   r   rN   rO   rP   r   rR   rS   rT   r   r7   rU   r    rZ   r   rV   r   r[   r\   r]   r   r^   r_   r!   compartment_idr#   rP   rI   rJ   rN   rO   ra   sort_by_allowed_valuessort_order_allowed_valuesr   rL   r   r$   r2   r%   r        :





	
z'LoggingManagementClient.list_log_groupsc                    r   )"ad  
        Lists LogSavedSearches for this compartment.


        :param str compartment_id: (required)
            Compartment OCID to list resources in. See compartmentIdInSubtree
                 for nested compartments traversal.

        :param str log_saved_search_id: (optional)
            OCID of the LogSavedSearch.

        :param str name: (optional)
            Resource name.

        :param str page: (optional)
            For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
            For important details about how pagination works, see `List Pagination`__.

            __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine

        :param int limit: (optional)
            The maximum number of items to return in a paginated "List" call.

        :param str sort_by: (optional)
            The field to sort by (one column only). Default sort order is
            ascending exception of `timeCreated` and `timeLastModified` columns (descending).

            Allowed values are: "timeCreated", "displayName"

        :param str sort_order: (optional)
            The sort order to use, whether 'asc' or 'desc'.

            Allowed values are: "ASC", "DESC"

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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.logging.models.LogSavedSearchSummaryCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/list_log_saved_searches.py.html>`__ to see an example of how to use list_log_saved_searches API.
        r   r~   r   list_log_saved_searcheszehttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/ListLogSavedSearches)	r   r   rp   namer   r   r   r   r-   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   zCLoggingManagementClient.list_log_saved_searches.<locals>.<listcomp>z0list_log_saved_searches got unknown kwargs: {!r}r   r   r   r   r   r   r   r   rp   r   r   r   )r   rh   r   r   r   r   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   zCLoggingManagementClient.list_log_saved_searches.<locals>.<dictcomp>r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   ZLogSavedSearchSummaryCollectionr   r   r   r   r$   r2   r%   r   f  r   z/LoggingManagementClient.list_log_saved_searchesc                    s  dg}d}d}d}d}g d  fddt |D }|r$td	|d|i}	d
d t |	D }	t |	D ]\}
}|du sMt|t jrTt| dkrTtd|
q7d|v rjddg}|d |vrjtd|d|v rg d}|d |vrtd|d|v rddg}|d |vrtd|d|v rddg}|d |vrtd||	dt
|	dt
|	dt
|	d t
|	dt
|	d!t
|	d"t
|	dt
|	dt
d#	}d$d t |D }d%d%|	d&t
d'}d(d t |D }| jj|	d)| jd*}|r.t|tjs| j| || j |j| jj|||	||d+|	d,|||d-S | jj|||	||d+|	d,|||d-
S ).a  
        Lists the specified log group's log objects.


        :param str log_group_id: (required)
            OCID of a log group to work with.

        :param str log_type: (optional)
            The logType that the log object is for, whether custom or service.

            Allowed values are: "CUSTOM", "SERVICE"

        :param str source_service: (optional)
            Service that created the log object, which is a field of LogSummary.Configuration.Source.

        :param str source_resource: (optional)
            Log object resource, which is a field of LogSummary.Configuration.Source.

        :param str display_name: (optional)
            Resource name.

        :param str lifecycle_state: (optional)
            Lifecycle state of the log object

            Allowed values are: "CREATING", "ACTIVE", "UPDATING", "INACTIVE", "DELETING", "FAILED"

        :param str page: (optional)
            For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
            For important details about how pagination works, see `List Pagination`__.

            __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine

        :param int limit: (optional)
            The maximum number of items to return in a paginated "List" call.

        :param str sort_by: (optional)
            The field to sort by (one column only). Default sort order is
            ascending exception of `timeCreated` and `timeLastModified` columns (descending).

            Allowed values are: "timeCreated", "displayName"

        :param str sort_order: (optional)
            The sort order to use, whether 'asc' or 'desc'.

            Allowed values are: "ASC", "DESC"

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 list of :class:`~oci.logging.models.LogSummary`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/list_logs.py.html>`__ to see an example of how to use list_logs API.
        r(   ru   r   	list_logszUhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSummary/ListLogs)r   r   log_typesource_servicesource_resourcer   lifecycle_stater   r   r   r   r-   c                    r.   r$   r$   r/   r2   r$   r%   r3   R	  r4   z5LoggingManagementClient.list_logs.<locals>.<listcomp>z"list_logs got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;   [	  r<   z5LoggingManagementClient.list_logs.<locals>.<dictcomp>Nr   r=   r   ZCUSTOMZSERVICEz0Invalid value for `log_type`, must be one of {0}r   ZCREATINGZACTIVEZUPDATINGZINACTIVEZDELETINGFAILED7Invalid value for `lifecycle_state`, must be one of {0}r   r   r   r   r   r   r   r   r   r   r   r   r   )	ZlogTypeZsourceServiceZsourceResourcer   lifecycleStater   r   r   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   	  rF   r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   	  rF   r   rG   zlist[LogSummary]r   
rI   rJ   rK   r   rL   r   r   rN   rO   rP   rQ   )r!   r`   r#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   Zlog_type_allowed_valueslifecycle_state_allowed_valuesr   r   r   rL   r   r$   r2   r%   r     s   F$









z!LoggingManagementClient.list_logsc                    s  g }d}d}d}d}g d  fddt |D }|r#td|d	|d
ti}dd t |D }dd|dtd}	dd t |	D }	| jj|d| j	d}
|
r}t
|
tjsi| j|	 |
| j |
j| jj||||	d|d|||d
S | jj||||	d|d|||d	S )a  
        Lists all services that support logging.


        :param str service_stage: (optional)
            Service stage of a service. The allowed values are "ProductionStage", "DevStage" and "LAStage".

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 list of :class:`~oci.logging.models.ServiceSummary`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/list_services.py.html>`__ to see an example of how to use list_services API.
        z/v2/registry/servicesr   list_servicesz]https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/ServiceSummary/ListServices)r   r   service_stager-   c                    r.   r$   r$   r/   r2   r$   r%   r3   	  r4   z9LoggingManagementClient.list_services.<locals>.<listcomp>z&list_services got unknown kwargs: {!r}ZserviceStager   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   	  rF   z9LoggingManagementClient.list_services.<locals>.<dictcomp>r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   	  rF   r   rG   zlist[ServiceSummary]r   r   r   )r!   r#   rP   rI   rJ   rN   rO   ra   r   rL   r   r$   r2   r%   r   	  sd   
z%LoggingManagementClient.list_servicesc                    s  dg}d}d}d}d}g d  fddt |D }|r$td	|d
|v r9g d}	|d
 |	vr9td|	d|v rNddg}
|d |
vrNtd|
d|v rcddg}|d |vrctd|||dt|dt|dt|dt|d
t|dt|dt|dt|dtd
}dd t |D }dd|dtd }d!d t |D }| jj|d"| j	d#}|rt
|tjs| j| || j |j| jj||||d$|d%|||d&
S | jj||||d$|d%|||d&	S )'ap  
        Lists all unified agent configurations in the specified compartment.


        :param str compartment_id: (required)
            Compartment OCID to list resources in. See compartmentIdInSubtree
                 for nested compartments traversal.

        :param str log_id: (optional)
            Custom log OCID to list resources with the log as destination.

        :param bool is_compartment_id_in_subtree: (optional)
            Specifies whether or not nested compartments should be traversed. Defaults to false.

        :param str group_id: (optional)
            The OCID of a group or a dynamic group.

        :param str display_name: (optional)
            Resource name.

        :param str lifecycle_state: (optional)
            Lifecycle state of the log object

            Allowed values are: "CREATING", "ACTIVE", "UPDATING", "INACTIVE", "DELETING", "FAILED"

        :param int limit: (optional)
            The maximum number of items to return in a paginated "List" call.

        :param str page: (optional)
            For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
            For important details about how pagination works, see `List Pagination`__.

            __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine

        :param str sort_by: (optional)
            The field to sort by (one column only). Default sort order is
            ascending exception of `timeCreated` and `timeLastModified` columns (descending).

            Allowed values are: "timeCreated", "displayName"

        :param str sort_order: (optional)
            The sort order to use, whether 'asc' or 'desc'.

            Allowed values are: "ASC", "DESC"

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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.logging.models.UnifiedAgentConfigurationCollection`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/list_unified_agent_configurations.py.html>`__ to see an example of how to use list_unified_agent_configurations API.
        r   r   r   !list_unified_agent_configurationszzhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/ListUnifiedAgentConfigurations)r   r   rf   r   group_idr   r   r   r   r   r   r-   c                    r.   r$   r$   r/   r2   r$   r%   r3   j
  r4   zMLoggingManagementClient.list_unified_agent_configurations.<locals>.<listcomp>z:list_unified_agent_configurations got unknown kwargs: {!r}r   r   r   r   r   r   r   r   r   r   r   rf   r   r   r   r   r   )
r   rc   r   ZgroupIdr   r   r   r   r   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   
  rF   zMLoggingManagementClient.list_unified_agent_configurations.<locals>.<dictcomp>r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   
  rF   r   rG   Z#UnifiedAgentConfigurationCollectionr   r   r   )r!   r   r#   rP   rI   rJ   rN   rO   ra   r   r   r   r   rL   r   r$   r2   r%   r   
  s   E









z9LoggingManagementClient.list_unified_agent_configurationsc                      dg}d}d}d}d}g d  fddt |D }|r$td	|d|i}	d
d t |	D }	t |	D ]\}
}|du sMt|t jrTt| dkrTtd|
q7|	dt
|	dt
d}dd t |D }dd|	dt
d}dd t |D }| jj|	d| jd}|rt|tjs| j| || j |j| jj|||	||d|	d|||dS | jj|||	||d|	d|||d
S )a  
        Return a list of errors for a given work request.


        :param str work_request_id: (required)
            The asynchronous request 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 str page: (optional)
            For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
            For important details about how pagination works, see `List Pagination`__.

            __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine

        :param int limit: (optional)
            The maximum number of items to return in a paginated "List" call.

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 list of :class:`~oci.logging.models.WorkRequestError`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/list_work_request_errors.py.html>`__ to see an example of how to use list_work_request_errors API.
        r   z$/workRequests/{workRequestId}/errorsr   list_work_request_errorszhhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequestError/ListWorkRequestErrorsr   r   r-   r   r   c                    r.   r$   r$   r/   r2   r$   r%   r3   
  r4   zDLoggingManagementClient.list_work_request_errors.<locals>.<listcomp>z1list_work_request_errors got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;   
  r<   zDLoggingManagementClient.list_work_request_errors.<locals>.<dictcomp>Nr   r=   r   r   r   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   	  rF   r   rG   zlist[WorkRequestError]r   r   rQ   r!   r   r#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   r   rL   r   r$   r2   r%   r   
  x   ($


z0LoggingManagementClient.list_work_request_errorsc                    r   )a  
        Return a list of logs for a given work request.


        :param str work_request_id: (required)
            The asynchronous request 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 str page: (optional)
            For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
            For important details about how pagination works, see `List Pagination`__.

            __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine

        :param int limit: (optional)
            The maximum number of items to return in a paginated "List" call.

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 list of :class:`~oci.logging.models.WorkRequestLog`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/list_work_request_logs.py.html>`__ to see an example of how to use list_work_request_logs API.
        r   z"/workRequests/{workRequestId}/logsr   list_work_request_logszdhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequestLog/ListWorkRequestLogsr   c                    r.   r$   r$   r/   r2   r$   r%   r3   c  r4   zBLoggingManagementClient.list_work_request_logs.<locals>.<listcomp>z/list_work_request_logs got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;   l  r<   zBLoggingManagementClient.list_work_request_logs.<locals>.<dictcomp>Nr   r=   r   r   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   v  rF   r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   }  rF   r   rG   zlist[WorkRequestLog]r   r   rQ   r   r$   r2   r%   r   -  r   z.LoggingManagementClient.list_work_request_logsc                    s  dg}d}d}d}d}g d  fddt |D }|r$td	|d
|v r9g d}	|d
 |	vr9td|	d|v rNddg}
|d |
vrNtd|
d|v rcg d}|d |vrctd|||d
t|dt|dt|dt|dt|dtd}dd t |D }dd|dtd}dd t |D }| jj|d| j	d}|rt
|tjs| j| || j |j| jj||||d |d!|||d"
S | jj||||d |d!|||d"	S )#a  
        Lists the work requests in a compartment.


        :param str compartment_id: (required)
            Compartment OCID to list resources in. See compartmentIdInSubtree
                 for nested compartments traversal.

        :param str status: (optional)
            Filter results by work request status.

            Allowed values are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELLING", "CANCELED"

        :param str id: (optional)
            <b>Filter</b> results by `OCID`__. Must be an OCID of the correct type for the resource type.

            __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/identifiers.htm

        :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)
            For list pagination. The value of the `opc-next-page` or `opc-previous-page` response header from the previous "List" call.
            For important details about how pagination works, see `List Pagination`__.

            __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine

        :param int limit: (optional)
            The maximum number of items to return in a paginated "List" call.

        :param str sort_order: (optional)
            The sort order to use, whether 'asc' or 'desc'.

            Allowed values are: "ASC", "DESC"

        :param str sort_by: (optional)
            Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order.

            Allowed values are: "operationType", "status", "timeAccepted"

        :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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 list of :class:`~oci.logging.models.WorkRequestSummary`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/list_work_requests.py.html>`__ to see an example of how to use list_work_requests API.
        r   z/workRequestsr   list_work_requestsz^https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/WorkRequest/ListWorkRequests)	r   r   statusidr-   r   r   r   r   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   z>LoggingManagementClient.list_work_requests.<locals>.<listcomp>z+list_work_requests got unknown kwargs: {!r}r   )ZACCEPTEDZIN_PROGRESSr   Z	SUCCEEDEDZ
CANCELLINGZCANCELEDz.Invalid value for `status`, must be one of {0}r   r   r   r   r   )ZoperationTyper   ZtimeAcceptedr   r   r   r   )r   r   r   r   r   r   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   z>LoggingManagementClient.list_work_requests.<locals>.<dictcomp>r>   r-   r   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   zlist[WorkRequestSummary]r   r   r   )r!   r   r#   rP   rI   rJ   rN   rO   ra   Zstatus_allowed_valuesr   r   r   rL   r   r$   r2   r%   r     s   =





	
z*LoggingManagementClient.list_work_requestsc                    rb   )a`	  
        Updates the existing log object with the associated configuration. This call
              fails if the log object does not exist.


        :param str log_group_id: (required)
            OCID of a log group to work with.

        :param str log_id: (required)
            OCID of a log to work with.

        :param oci.logging.models.UpdateLogDetails update_log_details: (required)
            Log config parameters to update.

        :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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/update_log.py.html>`__ to see an example of how to use update_log API.
        r(   rc   r   PUT
update_logzOhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/Log/UpdateLogr+   c                    r.   r$   r$   r/   r2   r$   r%   r3   v  r4   z6LoggingManagementClient.update_log.<locals>.<listcomp>z#update_log got unknown kwargs: {!r}re   c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   z6LoggingManagementClient.update_log.<locals>.<dictcomp>Nr   r=   r>   r,   r-   r?   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   r   rH   rQ   )r!   r`   rf   Zupdate_log_detailsr#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   r   <  sp   -$

z"LoggingManagementClient.update_logc                    r'   )a+	  
        Updates the existing log group with the associated configuration. This call
              fails if the log group does not exist.


        :param str log_group_id: (required)
            OCID of a log group to work with.

        :param oci.logging.models.UpdateLogGroupDetails update_log_group_details: (required)
            LogGroup config parameters to update.

        :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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/update_log_group.py.html>`__ to see an example of how to use update_log_group API.
        r(   r   r   update_log_groupzYhttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogGroup/UpdateLogGroupr+   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   z<LoggingManagementClient.update_log_group.<locals>.<listcomp>z)update_log_group got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   z<LoggingManagementClient.update_log_group.<locals>.<dictcomp>Nr   r=   r>   r,   r-   r?   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   r   rH   rQ   )r!   r`   Zupdate_log_group_detailsr#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   r     n   *$

z(LoggingManagementClient.update_log_groupc                    sl  dg}d}d}d}d}g d  fddt |D }	|	r$td	|	d|i}
d
d t |
D }
t |
D ]\}}|du sMt|t jrTt| dkrTtd|q7dd|	dt
|	dt
d}dd t |D }| jj|	d| jd}|rt|tjs| j| || j |j| jj|||
||d|	d|||dS | jj|||
||d|	d|||d
S )a		  
        Updates an  existing LogSavedSearch.


        :param str log_saved_search_id: (required)
            OCID of the logSavedSearch.

        :param oci.logging.models.UpdateLogSavedSearchDetails update_log_saved_search_details: (required)
            Updates to the saved search.

        :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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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.logging.models.LogSavedSearch`
        :rtype: :class:`~oci.response.Response`

        :example:
        Click `here <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/update_log_saved_search.py.html>`__ to see an example of how to use update_log_saved_search API.
        rh   r   r   update_log_saved_searchzehttps://docs.oracle.com/iaas/api/#/en/logging-management/20200531/LogSavedSearch/UpdateLogSavedSearchr+   c                    r.   r$   r$   r/   r2   r$   r%   r3   R  r4   zCLoggingManagementClient.update_log_saved_search.<locals>.<listcomp>z0update_log_saved_search got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;   [  r<   zCLoggingManagementClient.update_log_saved_search.<locals>.<dictcomp>Nr   r=   r>   r,   r-   r?   c                 S   rD   rE   r6   r8   r$   r$   r%   r;   g  rF   r   rG   r   r   )
rI   rJ   rK   rL   rM   r   r   rN   rO   rP   rQ   )r!   rp   Zupdate_log_saved_search_detailsr#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   r     sr   )$

z/LoggingManagementClient.update_log_saved_searchc                    r'   )a	  
        Update an existing unified agent configuration. This call
              fails if the log group does not exist.


        :param str unified_agent_configuration_id: (required)
            The OCID of the Unified Agent configuration.

        :param oci.logging.models.UpdateUnifiedAgentConfigurationDetails update_unified_agent_configuration_details: (required)
            Unified agent configuration to update. Empty group associations list doesn't modify the list, null value for group association clears all the previous associations.

        :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 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 <https://docs.oracle.com/en-us/iaas/tools/python/latest/sdk_behaviors/retries.html>`__.

            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 <https://docs.cloud.oracle.com/en-us/iaas/tools/python-sdk-examples/latest/logging/update_unified_agent_configuration.py.html>`__ to see an example of how to use update_unified_agent_configuration API.
        rr   r   r   "update_unified_agent_configurationz{https://docs.oracle.com/iaas/api/#/en/logging-management/20200531/UnifiedAgentConfiguration/UpdateUnifiedAgentConfigurationr+   c                    r.   r$   r$   r/   r2   r$   r%   r3     r4   zNLoggingManagementClient.update_unified_agent_configuration.<locals>.<listcomp>z;update_unified_agent_configuration got unknown kwargs: {!r}c                 S   r5   r$   r6   r8   r$   r$   r%   r;     r<   zNLoggingManagementClient.update_unified_agent_configuration.<locals>.<dictcomp>Nr   r=   r>   r,   r-   r?   c                 S   rD   rE   r6   r8   r$   r$   r%   r;     rF   r   rG   r   rH   rQ   )r!   rt   Z*update_unified_agent_configuration_detailsr#   rP   rI   rJ   rN   rO   ra   rK   r9   r:   rL   r   r$   r2   r%   r     r   z:LoggingManagementClient.update_unified_agent_configurationN)#__name__
__module____qualname____doc__r&   r*   rd   ri   rs   rv   r{   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r$   r$   r$   r%   r      sL    Xpq{{pab`lhhhheaaaa   =] *tt rnor   N)
__future__r   Zoci._vendorr   r   ocir   r   Zoci.base_clientr   Z
oci.configr   r	   Z
oci.signerr
   Zoci.utilr   r   r   Zmodelsr   r7   objectr   r$   r$   r$   r%   <module>   s   