Struct aws_sdk_wisdom::types::RenderingConfiguration
source · #[non_exhaustive]pub struct RenderingConfiguration {
pub template_uri: Option<String>,
}
Expand description
Information about how to render the content.
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.template_uri: Option<String>
A URI template containing exactly one variable in ${variableName}
format. This can only be set for EXTERNAL
knowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:
-
Salesforce:
Id
,ArticleNumber
,VersionNumber
,Title
,PublishStatus
, orIsDeleted
-
ServiceNow:
number
,short_description
,sys_mod_count
,workflow_state
, oractive
-
Zendesk:
id
,title
,updated_at
, ordraft
The variable is replaced with the actual value for a piece of content when calling GetContent.
Implementations§
source§impl RenderingConfiguration
impl RenderingConfiguration
sourcepub fn template_uri(&self) -> Option<&str>
pub fn template_uri(&self) -> Option<&str>
A URI template containing exactly one variable in ${variableName}
format. This can only be set for EXTERNAL
knowledge bases. For Salesforce, ServiceNow, and Zendesk, the variable must be one of the following:
-
Salesforce:
Id
,ArticleNumber
,VersionNumber
,Title
,PublishStatus
, orIsDeleted
-
ServiceNow:
number
,short_description
,sys_mod_count
,workflow_state
, oractive
-
Zendesk:
id
,title
,updated_at
, ordraft
The variable is replaced with the actual value for a piece of content when calling GetContent.
source§impl RenderingConfiguration
impl RenderingConfiguration
sourcepub fn builder() -> RenderingConfigurationBuilder
pub fn builder() -> RenderingConfigurationBuilder
Creates a new builder-style object to manufacture RenderingConfiguration
.
Trait Implementations§
source§impl Clone for RenderingConfiguration
impl Clone for RenderingConfiguration
source§fn clone(&self) -> RenderingConfiguration
fn clone(&self) -> RenderingConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RenderingConfiguration
impl Debug for RenderingConfiguration
source§impl PartialEq<RenderingConfiguration> for RenderingConfiguration
impl PartialEq<RenderingConfiguration> for RenderingConfiguration
source§fn eq(&self, other: &RenderingConfiguration) -> bool
fn eq(&self, other: &RenderingConfiguration) -> bool
self
and other
values to be equal, and is used
by ==
.