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

*************************
put_voice_connector_proxy
*************************



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

  

  Puts the specified proxy configuration to the specified Amazon Chime SDK Voice Connector.

  

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


  **Request Syntax**
  ::

    response = client.put_voice_connector_proxy(
        VoiceConnectorId='string',
        DefaultSessionExpiryMinutes=123,
        PhoneNumberPoolCountries=[
            'string',
        ],
        FallBackPhoneNumber='string',
        Disabled=True|False
    )
    
  :type VoiceConnectorId: string
  :param VoiceConnectorId: **[REQUIRED]** 

    The Voice Connector ID.

    

  
  :type DefaultSessionExpiryMinutes: integer
  :param DefaultSessionExpiryMinutes: **[REQUIRED]** 

    The default number of minutes allowed for proxy session.

    

  
  :type PhoneNumberPoolCountries: list
  :param PhoneNumberPoolCountries: **[REQUIRED]** 

    The countries for proxy phone numbers to be selected from.

    

  
    - *(string) --* 

    

  :type FallBackPhoneNumber: string
  :param FallBackPhoneNumber: 

    The phone number to route calls to after a proxy session expires.

    

  
  :type Disabled: boolean
  :param Disabled: 

    When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector.

    

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

    
    ::

      {
          'Proxy': {
              'DefaultSessionExpiryMinutes': 123,
              'Disabled': True|False,
              'FallBackPhoneNumber': 'string',
              'PhoneNumberCountries': [
                  'string',
              ]
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Proxy** *(dict) --* 

        The proxy configuration details.

        
        

        - **DefaultSessionExpiryMinutes** *(integer) --* 

          The default number of minutes allowed for proxy sessions.

          
        

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

          When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector.

          
        

        - **FallBackPhoneNumber** *(string) --* 

          The phone number to route calls to after a proxy session expires.

          
        

        - **PhoneNumberCountries** *(list) --* 

          The countries for proxy phone numbers to be selected from.

          
          

          - *(string) --* 
      
    
  
  **Exceptions**
  
  *   :py:class:`ChimeSDKVoice.Client.exceptions.UnauthorizedClientException`

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

  
  *   :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`

  