:doc:`ConnectCases <../../connectcases>` / Client / put_case_event_configuration

****************************
put_case_event_configuration
****************************



.. py:method:: ConnectCases.Client.put_case_event_configuration(**kwargs)

  

  Adds case event publishing configuration. For a complete list of fields you can add to the event message, see `Create case fields <https://docs.aws.amazon.com/connect/latest/adminguide/case-fields.html>`__ in the *Amazon Connect Administrator Guide*

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/PutCaseEventConfiguration>`_  


  **Request Syntax**
  ::

    response = client.put_case_event_configuration(
        domainId='string',
        eventBridge={
            'enabled': True|False,
            'includedData': {
                'caseData': {
                    'fields': [
                        {
                            'id': 'string'
                        },
                    ]
                },
                'relatedItemData': {
                    'includeContent': True|False
                }
            }
        }
    )
    
  :type domainId: string
  :param domainId: **[REQUIRED]** 

    The unique identifier of the Cases domain.

    

  
  :type eventBridge: dict
  :param eventBridge: **[REQUIRED]** 

    Configuration to enable EventBridge case event delivery and determine what data is delivered.

    

  
    - **enabled** *(boolean) --* **[REQUIRED]** 

      Indicates whether the to broadcast case event data to the customer.

      

    
    - **includedData** *(dict) --* 

      Details of what case and related item data is published through the case event stream.

      

    
      - **caseData** *(dict) --* 

        Details of what case data is published through the case event stream.

        

      
        - **fields** *(list) --* **[REQUIRED]** 

          List of field identifiers.

          

        
          - *(dict) --* 

            Object for unique identifier of a field.

            

          
            - **id** *(string) --* **[REQUIRED]** 

              Unique identifier of a field.

              

            
          
      
      
      - **relatedItemData** *(dict) --* 

        Details of what related item data is published through the case event stream.

        

      
        - **includeContent** *(boolean) --* **[REQUIRED]** 

          Details of what related item data is published through the case event stream.

          

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`ConnectCases.Client.exceptions.InternalServerException`

  
  *   :py:class:`ConnectCases.Client.exceptions.ResourceNotFoundException`

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

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

  
  *   :py:class:`ConnectCases.Client.exceptions.AccessDeniedException`

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

  