Class: Aws::Glue::Types::Predicate
- Inherits:
-
Struct
- Object
- Struct
- Aws::Glue::Types::Predicate
- Defined in:
- gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb
Overview
Note:
When making an API call, you may pass Predicate data as a hash:
{
logical: "AND", # accepts AND, ANY
conditions: [
{
logical_operator: "EQUALS", # accepts EQUALS
job_name: "NameString",
state: "STARTING", # accepts STARTING, RUNNING, STOPPING, STOPPED, SUCCEEDED, FAILED, TIMEOUT
crawler_name: "NameString",
crawl_state: "RUNNING", # accepts RUNNING, CANCELLING, CANCELLED, SUCCEEDED, FAILED
},
],
}
Defines the predicate of the trigger, which determines when it fires.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#conditions ⇒ Array<Types::Condition>
A list of the conditions that determine when the trigger will fire.
-
#logical ⇒ String
An optional field if only one condition is listed.
Instance Attribute Details
#conditions ⇒ Array<Types::Condition>
A list of the conditions that determine when the trigger will fire.
13944 13945 13946 13947 13948 13949 |
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 13944 class Predicate < Struct.new( :logical, :conditions) SENSITIVE = [] include Aws::Structure end |
#logical ⇒ String
An optional field if only one condition is listed. If multiple conditions are listed, then this field is required.
13944 13945 13946 13947 13948 13949 |
# File 'gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb', line 13944 class Predicate < Struct.new( :logical, :conditions) SENSITIVE = [] include Aws::Structure end |