updateGlobalSettings method

Future<void> updateGlobalSettings({
  1. VoiceConnectorSettings? voiceConnector,
})

Updates global settings for the Amazon Chime SDK Voice Connectors in an AWS account.

May throw BadRequestException. May throw ForbiddenException. May throw ServiceFailureException. May throw ServiceUnavailableException. May throw ThrottledClientException. May throw UnauthorizedClientException.

Parameter voiceConnector : The Voice Connector settings.

Implementation

Future<void> updateGlobalSettings({
  VoiceConnectorSettings? voiceConnector,
}) async {
  final $payload = <String, dynamic>{
    if (voiceConnector != null) 'VoiceConnector': voiceConnector,
  };
  await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri: '/settings',
    exceptionFnMap: _exceptionFns,
  );
}