dataset_data_segment_relationships
Creates, updates, deletes, gets or lists a dataset_data_segment_relationships resource.
Overview
| Name | dataset_data_segment_relationships |
| Type | Resource |
| Id | aws.iotsitewise.dataset_data_segment_relationships |
Fields
The following fields are returned by SELECT queries:
- list_dataset_data_segment_relationships
| Name | Datatype | Description |
|---|---|---|
end_timestamp | object | Contains a timestamp with optional nanosecond granularity. |
source_dataset_id | string | The ID of the source session dataset that contains the data segment. (pattern: <code>^(?!00000000-0000-0000-0000-000000000000)[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</code>) |
start_timestamp | object | Contains a timestamp with optional nanosecond granularity. |
target_dataset_id | string | The ID of the curated dataset that references the data segment. (pattern: <code>^(?!00000000-0000-0000-0000-000000000000)[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$</code>) |
time_series_id | string | The ID of the time series. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_dataset_data_segment_relationships | select | dataset_id, workspaceName, region | maxResults, nextToken | Retrieves a paginated list of data segment relationships for a session dataset. Use this operation to find the curated datasets that reference data segments of the specified session dataset. Use the nextToken parameter to retrieve additional results. |
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 |
|---|---|---|
dataset_id | string | The ID of the session dataset to list data segment relationships for. |
region | string | AWS region (default: us-east-1) |
workspaceName | string | The name of the workspace that contains the dataset. |
maxResults | integer | The maximum number of results to return for each paginated request. Default: 50. |
nextToken | string | The token to be used for the next set of paginated results. |
SELECT examples
- list_dataset_data_segment_relationships
Retrieves a paginated list of data segment relationships for a session dataset. Use this operation to find the curated datasets that reference data segments of the specified session dataset. Use the nextToken parameter to retrieve additional results.
SELECT
end_timestamp,
source_dataset_id,
start_timestamp,
target_dataset_id,
time_series_id
FROM aws.iotsitewise.dataset_data_segment_relationships
WHERE dataset_id = '{{ dataset_id }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND region = '{{ region }}' -- required
AND maxResults = '{{ maxResults }}'
AND nextToken = '{{ nextToken }}'
;