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

*******************************
put_voice_connector_termination
*******************************



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

  

  Updates a Voice Connector's termination settings.

  

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


  **Request Syntax**
  ::

    response = client.put_voice_connector_termination(
        VoiceConnectorId='string',
        Termination={
            'CpsLimit': 123,
            'DefaultPhoneNumber': 'string',
            'CallingRegions': [
                'string',
            ],
            'CidrAllowedList': [
                'string',
            ],
            'Disabled': True|False
        }
    )
    
  :type VoiceConnectorId: string
  :param VoiceConnectorId: **[REQUIRED]** 

    The Voice Connector ID.

    

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

    The termination settings to be updated.

    

  
    - **CpsLimit** *(integer) --* 

      The limit on calls per second. Max value based on account service quota. Default value of 1.

      

    
    - **DefaultPhoneNumber** *(string) --* 

      The default outbound calling number.

      

    
    - **CallingRegions** *(list) --* 

      The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.

      

    
      - *(string) --* 

      
  
    - **CidrAllowedList** *(list) --* 

      The IP addresses allowed to make calls, in CIDR format.

      

    
      - *(string) --* 

      
  
    - **Disabled** *(boolean) --* 

      When termination is disabled, outbound calls cannot be made.

      

    
  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Termination': {
              'CpsLimit': 123,
              'DefaultPhoneNumber': 'string',
              'CallingRegions': [
                  'string',
              ],
              'CidrAllowedList': [
                  'string',
              ],
              'Disabled': True|False
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Termination** *(dict) --* 

        The updated termination settings.

        
        

        - **CpsLimit** *(integer) --* 

          The limit on calls per second. Max value based on account service quota. Default value of 1.

          
        

        - **DefaultPhoneNumber** *(string) --* 

          The default outbound calling number.

          
        

        - **CallingRegions** *(list) --* 

          The countries to which calls are allowed, in ISO 3166-1 alpha-2 format. Required.

          
          

          - *(string) --* 
      
        

        - **CidrAllowedList** *(list) --* 

          The IP addresses allowed to make calls, in CIDR format.

          
          

          - *(string) --* 
      
        

        - **Disabled** *(boolean) --* 

          When termination is disabled, outbound calls cannot be made.

          
    
  
  **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.AccessDeniedException`

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

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

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

  