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.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
Eq DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Read DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Show DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Generic DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Associated Types

type Rep DeleteKnownHostKeys :: Type -> Type #

NFData DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Methods

rnf :: DeleteKnownHostKeys -> () #

Hashable DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

ToJSON DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

AWSRequest DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Associated Types

type AWSResponse 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

type Rep DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

type Rep DeleteKnownHostKeys = D1 ('MetaData "DeleteKnownHostKeys" "Amazonka.Lightsail.DeleteKnownHostKeys" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" 'False) (C1 ('MetaCons "DeleteKnownHostKeys'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteKnownHostKeys Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

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:

$sel:instanceName: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
Eq DeleteKnownHostKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Read DeleteKnownHostKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Show DeleteKnownHostKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Generic DeleteKnownHostKeysResponse Source # 
Instance details

Defined in Amazonka.Lightsail.DeleteKnownHostKeys

Associated Types

type Rep DeleteKnownHostKeysResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-lightsailZSamazonka-lightsail" '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.