updateGlobalSettings method

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

Updates global settings for the administrator's AWS account, such as Amazon Chime Business Calling and Amazon Chime Voice Connector settings.

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

Parameter businessCalling : The Amazon Chime Business Calling settings.

Parameter voiceConnector : The Amazon Chime Voice Connector settings.

Implementation

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