describeDetectorModelAnalysis method

Future<DescribeDetectorModelAnalysisResponse> describeDetectorModelAnalysis({
  1. required String analysisId,
})

Retrieves runtime information about a detector model analysis.

May throw InternalFailureException. May throw InvalidRequestException. May throw ResourceNotFoundException. May throw ServiceUnavailableException. May throw ThrottlingException.

Parameter analysisId : The ID of the analysis result that you want to retrieve.

Implementation

Future<DescribeDetectorModelAnalysisResponse> describeDetectorModelAnalysis({
  required String analysisId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri:
        '/analysis/detector-models/${Uri.encodeComponent(analysisId)}',
    exceptionFnMap: _exceptionFns,
  );
  return DescribeDetectorModelAnalysisResponse.fromJson(response);
}