Skip to main content

client_devices_associated_with_core_devices

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

Overview

Nameclient_devices_associated_with_core_devices
TypeResource
Idaws.greengrassv2.client_devices_associated_with_core_devices

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
association_timestampstring (date-time)The time that the client device was associated, expressed in ISO 8601 format.
thing_namestringThe name of the IoT thing that represents the associated client device.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_client_devices_associated_with_core_deviceselectcore_device_thing_name, regionmaxResults, nextTokenRetrieves a paginated list of client devices that are associated with a core device.

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
core_device_thing_namestringThe name of the core device. This is also the name of the IoT thing.
regionstringAWS region (default: us-east-1)
maxResultsintegerThe maximum number of results to be returned per paginated request.
nextTokenstringThe token to be used for the next set of paginated results.

SELECT examples

Retrieves a paginated list of client devices that are associated with a core device.

SELECT
association_timestamp,
thing_name
FROM aws.greengrassv2.client_devices_associated_with_core_devices
WHERE core_device_thing_name = '{{ core_device_thing_name }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;