IoTWireless / Client / get_service_endpoint

get_service_endpoint#

IoTWireless.Client.get_service_endpoint(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.get_service_endpoint(
    ServiceType='CUPS'|'LNS'
)
Parameters:

ServiceType (string) – 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.

Return type:

dict

Returns:

Response Syntax

{
    'ServiceType': 'CUPS'|'LNS',
    'ServiceEndpoint': 'string',
    'ServerTrust': 'string'
}

Response Structure

  • (dict) –

    • ServiceType (string) –

      The endpoint’s service type.

    • ServiceEndpoint (string) –

      The service endpoint value.

    • ServerTrust (string) –

      The Root CA of the server trust certificate.

Exceptions

  • IoTWireless.Client.exceptions.ValidationException

  • IoTWireless.Client.exceptions.AccessDeniedException

  • IoTWireless.Client.exceptions.InternalServerException

  • IoTWireless.Client.exceptions.ThrottlingException