libZSservicesZSamazonka-emrZSamazonka-emr
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.EMR.Types.KeyValue

Description

 
Synopsis

Documentation

data KeyValue Source #

A key-value pair.

See: newKeyValue smart constructor.

Constructors

KeyValue' 

Fields

Instances

Instances details
Eq KeyValue Source # 
Instance details

Defined in Amazonka.EMR.Types.KeyValue

Read KeyValue Source # 
Instance details

Defined in Amazonka.EMR.Types.KeyValue

Show KeyValue Source # 
Instance details

Defined in Amazonka.EMR.Types.KeyValue

Generic KeyValue Source # 
Instance details

Defined in Amazonka.EMR.Types.KeyValue

Associated Types

type Rep KeyValue :: Type -> Type #

Methods

from :: KeyValue -> Rep KeyValue x #

to :: Rep KeyValue x -> KeyValue #

NFData KeyValue Source # 
Instance details

Defined in Amazonka.EMR.Types.KeyValue

Methods

rnf :: KeyValue -> () #

Hashable KeyValue Source # 
Instance details

Defined in Amazonka.EMR.Types.KeyValue

Methods

hashWithSalt :: Int -> KeyValue -> Int #

hash :: KeyValue -> Int #

ToJSON KeyValue Source # 
Instance details

Defined in Amazonka.EMR.Types.KeyValue

type Rep KeyValue Source # 
Instance details

Defined in Amazonka.EMR.Types.KeyValue

type Rep KeyValue = D1 ('MetaData "KeyValue" "Amazonka.EMR.Types.KeyValue" "libZSservicesZSamazonka-emrZSamazonka-emr" 'False) (C1 ('MetaCons "KeyValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newKeyValue :: KeyValue Source #

Create a value of KeyValue 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:value:KeyValue', keyValue_value - The value part of the identified key.

$sel:key:KeyValue', keyValue_key - The unique identifier of a key-value pair.

keyValue_value :: Lens' KeyValue (Maybe Text) Source #

The value part of the identified key.

keyValue_key :: Lens' KeyValue (Maybe Text) Source #

The unique identifier of a key-value pair.