ProvisioningClient-class | R Documentation |
The client allows to create and retrieve credentials for sandbox and transformation buckets. Additional methods to kill sandbox/transformation bucket are available.
decodeResponse(response)
Internal method to process API response.
response
List as returned from httr
POST/GET methods.
Response body - either list or string in case the body cannot be parsed as JSON.
dropCredentials(id)
Delete credentials and cleanup the associated database bucket.
id
Credentials id.
TRUE
getCredentials(type = "transformations")
Get new credentials of the given type or reuse existing credentials if available.
type
Credentials type - either transformations
or sandbox
List with credentials.
getCredentialsById(id)
Get existing credentials.
id
Credentials id.
List with credentials.
initialize(backend, token, runId = "",
url = "https://syrup.keboola.com/provisioning")
Constructor.
backend
Type of database backend - either mysql
or redshift
token
KBC Storage API token.
runId
Optional Run ID of the parent job.
url
Optional URL of the provisioning API.
killProcesses(id)
Kill database processes running with the given credentials.
id
Credentials id.
TRUE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.