:doc:`Support <../../support>` / Client / add_communication_to_case

*************************
add_communication_to_case
*************************



.. py:method:: Support.Client.add_communication_to_case(**kwargs)

  

  Adds additional customer communication to an Amazon Web Services Support case. Use the ``caseId`` parameter to identify the case to which to add communication. You can list a set of email addresses to copy on the communication by using the ``ccEmailAddresses`` parameter. The ``communicationBody`` value contains the text of the communication.

   

  .. note::

    

    
    * You must have a Business, Enterprise On-Ramp, or Enterprise Support plan to use the Amazon Web Services Support API.
     
    * If you call the Amazon Web Services Support API from an account that doesn't have a Business, Enterprise On-Ramp, or Enterprise Support plan, the ``SubscriptionRequiredException`` error message appears. For information about changing your support plan, see `Amazon Web Services Support <http://aws.amazon.com/premiumsupport/>`__.
    

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/support-2013-04-15/AddCommunicationToCase>`_  


  **Request Syntax**
  ::

    response = client.add_communication_to_case(
        caseId='string',
        communicationBody='string',
        ccEmailAddresses=[
            'string',
        ],
        attachmentSetId='string'
    )
    
  :type caseId: string
  :param caseId: 

    The support case ID requested or returned in the call. The case ID is an alphanumeric string formatted as shown in this example: case-*12345678910-2013-c4c1d2bf33c5cf47*

    

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

    The body of an email communication to add to the support case.

    

  
  :type ccEmailAddresses: list
  :param ccEmailAddresses: 

    The email addresses in the CC line of an email to be added to the support case.

    

  
    - *(string) --* 

    

  :type attachmentSetId: string
  :param attachmentSetId: 

    The ID of a set of one or more attachments for the communication to add to the case. Create the set by calling  AddAttachmentsToSet

    

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

    
    ::

      {
          'result': True|False
      }
      
    **Response Structure**

    

    - *(dict) --* 

      The result of the  AddCommunicationToCase operation.

      
      

      - **result** *(boolean) --* 

        True if  AddCommunicationToCase succeeds. Otherwise, returns an error.

        
  
  **Exceptions**
  
  *   :py:class:`Support.Client.exceptions.InternalServerError`

  
  *   :py:class:`Support.Client.exceptions.CaseIdNotFound`

  
  *   :py:class:`Support.Client.exceptions.AttachmentSetIdNotFound`

  
  *   :py:class:`Support.Client.exceptions.AttachmentSetExpired`

  