ChimeSDKVoice / Client / put_voice_connector_proxy
put_voice_connector_proxy#
- 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
Request Syntax
response = client.put_voice_connector_proxy( VoiceConnectorId='string', DefaultSessionExpiryMinutes=123, PhoneNumberPoolCountries=[ 'string', ], FallBackPhoneNumber='string', Disabled=True|False )
- Parameters:
VoiceConnectorId (string) –
[REQUIRED]
The Voice Connector ID.
DefaultSessionExpiryMinutes (integer) –
[REQUIRED]
The default number of minutes allowed for proxy session.
PhoneNumberPoolCountries (list) –
[REQUIRED]
The countries for proxy phone numbers to be selected from.
(string) –
FallBackPhoneNumber (string) – The phone number to route calls to after a proxy session expires.
Disabled (boolean) – When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector.
- Return type:
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
ChimeSDKVoice.Client.exceptions.UnauthorizedClientException
ChimeSDKVoice.Client.exceptions.AccessDeniedException
ChimeSDKVoice.Client.exceptions.NotFoundException
ChimeSDKVoice.Client.exceptions.ForbiddenException
ChimeSDKVoice.Client.exceptions.BadRequestException
ChimeSDKVoice.Client.exceptions.ThrottledClientException
ChimeSDKVoice.Client.exceptions.ServiceUnavailableException
ChimeSDKVoice.Client.exceptions.ServiceFailureException