amazonka-iotwireless-2.0: Amazon IoT Wireless SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.IoTWireless.GetServiceEndpoint

Description

Gets the account-specific endpoint for Configuration and Update Server (CUPS) protocol or LoRaWAN Network Server (LNS) connections.

Synopsis

Creating a Request

data GetServiceEndpoint Source #

See: newGetServiceEndpoint smart constructor.

Constructors

GetServiceEndpoint' 

Fields

  • serviceType :: Maybe WirelessGatewayServiceType

    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 or CLAIM for the global endpoint.

Instances

Instances details
ToHeaders GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

ToPath GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

ToQuery GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

AWSRequest GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

Associated Types

type AWSResponse GetServiceEndpoint #

Generic GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

Associated Types

type Rep GetServiceEndpoint :: Type -> Type #

Read GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

Show GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

NFData GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

Methods

rnf :: GetServiceEndpoint -> () #

Eq GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

Hashable GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

type AWSResponse GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

type Rep GetServiceEndpoint Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

type Rep GetServiceEndpoint = D1 ('MetaData "GetServiceEndpoint" "Amazonka.IoTWireless.GetServiceEndpoint" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "GetServiceEndpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WirelessGatewayServiceType))))

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:

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 or CLAIM for the global 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 or CLAIM for the global endpoint.

Destructuring the Response

data GetServiceEndpointResponse Source #

See: newGetServiceEndpointResponse smart constructor.

Constructors

GetServiceEndpointResponse' 

Fields

Instances

Instances details
Generic GetServiceEndpointResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

Associated Types

type Rep GetServiceEndpointResponse :: Type -> Type #

Read GetServiceEndpointResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

Show GetServiceEndpointResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

NFData GetServiceEndpointResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

Eq GetServiceEndpointResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

type Rep GetServiceEndpointResponse Source # 
Instance details

Defined in Amazonka.IoTWireless.GetServiceEndpoint

type Rep GetServiceEndpointResponse = D1 ('MetaData "GetServiceEndpointResponse" "Amazonka.IoTWireless.GetServiceEndpoint" "amazonka-iotwireless-2.0-Dzx6Wen5AK9DyNP5TQU7zN" 'False) (C1 ('MetaCons "GetServiceEndpointResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "serverTrust") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "serviceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WirelessGatewayServiceType)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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:serverTrust:GetServiceEndpointResponse', getServiceEndpointResponse_serverTrust - The Root CA of the server trust certificate.

$sel:serviceEndpoint:GetServiceEndpointResponse', getServiceEndpointResponse_serviceEndpoint - The service endpoint value.

GetServiceEndpoint, getServiceEndpointResponse_serviceType - The endpoint's service type.

$sel:httpStatus:GetServiceEndpointResponse', getServiceEndpointResponse_httpStatus - The response's http status code.

Response Lenses