#[non_exhaustive]pub struct RenderUiTemplateInput {
pub ui_template: Option<UiTemplate>,
pub task: Option<RenderableTask>,
pub role_arn: Option<String>,
pub human_task_ui_arn: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.ui_template: Option<UiTemplate>
A Template
object containing the worker UI template to render.
task: Option<RenderableTask>
A RenderableTask
object containing a representative task to render.
role_arn: Option<String>
The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.
human_task_ui_arn: Option<String>
The HumanTaskUiArn
of the worker UI that you want to render. Do not provide a HumanTaskUiArn
if you use the UiTemplate
parameter.
See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig.
Implementations§
source§impl RenderUiTemplateInput
impl RenderUiTemplateInput
sourcepub fn ui_template(&self) -> Option<&UiTemplate>
pub fn ui_template(&self) -> Option<&UiTemplate>
A Template
object containing the worker UI template to render.
sourcepub fn task(&self) -> Option<&RenderableTask>
pub fn task(&self) -> Option<&RenderableTask>
A RenderableTask
object containing a representative task to render.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) that has access to the S3 objects that are used by the template.
sourcepub fn human_task_ui_arn(&self) -> Option<&str>
pub fn human_task_ui_arn(&self) -> Option<&str>
The HumanTaskUiArn
of the worker UI that you want to render. Do not provide a HumanTaskUiArn
if you use the UiTemplate
parameter.
See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig.
source§impl RenderUiTemplateInput
impl RenderUiTemplateInput
sourcepub fn builder() -> RenderUiTemplateInputBuilder
pub fn builder() -> RenderUiTemplateInputBuilder
Creates a new builder-style object to manufacture RenderUiTemplateInput
.
Trait Implementations§
source§impl Clone for RenderUiTemplateInput
impl Clone for RenderUiTemplateInput
source§fn clone(&self) -> RenderUiTemplateInput
fn clone(&self) -> RenderUiTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RenderUiTemplateInput
impl Debug for RenderUiTemplateInput
source§impl PartialEq<RenderUiTemplateInput> for RenderUiTemplateInput
impl PartialEq<RenderUiTemplateInput> for RenderUiTemplateInput
source§fn eq(&self, other: &RenderUiTemplateInput) -> bool
fn eq(&self, other: &RenderUiTemplateInput) -> bool
self
and other
values to be equal, and is used
by ==
.