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 connectivity information for a core.
Synopsis
- data GetConnectivityInfo = GetConnectivityInfo' {}
- newGetConnectivityInfo :: Text -> GetConnectivityInfo
- getConnectivityInfo_thingName :: Lens' GetConnectivityInfo Text
- data GetConnectivityInfoResponse = GetConnectivityInfoResponse' {}
- newGetConnectivityInfoResponse :: Int -> GetConnectivityInfoResponse
- getConnectivityInfoResponse_message :: Lens' GetConnectivityInfoResponse (Maybe Text)
- getConnectivityInfoResponse_connectivityInfo :: Lens' GetConnectivityInfoResponse (Maybe [ConnectivityInfo])
- getConnectivityInfoResponse_httpStatus :: Lens' GetConnectivityInfoResponse Int
Creating a Request
data GetConnectivityInfo Source #
See: newGetConnectivityInfo
smart constructor.
Instances
newGetConnectivityInfo Source #
Create a value of GetConnectivityInfo
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:thingName:GetConnectivityInfo'
, getConnectivityInfo_thingName
- The thing name.
Request Lenses
getConnectivityInfo_thingName :: Lens' GetConnectivityInfo Text Source #
The thing name.
Destructuring the Response
data GetConnectivityInfoResponse Source #
See: newGetConnectivityInfoResponse
smart constructor.
GetConnectivityInfoResponse' | |
|
Instances
newGetConnectivityInfoResponse Source #
Create a value of GetConnectivityInfoResponse
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:message:GetConnectivityInfoResponse'
, getConnectivityInfoResponse_message
- A message about the connectivity info request.
$sel:connectivityInfo:GetConnectivityInfoResponse'
, getConnectivityInfoResponse_connectivityInfo
- Connectivity info list.
$sel:httpStatus:GetConnectivityInfoResponse'
, getConnectivityInfoResponse_httpStatus
- The response's http status code.
Response Lenses
getConnectivityInfoResponse_message :: Lens' GetConnectivityInfoResponse (Maybe Text) Source #
A message about the connectivity info request.
getConnectivityInfoResponse_connectivityInfo :: Lens' GetConnectivityInfoResponse (Maybe [ConnectivityInfo]) Source #
Connectivity info list.
getConnectivityInfoResponse_httpStatus :: Lens' GetConnectivityInfoResponse Int Source #
The response's http status code.