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 |
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.
CreateWirelessGatewayTask' | |
|
Instances
newCreateWirelessGatewayTask Source #
:: 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:
$sel:id:CreateWirelessGatewayTask'
, createWirelessGatewayTask_id
- The ID of the resource to update.
$sel:wirelessGatewayTaskDefinitionId: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.
CreateWirelessGatewayTaskResponse' | |
|
Instances
newCreateWirelessGatewayTaskResponse Source #
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.
$sel:wirelessGatewayTaskDefinitionId: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.