updateGlobalSettings method

Future<void> updateGlobalSettings({
  1. required 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({
  required VoiceConnectorSettings voiceConnector,
}) async {
  final $payload = <String, dynamic>{
    'VoiceConnector': voiceConnector,
  };
  await _protocol.send(
    payload: $payload,
    method: 'PUT',
    requestUri: '/settings',
    exceptionFnMap: _exceptionFns,
  );
}