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 |
Creates an Amazon Chime Voice Connector under the administrator's AWS account. You can choose to create an Amazon Chime Voice Connector in a specific AWS Region.
Enabling CreateVoiceConnectorRequest$RequireEncryption configures your Amazon Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP (SRTP) for media. Inbound calls use TLS transport, and unencrypted outbound calls are blocked.
Synopsis
- data CreateVoiceConnector = CreateVoiceConnector' {}
- newCreateVoiceConnector :: Text -> Bool -> CreateVoiceConnector
- createVoiceConnector_awsRegion :: Lens' CreateVoiceConnector (Maybe VoiceConnectorAwsRegion)
- createVoiceConnector_name :: Lens' CreateVoiceConnector Text
- createVoiceConnector_requireEncryption :: Lens' CreateVoiceConnector Bool
- data CreateVoiceConnectorResponse = CreateVoiceConnectorResponse' {}
- newCreateVoiceConnectorResponse :: Int -> CreateVoiceConnectorResponse
- createVoiceConnectorResponse_voiceConnector :: Lens' CreateVoiceConnectorResponse (Maybe VoiceConnector)
- createVoiceConnectorResponse_httpStatus :: Lens' CreateVoiceConnectorResponse Int
Creating a Request
data CreateVoiceConnector Source #
See: newCreateVoiceConnector
smart constructor.
CreateVoiceConnector' | |
|
Instances
newCreateVoiceConnector Source #
:: Text | |
-> Bool | |
-> CreateVoiceConnector |
Create a value of CreateVoiceConnector
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:awsRegion:CreateVoiceConnector'
, createVoiceConnector_awsRegion
- The AWS Region in which the Amazon Chime Voice Connector is created.
Default value: us-east-1
.
$sel:name:CreateVoiceConnector'
, createVoiceConnector_name
- The name of the Amazon Chime Voice Connector.
$sel:requireEncryption:CreateVoiceConnector'
, createVoiceConnector_requireEncryption
- When enabled, requires encryption for the Amazon Chime Voice Connector.
Request Lenses
createVoiceConnector_awsRegion :: Lens' CreateVoiceConnector (Maybe VoiceConnectorAwsRegion) Source #
The AWS Region in which the Amazon Chime Voice Connector is created.
Default value: us-east-1
.
createVoiceConnector_name :: Lens' CreateVoiceConnector Text Source #
The name of the Amazon Chime Voice Connector.
createVoiceConnector_requireEncryption :: Lens' CreateVoiceConnector Bool Source #
When enabled, requires encryption for the Amazon Chime Voice Connector.
Destructuring the Response
data CreateVoiceConnectorResponse Source #
See: newCreateVoiceConnectorResponse
smart constructor.
CreateVoiceConnectorResponse' | |
|
Instances
newCreateVoiceConnectorResponse Source #
Create a value of CreateVoiceConnectorResponse
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:CreateVoiceConnectorResponse'
, createVoiceConnectorResponse_voiceConnector
- The Amazon Chime Voice Connector details.
$sel:httpStatus:CreateVoiceConnectorResponse'
, createVoiceConnectorResponse_httpStatus
- The response's http status code.
Response Lenses
createVoiceConnectorResponse_voiceConnector :: Lens' CreateVoiceConnectorResponse (Maybe VoiceConnector) Source #
The Amazon Chime Voice Connector details.
createVoiceConnectorResponse_httpStatus :: Lens' CreateVoiceConnectorResponse Int Source #
The response's http status code.