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 |
Documentation
Describes a key pair.
See: newKeyPair
smart constructor.
Instances
Eq KeyPair Source # | |
Show KeyPair Source # | |
Generic KeyPair Source # | |
NFData KeyPair Source # | |
Defined in Amazonka.IoT.Types.KeyPair | |
Hashable KeyPair Source # | |
Defined in Amazonka.IoT.Types.KeyPair | |
FromJSON KeyPair Source # | |
type Rep KeyPair Source # | |
Defined in Amazonka.IoT.Types.KeyPair type Rep KeyPair = D1 ('MetaData "KeyPair" "Amazonka.IoT.Types.KeyPair" "libZSservicesZSamazonka-iotZSamazonka-iot" '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.