libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline
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.DataPipeline.Types.Query

Description

 
Synopsis

Documentation

data Query Source #

Defines the query to run against an object.

See: newQuery smart constructor.

Constructors

Query' 

Fields

  • selectors :: Maybe [Selector]

    List of selectors that define the query. An object must satisfy all of the selectors to match the query.

Instances

Instances details
Eq Query Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Query

Methods

(==) :: Query -> Query -> Bool #

(/=) :: Query -> Query -> Bool #

Read Query Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Query

Show Query Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Query

Methods

showsPrec :: Int -> Query -> ShowS #

show :: Query -> String #

showList :: [Query] -> ShowS #

Generic Query Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Query

Associated Types

type Rep Query :: Type -> Type #

Methods

from :: Query -> Rep Query x #

to :: Rep Query x -> Query #

NFData Query Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Query

Methods

rnf :: Query -> () #

Hashable Query Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Query

Methods

hashWithSalt :: Int -> Query -> Int #

hash :: Query -> Int #

ToJSON Query Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Query

type Rep Query Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Query

type Rep Query = D1 ('MetaData "Query" "Amazonka.DataPipeline.Types.Query" "libZSservicesZSamazonka-datapipelineZSamazonka-datapipeline" 'False) (C1 ('MetaCons "Query'" 'PrefixI 'True) (S1 ('MetaSel ('Just "selectors") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Selector]))))

newQuery :: Query Source #

Create a value of Query 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:selectors:Query', query_selectors - List of selectors that define the query. An object must satisfy all of the selectors to match the query.

query_selectors :: Lens' Query (Maybe [Selector]) Source #

List of selectors that define the query. An object must satisfy all of the selectors to match the query.