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 |
Updates details for the specified Amazon Chime Voice Connector.
Synopsis
- data UpdateVoiceConnector = UpdateVoiceConnector' {}
- newUpdateVoiceConnector :: Text -> Text -> Bool -> UpdateVoiceConnector
- updateVoiceConnector_voiceConnectorId :: Lens' UpdateVoiceConnector Text
- updateVoiceConnector_name :: Lens' UpdateVoiceConnector Text
- updateVoiceConnector_requireEncryption :: Lens' UpdateVoiceConnector Bool
- data UpdateVoiceConnectorResponse = UpdateVoiceConnectorResponse' {}
- newUpdateVoiceConnectorResponse :: Int -> UpdateVoiceConnectorResponse
- updateVoiceConnectorResponse_voiceConnector :: Lens' UpdateVoiceConnectorResponse (Maybe VoiceConnector)
- updateVoiceConnectorResponse_httpStatus :: Lens' UpdateVoiceConnectorResponse Int
Creating a Request
data UpdateVoiceConnector Source #
See: newUpdateVoiceConnector
smart constructor.
UpdateVoiceConnector' | |
|
Instances
newUpdateVoiceConnector Source #
:: Text | |
-> Text | |
-> Bool | |
-> UpdateVoiceConnector |
Create a value of UpdateVoiceConnector
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:voiceConnectorId:UpdateVoiceConnector'
, updateVoiceConnector_voiceConnectorId
- The Amazon Chime Voice Connector ID.
$sel:name:UpdateVoiceConnector'
, updateVoiceConnector_name
- The name of the Amazon Chime Voice Connector.
$sel:requireEncryption:UpdateVoiceConnector'
, updateVoiceConnector_requireEncryption
- When enabled, requires encryption for the Amazon Chime Voice Connector.
Request Lenses
updateVoiceConnector_voiceConnectorId :: Lens' UpdateVoiceConnector Text Source #
The Amazon Chime Voice Connector ID.
updateVoiceConnector_name :: Lens' UpdateVoiceConnector Text Source #
The name of the Amazon Chime Voice Connector.
updateVoiceConnector_requireEncryption :: Lens' UpdateVoiceConnector Bool Source #
When enabled, requires encryption for the Amazon Chime Voice Connector.
Destructuring the Response
data UpdateVoiceConnectorResponse Source #
See: newUpdateVoiceConnectorResponse
smart constructor.
UpdateVoiceConnectorResponse' | |
|
Instances
newUpdateVoiceConnectorResponse Source #
Create a value of UpdateVoiceConnectorResponse
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:voiceConnector:UpdateVoiceConnectorResponse'
, updateVoiceConnectorResponse_voiceConnector
- The updated Amazon Chime Voice Connector details.
$sel:httpStatus:UpdateVoiceConnectorResponse'
, updateVoiceConnectorResponse_httpStatus
- The response's http status code.
Response Lenses
updateVoiceConnectorResponse_voiceConnector :: Lens' UpdateVoiceConnectorResponse (Maybe VoiceConnector) Source #
The updated Amazon Chime Voice Connector details.
updateVoiceConnectorResponse_httpStatus :: Lens' UpdateVoiceConnectorResponse Int Source #
The response's http status code.