deleteModelCard method

Future<void> deleteModelCard({
  1. required String modelCardName,
})

Deletes an Amazon SageMaker Model Card.

May throw ConflictException. May throw ResourceNotFound.

Parameter modelCardName : The name of the model card to delete.

Implementation

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