put_voice_connector_proxy
¶
put_voice_connector_proxy(
voice_connector_id: VoiceConnectorId,
default_session_expiry_minutes: Integer,
phone_number_pool_countries: CountryList,
*,
config_overrides: Optional[ChimeSDKVoiceClientConfig] = None,
fall_back_phone_number: Optional[E164PhoneNumber] = None,
disabled: Optional[Boolean] = None,
) -> PutVoiceConnectorProxyResponse
Puts the specified proxy configuration to the specified Amazon Chime SDK Voice Connector.
End of support notice: On April 7, 2026, AWS will end support for Amazon Chime SDK proxy sessions.
Parameters:
-
voice_connector_id(VoiceConnectorId) –The Voice Connector ID.
-
default_session_expiry_minutes(Integer) –The default number of minutes allowed for proxy session.
-
phone_number_pool_countries(CountryList) –The countries for proxy phone numbers to be selected from.
-
fall_back_phone_number(Optional[E164PhoneNumber], default:None) –The phone number to route calls to after a proxy session expires.
-
disabled(Optional[Boolean], default:None) –When true, stops proxy sessions from being created on the specified Amazon Chime SDK Voice Connector.
Raises:
-
AccessDeniedException–You don't have the permissions needed to run this action.
-
BadRequestException–The input parameters don't match the service's restrictions.
-
ForbiddenException–The client is permanently forbidden from making the request.
-
NotFoundException–The requested resource couldn't be found.
-
ServiceFailureException–The service encountered an unexpected error.
-
ServiceUnavailableException–The service is currently unavailable.
-
ThrottledClientException–The number of customer requests exceeds the request rate limit.
-
UnauthorizedClientException–The client isn't authorized to request a resource.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_chime_sdk_voice/_services/chime_sdk_voice.py
5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 | |