Chime / Client / put_sip_media_application_logging_configuration

put_sip_media_application_logging_configuration#

Chime.Client.put_sip_media_application_logging_configuration(**kwargs)#

Updates the logging configuration for the specified SIP media application.

Warning

This API is is no longer supported and will not be updated. We recommend using the latest version, PutSipMediaApplicationLoggingConfiguration, 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.put_sip_media_application_logging_configuration(
    SipMediaApplicationId='string',
    SipMediaApplicationLoggingConfiguration={
        'EnableSipMediaApplicationMessageLogs': True|False
    }
)
Parameters:
  • SipMediaApplicationId (string) –

    [REQUIRED]

    The SIP media application ID.

  • SipMediaApplicationLoggingConfiguration (dict) –

    The actual logging configuration.

    • EnableSipMediaApplicationMessageLogs (boolean) –

      Enables application message logs for the SIP media application.

Return type:

dict

Returns:

Response Syntax

{
    'SipMediaApplicationLoggingConfiguration': {
        'EnableSipMediaApplicationMessageLogs': True|False
    }
}

Response Structure

  • (dict) –

    • SipMediaApplicationLoggingConfiguration (dict) –

      The logging configuration of the SIP media application.

      • EnableSipMediaApplicationMessageLogs (boolean) –

        Enables application message logs for the SIP media application.

Exceptions

  • Chime.Client.exceptions.UnauthorizedClientException

  • Chime.Client.exceptions.NotFoundException

  • Chime.Client.exceptions.ForbiddenException

  • Chime.Client.exceptions.BadRequestException

  • Chime.Client.exceptions.ThrottledClientException

  • Chime.Client.exceptions.ServiceUnavailableException

  • Chime.Client.exceptions.ServiceFailureException