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 |
Updates the connectivity information for the core. Any devices that belong to the group which has this core will receive this information in order to find the location of the core and connect to it.
Synopsis
- data UpdateConnectivityInfo = UpdateConnectivityInfo' {}
- newUpdateConnectivityInfo :: Text -> UpdateConnectivityInfo
- updateConnectivityInfo_connectivityInfo :: Lens' UpdateConnectivityInfo (Maybe [ConnectivityInfo])
- updateConnectivityInfo_thingName :: Lens' UpdateConnectivityInfo Text
- data UpdateConnectivityInfoResponse = UpdateConnectivityInfoResponse' {}
- newUpdateConnectivityInfoResponse :: Int -> UpdateConnectivityInfoResponse
- updateConnectivityInfoResponse_version :: Lens' UpdateConnectivityInfoResponse (Maybe Text)
- updateConnectivityInfoResponse_message :: Lens' UpdateConnectivityInfoResponse (Maybe Text)
- updateConnectivityInfoResponse_httpStatus :: Lens' UpdateConnectivityInfoResponse Int
Creating a Request
data UpdateConnectivityInfo Source #
Connectivity information.
See: newUpdateConnectivityInfo
smart constructor.
UpdateConnectivityInfo' | |
|
Instances
newUpdateConnectivityInfo Source #
Create a value of UpdateConnectivityInfo
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:connectivityInfo:UpdateConnectivityInfo'
, updateConnectivityInfo_connectivityInfo
- A list of connectivity info.
$sel:thingName:UpdateConnectivityInfo'
, updateConnectivityInfo_thingName
- The thing name.
Request Lenses
updateConnectivityInfo_connectivityInfo :: Lens' UpdateConnectivityInfo (Maybe [ConnectivityInfo]) Source #
A list of connectivity info.
updateConnectivityInfo_thingName :: Lens' UpdateConnectivityInfo Text Source #
The thing name.
Destructuring the Response
data UpdateConnectivityInfoResponse Source #
See: newUpdateConnectivityInfoResponse
smart constructor.
Instances
newUpdateConnectivityInfoResponse Source #
Create a value of UpdateConnectivityInfoResponse
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:version:UpdateConnectivityInfoResponse'
, updateConnectivityInfoResponse_version
- The new version of the connectivity info.
$sel:message:UpdateConnectivityInfoResponse'
, updateConnectivityInfoResponse_message
- A message about the connectivity info update request.
$sel:httpStatus:UpdateConnectivityInfoResponse'
, updateConnectivityInfoResponse_httpStatus
- The response's http status code.
Response Lenses
updateConnectivityInfoResponse_version :: Lens' UpdateConnectivityInfoResponse (Maybe Text) Source #
The new version of the connectivity info.
updateConnectivityInfoResponse_message :: Lens' UpdateConnectivityInfoResponse (Maybe Text) Source #
A message about the connectivity info update request.
updateConnectivityInfoResponse_httpStatus :: Lens' UpdateConnectivityInfoResponse Int Source #
The response's http status code.