Skip to main content

capture_datas

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

Overview

Namecapture_datas
TypeResource
Idaws.iotsitewise.capture_datas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
datastring (byte)The binary video data.
data_typestringThe type of the returned data. (VIDEO-MP4)
end_timeobjectContains a timestamp with optional nanosecond granularity.
next_tokenstringPagination token for retrieving the next chunk of video data.
start_timeobjectContains a timestamp with optional nanosecond granularity.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_capture_dataselectworkspace_name, regionRetrieves 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.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)
workspace_namestringThe name of the workspace that contains the capture source.

SELECT examples

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
;