deleteNotebook method

Future<void> deleteNotebook({
  1. required String domainIdentifier,
  2. required String identifier,
})

Deletes a notebook in Amazon SageMaker Unified Studio.

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

Parameter domainIdentifier : The identifier of the Amazon SageMaker Unified Studio domain in which the notebook exists.

Parameter identifier : The identifier of the notebook to delete.

Implementation

Future<void> deleteNotebook({
  required String domainIdentifier,
  required String identifier,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/v2/domains/${Uri.encodeComponent(domainIdentifier)}/notebooks/${Uri.encodeComponent(identifier)}',
    exceptionFnMap: _exceptionFns,
  );
}