Authorization
header. This token is
generated by logging in via the Login query
first.
uid
field in the response of the query is to be used as the deployment id.
In the above example, the deployment id for the backend with name “OrderJourney”
is “0x6238”. The field lambdaScript
contains the lambda script in the form of
a Base64 encoded string.
lambdaScript
getLambdaLogs
query.
lambdaLogsInput
: a LambdaLogsInput objectlambdaLogsInput.deploymentID
: the deployment UID returned from [List
Backends]((./backend#list-backends)lambdaLogsInput.tenantID
: In case of a multi-tenant, and dedicated backend,
you will need to pass the tenant Id as welllambdaLogsInput.start
: start timelambdaLogsInput.end
: end timeupdateLambda
mutation. You
will need to pass a deployment id to uniquely identify your lambda. In case your
backend is multi-tenant, you will need to pass the tenant Id as well.
In order to update your lambda, you would need to convert your lamdba script
into a Base64 encoded format and send it as the lambdaScript
argument. In
order to delete your lambda, you can simply send in an empty string in the
lambdaScript
argument.
updateLambdaInput
: an UpdateLambdaInput objectupdateLambdaInput.deploymentID
: the deployment UID returned from [List
Backends]((./backend#list-backends)updateLambdaInput.tenantID
: the tenant ID in case your backend is a
dedicated, and multi-tenant backend. In case you have any other type of
backend, you can leave it as the default 0
valueupdateLambdaInput.lambdaScript
: the base64-encoded Javascript string
containing your Lambda Resolver