getPortfolioPreferences method

Future<GetPortfolioPreferencesResponse> getPortfolioPreferences()

Retrieves your migration and modernization preferences.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException.

Implementation

Future<GetPortfolioPreferencesResponse> getPortfolioPreferences() async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/get-portfolio-preferences',
    exceptionFnMap: _exceptionFns,
  );
  return GetPortfolioPreferencesResponse.fromJson(response);
}