update_sip_media_application_call

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

Request Syntax

response = client.update_sip_media_application_call(
    SipMediaApplicationId='string',
    TransactionId='string',
    Arguments={
        'string': 'string'
    }
)
Parameters
  • SipMediaApplicationId (string) --

    [REQUIRED]

    The ID of the SIP media application handling the call.

  • TransactionId (string) --

    [REQUIRED]

    The ID of the call transaction.

  • Arguments (dict) --

    [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) --
Return type

dict

Returns

Response Syntax

{
    'SipMediaApplicationCall': {
        'TransactionId': 'string'
    }
}

Response Structure

  • (dict) --

    • SipMediaApplicationCall (dict) --

      A Call instance for a SIP media application.

      • TransactionId (string) --

        The transaction ID of a call.

Exceptions

  • Chime.Client.exceptions.BadRequestException
  • Chime.Client.exceptions.NotFoundException
  • Chime.Client.exceptions.ForbiddenException
  • Chime.Client.exceptions.ResourceLimitExceededException
  • Chime.Client.exceptions.ThrottledClientException
  • Chime.Client.exceptions.UnauthorizedClientException
  • Chime.Client.exceptions.ServiceUnavailableException
  • Chime.Client.exceptions.ServiceFailureException