describeMlflowApp method

Future<DescribeMlflowAppResponse> describeMlflowApp({
  1. required String arn,
})

Returns information about an MLflow App.

May throw ResourceNotFound.

Parameter arn : The ARN of the MLflow App for which to get information.

Implementation

Future<DescribeMlflowAppResponse> describeMlflowApp({
  required String arn,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'SageMaker.DescribeMlflowApp'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'Arn': arn,
    },
  );

  return DescribeMlflowAppResponse.fromJson(jsonResponse.body);
}