UpdateEventDestinationInput
Change a destination's name, config, auth, event types, attributes, or condition. Fields you leave out do not change.
input UpdateEventDestinationInput {
attributes: Map
auth: Map
condition: String
config: Map
eventTypes: [String!]
name: String
}
Fields
UpdateEventDestinationInput.attributes ● Map scalar {#attributes}
Replaces the current attributes. Attribute values that the event's entity must have had when the event happened. An event must have all of them. Pass {} to receive events of any attributes. For other logic, use the condition.
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 event types and attributes select. The event is sent only when it outputs true. The CloudEvent's data holds the entity, its attributes (such as md-environment), and the event's metadata. 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.eventTypes ● [String!] list scalar {#event-types}
The event types the destination receives, or <entity>.* for every event of an entity. Leave it empty to receive every event. The eventTypes query lists the event types. Leave the field out to keep the current event types.
UpdateEventDestinationInput.name ● String scalar {#name}
Name of the destination, unique in the organization.
Member Of
updateEventDestination mutation