describeInsightsRefresh method

Future<DescribeInsightsRefreshResponse> describeInsightsRefresh({
  1. required String clusterName,
})

Returns the status of the latest on-demand cluster insights refresh operation.

May throw InvalidParameterException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ServerException.

Parameter clusterName : The name of the cluster associated with the insights refresh operation.

Implementation

Future<DescribeInsightsRefreshResponse> describeInsightsRefresh({
  required String clusterName,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/clusters/${Uri.encodeComponent(clusterName)}/insights-refresh',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeInsightsRefreshResponse.fromJson(response);
}