Table of Contents
A low-level client representing AWS IoT Wireless
AWS IoT Wireless API documentation
import boto3
client = boto3.client('iotwireless')
These are the available methods:
Associates a partner account with your AWS account.
See also: AWS API Documentation
Request Syntax
response = client.associate_aws_account_with_partner_account(
Sidewalk={
'AmazonId': 'string',
'AppServerPrivateKey': 'string'
},
ClientRequestToken='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The Sidewalk account credentials.
The Sidewalk Amazon ID.
The Sidewalk application server private key.
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.
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
A simple label consisting of a customer-defined key-value pair
The tag's key value.
The tag's value.
dict
Response Syntax
{
'Sidewalk': {
'AmazonId': 'string',
'AppServerPrivateKey': 'string'
},
'Arn': 'string'
}
Response Structure
(dict) --
Sidewalk (dict) --
The Sidewalk account credentials.
AmazonId (string) --
The Sidewalk Amazon ID.
AppServerPrivateKey (string) --
The Sidewalk application server private key.
Arn (string) --
The Amazon Resource Name of the resource.
Exceptions
Associates a wireless device with a thing.
See also: AWS API Documentation
Request Syntax
response = client.associate_wireless_device_with_thing(
Id='string',
ThingArn='string'
)
[REQUIRED]
The ID of the resource to update.
[REQUIRED]
The ARN of the thing to associate with the wireless device.
dict
Response Syntax
{}
Response Structure
Exceptions
Associates a wireless gateway with a certificate.
See also: AWS API Documentation
Request Syntax
response = client.associate_wireless_gateway_with_certificate(
Id='string',
IotCertificateId='string'
)
[REQUIRED]
The ID of the resource to update.
[REQUIRED]
The ID of the certificate to associate with the wireless gateway.
dict
Response Syntax
{
'IotCertificateId': 'string'
}
Response Structure
(dict) --
IotCertificateId (string) --
The ID of the certificate associated with the wireless gateway.
Exceptions
Associates a wireless gateway with a thing.
See also: AWS API Documentation
Request Syntax
response = client.associate_wireless_gateway_with_thing(
Id='string',
ThingArn='string'
)
[REQUIRED]
The ID of the resource to update.
[REQUIRED]
The ARN of the thing to associate with the wireless gateway.
dict
Response Syntax
{}
Response Structure
Exceptions
Check if an operation can be paginated.
Creates a new destination that maps a device message to an AWS IoT rule.
See also: AWS API Documentation
Request Syntax
response = client.create_destination(
Name='string',
ExpressionType='RuleName'|'MqttTopic',
Expression='string',
Description='string',
RoleArn='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
],
ClientRequestToken='string'
)
[REQUIRED]
The name of the new resource.
[REQUIRED]
The type of value in Expression .
[REQUIRED]
The rule name or topic rule to send messages to.
[REQUIRED]
The ARN of the IAM Role that authorizes the destination.
The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.
A simple label consisting of a customer-defined key-value pair
The tag's key value.
The tag's value.
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',
'Name': 'string'
}
Response Structure
(dict) --
Arn (string) --
The Amazon Resource Name of the new resource.
Name (string) --
The name of the new resource.
Exceptions
Creates a new device profile.
See also: AWS API Documentation
Request Syntax
response = client.create_device_profile(
Name='string',
LoRaWAN={
'SupportsClassB': True|False,
'ClassBTimeout': 123,
'PingSlotPeriod': 123,
'PingSlotDr': 123,
'PingSlotFreq': 123,
'SupportsClassC': True|False,
'ClassCTimeout': 123,
'MacVersion': 'string',
'RegParamsRevision': 'string',
'RxDelay1': 123,
'RxDrOffset1': 123,
'RxDataRate2': 123,
'RxFreq2': 123,
'FactoryPresetFreqsList': [
123,
],
'MaxEirp': 123,
'MaxDutyCycle': 123,
'RfRegion': 'string',
'SupportsJoin': True|False,
'Supports32BitFCnt': True|False
},
Tags=[
{
'Key': 'string',
'Value': 'string'
},
],
ClientRequestToken='string'
)
The device profile information to use to create the device profile.
The SupportsClassB value.
The ClassBTimeout value.
The PingSlotPeriod value.
The PingSlotDR value.
The PingSlotFreq value.
The SupportsClassC value.
The ClassCTimeout value.
The MAC version (such as OTAA 1.1 or OTAA 1.0.3) to use with this device profile.
The version of regional parameters.
The RXDelay1 value.
The RXDROffset1 value.
The RXDataRate2 value.
The RXFreq2 value.
The list of values that make up the FactoryPresetFreqs value.
The MaxEIRP value.
The MaxDutyCycle value.
The frequency band (RFRegion) value.
The SupportsJoin value.
The Supports32BitFCnt value.
The tags to attach to the new device profile. Tags are metadata that you can use to manage a resource.
A simple label consisting of a customer-defined key-value pair
The tag's key value.
The tag's value.
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 device profile.
Exceptions
Creates a new service profile.
See also: AWS API Documentation
Request Syntax
response = client.create_service_profile(
Name='string',
LoRaWAN={
'AddGwMetadata': True|False
},
Tags=[
{
'Key': 'string',
'Value': 'string'
},
],
ClientRequestToken='string'
)
The service profile information to use to create the service profile.
The AddGWMetaData value.
The tags to attach to the new service profile. Tags are metadata that you can use to manage a resource.
A simple label consisting of a customer-defined key-value pair
The tag's key value.
The tag's value.
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.
Exceptions
Provisions a wireless device.
See also: AWS API Documentation
Request Syntax
response = client.create_wireless_device(
Type='Sidewalk'|'LoRaWAN',
Name='string',
Description='string',
DestinationName='string',
ClientRequestToken='string',
LoRaWAN={
'DevEui': 'string',
'DeviceProfileId': 'string',
'ServiceProfileId': 'string',
'OtaaV1_1': {
'AppKey': 'string',
'NwkKey': 'string',
'JoinEui': 'string'
},
'OtaaV1_0_x': {
'AppKey': 'string',
'AppEui': 'string'
},
'AbpV1_1': {
'DevAddr': 'string',
'SessionKeys': {
'FNwkSIntKey': 'string',
'SNwkSIntKey': 'string',
'NwkSEncKey': 'string',
'AppSKey': 'string'
}
},
'AbpV1_0_x': {
'DevAddr': 'string',
'SessionKeys': {
'NwkSKey': 'string',
'AppSKey': 'string'
}
}
},
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The wireless device type.
[REQUIRED]
The name of the destination to assign to the new wireless device.
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.
The device configuration information to use to create the wireless device.
The DevEUI value.
The ID of the device profile for the new wireless device.
The ID of the service profile.
OTAA device object for v1.1 for create APIs
The AppKey value.
The NwkKey value.
The JoinEUI value.
OTAA device object for create APIs for v1.0.x
The AppKey value.
The AppEUI value.
ABP device object for create APIs for v1.1
The DevAddr value.
Session keys for ABP v1.1
The FNwkSIntKey value.
The SNwkSIntKey value.
The NwkSEncKey value.
The AppSKey value.
LoRaWAN object for create APIs
The DevAddr value.
Session keys for ABP v1.0.x
The NwkSKey value.
The AppSKey value.
The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.
A simple label consisting of a customer-defined key-value pair
The tag's key value.
The tag's value.
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 device.
Exceptions
Provisions a wireless gateway.
See also: AWS API Documentation
Request Syntax
response = client.create_wireless_gateway(
Name='string',
Description='string',
LoRaWAN={
'GatewayEui': 'string',
'RfRegion': 'string'
},
Tags=[
{
'Key': 'string',
'Value': 'string'
},
],
ClientRequestToken='string'
)
[REQUIRED]
The gateway configuration information to use to create the wireless gateway.
The gateway's EUI value.
The frequency band (RFRegion) value.
The tags to attach to the new wireless gateway. Tags are metadata that you can use to manage a resource.
A simple label consisting of a customer-defined key-value pair
The tag's key value.
The tag's value.
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.
Exceptions
Creates a task for a wireless gateway.
See also: AWS API Documentation
Request Syntax
response = client.create_wireless_gateway_task(
Id='string',
WirelessGatewayTaskDefinitionId='string'
)
[REQUIRED]
The ID of the resource to update.
[REQUIRED]
The ID of the WirelessGatewayTaskDefinition.
dict
Response Syntax
{
'WirelessGatewayTaskDefinitionId': 'string',
'Status': 'PENDING'|'IN_PROGRESS'|'FIRST_RETRY'|'SECOND_RETRY'|'COMPLETED'|'FAILED'
}
Response Structure
(dict) --
WirelessGatewayTaskDefinitionId (string) --
The ID of the WirelessGatewayTaskDefinition.
Status (string) --
The status of the request.
Exceptions
Creates a gateway task definition.
See also: AWS API Documentation
Request Syntax
response = client.create_wireless_gateway_task_definition(
AutoCreateTasks=True|False,
Name='string',
Update={
'UpdateDataSource': 'string',
'UpdateDataRole': 'string',
'LoRaWAN': {
'UpdateSignature': 'string',
'SigKeyCrc': 123,
'CurrentVersion': {
'PackageVersion': 'string',
'Model': 'string',
'Station': 'string'
},
'UpdateVersion': {
'PackageVersion': 'string',
'Model': 'string',
'Station': 'string'
}
}
},
ClientRequestToken='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false , the task must me created by calling CreateWirelessGatewayTask .
Information about the gateways to update.
The link to the S3 bucket.
The IAM role used to read data from the S3 bucket.
The properties that relate to the LoRaWAN wireless gateway.
The signature used to verify the update firmware.
The CRC of the signature private key to check.
The version of the gateways that should receive the update.
The version of the wireless gateway firmware.
The model number of the wireless gateway.
The basic station version of the wireless gateway.
The firmware version to update the gateway to.
The version of the wireless gateway firmware.
The model number of the wireless gateway.
The basic station version of the wireless gateway.
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.
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
A simple label consisting of a customer-defined key-value pair
The tag's key value.
The tag's value.
dict
Response Syntax
{
'Id': 'string',
'Arn': 'string'
}
Response Structure
(dict) --
Id (string) --
The ID of the new wireless gateway task definition.
Arn (string) --
The Amazon Resource Name of the resource.
Exceptions
Deletes a destination.
See also: AWS API Documentation
Request Syntax
response = client.delete_destination(
Name='string'
)
[REQUIRED]
The name of the resource to delete.
{}
Response Structure
Exceptions
Deletes a device profile.
See also: AWS API Documentation
Request Syntax
response = client.delete_device_profile(
Id='string'
)
[REQUIRED]
The ID of the resource to delete.
{}
Response Structure
Exceptions
Deletes a service profile.
See also: AWS API Documentation
Request Syntax
response = client.delete_service_profile(
Id='string'
)
[REQUIRED]
The ID of the resource to delete.
{}
Response Structure
Exceptions
Deletes a wireless device.
See also: AWS API Documentation
Request Syntax
response = client.delete_wireless_device(
Id='string'
)
[REQUIRED]
The ID of the resource to delete.
{}
Response Structure
Exceptions
Deletes a wireless gateway.
See also: AWS API Documentation
Request Syntax
response = client.delete_wireless_gateway(
Id='string'
)
[REQUIRED]
The ID of the resource to delete.
{}
Response Structure
Exceptions
Deletes a wireless gateway task.
See also: AWS API Documentation
Request Syntax
response = client.delete_wireless_gateway_task(
Id='string'
)
[REQUIRED]
The ID of the resource to delete.
{}
Response Structure
Exceptions
Deletes a wireless gateway task definition. Deleting this task definition does not affect tasks that are currently in progress.
See also: AWS API Documentation
Request Syntax
response = client.delete_wireless_gateway_task_definition(
Id='string'
)
[REQUIRED]
The ID of the resource to delete.
{}
Response Structure
Exceptions
Disassociates your AWS account from a partner account. If PartnerAccountId and PartnerType are null , disassociates your AWS account from all partner accounts.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_aws_account_from_partner_account(
PartnerAccountId='string',
PartnerType='Sidewalk'
)
[REQUIRED]
The partner account ID to disassociate from the AWS account.
[REQUIRED]
The partner type.
dict
Response Syntax
{}
Response Structure
Exceptions
Disassociates a wireless device from its currently associated thing.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_wireless_device_from_thing(
Id='string'
)
[REQUIRED]
The ID of the resource to update.
{}
Response Structure
Exceptions
Disassociates a wireless gateway from its currently associated certificate.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_wireless_gateway_from_certificate(
Id='string'
)
[REQUIRED]
The ID of the resource to update.
{}
Response Structure
Exceptions
Disassociates a wireless gateway from its currently associated thing.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_wireless_gateway_from_thing(
Id='string'
)
[REQUIRED]
The ID of the resource to update.
{}
Response Structure
Exceptions
Generate a presigned url given a client, its method, and arguments
The presigned url
Gets information about a destination.
See also: AWS API Documentation
Request Syntax
response = client.get_destination(
Name='string'
)
[REQUIRED]
The name of the resource to get.
{
'Arn': 'string',
'Name': 'string',
'Expression': 'string',
'ExpressionType': 'RuleName'|'MqttTopic',
'Description': 'string',
'RoleArn': 'string'
}
Response Structure
The Amazon Resource Name of the resource.
The name of the resource.
The rule name or topic rule to send messages to.
The type of value in Expression .
The description of the resource.
The ARN of the IAM Role that authorizes the destination.
Exceptions
Gets information about a device profile.
See also: AWS API Documentation
Request Syntax
response = client.get_device_profile(
Id='string'
)
[REQUIRED]
The ID of the resource to get.
{
'Arn': 'string',
'Name': 'string',
'Id': 'string',
'LoRaWAN': {
'SupportsClassB': True|False,
'ClassBTimeout': 123,
'PingSlotPeriod': 123,
'PingSlotDr': 123,
'PingSlotFreq': 123,
'SupportsClassC': True|False,
'ClassCTimeout': 123,
'MacVersion': 'string',
'RegParamsRevision': 'string',
'RxDelay1': 123,
'RxDrOffset1': 123,
'RxDataRate2': 123,
'RxFreq2': 123,
'FactoryPresetFreqsList': [
123,
],
'MaxEirp': 123,
'MaxDutyCycle': 123,
'RfRegion': 'string',
'SupportsJoin': True|False,
'Supports32BitFCnt': True|False
}
}
Response Structure
The Amazon Resource Name of the resource.
The name of the resource.
The ID of the device profile.
Information about the device profile.
The SupportsClassB value.
The ClassBTimeout value.
The PingSlotPeriod value.
The PingSlotDR value.
The PingSlotFreq value.
The SupportsClassC value.
The ClassCTimeout value.
The MAC version (such as OTAA 1.1 or OTAA 1.0.3) to use with this device profile.
The version of regional parameters.
The RXDelay1 value.
The RXDROffset1 value.
The RXDataRate2 value.
The RXFreq2 value.
The list of values that make up the FactoryPresetFreqs value.
The MaxEIRP value.
The MaxDutyCycle value.
The frequency band (RFRegion) value.
The SupportsJoin value.
The Supports32BitFCnt value.
Exceptions
Create a paginator for an operation.
Gets information about a partner account. If PartnerAccountId and PartnerType are null , returns all partner accounts.
See also: AWS API Documentation
Request Syntax
response = client.get_partner_account(
PartnerAccountId='string',
PartnerType='Sidewalk'
)
[REQUIRED]
The partner account ID to disassociate from the AWS account.
[REQUIRED]
The partner type.
dict
Response Syntax
{
'Sidewalk': {
'AmazonId': 'string',
'Fingerprint': 'string',
'Arn': 'string'
},
'AccountLinked': True|False
}
Response Structure
(dict) --
Sidewalk (dict) --
The Sidewalk account credentials.
AmazonId (string) --
The Sidewalk Amazon ID.
Fingerprint (string) --
The fingerprint of the Sidewalk application server private key.
Arn (string) --
The Amazon Resource Name of the resource.
AccountLinked (boolean) --
Whether the partner account is linked to the AWS account.
Exceptions
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'
)
{
'ServiceType': 'CUPS'|'LNS',
'ServiceEndpoint': 'string',
'ServerTrust': 'string'
}
Response Structure
The endpoint's service type.
The service endpoint value.
The Root CA of the server trust certificate.
Exceptions
Gets information about a service profile.
See also: AWS API Documentation
Request Syntax
response = client.get_service_profile(
Id='string'
)
[REQUIRED]
The ID of the resource to get.
{
'Arn': 'string',
'Name': 'string',
'Id': 'string',
'LoRaWAN': {
'UlRate': 123,
'UlBucketSize': 123,
'UlRatePolicy': 'string',
'DlRate': 123,
'DlBucketSize': 123,
'DlRatePolicy': 'string',
'AddGwMetadata': True|False,
'DevStatusReqFreq': 123,
'ReportDevStatusBattery': True|False,
'ReportDevStatusMargin': True|False,
'DrMin': 123,
'DrMax': 123,
'ChannelMask': 'string',
'PrAllowed': True|False,
'HrAllowed': True|False,
'RaAllowed': True|False,
'NwkGeoLoc': True|False,
'TargetPer': 123,
'MinGwDiversity': 123
}
}
Response Structure
The Amazon Resource Name of the resource.
The name of the resource.
The ID of the service profile.
Information about the service profile.
The ULRate value.
The ULBucketSize value.
The ULRatePolicy value.
The DLRate value.
The DLBucketSize value.
The DLRatePolicy value.
The AddGWMetaData value.
The DevStatusReqFreq value.
The ReportDevStatusBattery value.
The ReportDevStatusMargin value.
The DRMin value.
The DRMax value.
The ChannelMask value.
The PRAllowed value that describes whether passive roaming is allowed.
The HRAllowed value that describes whether handover roaming is allowed.
The RAAllowed value that describes whether roaming activation is allowed.
The NwkGeoLoc value.
The TargetPER value.
The MinGwDiversity value.
Exceptions
Returns an object that can wait for some condition.
Gets information about a wireless device.
See also: AWS API Documentation
Request Syntax
response = client.get_wireless_device(
Identifier='string',
IdentifierType='WirelessDeviceId'|'DevEui'|'ThingName'
)
[REQUIRED]
The identifier of the wireless device to get.
[REQUIRED]
The type of identifier used in identifier .
dict
Response Syntax
{
'Type': 'Sidewalk'|'LoRaWAN',
'Name': 'string',
'Description': 'string',
'DestinationName': 'string',
'Id': 'string',
'Arn': 'string',
'ThingName': 'string',
'ThingArn': 'string',
'LoRaWAN': {
'DevEui': 'string',
'DeviceProfileId': 'string',
'ServiceProfileId': 'string',
'OtaaV1_1': {
'AppKey': 'string',
'NwkKey': 'string',
'JoinEui': 'string'
},
'OtaaV1_0_x': {
'AppKey': 'string',
'AppEui': 'string'
},
'AbpV1_1': {
'DevAddr': 'string',
'SessionKeys': {
'FNwkSIntKey': 'string',
'SNwkSIntKey': 'string',
'NwkSEncKey': 'string',
'AppSKey': 'string'
}
},
'AbpV1_0_x': {
'DevAddr': 'string',
'SessionKeys': {
'NwkSKey': 'string',
'AppSKey': 'string'
}
}
},
'Sidewalk': {
'SidewalkId': 'string',
'SidewalkManufacturingSn': 'string',
'DeviceCertificates': [
{
'SigningAlg': 'Ed25519'|'P256r1',
'Value': 'string'
},
]
}
}
Response Structure
(dict) --
Type (string) --
The wireless device type.
Name (string) --
The name of the resource.
Description (string) --
The description of the resource.
DestinationName (string) --
The name of the destination to which the device is assigned.
Id (string) --
The ID of the wireless device.
Arn (string) --
The Amazon Resource Name of the resource.
ThingName (string) --
The name of the thing associated with the wireless device. The value is empty if a thing isn't associated with the device.
ThingArn (string) --
The ARN of the thing associated with the wireless device.
LoRaWAN (dict) --
Information about the wireless device.
DevEui (string) --
The DevEUI value.
DeviceProfileId (string) --
The ID of the device profile for the new wireless device.
ServiceProfileId (string) --
The ID of the service profile.
OtaaV1_1 (dict) --
OTAA device object for v1.1 for create APIs
AppKey (string) --
The AppKey value.
NwkKey (string) --
The NwkKey value.
JoinEui (string) --
The JoinEUI value.
OtaaV1_0_x (dict) --
OTAA device object for create APIs for v1.0.x
AppKey (string) --
The AppKey value.
AppEui (string) --
The AppEUI value.
AbpV1_1 (dict) --
ABP device object for create APIs for v1.1
DevAddr (string) --
The DevAddr value.
SessionKeys (dict) --
Session keys for ABP v1.1
FNwkSIntKey (string) --
The FNwkSIntKey value.
SNwkSIntKey (string) --
The SNwkSIntKey value.
NwkSEncKey (string) --
The NwkSEncKey value.
AppSKey (string) --
The AppSKey value.
AbpV1_0_x (dict) --
LoRaWAN object for create APIs
DevAddr (string) --
The DevAddr value.
SessionKeys (dict) --
Session keys for ABP v1.0.x
NwkSKey (string) --
The NwkSKey value.
AppSKey (string) --
The AppSKey value.
Sidewalk (dict) --
Sidewalk device object.
SidewalkId (string) --
The sidewalk device identification.
SidewalkManufacturingSn (string) --
The Sidewalk manufacturing series number.
DeviceCertificates (list) --
The sidewalk device certificates for Ed25519 and P256r1.
(dict) --
List of sidewalk certificates.
SigningAlg (string) --
The certificate chain algorithm provided by sidewalk.
Value (string) --
The value of the chosen sidewalk certificate.
Exceptions
Gets operating information about a wireless device.
See also: AWS API Documentation
Request Syntax
response = client.get_wireless_device_statistics(
WirelessDeviceId='string'
)
[REQUIRED]
The ID of the wireless device for which to get the data.
{
'WirelessDeviceId': 'string',
'LastUplinkReceivedAt': 'string',
'LoRaWAN': {
'DevEui': 'string',
'FPort': 123,
'DataRate': 123,
'Frequency': 123,
'Timestamp': 'string',
'Gateways': [
{
'GatewayEui': 'string',
'Snr': 123.0,
'Rssi': 123.0
},
]
},
'Sidewalk': {
'Rssi': 123,
'BatteryLevel': 'normal'|'low'|'critical',
'Event': 'discovered'|'lost'|'ack'|'nack'|'passthrough',
'DeviceState': 'Provisioned'|'RegisteredNotSeen'|'RegisteredReachable'|'RegisteredUnreachable'
}
}
Response Structure
The ID of the wireless device.
The date and time when the most recent uplink was received.
Information about the wireless device's operations.
The DevEUI value.
The FPort value.
The DataRate value.
The device's channel frequency in Hz.
The date and time of the metadata.
Information about the gateways accessed by the device.
LoRaWAN gateway metatdata.
The gateway's EUI value.
The SNR value.
The RSSI value.
MetaData for Sidewalk device.
The RSSI value.
Sidewalk device battery level.
Sidewalk device status notification.
Device state defines the device status of sidewalk device.
Exceptions
Gets information about a wireless gateway.
See also: AWS API Documentation
Request Syntax
response = client.get_wireless_gateway(
Identifier='string',
IdentifierType='GatewayEui'|'WirelessGatewayId'|'ThingName'
)
[REQUIRED]
The identifier of the wireless gateway to get.
[REQUIRED]
The type of identifier used in identifier .
dict
Response Syntax
{
'Name': 'string',
'Id': 'string',
'Description': 'string',
'LoRaWAN': {
'GatewayEui': 'string',
'RfRegion': 'string'
},
'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.
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.
Exceptions
Gets the ID of the certificate that is currently associated with a wireless gateway.
See also: AWS API Documentation
Request Syntax
response = client.get_wireless_gateway_certificate(
Id='string'
)
[REQUIRED]
The ID of the resource to get.
{
'IotCertificateId': 'string',
'LoRaWANNetworkServerCertificateId': 'string'
}
Response Structure
The ID of the certificate associated with the wireless gateway.
The ID of the certificate that is associated with the wireless gateway and used for the LoRaWANNetworkServer endpoint.
Exceptions
Gets the firmware version and other information about a wireless gateway.
See also: AWS API Documentation
Request Syntax
response = client.get_wireless_gateway_firmware_information(
Id='string'
)
[REQUIRED]
The ID of the resource to get.
{
'LoRaWAN': {
'CurrentVersion': {
'PackageVersion': 'string',
'Model': 'string',
'Station': 'string'
}
}
}
Response Structure
Information about the wireless gateway's firmware.
The version of the gateways that should receive the update.
The version of the wireless gateway firmware.
The model number of the wireless gateway.
The basic station version of the wireless gateway.
Exceptions
Gets operating information about a wireless gateway.
See also: AWS API Documentation
Request Syntax
response = client.get_wireless_gateway_statistics(
WirelessGatewayId='string'
)
[REQUIRED]
The ID of the wireless gateway for which to get the data.
{
'WirelessGatewayId': 'string',
'LastUplinkReceivedAt': 'string',
'ConnectionStatus': 'Connected'|'Disconnected'
}
Response Structure
The ID of the wireless gateway.
The date and time when the most recent uplink was received.
The connection status of the wireless gateway.
Exceptions
Gets information about a wireless gateway task.
See also: AWS API Documentation
Request Syntax
response = client.get_wireless_gateway_task(
Id='string'
)
[REQUIRED]
The ID of the resource to get.
{
'WirelessGatewayId': 'string',
'WirelessGatewayTaskDefinitionId': 'string',
'LastUplinkReceivedAt': 'string',
'TaskCreatedAt': 'string',
'Status': 'PENDING'|'IN_PROGRESS'|'FIRST_RETRY'|'SECOND_RETRY'|'COMPLETED'|'FAILED'
}
Response Structure
The ID of the wireless gateway.
The ID of the WirelessGatewayTask.
The date and time when the most recent uplink was received.
The date and time when the task was created.
The status of the request.
Exceptions
Gets information about a wireless gateway task definition.
See also: AWS API Documentation
Request Syntax
response = client.get_wireless_gateway_task_definition(
Id='string'
)
[REQUIRED]
The ID of the resource to get.
{
'AutoCreateTasks': True|False,
'Name': 'string',
'Update': {
'UpdateDataSource': 'string',
'UpdateDataRole': 'string',
'LoRaWAN': {
'UpdateSignature': 'string',
'SigKeyCrc': 123,
'CurrentVersion': {
'PackageVersion': 'string',
'Model': 'string',
'Station': 'string'
},
'UpdateVersion': {
'PackageVersion': 'string',
'Model': 'string',
'Station': 'string'
}
}
},
'Arn': 'string'
}
Response Structure
Whether to automatically create tasks using this task definition for all gateways with the specified current version. If false , the task must me created by calling CreateWirelessGatewayTask .
The name of the resource.
Information about the gateways to update.
The link to the S3 bucket.
The IAM role used to read data from the S3 bucket.
The properties that relate to the LoRaWAN wireless gateway.
The signature used to verify the update firmware.
The CRC of the signature private key to check.
The version of the gateways that should receive the update.
The version of the wireless gateway firmware.
The model number of the wireless gateway.
The basic station version of the wireless gateway.
The firmware version to update the gateway to.
The version of the wireless gateway firmware.
The model number of the wireless gateway.
The basic station version of the wireless gateway.
The Amazon Resource Name of the resource.
Exceptions
Lists the destinations registered to your AWS account.
See also: AWS API Documentation
Request Syntax
response = client.list_destinations(
MaxResults=123,
NextToken='string'
)
dict
Response Syntax
{
'NextToken': 'string',
'DestinationList': [
{
'Arn': 'string',
'Name': 'string',
'ExpressionType': 'RuleName'|'MqttTopic',
'Expression': 'string',
'Description': 'string',
'RoleArn': '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.
DestinationList (list) --
The list of destinations.
(dict) --
Describes a destination.
Arn (string) --
The Amazon Resource Name of the resource.
Name (string) --
The name of the resource.
ExpressionType (string) --
The type of value in Expression .
Expression (string) --
The rule name or topic rule to send messages to.
Description (string) --
The description of the resource.
RoleArn (string) --
The ARN of the IAM Role that authorizes the destination.
Exceptions
Lists the device profiles registered to your AWS account.
See also: AWS API Documentation
Request Syntax
response = client.list_device_profiles(
NextToken='string',
MaxResults=123
)
dict
Response Syntax
{
'NextToken': 'string',
'DeviceProfileList': [
{
'Arn': 'string',
'Name': 'string',
'Id': '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.
DeviceProfileList (list) --
The list of device profiles.
(dict) --
Describes a device profile.
Arn (string) --
The Amazon Resource Name of the resource.
Name (string) --
The name of the resource.
Id (string) --
The ID of the device profile.
Exceptions
Lists the partner accounts associated with your AWS account.
See also: AWS API Documentation
Request Syntax
response = client.list_partner_accounts(
NextToken='string',
MaxResults=123
)
dict
Response Syntax
{
'NextToken': 'string',
'Sidewalk': [
{
'AmazonId': 'string',
'Fingerprint': 'string',
'Arn': '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.
Sidewalk (list) --
The Sidewalk account credentials.
(dict) --
Information about a Sidewalk account.
AmazonId (string) --
The Sidewalk Amazon ID.
Fingerprint (string) --
The fingerprint of the Sidewalk application server private key.
Arn (string) --
The Amazon Resource Name of the resource.
Exceptions
Lists the service profiles registered to your AWS account.
See also: AWS API Documentation
Request Syntax
response = client.list_service_profiles(
NextToken='string',
MaxResults=123
)
dict
Response Syntax
{
'NextToken': 'string',
'ServiceProfileList': [
{
'Arn': 'string',
'Name': 'string',
'Id': '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.
ServiceProfileList (list) --
The list of service profiles.
(dict) --
Information about a service profile.
Arn (string) --
The Amazon Resource Name of the resource.
Name (string) --
The name of the resource.
Id (string) --
The ID of the service profile.
Exceptions
Lists the tags (metadata) you have assigned to the resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource(
ResourceArn='string'
)
[REQUIRED]
The ARN of the resource for which you want to list tags.
{
'Tags': [
{
'Key': 'string',
'Value': 'string'
},
]
}
Response Structure
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
A simple label consisting of a customer-defined key-value pair
The tag's key value.
The tag's value.
Exceptions
Lists the wireless devices registered to your AWS account.
See also: AWS API Documentation
Request Syntax
response = client.list_wireless_devices(
MaxResults=123,
NextToken='string',
DestinationName='string',
DeviceProfileId='string',
ServiceProfileId='string',
WirelessDeviceType='Sidewalk'|'LoRaWAN'
)
dict
Response Syntax
{
'NextToken': 'string',
'WirelessDeviceList': [
{
'Arn': 'string',
'Id': 'string',
'Type': 'Sidewalk'|'LoRaWAN',
'Name': 'string',
'DestinationName': 'string',
'LastUplinkReceivedAt': 'string',
'LoRaWAN': {
'DevEui': 'string'
},
'Sidewalk': {
'AmazonId': 'string',
'SidewalkId': 'string',
'SidewalkManufacturingSn': 'string',
'DeviceCertificates': [
{
'SigningAlg': 'Ed25519'|'P256r1',
'Value': '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.
WirelessDeviceList (list) --
The ID of the wireless device.
(dict) --
Information about a wireless device's operation.
Arn (string) --
The Amazon Resource Name of the resource.
Id (string) --
The ID of the wireless device reporting the data.
Type (string) --
The wireless device type.
Name (string) --
The name of the resource.
DestinationName (string) --
The name of the destination to which the device is assigned.
LastUplinkReceivedAt (string) --
The date and time when the most recent uplink was received.
LoRaWAN (dict) --
LoRaWAN device info.
DevEui (string) --
The DevEUI value.
Sidewalk (dict) --
The Sidewalk account credentials.
AmazonId (string) --
The Sidewalk Amazon ID.
SidewalkId (string) --
The sidewalk device identification.
SidewalkManufacturingSn (string) --
The Sidewalk manufacturing series number.
DeviceCertificates (list) --
The sidewalk device certificates for Ed25519 and P256r1.
(dict) --
List of sidewalk certificates.
SigningAlg (string) --
The certificate chain algorithm provided by sidewalk.
Value (string) --
The value of the chosen sidewalk certificate.
Exceptions
List the wireless gateway tasks definitions registered to your AWS account.
See also: AWS API Documentation
Request Syntax
response = client.list_wireless_gateway_task_definitions(
MaxResults=123,
NextToken='string',
TaskDefinitionType='UPDATE'
)
dict
Response Syntax
{
'NextToken': 'string',
'TaskDefinitions': [
{
'Id': 'string',
'LoRaWAN': {
'CurrentVersion': {
'PackageVersion': 'string',
'Model': 'string',
'Station': 'string'
},
'UpdateVersion': {
'PackageVersion': 'string',
'Model': 'string',
'Station': 'string'
}
},
'Arn': '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.
TaskDefinitions (list) --
The list of task definitions.
(dict) --
UpdateWirelessGatewayTaskEntry object.
Id (string) --
The ID of the new wireless gateway task entry.
LoRaWAN (dict) --
The properties that relate to the LoRaWAN wireless gateway.
CurrentVersion (dict) --
The version of the gateways that should receive the update.
PackageVersion (string) --
The version of the wireless gateway firmware.
Model (string) --
The model number of the wireless gateway.
Station (string) --
The basic station version of the wireless gateway.
UpdateVersion (dict) --
The firmware version to update the gateway to.
PackageVersion (string) --
The version of the wireless gateway firmware.
Model (string) --
The model number of the wireless gateway.
Station (string) --
The basic station version of the wireless gateway.
Arn (string) --
The Amazon Resource Name of the resource.
Exceptions
Lists the wireless gateways registered to your AWS account.
See also: AWS API Documentation
Request Syntax
response = client.list_wireless_gateways(
NextToken='string',
MaxResults=123
)
dict
Response Syntax
{
'NextToken': 'string',
'WirelessGatewayList': [
{
'Arn': 'string',
'Id': 'string',
'Name': 'string',
'Description': 'string',
'LoRaWAN': {
'GatewayEui': 'string',
'RfRegion': 'string'
},
'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.
LastUplinkReceivedAt (string) --
The date and time when the most recent uplink was received.
Exceptions
Sends a decrypted application data frame to a device.
See also: AWS API Documentation
Request Syntax
response = client.send_data_to_wireless_device(
Id='string',
TransmitMode=123,
PayloadData='string',
WirelessMetadata={
'LoRaWAN': {
'FPort': 123
},
'Sidewalk': {
'Seq': 123,
'MessageType': 'CUSTOM_COMMAND_ID_NOTIFY'|'CUSTOM_COMMAND_ID_GET'|'CUSTOM_COMMAND_ID_SET'|'CUSTOM_COMMAND_ID_RESP'
}
}
)
[REQUIRED]
The ID of the wireless device to receive the data.
[REQUIRED]
The transmit mode to use to send data to the wireless device. Can be: 0 for UM (unacknowledge mode) or 1 for AM (acknowledge mode).
[REQUIRED]
The message payload to send.
Metadata about the message request.
LoRaWAN device info.
The Fport value.
The Sidewalk account credentials.
The sequence number.
Sidewalk device message type.
dict
Response Syntax
{
'MessageId': 'string'
}
Response Structure
(dict) --
MessageId (string) --
The ID of the message sent to the wireless device.
Exceptions
Adds a tag to a resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The ARN of the resource to add tags to.
[REQUIRED]
Adds to or modifies the tags of the given resource. Tags are metadata that you can use to manage a resource.
A simple label consisting of a customer-defined key-value pair
The tag's key value.
The tag's value.
dict
Response Syntax
{}
Response Structure
Exceptions
Simulates a provisioned device by sending an uplink data payload of Hello .
See also: AWS API Documentation
Request Syntax
response = client.test_wireless_device(
Id='string'
)
[REQUIRED]
The ID of the wireless device to test.
{
'Result': 'string'
}
Response Structure
The result returned by the test.
Exceptions
Removes one or more tags from a resource.
See also: AWS API Documentation
Request Syntax
response = client.untag_resource(
ResourceArn='string',
TagKeys=[
'string',
]
)
[REQUIRED]
The ARN of the resource to remove tags from.
[REQUIRED]
A list of the keys of the tags to remove from the resource.
dict
Response Syntax
{}
Response Structure
Exceptions
Updates properties of a destination.
See also: AWS API Documentation
Request Syntax
response = client.update_destination(
Name='string',
ExpressionType='RuleName'|'MqttTopic',
Expression='string',
Description='string',
RoleArn='string'
)
[REQUIRED]
The new name of the resource.
dict
Response Syntax
{}
Response Structure
Exceptions
Updates properties of a partner account.
See also: AWS API Documentation
Request Syntax
response = client.update_partner_account(
Sidewalk={
'AppServerPrivateKey': 'string'
},
PartnerAccountId='string',
PartnerType='Sidewalk'
)
[REQUIRED]
The Sidewalk account credentials.
The new Sidewalk application server private key.
[REQUIRED]
The ID of the partner account to update.
[REQUIRED]
The partner type.
dict
Response Syntax
{}
Response Structure
Exceptions
Updates properties of a wireless device.
See also: AWS API Documentation
Request Syntax
response = client.update_wireless_device(
Id='string',
DestinationName='string',
Name='string',
Description='string',
LoRaWAN={
'DeviceProfileId': 'string',
'ServiceProfileId': 'string'
}
)
[REQUIRED]
The ID of the resource to update.
The updated wireless device's configuration.
The ID of the device profile for the wireless device.
The ID of the service profile.
dict
Response Syntax
{}
Response Structure
Exceptions
Updates properties of a wireless gateway.
See also: AWS API Documentation
Request Syntax
response = client.update_wireless_gateway(
Id='string',
Name='string',
Description='string'
)
[REQUIRED]
The ID of the resource to update.
dict
Response Syntax
{}
Response Structure
Exceptions
The available paginators are: