deleteScene method

Future<void> deleteScene({
  1. required String sceneId,
  2. required String workspaceId,
})

Deletes a scene.

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

Parameter sceneId : The ID of the scene to delete.

Parameter workspaceId : The ID of the workspace.

Implementation

Future<void> deleteScene({
  required String sceneId,
  required String workspaceId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri:
        '/workspaces/${Uri.encodeComponent(workspaceId)}/scenes/${Uri.encodeComponent(sceneId)}',
    hostPrefix: 'api.',
    exceptionFnMap: _exceptionFns,
  );
}