Amazon Chime

2020/07/01 - Amazon Chime - 3 new api methods

Changes  This release supports third party emergency call routing configuration for Amazon Chime Voice Connectors.

DeleteVoiceConnectorEmergencyCallingConfiguration (new) Link ¶

Deletes the emergency calling configuration details from the specified Amazon Chime Voice Connector.

See also: AWS API Documentation

Request Syntax

client.delete_voice_connector_emergency_calling_configuration(
    VoiceConnectorId='string'
)
type VoiceConnectorId

string

param VoiceConnectorId

[REQUIRED]

The Amazon Chime Voice Connector ID.

returns

None

PutVoiceConnectorEmergencyCallingConfiguration (new) Link ¶

Puts emergency calling configuration details to the specified Amazon Chime Voice Connector, such as emergency phone numbers and calling countries. Origination and termination settings must be enabled for the Amazon Chime Voice Connector before emergency calling can be configured.

See also: AWS API Documentation

Request Syntax

client.put_voice_connector_emergency_calling_configuration(
    VoiceConnectorId='string',
    EmergencyCallingConfiguration={
        'DNIS': [
            {
                'EmergencyPhoneNumber': 'string',
                'TestPhoneNumber': 'string',
                'CallingCountry': 'string'
            },
        ]
    }
)
type VoiceConnectorId

string

param VoiceConnectorId

[REQUIRED]

The Amazon Chime Voice Connector ID.

type EmergencyCallingConfiguration

dict

param EmergencyCallingConfiguration

[REQUIRED]

The emergency calling configuration details.

  • DNIS (list) --

    The Dialed Number Identification Service (DNIS) emergency calling configuration details.

    • (dict) --

      The Dialed Number Identification Service (DNIS) emergency calling configuration details associated with an Amazon Chime Voice Connector's emergency calling configuration.

      • EmergencyPhoneNumber (string) -- [REQUIRED]

        The DNIS phone number to route emergency calls to, in E.164 format.

      • TestPhoneNumber (string) --

        The DNIS phone number to route test emergency calls to, in E.164 format.

      • CallingCountry (string) -- [REQUIRED]

        The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.

rtype

dict

returns

Response Syntax

{
    'EmergencyCallingConfiguration': {
        'DNIS': [
            {
                'EmergencyPhoneNumber': 'string',
                'TestPhoneNumber': 'string',
                'CallingCountry': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • EmergencyCallingConfiguration (dict) --

      The emergency calling configuration details.

      • DNIS (list) --

        The Dialed Number Identification Service (DNIS) emergency calling configuration details.

        • (dict) --

          The Dialed Number Identification Service (DNIS) emergency calling configuration details associated with an Amazon Chime Voice Connector's emergency calling configuration.

          • EmergencyPhoneNumber (string) --

            The DNIS phone number to route emergency calls to, in E.164 format.

          • TestPhoneNumber (string) --

            The DNIS phone number to route test emergency calls to, in E.164 format.

          • CallingCountry (string) --

            The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.

GetVoiceConnectorEmergencyCallingConfiguration (new) Link ¶

Gets the emergency calling configuration details for the specified Amazon Chime Voice Connector.

See also: AWS API Documentation

Request Syntax

client.get_voice_connector_emergency_calling_configuration(
    VoiceConnectorId='string'
)
type VoiceConnectorId

string

param VoiceConnectorId

[REQUIRED]

The Amazon Chime Voice Connector ID.

rtype

dict

returns

Response Syntax

{
    'EmergencyCallingConfiguration': {
        'DNIS': [
            {
                'EmergencyPhoneNumber': 'string',
                'TestPhoneNumber': 'string',
                'CallingCountry': 'string'
            },
        ]
    }
}

Response Structure

  • (dict) --

    • EmergencyCallingConfiguration (dict) --

      The emergency calling configuration details.

      • DNIS (list) --

        The Dialed Number Identification Service (DNIS) emergency calling configuration details.

        • (dict) --

          The Dialed Number Identification Service (DNIS) emergency calling configuration details associated with an Amazon Chime Voice Connector's emergency calling configuration.

          • EmergencyPhoneNumber (string) --

            The DNIS phone number to route emergency calls to, in E.164 format.

          • TestPhoneNumber (string) --

            The DNIS phone number to route test emergency calls to, in E.164 format.

          • CallingCountry (string) --

            The country from which emergency calls are allowed, in ISO 3166-1 alpha-2 format.