libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk
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.ElasticBeanstalk.Types.SearchFilter

Description

 
Synopsis

Documentation

data SearchFilter Source #

Describes criteria to restrict a list of results.

For operators that apply a single value to the attribute, the filter is evaluated as follows: Attribute Operator Values[1]

Some operators, e.g. in, can apply multiple values. In this case, the filter is evaluated as a logical union (OR) of applications of the operator to the attribute with each one of the values: (Attribute Operator Values[1]) OR (Attribute Operator Values[2]) OR ...

The valid values for attributes of SearchFilter depend on the API action. For valid values, see the reference page for the API action you're calling that takes a SearchFilter parameter.

See: newSearchFilter smart constructor.

Constructors

SearchFilter' 

Fields

  • attribute :: Maybe Text

    The result attribute to which the filter values are applied. Valid values vary by API action.

  • values :: Maybe [Text]

    The list of values applied to the Attribute and Operator attributes. Number of values and valid values vary by Attribute.

  • operator :: Maybe Text

    The operator to apply to the Attribute with each of the Values. Valid values vary by Attribute.

Instances

Instances details
Eq SearchFilter Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SearchFilter

Read SearchFilter Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SearchFilter

Show SearchFilter Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SearchFilter

Generic SearchFilter Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SearchFilter

Associated Types

type Rep SearchFilter :: Type -> Type #

NFData SearchFilter Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SearchFilter

Methods

rnf :: SearchFilter -> () #

Hashable SearchFilter Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SearchFilter

ToQuery SearchFilter Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SearchFilter

type Rep SearchFilter Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.SearchFilter

type Rep SearchFilter = D1 ('MetaData "SearchFilter" "Amazonka.ElasticBeanstalk.Types.SearchFilter" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "SearchFilter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "attribute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "operator") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSearchFilter :: SearchFilter Source #

Create a value of SearchFilter 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:attribute:SearchFilter', searchFilter_attribute - The result attribute to which the filter values are applied. Valid values vary by API action.

$sel:values:SearchFilter', searchFilter_values - The list of values applied to the Attribute and Operator attributes. Number of values and valid values vary by Attribute.

$sel:operator:SearchFilter', searchFilter_operator - The operator to apply to the Attribute with each of the Values. Valid values vary by Attribute.

searchFilter_attribute :: Lens' SearchFilter (Maybe Text) Source #

The result attribute to which the filter values are applied. Valid values vary by API action.

searchFilter_values :: Lens' SearchFilter (Maybe [Text]) Source #

The list of values applied to the Attribute and Operator attributes. Number of values and valid values vary by Attribute.

searchFilter_operator :: Lens' SearchFilter (Maybe Text) Source #

The operator to apply to the Attribute with each of the Values. Valid values vary by Attribute.