Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Imports a public SSH key from a specific key pair.
- importKeyPair :: Text -> Text -> ImportKeyPair
- data ImportKeyPair
- ikpKeyPairName :: Lens' ImportKeyPair Text
- ikpPublicKeyBase64 :: Lens' ImportKeyPair Text
- importKeyPairResponse :: Int -> ImportKeyPairResponse
- data ImportKeyPairResponse
- ikprsOperation :: Lens' ImportKeyPairResponse (Maybe Operation)
- ikprsResponseStatus :: Lens' ImportKeyPairResponse Int
Creating a Request
Creates a value of ImportKeyPair
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ikpKeyPairName
- The name of the key pair for which you want to import the public key.ikpPublicKeyBase64
- A base64-encoded public key of thessh-rsa
type.
data ImportKeyPair Source #
See: importKeyPair
smart constructor.
Request Lenses
ikpKeyPairName :: Lens' ImportKeyPair Text Source #
The name of the key pair for which you want to import the public key.
ikpPublicKeyBase64 :: Lens' ImportKeyPair Text Source #
A base64-encoded public key of the ssh-rsa
type.
Destructuring the Response
importKeyPairResponse Source #
Creates a value of ImportKeyPairResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ikprsOperation
- An array of key-value pairs containing information about the request operation.ikprsResponseStatus
- -- | The response status code.
data ImportKeyPairResponse Source #
See: importKeyPairResponse
smart constructor.
Response Lenses
ikprsOperation :: Lens' ImportKeyPairResponse (Maybe Operation) Source #
An array of key-value pairs containing information about the request operation.
ikprsResponseStatus :: Lens' ImportKeyPairResponse Int Source #
- - | The response status code.