Mutation
mutation UpdateBoltScheduleDefinition($input: UpdateBoltScheduleDefinitionInput!) {
updateBoltScheduleDefinition(input: $input) {
schedule {
slug
name
schedule
timezone
environment {
slug
type
name
isDefault
branch
dbtVersion
}
gitBranch
}
}
}Variables
{
"input": {
"slug": "string",
"schedule": {
"name": "string",
"schedule": "string",
"environment": "string"
}
}
}Response
{
"data": {
"updateBoltScheduleDefinition": {
"schedule": {
"slug": "string",
"name": "string",
"schedule": "string",
"timezone": "string",
"environment": {
"slug": "string",
"type": "SCHEDULER",
"name": "string",
"isDefault": true,
"branch": "string",
"dbtVersion": "string"
},
"gitBranch": "string"
}
}
}
}updateBoltScheduleDefinition
Changes a schedule created in the UI or through the API, and redeploys it; suspended pauses or resumes it. A YAML schedule is a CONFLICT: change it in the repository. Needs bolt:schedule:update.
MUTATION
updateBoltScheduleDefinition(input: UpdateBoltScheduleDefinitionInput!): UpdateBoltScheduleDefinitionPayload!Arguments
input
required
The schedule to change.
schedule
The schedule, as now stored.
Mutation
mutation UpdateBoltScheduleDefinition($input: UpdateBoltScheduleDefinitionInput!) {
updateBoltScheduleDefinition(input: $input) {
schedule {
slug
name
schedule
timezone
environment {
slug
type
name
isDefault
branch
dbtVersion
}
gitBranch
}
}
}Variables
{
"input": {
"slug": "string",
"schedule": {
"name": "string",
"schedule": "string",
"environment": "string"
}
}
}Response
{
"data": {
"updateBoltScheduleDefinition": {
"schedule": {
"slug": "string",
"name": "string",
"schedule": "string",
"timezone": "string",
"environment": {
"slug": "string",
"type": "SCHEDULER",
"name": "string",
"isDefault": true,
"branch": "string",
"dbtVersion": "string"
},
"gitBranch": "string"
}
}
}
}