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 |
Downloads the default SSH key pair from the user's account.
Synopsis
- data DownloadDefaultKeyPair = DownloadDefaultKeyPair' {
- newDownloadDefaultKeyPair :: DownloadDefaultKeyPair
- data DownloadDefaultKeyPairResponse = DownloadDefaultKeyPairResponse' {}
- newDownloadDefaultKeyPairResponse :: Int -> DownloadDefaultKeyPairResponse
- downloadDefaultKeyPairResponse_publicKeyBase64 :: Lens' DownloadDefaultKeyPairResponse (Maybe Text)
- downloadDefaultKeyPairResponse_privateKeyBase64 :: Lens' DownloadDefaultKeyPairResponse (Maybe Text)
- downloadDefaultKeyPairResponse_httpStatus :: Lens' DownloadDefaultKeyPairResponse Int
Creating a Request
data DownloadDefaultKeyPair Source #
See: newDownloadDefaultKeyPair
smart constructor.
Instances
newDownloadDefaultKeyPair :: DownloadDefaultKeyPair Source #
Create a value of DownloadDefaultKeyPair
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data DownloadDefaultKeyPairResponse Source #
See: newDownloadDefaultKeyPairResponse
smart constructor.
DownloadDefaultKeyPairResponse' | |
|
Instances
newDownloadDefaultKeyPairResponse Source #
Create a value of DownloadDefaultKeyPairResponse
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:publicKeyBase64:DownloadDefaultKeyPairResponse'
, downloadDefaultKeyPairResponse_publicKeyBase64
- A base64-encoded public key of the ssh-rsa
type.
$sel:privateKeyBase64:DownloadDefaultKeyPairResponse'
, downloadDefaultKeyPairResponse_privateKeyBase64
- A base64-encoded RSA private key.
$sel:httpStatus:DownloadDefaultKeyPairResponse'
, downloadDefaultKeyPairResponse_httpStatus
- The response's http status code.
Response Lenses
downloadDefaultKeyPairResponse_publicKeyBase64 :: Lens' DownloadDefaultKeyPairResponse (Maybe Text) Source #
A base64-encoded public key of the ssh-rsa
type.
downloadDefaultKeyPairResponse_privateKeyBase64 :: Lens' DownloadDefaultKeyPairResponse (Maybe Text) Source #
A base64-encoded RSA private key.
downloadDefaultKeyPairResponse_httpStatus :: Lens' DownloadDefaultKeyPairResponse Int Source #
The response's http status code.