render_ui_template
¶
render_ui_template(
*,
config_overrides: Optional[SageMakerClientConfig] = None,
ui_template: Optional[UiTemplate] = None,
task: Optional[RenderableTask] = None,
role_arn: Optional[RoleArn] = None,
human_task_ui_arn: Optional[HumanTaskUiArn] = None,
) -> RenderUiTemplateResponse
Renders the UI template so that you can preview the worker's experience.
Parameters:
-
ui_template(Optional[UiTemplate], default:None) –A
Templateobject containing the worker UI template to render. -
task(Optional[RenderableTask], default:None) –A
RenderableTaskobject containing a representative task to render. -
role_arn(Optional[RoleArn], default:None) –The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.
-
human_task_ui_arn(Optional[HumanTaskUiArn], default:None) –The
HumanTaskUiArnof the worker UI that you want to render. Do not provide aHumanTaskUiArnif you use theUiTemplateparameter.See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig.
Raises:
-
ResourceNotFound–Resource being access is not found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_sagemaker/_services/sage_maker.py
26989 26990 26991 26992 26993 26994 26995 26996 26997 26998 26999 27000 27001 27002 27003 27004 27005 27006 27007 27008 27009 27010 27011 27012 27013 27014 27015 27016 27017 27018 27019 27020 27021 27022 27023 27024 27025 27026 27027 27028 27029 27030 27031 27032 27033 27034 27035 27036 27037 27038 27039 27040 27041 27042 27043 27044 27045 27046 | |