:doc:`ManagedintegrationsforIoTDeviceManagement <../../iot-managed-integrations>` / Client / create_event_log_configuration

******************************
create_event_log_configuration
******************************



.. py:method:: ManagedintegrationsforIoTDeviceManagement.Client.create_event_log_configuration(**kwargs)

  

  Set the event log configuration for the account, resource type, or specific resource.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iot-managed-integrations-2025-03-03/CreateEventLogConfiguration>`_  


  **Request Syntax**
  ::

    response = client.create_event_log_configuration(
        ResourceType='string',
        ResourceId='string',
        EventLogLevel='DEBUG'|'ERROR'|'INFO'|'WARN',
        ClientToken='string'
    )
    
  :type ResourceType: string
  :param ResourceType: **[REQUIRED]** 

    The type of resource for the event log configuration.

    

  
  :type ResourceId: string
  :param ResourceId: 

    The identifier of the resource for the event log configuration.

    

  
  :type EventLogLevel: string
  :param EventLogLevel: **[REQUIRED]** 

    The logging level for the event log configuration.

    

  
  :type ClientToken: string
  :param ClientToken: 

    An idempotency token. If you retry a request that completed successfully initially using the same client token and parameters, then the retry attempt will succeed without performing any further actions.

    This field is autopopulated if not provided.

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Id': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Id** *(string) --* 

        The identifier of the event log configuration request.

        
  
  **Exceptions**
  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ValidationException`

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.InternalServerException`

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ConflictException`

  
  *   :py:class:`ManagedintegrationsforIoTDeviceManagement.Client.exceptions.ThrottlingException`

  