amazonka-lightsail-2.0: Amazon Lightsail SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Lightsail.DeleteKnownHostKeys

Description

Deletes the known host key or certificate used by the Amazon Lightsail browser-based SSH or RDP clients to authenticate an instance. This operation enables the Lightsail browser-based SSH or RDP clients to connect to the instance after a host key mismatch.

Perform this operation only if you were expecting the host key or certificate mismatch or if you are familiar with the new host key or certificate on the instance. For more information, see Troubleshooting connection issues when using the Amazon Lightsail browser-based SSH or RDP client.

Synopsis

Creating a Request

data DeleteKnownHostKeys Source #

See: newDeleteKnownHostKeys smart constructor.

Constructors

DeleteKnownHostKeys' 

Fields

  • instanceName :: Text

    The name of the instance for which you want to reset the host key or certificate.

Instances

Instances details
ToJSON DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

ToHeaders DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

ToPath DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

ToQuery DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

AWSRequest DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Associated Types

type AWSResponse DeleteKnownHostKeys #

Generic DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Associated Types

type Rep DeleteKnownHostKeys :: Type -> Type #

Read DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Show DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

NFData DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Methods

rnf :: DeleteKnownHostKeys -> () #

Eq DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Hashable DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

type AWSResponse DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

type Rep DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

type Rep DeleteKnownHostKeys = D1 ('MetaData "DeleteKnownHostKeys" "Amazonka.Lightsail.DeleteKnownHostKeys" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "DeleteKnownHostKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteKnownHostKeys Source #

Create a value of DeleteKnownHostKeys 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:

DeleteKnownHostKeys, deleteKnownHostKeys_instanceName - The name of the instance for which you want to reset the host key or certificate.

Request Lenses

deleteKnownHostKeys_instanceName :: Lens' DeleteKnownHostKeys Text Source #

The name of the instance for which you want to reset the host key or certificate.

Destructuring the Response

data DeleteKnownHostKeysResponse Source #

See: newDeleteKnownHostKeysResponse smart constructor.

Constructors

DeleteKnownHostKeysResponse' 

Fields

  • operations :: Maybe [Operation]

    An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic DeleteKnownHostKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Associated Types

type Rep DeleteKnownHostKeysResponse :: Type -> Type #

Read DeleteKnownHostKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Show DeleteKnownHostKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

NFData DeleteKnownHostKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Eq DeleteKnownHostKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

type Rep DeleteKnownHostKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

type Rep DeleteKnownHostKeysResponse = D1 ('MetaData "DeleteKnownHostKeysResponse" "Amazonka.Lightsail.DeleteKnownHostKeys" "amazonka-lightsail-2.0-77hvsZhtZFxFduYae8QaN0" 'False) (C1 ('MetaCons "DeleteKnownHostKeysResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "operations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Operation])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteKnownHostKeysResponse Source #

Create a value of DeleteKnownHostKeysResponse 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:operations:DeleteKnownHostKeysResponse', deleteKnownHostKeysResponse_operations - An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.

$sel:httpStatus:DeleteKnownHostKeysResponse', deleteKnownHostKeysResponse_httpStatus - The response's http status code.

Response Lenses

deleteKnownHostKeysResponse_operations :: Lens' DeleteKnownHostKeysResponse (Maybe [Operation]) Source #

An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.