capture_datas
Creates, updates, deletes, gets or lists a capture_datas resource.
Overview
| Name | capture_datas |
| Type | Resource |
| Id | aws.iotsitewise.capture_datas |
Fields
The following fields are returned by SELECT queries:
- get_capture_data
| Name | Datatype | Description |
|---|---|---|
data | string (byte) | The binary video data. |
data_type | string | The type of the returned data. (VIDEO-MP4) |
end_time | object | Contains a timestamp with optional nanosecond granularity. |
next_token | string | Pagination token for retrieving the next chunk of video data. |
start_time | object | Contains a timestamp with optional nanosecond granularity. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_capture_data | select | workspace_name, region | Retrieves video data for a specific time range. |
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 |
|---|---|---|
region | string | AWS region (default: us-east-1) |
workspace_name | string | The name of the workspace that contains the capture source. |
SELECT examples
- get_capture_data
Retrieves video data for a specific time range.
SELECT
data,
data_type,
end_time,
next_token,
start_time
FROM aws.iotsitewise.capture_datas
WHERE workspace_name = '{{ workspace_name }}' -- required
AND region = '{{ region }}' -- required
;