| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EMR.Types.KeyValue
Description
Documentation
A key-value pair.
See: newKeyValue smart constructor.
Constructors
| KeyValue' | |
Instances
| ToJSON KeyValue Source # | |
Defined in Amazonka.EMR.Types.KeyValue | |
| Generic KeyValue Source # | |
| Read KeyValue Source # | |
| Show KeyValue Source # | |
| NFData KeyValue Source # | |
Defined in Amazonka.EMR.Types.KeyValue | |
| Eq KeyValue Source # | |
| Hashable KeyValue Source # | |
Defined in Amazonka.EMR.Types.KeyValue | |
| type Rep KeyValue Source # | |
Defined in Amazonka.EMR.Types.KeyValue type Rep KeyValue = D1 ('MetaData "KeyValue" "Amazonka.EMR.Types.KeyValue" "amazonka-emr-2.0-B3cWhP6sdymF3IBUMdPGcd" 'False) (C1 ('MetaCons "KeyValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") '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:key:KeyValue', keyValue_key - The unique identifier of a key-value pair.
$sel:value:KeyValue', keyValue_value - The value part of the identified key.