deleteDataAutomationLibrary method

Future<DeleteDataAutomationLibraryResponse> deleteDataAutomationLibrary({
  1. required String libraryArn,
})

Deletes an existing Amazon Bedrock Data Automation Library

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

Parameter libraryArn : ARN generated at the server side when a DataAutomationLibrary is created

Implementation

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