render_ui_template
async
¶
render_ui_template(
*,
config_overrides: Optional[AsyncSageMakerClientConfig] = 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/async_sage_maker.py
27325 27326 27327 27328 27329 27330 27331 27332 27333 27334 27335 27336 27337 27338 27339 27340 27341 27342 27343 27344 27345 27346 27347 27348 27349 27350 27351 27352 27353 27354 27355 27356 27357 27358 27359 27360 27361 27362 27363 27364 27365 27366 27367 27368 27369 27370 27371 27372 27373 27374 27375 27376 27377 27378 27379 27380 27381 27382 27383 | |