Chime / Client / update_sip_media_application

update_sip_media_application#

Chime.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 the 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 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, 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 SIP media application updated timestamp, in ISO 8601 format.

Exceptions

  • Chime.Client.exceptions.UnauthorizedClientException

  • Chime.Client.exceptions.NotFoundException

  • Chime.Client.exceptions.ForbiddenException

  • Chime.Client.exceptions.BadRequestException

  • Chime.Client.exceptions.ConflictException

  • Chime.Client.exceptions.ThrottledClientException

  • Chime.Client.exceptions.ServiceUnavailableException

  • Chime.Client.exceptions.ServiceFailureException