client_devices_associated_with_core_devices
Creates, updates, deletes, gets or lists a client_devices_associated_with_core_devices resource.
Overview
| Name | client_devices_associated_with_core_devices |
| Type | Resource |
| Id | aws.greengrassv2.client_devices_associated_with_core_devices |
Fields
The following fields are returned by SELECT queries:
- list_client_devices_associated_with_core_device
| Name | Datatype | Description |
|---|---|---|
association_timestamp | string (date-time) | The time that the client device was associated, expressed in ISO 8601 format. |
thing_name | string | The name of the IoT thing that represents the associated client device. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_client_devices_associated_with_core_device | select | core_device_thing_name, region | maxResults, nextToken | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
core_device_thing_name | string | The name of the core device. This is also the name of the IoT thing. |
region | string | AWS region (default: us-east-1) |
maxResults | integer | The maximum number of results to be returned per paginated request. |
nextToken | string | The token to be used for the next set of paginated results. |
SELECT examples
- list_client_devices_associated_with_core_device
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 }}'
;