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 |
Update public key information. Note that the only value you can change is the comment.
- updatePublicKey :: PublicKeyConfig -> Text -> UpdatePublicKey
- data UpdatePublicKey
- upkIfMatch :: Lens' UpdatePublicKey (Maybe Text)
- upkPublicKeyConfig :: Lens' UpdatePublicKey PublicKeyConfig
- upkId :: Lens' UpdatePublicKey Text
- updatePublicKeyResponse :: Int -> UpdatePublicKeyResponse
- data UpdatePublicKeyResponse
- upkrsETag :: Lens' UpdatePublicKeyResponse (Maybe Text)
- upkrsPublicKey :: Lens' UpdatePublicKeyResponse (Maybe PublicKey)
- upkrsResponseStatus :: Lens' UpdatePublicKeyResponse Int
Creating a Request
Creates a value of UpdatePublicKey
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upkIfMatch
- The value of theETag
header that you received when retrieving the public key to update. For example:E2QWRUHAPOMQZL
.upkPublicKeyConfig
- Request to update public key information.upkId
- ID of the public key to be updated.
data UpdatePublicKey Source #
See: updatePublicKey
smart constructor.
Request Lenses
upkIfMatch :: Lens' UpdatePublicKey (Maybe Text) Source #
The value of the ETag
header that you received when retrieving the public key to update. For example: E2QWRUHAPOMQZL
.
upkPublicKeyConfig :: Lens' UpdatePublicKey PublicKeyConfig Source #
Request to update public key information.
Destructuring the Response
updatePublicKeyResponse Source #
Creates a value of UpdatePublicKeyResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upkrsETag
- The current version of the update public key result. For example:E2QWRUHAPOMQZL
.upkrsPublicKey
- Return the results of updating the public key.upkrsResponseStatus
- -- | The response status code.
data UpdatePublicKeyResponse Source #
See: updatePublicKeyResponse
smart constructor.
Response Lenses
upkrsETag :: Lens' UpdatePublicKeyResponse (Maybe Text) Source #
The current version of the update public key result. For example: E2QWRUHAPOMQZL
.
upkrsPublicKey :: Lens' UpdatePublicKeyResponse (Maybe PublicKey) Source #
Return the results of updating the public key.
upkrsResponseStatus :: Lens' UpdatePublicKeyResponse Int Source #
- - | The response status code.