getServerStrategies method

Future<GetServerStrategiesResponse> getServerStrategies({
  1. required String serverId,
})

Retrieves recommended strategies and tools for the specified server.

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

Parameter serverId : The ID of the server.

Implementation

Future<GetServerStrategiesResponse> getServerStrategies({
  required String serverId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/get-server-strategies/${Uri.encodeComponent(serverId)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetServerStrategiesResponse.fromJson(response);
}