| 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.GetWirelessGatewayTaskDefinition
Description
Gets information about a wireless gateway task definition.
Synopsis
- data GetWirelessGatewayTaskDefinition = GetWirelessGatewayTaskDefinition' {}
- newGetWirelessGatewayTaskDefinition :: Text -> GetWirelessGatewayTaskDefinition
- getWirelessGatewayTaskDefinition_id :: Lens' GetWirelessGatewayTaskDefinition Text
- data GetWirelessGatewayTaskDefinitionResponse = GetWirelessGatewayTaskDefinitionResponse' {}
- newGetWirelessGatewayTaskDefinitionResponse :: Int -> GetWirelessGatewayTaskDefinitionResponse
- getWirelessGatewayTaskDefinitionResponse_arn :: Lens' GetWirelessGatewayTaskDefinitionResponse (Maybe Text)
- getWirelessGatewayTaskDefinitionResponse_autoCreateTasks :: Lens' GetWirelessGatewayTaskDefinitionResponse (Maybe Bool)
- getWirelessGatewayTaskDefinitionResponse_name :: Lens' GetWirelessGatewayTaskDefinitionResponse (Maybe Text)
- getWirelessGatewayTaskDefinitionResponse_update :: Lens' GetWirelessGatewayTaskDefinitionResponse (Maybe UpdateWirelessGatewayTaskCreate)
- getWirelessGatewayTaskDefinitionResponse_httpStatus :: Lens' GetWirelessGatewayTaskDefinitionResponse Int
Creating a Request
data GetWirelessGatewayTaskDefinition Source #
See: newGetWirelessGatewayTaskDefinition smart constructor.
Constructors
| GetWirelessGatewayTaskDefinition' | |
Instances
newGetWirelessGatewayTaskDefinition Source #
Create a value of GetWirelessGatewayTaskDefinition 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:
GetWirelessGatewayTaskDefinition, getWirelessGatewayTaskDefinition_id - The ID of the resource to get.
Request Lenses
getWirelessGatewayTaskDefinition_id :: Lens' GetWirelessGatewayTaskDefinition Text Source #
The ID of the resource to get.
Destructuring the Response
data GetWirelessGatewayTaskDefinitionResponse Source #
See: newGetWirelessGatewayTaskDefinitionResponse smart constructor.
Constructors
| GetWirelessGatewayTaskDefinitionResponse' | |
Fields
| |
Instances
newGetWirelessGatewayTaskDefinitionResponse Source #
Arguments
| :: Int | |
| -> GetWirelessGatewayTaskDefinitionResponse |
Create a value of GetWirelessGatewayTaskDefinitionResponse 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:
GetWirelessGatewayTaskDefinitionResponse, getWirelessGatewayTaskDefinitionResponse_arn - The Amazon Resource Name of the resource.
$sel:autoCreateTasks:GetWirelessGatewayTaskDefinitionResponse', getWirelessGatewayTaskDefinitionResponse_autoCreateTasks - Whether to automatically create tasks using this task definition for all
gateways with the specified current version. If false, the task must
me created by calling CreateWirelessGatewayTask.
GetWirelessGatewayTaskDefinitionResponse, getWirelessGatewayTaskDefinitionResponse_name - The name of the resource.
$sel:update:GetWirelessGatewayTaskDefinitionResponse', getWirelessGatewayTaskDefinitionResponse_update - Information about the gateways to update.
$sel:httpStatus:GetWirelessGatewayTaskDefinitionResponse', getWirelessGatewayTaskDefinitionResponse_httpStatus - The response's http status code.
Response Lenses
getWirelessGatewayTaskDefinitionResponse_arn :: Lens' GetWirelessGatewayTaskDefinitionResponse (Maybe Text) Source #
The Amazon Resource Name of the resource.
getWirelessGatewayTaskDefinitionResponse_autoCreateTasks :: Lens' GetWirelessGatewayTaskDefinitionResponse (Maybe Bool) Source #
Whether to automatically create tasks using this task definition for all
gateways with the specified current version. If false, the task must
me created by calling CreateWirelessGatewayTask.
getWirelessGatewayTaskDefinitionResponse_name :: Lens' GetWirelessGatewayTaskDefinitionResponse (Maybe Text) Source #
The name of the resource.
getWirelessGatewayTaskDefinitionResponse_update :: Lens' GetWirelessGatewayTaskDefinitionResponse (Maybe UpdateWirelessGatewayTaskCreate) Source #
Information about the gateways to update.
getWirelessGatewayTaskDefinitionResponse_httpStatus :: Lens' GetWirelessGatewayTaskDefinitionResponse Int Source #
The response's http status code.