libZSservicesZSamazonka-lightsailZSamazonka-lightsail
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.Lightsail.DownloadDefaultKeyPair

Description

Downloads the default SSH key pair from the user's account.

Synopsis

Creating a Request

data DownloadDefaultKeyPair Source #

See: newDownloadDefaultKeyPair smart constructor.

Instances

Instances details
Eq DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

Read DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

Show DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

Generic DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

Associated Types

type Rep DownloadDefaultKeyPair :: Type -> Type #

NFData DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

Methods

rnf :: DownloadDefaultKeyPair -> () #

Hashable DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

ToJSON DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

AWSRequest DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

Associated Types

type AWSResponse DownloadDefaultKeyPair #

ToHeaders DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

ToPath DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

ToQuery DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

type Rep DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

type Rep DownloadDefaultKeyPair = D1 ('MetaData "DownloadDefaultKeyPair" "Amazonka.Lightsail.DownloadDefaultKeyPair" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DownloadDefaultKeyPair'" 'PrefixI 'False) (U1 :: Type -> Type))
type AWSResponse DownloadDefaultKeyPair Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

newDownloadDefaultKeyPair :: DownloadDefaultKeyPair Source #

Create a value of DownloadDefaultKeyPair with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

Destructuring the Response

data DownloadDefaultKeyPairResponse Source #

See: newDownloadDefaultKeyPairResponse smart constructor.

Constructors

DownloadDefaultKeyPairResponse' 

Fields

Instances

Instances details
Eq DownloadDefaultKeyPairResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

Read DownloadDefaultKeyPairResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

Show DownloadDefaultKeyPairResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

Generic DownloadDefaultKeyPairResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

Associated Types

type Rep DownloadDefaultKeyPairResponse :: Type -> Type #

NFData DownloadDefaultKeyPairResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

type Rep DownloadDefaultKeyPairResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DownloadDefaultKeyPair

type Rep DownloadDefaultKeyPairResponse = D1 ('MetaData "DownloadDefaultKeyPairResponse" "Amazonka.Lightsail.DownloadDefaultKeyPair" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DownloadDefaultKeyPairResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "publicKeyBase64") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "privateKeyBase64") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDownloadDefaultKeyPairResponse Source #

Create a value of DownloadDefaultKeyPairResponse 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:publicKeyBase64:DownloadDefaultKeyPairResponse', downloadDefaultKeyPairResponse_publicKeyBase64 - A base64-encoded public key of the ssh-rsa type.

$sel:privateKeyBase64:DownloadDefaultKeyPairResponse', downloadDefaultKeyPairResponse_privateKeyBase64 - A base64-encoded RSA private key.

$sel:httpStatus:DownloadDefaultKeyPairResponse', downloadDefaultKeyPairResponse_httpStatus - The response's http status code.

Response Lenses