| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.Lightsail.DownloadDefaultKeyPair
Description
Downloads the default SSH key pair from the user's account.
- downloadDefaultKeyPair :: DownloadDefaultKeyPair
- data DownloadDefaultKeyPair
- downloadDefaultKeyPairResponse :: Int -> DownloadDefaultKeyPairResponse
- data DownloadDefaultKeyPairResponse
- ddkprsPublicKeyBase64 :: Lens' DownloadDefaultKeyPairResponse (Maybe Text)
- ddkprsPrivateKeyBase64 :: Lens' DownloadDefaultKeyPairResponse (Maybe Text)
- ddkprsResponseStatus :: Lens' DownloadDefaultKeyPairResponse Int
Creating a Request
downloadDefaultKeyPair :: DownloadDefaultKeyPair Source #
Creates a value of DownloadDefaultKeyPair with the minimum fields required to make a request.
data DownloadDefaultKeyPair Source #
See: downloadDefaultKeyPair smart constructor.
Instances
Destructuring the Response
downloadDefaultKeyPairResponse Source #
Arguments
| :: Int | |
| -> DownloadDefaultKeyPairResponse |
Creates a value of DownloadDefaultKeyPairResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddkprsPublicKeyBase64- A base64-encoded public key of thessh-rsatype.ddkprsPrivateKeyBase64- A base64-encoded RSA private key.ddkprsResponseStatus- -- | The response status code.
data DownloadDefaultKeyPairResponse Source #
See: downloadDefaultKeyPairResponse smart constructor.
Instances
Response Lenses
ddkprsPublicKeyBase64 :: Lens' DownloadDefaultKeyPairResponse (Maybe Text) Source #
A base64-encoded public key of the ssh-rsa type.
ddkprsPrivateKeyBase64 :: Lens' DownloadDefaultKeyPairResponse (Maybe Text) Source #
A base64-encoded RSA private key.
ddkprsResponseStatus :: Lens' DownloadDefaultKeyPairResponse Int Source #
- - | The response status code.