| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Chime.PutVoiceConnectorProxy
Description
Puts the specified proxy configuration to the specified Amazon Chime Voice Connector.
Synopsis
- data PutVoiceConnectorProxy = PutVoiceConnectorProxy' {}
- newPutVoiceConnectorProxy :: Int -> NonEmpty Text -> Text -> PutVoiceConnectorProxy
- putVoiceConnectorProxy_disabled :: Lens' PutVoiceConnectorProxy (Maybe Bool)
- putVoiceConnectorProxy_fallBackPhoneNumber :: Lens' PutVoiceConnectorProxy (Maybe Text)
- putVoiceConnectorProxy_defaultSessionExpiryMinutes :: Lens' PutVoiceConnectorProxy Int
- putVoiceConnectorProxy_phoneNumberPoolCountries :: Lens' PutVoiceConnectorProxy (NonEmpty Text)
- putVoiceConnectorProxy_voiceConnectorId :: Lens' PutVoiceConnectorProxy Text
- data PutVoiceConnectorProxyResponse = PutVoiceConnectorProxyResponse' {
- proxy :: Maybe Proxy
- httpStatus :: Int
- newPutVoiceConnectorProxyResponse :: Int -> PutVoiceConnectorProxyResponse
- putVoiceConnectorProxyResponse_proxy :: Lens' PutVoiceConnectorProxyResponse (Maybe Proxy)
- putVoiceConnectorProxyResponse_httpStatus :: Lens' PutVoiceConnectorProxyResponse Int
Creating a Request
data PutVoiceConnectorProxy Source #
See: newPutVoiceConnectorProxy smart constructor.
Constructors
| PutVoiceConnectorProxy' | |
Fields
| |
Instances
newPutVoiceConnectorProxy Source #
Arguments
| :: Int | |
| -> NonEmpty Text | |
| -> Text | |
| -> PutVoiceConnectorProxy |
Create a value of PutVoiceConnectorProxy with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
PutVoiceConnectorProxy, putVoiceConnectorProxy_disabled - When true, stops proxy sessions from being created on the specified
Amazon Chime Voice Connector.
PutVoiceConnectorProxy, putVoiceConnectorProxy_fallBackPhoneNumber - The phone number to route calls to after a proxy session expires.
PutVoiceConnectorProxy, putVoiceConnectorProxy_defaultSessionExpiryMinutes - The default number of minutes allowed for proxy sessions.
$sel:phoneNumberPoolCountries:PutVoiceConnectorProxy', putVoiceConnectorProxy_phoneNumberPoolCountries - The countries for proxy phone numbers to be selected from.
PutVoiceConnectorProxy, putVoiceConnectorProxy_voiceConnectorId - The Amazon Chime voice connector ID.
Request Lenses
putVoiceConnectorProxy_disabled :: Lens' PutVoiceConnectorProxy (Maybe Bool) Source #
When true, stops proxy sessions from being created on the specified Amazon Chime Voice Connector.
putVoiceConnectorProxy_fallBackPhoneNumber :: Lens' PutVoiceConnectorProxy (Maybe Text) Source #
The phone number to route calls to after a proxy session expires.
putVoiceConnectorProxy_defaultSessionExpiryMinutes :: Lens' PutVoiceConnectorProxy Int Source #
The default number of minutes allowed for proxy sessions.
putVoiceConnectorProxy_phoneNumberPoolCountries :: Lens' PutVoiceConnectorProxy (NonEmpty Text) Source #
The countries for proxy phone numbers to be selected from.
putVoiceConnectorProxy_voiceConnectorId :: Lens' PutVoiceConnectorProxy Text Source #
The Amazon Chime voice connector ID.
Destructuring the Response
data PutVoiceConnectorProxyResponse Source #
See: newPutVoiceConnectorProxyResponse smart constructor.
Constructors
| PutVoiceConnectorProxyResponse' | |
Fields
| |
Instances
newPutVoiceConnectorProxyResponse Source #
Create a value of PutVoiceConnectorProxyResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:proxy:PutVoiceConnectorProxyResponse', putVoiceConnectorProxyResponse_proxy - The proxy configuration details.
$sel:httpStatus:PutVoiceConnectorProxyResponse', putVoiceConnectorProxyResponse_httpStatus - The response's http status code.
Response Lenses
putVoiceConnectorProxyResponse_proxy :: Lens' PutVoiceConnectorProxyResponse (Maybe Proxy) Source #
The proxy configuration details.
putVoiceConnectorProxyResponse_httpStatus :: Lens' PutVoiceConnectorProxyResponse Int Source #
The response's http status code.