deleteDataAutomationProject method

Future<DeleteDataAutomationProjectResponse> deleteDataAutomationProject({
  1. required String projectArn,
})

Deletes an existing Amazon Bedrock Data Automation Project

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter projectArn : ARN generated at the server side when a DataAutomationProject is created

Implementation

Future<DeleteDataAutomationProjectResponse> deleteDataAutomationProject({
  required String projectArn,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/data-automation-projects/${Uri.encodeComponent(projectArn)}/',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteDataAutomationProjectResponse.fromJson(response);
}