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
30010 30011 30012 30013 30014 30015 30016 30017 30018 30019 30020 30021 30022 30023 30024 30025 30026 30027 30028 30029 30030 30031 30032 30033 30034 30035 30036 30037 30038 30039 30040 30041 30042 30043 30044 30045 30046 30047 30048 30049 30050 30051 30052 30053 30054 30055 30056 30057 30058 30059 30060 30061 30062 30063 30064 30065 30066 30067 | |