createVoiceConnector method
Creates an Amazon Chime SDK Voice Connector. For more information about Voice Connectors, see Managing Amazon Chime SDK Voice Connector groups in the Amazon Chime SDK Administrator Guide.
May throw AccessDeniedException.
May throw BadRequestException.
May throw ForbiddenException.
May throw ResourceLimitExceededException.
May throw ServiceFailureException.
May throw ServiceUnavailableException.
May throw ThrottledClientException.
May throw UnauthorizedClientException.
Parameter name :
The name of the Voice Connector.
Parameter requireEncryption :
Enables or disables encryption for the Voice Connector.
Parameter awsRegion :
The AWS Region in which the Amazon Chime SDK Voice Connector is created.
Default value: us-east-1 .
Parameter integrationType :
The connectors for use with Connect Customer.
The following options are available:
-
CONNECT_CALL_TRANSFER_CONNECTOR- Enables enterprises to integrate Connect Customer with other voice systems to directly transfer voice calls and metadata without using the public telephone network. They can use Connect Customer telephony and Interactive Voice Response (IVR) with their existing voice systems to modernize the IVR experience of their existing contact center and their enterprise and branch voice systems. Additionally, enterprises migrating their contact center to Connect Customer can start with Connect telephony and IVR for immediate modernization ahead of agent migration. -
CONNECT_ANALYTICS_CONNECTOR- Enables enterprises to integrate Connect Customer with other voice systems for real-time and post-call analytics. They can use Connect Customer Contact Lens with their existing voice systems to provides call recordings, conversational analytics (including contact transcript, sensitive data redaction, content categorization, theme detection, sentiment analysis, real-time alerts, and post-contact summary), and agent performance evaluations (including evaluation forms, automated evaluation, supervisor review) with a rich user experience to display, search and filter customer interactions, and programmatic access to data streams and the data lake. Additionally, enterprises migrating their contact center to Connect Customer can start with Contact Lens analytics and performance insights ahead of agent migration.
Parameter networkType :
The type of network for the Voice Connector.
Parameter tags :
The tags assigned to the Voice Connector.
Implementation
Future<CreateVoiceConnectorResponse> createVoiceConnector({
required String name,
required bool requireEncryption,
VoiceConnectorAwsRegion? awsRegion,
VoiceConnectorIntegrationType? integrationType,
NetworkType? networkType,
List<Tag>? tags,
}) async {
final $payload = <String, dynamic>{
'Name': name,
'RequireEncryption': requireEncryption,
if (awsRegion != null) 'AwsRegion': awsRegion.value,
if (integrationType != null) 'IntegrationType': integrationType.value,
if (networkType != null) 'NetworkType': networkType.value,
if (tags != null) 'Tags': tags,
};
final response = await _protocol.send(
payload: $payload,
method: 'POST',
requestUri: '/voice-connectors',
exceptionFnMap: _exceptionFns,
);
return CreateVoiceConnectorResponse.fromJson(response);
}