deleteComputeQuota method

Future<void> deleteComputeQuota({
  1. required String computeQuotaId,
})

Deletes the compute allocation from the cluster.

May throw ResourceNotFound.

Parameter computeQuotaId : ID of the compute allocation definition.

Implementation

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