IoTWireless.Client.
create_device_profile
(**kwargs)¶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
IoTWireless.Client.exceptions.ValidationException
IoTWireless.Client.exceptions.AccessDeniedException
IoTWireless.Client.exceptions.ConflictException
IoTWireless.Client.exceptions.InternalServerException
IoTWireless.Client.exceptions.ThrottlingException