libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.SageMaker.Types.SearchExpression

Description

 
Synopsis

Documentation

data SearchExpression Source #

A multi-expression that searches for the specified resource or resources in a search. All resource objects that satisfy the expression's condition are included in the search results. You must specify at least one subexpression, filter, or nested filter. A SearchExpression can contain up to twenty elements.

A SearchExpression contains the following components:

  • A list of Filter objects. Each filter defines a simple Boolean expression comprised of a resource property name, Boolean operator, and value.
  • A list of NestedFilter objects. Each nested filter defines a list of Boolean expressions using a list of resource properties. A nested filter is satisfied if a single object in the list satisfies all Boolean expressions.
  • A list of SearchExpression objects. A search expression object can be nested in a list of search expression objects.
  • A Boolean operator: And or Or.

See: newSearchExpression smart constructor.

Constructors

SearchExpression' 

Fields

Instances

Instances details
Eq SearchExpression Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SearchExpression

Read SearchExpression Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SearchExpression

Show SearchExpression Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SearchExpression

Generic SearchExpression Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SearchExpression

Associated Types

type Rep SearchExpression :: Type -> Type #

NFData SearchExpression Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SearchExpression

Methods

rnf :: SearchExpression -> () #

Hashable SearchExpression Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SearchExpression

ToJSON SearchExpression Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SearchExpression

type Rep SearchExpression Source # 
Instance details

Defined in Amazonka.SageMaker.Types.SearchExpression

type Rep SearchExpression = D1 ('MetaData "SearchExpression" "Amazonka.SageMaker.Types.SearchExpression" "libZSservicesZSamazonka-sagemakerZSamazonka-sagemaker" 'False) (C1 ('MetaCons "SearchExpression'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "subExpressions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty SearchExpression))) :*: S1 ('MetaSel ('Just "operator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BooleanOperator))) :*: (S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Filter))) :*: S1 ('MetaSel ('Just "nestedFilters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty NestedFilters))))))

newSearchExpression :: SearchExpression Source #

Create a value of SearchExpression with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:subExpressions:SearchExpression', searchExpression_subExpressions - A list of search expression objects.

$sel:operator:SearchExpression', searchExpression_operator - A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.

$sel:filters:SearchExpression', searchExpression_filters - A list of filter objects.

$sel:nestedFilters:SearchExpression', searchExpression_nestedFilters - A list of nested filter objects.

searchExpression_operator :: Lens' SearchExpression (Maybe BooleanOperator) Source #

A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.