describeRecipe method
Returns the definition of a specific DataBrew recipe corresponding to a particular version.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter name :
The name of the recipe to be described.
Parameter recipeVersion :
The recipe version identifier. If this parameter isn't specified, then the
latest published version is returned.
Implementation
Future<DescribeRecipeResponse> describeRecipe({
required String name,
String? recipeVersion,
}) async {
final $query = <String, List<String>>{
if (recipeVersion != null) 'recipeVersion': [recipeVersion],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/recipes/${Uri.encodeComponent(name)}',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return DescribeRecipeResponse.fromJson(response);
}