deleteRecipeVersion method

Future<DeleteRecipeVersionResponse> deleteRecipeVersion({
  1. required String name,
  2. required String recipeVersion,
})

Deletes a single version of a DataBrew recipe.

May throw ConflictException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter name : The name of the recipe.

Parameter recipeVersion : The version of the recipe to be deleted. You can specify a numeric versions (X.Y) or LATEST_WORKING. LATEST_PUBLISHED is not supported.

Implementation

Future<DeleteRecipeVersionResponse> deleteRecipeVersion({
  required String name,
  required String recipeVersion,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/recipes/${Uri.encodeComponent(name)}/recipeVersion/${Uri.encodeComponent(recipeVersion)}',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteRecipeVersionResponse.fromJson(response);
}