deleteAutonomousDatabase method

Future<void> deleteAutonomousDatabase({
  1. required String autonomousDatabaseId,
})

Deletes the specified Autonomous Database.

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

Parameter autonomousDatabaseId : The unique identifier of the Autonomous Database to delete.

Implementation

Future<void> deleteAutonomousDatabase({
  required String autonomousDatabaseId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.0',
    'X-Amz-Target': 'Odb.DeleteAutonomousDatabase'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'autonomousDatabaseId': autonomousDatabaseId,
    },
  );
}