Chime / Client / put_voice_connector_emergency_calling_configuration

put_voice_connector_emergency_calling_configuration#

Chime.Client.put_voice_connector_emergency_calling_configuration(**kwargs)#

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.

Warning

This API is is no longer supported and will not be updated. We recommend using the latest version, PutVoiceConnectorEmergencyCallingConfiguration, 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_voice_connector_emergency_calling_configuration(
    VoiceConnectorId='string',
    EmergencyCallingConfiguration={
        'DNIS': [
            {
                'EmergencyPhoneNumber': 'string',
                'TestPhoneNumber': 'string',
                'CallingCountry': 'string'
            },
        ]
    }
)
Parameters:
  • VoiceConnectorId (string) –

    [REQUIRED]

    The Amazon Chime Voice Connector ID.

  • EmergencyCallingConfiguration (dict) –

    [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.

Return type:

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.

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