| Copyright | (c) 2013-2021 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
Amazonka.EMR.Types.KeyValue
Description
Documentation
A key-value pair.
See: newKeyValue smart constructor.
Constructors
| KeyValue' | |
Instances
| Eq KeyValue Source # | |
| Read KeyValue Source # | |
| Show KeyValue Source # | |
| Generic KeyValue Source # | |
| NFData KeyValue Source # | |
Defined in Amazonka.EMR.Types.KeyValue | |
| Hashable KeyValue Source # | |
Defined in Amazonka.EMR.Types.KeyValue | |
| ToJSON 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" "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.