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 |
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
- data DeleteKnownHostKeys = DeleteKnownHostKeys' {
- instanceName :: Text
- newDeleteKnownHostKeys :: Text -> DeleteKnownHostKeys
- deleteKnownHostKeys_instanceName :: Lens' DeleteKnownHostKeys Text
- data DeleteKnownHostKeysResponse = DeleteKnownHostKeysResponse' {
- operations :: Maybe [Operation]
- httpStatus :: Int
- newDeleteKnownHostKeysResponse :: Int -> DeleteKnownHostKeysResponse
- deleteKnownHostKeysResponse_operations :: Lens' DeleteKnownHostKeysResponse (Maybe [Operation])
- deleteKnownHostKeysResponse_httpStatus :: Lens' DeleteKnownHostKeysResponse Int
Creating a Request
data DeleteKnownHostKeys Source #
See: newDeleteKnownHostKeys
smart constructor.
DeleteKnownHostKeys' | |
|
Instances
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.
DeleteKnownHostKeysResponse' | |
|
Instances
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.
deleteKnownHostKeysResponse_httpStatus :: Lens' DeleteKnownHostKeysResponse Int Source #
The response's http status code.