Amazon Chime

2022/03/11 - Amazon Chime - 2 updated api methods

Changes  Chime VoiceConnector Logging APIs will now support MediaMetricLogs. Also CreateMeetingDialOut now returns AccessDeniedException.

GetVoiceConnectorLoggingConfiguration (updated) Link ¶
Changes (response)
{'LoggingConfiguration': {'EnableMediaMetricLogs': 'boolean'}}

Retrieves the logging configuration details for the specified Amazon Chime Voice Connector. Shows whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.

See also: AWS API Documentation

Request Syntax

client.get_voice_connector_logging_configuration(
    VoiceConnectorId='string'
)
type VoiceConnectorId:

string

param VoiceConnectorId:

[REQUIRED]

The Amazon Chime Voice Connector ID.

rtype:

dict

returns:

Response Syntax

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

Response Structure

  • (dict) --

    • LoggingConfiguration (dict) --

      The logging configuration details.

      • EnableSIPLogs (boolean) --

        Boolean that enables SIP message logs to CloudWatch logs.

      • EnableMediaMetricLogs (boolean) --

        Boolean that enables logging of detailed media metrics for Voice Connectors to CloudWatch logs.

PutVoiceConnectorLoggingConfiguration (updated) Link ¶
Changes (both)
{'LoggingConfiguration': {'EnableMediaMetricLogs': 'boolean'}}

Adds a logging configuration for the specified Amazon Chime Voice Connector. The logging configuration specifies whether SIP message logs are enabled for sending to Amazon CloudWatch Logs.

See also: AWS API Documentation

Request Syntax

client.put_voice_connector_logging_configuration(
    VoiceConnectorId='string',
    LoggingConfiguration={
        'EnableSIPLogs': True|False,
        'EnableMediaMetricLogs': True|False
    }
)
type VoiceConnectorId:

string

param VoiceConnectorId:

[REQUIRED]

The Amazon Chime Voice Connector ID.

type LoggingConfiguration:

dict

param LoggingConfiguration:

[REQUIRED]

The logging configuration details to add.

  • EnableSIPLogs (boolean) --

    Boolean that enables SIP message logs to CloudWatch logs.

  • EnableMediaMetricLogs (boolean) --

    Boolean that enables logging of detailed media metrics for Voice Connectors to CloudWatch logs.

rtype:

dict

returns:

Response Syntax

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

Response Structure

  • (dict) --

    • LoggingConfiguration (dict) --

      The updated logging configuration details.

      • EnableSIPLogs (boolean) --

        Boolean that enables SIP message logs to CloudWatch logs.

      • EnableMediaMetricLogs (boolean) --

        Boolean that enables logging of detailed media metrics for Voice Connectors to CloudWatch logs.