create_wireless_device
¶
create_wireless_device(
type: WirelessDeviceType,
destination_name: DestinationName,
*,
config_overrides: Optional[IoTWirelessClientConfig] = None,
name: Optional[WirelessDeviceName] = None,
description: Optional[Description] = None,
client_request_token: Optional[ClientRequestToken] = None,
lo_ra_wan: Optional[LoRaWANDevice] = None,
tags: Optional[TagList] = None,
positioning: Optional[PositioningConfigStatus] = None,
sidewalk: Optional[SidewalkCreateWirelessDevice] = None,
) -> CreateWirelessDeviceResponse
Provisions a wireless device.
Parameters:
-
type(WirelessDeviceType) –The wireless device type.
-
name(Optional[WirelessDeviceName], default:None) –The name of the new resource.
The following special characters aren't accepted:
<>^#~$ -
description(Optional[Description], default:None) –The description of the new resource.
-
destination_name(DestinationName) –The name of the destination to assign to the new wireless device.
-
client_request_token(Optional[ClientRequestToken], default:None) –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.
-
lo_ra_wan(Optional[LoRaWANDevice], default:None) –The device configuration information to use to create the wireless device.
-
tags(Optional[TagList], default:None) –The tags to attach to the new wireless device. Tags are metadata that you can use to manage a resource.
-
positioning(Optional[PositioningConfigStatus], default:None) –The integration status of the Device Location feature for LoRaWAN and Sidewalk devices.
-
sidewalk(Optional[SidewalkCreateWirelessDevice], default:None) –The device configuration information to use to create the Sidewalk device.
Raises:
-
AccessDeniedException–User does not have permission to perform this action.
-
ConflictException–Adding, updating, or deleting the resource can cause an inconsistent state.
-
InternalServerException–An unexpected error occurred while processing a request.
-
ResourceNotFoundException–Resource does not exist.
-
ThrottlingException–The request was denied because it exceeded the allowed API request rate.
-
ValidationException–The input did not meet the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_iot_wireless/_services/io_t_wireless.py
1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 | |