:doc:`ChimeSDKVoice <../../chime-sdk-voice>` / Client / put_voice_connector_emergency_calling_configuration

***************************************************
put_voice_connector_emergency_calling_configuration
***************************************************



.. py:method:: ChimeSDKVoice.Client.put_voice_connector_emergency_calling_configuration(**kwargs)

  

  Updates a Voice Connector's emergency calling configuration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/chime-sdk-voice-2022-08-03/PutVoiceConnectorEmergencyCallingConfiguration>`_  


  **Request Syntax**
  ::

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

    The Voice Connector ID.

    

  
  :type EmergencyCallingConfiguration: dict
  :param EmergencyCallingConfiguration: **[REQUIRED]** 

    The configuration being updated.

    

  
    - **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 SDK Voice Connector's emergency calling configuration.

        

      
        - **EmergencyPhoneNumber** *(string) --* **[REQUIRED]** 

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

          

        
        - **TestPhoneNumber** *(string) --* 

          The DNIS phone number for routing 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 updated configuration.

        
        

        - **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 SDK Voice Connector's emergency calling configuration.

            
            

            - **EmergencyPhoneNumber** *(string) --* 

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

              
            

            - **TestPhoneNumber** *(string) --* 

              The DNIS phone number for routing 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**
  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.UnauthorizedClientException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.NotFoundException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ForbiddenException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.BadRequestException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ThrottledClientException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ServiceUnavailableException`

  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.ServiceFailureException`

  