Chime / Client / update_sip_media_application_call
update_sip_media_application_call#
- Chime.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.
Warning
This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateSipMediaApplicationCall, in the Amazon Chime SDK.
Using the latest version requires migrating to a dedicated namespace. For more information, refer to Migrating from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide.
Danger
This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.
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