| 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.IoT.Types.KeyPair
Description
Documentation
Describes a key pair.
See: newKeyPair smart constructor.
Constructors
| KeyPair' | |
Instances
| FromJSON KeyPair Source # | |
| Generic KeyPair Source # | |
| Show KeyPair Source # | |
| NFData KeyPair Source # | |
Defined in Amazonka.IoT.Types.KeyPair | |
| Eq KeyPair Source # | |
| Hashable KeyPair Source # | |
Defined in Amazonka.IoT.Types.KeyPair | |
| type Rep KeyPair Source # | |
Defined in Amazonka.IoT.Types.KeyPair type Rep KeyPair = D1 ('MetaData "KeyPair" "Amazonka.IoT.Types.KeyPair" "amazonka-iot-2.0-6w03vgAfmrM1SG22OsNJXL" 'False) (C1 ('MetaCons "KeyPair'" 'PrefixI 'True) (S1 ('MetaSel ('Just "privateKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "publicKey") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) | |
newKeyPair :: KeyPair Source #
Create a value of KeyPair 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:privateKey:KeyPair', keyPair_privateKey - The private key.
$sel:publicKey:KeyPair', keyPair_publicKey - The public key.