ChimeSDKVoice / Client / update_sip_media_application
update_sip_media_application#
- ChimeSDKVoice.Client.update_sip_media_application(**kwargs)#
Updates the details of the specified SIP media application.
See also: AWS API Documentation
Request Syntax
response = client.update_sip_media_application( SipMediaApplicationId='string', Name='string', Endpoints=[ { 'LambdaArn': 'string' }, ] )
- Parameters:
SipMediaApplicationId (string) –
[REQUIRED]
The SIP media application ID.
Name (string) – The new name for the specified SIP media application.
Endpoints (list) –
The new set of endpoints for the specified SIP media application.
(dict) –
The endpoint assigned to a SIP media application.
LambdaArn (string) –
Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.
- Return type:
dict
- Returns:
Response Syntax
{ 'SipMediaApplication': { 'SipMediaApplicationId': 'string', 'AwsRegion': 'string', 'Name': 'string', 'Endpoints': [ { 'LambdaArn': 'string' }, ], 'CreatedTimestamp': datetime(2015, 1, 1), 'UpdatedTimestamp': datetime(2015, 1, 1) } }
Response Structure
(dict) –
SipMediaApplication (dict) –
The updated SIP media application’s details.
SipMediaApplicationId (string) –
A SIP media application’s ID.
AwsRegion (string) –
The AWS Region in which the SIP media application is created.
Name (string) –
The SIP media application’s name.
Endpoints (list) –
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
(dict) –
The endpoint assigned to a SIP media application.
LambdaArn (string) –
Valid Amazon Resource Name (ARN) of the Lambda function, version, or alias. The function must be created in the same AWS Region as the SIP media application.
CreatedTimestamp (datetime) –
The SIP media application creation timestamp, in ISO 8601 format.
UpdatedTimestamp (datetime) –
The time at which the SIP media application was updated.
Exceptions
ChimeSDKVoice.Client.exceptions.UnauthorizedClientException
ChimeSDKVoice.Client.exceptions.NotFoundException
ChimeSDKVoice.Client.exceptions.ForbiddenException
ChimeSDKVoice.Client.exceptions.BadRequestException
ChimeSDKVoice.Client.exceptions.ConflictException
ChimeSDKVoice.Client.exceptions.ThrottledClientException
ChimeSDKVoice.Client.exceptions.ServiceUnavailableException
ChimeSDKVoice.Client.exceptions.ServiceFailureException