OBJECT
BitmapperFunction
Represents a bitmapper function in the Function library. BitmapperFunctions are used in RouterNodes.
link GraphQL Schema definition
- type BitmapperFunction implements Function {
- # The MessageType passed in to the Function.
- MessageType! :
- # A Python code string that contains a single top-level function definition.
- # This function must have the signature (*, context, message, source, **kwargs)
- # and return an integer.
- String! :
- # When and who created.
- AtBy! :
- # A human-readable description.
- String! :
- # True if this is used by other resources.
- Boolean! :
- # When and who modified.
- AtBy! :
- # The name.
- String! :
- # README in MarkDown format.
- String :
- # The list of Python requirements, in pip format.
- String!] : [
- # True if this is an EchoStream system resource.
- Boolean :
- # The Tenant.
- Tenant :
- # Deletes this.
- 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.
- (
- AWSDateTime, :
- AWSJSON, :
- Int, :
- Boolean, :
- AWSDateTime :
- ): ChangeResult!
- # Updates the Function. Note that all Nodes that use this Function may also be
- # updated - see blow.
- #
- # Arguments
- # code: A Python code string that contains a single top-level
- # function definition.
- # This function must have the signature (*, context, message, source, **kwargs)
- # and return an integer.
- # description: The description. Null is ignored.
- # readme: The README. Must be in MarkDown format. Null removes
- # the readme.
- # The README in MarkDown format.
- # requirements: The requirements. Each element must be in pip
- # requirement format. Null or an empty list removes all requirements.
- (
- String, :
- String, :
- String, :
- String!] : [
- ): BitmapperFunction!
- # Validates the supplied 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.
- # source: The source "node" of the test message. Defaults to
- # "Validation".
- (
- String!, :
- String!, :
- LogLevel, :
- String :
- ): ValidationResult!
- }
link Require by
- BitmapperFunctionRepresents a bitmapper function in the Function library. BitmapperFunctions are used in RouterNodes.
- BitmapRouterNodeBitMapRouterNodes use a bitmapper function (either inline or referenced) to construct a bitmap of truthy values for each message processed. The message bitmap is then and'ed with route bitmaps. If the result of the and is equal to the route bitmap then the message is sent along that route.
- EchoA union of all EchoStream object types
- MutationRoot Mutation