:doc:`ChimeSDKVoice <../../chime-sdk-voice>` / Client / update_sip_media_application_call

*********************************
update_sip_media_application_call
*********************************



.. py:method:: ChimeSDKVoice.Client.update_sip_media_application_call(**kwargs)

  

  Invokes the AWS Lambda function associated with the SIP media application and transaction ID in an update request. The Lambda function can then return a new set of actions.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-voice-2022-08-03/UpdateSipMediaApplicationCall>`_  


  **Request Syntax**
  ::

    response = client.update_sip_media_application_call(
        SipMediaApplicationId='string',
        TransactionId='string',
        Arguments={
            'string': 'string'
        }
    )
    
  :type SipMediaApplicationId: string
  :param SipMediaApplicationId: **[REQUIRED]** 

    The ID of the SIP media application handling the call.

    

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

    The ID of the call transaction.

    

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

    Arguments made available to the Lambda function as part of the ``CALL_UPDATE_REQUESTED`` event. Can contain 0-20 key-value pairs.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

      {
          'SipMediaApplicationCall': {
              'TransactionId': 'string'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **SipMediaApplicationCall** *(dict) --* 

        A ``Call`` instance for a SIP media application.

        
        

        - **TransactionId** *(string) --* 

          The call's transaction ID.

          
    
  
  **Exceptions**
  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.BadRequestException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.NotFoundException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ForbiddenException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ResourceLimitExceededException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ServiceFailureException`

  