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 |
Gets information about a wireless gateway task.
Synopsis
- data GetWirelessGatewayTask = GetWirelessGatewayTask' {}
- newGetWirelessGatewayTask :: Text -> GetWirelessGatewayTask
- getWirelessGatewayTask_id :: Lens' GetWirelessGatewayTask Text
- data GetWirelessGatewayTaskResponse = GetWirelessGatewayTaskResponse' {}
- newGetWirelessGatewayTaskResponse :: Int -> GetWirelessGatewayTaskResponse
- getWirelessGatewayTaskResponse_status :: Lens' GetWirelessGatewayTaskResponse (Maybe WirelessGatewayTaskStatus)
- getWirelessGatewayTaskResponse_wirelessGatewayTaskDefinitionId :: Lens' GetWirelessGatewayTaskResponse (Maybe Text)
- getWirelessGatewayTaskResponse_taskCreatedAt :: Lens' GetWirelessGatewayTaskResponse (Maybe Text)
- getWirelessGatewayTaskResponse_lastUplinkReceivedAt :: Lens' GetWirelessGatewayTaskResponse (Maybe Text)
- getWirelessGatewayTaskResponse_wirelessGatewayId :: Lens' GetWirelessGatewayTaskResponse (Maybe Text)
- getWirelessGatewayTaskResponse_httpStatus :: Lens' GetWirelessGatewayTaskResponse Int
Creating a Request
data GetWirelessGatewayTask Source #
See: newGetWirelessGatewayTask
smart constructor.
Instances
newGetWirelessGatewayTask Source #
Create a value of GetWirelessGatewayTask
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:id:GetWirelessGatewayTask'
, getWirelessGatewayTask_id
- The ID of the resource to get.
Request Lenses
getWirelessGatewayTask_id :: Lens' GetWirelessGatewayTask Text Source #
The ID of the resource to get.
Destructuring the Response
data GetWirelessGatewayTaskResponse Source #
See: newGetWirelessGatewayTaskResponse
smart constructor.
GetWirelessGatewayTaskResponse' | |
|
Instances
newGetWirelessGatewayTaskResponse Source #
Create a value of GetWirelessGatewayTaskResponse
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:GetWirelessGatewayTaskResponse'
, getWirelessGatewayTaskResponse_status
- The status of the request.
$sel:wirelessGatewayTaskDefinitionId:GetWirelessGatewayTaskResponse'
, getWirelessGatewayTaskResponse_wirelessGatewayTaskDefinitionId
- The ID of the WirelessGatewayTask.
$sel:taskCreatedAt:GetWirelessGatewayTaskResponse'
, getWirelessGatewayTaskResponse_taskCreatedAt
- The date and time when the task was created.
$sel:lastUplinkReceivedAt:GetWirelessGatewayTaskResponse'
, getWirelessGatewayTaskResponse_lastUplinkReceivedAt
- The date and time when the most recent uplink was received.
$sel:wirelessGatewayId:GetWirelessGatewayTaskResponse'
, getWirelessGatewayTaskResponse_wirelessGatewayId
- The ID of the wireless gateway.
$sel:httpStatus:GetWirelessGatewayTaskResponse'
, getWirelessGatewayTaskResponse_httpStatus
- The response's http status code.
Response Lenses
getWirelessGatewayTaskResponse_status :: Lens' GetWirelessGatewayTaskResponse (Maybe WirelessGatewayTaskStatus) Source #
The status of the request.
getWirelessGatewayTaskResponse_wirelessGatewayTaskDefinitionId :: Lens' GetWirelessGatewayTaskResponse (Maybe Text) Source #
The ID of the WirelessGatewayTask.
getWirelessGatewayTaskResponse_taskCreatedAt :: Lens' GetWirelessGatewayTaskResponse (Maybe Text) Source #
The date and time when the task was created.
getWirelessGatewayTaskResponse_lastUplinkReceivedAt :: Lens' GetWirelessGatewayTaskResponse (Maybe Text) Source #
The date and time when the most recent uplink was received.
getWirelessGatewayTaskResponse_wirelessGatewayId :: Lens' GetWirelessGatewayTaskResponse (Maybe Text) Source #
The ID of the wireless gateway.
getWirelessGatewayTaskResponse_httpStatus :: Lens' GetWirelessGatewayTaskResponse Int Source #
The response's http status code.