Chime.Client.
put_voice_connector_proxy
(**kwargs)¶Puts the specified proxy configuration to the specified Amazon Chime 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
)
[REQUIRED]
The Amazon Chime voice connector ID.
[REQUIRED]
The default number of minutes allowed for proxy sessions.
[REQUIRED]
The countries for proxy phone numbers to be selected from.
dict
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 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.
Exceptions
Chime.Client.exceptions.UnauthorizedClientException
Chime.Client.exceptions.AccessDeniedException
Chime.Client.exceptions.NotFoundException
Chime.Client.exceptions.ForbiddenException
Chime.Client.exceptions.BadRequestException
Chime.Client.exceptions.ThrottledClientException
Chime.Client.exceptions.ServiceUnavailableException
Chime.Client.exceptions.ServiceFailureException