deleteImageRecipe method

Future<DeleteImageRecipeResponse> deleteImageRecipe({
  1. required String imageRecipeArn,
})

Deletes an image recipe.

May throw ServiceException. May throw ClientException. May throw ServiceUnavailableException. May throw InvalidRequestException. May throw ForbiddenException. May throw CallRateLimitExceededException. May throw ResourceDependencyException.

Parameter imageRecipeArn : The Amazon Resource Name (ARN) of the image recipe to delete.

Implementation

Future<DeleteImageRecipeResponse> deleteImageRecipe({
  required String imageRecipeArn,
}) async {
  ArgumentError.checkNotNull(imageRecipeArn, 'imageRecipeArn');
  final $query = <String, List<String>>{
    'imageRecipeArn': [imageRecipeArn],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/DeleteImageRecipe',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return DeleteImageRecipeResponse.fromJson(response);
}