getConferencePreference method

Future<GetConferencePreferenceResponse> getConferencePreference()

Retrieves the existing conference preferences.

May throw NotFoundException.

Implementation

Future<GetConferencePreferenceResponse> getConferencePreference() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AlexaForBusiness.GetConferencePreference'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );

  return GetConferencePreferenceResponse.fromJson(jsonResponse.body);
}