deleteExplainability method

Future<void> deleteExplainability({
  1. required String explainabilityArn,
})

Deletes an Explainability resource.

You can delete only predictor that have a status of ACTIVE or CREATE_FAILED. To get the status, use the DescribeExplainability operation.

May throw InvalidInputException. May throw ResourceInUseException. May throw ResourceNotFoundException.

Parameter explainabilityArn : The Amazon Resource Name (ARN) of the Explainability resource to delete.

Implementation

Future<void> deleteExplainability({
  required String explainabilityArn,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'AmazonForecast.DeleteExplainability'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'ExplainabilityArn': explainabilityArn,
    },
  );
}