Condition

public struct Condition : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The name of the crawler to which this condition applies.

    Declaration

    Swift

    public let crawlerName: String?
  • The state of the crawler to which this condition applies.

    Declaration

    Swift

    public let crawlState: CrawlState?
  • The name of the job whose JobRuns this condition applies to, and on which this trigger waits.

    Declaration

    Swift

    public let jobName: String?
  • A logical operator.

    Declaration

    Swift

    public let logicalOperator: LogicalOperator?
  • The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.

    Declaration

    Swift

    public let state: JobRunState?
  • Undocumented

    Declaration

    Swift

    public init(crawlerName: String? = nil, crawlState: CrawlState? = nil, jobName: String? = nil, logicalOperator: LogicalOperator? = nil, state: JobRunState? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws