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
30384 30385 30386 30387 30388 30389 30390 30391 30392 30393 30394 30395 30396 30397 30398 30399 30400 30401 30402 30403 30404 30405 30406 30407 30408 30409 30410 30411 30412 30413 30414 30415 30416 30417 30418 30419 30420 30421 30422 30423 30424 30425 30426 30427 30428 30429 30430 30431 30432 30433 30434 30435 30436 30437 30438 30439 30440 30441 30442 | |