amazonka-datapipeline-2.0: Amazon Data Pipeline SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataPipeline.Types.Field

Description

 
Synopsis

Documentation

data Field Source #

A key-value pair that describes a property of a pipeline object. The value is specified as either a string value (StringValue) or a reference to another object (RefValue) but not as both.

See: newField smart constructor.

Constructors

Field' 

Fields

Instances

Instances details
FromJSON Field Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Field

ToJSON Field Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Field

Generic Field Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Field

Associated Types

type Rep Field :: Type -> Type #

Methods

from :: Field -> Rep Field x #

to :: Rep Field x -> Field #

Read Field Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Field

Show Field Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Field

Methods

showsPrec :: Int -> Field -> ShowS #

show :: Field -> String #

showList :: [Field] -> ShowS #

NFData Field Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Field

Methods

rnf :: Field -> () #

Eq Field Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Field

Methods

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

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

Hashable Field Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Field

Methods

hashWithSalt :: Int -> Field -> Int #

hash :: Field -> Int #

type Rep Field Source # 
Instance details

Defined in Amazonka.DataPipeline.Types.Field

type Rep Field = D1 ('MetaData "Field" "Amazonka.DataPipeline.Types.Field" "amazonka-datapipeline-2.0-1cySuAk2jmdDRpZSxMUuos" 'False) (C1 ('MetaCons "Field'" 'PrefixI 'True) (S1 ('MetaSel ('Just "refValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stringValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newField Source #

Arguments

:: Text

$sel:key:Field'

-> Field 

Create a value of Field 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:refValue:Field', field_refValue - The field value, expressed as the identifier of another object.

$sel:stringValue:Field', field_stringValue - The field value, expressed as a String.

$sel:key:Field', field_key - The field identifier.

field_refValue :: Lens' Field (Maybe Text) Source #

The field value, expressed as the identifier of another object.

field_stringValue :: Lens' Field (Maybe Text) Source #

The field value, expressed as a String.

field_key :: Lens' Field Text Source #

The field identifier.