IoTWireless / Client / create_wireless_gateway



Provisions a wireless gateway.


When provisioning a wireless gateway, you might run into duplication errors for the following reasons.

  • If you specify a GatewayEui value that already exists.

  • If you used a ClientRequestToken with the same parameters within the last 10 minutes.

To avoid this error, make sure that you use unique identifiers and parameters for each request within the specified time period.

See also: AWS API Documentation

Request Syntax

response = client.create_wireless_gateway(
        'GatewayEui': 'string',
        'RfRegion': 'string',
        'JoinEuiFilters': [
        'NetIdFilters': [
        'SubBands': [
        'Beaconing': {
            'DataRate': 123,
            'Frequencies': [
        'MaxEirp': ...
            'Key': 'string',
            'Value': 'string'
  • Name (string) – The name of the new resource.

  • Description (string) – The description of the new resource.

  • LoRaWAN (dict) –


    The gateway configuration information to use to create the wireless gateway.

    • GatewayEui (string) –

      The gateway’s EUI value.

    • RfRegion (string) –

      The frequency band (RFRegion) value.

    • JoinEuiFilters (list) –

      A list of JoinEuiRange used by LoRa gateways to filter LoRa frames.

      • (list) –

        A pair of join EUI describing a range [BegEui, EndEui], both ends are inclusive.

        • (string) –

    • NetIdFilters (list) –

      A list of NetId values that are used by LoRa gateways to filter the uplink frames.

      • (string) –

        LoRaWAN network ID.

    • SubBands (list) –

      A list of integer indicating which sub bands are supported by LoRa gateway.

      • (integer) –

        A subset of supported frequency channels in a certain RFRegion.

    • Beaconing (dict) –

      Beaconing object information, which consists of the data rate and frequency parameters.

      • DataRate (integer) –

        The data rate for gateways that are sending the beacons.

      • Frequencies (list) –

        The frequency list for the gateways to send the beacons.

        • (integer) –

    • MaxEirp (float) –

      The MaxEIRP value.

  • Tags (list) –

    The tags to attach to the new wireless gateway. Tags are metadata that you can use to manage a resource.

    • (dict) –

      A simple label consisting of a customer-defined key-value pair

      • Key (string) – [REQUIRED]

        The tag’s key value.

      • Value (string) – [REQUIRED]

        The tag’s value.

  • ClientRequestToken (string) –

    Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.

    This field is autopopulated if not provided.

Return type:



Response Syntax

    'Arn': 'string',
    'Id': 'string'

Response Structure

  • (dict) –

    • Arn (string) –

      The Amazon Resource Name of the new resource.

    • Id (string) –

      The ID of the new wireless gateway.


  • IoTWireless.Client.exceptions.ValidationException

  • IoTWireless.Client.exceptions.AccessDeniedException

  • IoTWireless.Client.exceptions.ConflictException

  • IoTWireless.Client.exceptions.InternalServerException

  • IoTWireless.Client.exceptions.ThrottlingException