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 |
Retrieves the Session Manager connection status for an instance to determine whether it is running and ready to receive Session Manager connections.
Synopsis
- data GetConnectionStatus = GetConnectionStatus' {}
- newGetConnectionStatus :: Text -> GetConnectionStatus
- getConnectionStatus_target :: Lens' GetConnectionStatus Text
- data GetConnectionStatusResponse = GetConnectionStatusResponse' {
- status :: Maybe ConnectionStatus
- target :: Maybe Text
- httpStatus :: Int
- newGetConnectionStatusResponse :: Int -> GetConnectionStatusResponse
- getConnectionStatusResponse_status :: Lens' GetConnectionStatusResponse (Maybe ConnectionStatus)
- getConnectionStatusResponse_target :: Lens' GetConnectionStatusResponse (Maybe Text)
- getConnectionStatusResponse_httpStatus :: Lens' GetConnectionStatusResponse Int
Creating a Request
data GetConnectionStatus Source #
See: newGetConnectionStatus
smart constructor.
Instances
newGetConnectionStatus Source #
Create a value of GetConnectionStatus
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:target:GetConnectionStatus'
, getConnectionStatus_target
- The instance ID.
Request Lenses
getConnectionStatus_target :: Lens' GetConnectionStatus Text Source #
The instance ID.
Destructuring the Response
data GetConnectionStatusResponse Source #
See: newGetConnectionStatusResponse
smart constructor.
GetConnectionStatusResponse' | |
|
Instances
newGetConnectionStatusResponse Source #
Create a value of GetConnectionStatusResponse
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:status:GetConnectionStatusResponse'
, getConnectionStatusResponse_status
- The status of the connection to the instance. For example, 'Connected'
or 'Not Connected'.
$sel:target:GetConnectionStatus'
, getConnectionStatusResponse_target
- The ID of the instance to check connection status.
$sel:httpStatus:GetConnectionStatusResponse'
, getConnectionStatusResponse_httpStatus
- The response's http status code.
Response Lenses
getConnectionStatusResponse_status :: Lens' GetConnectionStatusResponse (Maybe ConnectionStatus) Source #
The status of the connection to the instance. For example, 'Connected' or 'Not Connected'.
getConnectionStatusResponse_target :: Lens' GetConnectionStatusResponse (Maybe Text) Source #
The ID of the instance to check connection status.
getConnectionStatusResponse_httpStatus :: Lens' GetConnectionStatusResponse Int Source #
The response's http status code.