getAccountPreferences method

Future<GetAccountPreferencesResult> getAccountPreferences()

Returns AWS Chatbot account preferences.

May throw GetAccountPreferencesException. May throw InvalidRequestException.

Implementation

Future<GetAccountPreferencesResult> getAccountPreferences() async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri: '/get-account-preferences',
    exceptionFnMap: _exceptionFns,
  );
  return GetAccountPreferencesResult.fromJson(response);
}