2023/04/17 - AWS IoT Wireless - 7 updated api methods
Changes Supports the new feature of LoRaWAN roaming, allows to configure MaxEirp for LoRaWAN gateway, and allows to configure PingSlotPeriod for LoRaWAN multicast group
{'LoRaWAN': {'PrAllowed': 'boolean', 'RaAllowed': 'boolean'}}
Creates a new service profile.
See also: AWS API Documentation
Request Syntax
client.create_service_profile( Name='string', LoRaWAN={ 'AddGwMetadata': True|False, 'DrMin': 123, 'DrMax': 123, 'PrAllowed': True|False, 'RaAllowed': True|False }, Tags=[ { 'Key': 'string', 'Value': 'string' }, ], ClientRequestToken='string' )
string
The name of the new resource.
dict
The service profile information to use to create the service profile.
AddGwMetadata (boolean) --
The AddGWMetaData value.
DrMin (integer) --
The DrMin value.
DrMax (integer) --
The DrMax value.
PrAllowed (boolean) --
The PRAllowed value that describes whether passive roaming is allowed.
RaAllowed (boolean) --
The RAAllowed value that describes whether roaming activation is allowed.
list
The tags to attach to the new service profile. 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.
string
Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
This field is autopopulated if not provided.
dict
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 service profile.
{'LoRaWAN': {'MaxEirp': 'float'}}
Provisions a wireless gateway.
See also: AWS API Documentation
Request Syntax
client.create_wireless_gateway( Name='string', Description='string', LoRaWAN={ 'GatewayEui': 'string', 'RfRegion': 'string', 'JoinEuiFilters': [ [ 'string', ], ], 'NetIdFilters': [ 'string', ], 'SubBands': [ 123, ], 'Beaconing': { 'DataRate': 123, 'Frequencies': [ 123, ] }, 'MaxEirp': ... }, Tags=[ { 'Key': 'string', 'Value': 'string' }, ], ClientRequestToken='string' )
string
The name of the new resource.
string
The description of the new resource.
dict
[REQUIRED]
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.
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.
string
Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
This field is autopopulated if not provided.
dict
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.
{'LoRaWAN': {'PingSlotPeriod': 'integer'}}
Gets information about a multicast group session.
See also: AWS API Documentation
Request Syntax
client.get_multicast_group_session( Id='string' )
string
[REQUIRED]
The ID of the multicast group.
dict
Response Syntax
{ 'LoRaWAN': { 'DlDr': 123, 'DlFreq': 123, 'SessionStartTime': datetime(2015, 1, 1), 'SessionTimeout': 123, 'PingSlotPeriod': 123 } }
Response Structure
(dict) --
LoRaWAN (dict) --
The LoRaWAN information used with the multicast session.
DlDr (integer) --
Downlink data rate.
DlFreq (integer) --
Downlink frequency.
SessionStartTime (datetime) --
Timestamp of when the multicast group session is to start.
SessionTimeout (integer) --
How long before a multicast group session is to timeout.
PingSlotPeriod (integer) --
The PingSlotPeriod value.
{'LoRaWAN': {'MaxEirp': 'float'}}
Gets information about a wireless gateway.
See also: AWS API Documentation
Request Syntax
client.get_wireless_gateway( Identifier='string', IdentifierType='GatewayEui'|'WirelessGatewayId'|'ThingName' )
string
[REQUIRED]
The identifier of the wireless gateway to get.
string
[REQUIRED]
The type of identifier used in identifier .
dict
Response Syntax
{ 'Name': 'string', 'Id': 'string', 'Description': 'string', 'LoRaWAN': { 'GatewayEui': 'string', 'RfRegion': 'string', 'JoinEuiFilters': [ [ 'string', ], ], 'NetIdFilters': [ 'string', ], 'SubBands': [ 123, ], 'Beaconing': { 'DataRate': 123, 'Frequencies': [ 123, ] }, 'MaxEirp': ... }, 'Arn': 'string', 'ThingName': 'string', 'ThingArn': 'string' }
Response Structure
(dict) --
Name (string) --
The name of the resource.
Id (string) --
The ID of the wireless gateway.
Description (string) --
The description of the resource.
LoRaWAN (dict) --
Information about 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.
Arn (string) --
The Amazon Resource Name of the resource.
ThingName (string) --
The name of the thing associated with the wireless gateway. The value is empty if a thing isn't associated with the gateway.
ThingArn (string) --
The ARN of the thing associated with the wireless gateway.
{'WirelessGatewayList': {'LoRaWAN': {'MaxEirp': 'float'}}}
Lists the wireless gateways registered to your AWS account.
See also: AWS API Documentation
Request Syntax
client.list_wireless_gateways( NextToken='string', MaxResults=123 )
string
To retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.
integer
The maximum number of results to return in this operation.
dict
Response Syntax
{ 'NextToken': 'string', 'WirelessGatewayList': [ { 'Arn': 'string', 'Id': 'string', 'Name': 'string', 'Description': 'string', 'LoRaWAN': { 'GatewayEui': 'string', 'RfRegion': 'string', 'JoinEuiFilters': [ [ 'string', ], ], 'NetIdFilters': [ 'string', ], 'SubBands': [ 123, ], 'Beaconing': { 'DataRate': 123, 'Frequencies': [ 123, ] }, 'MaxEirp': ... }, 'LastUplinkReceivedAt': 'string' }, ] }
Response Structure
(dict) --
NextToken (string) --
The token to use to get the next set of results, or null if there are no additional results.
WirelessGatewayList (list) --
The ID of the wireless gateway.
(dict) --
Information about a wireless gateway's operation.
Arn (string) --
The Amazon Resource Name of the resource.
Id (string) --
The ID of the wireless gateway reporting the data.
Name (string) --
The name of the resource.
Description (string) --
The description of the resource.
LoRaWAN (dict) --
LoRaWAN gateway info.
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.
LastUplinkReceivedAt (string) --
The date and time when the most recent uplink was received.
{'LoRaWAN': {'PingSlotPeriod': 'integer'}}
Starts a multicast group session.
See also: AWS API Documentation
Request Syntax
client.start_multicast_group_session( Id='string', LoRaWAN={ 'DlDr': 123, 'DlFreq': 123, 'SessionStartTime': datetime(2015, 1, 1), 'SessionTimeout': 123, 'PingSlotPeriod': 123 } )
string
[REQUIRED]
The ID of the multicast group.
dict
[REQUIRED]
The LoRaWAN information used with the multicast session.
DlDr (integer) --
Downlink data rate.
DlFreq (integer) --
Downlink frequency.
SessionStartTime (datetime) --
Timestamp of when the multicast group session is to start.
SessionTimeout (integer) --
How long before a multicast group session is to timeout.
PingSlotPeriod (integer) --
The PingSlotPeriod value.
dict
Response Syntax
{}
Response Structure
(dict) --
{'MaxEirp': 'float'}
Updates properties of a wireless gateway.
See also: AWS API Documentation
Request Syntax
client.update_wireless_gateway( Id='string', Name='string', Description='string', JoinEuiFilters=[ [ 'string', ], ], NetIdFilters=[ 'string', ], MaxEirp=... )
string
[REQUIRED]
The ID of the resource to update.
string
The new name of the resource.
string
A new description of the resource.
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) --
list
A list of NetId values that are used by LoRa gateways to filter the uplink frames.
(string) --
LoRaWAN network ID.
float
The MaxEIRP value.
dict
Response Syntax
{}
Response Structure
(dict) --