libZSservicesZSamazonka-iotZSamazonka-iot
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.IoT.Types.KeyPair

Description

 
Synopsis

Documentation

data KeyPair Source #

Describes a key pair.

See: newKeyPair smart constructor.

Constructors

KeyPair' 

Fields

Instances

Instances details
Eq KeyPair Source # 
Instance details

Defined in Amazonka.IoT.Types.KeyPair

Methods

(==) :: KeyPair -> KeyPair -> Bool #

(/=) :: KeyPair -> KeyPair -> Bool #

Show KeyPair Source # 
Instance details

Defined in Amazonka.IoT.Types.KeyPair

Generic KeyPair Source # 
Instance details

Defined in Amazonka.IoT.Types.KeyPair

Associated Types

type Rep KeyPair :: Type -> Type #

Methods

from :: KeyPair -> Rep KeyPair x #

to :: Rep KeyPair x -> KeyPair #

NFData KeyPair Source # 
Instance details

Defined in Amazonka.IoT.Types.KeyPair

Methods

rnf :: KeyPair -> () #

Hashable KeyPair Source # 
Instance details

Defined in Amazonka.IoT.Types.KeyPair

Methods

hashWithSalt :: Int -> KeyPair -> Int #

hash :: KeyPair -> Int #

FromJSON KeyPair Source # 
Instance details

Defined in Amazonka.IoT.Types.KeyPair

type Rep KeyPair Source # 
Instance details

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.