OBJECT

MessageType

Represents a specific MessageType in the system. All messages sent or received must be loosely associated (via Node and Edge typing) with a MessageType.

link GraphQL Schema definition

  • type MessageType {
  • # A Python code string that contains a single top-level function definition.
  • # This function must have the signature (*, message, **kwargs) where
  • # message is a string and must return a flat dictionary.
  • auditor: String!
  • # A Python code string that contains a single top-level function definition.
  • # This function is used as a template when creating custom routing rules in
  • # RouterNodes
  • # that use this MessageType. This function must have the signature
  • # (*, context, message, source, **kwargs) and return an integer.
  • bitmapperTemplate: String!
  • # When and who created.
  • created: AtBy!
  • # A human-readable description.
  • description: String!
  • # True if this is used by other resources.
  • inUse: Boolean!
  • # When and who modified.
  • lastModified: AtBy!
  • # The name.
  • name: String!
  • # A Python code string that contains a single top-level function definition.
  • # This function is used as a template when creating custom processing in
  • # ProcessorNodes
  • # that use this MessageType. This function must have the signature
  • # (*, context, message, source, **kwargs) and return None, a string or a list of
  • # strings.
  • processorTemplate: String!
  • # README in MarkDown format.
  • readme: String
  • # The list of Python requirements, in pip format.
  • requirements: [String!]
  • # A sample message.
  • sampleMessage: String!
  • # True if this is an EchoStream system resource.
  • system: Boolean
  • # The Tenant.
  • tenant: Tenant
  • # Deletes this.
  • Delete: 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!
  • # Updates and returns the MessageType.
  • #
  • # Arguments
  • # auditor: A Python code string that contains a single top-level
  • # function definition.
  • # This function must have the signature (*, message, **kwargs) where
  • # message is a string and must return a flat dictionary.
  • # bitmapperTemplate: A Python code string that contains a single
  • # top-level function definition.
  • # This function is used as a template when creating custom routing rules in
  • # RouterNodes
  • # that use this MessageType. This function must have the signature
  • # (*, context, message, source, **kwargs) and return an integer.
  • # description: A human-readable description.
  • # processorTemplate: A Python code string that contains a single
  • # top-level function definition.
  • # This function is used as a template when creating custom processing in
  • # ProcessorNodes
  • # that use this MessageType. This function must have the signature
  • # (*, context, message, source, **kwargs) and return None, a string or a list of
  • # strings.
  • # readme: README in MarkDown format.
  • # The README in MarkDown format.
  • # requirements: The list of Python requirements, in pip format.
  • # sampleMessage: A sample message.
  • Update(
  • auditor: String,
  • bitmapperTemplate: String,
  • description: String,
  • processorTemplate: String,
  • readme: String,
  • requirements: [String!],
  • sampleMessage: String
  • ): MessageType!
  • # Validates the supplied auditor code against the supplied message.
  • #
  • # Arguments
  • # code: The code to validate.
  • # message: The message to use for validation.
  • # loggingLevel: The loggingLevel to use during the validation.
  • # Defaults to INFO.
  • Validate(code: String!, message: String!, loggingLevel: LogLevel): ValidationResult!
  • }

link Require by