DeleteRuleRequest

public struct DeleteRuleRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The event bus associated with the rule. If you omit this, the default event bus is used.

    Declaration

    Swift

    public let eventBusName: String?
  • If this is a managed rule, created by an AWS service on your behalf, you must specify Force as True to delete the rule. This parameter is ignored for rules that are not managed rules. You can check whether a rule is a managed rule by using DescribeRule or ListRules and checking the ManagedBy field of the response.

    Declaration

    Swift

    public let force: Bool?
  • The name of the rule.

    Declaration

    Swift

    public let name: String
  • Undocumented

    Declaration

    Swift

    public init(eventBusName: String? = nil, force: Bool? = nil, name: String)
  • Declaration

    Swift

    public func validate(name: String) throws