ChimeSDKVoice / Client / put_voice_connector_logging_configuration

put_voice_connector_logging_configuration#

ChimeSDKVoice.Client.put_voice_connector_logging_configuration(**kwargs)#

Updates a Voice Connector’s logging configuration.

See also: AWS API Documentation

Request Syntax

response = client.put_voice_connector_logging_configuration(
    VoiceConnectorId='string',
    LoggingConfiguration={
        'EnableSIPLogs': True|False,
        'EnableMediaMetricLogs': True|False
    }
)
Parameters:
  • VoiceConnectorId (string) –

    [REQUIRED]

    The Voice Connector ID.

  • LoggingConfiguration (dict) –

    [REQUIRED]

    The logging configuration being updated.

    • EnableSIPLogs (boolean) –

      Boolean that enables sending SIP message logs to Amazon CloudWatch.

    • EnableMediaMetricLogs (boolean) –

      Enables or disables media metrics logging.

Return type:

dict

Returns:

Response Syntax

{
    'LoggingConfiguration': {
        'EnableSIPLogs': True|False,
        'EnableMediaMetricLogs': True|False
    }
}

Response Structure

  • (dict) –

    • LoggingConfiguration (dict) –

      The updated logging configuration.

      • EnableSIPLogs (boolean) –

        Boolean that enables sending SIP message logs to Amazon CloudWatch.

      • EnableMediaMetricLogs (boolean) –

        Enables or disables media metrics logging.

Exceptions

  • ChimeSDKVoice.Client.exceptions.UnauthorizedClientException

  • ChimeSDKVoice.Client.exceptions.NotFoundException

  • ChimeSDKVoice.Client.exceptions.ForbiddenException

  • ChimeSDKVoice.Client.exceptions.BadRequestException

  • ChimeSDKVoice.Client.exceptions.ThrottledClientException

  • ChimeSDKVoice.Client.exceptions.ServiceUnavailableException

  • ChimeSDKVoice.Client.exceptions.ServiceFailureException