deleteContainerRecipe method

Future<DeleteContainerRecipeResponse> deleteContainerRecipe({
  1. required String containerRecipeArn,
})

Deletes a container recipe.

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

Parameter containerRecipeArn : The Amazon Resource Name (ARN) of the container recipe to delete.

Implementation

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