| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.IoTWireless.GetWirelessGatewayTask
Description
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_lastUplinkReceivedAt :: Lens' GetWirelessGatewayTaskResponse (Maybe Text)
- getWirelessGatewayTaskResponse_status :: Lens' GetWirelessGatewayTaskResponse (Maybe WirelessGatewayTaskStatus)
- getWirelessGatewayTaskResponse_taskCreatedAt :: Lens' GetWirelessGatewayTaskResponse (Maybe Text)
- getWirelessGatewayTaskResponse_wirelessGatewayId :: Lens' GetWirelessGatewayTaskResponse (Maybe Text)
- getWirelessGatewayTaskResponse_wirelessGatewayTaskDefinitionId :: Lens' GetWirelessGatewayTaskResponse (Maybe Text)
- getWirelessGatewayTaskResponse_httpStatus :: Lens' GetWirelessGatewayTaskResponse Int
Creating a Request
data GetWirelessGatewayTask Source #
See: newGetWirelessGatewayTask smart constructor.
Constructors
| GetWirelessGatewayTask' | |
Instances
newGetWirelessGatewayTask Source #
Arguments
| :: Text | |
| -> GetWirelessGatewayTask |
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:
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.
Constructors
| GetWirelessGatewayTaskResponse' | |
Fields
| |
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:
GetWirelessGatewayTaskResponse, getWirelessGatewayTaskResponse_lastUplinkReceivedAt - The date and time when the most recent uplink was received.
$sel:status:GetWirelessGatewayTaskResponse', getWirelessGatewayTaskResponse_status - The status of the request.
$sel:taskCreatedAt:GetWirelessGatewayTaskResponse', getWirelessGatewayTaskResponse_taskCreatedAt - The date and time when the task was created.
$sel:wirelessGatewayId:GetWirelessGatewayTaskResponse', getWirelessGatewayTaskResponse_wirelessGatewayId - The ID of the wireless gateway.
$sel:wirelessGatewayTaskDefinitionId:GetWirelessGatewayTaskResponse', getWirelessGatewayTaskResponse_wirelessGatewayTaskDefinitionId - The ID of the WirelessGatewayTask.
$sel:httpStatus:GetWirelessGatewayTaskResponse', getWirelessGatewayTaskResponse_httpStatus - The response's http status code.
Response Lenses
getWirelessGatewayTaskResponse_lastUplinkReceivedAt :: Lens' GetWirelessGatewayTaskResponse (Maybe Text) Source #
The date and time when the most recent uplink was received.
getWirelessGatewayTaskResponse_status :: Lens' GetWirelessGatewayTaskResponse (Maybe WirelessGatewayTaskStatus) Source #
The status of the request.
getWirelessGatewayTaskResponse_taskCreatedAt :: Lens' GetWirelessGatewayTaskResponse (Maybe Text) Source #
The date and time when the task was created.
getWirelessGatewayTaskResponse_wirelessGatewayId :: Lens' GetWirelessGatewayTaskResponse (Maybe Text) Source #
The ID of the wireless gateway.
getWirelessGatewayTaskResponse_wirelessGatewayTaskDefinitionId :: Lens' GetWirelessGatewayTaskResponse (Maybe Text) Source #
The ID of the WirelessGatewayTask.
getWirelessGatewayTaskResponse_httpStatus :: Lens' GetWirelessGatewayTaskResponse Int Source #
The response's http status code.