Skip to main content

wireless_device_import_tasks

Creates, updates, deletes, gets or lists a wireless_device_import_tasks resource.

Overview

Namewireless_device_import_tasks
TypeResource
Idaws.iotwireless.wireless_device_import_tasks

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
arnstringThe ARN (Amazon Resource Name) of the import task.
creation_timestring (date-time)The time at which the import task was created.
destination_namestringThe name of the destination that's assigned to the wireless devices in the import task. (pattern: <code>[a-zA-Z0-9-_]+</code>)
failed_imported_device_countinteger (int64)The number of devices in the import task that failed to onboard to the import task.
idstringThe identifier of the import task for which information is retrieved.
initialized_imported_device_countinteger (int64)The number of devices in the import task that are waiting for the control log to start processing.
onboarded_imported_device_countinteger (int64)The number of devices in the import task that have been onboarded to the import task.
pending_imported_device_countinteger (int64)The number of devices in the import task that are waiting in the import task queue to be onboarded.
positioningstringThe integration status of the Device Location feature for LoRaWAN and Sidewalk devices. (Enabled, Disabled)
sidewalkobjectThe Sidewalk-related information about an import task.
statusstringThe import task status. (INITIALIZING, INITIALIZED, PENDING, COMPLETE, FAILED, DELETING)
status_reasonstringThe reason for the provided status information, such as a validation error that causes the import task to fail.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_wireless_device_import_taskselectid, regionGet information about an import task and count of device onboarding summary information for the import task.
list_wireless_device_import_tasksselectregionmaxResults, nextTokenList of import tasks and summary information of onboarding status of devices in each import task.
update_wireless_device_import_taskupdateid, regionUpdate an import task to add more devices to the task.
delete_wireless_device_import_taskdeleteid, regionDelete an import task.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe unique identifier of the import task to be deleted.
regionstringAWS region (default: us-east-1)
maxResultsinteger
nextTokenstringTo retrieve the next set of results, the nextToken value from a previous response; otherwise null to receive the first set of results.

SELECT examples

Get information about an import task and count of device onboarding summary information for the import task.

SELECT
arn,
creation_time,
destination_name,
failed_imported_device_count,
id,
initialized_imported_device_count,
onboarded_imported_device_count,
pending_imported_device_count,
positioning,
sidewalk,
status,
status_reason
FROM aws.iotwireless.wireless_device_import_tasks
WHERE id = '{{ id }}' -- required
AND region = '{{ region }}' -- required
;

UPDATE examples

Update an import task to add more devices to the task.

UPDATE aws.iotwireless.wireless_device_import_tasks
SET
Sidewalk = '{{ Sidewalk }}'
WHERE
id = '{{ id }}' --required
AND region = '{{ region }}' --required;

DELETE examples

Delete an import task.

DELETE FROM aws.iotwireless.wireless_device_import_tasks
WHERE id = '{{ id }}' --required
AND region = '{{ region }}' --required
;