| 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.CreateWirelessGatewayTask
Description
Creates a task for a wireless gateway.
Synopsis
- data CreateWirelessGatewayTask = CreateWirelessGatewayTask' {}
- newCreateWirelessGatewayTask :: Text -> Text -> CreateWirelessGatewayTask
- createWirelessGatewayTask_id :: Lens' CreateWirelessGatewayTask Text
- createWirelessGatewayTask_wirelessGatewayTaskDefinitionId :: Lens' CreateWirelessGatewayTask Text
- data CreateWirelessGatewayTaskResponse = CreateWirelessGatewayTaskResponse' {}
- newCreateWirelessGatewayTaskResponse :: Int -> CreateWirelessGatewayTaskResponse
- createWirelessGatewayTaskResponse_status :: Lens' CreateWirelessGatewayTaskResponse (Maybe WirelessGatewayTaskStatus)
- createWirelessGatewayTaskResponse_wirelessGatewayTaskDefinitionId :: Lens' CreateWirelessGatewayTaskResponse (Maybe Text)
- createWirelessGatewayTaskResponse_httpStatus :: Lens' CreateWirelessGatewayTaskResponse Int
Creating a Request
data CreateWirelessGatewayTask Source #
See: newCreateWirelessGatewayTask smart constructor.
Constructors
| CreateWirelessGatewayTask' | |
Fields
| |
Instances
newCreateWirelessGatewayTask Source #
Arguments
| :: Text | |
| -> Text | |
| -> CreateWirelessGatewayTask |
Create a value of CreateWirelessGatewayTask 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:
CreateWirelessGatewayTask, createWirelessGatewayTask_id - The ID of the resource to update.
CreateWirelessGatewayTask, createWirelessGatewayTask_wirelessGatewayTaskDefinitionId - The ID of the WirelessGatewayTaskDefinition.
Request Lenses
createWirelessGatewayTask_id :: Lens' CreateWirelessGatewayTask Text Source #
The ID of the resource to update.
createWirelessGatewayTask_wirelessGatewayTaskDefinitionId :: Lens' CreateWirelessGatewayTask Text Source #
The ID of the WirelessGatewayTaskDefinition.
Destructuring the Response
data CreateWirelessGatewayTaskResponse Source #
See: newCreateWirelessGatewayTaskResponse smart constructor.
Constructors
| CreateWirelessGatewayTaskResponse' | |
Fields
| |
Instances
newCreateWirelessGatewayTaskResponse Source #
Arguments
| :: Int | |
| -> CreateWirelessGatewayTaskResponse |
Create a value of CreateWirelessGatewayTaskResponse 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:CreateWirelessGatewayTaskResponse', createWirelessGatewayTaskResponse_status - The status of the request.
CreateWirelessGatewayTask, createWirelessGatewayTaskResponse_wirelessGatewayTaskDefinitionId - The ID of the WirelessGatewayTaskDefinition.
$sel:httpStatus:CreateWirelessGatewayTaskResponse', createWirelessGatewayTaskResponse_httpStatus - The response's http status code.
Response Lenses
createWirelessGatewayTaskResponse_status :: Lens' CreateWirelessGatewayTaskResponse (Maybe WirelessGatewayTaskStatus) Source #
The status of the request.
createWirelessGatewayTaskResponse_wirelessGatewayTaskDefinitionId :: Lens' CreateWirelessGatewayTaskResponse (Maybe Text) Source #
The ID of the WirelessGatewayTaskDefinition.
createWirelessGatewayTaskResponse_httpStatus :: Lens' CreateWirelessGatewayTaskResponse Int Source #
The response's http status code.