| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Transfer.DeleteHostKey
Description
Deletes the host key that's specified in the HoskKeyId parameter.
Creating a Request
data DeleteHostKey Source #
See: newDeleteHostKey smart constructor.
Constructors
| DeleteHostKey' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteHostKey |
Create a value of DeleteHostKey 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:
DeleteHostKey, deleteHostKey_serverId - The identifier of the server that contains the host key that you are
deleting.
DeleteHostKey, deleteHostKey_hostKeyId - The identifier of the host key that you are deleting.
Request Lenses
deleteHostKey_serverId :: Lens' DeleteHostKey Text Source #
The identifier of the server that contains the host key that you are deleting.
deleteHostKey_hostKeyId :: Lens' DeleteHostKey Text Source #
The identifier of the host key that you are deleting.
Destructuring the Response
data DeleteHostKeyResponse Source #
See: newDeleteHostKeyResponse smart constructor.
Constructors
| DeleteHostKeyResponse' | |
Instances
newDeleteHostKeyResponse :: DeleteHostKeyResponse Source #
Create a value of DeleteHostKeyResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.