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 |
Gets information about a wireless gateway.
Synopsis
- data GetWirelessGateway = GetWirelessGateway' {}
- newGetWirelessGateway :: Text -> WirelessGatewayIdType -> GetWirelessGateway
- getWirelessGateway_identifier :: Lens' GetWirelessGateway Text
- getWirelessGateway_identifierType :: Lens' GetWirelessGateway WirelessGatewayIdType
- data GetWirelessGatewayResponse = GetWirelessGatewayResponse' {}
- newGetWirelessGatewayResponse :: Int -> GetWirelessGatewayResponse
- getWirelessGatewayResponse_arn :: Lens' GetWirelessGatewayResponse (Maybe Text)
- getWirelessGatewayResponse_loRaWAN :: Lens' GetWirelessGatewayResponse (Maybe LoRaWANGateway)
- getWirelessGatewayResponse_thingArn :: Lens' GetWirelessGatewayResponse (Maybe Text)
- getWirelessGatewayResponse_name :: Lens' GetWirelessGatewayResponse (Maybe Text)
- getWirelessGatewayResponse_id :: Lens' GetWirelessGatewayResponse (Maybe Text)
- getWirelessGatewayResponse_thingName :: Lens' GetWirelessGatewayResponse (Maybe Text)
- getWirelessGatewayResponse_description :: Lens' GetWirelessGatewayResponse (Maybe Text)
- getWirelessGatewayResponse_httpStatus :: Lens' GetWirelessGatewayResponse Int
Creating a Request
data GetWirelessGateway Source #
See: newGetWirelessGateway
smart constructor.
GetWirelessGateway' | |
|
Instances
newGetWirelessGateway Source #
Create a value of GetWirelessGateway
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:identifier:GetWirelessGateway'
, getWirelessGateway_identifier
- The identifier of the wireless gateway to get.
$sel:identifierType:GetWirelessGateway'
, getWirelessGateway_identifierType
- The type of identifier used in identifier
.
Request Lenses
getWirelessGateway_identifier :: Lens' GetWirelessGateway Text Source #
The identifier of the wireless gateway to get.
getWirelessGateway_identifierType :: Lens' GetWirelessGateway WirelessGatewayIdType Source #
The type of identifier used in identifier
.
Destructuring the Response
data GetWirelessGatewayResponse Source #
See: newGetWirelessGatewayResponse
smart constructor.
GetWirelessGatewayResponse' | |
|
Instances
newGetWirelessGatewayResponse Source #
Create a value of GetWirelessGatewayResponse
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:GetWirelessGatewayResponse'
, getWirelessGatewayResponse_arn
- The Amazon Resource Name of the resource.
$sel:loRaWAN:GetWirelessGatewayResponse'
, getWirelessGatewayResponse_loRaWAN
- Information about the wireless gateway.
$sel:thingArn:GetWirelessGatewayResponse'
, getWirelessGatewayResponse_thingArn
- The ARN of the thing associated with the wireless gateway.
$sel:name:GetWirelessGatewayResponse'
, getWirelessGatewayResponse_name
- The name of the resource.
$sel:id:GetWirelessGatewayResponse'
, getWirelessGatewayResponse_id
- The ID of the wireless gateway.
$sel:thingName:GetWirelessGatewayResponse'
, getWirelessGatewayResponse_thingName
- The name of the thing associated with the wireless gateway. The value is
empty if a thing isn't associated with the gateway.
$sel:description:GetWirelessGatewayResponse'
, getWirelessGatewayResponse_description
- The description of the resource.
$sel:httpStatus:GetWirelessGatewayResponse'
, getWirelessGatewayResponse_httpStatus
- The response's http status code.
Response Lenses
getWirelessGatewayResponse_arn :: Lens' GetWirelessGatewayResponse (Maybe Text) Source #
The Amazon Resource Name of the resource.
getWirelessGatewayResponse_loRaWAN :: Lens' GetWirelessGatewayResponse (Maybe LoRaWANGateway) Source #
Information about the wireless gateway.
getWirelessGatewayResponse_thingArn :: Lens' GetWirelessGatewayResponse (Maybe Text) Source #
The ARN of the thing associated with the wireless gateway.
getWirelessGatewayResponse_name :: Lens' GetWirelessGatewayResponse (Maybe Text) Source #
The name of the resource.
getWirelessGatewayResponse_id :: Lens' GetWirelessGatewayResponse (Maybe Text) Source #
The ID of the wireless gateway.
getWirelessGatewayResponse_thingName :: Lens' GetWirelessGatewayResponse (Maybe Text) Source #
The name of the thing associated with the wireless gateway. The value is empty if a thing isn't associated with the gateway.
getWirelessGatewayResponse_description :: Lens' GetWirelessGatewayResponse (Maybe Text) Source #
The description of the resource.
getWirelessGatewayResponse_httpStatus :: Lens' GetWirelessGatewayResponse Int Source #
The response's http status code.