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 |
Provisions a wireless gateway.
Synopsis
- data CreateWirelessGateway = CreateWirelessGateway' {
- name :: Maybe Text
- clientRequestToken :: Maybe Text
- description :: Maybe Text
- tags :: Maybe [Tag]
- loRaWAN :: LoRaWANGateway
- newCreateWirelessGateway :: LoRaWANGateway -> CreateWirelessGateway
- createWirelessGateway_name :: Lens' CreateWirelessGateway (Maybe Text)
- createWirelessGateway_clientRequestToken :: Lens' CreateWirelessGateway (Maybe Text)
- createWirelessGateway_description :: 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.
CreateWirelessGateway' | |
|
Instances
newCreateWirelessGateway Source #
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:name:CreateWirelessGateway'
, createWirelessGateway_name
- The name of the new resource.
$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.
$sel:description:CreateWirelessGateway'
, createWirelessGateway_description
- The description 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.
$sel:loRaWAN:CreateWirelessGateway'
, createWirelessGateway_loRaWAN
- The gateway configuration information to use to create the wireless
gateway.
Request Lenses
createWirelessGateway_name :: Lens' CreateWirelessGateway (Maybe Text) Source #
The name of the new resource.
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_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.
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:
$sel:arn:CreateWirelessGatewayResponse'
, createWirelessGatewayResponse_arn
- The Amazon Resource Name of the new resource.
$sel:id: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.