aws iotevents create-detector-model

Creates a detector model

Options

NameDescription
--detector-model-name <string>The name of the detector model
--detector-model-definition <structure>Information that defines how the detectors operate
--detector-model-description <string>A brief description of the detector model
--key <string>The input attribute key used to identify a device or system to create a detector (an instance of the detector model) and then to route each input received to the appropriate detector (instance). This parameter uses a JSON-path expression in the message payload of each input to specify the attribute-value pair that is used to identify the device associated with the input
--role-arn <string>The ARN of the role that grants permission to AWS IoT Events to perform its operations
--tags <list>Metadata that can be used to manage the detector model
--evaluation-method <string>Information about the order in which events are evaluated and how actions are executed
--cli-input-json <string>Performs service operation based on the JSON string provided. The JSON string follows the format provided by ``--generate-cli-skeleton``. If other arguments are provided on the command line, the CLI values will override the JSON-provided values. It is not possible to pass arbitrary binary values using a JSON-provided value as the string will be taken literally
--generate-cli-skeleton <string>Prints a JSON skeleton to standard output without sending an API request. If provided with no value or the value ``input``, prints a sample input JSON that can be used as an argument for ``--cli-input-json``. If provided with the value ``output``, it validates the command inputs and returns a sample output JSON for that command