Class: Aws::AmplifyUIBuilder::Types::Predicate
- Inherits:
-
Struct
- Object
- Struct
- Aws::AmplifyUIBuilder::Types::Predicate
- Defined in:
- gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb
Overview
Note:
When making an API call, you may pass Predicate data as a hash:
{
and: [
{
and: {
# recursive PredicateList
},
field: "String",
operand: "String",
operator: "String",
or: {
# recursive PredicateList
},
},
],
field: "String",
operand: "String",
operator: "String",
or: [
{
and: {
# recursive PredicateList
},
field: "String",
operand: "String",
operator: "String",
or: {
# recursive PredicateList
},
},
],
}
Stores information for generating Amplify DataStore queries. Use a
Predicate
to retrieve a subset of the data in a collection.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#and ⇒ Array<Types::Predicate>
A list of predicates to combine logically.
-
#field ⇒ String
The field to query.
-
#operand ⇒ String
The value to use when performing the evaluation.
-
#operator ⇒ String
The operator to use to perform the evaluation.
-
#or ⇒ Array<Types::Predicate>
A list of predicates to combine logically.
Instance Attribute Details
#and ⇒ Array<Types::Predicate>
A list of predicates to combine logically.
5258 5259 5260 5261 5262 5263 5264 5265 5266 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 5258 class Predicate < Struct.new( :and, :field, :operand, :operator, :or) SENSITIVE = [] include Aws::Structure end |
#field ⇒ String
The field to query.
5258 5259 5260 5261 5262 5263 5264 5265 5266 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 5258 class Predicate < Struct.new( :and, :field, :operand, :operator, :or) SENSITIVE = [] include Aws::Structure end |
#operand ⇒ String
The value to use when performing the evaluation.
5258 5259 5260 5261 5262 5263 5264 5265 5266 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 5258 class Predicate < Struct.new( :and, :field, :operand, :operator, :or) SENSITIVE = [] include Aws::Structure end |
#operator ⇒ String
The operator to use to perform the evaluation.
5258 5259 5260 5261 5262 5263 5264 5265 5266 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 5258 class Predicate < Struct.new( :and, :field, :operand, :operator, :or) SENSITIVE = [] include Aws::Structure end |
#or ⇒ Array<Types::Predicate>
A list of predicates to combine logically.
5258 5259 5260 5261 5262 5263 5264 5265 5266 |
# File 'gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/types.rb', line 5258 class Predicate < Struct.new( :and, :field, :operand, :operator, :or) SENSITIVE = [] include Aws::Structure end |