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 |
Get information about the connection with the provided id.
Synopsis
- data GetConnection = GetConnection' {
- connectionId :: Text
- newGetConnection :: Text -> GetConnection
- getConnection_connectionId :: Lens' GetConnection Text
- data GetConnectionResponse = GetConnectionResponse' {}
- newGetConnectionResponse :: Int -> GetConnectionResponse
- getConnectionResponse_connectedAt :: Lens' GetConnectionResponse (Maybe UTCTime)
- getConnectionResponse_lastActiveAt :: Lens' GetConnectionResponse (Maybe UTCTime)
- getConnectionResponse_identity :: Lens' GetConnectionResponse (Maybe Identity)
- getConnectionResponse_httpStatus :: Lens' GetConnectionResponse Int
Creating a Request
data GetConnection Source #
See: newGetConnection
smart constructor.
Instances
Create a value of GetConnection
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:connectionId:GetConnection'
, getConnection_connectionId
- Undocumented member.
Request Lenses
getConnection_connectionId :: Lens' GetConnection Text Source #
Undocumented member.
Destructuring the Response
data GetConnectionResponse Source #
See: newGetConnectionResponse
smart constructor.
GetConnectionResponse' | |
|
Instances
newGetConnectionResponse Source #
Create a value of GetConnectionResponse
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:connectedAt:GetConnectionResponse'
, getConnectionResponse_connectedAt
- The time in ISO 8601 format for when the connection was established.
$sel:lastActiveAt:GetConnectionResponse'
, getConnectionResponse_lastActiveAt
- The time in ISO 8601 format for when the connection was last active.
$sel:identity:GetConnectionResponse'
, getConnectionResponse_identity
- Undocumented member.
$sel:httpStatus:GetConnectionResponse'
, getConnectionResponse_httpStatus
- The response's http status code.
Response Lenses
getConnectionResponse_connectedAt :: Lens' GetConnectionResponse (Maybe UTCTime) Source #
The time in ISO 8601 format for when the connection was established.
getConnectionResponse_lastActiveAt :: Lens' GetConnectionResponse (Maybe UTCTime) Source #
The time in ISO 8601 format for when the connection was last active.
getConnectionResponse_identity :: Lens' GetConnectionResponse (Maybe Identity) Source #
Undocumented member.
getConnectionResponse_httpStatus :: Lens' GetConnectionResponse Int Source #
The response's http status code.