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 |
Updates the description for the host key that's specified by the
ServerId
and HostKeyId
parameters.
Synopsis
- data UpdateHostKey = UpdateHostKey' {}
- newUpdateHostKey :: Text -> Text -> Text -> UpdateHostKey
- updateHostKey_serverId :: Lens' UpdateHostKey Text
- updateHostKey_hostKeyId :: Lens' UpdateHostKey Text
- updateHostKey_description :: Lens' UpdateHostKey Text
- data UpdateHostKeyResponse = UpdateHostKeyResponse' {}
- newUpdateHostKeyResponse :: Int -> Text -> Text -> UpdateHostKeyResponse
- updateHostKeyResponse_httpStatus :: Lens' UpdateHostKeyResponse Int
- updateHostKeyResponse_serverId :: Lens' UpdateHostKeyResponse Text
- updateHostKeyResponse_hostKeyId :: Lens' UpdateHostKeyResponse Text
Creating a Request
data UpdateHostKey Source #
See: newUpdateHostKey
smart constructor.
Instances
Create a value of UpdateHostKey
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:
UpdateHostKey
, updateHostKey_serverId
- The identifier of the server that contains the host key that you are
updating.
UpdateHostKey
, updateHostKey_hostKeyId
- The identifier of the host key that you are updating.
UpdateHostKey
, updateHostKey_description
- An updated description for the host key.
Request Lenses
updateHostKey_serverId :: Lens' UpdateHostKey Text Source #
The identifier of the server that contains the host key that you are updating.
updateHostKey_hostKeyId :: Lens' UpdateHostKey Text Source #
The identifier of the host key that you are updating.
updateHostKey_description :: Lens' UpdateHostKey Text Source #
An updated description for the host key.
Destructuring the Response
data UpdateHostKeyResponse Source #
See: newUpdateHostKeyResponse
smart constructor.
Instances
newUpdateHostKeyResponse Source #
:: Int | |
-> Text | |
-> Text | |
-> UpdateHostKeyResponse |
Create a value of UpdateHostKeyResponse
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:httpStatus:UpdateHostKeyResponse'
, updateHostKeyResponse_httpStatus
- The response's http status code.
UpdateHostKey
, updateHostKeyResponse_serverId
- Returns the server identifier for the server that contains the updated
host key.
UpdateHostKey
, updateHostKeyResponse_hostKeyId
- Returns the host key identifier for the updated host key.
Response Lenses
updateHostKeyResponse_httpStatus :: Lens' UpdateHostKeyResponse Int Source #
The response's http status code.
updateHostKeyResponse_serverId :: Lens' UpdateHostKeyResponse Text Source #
Returns the server identifier for the server that contains the updated host key.
updateHostKeyResponse_hostKeyId :: Lens' UpdateHostKeyResponse Text Source #
Returns the host key identifier for the updated host key.