create_sip_media_application

ChimeSDKVoice.Client.create_sip_media_application(**kwargs)

See also: AWS API Documentation

Request Syntax

response = client.create_sip_media_application(
    AwsRegion='string',
    Name='string',
    Endpoints=[
        {
            'LambdaArn': 'string'
        },
    ]
)
Parameters
  • AwsRegion (string) -- [REQUIRED]
  • Name (string) -- [REQUIRED]
  • Endpoints (list) --

    [REQUIRED]

    • (dict) --
      • LambdaArn (string) --
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) --
      • SipMediaApplicationId (string) --
      • AwsRegion (string) --
      • Name (string) --
      • Endpoints (list) --
        • (dict) --
          • LambdaArn (string) --
      • CreatedTimestamp (datetime) --
      • UpdatedTimestamp (datetime) --

Exceptions

  • ChimeSDKVoice.Client.exceptions.BadRequestException
  • ChimeSDKVoice.Client.exceptions.ForbiddenException
  • ChimeSDKVoice.Client.exceptions.AccessDeniedException
  • ChimeSDKVoice.Client.exceptions.UnauthorizedClientException
  • ChimeSDKVoice.Client.exceptions.ThrottledClientException
  • ChimeSDKVoice.Client.exceptions.ResourceLimitExceededException
  • ChimeSDKVoice.Client.exceptions.ConflictException
  • ChimeSDKVoice.Client.exceptions.ServiceUnavailableException
  • ChimeSDKVoice.Client.exceptions.ServiceFailureException