Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
PutVoiceConnectorProxy' | |
|
Instances
newPutVoiceConnectorProxy Source #
:: 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:
$sel:disabled:PutVoiceConnectorProxy'
, putVoiceConnectorProxy_disabled
- When true, stops proxy sessions from being created on the specified
Amazon Chime Voice Connector.
$sel:fallBackPhoneNumber:PutVoiceConnectorProxy'
, putVoiceConnectorProxy_fallBackPhoneNumber
- The phone number to route calls to after a proxy session expires.
$sel:defaultSessionExpiryMinutes: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.
$sel:voiceConnectorId: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.
PutVoiceConnectorProxyResponse' | |
|
Instances
Eq PutVoiceConnectorProxyResponse Source # | |
Show PutVoiceConnectorProxyResponse Source # | |
Defined in Amazonka.Chime.PutVoiceConnectorProxy | |
Generic PutVoiceConnectorProxyResponse Source # | |
NFData PutVoiceConnectorProxyResponse Source # | |
Defined in Amazonka.Chime.PutVoiceConnectorProxy rnf :: PutVoiceConnectorProxyResponse -> () # | |
type Rep PutVoiceConnectorProxyResponse Source # | |
Defined in Amazonka.Chime.PutVoiceConnectorProxy type Rep PutVoiceConnectorProxyResponse = D1 ('MetaData "PutVoiceConnectorProxyResponse" "Amazonka.Chime.PutVoiceConnectorProxy" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "PutVoiceConnectorProxyResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "proxy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Proxy)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.