Creates a folder in the specified location. Either parentFolderPath or parentFolderUri must be provided.
the name of the new folder.
the full path to the parent folder. If not provided, the parentFolderUri must be provided.
the URI (eg /folders/folders/UUID) of the parent folder. If not provided, the parentFolderPath must be provided.
Creates a Job in the specified folder (or folder uri).
the name of the new job to be created.
the SAS code for the new job.
the location of the new job.
the URI location of the new job. The function is a little faster if the folder URI is supplied instead of the path.
Creates a session on the given context.
the name of the context to create a session on.
an access token for an authorized user.
Deletes the client representing the supplied ID.
the client ID to authenticate with.
an access token for an authorized user.
Executes a job via the SAS Viya Job Execution API
the relative path to the job.
the name of the context where the job is to be executed.
sets the _debug flag in the job arguments.
any data to be passed in as input to the job.
an optional access token for an authorized user.
Executes code on the current SAS Viya server.
a name for the file being submitted for execution.
an array of lines of code to execute.
the context to execute the code in.
an access token for an authorized user.
optional session ID to reuse.
optional flag to turn of logging.
Exchanges the auth code for an access token for the given client.
the client ID to authenticate with.
the client secret to authenticate with.
the auth code received from the server.
Returns all available compute contexts on this server.
an access token for an authorized user.
Returns a map containing the directory structure in the currently set root folder.
Performs a login redirect and returns an auth code for the given client
the client ID to authenticate with.
returns an object containing the Server URL and root folder name
Returns all compute contexts on this server that the user has access to.
an access token for an authorized user.
Exchanges the refresh token for an access token for the given client.
the client ID to authenticate with.
the client secret to authenticate with.
Updates server URL or root folder name when not null
the URL of the server.
the name for rootFolderName.
Generated using TypeDoc
A client for interfacing with the SAS Viya REST API