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 the account-specific endpoint for Configuration and Update Server (CUPS) protocol or LoRaWAN Network Server (LNS) connections.
Synopsis
- data GetServiceEndpoint = GetServiceEndpoint' {}
- newGetServiceEndpoint :: GetServiceEndpoint
- getServiceEndpoint_serviceType :: Lens' GetServiceEndpoint (Maybe WirelessGatewayServiceType)
- data GetServiceEndpointResponse = GetServiceEndpointResponse' {}
- newGetServiceEndpointResponse :: Int -> GetServiceEndpointResponse
- getServiceEndpointResponse_serviceEndpoint :: Lens' GetServiceEndpointResponse (Maybe Text)
- getServiceEndpointResponse_serverTrust :: Lens' GetServiceEndpointResponse (Maybe Text)
- getServiceEndpointResponse_serviceType :: Lens' GetServiceEndpointResponse (Maybe WirelessGatewayServiceType)
- getServiceEndpointResponse_httpStatus :: Lens' GetServiceEndpointResponse Int
Creating a Request
data GetServiceEndpoint Source #
See: newGetServiceEndpoint
smart constructor.
GetServiceEndpoint' | |
|
Instances
newGetServiceEndpoint :: GetServiceEndpoint Source #
Create a value of GetServiceEndpoint
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:serviceType:GetServiceEndpoint'
, getServiceEndpoint_serviceType
- The service type for which to get endpoint information about. Can be
CUPS
for the Configuration and Update Server endpoint, or LNS
for
the LoRaWAN Network Server endpoint.
Request Lenses
getServiceEndpoint_serviceType :: Lens' GetServiceEndpoint (Maybe WirelessGatewayServiceType) Source #
The service type for which to get endpoint information about. Can be
CUPS
for the Configuration and Update Server endpoint, or LNS
for
the LoRaWAN Network Server endpoint.
Destructuring the Response
data GetServiceEndpointResponse Source #
See: newGetServiceEndpointResponse
smart constructor.
GetServiceEndpointResponse' | |
|
Instances
newGetServiceEndpointResponse Source #
Create a value of GetServiceEndpointResponse
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:serviceEndpoint:GetServiceEndpointResponse'
, getServiceEndpointResponse_serviceEndpoint
- The service endpoint value.
$sel:serverTrust:GetServiceEndpointResponse'
, getServiceEndpointResponse_serverTrust
- The Root CA of the server trust certificate.
$sel:serviceType:GetServiceEndpoint'
, getServiceEndpointResponse_serviceType
- The endpoint's service type.
$sel:httpStatus:GetServiceEndpointResponse'
, getServiceEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
getServiceEndpointResponse_serviceEndpoint :: Lens' GetServiceEndpointResponse (Maybe Text) Source #
The service endpoint value.
getServiceEndpointResponse_serverTrust :: Lens' GetServiceEndpointResponse (Maybe Text) Source #
The Root CA of the server trust certificate.
getServiceEndpointResponse_serviceType :: Lens' GetServiceEndpointResponse (Maybe WirelessGatewayServiceType) Source #
The endpoint's service type.
getServiceEndpointResponse_httpStatus :: Lens' GetServiceEndpointResponse Int Source #
The response's http status code.