ota_task_executions
Creates, updates, deletes, gets or lists an ota_task_executions resource.
Overview
| Name | ota_task_executions |
| Type | Resource |
| Id | aws.iot_managed_integrations.ota_task_executions |
Fields
The following fields are returned by SELECT queries:
- list_ota_task_executions
| Name | Datatype | Description |
|---|---|---|
managed_thing_id | string | The id of a managed thing. (pattern: <code>[a-zA-Z0-9:_-]*</code>) |
task_execution_summary | object | Structure representing one over-the-air (OTA) task execution summary |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_ota_task_executions | select | identifier, region | NextToken, MaxResults | List all of the over-the-air (OTA) task executions. |
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 |
|---|---|---|
identifier | string | The over-the-air (OTA) task id. |
region | string | AWS region (default: us-east-1) |
MaxResults | integer | The maximum number of results to return at one time. |
NextToken | string | A token that can be used to retrieve the next set of results. |
SELECT examples
- list_ota_task_executions
List all of the over-the-air (OTA) task executions.
SELECT
managed_thing_id,
task_execution_summary
FROM aws.iot_managed_integrations.ota_task_executions
WHERE identifier = '{{ identifier }}' -- required
AND region = '{{ region }}' -- required
AND NextToken = '{{ NextToken }}'
AND MaxResults = '{{ MaxResults }}'
;