Skip to main content

UpdateEventDestinationInput

Change a destination's name, config, auth, filter, or condition. Fields you leave out do not change.

input UpdateEventDestinationInput {
auth: Map
condition: String
config: Map
filter: EventFilterInput
name: String
}

Fields​

UpdateEventDestinationInput.auth ● Map scalar {#auth}​

Replaces the current credentials. In the shape of the adapter's authSchema from eventDestinationAdapters. The API never returns them. Pass null to remove them.

UpdateEventDestinationInput.condition ● String scalar {#condition}​

A jq expression run on each CloudEvent that the filter matches. The event is sent only when it outputs true. Use it for checks the filter cannot express, such as comparisons, or, or values inside data. It must finish within the install's timeout (1 second by default) and cannot use import, include, module, modulemeta, or get_search_list. Pass an empty string to remove the condition.

UpdateEventDestinationInput.config ● Map scalar {#config}​

Replaces the current config. Where and how events are sent, in the shape of the adapter's configSchema from eventDestinationAdapters. The API returns it, so put credentials in auth.

UpdateEventDestinationInput.filter ● EventFilterInput input {#filter}​

The events the destination receives. Fields you leave out of the filter do not change.

UpdateEventDestinationInput.name ● String scalar {#name}​

Name of the destination, unique in the organization.

Member Of​

updateEventDestination mutation