OBJECT

WebhookNode

WebhookNodes allow for receiving of WebHooks from external senders in any JSON mime type. These messages are emitted as-is by the WebHookNode for further processing.

link GraphQL Schema definition

  • type WebhookNode implements Node {
  • # The config, in JSON object format (i.e. - dict, map).
  • config: AWSJSON
  • # When and who created.
  • created: AtBy!
  • # A human-readable description.
  • description: String
  • # The Webhooks endpoint to forward webhooks events to.
  • # Accepts POST webhook events at the root path.
  • # POST events may be any JSON-based payload.
  • endpoint: AWSURL!
  • # A Python code string that contains a single top-level function definition.
  • # This function must have the signature (*, context, request, **kwargs) and return
  • # None or a tuple containing
  • # an AuthCredentials and BaseUser (or subclasses).
  • # Mutually exclusive with managedApiAuthenticator.
  • inlineApiAuthenticator: String
  • # When and who modified.
  • lastModified: AtBy!
  • # The logging level.
  • loggingLevel: LogLevel
  • # The managedApiAuthenticator. Mutually exclusive with the inlineApiAuthenticator.
  • managedApiAuthenticator: ApiAuthenticatorFunction
  • # The name.
  • name: String!
  • # The list of Python requirements, in pip format.
  • requirements: [String!]
  • # A list of the Edges messages are sent on.
  • sendEdges: [Edge]
  • # The MessageType that this Node is capable of sending.
  • sendMessageType: MessageType
  • # Is the Node stopped; null == false.
  • stopped: Boolean
  • # The Tenant.
  • tenant: Tenant!
  • # Deletes this Node and all of its Edges.
  • #
  • # Arguments
  • # drainEdges: If sending Edges attached to this Nodes should be
  • # drained. Defaults to True.
  • Delete(drainEdges: Boolean): Boolean!
  • # Lists the changes.
  • #
  • # Arguments
  • # endDateTime: The end date/time (inclusive) to list changes for
  • # in ISO8601 format. Defaults to now.
  • # exclusiveStartKey: The lastEvaluatedKey from a previous
  • # ChangeResult. Used when paginating.
  • # limit: Used for limiting the number of results when paginating.
  • # Defaults to "all".
  • # sortAscending: True for ascending results, False for descending
  • # result. Defaults to True.
  • # startDateTime: The start date/time (inclusive) to list changes
  • # for in ISO8601 format. Defaults to the beginning of time.
  • ListChanges(
  • endDateTime: AWSDateTime,
  • exclusiveStartKey: AWSJSON,
  • limit: Int,
  • sortAscending: Boolean,
  • startDateTime: AWSDateTime
  • ): ChangeResult!
  • # Lists log events that are emitted by the inlineProcessor/managedProcessor
  • #
  • # Arguments
  • # endDateTime: The end date/time, inclusive, to list the log
  • # events to. Defaults to now.
  • # filterPattern: The filter pattern to apply, in AWS Cloudwatch
  • # Logs filter pattern format (
  • # https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/FilterAndPatternSyntax.html
  • # ).
  • # limit: The number of log events to return. Maximum 10,000.
  • # nextToken: The nextToken returned from a previous call to
  • # ListLogEvents.
  • # startDateTime: The start date/time, inclusive, to list the log
  • # events from. Defaults to the beginning of time.
  • ListLogEvents(
  • endDateTime: AWSDateTime,
  • filterPattern: String,
  • limit: Int,
  • nextToken: String,
  • startDateTime: AWSDateTime
  • ): LogEventResults!
  • # Starts a stopped Node. Has no effect on an already running Node.
  • Start: Boolean!
  • # Stops a running Node. Has no effect on an already stopped Node.
  • Stop: Boolean!
  • # Updates the Node and returns it.
  • #
  • # Arguments
  • # config: The config, in JSON object format (i.e. - dict, map).
  • # description: A human-readable description.
  • # inlineApiAuthenticator: A Python code string that contains a
  • # single top-level function definition.
  • # This function must have the signature (*, context, request, **kwargs) and return
  • # None or a tuple containing
  • # an AuthCredentials and BaseUser (or subclasses).
  • # Mutually exclusive with managedApiAuthenticator.
  • # loggingLevel: The logging level applied to the processor
  • # function.
  • # managedApiAuthenticator: The managedApiAuthenticator. Mutually
  • # exclusive with the inlineApiAuthenticator.
  • # requirements: The list of Python requirements, in pip format.
  • Update(
  • config: AWSJSON,
  • description: String,
  • inlineApiAuthenticator: String,
  • loggingLevel: LogLevel,
  • managedApiAuthenticator: String,
  • requirements: [String!]
  • ): WebhookNode!
  • # Validates the supplied code against the supplied message.
  • #
  • # Arguments
  • # code: The code to validate.
  • # request: The request to use for validation. This is a JSON
  • # representation of a starlette Request object.
  • # loggingLevel: The loggingLevel to use during the validation.
  • # Defaults to INFO.
  • Validate(code: String!, request: AWSJSON!, loggingLevel: LogLevel): ValidationResult!
  • }