Chime.Client.
create_sip_media_application
(**kwargs)¶Creates a SIP media application.
See also: AWS API Documentation
Request Syntax
response = client.create_sip_media_application(
AwsRegion='string',
Name='string',
Endpoints=[
{
'LambdaArn': 'string'
},
]
)
[REQUIRED]
The AWS Region assigned to the SIP media application.
[REQUIRED]
The SIP media application name.
[REQUIRED]
List of endpoints (Lambda Amazon Resource Names) specified for the SIP media application. Currently, only one endpoint is supported.
The endpoint assigned to the SIP media application.
Valid Amazon Resource Name (ARN) of the Lambda function. The function must be created in the same AWS Region as the SIP media application.
dict
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 SIP media application details.
SipMediaApplicationId (string) --
The SIP media application ID.
AwsRegion (string) --
The AWS Region in which the SIP media application is created.
Name (string) --
The name of the SIP media application.
Endpoints (list) --
List of endpoints for SIP media application. Currently, only one endpoint per SIP media application is permitted.
(dict) --
The endpoint assigned to the SIP media application.
LambdaArn (string) --
Valid Amazon Resource Name (ARN) of the Lambda function. 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 SIP media application updated timestamp, in ISO 8601 format.
Exceptions
Chime.Client.exceptions.BadRequestException
Chime.Client.exceptions.ForbiddenException
Chime.Client.exceptions.AccessDeniedException
Chime.Client.exceptions.UnauthorizedClientException
Chime.Client.exceptions.ThrottledClientException
Chime.Client.exceptions.ResourceLimitExceededException
Chime.Client.exceptions.ConflictException
Chime.Client.exceptions.ServiceUnavailableException
Chime.Client.exceptions.ServiceFailureException