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 |
Returns the details of the host key that's specified by the HostKeyId
and ServerId
.
Synopsis
- data DescribeHostKey = DescribeHostKey' {}
- newDescribeHostKey :: Text -> Text -> DescribeHostKey
- describeHostKey_serverId :: Lens' DescribeHostKey Text
- describeHostKey_hostKeyId :: Lens' DescribeHostKey Text
- data DescribeHostKeyResponse = DescribeHostKeyResponse' {}
- newDescribeHostKeyResponse :: Int -> DescribedHostKey -> DescribeHostKeyResponse
- describeHostKeyResponse_httpStatus :: Lens' DescribeHostKeyResponse Int
- describeHostKeyResponse_hostKey :: Lens' DescribeHostKeyResponse DescribedHostKey
Creating a Request
data DescribeHostKey Source #
See: newDescribeHostKey
smart constructor.
Instances
Create a value of DescribeHostKey
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:
DescribeHostKey
, describeHostKey_serverId
- The identifier of the server that contains the host key that you want
described.
DescribeHostKey
, describeHostKey_hostKeyId
- The identifier of the host key that you want described.
Request Lenses
describeHostKey_serverId :: Lens' DescribeHostKey Text Source #
The identifier of the server that contains the host key that you want described.
describeHostKey_hostKeyId :: Lens' DescribeHostKey Text Source #
The identifier of the host key that you want described.
Destructuring the Response
data DescribeHostKeyResponse Source #
See: newDescribeHostKeyResponse
smart constructor.
DescribeHostKeyResponse' | |
|
Instances
newDescribeHostKeyResponse Source #
Create a value of DescribeHostKeyResponse
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:DescribeHostKeyResponse'
, describeHostKeyResponse_httpStatus
- The response's http status code.
$sel:hostKey:DescribeHostKeyResponse'
, describeHostKeyResponse_hostKey
- Returns the details for the specified host key.
Response Lenses
describeHostKeyResponse_httpStatus :: Lens' DescribeHostKeyResponse Int Source #
The response's http status code.
describeHostKeyResponse_hostKey :: Lens' DescribeHostKeyResponse DescribedHostKey Source #
Returns the details for the specified host key.