TopicRulePayload

public struct TopicRulePayload : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The actions associated with the rule.

    Declaration

    Swift

    public let actions: [Action]
  • The version of the SQL rules engine to use when evaluating the rule.

    Declaration

    Swift

    public let awsIotSqlVersion: String?
  • The description of the rule.

    Declaration

    Swift

    public let description: String?
  • The action to take when an error occurs.

    Declaration

    Swift

    public let errorAction: Action?
  • Specifies whether the rule is disabled.

    Declaration

    Swift

    public let ruleDisabled: Bool?
  • sql

    The SQL statement used to query the topic. For more information, see AWS IoT SQL Reference in the AWS IoT Developer Guide.

    Declaration

    Swift

    public let sql: String
  • Undocumented

    Declaration

    Swift

    public init(actions: [Action], awsIotSqlVersion: String? = nil, description: String? = nil, errorAction: Action? = nil, ruleDisabled: Bool? = nil, sql: String)
  • Declaration

    Swift

    public func validate(name: String) throws