OBJECT

LoadBalancerNode

Load balances received messages across all sendEdges by distributing messages evenly and then randomly distributing any remaining messages. While not required, all Nodes that are targets to a LoadBalancerNode's sendEdges should be clones of each other. By definition will eliminate guaranteed ordering.

link GraphQL Schema definition

  • type LoadBalancerNode implements Node {
  • # When and who created.
  • created: AtBy!
  • # A human-readable description.
  • description: String
  • # When and who modified.
  • lastModified: AtBy!
  • # The name.
  • name: String!
  • # A list of the Edges messages are received on.
  • receiveEdges: [Edge]
  • # The MessageType that this Node is capable of receiving.
  • receiveMessageType: MessageType
  • # 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!
  • # 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 and returns the LoadBalancerNode
  • #
  • # Arguments
  • # description: A human-readable description.
  • Update(description: String): LoadBalancerNode!
  • }