Skip to main content

human_task_uis

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

Overview

Namehuman_task_uis
TypeResource
Idaws.sagemaker.human_task_uis

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
creation_timestring (date-time)The timestamp when the human task user interface was created.
human_task_ui_arnstringThe Amazon Resource Name (ARN) of the human task user interface (worker task template). (pattern: <code>arn:aws[a-z-]:sagemaker:[a-z0-9-]+:[0-9]{12}:human-task-ui/.</code>)
human_task_ui_namestringThe name of the human task user interface (worker task template). (pattern: <code>[a-z0-9](-[a-z0-9])</code>)
human_task_ui_statusstringThe status of the human task user interface (worker task template). Valid values are listed below. (Active, Deleting)
ui_templateobjectContainer for user interface template information.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
describe_human_task_uiselectregionReturns information about the requested human task user interface (worker task template).
list_human_task_uisselectregionReturns information about the human task user interfaces in your account.
create_human_task_uiinsertregion, HumanTaskUiName, UiTemplateDefines the settings you will use for the human review workflow user interface. Reviewers will see a three-panel interface with an instruction area, the item to review, and an input area.
delete_human_task_uideleteregionUse this operation to delete a human task user interface (worker task template). To see a list of human task user interfaces (work task templates) in your account, use ListHumanTaskUis. When you delete a worker task template, it no longer appears when you call ListHumanTaskUis.

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)

SELECT examples

Returns information about the requested human task user interface (worker task template).

SELECT
creation_time,
human_task_ui_arn,
human_task_ui_name,
human_task_ui_status,
ui_template
FROM aws.sagemaker.human_task_uis
WHERE region = '{{ region }}' -- required
;

INSERT examples

Defines the settings you will use for the human review workflow user interface. Reviewers will see a three-panel interface with an instruction area, the item to review, and an input area.

INSERT INTO aws.sagemaker.human_task_uis (
HumanTaskUiName,
UiTemplate,
Tags,
region
)
SELECT
'{{ HumanTaskUiName }}' /* required */,
'{{ UiTemplate }}' /* required */,
'{{ Tags }}',
'{{ region }}'
RETURNING
human_task_ui_arn
;

DELETE examples

Use this operation to delete a human task user interface (worker task template). To see a list of human task user interfaces (work task templates) in your account, use ListHumanTaskUis. When you delete a worker task template, it no longer appears when you call ListHumanTaskUis.

DELETE FROM aws.sagemaker.human_task_uis
WHERE region = '{{ region }}' --required
;