deleteResourceSet method

Future<void> deleteResourceSet({
  1. required String resourceSetName,
})

Deletes a resource set.

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

Parameter resourceSetName : Name of a resource set.

Implementation

Future<void> deleteResourceSet({
  required String resourceSetName,
}) async {
  await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/resourcesets/${Uri.encodeComponent(resourceSetName)}',
    exceptionFnMap: _exceptionFns,
  );
}