putConferencePreference method

Future<void> putConferencePreference({
  1. required ConferencePreference conferencePreference,
})

Sets the conference preferences on a specific conference provider at the account level.

May throw NotFoundException.

Parameter conferencePreference : The conference preference of a specific conference provider.

Implementation

Future<void> putConferencePreference({
  required ConferencePreference conferencePreference,
}) async {
  ArgumentError.checkNotNull(conferencePreference, 'conferencePreference');
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AlexaForBusiness.PutConferencePreference'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'ConferencePreference': conferencePreference,
    },
  );
}