| 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.CreateWirelessGateway
Description
Provisions a wireless gateway.
Synopsis
- data CreateWirelessGateway = CreateWirelessGateway' {
- clientRequestToken :: Maybe Text
- description :: Maybe Text
- name :: Maybe Text
- tags :: Maybe [Tag]
- loRaWAN :: LoRaWANGateway
- newCreateWirelessGateway :: LoRaWANGateway -> CreateWirelessGateway
- createWirelessGateway_clientRequestToken :: Lens' CreateWirelessGateway (Maybe Text)
- createWirelessGateway_description :: Lens' CreateWirelessGateway (Maybe Text)
- createWirelessGateway_name :: Lens' CreateWirelessGateway (Maybe Text)
- createWirelessGateway_tags :: Lens' CreateWirelessGateway (Maybe [Tag])
- createWirelessGateway_loRaWAN :: Lens' CreateWirelessGateway LoRaWANGateway
- data CreateWirelessGatewayResponse = CreateWirelessGatewayResponse' {}
- newCreateWirelessGatewayResponse :: Int -> CreateWirelessGatewayResponse
- createWirelessGatewayResponse_arn :: Lens' CreateWirelessGatewayResponse (Maybe Text)
- createWirelessGatewayResponse_id :: Lens' CreateWirelessGatewayResponse (Maybe Text)
- createWirelessGatewayResponse_httpStatus :: Lens' CreateWirelessGatewayResponse Int
Creating a Request
data CreateWirelessGateway Source #
See: newCreateWirelessGateway smart constructor.
Constructors
| CreateWirelessGateway' | |
Fields
| |
Instances
newCreateWirelessGateway Source #
Arguments
| :: LoRaWANGateway | |
| -> CreateWirelessGateway |
Create a value of CreateWirelessGateway 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:clientRequestToken:CreateWirelessGateway', createWirelessGateway_clientRequestToken - Each resource must have a unique client request token. If you try to
create a new resource with the same token as a resource that already
exists, an exception occurs. If you omit this value, AWS SDKs will
automatically generate a unique client request.
CreateWirelessGateway, createWirelessGateway_description - The description of the new resource.
CreateWirelessGateway, createWirelessGateway_name - The name of the new resource.
$sel:tags:CreateWirelessGateway', createWirelessGateway_tags - The tags to attach to the new wireless gateway. Tags are metadata that
you can use to manage a resource.
CreateWirelessGateway, createWirelessGateway_loRaWAN - The gateway configuration information to use to create the wireless
gateway.
Request Lenses
createWirelessGateway_clientRequestToken :: Lens' CreateWirelessGateway (Maybe Text) Source #
Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
createWirelessGateway_description :: Lens' CreateWirelessGateway (Maybe Text) Source #
The description of the new resource.
createWirelessGateway_name :: Lens' CreateWirelessGateway (Maybe Text) Source #
The name of the new resource.
createWirelessGateway_tags :: Lens' CreateWirelessGateway (Maybe [Tag]) Source #
The tags to attach to the new wireless gateway. Tags are metadata that you can use to manage a resource.
createWirelessGateway_loRaWAN :: Lens' CreateWirelessGateway LoRaWANGateway Source #
The gateway configuration information to use to create the wireless gateway.
Destructuring the Response
data CreateWirelessGatewayResponse Source #
See: newCreateWirelessGatewayResponse smart constructor.
Constructors
| CreateWirelessGatewayResponse' | |
Instances
newCreateWirelessGatewayResponse Source #
Create a value of CreateWirelessGatewayResponse 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:
CreateWirelessGatewayResponse, createWirelessGatewayResponse_arn - The Amazon Resource Name of the new resource.
CreateWirelessGatewayResponse, createWirelessGatewayResponse_id - The ID of the new wireless gateway.
$sel:httpStatus:CreateWirelessGatewayResponse', createWirelessGatewayResponse_httpStatus - The response's http status code.
Response Lenses
createWirelessGatewayResponse_arn :: Lens' CreateWirelessGatewayResponse (Maybe Text) Source #
The Amazon Resource Name of the new resource.
createWirelessGatewayResponse_id :: Lens' CreateWirelessGatewayResponse (Maybe Text) Source #
The ID of the new wireless gateway.
createWirelessGatewayResponse_httpStatus :: Lens' CreateWirelessGatewayResponse Int Source #
The response's http status code.